 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367409 -2.754953)', '2026-07-06 09:46:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367409 -2.754815)'), GeomFromEWKT('SRID=4674;POINT (-40.367409 -2.754953)'))) / (select extract(epoch from '2026-07-06 09:46:15'::timestamp) - extract(epoch from '2026-07-06 09:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367409 -2.754815)'), GeomFromEWKT('SRID=4674;POINT (-40.367409 -2.754953)'))) / (select extract(epoch from '2026-07-06 09:46:15'::timestamp) - extract(epoch from '2026-07-06 09:46: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'), 47828, 'SRID=4674;POINT (-40.36741 -2.755049)', '2026-07-06 09:46:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367409 -2.754953)'), GeomFromEWKT('SRID=4674;POINT (-40.36741 -2.755049)'))) / (select extract(epoch from '2026-07-06 09:46:19'::timestamp) - extract(epoch from '2026-07-06 09:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367409 -2.754953)'), GeomFromEWKT('SRID=4674;POINT (-40.36741 -2.755049)'))) / (select extract(epoch from '2026-07-06 09:46:19'::timestamp) - extract(epoch from '2026-07-06 09:46: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'), 47828, 'SRID=4674;POINT (-40.367418 -2.755194)', '2026-07-06 09:46:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36741 -2.755049)'), GeomFromEWKT('SRID=4674;POINT (-40.367418 -2.755194)'))) / (select extract(epoch from '2026-07-06 09:46:25'::timestamp) - extract(epoch from '2026-07-06 09:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36741 -2.755049)'), GeomFromEWKT('SRID=4674;POINT (-40.367418 -2.755194)'))) / (select extract(epoch from '2026-07-06 09:46:25'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367428 -2.755365)', '2026-07-06 09:46:32', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367418 -2.755194)'), GeomFromEWKT('SRID=4674;POINT (-40.367428 -2.755365)'))) / (select extract(epoch from '2026-07-06 09:46:32'::timestamp) - extract(epoch from '2026-07-06 09:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367418 -2.755194)'), GeomFromEWKT('SRID=4674;POINT (-40.367428 -2.755365)'))) / (select extract(epoch from '2026-07-06 09:46:32'::timestamp) - extract(epoch from '2026-07-06 09:46: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'), 47828, 'SRID=4674;POINT (-40.367431 -2.75551)', '2026-07-06 09:46:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367428 -2.755365)'), GeomFromEWKT('SRID=4674;POINT (-40.367431 -2.75551)'))) / (select extract(epoch from '2026-07-06 09:46:38'::timestamp) - extract(epoch from '2026-07-06 09:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367428 -2.755365)'), GeomFromEWKT('SRID=4674;POINT (-40.367431 -2.75551)'))) / (select extract(epoch from '2026-07-06 09:46:38'::timestamp) - extract(epoch from '2026-07-06 09:46: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'), 47828, 'SRID=4674;POINT (-40.367435 -2.755644)', '2026-07-06 09:46:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367431 -2.75551)'), GeomFromEWKT('SRID=4674;POINT (-40.367435 -2.755644)'))) / (select extract(epoch from '2026-07-06 09:46:44'::timestamp) - extract(epoch from '2026-07-06 09:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367431 -2.75551)'), GeomFromEWKT('SRID=4674;POINT (-40.367435 -2.755644)'))) / (select extract(epoch from '2026-07-06 09:46:44'::timestamp) - extract(epoch from '2026-07-06 09:46: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'), 47828, 'SRID=4674;POINT (-40.367434 -2.755774)', '2026-07-06 09:46:49', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367435 -2.755644)'), GeomFromEWKT('SRID=4674;POINT (-40.367434 -2.755774)'))) / (select extract(epoch from '2026-07-06 09:46:49'::timestamp) - extract(epoch from '2026-07-06 09:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367435 -2.755644)'), GeomFromEWKT('SRID=4674;POINT (-40.367434 -2.755774)'))) / (select extract(epoch from '2026-07-06 09:46:49'::timestamp) - extract(epoch from '2026-07-06 09:46: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'), 47828, 'SRID=4674;POINT (-40.367426 -2.755891)', '2026-07-06 09:46:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367434 -2.755774)'), GeomFromEWKT('SRID=4674;POINT (-40.367426 -2.755891)'))) / (select extract(epoch from '2026-07-06 09:46:54'::timestamp) - extract(epoch from '2026-07-06 09:46:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367434 -2.755774)'), GeomFromEWKT('SRID=4674;POINT (-40.367426 -2.755891)'))) / (select extract(epoch from '2026-07-06 09:46:54'::timestamp) - extract(epoch from '2026-07-06 09:46: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'), 47828, 'SRID=4674;POINT (-40.367432 -2.756029)', '2026-07-06 09:47:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367426 -2.755891)'), GeomFromEWKT('SRID=4674;POINT (-40.367432 -2.756029)'))) / (select extract(epoch from '2026-07-06 09:47:00'::timestamp) - extract(epoch from '2026-07-06 09:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367426 -2.755891)'), GeomFromEWKT('SRID=4674;POINT (-40.367432 -2.756029)'))) / (select extract(epoch from '2026-07-06 09:47:00'::timestamp) - extract(epoch from '2026-07-06 09:46:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367441 -2.756175)', '2026-07-06 09:47:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367432 -2.756029)'), GeomFromEWKT('SRID=4674;POINT (-40.367441 -2.756175)'))) / (select extract(epoch from '2026-07-06 09:47:06'::timestamp) - extract(epoch from '2026-07-06 09:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367432 -2.756029)'), GeomFromEWKT('SRID=4674;POINT (-40.367441 -2.756175)'))) / (select extract(epoch from '2026-07-06 09:47:06'::timestamp) - extract(epoch from '2026-07-06 09:47: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'), 47828, 'SRID=4674;POINT (-40.367445 -2.756288)', '2026-07-06 09:47:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367441 -2.756175)'), GeomFromEWKT('SRID=4674;POINT (-40.367445 -2.756288)'))) / (select extract(epoch from '2026-07-06 09:47:11'::timestamp) - extract(epoch from '2026-07-06 09:47:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367441 -2.756175)'), GeomFromEWKT('SRID=4674;POINT (-40.367445 -2.756288)'))) / (select extract(epoch from '2026-07-06 09:47:11'::timestamp) - extract(epoch from '2026-07-06 09:47: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'), 47828, 'SRID=4674;POINT (-40.367492 -2.756493)', '2026-07-06 09:47:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367445 -2.756288)'), GeomFromEWKT('SRID=4674;POINT (-40.367492 -2.756493)'))) / (select extract(epoch from '2026-07-06 09:47:19'::timestamp) - extract(epoch from '2026-07-06 09:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367445 -2.756288)'), GeomFromEWKT('SRID=4674;POINT (-40.367492 -2.756493)'))) / (select extract(epoch from '2026-07-06 09:47:19'::timestamp) - extract(epoch from '2026-07-06 09:47:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367521 -2.756662)', '2026-07-06 09:47:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367492 -2.756493)'), GeomFromEWKT('SRID=4674;POINT (-40.367521 -2.756662)'))) / (select extract(epoch from '2026-07-06 09:47:26'::timestamp) - extract(epoch from '2026-07-06 09:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367492 -2.756493)'), GeomFromEWKT('SRID=4674;POINT (-40.367521 -2.756662)'))) / (select extract(epoch from '2026-07-06 09:47:26'::timestamp) - extract(epoch from '2026-07-06 09:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367555 -2.756809)', '2026-07-06 09:47:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367521 -2.756662)'), GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.756809)'))) / (select extract(epoch from '2026-07-06 09:47:32'::timestamp) - extract(epoch from '2026-07-06 09:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367521 -2.756662)'), GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.756809)'))) / (select extract(epoch from '2026-07-06 09:47:32'::timestamp) - extract(epoch from '2026-07-06 09:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367599 -2.75693)', '2026-07-06 09:47:37', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.756809)'), GeomFromEWKT('SRID=4674;POINT (-40.367599 -2.75693)'))) / (select extract(epoch from '2026-07-06 09:47:37'::timestamp) - extract(epoch from '2026-07-06 09:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.756809)'), GeomFromEWKT('SRID=4674;POINT (-40.367599 -2.75693)'))) / (select extract(epoch from '2026-07-06 09:47:37'::timestamp) - extract(epoch from '2026-07-06 09:47: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'), 47828, 'SRID=4674;POINT (-40.367631 -2.757042)', '2026-07-06 09:47:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367599 -2.75693)'), GeomFromEWKT('SRID=4674;POINT (-40.367631 -2.757042)'))) / (select extract(epoch from '2026-07-06 09:47:42'::timestamp) - extract(epoch from '2026-07-06 09:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367599 -2.75693)'), GeomFromEWKT('SRID=4674;POINT (-40.367631 -2.757042)'))) / (select extract(epoch from '2026-07-06 09:47:42'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367643 -2.757185)', '2026-07-06 09:47:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367631 -2.757042)'), GeomFromEWKT('SRID=4674;POINT (-40.367643 -2.757185)'))) / (select extract(epoch from '2026-07-06 09:47:48'::timestamp) - extract(epoch from '2026-07-06 09:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367631 -2.757042)'), GeomFromEWKT('SRID=4674;POINT (-40.367643 -2.757185)'))) / (select extract(epoch from '2026-07-06 09:47:48'::timestamp) - extract(epoch from '2026-07-06 09:47: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'), 47828, 'SRID=4674;POINT (-40.367655 -2.757238)', '2026-07-06 09:47:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367643 -2.757185)'), GeomFromEWKT('SRID=4674;POINT (-40.367655 -2.757238)'))) / (select extract(epoch from '2026-07-06 09:47:50'::timestamp) - extract(epoch from '2026-07-06 09:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367643 -2.757185)'), GeomFromEWKT('SRID=4674;POINT (-40.367655 -2.757238)'))) / (select extract(epoch from '2026-07-06 09:47:50'::timestamp) - extract(epoch from '2026-07-06 09:47: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'), 47828, 'SRID=4674;POINT (-40.367656 -2.757281)', '2026-07-06 09:47:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367655 -2.757238)'), GeomFromEWKT('SRID=4674;POINT (-40.367656 -2.757281)'))) / (select extract(epoch from '2026-07-06 09:47:52'::timestamp) - extract(epoch from '2026-07-06 09:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367655 -2.757238)'), GeomFromEWKT('SRID=4674;POINT (-40.367656 -2.757281)'))) / (select extract(epoch from '2026-07-06 09:47:52'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367658 -2.757302)', '2026-07-06 09:47:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367656 -2.757281)'), GeomFromEWKT('SRID=4674;POINT (-40.367658 -2.757302)'))) / (select extract(epoch from '2026-07-06 09:47:53'::timestamp) - extract(epoch from '2026-07-06 09:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367656 -2.757281)'), GeomFromEWKT('SRID=4674;POINT (-40.367658 -2.757302)'))) / (select extract(epoch from '2026-07-06 09:47:53'::timestamp) - extract(epoch from '2026-07-06 09:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367657 -2.757376)', '2026-07-06 09:47:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367658 -2.757302)'), GeomFromEWKT('SRID=4674;POINT (-40.367657 -2.757376)'))) / (select extract(epoch from '2026-07-06 09:47:56'::timestamp) - extract(epoch from '2026-07-06 09:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367658 -2.757302)'), GeomFromEWKT('SRID=4674;POINT (-40.367657 -2.757376)'))) / (select extract(epoch from '2026-07-06 09:47:56'::timestamp) - extract(epoch from '2026-07-06 09:47: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'), 47828, 'SRID=4674;POINT (-40.367658 -2.757429)', '2026-07-06 09:47:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367657 -2.757376)'), GeomFromEWKT('SRID=4674;POINT (-40.367658 -2.757429)'))) / (select extract(epoch from '2026-07-06 09:47:58'::timestamp) - extract(epoch from '2026-07-06 09:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367657 -2.757376)'), GeomFromEWKT('SRID=4674;POINT (-40.367658 -2.757429)'))) / (select extract(epoch from '2026-07-06 09:47:58'::timestamp) - extract(epoch from '2026-07-06 09:47:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367654 -2.75747)', '2026-07-06 09:48:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367658 -2.757429)'), GeomFromEWKT('SRID=4674;POINT (-40.367654 -2.75747)'))) / (select extract(epoch from '2026-07-06 09:48:00'::timestamp) - extract(epoch from '2026-07-06 09:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367658 -2.757429)'), GeomFromEWKT('SRID=4674;POINT (-40.367654 -2.75747)'))) / (select extract(epoch from '2026-07-06 09:48:00'::timestamp) - extract(epoch from '2026-07-06 09:47: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'), 47828, 'SRID=4674;POINT (-40.367655 -2.757592)', '2026-07-06 09:48:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367654 -2.75747)'), GeomFromEWKT('SRID=4674;POINT (-40.367655 -2.757592)'))) / (select extract(epoch from '2026-07-06 09:48:05'::timestamp) - extract(epoch from '2026-07-06 09:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367654 -2.75747)'), GeomFromEWKT('SRID=4674;POINT (-40.367655 -2.757592)'))) / (select extract(epoch from '2026-07-06 09:48:05'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367637 -2.757756)', '2026-07-06 09:48:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367655 -2.757592)'), GeomFromEWKT('SRID=4674;POINT (-40.367637 -2.757756)'))) / (select extract(epoch from '2026-07-06 09:48:12'::timestamp) - extract(epoch from '2026-07-06 09:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367655 -2.757592)'), GeomFromEWKT('SRID=4674;POINT (-40.367637 -2.757756)'))) / (select extract(epoch from '2026-07-06 09:48:12'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367621 -2.757897)', '2026-07-06 09:48:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367637 -2.757756)'), GeomFromEWKT('SRID=4674;POINT (-40.367621 -2.757897)'))) / (select extract(epoch from '2026-07-06 09:48:18'::timestamp) - extract(epoch from '2026-07-06 09:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367637 -2.757756)'), GeomFromEWKT('SRID=4674;POINT (-40.367621 -2.757897)'))) / (select extract(epoch from '2026-07-06 09:48:18'::timestamp) - extract(epoch from '2026-07-06 09:48: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'), 47828, 'SRID=4674;POINT (-40.367603 -2.75806)', '2026-07-06 09:48:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367621 -2.757897)'), GeomFromEWKT('SRID=4674;POINT (-40.367603 -2.75806)'))) / (select extract(epoch from '2026-07-06 09:48:25'::timestamp) - extract(epoch from '2026-07-06 09:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367621 -2.757897)'), GeomFromEWKT('SRID=4674;POINT (-40.367603 -2.75806)'))) / (select extract(epoch from '2026-07-06 09:48:25'::timestamp) - extract(epoch from '2026-07-06 09:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367602 -2.758231)', '2026-07-06 09:48:32', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367603 -2.75806)'), GeomFromEWKT('SRID=4674;POINT (-40.367602 -2.758231)'))) / (select extract(epoch from '2026-07-06 09:48:32'::timestamp) - extract(epoch from '2026-07-06 09:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367603 -2.75806)'), GeomFromEWKT('SRID=4674;POINT (-40.367602 -2.758231)'))) / (select extract(epoch from '2026-07-06 09:48:32'::timestamp) - extract(epoch from '2026-07-06 09:48: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'), 47828, 'SRID=4674;POINT (-40.367583 -2.758401)', '2026-07-06 09:48:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367602 -2.758231)'), GeomFromEWKT('SRID=4674;POINT (-40.367583 -2.758401)'))) / (select extract(epoch from '2026-07-06 09:48:39'::timestamp) - extract(epoch from '2026-07-06 09:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367602 -2.758231)'), GeomFromEWKT('SRID=4674;POINT (-40.367583 -2.758401)'))) / (select extract(epoch from '2026-07-06 09:48:39'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367575 -2.758541)', '2026-07-06 09:48:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367583 -2.758401)'), GeomFromEWKT('SRID=4674;POINT (-40.367575 -2.758541)'))) / (select extract(epoch from '2026-07-06 09:48:45'::timestamp) - extract(epoch from '2026-07-06 09:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367583 -2.758401)'), GeomFromEWKT('SRID=4674;POINT (-40.367575 -2.758541)'))) / (select extract(epoch from '2026-07-06 09:48:45'::timestamp) - extract(epoch from '2026-07-06 09:48: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'), 47828, 'SRID=4674;POINT (-40.367569 -2.758663)', '2026-07-06 09:48:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367575 -2.758541)'), GeomFromEWKT('SRID=4674;POINT (-40.367569 -2.758663)'))) / (select extract(epoch from '2026-07-06 09:48:50'::timestamp) - extract(epoch from '2026-07-06 09:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367575 -2.758541)'), GeomFromEWKT('SRID=4674;POINT (-40.367569 -2.758663)'))) / (select extract(epoch from '2026-07-06 09:48:50'::timestamp) - extract(epoch from '2026-07-06 09:48: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'), 47828, 'SRID=4674;POINT (-40.367557 -2.758808)', '2026-07-06 09:48:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367569 -2.758663)'), GeomFromEWKT('SRID=4674;POINT (-40.367557 -2.758808)'))) / (select extract(epoch from '2026-07-06 09:48:56'::timestamp) - extract(epoch from '2026-07-06 09:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367569 -2.758663)'), GeomFromEWKT('SRID=4674;POINT (-40.367557 -2.758808)'))) / (select extract(epoch from '2026-07-06 09:48:56'::timestamp) - extract(epoch from '2026-07-06 09:48: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'), 47828, 'SRID=4674;POINT (-40.367545 -2.75897)', '2026-07-06 09:49:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367557 -2.758808)'), GeomFromEWKT('SRID=4674;POINT (-40.367545 -2.75897)'))) / (select extract(epoch from '2026-07-06 09:49:03'::timestamp) - extract(epoch from '2026-07-06 09:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367557 -2.758808)'), GeomFromEWKT('SRID=4674;POINT (-40.367545 -2.75897)'))) / (select extract(epoch from '2026-07-06 09:49:03'::timestamp) - extract(epoch from '2026-07-06 09:48:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367548 -2.759139)', '2026-07-06 09:49:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367545 -2.75897)'), GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.759139)'))) / (select extract(epoch from '2026-07-06 09:49:10'::timestamp) - extract(epoch from '2026-07-06 09:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367545 -2.75897)'), GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.759139)'))) / (select extract(epoch from '2026-07-06 09:49:10'::timestamp) - extract(epoch from '2026-07-06 09:49: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'), 47828, 'SRID=4674;POINT (-40.367552 -2.759281)', '2026-07-06 09:49:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.759139)'), GeomFromEWKT('SRID=4674;POINT (-40.367552 -2.759281)'))) / (select extract(epoch from '2026-07-06 09:49:16'::timestamp) - extract(epoch from '2026-07-06 09:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.759139)'), GeomFromEWKT('SRID=4674;POINT (-40.367552 -2.759281)'))) / (select extract(epoch from '2026-07-06 09:49:16'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367548 -2.75945)', '2026-07-06 09:49:23', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367552 -2.759281)'), GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.75945)'))) / (select extract(epoch from '2026-07-06 09:49:23'::timestamp) - extract(epoch from '2026-07-06 09:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367552 -2.759281)'), GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.75945)'))) / (select extract(epoch from '2026-07-06 09:49:23'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367537 -2.759571)', '2026-07-06 09:49:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.75945)'), GeomFromEWKT('SRID=4674;POINT (-40.367537 -2.759571)'))) / (select extract(epoch from '2026-07-06 09:49:28'::timestamp) - extract(epoch from '2026-07-06 09:49:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367548 -2.75945)'), GeomFromEWKT('SRID=4674;POINT (-40.367537 -2.759571)'))) / (select extract(epoch from '2026-07-06 09:49:28'::timestamp) - extract(epoch from '2026-07-06 09:49: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'), 47828, 'SRID=4674;POINT (-40.367531 -2.75967)', '2026-07-06 09:49:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367537 -2.759571)'), GeomFromEWKT('SRID=4674;POINT (-40.367531 -2.75967)'))) / (select extract(epoch from '2026-07-06 09:49:32'::timestamp) - extract(epoch from '2026-07-06 09:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367537 -2.759571)'), GeomFromEWKT('SRID=4674;POINT (-40.367531 -2.75967)'))) / (select extract(epoch from '2026-07-06 09:49:32'::timestamp) - extract(epoch from '2026-07-06 09:49: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'), 47828, 'SRID=4674;POINT (-40.367507 -2.75981)', '2026-07-06 09:49:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367531 -2.75967)'), GeomFromEWKT('SRID=4674;POINT (-40.367507 -2.75981)'))) / (select extract(epoch from '2026-07-06 09:49:38'::timestamp) - extract(epoch from '2026-07-06 09:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367531 -2.75967)'), GeomFromEWKT('SRID=4674;POINT (-40.367507 -2.75981)'))) / (select extract(epoch from '2026-07-06 09:49:38'::timestamp) - extract(epoch from '2026-07-06 09:49: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'), 47828, 'SRID=4674;POINT (-40.367483 -2.75995)', '2026-07-06 09:49:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367507 -2.75981)'), GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.75995)'))) / (select extract(epoch from '2026-07-06 09:49:44'::timestamp) - extract(epoch from '2026-07-06 09:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367507 -2.75981)'), GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.75995)'))) / (select extract(epoch from '2026-07-06 09:49:44'::timestamp) - extract(epoch from '2026-07-06 09:49: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'), 47828, 'SRID=4674;POINT (-40.367469 -2.760109)', '2026-07-06 09:49:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.75995)'), GeomFromEWKT('SRID=4674;POINT (-40.367469 -2.760109)'))) / (select extract(epoch from '2026-07-06 09:49:51'::timestamp) - extract(epoch from '2026-07-06 09:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367483 -2.75995)'), GeomFromEWKT('SRID=4674;POINT (-40.367469 -2.760109)'))) / (select extract(epoch from '2026-07-06 09:49:51'::timestamp) - extract(epoch from '2026-07-06 09:49: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'), 47828, 'SRID=4674;POINT (-40.367459 -2.760228)', '2026-07-06 09:49:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367469 -2.760109)'), GeomFromEWKT('SRID=4674;POINT (-40.367459 -2.760228)'))) / (select extract(epoch from '2026-07-06 09:49:56'::timestamp) - extract(epoch from '2026-07-06 09:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367469 -2.760109)'), GeomFromEWKT('SRID=4674;POINT (-40.367459 -2.760228)'))) / (select extract(epoch from '2026-07-06 09:49:56'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367441 -2.76037)', '2026-07-06 09:50:02', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367459 -2.760228)'), GeomFromEWKT('SRID=4674;POINT (-40.367441 -2.76037)'))) / (select extract(epoch from '2026-07-06 09:50:02'::timestamp) - extract(epoch from '2026-07-06 09:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367459 -2.760228)'), GeomFromEWKT('SRID=4674;POINT (-40.367441 -2.76037)'))) / (select extract(epoch from '2026-07-06 09:50:02'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367427 -2.760488)', '2026-07-06 09:50:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367441 -2.76037)'), GeomFromEWKT('SRID=4674;POINT (-40.367427 -2.760488)'))) / (select extract(epoch from '2026-07-06 09:50:07'::timestamp) - extract(epoch from '2026-07-06 09:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367441 -2.76037)'), GeomFromEWKT('SRID=4674;POINT (-40.367427 -2.760488)'))) / (select extract(epoch from '2026-07-06 09:50:07'::timestamp) - extract(epoch from '2026-07-06 09:50: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'), 47828, 'SRID=4674;POINT (-40.367411 -2.760635)', '2026-07-06 09:50:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367427 -2.760488)'), GeomFromEWKT('SRID=4674;POINT (-40.367411 -2.760635)'))) / (select extract(epoch from '2026-07-06 09:50:13'::timestamp) - extract(epoch from '2026-07-06 09:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367427 -2.760488)'), GeomFromEWKT('SRID=4674;POINT (-40.367411 -2.760635)'))) / (select extract(epoch from '2026-07-06 09:50:13'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367397 -2.760751)', '2026-07-06 09:50:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367411 -2.760635)'), GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.760751)'))) / (select extract(epoch from '2026-07-06 09:50:18'::timestamp) - extract(epoch from '2026-07-06 09:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367411 -2.760635)'), GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.760751)'))) / (select extract(epoch from '2026-07-06 09:50:18'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367398 -2.760776)', '2026-07-06 09:50:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.760751)'), GeomFromEWKT('SRID=4674;POINT (-40.367398 -2.760776)'))) / (select extract(epoch from '2026-07-06 09:50:19'::timestamp) - extract(epoch from '2026-07-06 09:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367397 -2.760751)'), GeomFromEWKT('SRID=4674;POINT (-40.367398 -2.760776)'))) / (select extract(epoch from '2026-07-06 09:50:19'::timestamp) - extract(epoch from '2026-07-06 09:50: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'), 47828, 'SRID=4674;POINT (-40.367387 -2.760939)', '2026-07-06 09:50:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367398 -2.760776)'), GeomFromEWKT('SRID=4674;POINT (-40.367387 -2.760939)'))) / (select extract(epoch from '2026-07-06 09:50:26'::timestamp) - extract(epoch from '2026-07-06 09:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367398 -2.760776)'), GeomFromEWKT('SRID=4674;POINT (-40.367387 -2.760939)'))) / (select extract(epoch from '2026-07-06 09:50:26'::timestamp) - extract(epoch from '2026-07-06 09:50: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'), 47828, 'SRID=4674;POINT (-40.367372 -2.761075)', '2026-07-06 09:50:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367387 -2.760939)'), GeomFromEWKT('SRID=4674;POINT (-40.367372 -2.761075)'))) / (select extract(epoch from '2026-07-06 09:50:32'::timestamp) - extract(epoch from '2026-07-06 09:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367387 -2.760939)'), GeomFromEWKT('SRID=4674;POINT (-40.367372 -2.761075)'))) / (select extract(epoch from '2026-07-06 09:50:32'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367365 -2.761214)', '2026-07-06 09:50:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367372 -2.761075)'), GeomFromEWKT('SRID=4674;POINT (-40.367365 -2.761214)'))) / (select extract(epoch from '2026-07-06 09:50:38'::timestamp) - extract(epoch from '2026-07-06 09:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367372 -2.761075)'), GeomFromEWKT('SRID=4674;POINT (-40.367365 -2.761214)'))) / (select extract(epoch from '2026-07-06 09:50:38'::timestamp) - extract(epoch from '2026-07-06 09:50: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'), 47828, 'SRID=4674;POINT (-40.367358 -2.761338)', '2026-07-06 09:50:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367365 -2.761214)'), GeomFromEWKT('SRID=4674;POINT (-40.367358 -2.761338)'))) / (select extract(epoch from '2026-07-06 09:50:43'::timestamp) - extract(epoch from '2026-07-06 09:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367365 -2.761214)'), GeomFromEWKT('SRID=4674;POINT (-40.367358 -2.761338)'))) / (select extract(epoch from '2026-07-06 09:50:43'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367352 -2.761385)', '2026-07-06 09:50:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367358 -2.761338)'), GeomFromEWKT('SRID=4674;POINT (-40.367352 -2.761385)'))) / (select extract(epoch from '2026-07-06 09:50:45'::timestamp) - extract(epoch from '2026-07-06 09:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367358 -2.761338)'), GeomFromEWKT('SRID=4674;POINT (-40.367352 -2.761385)'))) / (select extract(epoch from '2026-07-06 09:50:45'::timestamp) - extract(epoch from '2026-07-06 09:50: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'), 47828, 'SRID=4674;POINT (-40.367345 -2.761429)', '2026-07-06 09:50:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367352 -2.761385)'), GeomFromEWKT('SRID=4674;POINT (-40.367345 -2.761429)'))) / (select extract(epoch from '2026-07-06 09:50:47'::timestamp) - extract(epoch from '2026-07-06 09:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367352 -2.761385)'), GeomFromEWKT('SRID=4674;POINT (-40.367345 -2.761429)'))) / (select extract(epoch from '2026-07-06 09:50:47'::timestamp) - extract(epoch from '2026-07-06 09:50: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'), 47828, 'SRID=4674;POINT (-40.367327 -2.761569)', '2026-07-06 09:50:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367345 -2.761429)'), GeomFromEWKT('SRID=4674;POINT (-40.367327 -2.761569)'))) / (select extract(epoch from '2026-07-06 09:50:53'::timestamp) - extract(epoch from '2026-07-06 09:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367345 -2.761429)'), GeomFromEWKT('SRID=4674;POINT (-40.367327 -2.761569)'))) / (select extract(epoch from '2026-07-06 09:50:53'::timestamp) - extract(epoch from '2026-07-06 09:50: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'), 47828, 'SRID=4674;POINT (-40.367313 -2.761708)', '2026-07-06 09:50:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367327 -2.761569)'), GeomFromEWKT('SRID=4674;POINT (-40.367313 -2.761708)'))) / (select extract(epoch from '2026-07-06 09:50:59'::timestamp) - extract(epoch from '2026-07-06 09:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367327 -2.761569)'), GeomFromEWKT('SRID=4674;POINT (-40.367313 -2.761708)'))) / (select extract(epoch from '2026-07-06 09:50:59'::timestamp) - extract(epoch from '2026-07-06 09:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367314 -2.761825)', '2026-07-06 09:51:04', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367313 -2.761708)'), GeomFromEWKT('SRID=4674;POINT (-40.367314 -2.761825)'))) / (select extract(epoch from '2026-07-06 09:51:04'::timestamp) - extract(epoch from '2026-07-06 09:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367313 -2.761708)'), GeomFromEWKT('SRID=4674;POINT (-40.367314 -2.761825)'))) / (select extract(epoch from '2026-07-06 09:51:04'::timestamp) - extract(epoch from '2026-07-06 09:50: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'), 47828, 'SRID=4674;POINT (-40.3673 -2.76196)', '2026-07-06 09:51:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367314 -2.761825)'), GeomFromEWKT('SRID=4674;POINT (-40.3673 -2.76196)'))) / (select extract(epoch from '2026-07-06 09:51:10'::timestamp) - extract(epoch from '2026-07-06 09:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367314 -2.761825)'), GeomFromEWKT('SRID=4674;POINT (-40.3673 -2.76196)'))) / (select extract(epoch from '2026-07-06 09:51:10'::timestamp) - extract(epoch from '2026-07-06 09:51: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'), 47828, 'SRID=4674;POINT (-40.367286 -2.762102)', '2026-07-06 09:51:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3673 -2.76196)'), GeomFromEWKT('SRID=4674;POINT (-40.367286 -2.762102)'))) / (select extract(epoch from '2026-07-06 09:51:16'::timestamp) - extract(epoch from '2026-07-06 09:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3673 -2.76196)'), GeomFromEWKT('SRID=4674;POINT (-40.367286 -2.762102)'))) / (select extract(epoch from '2026-07-06 09:51:16'::timestamp) - extract(epoch from '2026-07-06 09:51: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'), 47828, 'SRID=4674;POINT (-40.3673 -2.762225)', '2026-07-06 09:51:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367286 -2.762102)'), GeomFromEWKT('SRID=4674;POINT (-40.3673 -2.762225)'))) / (select extract(epoch from '2026-07-06 09:51:21'::timestamp) - extract(epoch from '2026-07-06 09:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367286 -2.762102)'), GeomFromEWKT('SRID=4674;POINT (-40.3673 -2.762225)'))) / (select extract(epoch from '2026-07-06 09:51:21'::timestamp) - extract(epoch from '2026-07-06 09:51: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'), 47828, 'SRID=4674;POINT (-40.36732 -2.762359)', '2026-07-06 09:51:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3673 -2.762225)'), GeomFromEWKT('SRID=4674;POINT (-40.36732 -2.762359)'))) / (select extract(epoch from '2026-07-06 09:51:27'::timestamp) - extract(epoch from '2026-07-06 09:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3673 -2.762225)'), GeomFromEWKT('SRID=4674;POINT (-40.36732 -2.762359)'))) / (select extract(epoch from '2026-07-06 09:51:27'::timestamp) - extract(epoch from '2026-07-06 09:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367333 -2.762507)', '2026-07-06 09:51:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36732 -2.762359)'), GeomFromEWKT('SRID=4674;POINT (-40.367333 -2.762507)'))) / (select extract(epoch from '2026-07-06 09:51:33'::timestamp) - extract(epoch from '2026-07-06 09:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36732 -2.762359)'), GeomFromEWKT('SRID=4674;POINT (-40.367333 -2.762507)'))) / (select extract(epoch from '2026-07-06 09:51:33'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367325 -2.762671)', '2026-07-06 09:51:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367333 -2.762507)'), GeomFromEWKT('SRID=4674;POINT (-40.367325 -2.762671)'))) / (select extract(epoch from '2026-07-06 09:51:40'::timestamp) - extract(epoch from '2026-07-06 09:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367333 -2.762507)'), GeomFromEWKT('SRID=4674;POINT (-40.367325 -2.762671)'))) / (select extract(epoch from '2026-07-06 09:51:40'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367322 -2.762768)', '2026-07-06 09:51:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367325 -2.762671)'), GeomFromEWKT('SRID=4674;POINT (-40.367322 -2.762768)'))) / (select extract(epoch from '2026-07-06 09:51:44'::timestamp) - extract(epoch from '2026-07-06 09:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367325 -2.762671)'), GeomFromEWKT('SRID=4674;POINT (-40.367322 -2.762768)'))) / (select extract(epoch from '2026-07-06 09:51:44'::timestamp) - extract(epoch from '2026-07-06 09:51: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'), 47828, 'SRID=4674;POINT (-40.367304 -2.762904)', '2026-07-06 09:51:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367322 -2.762768)'), GeomFromEWKT('SRID=4674;POINT (-40.367304 -2.762904)'))) / (select extract(epoch from '2026-07-06 09:51:50'::timestamp) - extract(epoch from '2026-07-06 09:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367322 -2.762768)'), GeomFromEWKT('SRID=4674;POINT (-40.367304 -2.762904)'))) / (select extract(epoch from '2026-07-06 09:51:50'::timestamp) - extract(epoch from '2026-07-06 09:51: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'), 47828, 'SRID=4674;POINT (-40.367308 -2.763005)', '2026-07-06 09:51:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367304 -2.762904)'), GeomFromEWKT('SRID=4674;POINT (-40.367308 -2.763005)'))) / (select extract(epoch from '2026-07-06 09:51:54'::timestamp) - extract(epoch from '2026-07-06 09:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367304 -2.762904)'), GeomFromEWKT('SRID=4674;POINT (-40.367308 -2.763005)'))) / (select extract(epoch from '2026-07-06 09:51:54'::timestamp) - extract(epoch from '2026-07-06 09:51: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'), 47828, 'SRID=4674;POINT (-40.367318 -2.763101)', '2026-07-06 09:51:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367308 -2.763005)'), GeomFromEWKT('SRID=4674;POINT (-40.367318 -2.763101)'))) / (select extract(epoch from '2026-07-06 09:51:58'::timestamp) - extract(epoch from '2026-07-06 09:51:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367308 -2.763005)'), GeomFromEWKT('SRID=4674;POINT (-40.367318 -2.763101)'))) / (select extract(epoch from '2026-07-06 09:51:58'::timestamp) - extract(epoch from '2026-07-06 09:51:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367329 -2.763241)', '2026-07-06 09:52:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367318 -2.763101)'), GeomFromEWKT('SRID=4674;POINT (-40.367329 -2.763241)'))) / (select extract(epoch from '2026-07-06 09:52:04'::timestamp) - extract(epoch from '2026-07-06 09:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367318 -2.763101)'), GeomFromEWKT('SRID=4674;POINT (-40.367329 -2.763241)'))) / (select extract(epoch from '2026-07-06 09:52:04'::timestamp) - extract(epoch from '2026-07-06 09:51: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'), 47828, 'SRID=4674;POINT (-40.367334 -2.763265)', '2026-07-06 09:52:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367329 -2.763241)'), GeomFromEWKT('SRID=4674;POINT (-40.367334 -2.763265)'))) / (select extract(epoch from '2026-07-06 09:52:05'::timestamp) - extract(epoch from '2026-07-06 09:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367329 -2.763241)'), GeomFromEWKT('SRID=4674;POINT (-40.367334 -2.763265)'))) / (select extract(epoch from '2026-07-06 09:52:05'::timestamp) - extract(epoch from '2026-07-06 09:52: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'), 47828, 'SRID=4674;POINT (-40.36735 -2.763347)', '2026-07-06 09:52:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367334 -2.763265)'), GeomFromEWKT('SRID=4674;POINT (-40.36735 -2.763347)'))) / (select extract(epoch from '2026-07-06 09:52:08'::timestamp) - extract(epoch from '2026-07-06 09:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367334 -2.763265)'), GeomFromEWKT('SRID=4674;POINT (-40.36735 -2.763347)'))) / (select extract(epoch from '2026-07-06 09:52:08'::timestamp) - extract(epoch from '2026-07-06 09:52:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36737 -2.763445)', '2026-07-06 09:52:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36735 -2.763347)'), GeomFromEWKT('SRID=4674;POINT (-40.36737 -2.763445)'))) / (select extract(epoch from '2026-07-06 09:52:12'::timestamp) - extract(epoch from '2026-07-06 09:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36735 -2.763347)'), GeomFromEWKT('SRID=4674;POINT (-40.36737 -2.763445)'))) / (select extract(epoch from '2026-07-06 09:52:12'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367393 -2.763556)', '2026-07-06 09:52:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36737 -2.763445)'), GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.763556)'))) / (select extract(epoch from '2026-07-06 09:52:17'::timestamp) - extract(epoch from '2026-07-06 09:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36737 -2.763445)'), GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.763556)'))) / (select extract(epoch from '2026-07-06 09:52:17'::timestamp) - extract(epoch from '2026-07-06 09:52:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367425 -2.763703)', '2026-07-06 09:52:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.763556)'), GeomFromEWKT('SRID=4674;POINT (-40.367425 -2.763703)'))) / (select extract(epoch from '2026-07-06 09:52:23'::timestamp) - extract(epoch from '2026-07-06 09:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367393 -2.763556)'), GeomFromEWKT('SRID=4674;POINT (-40.367425 -2.763703)'))) / (select extract(epoch from '2026-07-06 09:52:23'::timestamp) - extract(epoch from '2026-07-06 09:52: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'), 47828, 'SRID=4674;POINT (-40.367462 -2.763844)', '2026-07-06 09:52:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367425 -2.763703)'), GeomFromEWKT('SRID=4674;POINT (-40.367462 -2.763844)'))) / (select extract(epoch from '2026-07-06 09:52:29'::timestamp) - extract(epoch from '2026-07-06 09:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367425 -2.763703)'), GeomFromEWKT('SRID=4674;POINT (-40.367462 -2.763844)'))) / (select extract(epoch from '2026-07-06 09:52:29'::timestamp) - extract(epoch from '2026-07-06 09:52: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'), 47828, 'SRID=4674;POINT (-40.367477 -2.763986)', '2026-07-06 09:52:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367462 -2.763844)'), GeomFromEWKT('SRID=4674;POINT (-40.367477 -2.763986)'))) / (select extract(epoch from '2026-07-06 09:52:35'::timestamp) - extract(epoch from '2026-07-06 09:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367462 -2.763844)'), GeomFromEWKT('SRID=4674;POINT (-40.367477 -2.763986)'))) / (select extract(epoch from '2026-07-06 09:52:35'::timestamp) - extract(epoch from '2026-07-06 09:52: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'), 47828, 'SRID=4674;POINT (-40.367494 -2.764115)', '2026-07-06 09:52:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367477 -2.763986)'), GeomFromEWKT('SRID=4674;POINT (-40.367494 -2.764115)'))) / (select extract(epoch from '2026-07-06 09:52:40'::timestamp) - extract(epoch from '2026-07-06 09:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367477 -2.763986)'), GeomFromEWKT('SRID=4674;POINT (-40.367494 -2.764115)'))) / (select extract(epoch from '2026-07-06 09:52:40'::timestamp) - extract(epoch from '2026-07-06 09:52: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'), 47828, 'SRID=4674;POINT (-40.367512 -2.764276)', '2026-07-06 09:52:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367494 -2.764115)'), GeomFromEWKT('SRID=4674;POINT (-40.367512 -2.764276)'))) / (select extract(epoch from '2026-07-06 09:52:47'::timestamp) - extract(epoch from '2026-07-06 09:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367494 -2.764115)'), GeomFromEWKT('SRID=4674;POINT (-40.367512 -2.764276)'))) / (select extract(epoch from '2026-07-06 09:52:47'::timestamp) - extract(epoch from '2026-07-06 09:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367528 -2.764424)', '2026-07-06 09:52:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367512 -2.764276)'), GeomFromEWKT('SRID=4674;POINT (-40.367528 -2.764424)'))) / (select extract(epoch from '2026-07-06 09:52:53'::timestamp) - extract(epoch from '2026-07-06 09:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367512 -2.764276)'), GeomFromEWKT('SRID=4674;POINT (-40.367528 -2.764424)'))) / (select extract(epoch from '2026-07-06 09:52:53'::timestamp) - extract(epoch from '2026-07-06 09:52: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'), 47828, 'SRID=4674;POINT (-40.367535 -2.764593)', '2026-07-06 09:53:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367528 -2.764424)'), GeomFromEWKT('SRID=4674;POINT (-40.367535 -2.764593)'))) / (select extract(epoch from '2026-07-06 09:53:00'::timestamp) - extract(epoch from '2026-07-06 09:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367528 -2.764424)'), GeomFromEWKT('SRID=4674;POINT (-40.367535 -2.764593)'))) / (select extract(epoch from '2026-07-06 09:53:00'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367547 -2.764708)', '2026-07-06 09:53:05', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367535 -2.764593)'), GeomFromEWKT('SRID=4674;POINT (-40.367547 -2.764708)'))) / (select extract(epoch from '2026-07-06 09:53:05'::timestamp) - extract(epoch from '2026-07-06 09:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367535 -2.764593)'), GeomFromEWKT('SRID=4674;POINT (-40.367547 -2.764708)'))) / (select extract(epoch from '2026-07-06 09:53:05'::timestamp) - extract(epoch from '2026-07-06 09:53:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367539 -2.764852)', '2026-07-06 09:53:11', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367547 -2.764708)'), GeomFromEWKT('SRID=4674;POINT (-40.367539 -2.764852)'))) / (select extract(epoch from '2026-07-06 09:53:11'::timestamp) - extract(epoch from '2026-07-06 09:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367547 -2.764708)'), GeomFromEWKT('SRID=4674;POINT (-40.367539 -2.764852)'))) / (select extract(epoch from '2026-07-06 09:53:11'::timestamp) - extract(epoch from '2026-07-06 09:53:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367517 -2.765023)', '2026-07-06 09:53:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367539 -2.764852)'), GeomFromEWKT('SRID=4674;POINT (-40.367517 -2.765023)'))) / (select extract(epoch from '2026-07-06 09:53:18'::timestamp) - extract(epoch from '2026-07-06 09:53:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367539 -2.764852)'), GeomFromEWKT('SRID=4674;POINT (-40.367517 -2.765023)'))) / (select extract(epoch from '2026-07-06 09:53:18'::timestamp) - extract(epoch from '2026-07-06 09:53: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'), 47828, 'SRID=4674;POINT (-40.367504 -2.765165)', '2026-07-06 09:53:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367517 -2.765023)'), GeomFromEWKT('SRID=4674;POINT (-40.367504 -2.765165)'))) / (select extract(epoch from '2026-07-06 09:53:24'::timestamp) - extract(epoch from '2026-07-06 09:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367517 -2.765023)'), GeomFromEWKT('SRID=4674;POINT (-40.367504 -2.765165)'))) / (select extract(epoch from '2026-07-06 09:53:24'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367498 -2.765293)', '2026-07-06 09:53:29', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367504 -2.765165)'), GeomFromEWKT('SRID=4674;POINT (-40.367498 -2.765293)'))) / (select extract(epoch from '2026-07-06 09:53:29'::timestamp) - extract(epoch from '2026-07-06 09:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367504 -2.765165)'), GeomFromEWKT('SRID=4674;POINT (-40.367498 -2.765293)'))) / (select extract(epoch from '2026-07-06 09:53:29'::timestamp) - extract(epoch from '2026-07-06 09:53:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367479 -2.765457)', '2026-07-06 09:53:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367498 -2.765293)'), GeomFromEWKT('SRID=4674;POINT (-40.367479 -2.765457)'))) / (select extract(epoch from '2026-07-06 09:53:36'::timestamp) - extract(epoch from '2026-07-06 09:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367498 -2.765293)'), GeomFromEWKT('SRID=4674;POINT (-40.367479 -2.765457)'))) / (select extract(epoch from '2026-07-06 09:53:36'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367488 -2.765626)', '2026-07-06 09:53:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367479 -2.765457)'), GeomFromEWKT('SRID=4674;POINT (-40.367488 -2.765626)'))) / (select extract(epoch from '2026-07-06 09:53:43'::timestamp) - extract(epoch from '2026-07-06 09:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367479 -2.765457)'), GeomFromEWKT('SRID=4674;POINT (-40.367488 -2.765626)'))) / (select extract(epoch from '2026-07-06 09:53:43'::timestamp) - extract(epoch from '2026-07-06 09:53: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'), 47828, 'SRID=4674;POINT (-40.367507 -2.765746)', '2026-07-06 09:53:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367488 -2.765626)'), GeomFromEWKT('SRID=4674;POINT (-40.367507 -2.765746)'))) / (select extract(epoch from '2026-07-06 09:53:48'::timestamp) - extract(epoch from '2026-07-06 09:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367488 -2.765626)'), GeomFromEWKT('SRID=4674;POINT (-40.367507 -2.765746)'))) / (select extract(epoch from '2026-07-06 09:53:48'::timestamp) - extract(epoch from '2026-07-06 09:53: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'), 47828, 'SRID=4674;POINT (-40.367546 -2.765937)', '2026-07-06 09:53:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367507 -2.765746)'), GeomFromEWKT('SRID=4674;POINT (-40.367546 -2.765937)'))) / (select extract(epoch from '2026-07-06 09:53:56'::timestamp) - extract(epoch from '2026-07-06 09:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367507 -2.765746)'), GeomFromEWKT('SRID=4674;POINT (-40.367546 -2.765937)'))) / (select extract(epoch from '2026-07-06 09:53:56'::timestamp) - extract(epoch from '2026-07-06 09:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367555 -2.766057)', '2026-07-06 09:54:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367546 -2.765937)'), GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.766057)'))) / (select extract(epoch from '2026-07-06 09:54:01'::timestamp) - extract(epoch from '2026-07-06 09:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367546 -2.765937)'), GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.766057)'))) / (select extract(epoch from '2026-07-06 09:54:01'::timestamp) - extract(epoch from '2026-07-06 09:53: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'), 47828, 'SRID=4674;POINT (-40.367589 -2.766204)', '2026-07-06 09:54:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.766057)'), GeomFromEWKT('SRID=4674;POINT (-40.367589 -2.766204)'))) / (select extract(epoch from '2026-07-06 09:54:07'::timestamp) - extract(epoch from '2026-07-06 09:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367555 -2.766057)'), GeomFromEWKT('SRID=4674;POINT (-40.367589 -2.766204)'))) / (select extract(epoch from '2026-07-06 09:54:07'::timestamp) - extract(epoch from '2026-07-06 09:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367634 -2.766371)', '2026-07-06 09:54:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367589 -2.766204)'), GeomFromEWKT('SRID=4674;POINT (-40.367634 -2.766371)'))) / (select extract(epoch from '2026-07-06 09:54:14'::timestamp) - extract(epoch from '2026-07-06 09:54:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367589 -2.766204)'), GeomFromEWKT('SRID=4674;POINT (-40.367634 -2.766371)'))) / (select extract(epoch from '2026-07-06 09:54:14'::timestamp) - extract(epoch from '2026-07-06 09:54: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'), 47828, 'SRID=4674;POINT (-40.367667 -2.766491)', '2026-07-06 09:54:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367634 -2.766371)'), GeomFromEWKT('SRID=4674;POINT (-40.367667 -2.766491)'))) / (select extract(epoch from '2026-07-06 09:54:19'::timestamp) - extract(epoch from '2026-07-06 09:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367634 -2.766371)'), GeomFromEWKT('SRID=4674;POINT (-40.367667 -2.766491)'))) / (select extract(epoch from '2026-07-06 09:54:19'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367683 -2.766633)', '2026-07-06 09:54:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367667 -2.766491)'), GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.766633)'))) / (select extract(epoch from '2026-07-06 09:54:25'::timestamp) - extract(epoch from '2026-07-06 09:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367667 -2.766491)'), GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.766633)'))) / (select extract(epoch from '2026-07-06 09:54:25'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367694 -2.766756)', '2026-07-06 09:54:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.766633)'), GeomFromEWKT('SRID=4674;POINT (-40.367694 -2.766756)'))) / (select extract(epoch from '2026-07-06 09:54:30'::timestamp) - extract(epoch from '2026-07-06 09:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.766633)'), GeomFromEWKT('SRID=4674;POINT (-40.367694 -2.766756)'))) / (select extract(epoch from '2026-07-06 09:54:30'::timestamp) - extract(epoch from '2026-07-06 09:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367692 -2.766923)', '2026-07-06 09:54:37', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367694 -2.766756)'), GeomFromEWKT('SRID=4674;POINT (-40.367692 -2.766923)'))) / (select extract(epoch from '2026-07-06 09:54:37'::timestamp) - extract(epoch from '2026-07-06 09:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367694 -2.766756)'), GeomFromEWKT('SRID=4674;POINT (-40.367692 -2.766923)'))) / (select extract(epoch from '2026-07-06 09:54:37'::timestamp) - extract(epoch from '2026-07-06 09:54: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'), 47828, 'SRID=4674;POINT (-40.367673 -2.767061)', '2026-07-06 09:54:43', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367692 -2.766923)'), GeomFromEWKT('SRID=4674;POINT (-40.367673 -2.767061)'))) / (select extract(epoch from '2026-07-06 09:54:43'::timestamp) - extract(epoch from '2026-07-06 09:54:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367692 -2.766923)'), GeomFromEWKT('SRID=4674;POINT (-40.367673 -2.767061)'))) / (select extract(epoch from '2026-07-06 09:54:43'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.36765 -2.767226)', '2026-07-06 09:54:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367673 -2.767061)'), GeomFromEWKT('SRID=4674;POINT (-40.36765 -2.767226)'))) / (select extract(epoch from '2026-07-06 09:54:50'::timestamp) - extract(epoch from '2026-07-06 09:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367673 -2.767061)'), GeomFromEWKT('SRID=4674;POINT (-40.36765 -2.767226)'))) / (select extract(epoch from '2026-07-06 09:54:50'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367631 -2.76736)', '2026-07-06 09:54:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36765 -2.767226)'), GeomFromEWKT('SRID=4674;POINT (-40.367631 -2.76736)'))) / (select extract(epoch from '2026-07-06 09:54:56'::timestamp) - extract(epoch from '2026-07-06 09:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36765 -2.767226)'), GeomFromEWKT('SRID=4674;POINT (-40.367631 -2.76736)'))) / (select extract(epoch from '2026-07-06 09:54:56'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.36761 -2.767515)', '2026-07-06 09:55:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367631 -2.76736)'), GeomFromEWKT('SRID=4674;POINT (-40.36761 -2.767515)'))) / (select extract(epoch from '2026-07-06 09:55:03'::timestamp) - extract(epoch from '2026-07-06 09:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367631 -2.76736)'), GeomFromEWKT('SRID=4674;POINT (-40.36761 -2.767515)'))) / (select extract(epoch from '2026-07-06 09:55:03'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367606 -2.767637)', '2026-07-06 09:55:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36761 -2.767515)'), GeomFromEWKT('SRID=4674;POINT (-40.367606 -2.767637)'))) / (select extract(epoch from '2026-07-06 09:55:08'::timestamp) - extract(epoch from '2026-07-06 09:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36761 -2.767515)'), GeomFromEWKT('SRID=4674;POINT (-40.367606 -2.767637)'))) / (select extract(epoch from '2026-07-06 09:55:08'::timestamp) - extract(epoch from '2026-07-06 09:55: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'), 47828, 'SRID=4674;POINT (-40.367623 -2.767776)', '2026-07-06 09:55:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367606 -2.767637)'), GeomFromEWKT('SRID=4674;POINT (-40.367623 -2.767776)'))) / (select extract(epoch from '2026-07-06 09:55:14'::timestamp) - extract(epoch from '2026-07-06 09:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367606 -2.767637)'), GeomFromEWKT('SRID=4674;POINT (-40.367623 -2.767776)'))) / (select extract(epoch from '2026-07-06 09:55:14'::timestamp) - extract(epoch from '2026-07-06 09:55: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'), 47828, 'SRID=4674;POINT (-40.367654 -2.767928)', '2026-07-06 09:55:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367623 -2.767776)'), GeomFromEWKT('SRID=4674;POINT (-40.367654 -2.767928)'))) / (select extract(epoch from '2026-07-06 09:55:20'::timestamp) - extract(epoch from '2026-07-06 09:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367623 -2.767776)'), GeomFromEWKT('SRID=4674;POINT (-40.367654 -2.767928)'))) / (select extract(epoch from '2026-07-06 09:55:20'::timestamp) - extract(epoch from '2026-07-06 09:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36768 -2.768068)', '2026-07-06 09:55:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367654 -2.767928)'), GeomFromEWKT('SRID=4674;POINT (-40.36768 -2.768068)'))) / (select extract(epoch from '2026-07-06 09:55:26'::timestamp) - extract(epoch from '2026-07-06 09:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367654 -2.767928)'), GeomFromEWKT('SRID=4674;POINT (-40.36768 -2.768068)'))) / (select extract(epoch from '2026-07-06 09:55:26'::timestamp) - extract(epoch from '2026-07-06 09:55: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'), 47828, 'SRID=4674;POINT (-40.36769 -2.768222)', '2026-07-06 09:55:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36768 -2.768068)'), GeomFromEWKT('SRID=4674;POINT (-40.36769 -2.768222)'))) / (select extract(epoch from '2026-07-06 09:55:32'::timestamp) - extract(epoch from '2026-07-06 09:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36768 -2.768068)'), GeomFromEWKT('SRID=4674;POINT (-40.36769 -2.768222)'))) / (select extract(epoch from '2026-07-06 09:55:32'::timestamp) - extract(epoch from '2026-07-06 09:55: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'), 47828, 'SRID=4674;POINT (-40.367709 -2.768405)', '2026-07-06 09:55:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36769 -2.768222)'), GeomFromEWKT('SRID=4674;POINT (-40.367709 -2.768405)'))) / (select extract(epoch from '2026-07-06 09:55:40'::timestamp) - extract(epoch from '2026-07-06 09:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36769 -2.768222)'), GeomFromEWKT('SRID=4674;POINT (-40.367709 -2.768405)'))) / (select extract(epoch from '2026-07-06 09:55:40'::timestamp) - extract(epoch from '2026-07-06 09:55: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'), 47828, 'SRID=4674;POINT (-40.367749 -2.768579)', '2026-07-06 09:55:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367709 -2.768405)'), GeomFromEWKT('SRID=4674;POINT (-40.367749 -2.768579)'))) / (select extract(epoch from '2026-07-06 09:55:47'::timestamp) - extract(epoch from '2026-07-06 09:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367709 -2.768405)'), GeomFromEWKT('SRID=4674;POINT (-40.367749 -2.768579)'))) / (select extract(epoch from '2026-07-06 09:55:47'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367788 -2.768715)', '2026-07-06 09:55:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367749 -2.768579)'), GeomFromEWKT('SRID=4674;POINT (-40.367788 -2.768715)'))) / (select extract(epoch from '2026-07-06 09:55:53'::timestamp) - extract(epoch from '2026-07-06 09:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367749 -2.768579)'), GeomFromEWKT('SRID=4674;POINT (-40.367788 -2.768715)'))) / (select extract(epoch from '2026-07-06 09:55:53'::timestamp) - extract(epoch from '2026-07-06 09:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367822 -2.768862)', '2026-07-06 09:55:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367788 -2.768715)'), GeomFromEWKT('SRID=4674;POINT (-40.367822 -2.768862)'))) / (select extract(epoch from '2026-07-06 09:55:59'::timestamp) - extract(epoch from '2026-07-06 09:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367788 -2.768715)'), GeomFromEWKT('SRID=4674;POINT (-40.367822 -2.768862)'))) / (select extract(epoch from '2026-07-06 09:55:59'::timestamp) - extract(epoch from '2026-07-06 09:55: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'), 47828, 'SRID=4674;POINT (-40.367842 -2.768981)', '2026-07-06 09:56:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367822 -2.768862)'), GeomFromEWKT('SRID=4674;POINT (-40.367842 -2.768981)'))) / (select extract(epoch from '2026-07-06 09:56:04'::timestamp) - extract(epoch from '2026-07-06 09:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367822 -2.768862)'), GeomFromEWKT('SRID=4674;POINT (-40.367842 -2.768981)'))) / (select extract(epoch from '2026-07-06 09:56:04'::timestamp) - extract(epoch from '2026-07-06 09:55: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'), 47828, 'SRID=4674;POINT (-40.367846 -2.769125)', '2026-07-06 09:56:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367842 -2.768981)'), GeomFromEWKT('SRID=4674;POINT (-40.367846 -2.769125)'))) / (select extract(epoch from '2026-07-06 09:56:10'::timestamp) - extract(epoch from '2026-07-06 09:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367842 -2.768981)'), GeomFromEWKT('SRID=4674;POINT (-40.367846 -2.769125)'))) / (select extract(epoch from '2026-07-06 09:56:10'::timestamp) - extract(epoch from '2026-07-06 09:56: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'), 47828, 'SRID=4674;POINT (-40.367845 -2.76915)', '2026-07-06 09:56:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367846 -2.769125)'), GeomFromEWKT('SRID=4674;POINT (-40.367845 -2.76915)'))) / (select extract(epoch from '2026-07-06 09:56:11'::timestamp) - extract(epoch from '2026-07-06 09:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367846 -2.769125)'), GeomFromEWKT('SRID=4674;POINT (-40.367845 -2.76915)'))) / (select extract(epoch from '2026-07-06 09:56:11'::timestamp) - extract(epoch from '2026-07-06 09:56: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'), 47828, 'SRID=4674;POINT (-40.367837 -2.76922)', '2026-07-06 09:56:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367845 -2.76915)'), GeomFromEWKT('SRID=4674;POINT (-40.367837 -2.76922)'))) / (select extract(epoch from '2026-07-06 09:56:14'::timestamp) - extract(epoch from '2026-07-06 09:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367845 -2.76915)'), GeomFromEWKT('SRID=4674;POINT (-40.367837 -2.76922)'))) / (select extract(epoch from '2026-07-06 09:56:14'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367858 -2.769361)', '2026-07-06 09:56:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367837 -2.76922)'), GeomFromEWKT('SRID=4674;POINT (-40.367858 -2.769361)'))) / (select extract(epoch from '2026-07-06 09:56:20'::timestamp) - extract(epoch from '2026-07-06 09:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367837 -2.76922)'), GeomFromEWKT('SRID=4674;POINT (-40.367858 -2.769361)'))) / (select extract(epoch from '2026-07-06 09:56:20'::timestamp) - extract(epoch from '2026-07-06 09:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367905 -2.769467)', '2026-07-06 09:56:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367858 -2.769361)'), GeomFromEWKT('SRID=4674;POINT (-40.367905 -2.769467)'))) / (select extract(epoch from '2026-07-06 09:56:25'::timestamp) - extract(epoch from '2026-07-06 09:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367858 -2.769361)'), GeomFromEWKT('SRID=4674;POINT (-40.367905 -2.769467)'))) / (select extract(epoch from '2026-07-06 09:56:25'::timestamp) - extract(epoch from '2026-07-06 09:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367981 -2.769585)', '2026-07-06 09:56:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367905 -2.769467)'), GeomFromEWKT('SRID=4674;POINT (-40.367981 -2.769585)'))) / (select extract(epoch from '2026-07-06 09:56:31'::timestamp) - extract(epoch from '2026-07-06 09:56:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367905 -2.769467)'), GeomFromEWKT('SRID=4674;POINT (-40.367981 -2.769585)'))) / (select extract(epoch from '2026-07-06 09:56:31'::timestamp) - extract(epoch from '2026-07-06 09:56:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367994 -2.769711)', '2026-07-06 09:56:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367981 -2.769585)'), GeomFromEWKT('SRID=4674;POINT (-40.367994 -2.769711)'))) / (select extract(epoch from '2026-07-06 09:56:36'::timestamp) - extract(epoch from '2026-07-06 09:56:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367981 -2.769585)'), GeomFromEWKT('SRID=4674;POINT (-40.367994 -2.769711)'))) / (select extract(epoch from '2026-07-06 09:56:36'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367977 -2.769817)', '2026-07-06 09:56:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367994 -2.769711)'), GeomFromEWKT('SRID=4674;POINT (-40.367977 -2.769817)'))) / (select extract(epoch from '2026-07-06 09:56:41'::timestamp) - extract(epoch from '2026-07-06 09:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367994 -2.769711)'), GeomFromEWKT('SRID=4674;POINT (-40.367977 -2.769817)'))) / (select extract(epoch from '2026-07-06 09:56:41'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367948 -2.769962)', '2026-07-06 09:56:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367977 -2.769817)'), GeomFromEWKT('SRID=4674;POINT (-40.367948 -2.769962)'))) / (select extract(epoch from '2026-07-06 09:56:47'::timestamp) - extract(epoch from '2026-07-06 09:56:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367977 -2.769817)'), GeomFromEWKT('SRID=4674;POINT (-40.367948 -2.769962)'))) / (select extract(epoch from '2026-07-06 09:56:47'::timestamp) - extract(epoch from '2026-07-06 09:56:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367893 -2.770141)', '2026-07-06 09:56:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367948 -2.769962)'), GeomFromEWKT('SRID=4674;POINT (-40.367893 -2.770141)'))) / (select extract(epoch from '2026-07-06 09:56:55'::timestamp) - extract(epoch from '2026-07-06 09:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367948 -2.769962)'), GeomFromEWKT('SRID=4674;POINT (-40.367893 -2.770141)'))) / (select extract(epoch from '2026-07-06 09:56:55'::timestamp) - extract(epoch from '2026-07-06 09:56: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'), 47828, 'SRID=4674;POINT (-40.367849 -2.770301)', '2026-07-06 09:57:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367893 -2.770141)'), GeomFromEWKT('SRID=4674;POINT (-40.367849 -2.770301)'))) / (select extract(epoch from '2026-07-06 09:57:02'::timestamp) - extract(epoch from '2026-07-06 09:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367893 -2.770141)'), GeomFromEWKT('SRID=4674;POINT (-40.367849 -2.770301)'))) / (select extract(epoch from '2026-07-06 09:57:02'::timestamp) - extract(epoch from '2026-07-06 09:56: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'), 47828, 'SRID=4674;POINT (-40.367809 -2.770432)', '2026-07-06 09:57:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367849 -2.770301)'), GeomFromEWKT('SRID=4674;POINT (-40.367809 -2.770432)'))) / (select extract(epoch from '2026-07-06 09:57:08'::timestamp) - extract(epoch from '2026-07-06 09:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367849 -2.770301)'), GeomFromEWKT('SRID=4674;POINT (-40.367809 -2.770432)'))) / (select extract(epoch from '2026-07-06 09:57:08'::timestamp) - extract(epoch from '2026-07-06 09:57: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'), 47828, 'SRID=4674;POINT (-40.367777 -2.770569)', '2026-07-06 09:57:14', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367809 -2.770432)'), GeomFromEWKT('SRID=4674;POINT (-40.367777 -2.770569)'))) / (select extract(epoch from '2026-07-06 09:57:14'::timestamp) - extract(epoch from '2026-07-06 09:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367809 -2.770432)'), GeomFromEWKT('SRID=4674;POINT (-40.367777 -2.770569)'))) / (select extract(epoch from '2026-07-06 09:57:14'::timestamp) - extract(epoch from '2026-07-06 09:57: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'), 47828, 'SRID=4674;POINT (-40.367769 -2.770727)', '2026-07-06 09:57:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367777 -2.770569)'), GeomFromEWKT('SRID=4674;POINT (-40.367769 -2.770727)'))) / (select extract(epoch from '2026-07-06 09:57:21'::timestamp) - extract(epoch from '2026-07-06 09:57:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367777 -2.770569)'), GeomFromEWKT('SRID=4674;POINT (-40.367769 -2.770727)'))) / (select extract(epoch from '2026-07-06 09:57:21'::timestamp) - extract(epoch from '2026-07-06 09:57: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'), 47828, 'SRID=4674;POINT (-40.367772 -2.770917)', '2026-07-06 09:57:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367769 -2.770727)'), GeomFromEWKT('SRID=4674;POINT (-40.367772 -2.770917)'))) / (select extract(epoch from '2026-07-06 09:57:29'::timestamp) - extract(epoch from '2026-07-06 09:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367769 -2.770727)'), GeomFromEWKT('SRID=4674;POINT (-40.367772 -2.770917)'))) / (select extract(epoch from '2026-07-06 09:57:29'::timestamp) - extract(epoch from '2026-07-06 09:57: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'), 47828, 'SRID=4674;POINT (-40.367767 -2.771065)', '2026-07-06 09:57:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367772 -2.770917)'), GeomFromEWKT('SRID=4674;POINT (-40.367767 -2.771065)'))) / (select extract(epoch from '2026-07-06 09:57:35'::timestamp) - extract(epoch from '2026-07-06 09:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367772 -2.770917)'), GeomFromEWKT('SRID=4674;POINT (-40.367767 -2.771065)'))) / (select extract(epoch from '2026-07-06 09:57:35'::timestamp) - extract(epoch from '2026-07-06 09:57: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'), 47828, 'SRID=4674;POINT (-40.367766 -2.771204)', '2026-07-06 09:57:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367767 -2.771065)'), GeomFromEWKT('SRID=4674;POINT (-40.367766 -2.771204)'))) / (select extract(epoch from '2026-07-06 09:57:41'::timestamp) - extract(epoch from '2026-07-06 09:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367767 -2.771065)'), GeomFromEWKT('SRID=4674;POINT (-40.367766 -2.771204)'))) / (select extract(epoch from '2026-07-06 09:57:41'::timestamp) - extract(epoch from '2026-07-06 09:57: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'), 47828, 'SRID=4674;POINT (-40.367735 -2.771345)', '2026-07-06 09:57:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367766 -2.771204)'), GeomFromEWKT('SRID=4674;POINT (-40.367735 -2.771345)'))) / (select extract(epoch from '2026-07-06 09:57:47'::timestamp) - extract(epoch from '2026-07-06 09:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367766 -2.771204)'), GeomFromEWKT('SRID=4674;POINT (-40.367735 -2.771345)'))) / (select extract(epoch from '2026-07-06 09:57:47'::timestamp) - extract(epoch from '2026-07-06 09:57:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367683 -2.771461)', '2026-07-06 09:57:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367735 -2.771345)'), GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.771461)'))) / (select extract(epoch from '2026-07-06 09:57:53'::timestamp) - extract(epoch from '2026-07-06 09:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367735 -2.771345)'), GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.771461)'))) / (select extract(epoch from '2026-07-06 09:57:53'::timestamp) - extract(epoch from '2026-07-06 09:57: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'), 47828, 'SRID=4674;POINT (-40.367649 -2.771575)', '2026-07-06 09:57:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.771461)'), GeomFromEWKT('SRID=4674;POINT (-40.367649 -2.771575)'))) / (select extract(epoch from '2026-07-06 09:57:58'::timestamp) - extract(epoch from '2026-07-06 09:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.771461)'), GeomFromEWKT('SRID=4674;POINT (-40.367649 -2.771575)'))) / (select extract(epoch from '2026-07-06 09:57:58'::timestamp) - extract(epoch from '2026-07-06 09:57:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367617 -2.771731)', '2026-07-06 09:58:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367649 -2.771575)'), GeomFromEWKT('SRID=4674;POINT (-40.367617 -2.771731)'))) / (select extract(epoch from '2026-07-06 09:58:05'::timestamp) - extract(epoch from '2026-07-06 09:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367649 -2.771575)'), GeomFromEWKT('SRID=4674;POINT (-40.367617 -2.771731)'))) / (select extract(epoch from '2026-07-06 09:58:05'::timestamp) - extract(epoch from '2026-07-06 09:57: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'), 47828, 'SRID=4674;POINT (-40.367613 -2.771855)', '2026-07-06 09:58:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367617 -2.771731)'), GeomFromEWKT('SRID=4674;POINT (-40.367613 -2.771855)'))) / (select extract(epoch from '2026-07-06 09:58:10'::timestamp) - extract(epoch from '2026-07-06 09:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367617 -2.771731)'), GeomFromEWKT('SRID=4674;POINT (-40.367613 -2.771855)'))) / (select extract(epoch from '2026-07-06 09:58:10'::timestamp) - extract(epoch from '2026-07-06 09:58: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'), 47828, 'SRID=4674;POINT (-40.367602 -2.771942)', '2026-07-06 09:58:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367613 -2.771855)'), GeomFromEWKT('SRID=4674;POINT (-40.367602 -2.771942)'))) / (select extract(epoch from '2026-07-06 09:58:14'::timestamp) - extract(epoch from '2026-07-06 09:58:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367613 -2.771855)'), GeomFromEWKT('SRID=4674;POINT (-40.367602 -2.771942)'))) / (select extract(epoch from '2026-07-06 09:58:14'::timestamp) - extract(epoch from '2026-07-06 09:58:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367598 -2.771965)', '2026-07-06 09:58:15', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367602 -2.771942)'), GeomFromEWKT('SRID=4674;POINT (-40.367598 -2.771965)'))) / (select extract(epoch from '2026-07-06 09:58:15'::timestamp) - extract(epoch from '2026-07-06 09:58:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367602 -2.771942)'), GeomFromEWKT('SRID=4674;POINT (-40.367598 -2.771965)'))) / (select extract(epoch from '2026-07-06 09:58:15'::timestamp) - extract(epoch from '2026-07-06 09:58: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'), 47828, 'SRID=4674;POINT (-40.367584 -2.772062)', '2026-07-06 09:58:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367598 -2.771965)'), GeomFromEWKT('SRID=4674;POINT (-40.367584 -2.772062)'))) / (select extract(epoch from '2026-07-06 09:58:19'::timestamp) - extract(epoch from '2026-07-06 09:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367598 -2.771965)'), GeomFromEWKT('SRID=4674;POINT (-40.367584 -2.772062)'))) / (select extract(epoch from '2026-07-06 09:58:19'::timestamp) - extract(epoch from '2026-07-06 09:58: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'), 47828, 'SRID=4674;POINT (-40.367597 -2.772201)', '2026-07-06 09:58:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367584 -2.772062)'), GeomFromEWKT('SRID=4674;POINT (-40.367597 -2.772201)'))) / (select extract(epoch from '2026-07-06 09:58:25'::timestamp) - extract(epoch from '2026-07-06 09:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367584 -2.772062)'), GeomFromEWKT('SRID=4674;POINT (-40.367597 -2.772201)'))) / (select extract(epoch from '2026-07-06 09:58:25'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.36765 -2.772341)', '2026-07-06 09:58:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367597 -2.772201)'), GeomFromEWKT('SRID=4674;POINT (-40.36765 -2.772341)'))) / (select extract(epoch from '2026-07-06 09:58:31'::timestamp) - extract(epoch from '2026-07-06 09:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367597 -2.772201)'), GeomFromEWKT('SRID=4674;POINT (-40.36765 -2.772341)'))) / (select extract(epoch from '2026-07-06 09:58:31'::timestamp) - extract(epoch from '2026-07-06 09:58: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'), 47828, 'SRID=4674;POINT (-40.367685 -2.772507)', '2026-07-06 09:58:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36765 -2.772341)'), GeomFromEWKT('SRID=4674;POINT (-40.367685 -2.772507)'))) / (select extract(epoch from '2026-07-06 09:58:38'::timestamp) - extract(epoch from '2026-07-06 09:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36765 -2.772341)'), GeomFromEWKT('SRID=4674;POINT (-40.367685 -2.772507)'))) / (select extract(epoch from '2026-07-06 09:58:38'::timestamp) - extract(epoch from '2026-07-06 09:58: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'), 47828, 'SRID=4674;POINT (-40.367696 -2.772661)', '2026-07-06 09:58:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367685 -2.772507)'), GeomFromEWKT('SRID=4674;POINT (-40.367696 -2.772661)'))) / (select extract(epoch from '2026-07-06 09:58:45'::timestamp) - extract(epoch from '2026-07-06 09:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367685 -2.772507)'), GeomFromEWKT('SRID=4674;POINT (-40.367696 -2.772661)'))) / (select extract(epoch from '2026-07-06 09:58:45'::timestamp) - extract(epoch from '2026-07-06 09:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367683 -2.77279)', '2026-07-06 09:58:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367696 -2.772661)'), GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.77279)'))) / (select extract(epoch from '2026-07-06 09:58:50'::timestamp) - extract(epoch from '2026-07-06 09:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367696 -2.772661)'), GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.77279)'))) / (select extract(epoch from '2026-07-06 09:58:50'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367679 -2.772859)', '2026-07-06 09:58:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.77279)'), GeomFromEWKT('SRID=4674;POINT (-40.367679 -2.772859)'))) / (select extract(epoch from '2026-07-06 09:58:53'::timestamp) - extract(epoch from '2026-07-06 09:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367683 -2.77279)'), GeomFromEWKT('SRID=4674;POINT (-40.367679 -2.772859)'))) / (select extract(epoch from '2026-07-06 09:58:53'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367672 -2.7729)', '2026-07-06 09:58:55', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367679 -2.772859)'), GeomFromEWKT('SRID=4674;POINT (-40.367672 -2.7729)'))) / (select extract(epoch from '2026-07-06 09:58:55'::timestamp) - extract(epoch from '2026-07-06 09:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367679 -2.772859)'), GeomFromEWKT('SRID=4674;POINT (-40.367672 -2.7729)'))) / (select extract(epoch from '2026-07-06 09:58:55'::timestamp) - extract(epoch from '2026-07-06 09:58:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367657 -2.773038)', '2026-07-06 09:59:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367672 -2.7729)'), GeomFromEWKT('SRID=4674;POINT (-40.367657 -2.773038)'))) / (select extract(epoch from '2026-07-06 09:59:01'::timestamp) - extract(epoch from '2026-07-06 09:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367672 -2.7729)'), GeomFromEWKT('SRID=4674;POINT (-40.367657 -2.773038)'))) / (select extract(epoch from '2026-07-06 09:59:01'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367668 -2.773209)', '2026-07-06 09:59:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367657 -2.773038)'), GeomFromEWKT('SRID=4674;POINT (-40.367668 -2.773209)'))) / (select extract(epoch from '2026-07-06 09:59:08'::timestamp) - extract(epoch from '2026-07-06 09:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367657 -2.773038)'), GeomFromEWKT('SRID=4674;POINT (-40.367668 -2.773209)'))) / (select extract(epoch from '2026-07-06 09:59:08'::timestamp) - extract(epoch from '2026-07-06 09:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36769 -2.773348)', '2026-07-06 09:59:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367668 -2.773209)'), GeomFromEWKT('SRID=4674;POINT (-40.36769 -2.773348)'))) / (select extract(epoch from '2026-07-06 09:59:14'::timestamp) - extract(epoch from '2026-07-06 09:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367668 -2.773209)'), GeomFromEWKT('SRID=4674;POINT (-40.36769 -2.773348)'))) / (select extract(epoch from '2026-07-06 09:59:14'::timestamp) - extract(epoch from '2026-07-06 09:59:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367746 -2.773516)', '2026-07-06 09:59:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36769 -2.773348)'), GeomFromEWKT('SRID=4674;POINT (-40.367746 -2.773516)'))) / (select extract(epoch from '2026-07-06 09:59:21'::timestamp) - extract(epoch from '2026-07-06 09:59:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36769 -2.773348)'), GeomFromEWKT('SRID=4674;POINT (-40.367746 -2.773516)'))) / (select extract(epoch from '2026-07-06 09:59:21'::timestamp) - extract(epoch from '2026-07-06 09:59: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'), 47828, 'SRID=4674;POINT (-40.367784 -2.773627)', '2026-07-06 09:59:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367746 -2.773516)'), GeomFromEWKT('SRID=4674;POINT (-40.367784 -2.773627)'))) / (select extract(epoch from '2026-07-06 09:59:26'::timestamp) - extract(epoch from '2026-07-06 09:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367746 -2.773516)'), GeomFromEWKT('SRID=4674;POINT (-40.367784 -2.773627)'))) / (select extract(epoch from '2026-07-06 09:59:26'::timestamp) - extract(epoch from '2026-07-06 09:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367812 -2.773747)', '2026-07-06 09:59:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367784 -2.773627)'), GeomFromEWKT('SRID=4674;POINT (-40.367812 -2.773747)'))) / (select extract(epoch from '2026-07-06 09:59:31'::timestamp) - extract(epoch from '2026-07-06 09:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367784 -2.773627)'), GeomFromEWKT('SRID=4674;POINT (-40.367812 -2.773747)'))) / (select extract(epoch from '2026-07-06 09:59:31'::timestamp) - extract(epoch from '2026-07-06 09:59: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'), 47828, 'SRID=4674;POINT (-40.367835 -2.773892)', '2026-07-06 09:59:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367812 -2.773747)'), GeomFromEWKT('SRID=4674;POINT (-40.367835 -2.773892)'))) / (select extract(epoch from '2026-07-06 09:59:37'::timestamp) - extract(epoch from '2026-07-06 09:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367812 -2.773747)'), GeomFromEWKT('SRID=4674;POINT (-40.367835 -2.773892)'))) / (select extract(epoch from '2026-07-06 09:59:37'::timestamp) - extract(epoch from '2026-07-06 09: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'), 47828, 'SRID=4674;POINT (-40.367855 -2.774)', '2026-07-06 09:59:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367835 -2.773892)'), GeomFromEWKT('SRID=4674;POINT (-40.367855 -2.774)'))) / (select extract(epoch from '2026-07-06 09:59:42'::timestamp) - extract(epoch from '2026-07-06 09:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367835 -2.773892)'), GeomFromEWKT('SRID=4674;POINT (-40.367855 -2.774)'))) / (select extract(epoch from '2026-07-06 09:59:42'::timestamp) - extract(epoch from '2026-07-06 09:59: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'), 47828, 'SRID=4674;POINT (-40.367893 -2.774204)', '2026-07-06 09:59:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367855 -2.774)'), GeomFromEWKT('SRID=4674;POINT (-40.367893 -2.774204)'))) / (select extract(epoch from '2026-07-06 09:59:50'::timestamp) - extract(epoch from '2026-07-06 09:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367855 -2.774)'), GeomFromEWKT('SRID=4674;POINT (-40.367893 -2.774204)'))) / (select extract(epoch from '2026-07-06 09:59:50'::timestamp) - extract(epoch from '2026-07-06 09:59: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'), 47828, 'SRID=4674;POINT (-40.367911 -2.774339)', '2026-07-06 09:59:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367893 -2.774204)'), GeomFromEWKT('SRID=4674;POINT (-40.367911 -2.774339)'))) / (select extract(epoch from '2026-07-06 09:59:56'::timestamp) - extract(epoch from '2026-07-06 09:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367893 -2.774204)'), GeomFromEWKT('SRID=4674;POINT (-40.367911 -2.774339)'))) / (select extract(epoch from '2026-07-06 09:59:56'::timestamp) - extract(epoch from '2026-07-06 09:59: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'), 47828, 'SRID=4674;POINT (-40.367917 -2.774509)', '2026-07-06 10:00:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367911 -2.774339)'), GeomFromEWKT('SRID=4674;POINT (-40.367917 -2.774509)'))) / (select extract(epoch from '2026-07-06 10:00:03'::timestamp) - extract(epoch from '2026-07-06 09:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367911 -2.774339)'), GeomFromEWKT('SRID=4674;POINT (-40.367917 -2.774509)'))) / (select extract(epoch from '2026-07-06 10:00:03'::timestamp) - extract(epoch from '2026-07-06 09:59: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'), 47828, 'SRID=4674;POINT (-40.367933 -2.774632)', '2026-07-06 10:00:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367917 -2.774509)'), GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.774632)'))) / (select extract(epoch from '2026-07-06 10:00:08'::timestamp) - extract(epoch from '2026-07-06 10:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367917 -2.774509)'), GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.774632)'))) / (select extract(epoch from '2026-07-06 10:00:08'::timestamp) - extract(epoch from '2026-07-06 10:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.367973 -2.774791)', '2026-07-06 10:00:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.774632)'), GeomFromEWKT('SRID=4674;POINT (-40.367973 -2.774791)'))) / (select extract(epoch from '2026-07-06 10:00:15'::timestamp) - extract(epoch from '2026-07-06 10:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367933 -2.774632)'), GeomFromEWKT('SRID=4674;POINT (-40.367973 -2.774791)'))) / (select extract(epoch from '2026-07-06 10:00:15'::timestamp) - extract(epoch from '2026-07-06 10:00:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368008 -2.774942)', '2026-07-06 10:00:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367973 -2.774791)'), GeomFromEWKT('SRID=4674;POINT (-40.368008 -2.774942)'))) / (select extract(epoch from '2026-07-06 10:00:21'::timestamp) - extract(epoch from '2026-07-06 10:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367973 -2.774791)'), GeomFromEWKT('SRID=4674;POINT (-40.368008 -2.774942)'))) / (select extract(epoch from '2026-07-06 10:00:21'::timestamp) - extract(epoch from '2026-07-06 10:00: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'), 47828, 'SRID=4674;POINT (-40.368026 -2.775083)', '2026-07-06 10:00:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368008 -2.774942)'), GeomFromEWKT('SRID=4674;POINT (-40.368026 -2.775083)'))) / (select extract(epoch from '2026-07-06 10:00:27'::timestamp) - extract(epoch from '2026-07-06 10:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368008 -2.774942)'), GeomFromEWKT('SRID=4674;POINT (-40.368026 -2.775083)'))) / (select extract(epoch from '2026-07-06 10:00:27'::timestamp) - extract(epoch from '2026-07-06 10:00: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'), 47828, 'SRID=4674;POINT (-40.36806 -2.775219)', '2026-07-06 10:00:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368026 -2.775083)'), GeomFromEWKT('SRID=4674;POINT (-40.36806 -2.775219)'))) / (select extract(epoch from '2026-07-06 10:00:33'::timestamp) - extract(epoch from '2026-07-06 10:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368026 -2.775083)'), GeomFromEWKT('SRID=4674;POINT (-40.36806 -2.775219)'))) / (select extract(epoch from '2026-07-06 10:00:33'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.368118 -2.775391)', '2026-07-06 10:00:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36806 -2.775219)'), GeomFromEWKT('SRID=4674;POINT (-40.368118 -2.775391)'))) / (select extract(epoch from '2026-07-06 10:00:40'::timestamp) - extract(epoch from '2026-07-06 10:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36806 -2.775219)'), GeomFromEWKT('SRID=4674;POINT (-40.368118 -2.775391)'))) / (select extract(epoch from '2026-07-06 10:00:40'::timestamp) - extract(epoch from '2026-07-06 10:00: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'), 47828, 'SRID=4674;POINT (-40.368159 -2.775527)', '2026-07-06 10:00:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368118 -2.775391)'), GeomFromEWKT('SRID=4674;POINT (-40.368159 -2.775527)'))) / (select extract(epoch from '2026-07-06 10:00:46'::timestamp) - extract(epoch from '2026-07-06 10:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368118 -2.775391)'), GeomFromEWKT('SRID=4674;POINT (-40.368159 -2.775527)'))) / (select extract(epoch from '2026-07-06 10:00:46'::timestamp) - extract(epoch from '2026-07-06 10:00: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'), 47828, 'SRID=4674;POINT (-40.368185 -2.775669)', '2026-07-06 10:00:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368159 -2.775527)'), GeomFromEWKT('SRID=4674;POINT (-40.368185 -2.775669)'))) / (select extract(epoch from '2026-07-06 10:00:52'::timestamp) - extract(epoch from '2026-07-06 10:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368159 -2.775527)'), GeomFromEWKT('SRID=4674;POINT (-40.368185 -2.775669)'))) / (select extract(epoch from '2026-07-06 10:00:52'::timestamp) - extract(epoch from '2026-07-06 10:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.3682 -2.775864)', '2026-07-06 10:01:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368185 -2.775669)'), GeomFromEWKT('SRID=4674;POINT (-40.3682 -2.775864)'))) / (select extract(epoch from '2026-07-06 10:01:00'::timestamp) - extract(epoch from '2026-07-06 10:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368185 -2.775669)'), GeomFromEWKT('SRID=4674;POINT (-40.3682 -2.775864)'))) / (select extract(epoch from '2026-07-06 10:01:00'::timestamp) - extract(epoch from '2026-07-06 10:00:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368202 -2.77596)', '2026-07-06 10:01:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3682 -2.775864)'), GeomFromEWKT('SRID=4674;POINT (-40.368202 -2.77596)'))) / (select extract(epoch from '2026-07-06 10:01:04'::timestamp) - extract(epoch from '2026-07-06 10:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3682 -2.775864)'), GeomFromEWKT('SRID=4674;POINT (-40.368202 -2.77596)'))) / (select extract(epoch from '2026-07-06 10:01:04'::timestamp) - extract(epoch from '2026-07-06 10:01: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'), 47828, 'SRID=4674;POINT (-40.36819 -2.776125)', '2026-07-06 10:01:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368202 -2.77596)'), GeomFromEWKT('SRID=4674;POINT (-40.36819 -2.776125)'))) / (select extract(epoch from '2026-07-06 10:01:11'::timestamp) - extract(epoch from '2026-07-06 10:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368202 -2.77596)'), GeomFromEWKT('SRID=4674;POINT (-40.36819 -2.776125)'))) / (select extract(epoch from '2026-07-06 10:01:11'::timestamp) - extract(epoch from '2026-07-06 10:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368182 -2.776239)', '2026-07-06 10:01:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36819 -2.776125)'), GeomFromEWKT('SRID=4674;POINT (-40.368182 -2.776239)'))) / (select extract(epoch from '2026-07-06 10:01:16'::timestamp) - extract(epoch from '2026-07-06 10:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36819 -2.776125)'), GeomFromEWKT('SRID=4674;POINT (-40.368182 -2.776239)'))) / (select extract(epoch from '2026-07-06 10:01:16'::timestamp) - extract(epoch from '2026-07-06 10:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368204 -2.776402)', '2026-07-06 10:01:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368182 -2.776239)'), GeomFromEWKT('SRID=4674;POINT (-40.368204 -2.776402)'))) / (select extract(epoch from '2026-07-06 10:01:23'::timestamp) - extract(epoch from '2026-07-06 10:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368182 -2.776239)'), GeomFromEWKT('SRID=4674;POINT (-40.368204 -2.776402)'))) / (select extract(epoch from '2026-07-06 10:01:23'::timestamp) - extract(epoch from '2026-07-06 10:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368279 -2.776586)', '2026-07-06 10:01:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368204 -2.776402)'), GeomFromEWKT('SRID=4674;POINT (-40.368279 -2.776586)'))) / (select extract(epoch from '2026-07-06 10:01:31'::timestamp) - extract(epoch from '2026-07-06 10:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368204 -2.776402)'), GeomFromEWKT('SRID=4674;POINT (-40.368279 -2.776586)'))) / (select extract(epoch from '2026-07-06 10:01:31'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.368335 -2.776722)', '2026-07-06 10:01:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368279 -2.776586)'), GeomFromEWKT('SRID=4674;POINT (-40.368335 -2.776722)'))) / (select extract(epoch from '2026-07-06 10:01:37'::timestamp) - extract(epoch from '2026-07-06 10:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368279 -2.776586)'), GeomFromEWKT('SRID=4674;POINT (-40.368335 -2.776722)'))) / (select extract(epoch from '2026-07-06 10:01:37'::timestamp) - extract(epoch from '2026-07-06 10:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368412 -2.776881)', '2026-07-06 10:01:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368335 -2.776722)'), GeomFromEWKT('SRID=4674;POINT (-40.368412 -2.776881)'))) / (select extract(epoch from '2026-07-06 10:01:44'::timestamp) - extract(epoch from '2026-07-06 10:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368335 -2.776722)'), GeomFromEWKT('SRID=4674;POINT (-40.368412 -2.776881)'))) / (select extract(epoch from '2026-07-06 10:01:44'::timestamp) - extract(epoch from '2026-07-06 10:01: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'), 47828, 'SRID=4674;POINT (-40.368487 -2.777011)', '2026-07-06 10:01:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368412 -2.776881)'), GeomFromEWKT('SRID=4674;POINT (-40.368487 -2.777011)'))) / (select extract(epoch from '2026-07-06 10:01:50'::timestamp) - extract(epoch from '2026-07-06 10:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368412 -2.776881)'), GeomFromEWKT('SRID=4674;POINT (-40.368487 -2.777011)'))) / (select extract(epoch from '2026-07-06 10:01:50'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.368561 -2.777137)', '2026-07-06 10:01:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368487 -2.777011)'), GeomFromEWKT('SRID=4674;POINT (-40.368561 -2.777137)'))) / (select extract(epoch from '2026-07-06 10:01:57'::timestamp) - extract(epoch from '2026-07-06 10:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368487 -2.777011)'), GeomFromEWKT('SRID=4674;POINT (-40.368561 -2.777137)'))) / (select extract(epoch from '2026-07-06 10:01:57'::timestamp) - extract(epoch from '2026-07-06 10:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368626 -2.777243)', '2026-07-06 10:02:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368561 -2.777137)'), GeomFromEWKT('SRID=4674;POINT (-40.368626 -2.777243)'))) / (select extract(epoch from '2026-07-06 10:02:04'::timestamp) - extract(epoch from '2026-07-06 10:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368561 -2.777137)'), GeomFromEWKT('SRID=4674;POINT (-40.368626 -2.777243)'))) / (select extract(epoch from '2026-07-06 10:02:04'::timestamp) - extract(epoch from '2026-07-06 10:01:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368641 -2.77727)', '2026-07-06 10:02:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368626 -2.777243)'), GeomFromEWKT('SRID=4674;POINT (-40.368641 -2.77727)'))) / (select extract(epoch from '2026-07-06 10:02:06'::timestamp) - extract(epoch from '2026-07-06 10:02:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368626 -2.777243)'), GeomFromEWKT('SRID=4674;POINT (-40.368641 -2.77727)'))) / (select extract(epoch from '2026-07-06 10:02:06'::timestamp) - extract(epoch from '2026-07-06 10:02:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368655 -2.777295)', '2026-07-06 10:02:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368641 -2.77727)'), GeomFromEWKT('SRID=4674;POINT (-40.368655 -2.777295)'))) / (select extract(epoch from '2026-07-06 10:02:08'::timestamp) - extract(epoch from '2026-07-06 10:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368641 -2.77727)'), GeomFromEWKT('SRID=4674;POINT (-40.368655 -2.777295)'))) / (select extract(epoch from '2026-07-06 10:02:08'::timestamp) - extract(epoch from '2026-07-06 10:02: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'), 47828, 'SRID=4674;POINT (-40.368666 -2.777377)', '2026-07-06 10:02:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368655 -2.777295)'), GeomFromEWKT('SRID=4674;POINT (-40.368666 -2.777377)'))) / (select extract(epoch from '2026-07-06 10:02:16'::timestamp) - extract(epoch from '2026-07-06 10:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368655 -2.777295)'), GeomFromEWKT('SRID=4674;POINT (-40.368666 -2.777377)'))) / (select extract(epoch from '2026-07-06 10:02:16'::timestamp) - extract(epoch from '2026-07-06 10:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368656 -2.777424)', '2026-07-06 10:02:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368666 -2.777377)'), GeomFromEWKT('SRID=4674;POINT (-40.368656 -2.777424)'))) / (select extract(epoch from '2026-07-06 10:02:23'::timestamp) - extract(epoch from '2026-07-06 10:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368666 -2.777377)'), GeomFromEWKT('SRID=4674;POINT (-40.368656 -2.777424)'))) / (select extract(epoch from '2026-07-06 10:02:23'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.368628 -2.777463)', '2026-07-06 10:02:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368656 -2.777424)'), GeomFromEWKT('SRID=4674;POINT (-40.368628 -2.777463)'))) / (select extract(epoch from '2026-07-06 10:02:31'::timestamp) - extract(epoch from '2026-07-06 10:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368656 -2.777424)'), GeomFromEWKT('SRID=4674;POINT (-40.368628 -2.777463)'))) / (select extract(epoch from '2026-07-06 10:02:31'::timestamp) - extract(epoch from '2026-07-06 10:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368616 -2.777478)', '2026-07-06 10:02:39', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368628 -2.777463)'), GeomFromEWKT('SRID=4674;POINT (-40.368616 -2.777478)'))) / (select extract(epoch from '2026-07-06 10:02:39'::timestamp) - extract(epoch from '2026-07-06 10:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368628 -2.777463)'), GeomFromEWKT('SRID=4674;POINT (-40.368616 -2.777478)'))) / (select extract(epoch from '2026-07-06 10:02:39'::timestamp) - extract(epoch from '2026-07-06 10:02:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368659 -2.777524)', '2026-07-06 10:02:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368616 -2.777478)'), GeomFromEWKT('SRID=4674;POINT (-40.368659 -2.777524)'))) / (select extract(epoch from '2026-07-06 10:02:58'::timestamp) - extract(epoch from '2026-07-06 10:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368616 -2.777478)'), GeomFromEWKT('SRID=4674;POINT (-40.368659 -2.777524)'))) / (select extract(epoch from '2026-07-06 10:02:58'::timestamp) - extract(epoch from '2026-07-06 10:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368668 -2.777526)', '2026-07-06 10:03:08', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368659 -2.777524)'), GeomFromEWKT('SRID=4674;POINT (-40.368668 -2.777526)'))) / (select extract(epoch from '2026-07-06 10:03:08'::timestamp) - extract(epoch from '2026-07-06 10:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368659 -2.777524)'), GeomFromEWKT('SRID=4674;POINT (-40.368668 -2.777526)'))) / (select extract(epoch from '2026-07-06 10:03:08'::timestamp) - extract(epoch from '2026-07-06 10:02: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'), 47828, 'SRID=4674;POINT (-40.368715 -2.777543)', '2026-07-06 10:03:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368668 -2.777526)'), GeomFromEWKT('SRID=4674;POINT (-40.368715 -2.777543)'))) / (select extract(epoch from '2026-07-06 10:03:14'::timestamp) - extract(epoch from '2026-07-06 10:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368668 -2.777526)'), GeomFromEWKT('SRID=4674;POINT (-40.368715 -2.777543)'))) / (select extract(epoch from '2026-07-06 10:03:14'::timestamp) - extract(epoch from '2026-07-06 10:03:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368744 -2.777544)', '2026-07-06 10:03:25', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368715 -2.777543)'), GeomFromEWKT('SRID=4674;POINT (-40.368744 -2.777544)'))) / (select extract(epoch from '2026-07-06 10:03:25'::timestamp) - extract(epoch from '2026-07-06 10:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368715 -2.777543)'), GeomFromEWKT('SRID=4674;POINT (-40.368744 -2.777544)'))) / (select extract(epoch from '2026-07-06 10:03:25'::timestamp) - extract(epoch from '2026-07-06 10:03:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368776 -2.777555)', '2026-07-06 10:03:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368744 -2.777544)'), GeomFromEWKT('SRID=4674;POINT (-40.368776 -2.777555)'))) / (select extract(epoch from '2026-07-06 10:03:32'::timestamp) - extract(epoch from '2026-07-06 10:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368744 -2.777544)'), GeomFromEWKT('SRID=4674;POINT (-40.368776 -2.777555)'))) / (select extract(epoch from '2026-07-06 10:03:32'::timestamp) - extract(epoch from '2026-07-06 10:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368816 -2.777604)', '2026-07-06 10:03:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368776 -2.777555)'), GeomFromEWKT('SRID=4674;POINT (-40.368816 -2.777604)'))) / (select extract(epoch from '2026-07-06 10:03:42'::timestamp) - extract(epoch from '2026-07-06 10:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368776 -2.777555)'), GeomFromEWKT('SRID=4674;POINT (-40.368816 -2.777604)'))) / (select extract(epoch from '2026-07-06 10:03:42'::timestamp) - extract(epoch from '2026-07-06 10:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.36883 -2.777659)', '2026-07-06 10:03:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368816 -2.777604)'), GeomFromEWKT('SRID=4674;POINT (-40.36883 -2.777659)'))) / (select extract(epoch from '2026-07-06 10:03:50'::timestamp) - extract(epoch from '2026-07-06 10:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368816 -2.777604)'), GeomFromEWKT('SRID=4674;POINT (-40.36883 -2.777659)'))) / (select extract(epoch from '2026-07-06 10:03:50'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.368818 -2.777741)', '2026-07-06 10:04:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36883 -2.777659)'), GeomFromEWKT('SRID=4674;POINT (-40.368818 -2.777741)'))) / (select extract(epoch from '2026-07-06 10:04:01'::timestamp) - extract(epoch from '2026-07-06 10:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36883 -2.777659)'), GeomFromEWKT('SRID=4674;POINT (-40.368818 -2.777741)'))) / (select extract(epoch from '2026-07-06 10:04:01'::timestamp) - extract(epoch from '2026-07-06 10:03: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'), 47828, 'SRID=4674;POINT (-40.368799 -2.777773)', '2026-07-06 10:04:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368818 -2.777741)'), GeomFromEWKT('SRID=4674;POINT (-40.368799 -2.777773)'))) / (select extract(epoch from '2026-07-06 10:04:07'::timestamp) - extract(epoch from '2026-07-06 10:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368818 -2.777741)'), GeomFromEWKT('SRID=4674;POINT (-40.368799 -2.777773)'))) / (select extract(epoch from '2026-07-06 10:04:07'::timestamp) - extract(epoch from '2026-07-06 10:04:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368793 -2.777788)', '2026-07-06 10:04:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368799 -2.777773)'), GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.777788)'))) / (select extract(epoch from '2026-07-06 10:04:09'::timestamp) - extract(epoch from '2026-07-06 10:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368799 -2.777773)'), GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.777788)'))) / (select extract(epoch from '2026-07-06 10:04:09'::timestamp) - extract(epoch from '2026-07-06 10:04: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'), 47828, 'SRID=4674;POINT (-40.36876 -2.777827)', '2026-07-06 10:04:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.777788)'), GeomFromEWKT('SRID=4674;POINT (-40.36876 -2.777827)'))) / (select extract(epoch from '2026-07-06 10:04:18'::timestamp) - extract(epoch from '2026-07-06 10:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.777788)'), GeomFromEWKT('SRID=4674;POINT (-40.36876 -2.777827)'))) / (select extract(epoch from '2026-07-06 10:04:18'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.368741 -2.777874)', '2026-07-06 10:04:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36876 -2.777827)'), GeomFromEWKT('SRID=4674;POINT (-40.368741 -2.777874)'))) / (select extract(epoch from '2026-07-06 10:04:26'::timestamp) - extract(epoch from '2026-07-06 10:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36876 -2.777827)'), GeomFromEWKT('SRID=4674;POINT (-40.368741 -2.777874)'))) / (select extract(epoch from '2026-07-06 10:04:26'::timestamp) - extract(epoch from '2026-07-06 10:04:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368742 -2.777891)', '2026-07-06 10:04:28', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368741 -2.777874)'), GeomFromEWKT('SRID=4674;POINT (-40.368742 -2.777891)'))) / (select extract(epoch from '2026-07-06 10:04:28'::timestamp) - extract(epoch from '2026-07-06 10:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368741 -2.777874)'), GeomFromEWKT('SRID=4674;POINT (-40.368742 -2.777891)'))) / (select extract(epoch from '2026-07-06 10:04:28'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.368742 -2.777911)', '2026-07-06 10:04:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368742 -2.777891)'), GeomFromEWKT('SRID=4674;POINT (-40.368742 -2.777911)'))) / (select extract(epoch from '2026-07-06 10:04:30'::timestamp) - extract(epoch from '2026-07-06 10:04:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368742 -2.777891)'), GeomFromEWKT('SRID=4674;POINT (-40.368742 -2.777911)'))) / (select extract(epoch from '2026-07-06 10:04:30'::timestamp) - extract(epoch from '2026-07-06 10:04: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'), 47828, 'SRID=4674;POINT (-40.368743 -2.77792)', '2026-07-06 10:04:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368742 -2.777911)'), GeomFromEWKT('SRID=4674;POINT (-40.368743 -2.77792)'))) / (select extract(epoch from '2026-07-06 10:04:31'::timestamp) - extract(epoch from '2026-07-06 10:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368742 -2.777911)'), GeomFromEWKT('SRID=4674;POINT (-40.368743 -2.77792)'))) / (select extract(epoch from '2026-07-06 10:04:31'::timestamp) - extract(epoch from '2026-07-06 10:04: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'), 47828, 'SRID=4674;POINT (-40.368748 -2.777974)', '2026-07-06 10:04:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368743 -2.77792)'), GeomFromEWKT('SRID=4674;POINT (-40.368748 -2.777974)'))) / (select extract(epoch from '2026-07-06 10:04:37'::timestamp) - extract(epoch from '2026-07-06 10:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368743 -2.77792)'), GeomFromEWKT('SRID=4674;POINT (-40.368748 -2.777974)'))) / (select extract(epoch from '2026-07-06 10:04:37'::timestamp) - extract(epoch from '2026-07-06 10:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368749 -2.778008)', '2026-07-06 10:04:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368748 -2.777974)'), GeomFromEWKT('SRID=4674;POINT (-40.368749 -2.778008)'))) / (select extract(epoch from '2026-07-06 10:04:41'::timestamp) - extract(epoch from '2026-07-06 10:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368748 -2.777974)'), GeomFromEWKT('SRID=4674;POINT (-40.368749 -2.778008)'))) / (select extract(epoch from '2026-07-06 10:04:41'::timestamp) - extract(epoch from '2026-07-06 10:04: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'), 47828, 'SRID=4674;POINT (-40.368751 -2.778044)', '2026-07-06 10:04:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368749 -2.778008)'), GeomFromEWKT('SRID=4674;POINT (-40.368751 -2.778044)'))) / (select extract(epoch from '2026-07-06 10:04:45'::timestamp) - extract(epoch from '2026-07-06 10:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368749 -2.778008)'), GeomFromEWKT('SRID=4674;POINT (-40.368751 -2.778044)'))) / (select extract(epoch from '2026-07-06 10:04:45'::timestamp) - extract(epoch from '2026-07-06 10:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368737 -2.778102)', '2026-07-06 10:04:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368751 -2.778044)'), GeomFromEWKT('SRID=4674;POINT (-40.368737 -2.778102)'))) / (select extract(epoch from '2026-07-06 10:04:54'::timestamp) - extract(epoch from '2026-07-06 10:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368751 -2.778044)'), GeomFromEWKT('SRID=4674;POINT (-40.368737 -2.778102)'))) / (select extract(epoch from '2026-07-06 10:04:54'::timestamp) - extract(epoch from '2026-07-06 10:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368743 -2.77814)', '2026-07-06 10:04:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368737 -2.778102)'), GeomFromEWKT('SRID=4674;POINT (-40.368743 -2.77814)'))) / (select extract(epoch from '2026-07-06 10:04:59'::timestamp) - extract(epoch from '2026-07-06 10:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368737 -2.778102)'), GeomFromEWKT('SRID=4674;POINT (-40.368743 -2.77814)'))) / (select extract(epoch from '2026-07-06 10:04:59'::timestamp) - extract(epoch from '2026-07-06 10:04: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'), 47828, 'SRID=4674;POINT (-40.368746 -2.778156)', '2026-07-06 10:05:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368743 -2.77814)'), GeomFromEWKT('SRID=4674;POINT (-40.368746 -2.778156)'))) / (select extract(epoch from '2026-07-06 10:05:01'::timestamp) - extract(epoch from '2026-07-06 10:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368743 -2.77814)'), GeomFromEWKT('SRID=4674;POINT (-40.368746 -2.778156)'))) / (select extract(epoch from '2026-07-06 10:05:01'::timestamp) - extract(epoch from '2026-07-06 10:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368749 -2.778184)', '2026-07-06 10:05:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368746 -2.778156)'), GeomFromEWKT('SRID=4674;POINT (-40.368749 -2.778184)'))) / (select extract(epoch from '2026-07-06 10:05:04'::timestamp) - extract(epoch from '2026-07-06 10:05:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368746 -2.778156)'), GeomFromEWKT('SRID=4674;POINT (-40.368749 -2.778184)'))) / (select extract(epoch from '2026-07-06 10:05:04'::timestamp) - extract(epoch from '2026-07-06 10:05:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368755 -2.778215)', '2026-07-06 10:05:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368749 -2.778184)'), GeomFromEWKT('SRID=4674;POINT (-40.368755 -2.778215)'))) / (select extract(epoch from '2026-07-06 10:05:07'::timestamp) - extract(epoch from '2026-07-06 10:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368749 -2.778184)'), GeomFromEWKT('SRID=4674;POINT (-40.368755 -2.778215)'))) / (select extract(epoch from '2026-07-06 10:05:07'::timestamp) - extract(epoch from '2026-07-06 10:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368767 -2.778259)', '2026-07-06 10:05:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368755 -2.778215)'), GeomFromEWKT('SRID=4674;POINT (-40.368767 -2.778259)'))) / (select extract(epoch from '2026-07-06 10:05:12'::timestamp) - extract(epoch from '2026-07-06 10:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368755 -2.778215)'), GeomFromEWKT('SRID=4674;POINT (-40.368767 -2.778259)'))) / (select extract(epoch from '2026-07-06 10:05:12'::timestamp) - extract(epoch from '2026-07-06 10:05: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'), 47828, 'SRID=4674;POINT (-40.368782 -2.778318)', '2026-07-06 10:05:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368767 -2.778259)'), GeomFromEWKT('SRID=4674;POINT (-40.368782 -2.778318)'))) / (select extract(epoch from '2026-07-06 10:05:18'::timestamp) - extract(epoch from '2026-07-06 10:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368767 -2.778259)'), GeomFromEWKT('SRID=4674;POINT (-40.368782 -2.778318)'))) / (select extract(epoch from '2026-07-06 10:05:18'::timestamp) - extract(epoch from '2026-07-06 10:05: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'), 47828, 'SRID=4674;POINT (-40.36879 -2.778398)', '2026-07-06 10:05:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368782 -2.778318)'), GeomFromEWKT('SRID=4674;POINT (-40.36879 -2.778398)'))) / (select extract(epoch from '2026-07-06 10:05:26'::timestamp) - extract(epoch from '2026-07-06 10:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368782 -2.778318)'), GeomFromEWKT('SRID=4674;POINT (-40.36879 -2.778398)'))) / (select extract(epoch from '2026-07-06 10:05:26'::timestamp) - extract(epoch from '2026-07-06 10:05: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'), 47828, 'SRID=4674;POINT (-40.36879 -2.778458)', '2026-07-06 10:05:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36879 -2.778398)'), GeomFromEWKT('SRID=4674;POINT (-40.36879 -2.778458)'))) / (select extract(epoch from '2026-07-06 10:05:32'::timestamp) - extract(epoch from '2026-07-06 10:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36879 -2.778398)'), GeomFromEWKT('SRID=4674;POINT (-40.36879 -2.778458)'))) / (select extract(epoch from '2026-07-06 10:05:32'::timestamp) - extract(epoch from '2026-07-06 10:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368791 -2.778469)', '2026-07-06 10:05:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36879 -2.778458)'), GeomFromEWKT('SRID=4674;POINT (-40.368791 -2.778469)'))) / (select extract(epoch from '2026-07-06 10:05:33'::timestamp) - extract(epoch from '2026-07-06 10:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36879 -2.778458)'), GeomFromEWKT('SRID=4674;POINT (-40.368791 -2.778469)'))) / (select extract(epoch from '2026-07-06 10:05:33'::timestamp) - extract(epoch from '2026-07-06 10:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368793 -2.778481)', '2026-07-06 10:05:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368791 -2.778469)'), GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.778481)'))) / (select extract(epoch from '2026-07-06 10:05:34'::timestamp) - extract(epoch from '2026-07-06 10:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368791 -2.778469)'), GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.778481)'))) / (select extract(epoch from '2026-07-06 10:05:34'::timestamp) - extract(epoch from '2026-07-06 10:05: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'), 47828, 'SRID=4674;POINT (-40.368796 -2.7785)', '2026-07-06 10:05:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.778481)'), GeomFromEWKT('SRID=4674;POINT (-40.368796 -2.7785)'))) / (select extract(epoch from '2026-07-06 10:05:36'::timestamp) - extract(epoch from '2026-07-06 10:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368793 -2.778481)'), GeomFromEWKT('SRID=4674;POINT (-40.368796 -2.7785)'))) / (select extract(epoch from '2026-07-06 10:05:36'::timestamp) - extract(epoch from '2026-07-06 10:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368802 -2.778509)', '2026-07-06 10:05:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368796 -2.7785)'), GeomFromEWKT('SRID=4674;POINT (-40.368802 -2.778509)'))) / (select extract(epoch from '2026-07-06 10:05:37'::timestamp) - extract(epoch from '2026-07-06 10:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368796 -2.7785)'), GeomFromEWKT('SRID=4674;POINT (-40.368802 -2.778509)'))) / (select extract(epoch from '2026-07-06 10:05:37'::timestamp) - extract(epoch from '2026-07-06 10:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368812 -2.778537)', '2026-07-06 10:05:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368802 -2.778509)'), GeomFromEWKT('SRID=4674;POINT (-40.368812 -2.778537)'))) / (select extract(epoch from '2026-07-06 10:05:40'::timestamp) - extract(epoch from '2026-07-06 10:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368802 -2.778509)'), GeomFromEWKT('SRID=4674;POINT (-40.368812 -2.778537)'))) / (select extract(epoch from '2026-07-06 10:05:40'::timestamp) - extract(epoch from '2026-07-06 10:05: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'), 47828, 'SRID=4674;POINT (-40.368835 -2.778573)', '2026-07-06 10:05:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368812 -2.778537)'), GeomFromEWKT('SRID=4674;POINT (-40.368835 -2.778573)'))) / (select extract(epoch from '2026-07-06 10:05:44'::timestamp) - extract(epoch from '2026-07-06 10:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368812 -2.778537)'), GeomFromEWKT('SRID=4674;POINT (-40.368835 -2.778573)'))) / (select extract(epoch from '2026-07-06 10:05:44'::timestamp) - extract(epoch from '2026-07-06 10:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.368892 -2.778637)', '2026-07-06 10:05:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368835 -2.778573)'), GeomFromEWKT('SRID=4674;POINT (-40.368892 -2.778637)'))) / (select extract(epoch from '2026-07-06 10:05:51'::timestamp) - extract(epoch from '2026-07-06 10:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368835 -2.778573)'), GeomFromEWKT('SRID=4674;POINT (-40.368892 -2.778637)'))) / (select extract(epoch from '2026-07-06 10:05:51'::timestamp) - extract(epoch from '2026-07-06 10:05: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'), 47828, 'SRID=4674;POINT (-40.368905 -2.778653)', '2026-07-06 10:05:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368892 -2.778637)'), GeomFromEWKT('SRID=4674;POINT (-40.368905 -2.778653)'))) / (select extract(epoch from '2026-07-06 10:05:53'::timestamp) - extract(epoch from '2026-07-06 10:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368892 -2.778637)'), GeomFromEWKT('SRID=4674;POINT (-40.368905 -2.778653)'))) / (select extract(epoch from '2026-07-06 10:05:53'::timestamp) - extract(epoch from '2026-07-06 10:05: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'), 47828, 'SRID=4674;POINT (-40.368926 -2.778676)', '2026-07-06 10:05:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368905 -2.778653)'), GeomFromEWKT('SRID=4674;POINT (-40.368926 -2.778676)'))) / (select extract(epoch from '2026-07-06 10:05:56'::timestamp) - extract(epoch from '2026-07-06 10:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368905 -2.778653)'), GeomFromEWKT('SRID=4674;POINT (-40.368926 -2.778676)'))) / (select extract(epoch from '2026-07-06 10:05:56'::timestamp) - extract(epoch from '2026-07-06 10:05: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'), 47828, 'SRID=4674;POINT (-40.368969 -2.778731)', '2026-07-06 10:06:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368926 -2.778676)'), GeomFromEWKT('SRID=4674;POINT (-40.368969 -2.778731)'))) / (select extract(epoch from '2026-07-06 10:06:02'::timestamp) - extract(epoch from '2026-07-06 10:05:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368926 -2.778676)'), GeomFromEWKT('SRID=4674;POINT (-40.368969 -2.778731)'))) / (select extract(epoch from '2026-07-06 10:06:02'::timestamp) - extract(epoch from '2026-07-06 10:05:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.369042 -2.778777)', '2026-07-06 10:06:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368969 -2.778731)'), GeomFromEWKT('SRID=4674;POINT (-40.369042 -2.778777)'))) / (select extract(epoch from '2026-07-06 10:06:09'::timestamp) - extract(epoch from '2026-07-06 10:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368969 -2.778731)'), GeomFromEWKT('SRID=4674;POINT (-40.369042 -2.778777)'))) / (select extract(epoch from '2026-07-06 10:06:09'::timestamp) - extract(epoch from '2026-07-06 10:06: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'), 47828, 'SRID=4674;POINT (-40.369132 -2.778848)', '2026-07-06 10:06:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369042 -2.778777)'), GeomFromEWKT('SRID=4674;POINT (-40.369132 -2.778848)'))) / (select extract(epoch from '2026-07-06 10:06:17'::timestamp) - extract(epoch from '2026-07-06 10:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369042 -2.778777)'), GeomFromEWKT('SRID=4674;POINT (-40.369132 -2.778848)'))) / (select extract(epoch from '2026-07-06 10:06:17'::timestamp) - extract(epoch from '2026-07-06 10:06: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'), 47828, 'SRID=4674;POINT (-40.369238 -2.778872)', '2026-07-06 10:06:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369132 -2.778848)'), GeomFromEWKT('SRID=4674;POINT (-40.369238 -2.778872)'))) / (select extract(epoch from '2026-07-06 10:06:24'::timestamp) - extract(epoch from '2026-07-06 10:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369132 -2.778848)'), GeomFromEWKT('SRID=4674;POINT (-40.369238 -2.778872)'))) / (select extract(epoch from '2026-07-06 10:06:24'::timestamp) - extract(epoch from '2026-07-06 10:06:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.369329 -2.778913)', '2026-07-06 10:06:31', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369238 -2.778872)'), GeomFromEWKT('SRID=4674;POINT (-40.369329 -2.778913)'))) / (select extract(epoch from '2026-07-06 10:06:31'::timestamp) - extract(epoch from '2026-07-06 10:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369238 -2.778872)'), GeomFromEWKT('SRID=4674;POINT (-40.369329 -2.778913)'))) / (select extract(epoch from '2026-07-06 10:06:31'::timestamp) - extract(epoch from '2026-07-06 10:06:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.369427 -2.778948)', '2026-07-06 10:06:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369329 -2.778913)'), GeomFromEWKT('SRID=4674;POINT (-40.369427 -2.778948)'))) / (select extract(epoch from '2026-07-06 10:06:38'::timestamp) - extract(epoch from '2026-07-06 10:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369329 -2.778913)'), GeomFromEWKT('SRID=4674;POINT (-40.369427 -2.778948)'))) / (select extract(epoch from '2026-07-06 10:06:38'::timestamp) - extract(epoch from '2026-07-06 10:06: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'), 47828, 'SRID=4674;POINT (-40.369517 -2.778979)', '2026-07-06 10:06:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369427 -2.778948)'), GeomFromEWKT('SRID=4674;POINT (-40.369517 -2.778979)'))) / (select extract(epoch from '2026-07-06 10:06:45'::timestamp) - extract(epoch from '2026-07-06 10:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369427 -2.778948)'), GeomFromEWKT('SRID=4674;POINT (-40.369517 -2.778979)'))) / (select extract(epoch from '2026-07-06 10:06:45'::timestamp) - extract(epoch from '2026-07-06 10:06: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'), 47828, 'SRID=4674;POINT (-40.369613 -2.779006)', '2026-07-06 10:06:52', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369517 -2.778979)'), GeomFromEWKT('SRID=4674;POINT (-40.369613 -2.779006)'))) / (select extract(epoch from '2026-07-06 10:06:52'::timestamp) - extract(epoch from '2026-07-06 10:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369517 -2.778979)'), GeomFromEWKT('SRID=4674;POINT (-40.369613 -2.779006)'))) / (select extract(epoch from '2026-07-06 10:06:52'::timestamp) - extract(epoch from '2026-07-06 10:06: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'), 47828, 'SRID=4674;POINT (-40.369682 -2.779028)', '2026-07-06 10:06:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369613 -2.779006)'), GeomFromEWKT('SRID=4674;POINT (-40.369682 -2.779028)'))) / (select extract(epoch from '2026-07-06 10:06:58'::timestamp) - extract(epoch from '2026-07-06 10:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369613 -2.779006)'), GeomFromEWKT('SRID=4674;POINT (-40.369682 -2.779028)'))) / (select extract(epoch from '2026-07-06 10:06:58'::timestamp) - extract(epoch from '2026-07-06 10:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.369756 -2.779024)', '2026-07-06 10:07:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369682 -2.779028)'), GeomFromEWKT('SRID=4674;POINT (-40.369756 -2.779024)'))) / (select extract(epoch from '2026-07-06 10:07:04'::timestamp) - extract(epoch from '2026-07-06 10:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369682 -2.779028)'), GeomFromEWKT('SRID=4674;POINT (-40.369756 -2.779024)'))) / (select extract(epoch from '2026-07-06 10:07:04'::timestamp) - extract(epoch from '2026-07-06 10:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.369819 -2.779051)', '2026-07-06 10:07:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369756 -2.779024)'), GeomFromEWKT('SRID=4674;POINT (-40.369819 -2.779051)'))) / (select extract(epoch from '2026-07-06 10:07:11'::timestamp) - extract(epoch from '2026-07-06 10:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369756 -2.779024)'), GeomFromEWKT('SRID=4674;POINT (-40.369819 -2.779051)'))) / (select extract(epoch from '2026-07-06 10:07:11'::timestamp) - extract(epoch from '2026-07-06 10:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.369859 -2.779083)', '2026-07-06 10:07:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369819 -2.779051)'), GeomFromEWKT('SRID=4674;POINT (-40.369859 -2.779083)'))) / (select extract(epoch from '2026-07-06 10:07:16'::timestamp) - extract(epoch from '2026-07-06 10:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369819 -2.779051)'), GeomFromEWKT('SRID=4674;POINT (-40.369859 -2.779083)'))) / (select extract(epoch from '2026-07-06 10:07:16'::timestamp) - extract(epoch from '2026-07-06 10:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.369877 -2.779101)', '2026-07-06 10:07:18', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369859 -2.779083)'), GeomFromEWKT('SRID=4674;POINT (-40.369877 -2.779101)'))) / (select extract(epoch from '2026-07-06 10:07:18'::timestamp) - extract(epoch from '2026-07-06 10:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369859 -2.779083)'), GeomFromEWKT('SRID=4674;POINT (-40.369877 -2.779101)'))) / (select extract(epoch from '2026-07-06 10:07:18'::timestamp) - extract(epoch from '2026-07-06 10:07:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.369915 -2.779148)', '2026-07-06 10:07:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369877 -2.779101)'), GeomFromEWKT('SRID=4674;POINT (-40.369915 -2.779148)'))) / (select extract(epoch from '2026-07-06 10:07:24'::timestamp) - extract(epoch from '2026-07-06 10:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369877 -2.779101)'), GeomFromEWKT('SRID=4674;POINT (-40.369915 -2.779148)'))) / (select extract(epoch from '2026-07-06 10:07:24'::timestamp) - extract(epoch from '2026-07-06 10:07: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'), 47828, 'SRID=4674;POINT (-40.369961 -2.779178)', '2026-07-06 10:07:31', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369915 -2.779148)'), GeomFromEWKT('SRID=4674;POINT (-40.369961 -2.779178)'))) / (select extract(epoch from '2026-07-06 10:07:31'::timestamp) - extract(epoch from '2026-07-06 10:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369915 -2.779148)'), GeomFromEWKT('SRID=4674;POINT (-40.369961 -2.779178)'))) / (select extract(epoch from '2026-07-06 10:07:31'::timestamp) - extract(epoch from '2026-07-06 10:07: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'), 47828, 'SRID=4674;POINT (-40.369997 -2.779184)', '2026-07-06 10:07:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369961 -2.779178)'), GeomFromEWKT('SRID=4674;POINT (-40.369997 -2.779184)'))) / (select extract(epoch from '2026-07-06 10:07:38'::timestamp) - extract(epoch from '2026-07-06 10:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369961 -2.779178)'), GeomFromEWKT('SRID=4674;POINT (-40.369997 -2.779184)'))) / (select extract(epoch from '2026-07-06 10:07:38'::timestamp) - extract(epoch from '2026-07-06 10:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370046 -2.77918)', '2026-07-06 10:07:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369997 -2.779184)'), GeomFromEWKT('SRID=4674;POINT (-40.370046 -2.77918)'))) / (select extract(epoch from '2026-07-06 10:07:48'::timestamp) - extract(epoch from '2026-07-06 10:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369997 -2.779184)'), GeomFromEWKT('SRID=4674;POINT (-40.370046 -2.77918)'))) / (select extract(epoch from '2026-07-06 10:07:48'::timestamp) - extract(epoch from '2026-07-06 10:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370088 -2.779168)', '2026-07-06 10:07:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370046 -2.77918)'), GeomFromEWKT('SRID=4674;POINT (-40.370088 -2.779168)'))) / (select extract(epoch from '2026-07-06 10:07:57'::timestamp) - extract(epoch from '2026-07-06 10:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370046 -2.77918)'), GeomFromEWKT('SRID=4674;POINT (-40.370088 -2.779168)'))) / (select extract(epoch from '2026-07-06 10:07:57'::timestamp) - extract(epoch from '2026-07-06 10:07: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'), 47828, 'SRID=4674;POINT (-40.370129 -2.779154)', '2026-07-06 10:08:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370088 -2.779168)'), GeomFromEWKT('SRID=4674;POINT (-40.370129 -2.779154)'))) / (select extract(epoch from '2026-07-06 10:08:07'::timestamp) - extract(epoch from '2026-07-06 10:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370088 -2.779168)'), GeomFromEWKT('SRID=4674;POINT (-40.370129 -2.779154)'))) / (select extract(epoch from '2026-07-06 10:08:07'::timestamp) - extract(epoch from '2026-07-06 10:07: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'), 47828, 'SRID=4674;POINT (-40.370157 -2.779134)', '2026-07-06 10:08:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370129 -2.779154)'), GeomFromEWKT('SRID=4674;POINT (-40.370157 -2.779134)'))) / (select extract(epoch from '2026-07-06 10:08:13'::timestamp) - extract(epoch from '2026-07-06 10:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370129 -2.779154)'), GeomFromEWKT('SRID=4674;POINT (-40.370157 -2.779134)'))) / (select extract(epoch from '2026-07-06 10:08:13'::timestamp) - extract(epoch from '2026-07-06 10:08:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370195 -2.779115)', '2026-07-06 10:08:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370157 -2.779134)'), GeomFromEWKT('SRID=4674;POINT (-40.370195 -2.779115)'))) / (select extract(epoch from '2026-07-06 10:08:18'::timestamp) - extract(epoch from '2026-07-06 10:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370157 -2.779134)'), GeomFromEWKT('SRID=4674;POINT (-40.370195 -2.779115)'))) / (select extract(epoch from '2026-07-06 10:08:18'::timestamp) - extract(epoch from '2026-07-06 10:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370229 -2.779075)', '2026-07-06 10:08:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370195 -2.779115)'), GeomFromEWKT('SRID=4674;POINT (-40.370229 -2.779075)'))) / (select extract(epoch from '2026-07-06 10:08:26'::timestamp) - extract(epoch from '2026-07-06 10:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370195 -2.779115)'), GeomFromEWKT('SRID=4674;POINT (-40.370229 -2.779075)'))) / (select extract(epoch from '2026-07-06 10:08:26'::timestamp) - extract(epoch from '2026-07-06 10:08: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'), 47828, 'SRID=4674;POINT (-40.370242 -2.77902)', '2026-07-06 10:08:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370229 -2.779075)'), GeomFromEWKT('SRID=4674;POINT (-40.370242 -2.77902)'))) / (select extract(epoch from '2026-07-06 10:08:39'::timestamp) - extract(epoch from '2026-07-06 10:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370229 -2.779075)'), GeomFromEWKT('SRID=4674;POINT (-40.370242 -2.77902)'))) / (select extract(epoch from '2026-07-06 10:08:39'::timestamp) - extract(epoch from '2026-07-06 10:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370233 -2.77901)', '2026-07-06 10:08:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370242 -2.77902)'), GeomFromEWKT('SRID=4674;POINT (-40.370233 -2.77901)'))) / (select extract(epoch from '2026-07-06 10:08:52'::timestamp) - extract(epoch from '2026-07-06 10:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370242 -2.77902)'), GeomFromEWKT('SRID=4674;POINT (-40.370233 -2.77901)'))) / (select extract(epoch from '2026-07-06 10:08:52'::timestamp) - extract(epoch from '2026-07-06 10:08: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'), 47828, 'SRID=4674;POINT (-40.37017 -2.779013)', '2026-07-06 10:09:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370233 -2.77901)'), GeomFromEWKT('SRID=4674;POINT (-40.37017 -2.779013)'))) / (select extract(epoch from '2026-07-06 10:09:05'::timestamp) - extract(epoch from '2026-07-06 10:08:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370233 -2.77901)'), GeomFromEWKT('SRID=4674;POINT (-40.37017 -2.779013)'))) / (select extract(epoch from '2026-07-06 10:09:05'::timestamp) - extract(epoch from '2026-07-06 10:08:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370092 -2.77908)', '2026-07-06 10:10:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37017 -2.779013)'), GeomFromEWKT('SRID=4674;POINT (-40.370092 -2.77908)'))) / (select extract(epoch from '2026-07-06 10:10:19'::timestamp) - extract(epoch from '2026-07-06 10:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37017 -2.779013)'), GeomFromEWKT('SRID=4674;POINT (-40.370092 -2.77908)'))) / (select extract(epoch from '2026-07-06 10:10:19'::timestamp) - extract(epoch from '2026-07-06 10:09: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'), 47828, 'SRID=4674;POINT (-40.370125 -2.779036)', '2026-07-06 10:11:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370092 -2.77908)'), GeomFromEWKT('SRID=4674;POINT (-40.370125 -2.779036)'))) / (select extract(epoch from '2026-07-06 10:11:13'::timestamp) - extract(epoch from '2026-07-06 10:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370092 -2.77908)'), GeomFromEWKT('SRID=4674;POINT (-40.370125 -2.779036)'))) / (select extract(epoch from '2026-07-06 10:11:13'::timestamp) - extract(epoch from '2026-07-06 10:10: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'), 47828, 'SRID=4674;POINT (-40.370061 -2.779051)', '2026-07-06 10:11:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370125 -2.779036)'), GeomFromEWKT('SRID=4674;POINT (-40.370061 -2.779051)'))) / (select extract(epoch from '2026-07-06 10:11:32'::timestamp) - extract(epoch from '2026-07-06 10:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370125 -2.779036)'), GeomFromEWKT('SRID=4674;POINT (-40.370061 -2.779051)'))) / (select extract(epoch from '2026-07-06 10:11:32'::timestamp) - extract(epoch from '2026-07-06 10:11: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'), 47828, 'SRID=4674;POINT (-40.370047 -2.779059)', '2026-07-06 10:11:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370061 -2.779051)'), GeomFromEWKT('SRID=4674;POINT (-40.370047 -2.779059)'))) / (select extract(epoch from '2026-07-06 10:11:40'::timestamp) - extract(epoch from '2026-07-06 10:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370061 -2.779051)'), GeomFromEWKT('SRID=4674;POINT (-40.370047 -2.779059)'))) / (select extract(epoch from '2026-07-06 10:11:40'::timestamp) - extract(epoch from '2026-07-06 10:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370019 -2.779072)', '2026-07-06 10:11:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370047 -2.779059)'), GeomFromEWKT('SRID=4674;POINT (-40.370019 -2.779072)'))) / (select extract(epoch from '2026-07-06 10:11:49'::timestamp) - extract(epoch from '2026-07-06 10:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370047 -2.779059)'), GeomFromEWKT('SRID=4674;POINT (-40.370019 -2.779072)'))) / (select extract(epoch from '2026-07-06 10:11:49'::timestamp) - extract(epoch from '2026-07-06 10:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.37007 -2.779085)', '2026-07-06 10:12:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370019 -2.779072)'), GeomFromEWKT('SRID=4674;POINT (-40.37007 -2.779085)'))) / (select extract(epoch from '2026-07-06 10:12:12'::timestamp) - extract(epoch from '2026-07-06 10:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370019 -2.779072)'), GeomFromEWKT('SRID=4674;POINT (-40.37007 -2.779085)'))) / (select extract(epoch from '2026-07-06 10:12:12'::timestamp) - extract(epoch from '2026-07-06 10:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370095 -2.779089)', '2026-07-06 10:12:17', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37007 -2.779085)'), GeomFromEWKT('SRID=4674;POINT (-40.370095 -2.779089)'))) / (select extract(epoch from '2026-07-06 10:12:17'::timestamp) - extract(epoch from '2026-07-06 10:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37007 -2.779085)'), GeomFromEWKT('SRID=4674;POINT (-40.370095 -2.779089)'))) / (select extract(epoch from '2026-07-06 10:12:17'::timestamp) - extract(epoch from '2026-07-06 10:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370135 -2.779088)', '2026-07-06 10:12:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370095 -2.779089)'), GeomFromEWKT('SRID=4674;POINT (-40.370135 -2.779088)'))) / (select extract(epoch from '2026-07-06 10:12:25'::timestamp) - extract(epoch from '2026-07-06 10:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370095 -2.779089)'), GeomFromEWKT('SRID=4674;POINT (-40.370135 -2.779088)'))) / (select extract(epoch from '2026-07-06 10:12:25'::timestamp) - extract(epoch from '2026-07-06 10:12:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370164 -2.779082)', '2026-07-06 10:12:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370135 -2.779088)'), GeomFromEWKT('SRID=4674;POINT (-40.370164 -2.779082)'))) / (select extract(epoch from '2026-07-06 10:12:33'::timestamp) - extract(epoch from '2026-07-06 10:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370135 -2.779088)'), GeomFromEWKT('SRID=4674;POINT (-40.370164 -2.779082)'))) / (select extract(epoch from '2026-07-06 10:12:33'::timestamp) - extract(epoch from '2026-07-06 10:12:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370126 -2.779116)', '2026-07-06 10:13:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370164 -2.779082)'), GeomFromEWKT('SRID=4674;POINT (-40.370126 -2.779116)'))) / (select extract(epoch from '2026-07-06 10:13:27'::timestamp) - extract(epoch from '2026-07-06 10:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370164 -2.779082)'), GeomFromEWKT('SRID=4674;POINT (-40.370126 -2.779116)'))) / (select extract(epoch from '2026-07-06 10:13:27'::timestamp) - extract(epoch from '2026-07-06 10:12:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370076 -2.779082)', '2026-07-06 10:13:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370126 -2.779116)'), GeomFromEWKT('SRID=4674;POINT (-40.370076 -2.779082)'))) / (select extract(epoch from '2026-07-06 10:13:39'::timestamp) - extract(epoch from '2026-07-06 10:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370126 -2.779116)'), GeomFromEWKT('SRID=4674;POINT (-40.370076 -2.779082)'))) / (select extract(epoch from '2026-07-06 10:13:39'::timestamp) - extract(epoch from '2026-07-06 10:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370028 -2.779062)', '2026-07-06 10:13:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370076 -2.779082)'), GeomFromEWKT('SRID=4674;POINT (-40.370028 -2.779062)'))) / (select extract(epoch from '2026-07-06 10:13:48'::timestamp) - extract(epoch from '2026-07-06 10:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370076 -2.779082)'), GeomFromEWKT('SRID=4674;POINT (-40.370028 -2.779062)'))) / (select extract(epoch from '2026-07-06 10:13:48'::timestamp) - extract(epoch from '2026-07-06 10:13: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'), 47828, 'SRID=4674;POINT (-40.369978 -2.779059)', '2026-07-06 10:13:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370028 -2.779062)'), GeomFromEWKT('SRID=4674;POINT (-40.369978 -2.779059)'))) / (select extract(epoch from '2026-07-06 10:13:58'::timestamp) - extract(epoch from '2026-07-06 10:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370028 -2.779062)'), GeomFromEWKT('SRID=4674;POINT (-40.369978 -2.779059)'))) / (select extract(epoch from '2026-07-06 10:13:58'::timestamp) - extract(epoch from '2026-07-06 10:13: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'), 47828, 'SRID=4674;POINT (-40.370055 -2.779064)', '2026-07-06 10:14:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369978 -2.779059)'), GeomFromEWKT('SRID=4674;POINT (-40.370055 -2.779064)'))) / (select extract(epoch from '2026-07-06 10:14:32'::timestamp) - extract(epoch from '2026-07-06 10:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369978 -2.779059)'), GeomFromEWKT('SRID=4674;POINT (-40.370055 -2.779064)'))) / (select extract(epoch from '2026-07-06 10:14:32'::timestamp) - extract(epoch from '2026-07-06 10:13: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'), 47828, 'SRID=4674;POINT (-40.370078 -2.779059)', '2026-07-06 10:14:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370055 -2.779064)'), GeomFromEWKT('SRID=4674;POINT (-40.370078 -2.779059)'))) / (select extract(epoch from '2026-07-06 10:14:38'::timestamp) - extract(epoch from '2026-07-06 10:14:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370055 -2.779064)'), GeomFromEWKT('SRID=4674;POINT (-40.370078 -2.779059)'))) / (select extract(epoch from '2026-07-06 10:14:38'::timestamp) - extract(epoch from '2026-07-06 10:14:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370102 -2.779056)', '2026-07-06 10:14:43', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370078 -2.779059)'), GeomFromEWKT('SRID=4674;POINT (-40.370102 -2.779056)'))) / (select extract(epoch from '2026-07-06 10:14:43'::timestamp) - extract(epoch from '2026-07-06 10:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370078 -2.779059)'), GeomFromEWKT('SRID=4674;POINT (-40.370102 -2.779056)'))) / (select extract(epoch from '2026-07-06 10:14:43'::timestamp) - extract(epoch from '2026-07-06 10:14:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370134 -2.779047)', '2026-07-06 10:14:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370102 -2.779056)'), GeomFromEWKT('SRID=4674;POINT (-40.370134 -2.779047)'))) / (select extract(epoch from '2026-07-06 10:14:48'::timestamp) - extract(epoch from '2026-07-06 10:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370102 -2.779056)'), GeomFromEWKT('SRID=4674;POINT (-40.370134 -2.779047)'))) / (select extract(epoch from '2026-07-06 10:14:48'::timestamp) - extract(epoch from '2026-07-06 10:14:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370193 -2.779017)', '2026-07-06 10:14:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370134 -2.779047)'), GeomFromEWKT('SRID=4674;POINT (-40.370193 -2.779017)'))) / (select extract(epoch from '2026-07-06 10:14:59'::timestamp) - extract(epoch from '2026-07-06 10:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370134 -2.779047)'), GeomFromEWKT('SRID=4674;POINT (-40.370193 -2.779017)'))) / (select extract(epoch from '2026-07-06 10:14:59'::timestamp) - extract(epoch from '2026-07-06 10:14: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'), 47828, 'SRID=4674;POINT (-40.370224 -2.778988)', '2026-07-06 10:15:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370193 -2.779017)'), GeomFromEWKT('SRID=4674;POINT (-40.370224 -2.778988)'))) / (select extract(epoch from '2026-07-06 10:15:07'::timestamp) - extract(epoch from '2026-07-06 10:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370193 -2.779017)'), GeomFromEWKT('SRID=4674;POINT (-40.370224 -2.778988)'))) / (select extract(epoch from '2026-07-06 10:15:07'::timestamp) - extract(epoch from '2026-07-06 10:14: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'), 47828, 'SRID=4674;POINT (-40.370249 -2.778966)', '2026-07-06 10:15:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370224 -2.778988)'), GeomFromEWKT('SRID=4674;POINT (-40.370249 -2.778966)'))) / (select extract(epoch from '2026-07-06 10:15:15'::timestamp) - extract(epoch from '2026-07-06 10:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370224 -2.778988)'), GeomFromEWKT('SRID=4674;POINT (-40.370249 -2.778966)'))) / (select extract(epoch from '2026-07-06 10:15:15'::timestamp) - extract(epoch from '2026-07-06 10:15:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370263 -2.778926)', '2026-07-06 10:15:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370249 -2.778966)'), GeomFromEWKT('SRID=4674;POINT (-40.370263 -2.778926)'))) / (select extract(epoch from '2026-07-06 10:15:22'::timestamp) - extract(epoch from '2026-07-06 10:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370249 -2.778966)'), GeomFromEWKT('SRID=4674;POINT (-40.370263 -2.778926)'))) / (select extract(epoch from '2026-07-06 10:15:22'::timestamp) - extract(epoch from '2026-07-06 10:15: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'), 47828, 'SRID=4674;POINT (-40.37024 -2.778894)', '2026-07-06 10:15:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370263 -2.778926)'), GeomFromEWKT('SRID=4674;POINT (-40.37024 -2.778894)'))) / (select extract(epoch from '2026-07-06 10:15:31'::timestamp) - extract(epoch from '2026-07-06 10:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370263 -2.778926)'), GeomFromEWKT('SRID=4674;POINT (-40.37024 -2.778894)'))) / (select extract(epoch from '2026-07-06 10:15:31'::timestamp) - extract(epoch from '2026-07-06 10:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370211 -2.778907)', '2026-07-06 10:15:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37024 -2.778894)'), GeomFromEWKT('SRID=4674;POINT (-40.370211 -2.778907)'))) / (select extract(epoch from '2026-07-06 10:15:36'::timestamp) - extract(epoch from '2026-07-06 10:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37024 -2.778894)'), GeomFromEWKT('SRID=4674;POINT (-40.370211 -2.778907)'))) / (select extract(epoch from '2026-07-06 10:15:36'::timestamp) - extract(epoch from '2026-07-06 10:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370197 -2.778919)', '2026-07-06 10:15:38', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370211 -2.778907)'), GeomFromEWKT('SRID=4674;POINT (-40.370197 -2.778919)'))) / (select extract(epoch from '2026-07-06 10:15:38'::timestamp) - extract(epoch from '2026-07-06 10:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370211 -2.778907)'), GeomFromEWKT('SRID=4674;POINT (-40.370197 -2.778919)'))) / (select extract(epoch from '2026-07-06 10:15:38'::timestamp) - extract(epoch from '2026-07-06 10:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370163 -2.778954)', '2026-07-06 10:15:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370197 -2.778919)'), GeomFromEWKT('SRID=4674;POINT (-40.370163 -2.778954)'))) / (select extract(epoch from '2026-07-06 10:15:43'::timestamp) - extract(epoch from '2026-07-06 10:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370197 -2.778919)'), GeomFromEWKT('SRID=4674;POINT (-40.370163 -2.778954)'))) / (select extract(epoch from '2026-07-06 10:15:43'::timestamp) - extract(epoch from '2026-07-06 10:15: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'), 47828, 'SRID=4674;POINT (-40.37015 -2.778964)', '2026-07-06 10:15:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370163 -2.778954)'), GeomFromEWKT('SRID=4674;POINT (-40.37015 -2.778964)'))) / (select extract(epoch from '2026-07-06 10:15:45'::timestamp) - extract(epoch from '2026-07-06 10:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370163 -2.778954)'), GeomFromEWKT('SRID=4674;POINT (-40.37015 -2.778964)'))) / (select extract(epoch from '2026-07-06 10:15:45'::timestamp) - extract(epoch from '2026-07-06 10:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370119 -2.778986)', '2026-07-06 10:15:54', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37015 -2.778964)'), GeomFromEWKT('SRID=4674;POINT (-40.370119 -2.778986)'))) / (select extract(epoch from '2026-07-06 10:15:54'::timestamp) - extract(epoch from '2026-07-06 10:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37015 -2.778964)'), GeomFromEWKT('SRID=4674;POINT (-40.370119 -2.778986)'))) / (select extract(epoch from '2026-07-06 10:15:54'::timestamp) - extract(epoch from '2026-07-06 10:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370161 -2.779013)', '2026-07-06 10:16:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370119 -2.778986)'), GeomFromEWKT('SRID=4674;POINT (-40.370161 -2.779013)'))) / (select extract(epoch from '2026-07-06 10:16:25'::timestamp) - extract(epoch from '2026-07-06 10:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370119 -2.778986)'), GeomFromEWKT('SRID=4674;POINT (-40.370161 -2.779013)'))) / (select extract(epoch from '2026-07-06 10:16:25'::timestamp) - extract(epoch from '2026-07-06 10:15:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.37022 -2.779014)', '2026-07-06 10:16:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370161 -2.779013)'), GeomFromEWKT('SRID=4674;POINT (-40.37022 -2.779014)'))) / (select extract(epoch from '2026-07-06 10:16:43'::timestamp) - extract(epoch from '2026-07-06 10:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370161 -2.779013)'), GeomFromEWKT('SRID=4674;POINT (-40.37022 -2.779014)'))) / (select extract(epoch from '2026-07-06 10:16:43'::timestamp) - extract(epoch from '2026-07-06 10:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370256 -2.779009)', '2026-07-06 10:16:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37022 -2.779014)'), GeomFromEWKT('SRID=4674;POINT (-40.370256 -2.779009)'))) / (select extract(epoch from '2026-07-06 10:16:49'::timestamp) - extract(epoch from '2026-07-06 10:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37022 -2.779014)'), GeomFromEWKT('SRID=4674;POINT (-40.370256 -2.779009)'))) / (select extract(epoch from '2026-07-06 10:16:49'::timestamp) - extract(epoch from '2026-07-06 10:16: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'), 47828, 'SRID=4674;POINT (-40.370297 -2.779006)', '2026-07-06 10:16:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370256 -2.779009)'), GeomFromEWKT('SRID=4674;POINT (-40.370297 -2.779006)'))) / (select extract(epoch from '2026-07-06 10:16:58'::timestamp) - extract(epoch from '2026-07-06 10:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370256 -2.779009)'), GeomFromEWKT('SRID=4674;POINT (-40.370297 -2.779006)'))) / (select extract(epoch from '2026-07-06 10:16:58'::timestamp) - extract(epoch from '2026-07-06 10:16:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370344 -2.778998)', '2026-07-06 10:17:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370297 -2.779006)'), GeomFromEWKT('SRID=4674;POINT (-40.370344 -2.778998)'))) / (select extract(epoch from '2026-07-06 10:17:07'::timestamp) - extract(epoch from '2026-07-06 10:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370297 -2.779006)'), GeomFromEWKT('SRID=4674;POINT (-40.370344 -2.778998)'))) / (select extract(epoch from '2026-07-06 10:17:07'::timestamp) - extract(epoch from '2026-07-06 10:16: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'), 47828, 'SRID=4674;POINT (-40.370374 -2.778956)', '2026-07-06 10:17:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370344 -2.778998)'), GeomFromEWKT('SRID=4674;POINT (-40.370374 -2.778956)'))) / (select extract(epoch from '2026-07-06 10:17:16'::timestamp) - extract(epoch from '2026-07-06 10:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370344 -2.778998)'), GeomFromEWKT('SRID=4674;POINT (-40.370374 -2.778956)'))) / (select extract(epoch from '2026-07-06 10:17:16'::timestamp) - extract(epoch from '2026-07-06 10:17: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'), 47828, 'SRID=4674;POINT (-40.370387 -2.778931)', '2026-07-06 10:17:19', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370374 -2.778956)'), GeomFromEWKT('SRID=4674;POINT (-40.370387 -2.778931)'))) / (select extract(epoch from '2026-07-06 10:17:19'::timestamp) - extract(epoch from '2026-07-06 10:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370374 -2.778956)'), GeomFromEWKT('SRID=4674;POINT (-40.370387 -2.778931)'))) / (select extract(epoch from '2026-07-06 10:17:19'::timestamp) - extract(epoch from '2026-07-06 10:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370416 -2.778904)', '2026-07-06 10:17:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370387 -2.778931)'), GeomFromEWKT('SRID=4674;POINT (-40.370416 -2.778904)'))) / (select extract(epoch from '2026-07-06 10:17:23'::timestamp) - extract(epoch from '2026-07-06 10:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370387 -2.778931)'), GeomFromEWKT('SRID=4674;POINT (-40.370416 -2.778904)'))) / (select extract(epoch from '2026-07-06 10:17:23'::timestamp) - extract(epoch from '2026-07-06 10:17: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'), 47828, 'SRID=4674;POINT (-40.370487 -2.778875)', '2026-07-06 10:17:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370416 -2.778904)'), GeomFromEWKT('SRID=4674;POINT (-40.370487 -2.778875)'))) / (select extract(epoch from '2026-07-06 10:17:30'::timestamp) - extract(epoch from '2026-07-06 10:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370416 -2.778904)'), GeomFromEWKT('SRID=4674;POINT (-40.370487 -2.778875)'))) / (select extract(epoch from '2026-07-06 10:17:30'::timestamp) - extract(epoch from '2026-07-06 10:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370569 -2.778896)', '2026-07-06 10:17:36', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370487 -2.778875)'), GeomFromEWKT('SRID=4674;POINT (-40.370569 -2.778896)'))) / (select extract(epoch from '2026-07-06 10:17:36'::timestamp) - extract(epoch from '2026-07-06 10:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370487 -2.778875)'), GeomFromEWKT('SRID=4674;POINT (-40.370569 -2.778896)'))) / (select extract(epoch from '2026-07-06 10:17:36'::timestamp) - extract(epoch from '2026-07-06 10:17:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370664 -2.778953)', '2026-07-06 10:17:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370569 -2.778896)'), GeomFromEWKT('SRID=4674;POINT (-40.370664 -2.778953)'))) / (select extract(epoch from '2026-07-06 10:17:43'::timestamp) - extract(epoch from '2026-07-06 10:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370569 -2.778896)'), GeomFromEWKT('SRID=4674;POINT (-40.370664 -2.778953)'))) / (select extract(epoch from '2026-07-06 10:17:43'::timestamp) - extract(epoch from '2026-07-06 10:17: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'), 47828, 'SRID=4674;POINT (-40.370745 -2.77902)', '2026-07-06 10:17:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370664 -2.778953)'), GeomFromEWKT('SRID=4674;POINT (-40.370745 -2.77902)'))) / (select extract(epoch from '2026-07-06 10:17:49'::timestamp) - extract(epoch from '2026-07-06 10:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370664 -2.778953)'), GeomFromEWKT('SRID=4674;POINT (-40.370745 -2.77902)'))) / (select extract(epoch from '2026-07-06 10:17:49'::timestamp) - extract(epoch from '2026-07-06 10:17:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370826 -2.779107)', '2026-07-06 10:17:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370745 -2.77902)'), GeomFromEWKT('SRID=4674;POINT (-40.370826 -2.779107)'))) / (select extract(epoch from '2026-07-06 10:17:56'::timestamp) - extract(epoch from '2026-07-06 10:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370745 -2.77902)'), GeomFromEWKT('SRID=4674;POINT (-40.370826 -2.779107)'))) / (select extract(epoch from '2026-07-06 10:17:56'::timestamp) - extract(epoch from '2026-07-06 10:17:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.370892 -2.77919)', '2026-07-06 10:18:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370826 -2.779107)'), GeomFromEWKT('SRID=4674;POINT (-40.370892 -2.77919)'))) / (select extract(epoch from '2026-07-06 10:18:02'::timestamp) - extract(epoch from '2026-07-06 10:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370826 -2.779107)'), GeomFromEWKT('SRID=4674;POINT (-40.370892 -2.77919)'))) / (select extract(epoch from '2026-07-06 10:18:02'::timestamp) - extract(epoch from '2026-07-06 10:17: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'), 47828, 'SRID=4674;POINT (-40.371 -2.779258)', '2026-07-06 10:18:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370892 -2.77919)'), GeomFromEWKT('SRID=4674;POINT (-40.371 -2.779258)'))) / (select extract(epoch from '2026-07-06 10:18:09'::timestamp) - extract(epoch from '2026-07-06 10:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370892 -2.77919)'), GeomFromEWKT('SRID=4674;POINT (-40.371 -2.779258)'))) / (select extract(epoch from '2026-07-06 10:18:09'::timestamp) - extract(epoch from '2026-07-06 10:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.371132 -2.779311)', '2026-07-06 10:18:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371 -2.779258)'), GeomFromEWKT('SRID=4674;POINT (-40.371132 -2.779311)'))) / (select extract(epoch from '2026-07-06 10:18:16'::timestamp) - extract(epoch from '2026-07-06 10:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371 -2.779258)'), GeomFromEWKT('SRID=4674;POINT (-40.371132 -2.779311)'))) / (select extract(epoch from '2026-07-06 10:18:16'::timestamp) - extract(epoch from '2026-07-06 10:18: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'), 47828, 'SRID=4674;POINT (-40.37123 -2.779339)', '2026-07-06 10:18:21', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371132 -2.779311)'), GeomFromEWKT('SRID=4674;POINT (-40.37123 -2.779339)'))) / (select extract(epoch from '2026-07-06 10:18:21'::timestamp) - extract(epoch from '2026-07-06 10:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371132 -2.779311)'), GeomFromEWKT('SRID=4674;POINT (-40.37123 -2.779339)'))) / (select extract(epoch from '2026-07-06 10:18:21'::timestamp) - extract(epoch from '2026-07-06 10:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.371335 -2.779374)', '2026-07-06 10:18:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37123 -2.779339)'), GeomFromEWKT('SRID=4674;POINT (-40.371335 -2.779374)'))) / (select extract(epoch from '2026-07-06 10:18:27'::timestamp) - extract(epoch from '2026-07-06 10:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37123 -2.779339)'), GeomFromEWKT('SRID=4674;POINT (-40.371335 -2.779374)'))) / (select extract(epoch from '2026-07-06 10:18:27'::timestamp) - extract(epoch from '2026-07-06 10:18: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'), 47828, 'SRID=4674;POINT (-40.371419 -2.779415)', '2026-07-06 10:18:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371335 -2.779374)'), GeomFromEWKT('SRID=4674;POINT (-40.371419 -2.779415)'))) / (select extract(epoch from '2026-07-06 10:18:32'::timestamp) - extract(epoch from '2026-07-06 10:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371335 -2.779374)'), GeomFromEWKT('SRID=4674;POINT (-40.371419 -2.779415)'))) / (select extract(epoch from '2026-07-06 10:18:32'::timestamp) - extract(epoch from '2026-07-06 10:18:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.371517 -2.779472)', '2026-07-06 10:18:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371419 -2.779415)'), GeomFromEWKT('SRID=4674;POINT (-40.371517 -2.779472)'))) / (select extract(epoch from '2026-07-06 10:18:38'::timestamp) - extract(epoch from '2026-07-06 10:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371419 -2.779415)'), GeomFromEWKT('SRID=4674;POINT (-40.371517 -2.779472)'))) / (select extract(epoch from '2026-07-06 10:18:38'::timestamp) - extract(epoch from '2026-07-06 10:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.371602 -2.779522)', '2026-07-06 10:18:43', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371517 -2.779472)'), GeomFromEWKT('SRID=4674;POINT (-40.371602 -2.779522)'))) / (select extract(epoch from '2026-07-06 10:18:43'::timestamp) - extract(epoch from '2026-07-06 10:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371517 -2.779472)'), GeomFromEWKT('SRID=4674;POINT (-40.371602 -2.779522)'))) / (select extract(epoch from '2026-07-06 10:18:43'::timestamp) - extract(epoch from '2026-07-06 10:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.371689 -2.779578)', '2026-07-06 10:18:48', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371602 -2.779522)'), GeomFromEWKT('SRID=4674;POINT (-40.371689 -2.779578)'))) / (select extract(epoch from '2026-07-06 10:18:48'::timestamp) - extract(epoch from '2026-07-06 10:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371602 -2.779522)'), GeomFromEWKT('SRID=4674;POINT (-40.371689 -2.779578)'))) / (select extract(epoch from '2026-07-06 10:18:48'::timestamp) - extract(epoch from '2026-07-06 10:18:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.371796 -2.779645)', '2026-07-06 10:18:55', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371689 -2.779578)'), GeomFromEWKT('SRID=4674;POINT (-40.371796 -2.779645)'))) / (select extract(epoch from '2026-07-06 10:18:55'::timestamp) - extract(epoch from '2026-07-06 10:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371689 -2.779578)'), GeomFromEWKT('SRID=4674;POINT (-40.371796 -2.779645)'))) / (select extract(epoch from '2026-07-06 10:18:55'::timestamp) - extract(epoch from '2026-07-06 10:18:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.371908 -2.779715)', '2026-07-06 10:19:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371796 -2.779645)'), GeomFromEWKT('SRID=4674;POINT (-40.371908 -2.779715)'))) / (select extract(epoch from '2026-07-06 10:19:02'::timestamp) - extract(epoch from '2026-07-06 10:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371796 -2.779645)'), GeomFromEWKT('SRID=4674;POINT (-40.371908 -2.779715)'))) / (select extract(epoch from '2026-07-06 10:19:02'::timestamp) - extract(epoch from '2026-07-06 10:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.372015 -2.779774)', '2026-07-06 10:19:08', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371908 -2.779715)'), GeomFromEWKT('SRID=4674;POINT (-40.372015 -2.779774)'))) / (select extract(epoch from '2026-07-06 10:19:08'::timestamp) - extract(epoch from '2026-07-06 10:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371908 -2.779715)'), GeomFromEWKT('SRID=4674;POINT (-40.372015 -2.779774)'))) / (select extract(epoch from '2026-07-06 10:19:08'::timestamp) - extract(epoch from '2026-07-06 10:19:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.372131 -2.779848)', '2026-07-06 10:19:15', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372015 -2.779774)'), GeomFromEWKT('SRID=4674;POINT (-40.372131 -2.779848)'))) / (select extract(epoch from '2026-07-06 10:19:15'::timestamp) - extract(epoch from '2026-07-06 10:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372015 -2.779774)'), GeomFromEWKT('SRID=4674;POINT (-40.372131 -2.779848)'))) / (select extract(epoch from '2026-07-06 10:19:15'::timestamp) - extract(epoch from '2026-07-06 10:19: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'), 47828, 'SRID=4674;POINT (-40.372232 -2.779907)', '2026-07-06 10:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372131 -2.779848)'), GeomFromEWKT('SRID=4674;POINT (-40.372232 -2.779907)'))) / (select extract(epoch from '2026-07-06 10:19:21'::timestamp) - extract(epoch from '2026-07-06 10:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372131 -2.779848)'), GeomFromEWKT('SRID=4674;POINT (-40.372232 -2.779907)'))) / (select extract(epoch from '2026-07-06 10:19:21'::timestamp) - extract(epoch from '2026-07-06 10:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.372361 -2.779953)', '2026-07-06 10:19:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372232 -2.779907)'), GeomFromEWKT('SRID=4674;POINT (-40.372361 -2.779953)'))) / (select extract(epoch from '2026-07-06 10:19:28'::timestamp) - extract(epoch from '2026-07-06 10:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372232 -2.779907)'), GeomFromEWKT('SRID=4674;POINT (-40.372361 -2.779953)'))) / (select extract(epoch from '2026-07-06 10:19:28'::timestamp) - extract(epoch from '2026-07-06 10:19: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'), 47828, 'SRID=4674;POINT (-40.372494 -2.779995)', '2026-07-06 10:19:35', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372361 -2.779953)'), GeomFromEWKT('SRID=4674;POINT (-40.372494 -2.779995)'))) / (select extract(epoch from '2026-07-06 10:19:35'::timestamp) - extract(epoch from '2026-07-06 10:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372361 -2.779953)'), GeomFromEWKT('SRID=4674;POINT (-40.372494 -2.779995)'))) / (select extract(epoch from '2026-07-06 10:19:35'::timestamp) - extract(epoch from '2026-07-06 10:19: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'), 47828, 'SRID=4674;POINT (-40.372612 -2.780032)', '2026-07-06 10:19:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372494 -2.779995)'), GeomFromEWKT('SRID=4674;POINT (-40.372612 -2.780032)'))) / (select extract(epoch from '2026-07-06 10:19:41'::timestamp) - extract(epoch from '2026-07-06 10:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372494 -2.779995)'), GeomFromEWKT('SRID=4674;POINT (-40.372612 -2.780032)'))) / (select extract(epoch from '2026-07-06 10:19:41'::timestamp) - extract(epoch from '2026-07-06 10:19:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.372728 -2.7801)', '2026-07-06 10:19:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372612 -2.780032)'), GeomFromEWKT('SRID=4674;POINT (-40.372728 -2.7801)'))) / (select extract(epoch from '2026-07-06 10:19:48'::timestamp) - extract(epoch from '2026-07-06 10:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372612 -2.780032)'), GeomFromEWKT('SRID=4674;POINT (-40.372728 -2.7801)'))) / (select extract(epoch from '2026-07-06 10:19:48'::timestamp) - extract(epoch from '2026-07-06 10:19: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'), 47828, 'SRID=4674;POINT (-40.372819 -2.780158)', '2026-07-06 10:19:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372728 -2.7801)'), GeomFromEWKT('SRID=4674;POINT (-40.372819 -2.780158)'))) / (select extract(epoch from '2026-07-06 10:19:53'::timestamp) - extract(epoch from '2026-07-06 10:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372728 -2.7801)'), GeomFromEWKT('SRID=4674;POINT (-40.372819 -2.780158)'))) / (select extract(epoch from '2026-07-06 10:19:53'::timestamp) - extract(epoch from '2026-07-06 10:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.372922 -2.780218)', '2026-07-06 10:19:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372819 -2.780158)'), GeomFromEWKT('SRID=4674;POINT (-40.372922 -2.780218)'))) / (select extract(epoch from '2026-07-06 10:19:59'::timestamp) - extract(epoch from '2026-07-06 10:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372819 -2.780158)'), GeomFromEWKT('SRID=4674;POINT (-40.372922 -2.780218)'))) / (select extract(epoch from '2026-07-06 10:19:59'::timestamp) - extract(epoch from '2026-07-06 10:19: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'), 47828, 'SRID=4674;POINT (-40.373027 -2.780269)', '2026-07-06 10:20:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372922 -2.780218)'), GeomFromEWKT('SRID=4674;POINT (-40.373027 -2.780269)'))) / (select extract(epoch from '2026-07-06 10:20:05'::timestamp) - extract(epoch from '2026-07-06 10:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372922 -2.780218)'), GeomFromEWKT('SRID=4674;POINT (-40.373027 -2.780269)'))) / (select extract(epoch from '2026-07-06 10:20:05'::timestamp) - extract(epoch from '2026-07-06 10:19: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'), 47828, 'SRID=4674;POINT (-40.373159 -2.780317)', '2026-07-06 10:20:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373027 -2.780269)'), GeomFromEWKT('SRID=4674;POINT (-40.373159 -2.780317)'))) / (select extract(epoch from '2026-07-06 10:20:12'::timestamp) - extract(epoch from '2026-07-06 10:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373027 -2.780269)'), GeomFromEWKT('SRID=4674;POINT (-40.373159 -2.780317)'))) / (select extract(epoch from '2026-07-06 10:20:12'::timestamp) - extract(epoch from '2026-07-06 10:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.373359 -2.780366)', '2026-07-06 10:20:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373159 -2.780317)'), GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.780366)'))) / (select extract(epoch from '2026-07-06 10:20:22'::timestamp) - extract(epoch from '2026-07-06 10:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373159 -2.780317)'), GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.780366)'))) / (select extract(epoch from '2026-07-06 10:20:22'::timestamp) - extract(epoch from '2026-07-06 10:20: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'), 47828, 'SRID=4674;POINT (-40.373508 -2.780423)', '2026-07-06 10:20:30', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.780366)'), GeomFromEWKT('SRID=4674;POINT (-40.373508 -2.780423)'))) / (select extract(epoch from '2026-07-06 10:20:30'::timestamp) - extract(epoch from '2026-07-06 10:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373359 -2.780366)'), GeomFromEWKT('SRID=4674;POINT (-40.373508 -2.780423)'))) / (select extract(epoch from '2026-07-06 10:20:30'::timestamp) - extract(epoch from '2026-07-06 10:20: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'), 47828, 'SRID=4674;POINT (-40.373677 -2.780455)', '2026-07-06 10:20:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373508 -2.780423)'), GeomFromEWKT('SRID=4674;POINT (-40.373677 -2.780455)'))) / (select extract(epoch from '2026-07-06 10:20:38'::timestamp) - extract(epoch from '2026-07-06 10:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373508 -2.780423)'), GeomFromEWKT('SRID=4674;POINT (-40.373677 -2.780455)'))) / (select extract(epoch from '2026-07-06 10:20:38'::timestamp) - extract(epoch from '2026-07-06 10:20: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'), 47828, 'SRID=4674;POINT (-40.373836 -2.780474)', '2026-07-06 10:20:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373677 -2.780455)'), GeomFromEWKT('SRID=4674;POINT (-40.373836 -2.780474)'))) / (select extract(epoch from '2026-07-06 10:20:46'::timestamp) - extract(epoch from '2026-07-06 10:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373677 -2.780455)'), GeomFromEWKT('SRID=4674;POINT (-40.373836 -2.780474)'))) / (select extract(epoch from '2026-07-06 10:20:46'::timestamp) - extract(epoch from '2026-07-06 10:20: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'), 47828, 'SRID=4674;POINT (-40.373996 -2.780515)', '2026-07-06 10:20:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373836 -2.780474)'), GeomFromEWKT('SRID=4674;POINT (-40.373996 -2.780515)'))) / (select extract(epoch from '2026-07-06 10:20:54'::timestamp) - extract(epoch from '2026-07-06 10:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373836 -2.780474)'), GeomFromEWKT('SRID=4674;POINT (-40.373996 -2.780515)'))) / (select extract(epoch from '2026-07-06 10:20:54'::timestamp) - extract(epoch from '2026-07-06 10:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.374125 -2.780568)', '2026-07-06 10:21:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373996 -2.780515)'), GeomFromEWKT('SRID=4674;POINT (-40.374125 -2.780568)'))) / (select extract(epoch from '2026-07-06 10:21:01'::timestamp) - extract(epoch from '2026-07-06 10:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373996 -2.780515)'), GeomFromEWKT('SRID=4674;POINT (-40.374125 -2.780568)'))) / (select extract(epoch from '2026-07-06 10:21:01'::timestamp) - extract(epoch from '2026-07-06 10:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.374252 -2.78062)', '2026-07-06 10:21:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374125 -2.780568)'), GeomFromEWKT('SRID=4674;POINT (-40.374252 -2.78062)'))) / (select extract(epoch from '2026-07-06 10:21:08'::timestamp) - extract(epoch from '2026-07-06 10:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374125 -2.780568)'), GeomFromEWKT('SRID=4674;POINT (-40.374252 -2.78062)'))) / (select extract(epoch from '2026-07-06 10:21:08'::timestamp) - extract(epoch from '2026-07-06 10:21:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.374379 -2.78067)', '2026-07-06 10:21:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374252 -2.78062)'), GeomFromEWKT('SRID=4674;POINT (-40.374379 -2.78067)'))) / (select extract(epoch from '2026-07-06 10:21:15'::timestamp) - extract(epoch from '2026-07-06 10:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374252 -2.78062)'), GeomFromEWKT('SRID=4674;POINT (-40.374379 -2.78067)'))) / (select extract(epoch from '2026-07-06 10:21:15'::timestamp) - extract(epoch from '2026-07-06 10:21:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.374514 -2.780709)', '2026-07-06 10:21:22', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374379 -2.78067)'), GeomFromEWKT('SRID=4674;POINT (-40.374514 -2.780709)'))) / (select extract(epoch from '2026-07-06 10:21:22'::timestamp) - extract(epoch from '2026-07-06 10:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374379 -2.78067)'), GeomFromEWKT('SRID=4674;POINT (-40.374514 -2.780709)'))) / (select extract(epoch from '2026-07-06 10:21:22'::timestamp) - extract(epoch from '2026-07-06 10:21: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'), 47828, 'SRID=4674;POINT (-40.374667 -2.780766)', '2026-07-06 10:21:30', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374514 -2.780709)'), GeomFromEWKT('SRID=4674;POINT (-40.374667 -2.780766)'))) / (select extract(epoch from '2026-07-06 10:21:30'::timestamp) - extract(epoch from '2026-07-06 10:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374514 -2.780709)'), GeomFromEWKT('SRID=4674;POINT (-40.374667 -2.780766)'))) / (select extract(epoch from '2026-07-06 10:21:30'::timestamp) - extract(epoch from '2026-07-06 10:21: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'), 47828, 'SRID=4674;POINT (-40.374815 -2.780828)', '2026-07-06 10:21:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374667 -2.780766)'), GeomFromEWKT('SRID=4674;POINT (-40.374815 -2.780828)'))) / (select extract(epoch from '2026-07-06 10:21:38'::timestamp) - extract(epoch from '2026-07-06 10:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374667 -2.780766)'), GeomFromEWKT('SRID=4674;POINT (-40.374815 -2.780828)'))) / (select extract(epoch from '2026-07-06 10:21:38'::timestamp) - extract(epoch from '2026-07-06 10:21: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'), 47828, 'SRID=4674;POINT (-40.374995 -2.780871)', '2026-07-06 10:21:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374815 -2.780828)'), GeomFromEWKT('SRID=4674;POINT (-40.374995 -2.780871)'))) / (select extract(epoch from '2026-07-06 10:21:47'::timestamp) - extract(epoch from '2026-07-06 10:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374815 -2.780828)'), GeomFromEWKT('SRID=4674;POINT (-40.374995 -2.780871)'))) / (select extract(epoch from '2026-07-06 10:21:47'::timestamp) - extract(epoch from '2026-07-06 10:21: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'), 47828, 'SRID=4674;POINT (-40.375156 -2.780918)', '2026-07-06 10:21:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374995 -2.780871)'), GeomFromEWKT('SRID=4674;POINT (-40.375156 -2.780918)'))) / (select extract(epoch from '2026-07-06 10:21:55'::timestamp) - extract(epoch from '2026-07-06 10:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374995 -2.780871)'), GeomFromEWKT('SRID=4674;POINT (-40.375156 -2.780918)'))) / (select extract(epoch from '2026-07-06 10:21:55'::timestamp) - extract(epoch from '2026-07-06 10:21:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.375284 -2.78101)', '2026-07-06 10:22:03', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375156 -2.780918)'), GeomFromEWKT('SRID=4674;POINT (-40.375284 -2.78101)'))) / (select extract(epoch from '2026-07-06 10:22:03'::timestamp) - extract(epoch from '2026-07-06 10:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375156 -2.780918)'), GeomFromEWKT('SRID=4674;POINT (-40.375284 -2.78101)'))) / (select extract(epoch from '2026-07-06 10:22:03'::timestamp) - extract(epoch from '2026-07-06 10:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.375368 -2.781112)', '2026-07-06 10:22:10', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375284 -2.78101)'), GeomFromEWKT('SRID=4674;POINT (-40.375368 -2.781112)'))) / (select extract(epoch from '2026-07-06 10:22:10'::timestamp) - extract(epoch from '2026-07-06 10:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375284 -2.78101)'), GeomFromEWKT('SRID=4674;POINT (-40.375368 -2.781112)'))) / (select extract(epoch from '2026-07-06 10:22:10'::timestamp) - extract(epoch from '2026-07-06 10:22:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.375473 -2.781201)', '2026-07-06 10:22:17', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375368 -2.781112)'), GeomFromEWKT('SRID=4674;POINT (-40.375473 -2.781201)'))) / (select extract(epoch from '2026-07-06 10:22:17'::timestamp) - extract(epoch from '2026-07-06 10:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375368 -2.781112)'), GeomFromEWKT('SRID=4674;POINT (-40.375473 -2.781201)'))) / (select extract(epoch from '2026-07-06 10:22:17'::timestamp) - extract(epoch from '2026-07-06 10:22: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'), 47828, 'SRID=4674;POINT (-40.37557 -2.781265)', '2026-07-06 10:22:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375473 -2.781201)'), GeomFromEWKT('SRID=4674;POINT (-40.37557 -2.781265)'))) / (select extract(epoch from '2026-07-06 10:22:23'::timestamp) - extract(epoch from '2026-07-06 10:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375473 -2.781201)'), GeomFromEWKT('SRID=4674;POINT (-40.37557 -2.781265)'))) / (select extract(epoch from '2026-07-06 10:22:23'::timestamp) - extract(epoch from '2026-07-06 10:22:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.375679 -2.78132)', '2026-07-06 10:22:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37557 -2.781265)'), GeomFromEWKT('SRID=4674;POINT (-40.375679 -2.78132)'))) / (select extract(epoch from '2026-07-06 10:22:29'::timestamp) - extract(epoch from '2026-07-06 10:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37557 -2.781265)'), GeomFromEWKT('SRID=4674;POINT (-40.375679 -2.78132)'))) / (select extract(epoch from '2026-07-06 10:22:29'::timestamp) - extract(epoch from '2026-07-06 10:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.375792 -2.781379)', '2026-07-06 10:22:35', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375679 -2.78132)'), GeomFromEWKT('SRID=4674;POINT (-40.375792 -2.781379)'))) / (select extract(epoch from '2026-07-06 10:22:35'::timestamp) - extract(epoch from '2026-07-06 10:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375679 -2.78132)'), GeomFromEWKT('SRID=4674;POINT (-40.375792 -2.781379)'))) / (select extract(epoch from '2026-07-06 10:22:35'::timestamp) - extract(epoch from '2026-07-06 10:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.375908 -2.781419)', '2026-07-06 10:22:41', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375792 -2.781379)'), GeomFromEWKT('SRID=4674;POINT (-40.375908 -2.781419)'))) / (select extract(epoch from '2026-07-06 10:22:41'::timestamp) - extract(epoch from '2026-07-06 10:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375792 -2.781379)'), GeomFromEWKT('SRID=4674;POINT (-40.375908 -2.781419)'))) / (select extract(epoch from '2026-07-06 10:22:41'::timestamp) - extract(epoch from '2026-07-06 10:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.376045 -2.781449)', '2026-07-06 10:22:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375908 -2.781419)'), GeomFromEWKT('SRID=4674;POINT (-40.376045 -2.781449)'))) / (select extract(epoch from '2026-07-06 10:22:48'::timestamp) - extract(epoch from '2026-07-06 10:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375908 -2.781419)'), GeomFromEWKT('SRID=4674;POINT (-40.376045 -2.781449)'))) / (select extract(epoch from '2026-07-06 10:22:48'::timestamp) - extract(epoch from '2026-07-06 10:22: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'), 47828, 'SRID=4674;POINT (-40.376205 -2.78146)', '2026-07-06 10:22:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376045 -2.781449)'), GeomFromEWKT('SRID=4674;POINT (-40.376205 -2.78146)'))) / (select extract(epoch from '2026-07-06 10:22:56'::timestamp) - extract(epoch from '2026-07-06 10:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376045 -2.781449)'), GeomFromEWKT('SRID=4674;POINT (-40.376205 -2.78146)'))) / (select extract(epoch from '2026-07-06 10:22:56'::timestamp) - extract(epoch from '2026-07-06 10:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.376304 -2.781506)', '2026-07-06 10:23:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376205 -2.78146)'), GeomFromEWKT('SRID=4674;POINT (-40.376304 -2.781506)'))) / (select extract(epoch from '2026-07-06 10:23:02'::timestamp) - extract(epoch from '2026-07-06 10:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376205 -2.78146)'), GeomFromEWKT('SRID=4674;POINT (-40.376304 -2.781506)'))) / (select extract(epoch from '2026-07-06 10:23:02'::timestamp) - extract(epoch from '2026-07-06 10:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.376403 -2.781582)', '2026-07-06 10:23:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376304 -2.781506)'), GeomFromEWKT('SRID=4674;POINT (-40.376403 -2.781582)'))) / (select extract(epoch from '2026-07-06 10:23:09'::timestamp) - extract(epoch from '2026-07-06 10:23:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376304 -2.781506)'), GeomFromEWKT('SRID=4674;POINT (-40.376403 -2.781582)'))) / (select extract(epoch from '2026-07-06 10:23:09'::timestamp) - extract(epoch from '2026-07-06 10:23: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'), 47828, 'SRID=4674;POINT (-40.376528 -2.781646)', '2026-07-06 10:23:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376403 -2.781582)'), GeomFromEWKT('SRID=4674;POINT (-40.376528 -2.781646)'))) / (select extract(epoch from '2026-07-06 10:23:16'::timestamp) - extract(epoch from '2026-07-06 10:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376403 -2.781582)'), GeomFromEWKT('SRID=4674;POINT (-40.376528 -2.781646)'))) / (select extract(epoch from '2026-07-06 10:23:16'::timestamp) - extract(epoch from '2026-07-06 10:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.376639 -2.781679)', '2026-07-06 10:23:22', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376528 -2.781646)'), GeomFromEWKT('SRID=4674;POINT (-40.376639 -2.781679)'))) / (select extract(epoch from '2026-07-06 10:23:22'::timestamp) - extract(epoch from '2026-07-06 10:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376528 -2.781646)'), GeomFromEWKT('SRID=4674;POINT (-40.376639 -2.781679)'))) / (select extract(epoch from '2026-07-06 10:23:22'::timestamp) - extract(epoch from '2026-07-06 10:23: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'), 47828, 'SRID=4674;POINT (-40.376785 -2.781747)', '2026-07-06 10:23:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376639 -2.781679)'), GeomFromEWKT('SRID=4674;POINT (-40.376785 -2.781747)'))) / (select extract(epoch from '2026-07-06 10:23:30'::timestamp) - extract(epoch from '2026-07-06 10:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376639 -2.781679)'), GeomFromEWKT('SRID=4674;POINT (-40.376785 -2.781747)'))) / (select extract(epoch from '2026-07-06 10:23:30'::timestamp) - extract(epoch from '2026-07-06 10:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.376938 -2.781828)', '2026-07-06 10:23:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376785 -2.781747)'), GeomFromEWKT('SRID=4674;POINT (-40.376938 -2.781828)'))) / (select extract(epoch from '2026-07-06 10:23:39'::timestamp) - extract(epoch from '2026-07-06 10:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376785 -2.781747)'), GeomFromEWKT('SRID=4674;POINT (-40.376938 -2.781828)'))) / (select extract(epoch from '2026-07-06 10:23:39'::timestamp) - extract(epoch from '2026-07-06 10:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.377061 -2.781892)', '2026-07-06 10:23:46', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376938 -2.781828)'), GeomFromEWKT('SRID=4674;POINT (-40.377061 -2.781892)'))) / (select extract(epoch from '2026-07-06 10:23:46'::timestamp) - extract(epoch from '2026-07-06 10:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376938 -2.781828)'), GeomFromEWKT('SRID=4674;POINT (-40.377061 -2.781892)'))) / (select extract(epoch from '2026-07-06 10:23:46'::timestamp) - extract(epoch from '2026-07-06 10:23: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'), 47828, 'SRID=4674;POINT (-40.377161 -2.781957)', '2026-07-06 10:23:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377061 -2.781892)'), GeomFromEWKT('SRID=4674;POINT (-40.377161 -2.781957)'))) / (select extract(epoch from '2026-07-06 10:23:52'::timestamp) - extract(epoch from '2026-07-06 10:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377061 -2.781892)'), GeomFromEWKT('SRID=4674;POINT (-40.377161 -2.781957)'))) / (select extract(epoch from '2026-07-06 10:23:52'::timestamp) - extract(epoch from '2026-07-06 10:23: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'), 47828, 'SRID=4674;POINT (-40.37729 -2.78205)', '2026-07-06 10:24:00', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377161 -2.781957)'), GeomFromEWKT('SRID=4674;POINT (-40.37729 -2.78205)'))) / (select extract(epoch from '2026-07-06 10:24:00'::timestamp) - extract(epoch from '2026-07-06 10:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377161 -2.781957)'), GeomFromEWKT('SRID=4674;POINT (-40.37729 -2.78205)'))) / (select extract(epoch from '2026-07-06 10:24:00'::timestamp) - extract(epoch from '2026-07-06 10:23: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'), 47828, 'SRID=4674;POINT (-40.377396 -2.782095)', '2026-07-06 10:24:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37729 -2.78205)'), GeomFromEWKT('SRID=4674;POINT (-40.377396 -2.782095)'))) / (select extract(epoch from '2026-07-06 10:24:06'::timestamp) - extract(epoch from '2026-07-06 10:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37729 -2.78205)'), GeomFromEWKT('SRID=4674;POINT (-40.377396 -2.782095)'))) / (select extract(epoch from '2026-07-06 10:24:06'::timestamp) - extract(epoch from '2026-07-06 10:24: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'), 47828, 'SRID=4674;POINT (-40.377514 -2.782132)', '2026-07-06 10:24:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377396 -2.782095)'), GeomFromEWKT('SRID=4674;POINT (-40.377514 -2.782132)'))) / (select extract(epoch from '2026-07-06 10:24:12'::timestamp) - extract(epoch from '2026-07-06 10:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377396 -2.782095)'), GeomFromEWKT('SRID=4674;POINT (-40.377514 -2.782132)'))) / (select extract(epoch from '2026-07-06 10:24:12'::timestamp) - extract(epoch from '2026-07-06 10:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.377683 -2.782186)', '2026-07-06 10:24:21', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377514 -2.782132)'), GeomFromEWKT('SRID=4674;POINT (-40.377683 -2.782186)'))) / (select extract(epoch from '2026-07-06 10:24:21'::timestamp) - extract(epoch from '2026-07-06 10:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377514 -2.782132)'), GeomFromEWKT('SRID=4674;POINT (-40.377683 -2.782186)'))) / (select extract(epoch from '2026-07-06 10:24:21'::timestamp) - extract(epoch from '2026-07-06 10:24: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'), 47828, 'SRID=4674;POINT (-40.377849 -2.782258)', '2026-07-06 10:24:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377683 -2.782186)'), GeomFromEWKT('SRID=4674;POINT (-40.377849 -2.782258)'))) / (select extract(epoch from '2026-07-06 10:24:30'::timestamp) - extract(epoch from '2026-07-06 10:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377683 -2.782186)'), GeomFromEWKT('SRID=4674;POINT (-40.377849 -2.782258)'))) / (select extract(epoch from '2026-07-06 10:24:30'::timestamp) - extract(epoch from '2026-07-06 10:24: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'), 47828, 'SRID=4674;POINT (-40.378039 -2.782339)', '2026-07-06 10:24:40', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377849 -2.782258)'), GeomFromEWKT('SRID=4674;POINT (-40.378039 -2.782339)'))) / (select extract(epoch from '2026-07-06 10:24:40'::timestamp) - extract(epoch from '2026-07-06 10:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377849 -2.782258)'), GeomFromEWKT('SRID=4674;POINT (-40.378039 -2.782339)'))) / (select extract(epoch from '2026-07-06 10:24:40'::timestamp) - extract(epoch from '2026-07-06 10:24: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'), 47828, 'SRID=4674;POINT (-40.378184 -2.782403)', '2026-07-06 10:24:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378039 -2.782339)'), GeomFromEWKT('SRID=4674;POINT (-40.378184 -2.782403)'))) / (select extract(epoch from '2026-07-06 10:24:48'::timestamp) - extract(epoch from '2026-07-06 10:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378039 -2.782339)'), GeomFromEWKT('SRID=4674;POINT (-40.378184 -2.782403)'))) / (select extract(epoch from '2026-07-06 10:24:48'::timestamp) - extract(epoch from '2026-07-06 10:24:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.378304 -2.782451)', '2026-07-06 10:24:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378184 -2.782403)'), GeomFromEWKT('SRID=4674;POINT (-40.378304 -2.782451)'))) / (select extract(epoch from '2026-07-06 10:24:54'::timestamp) - extract(epoch from '2026-07-06 10:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378184 -2.782403)'), GeomFromEWKT('SRID=4674;POINT (-40.378304 -2.782451)'))) / (select extract(epoch from '2026-07-06 10:24:54'::timestamp) - extract(epoch from '2026-07-06 10:24: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'), 47828, 'SRID=4674;POINT (-40.378396 -2.7825)', '2026-07-06 10:24:59', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378304 -2.782451)'), GeomFromEWKT('SRID=4674;POINT (-40.378396 -2.7825)'))) / (select extract(epoch from '2026-07-06 10:24:59'::timestamp) - extract(epoch from '2026-07-06 10:24:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378304 -2.782451)'), GeomFromEWKT('SRID=4674;POINT (-40.378396 -2.7825)'))) / (select extract(epoch from '2026-07-06 10:24:59'::timestamp) - extract(epoch from '2026-07-06 10:24:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.378518 -2.782576)', '2026-07-06 10:25:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378396 -2.7825)'), GeomFromEWKT('SRID=4674;POINT (-40.378518 -2.782576)'))) / (select extract(epoch from '2026-07-06 10:25:06'::timestamp) - extract(epoch from '2026-07-06 10:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378396 -2.7825)'), GeomFromEWKT('SRID=4674;POINT (-40.378518 -2.782576)'))) / (select extract(epoch from '2026-07-06 10:25:06'::timestamp) - extract(epoch from '2026-07-06 10:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.378621 -2.782667)', '2026-07-06 10:25:13', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378518 -2.782576)'), GeomFromEWKT('SRID=4674;POINT (-40.378621 -2.782667)'))) / (select extract(epoch from '2026-07-06 10:25:13'::timestamp) - extract(epoch from '2026-07-06 10:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378518 -2.782576)'), GeomFromEWKT('SRID=4674;POINT (-40.378621 -2.782667)'))) / (select extract(epoch from '2026-07-06 10:25:13'::timestamp) - extract(epoch from '2026-07-06 10:25: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'), 47828, 'SRID=4674;POINT (-40.378737 -2.782741)', '2026-07-06 10:25:20', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378621 -2.782667)'), GeomFromEWKT('SRID=4674;POINT (-40.378737 -2.782741)'))) / (select extract(epoch from '2026-07-06 10:25:20'::timestamp) - extract(epoch from '2026-07-06 10:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378621 -2.782667)'), GeomFromEWKT('SRID=4674;POINT (-40.378737 -2.782741)'))) / (select extract(epoch from '2026-07-06 10:25:20'::timestamp) - extract(epoch from '2026-07-06 10:25: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'), 47828, 'SRID=4674;POINT (-40.378873 -2.782786)', '2026-07-06 10:25:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378737 -2.782741)'), GeomFromEWKT('SRID=4674;POINT (-40.378873 -2.782786)'))) / (select extract(epoch from '2026-07-06 10:25:27'::timestamp) - extract(epoch from '2026-07-06 10:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378737 -2.782741)'), GeomFromEWKT('SRID=4674;POINT (-40.378873 -2.782786)'))) / (select extract(epoch from '2026-07-06 10:25:27'::timestamp) - extract(epoch from '2026-07-06 10:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.37899 -2.782821)', '2026-07-06 10:25:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378873 -2.782786)'), GeomFromEWKT('SRID=4674;POINT (-40.37899 -2.782821)'))) / (select extract(epoch from '2026-07-06 10:25:33'::timestamp) - extract(epoch from '2026-07-06 10:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378873 -2.782786)'), GeomFromEWKT('SRID=4674;POINT (-40.37899 -2.782821)'))) / (select extract(epoch from '2026-07-06 10:25:33'::timestamp) - extract(epoch from '2026-07-06 10:25:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.379162 -2.78287)', '2026-07-06 10:25:42', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37899 -2.782821)'), GeomFromEWKT('SRID=4674;POINT (-40.379162 -2.78287)'))) / (select extract(epoch from '2026-07-06 10:25:42'::timestamp) - extract(epoch from '2026-07-06 10:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37899 -2.782821)'), GeomFromEWKT('SRID=4674;POINT (-40.379162 -2.78287)'))) / (select extract(epoch from '2026-07-06 10:25:42'::timestamp) - extract(epoch from '2026-07-06 10:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.379321 -2.78292)', '2026-07-06 10:25:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379162 -2.78287)'), GeomFromEWKT('SRID=4674;POINT (-40.379321 -2.78292)'))) / (select extract(epoch from '2026-07-06 10:25:50'::timestamp) - extract(epoch from '2026-07-06 10:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379162 -2.78287)'), GeomFromEWKT('SRID=4674;POINT (-40.379321 -2.78292)'))) / (select extract(epoch from '2026-07-06 10:25:50'::timestamp) - extract(epoch from '2026-07-06 10:25: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'), 47828, 'SRID=4674;POINT (-40.379429 -2.782961)', '2026-07-06 10:25:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379321 -2.78292)'), GeomFromEWKT('SRID=4674;POINT (-40.379429 -2.782961)'))) / (select extract(epoch from '2026-07-06 10:25:56'::timestamp) - extract(epoch from '2026-07-06 10:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379321 -2.78292)'), GeomFromEWKT('SRID=4674;POINT (-40.379429 -2.782961)'))) / (select extract(epoch from '2026-07-06 10:25:56'::timestamp) - extract(epoch from '2026-07-06 10:25: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'), 47828, 'SRID=4674;POINT (-40.379502 -2.783024)', '2026-07-06 10:26:01', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379429 -2.782961)'), GeomFromEWKT('SRID=4674;POINT (-40.379502 -2.783024)'))) / (select extract(epoch from '2026-07-06 10:26:01'::timestamp) - extract(epoch from '2026-07-06 10:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379429 -2.782961)'), GeomFromEWKT('SRID=4674;POINT (-40.379502 -2.783024)'))) / (select extract(epoch from '2026-07-06 10:26:01'::timestamp) - extract(epoch from '2026-07-06 10:25:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.379602 -2.783123)', '2026-07-06 10:26:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379502 -2.783024)'), GeomFromEWKT('SRID=4674;POINT (-40.379602 -2.783123)'))) / (select extract(epoch from '2026-07-06 10:26:09'::timestamp) - extract(epoch from '2026-07-06 10:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379502 -2.783024)'), GeomFromEWKT('SRID=4674;POINT (-40.379602 -2.783123)'))) / (select extract(epoch from '2026-07-06 10:26:09'::timestamp) - extract(epoch from '2026-07-06 10:26: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'), 47828, 'SRID=4674;POINT (-40.37976 -2.783204)', '2026-07-06 10:26:18', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379602 -2.783123)'), GeomFromEWKT('SRID=4674;POINT (-40.37976 -2.783204)'))) / (select extract(epoch from '2026-07-06 10:26:18'::timestamp) - extract(epoch from '2026-07-06 10:26:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379602 -2.783123)'), GeomFromEWKT('SRID=4674;POINT (-40.37976 -2.783204)'))) / (select extract(epoch from '2026-07-06 10:26:18'::timestamp) - extract(epoch from '2026-07-06 10:26: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'), 47828, 'SRID=4674;POINT (-40.379904 -2.783269)', '2026-07-06 10:26:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37976 -2.783204)'), GeomFromEWKT('SRID=4674;POINT (-40.379904 -2.783269)'))) / (select extract(epoch from '2026-07-06 10:26:26'::timestamp) - extract(epoch from '2026-07-06 10:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37976 -2.783204)'), GeomFromEWKT('SRID=4674;POINT (-40.379904 -2.783269)'))) / (select extract(epoch from '2026-07-06 10:26:26'::timestamp) - extract(epoch from '2026-07-06 10:26:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.380033 -2.783319)', '2026-07-06 10:26:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379904 -2.783269)'), GeomFromEWKT('SRID=4674;POINT (-40.380033 -2.783319)'))) / (select extract(epoch from '2026-07-06 10:26:33'::timestamp) - extract(epoch from '2026-07-06 10:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379904 -2.783269)'), GeomFromEWKT('SRID=4674;POINT (-40.380033 -2.783319)'))) / (select extract(epoch from '2026-07-06 10:26:33'::timestamp) - extract(epoch from '2026-07-06 10:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.38015 -2.783351)', '2026-07-06 10:26:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380033 -2.783319)'), GeomFromEWKT('SRID=4674;POINT (-40.38015 -2.783351)'))) / (select extract(epoch from '2026-07-06 10:26:39'::timestamp) - extract(epoch from '2026-07-06 10:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380033 -2.783319)'), GeomFromEWKT('SRID=4674;POINT (-40.38015 -2.783351)'))) / (select extract(epoch from '2026-07-06 10:26:39'::timestamp) - extract(epoch from '2026-07-06 10:26: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'), 47828, 'SRID=4674;POINT (-40.380296 -2.78342)', '2026-07-06 10:26:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38015 -2.783351)'), GeomFromEWKT('SRID=4674;POINT (-40.380296 -2.78342)'))) / (select extract(epoch from '2026-07-06 10:26:47'::timestamp) - extract(epoch from '2026-07-06 10:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38015 -2.783351)'), GeomFromEWKT('SRID=4674;POINT (-40.380296 -2.78342)'))) / (select extract(epoch from '2026-07-06 10:26:47'::timestamp) - extract(epoch from '2026-07-06 10:26: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'), 47828, 'SRID=4674;POINT (-40.380465 -2.783478)', '2026-07-06 10:26:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380296 -2.78342)'), GeomFromEWKT('SRID=4674;POINT (-40.380465 -2.783478)'))) / (select extract(epoch from '2026-07-06 10:26:56'::timestamp) - extract(epoch from '2026-07-06 10:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380296 -2.78342)'), GeomFromEWKT('SRID=4674;POINT (-40.380465 -2.783478)'))) / (select extract(epoch from '2026-07-06 10:26:56'::timestamp) - extract(epoch from '2026-07-06 10:26: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'), 47828, 'SRID=4674;POINT (-40.38062 -2.783509)', '2026-07-06 10:27:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380465 -2.783478)'), GeomFromEWKT('SRID=4674;POINT (-40.38062 -2.783509)'))) / (select extract(epoch from '2026-07-06 10:27:04'::timestamp) - extract(epoch from '2026-07-06 10:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380465 -2.783478)'), GeomFromEWKT('SRID=4674;POINT (-40.38062 -2.783509)'))) / (select extract(epoch from '2026-07-06 10:27:04'::timestamp) - extract(epoch from '2026-07-06 10:26: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'), 47828, 'SRID=4674;POINT (-40.380749 -2.78356)', '2026-07-06 10:27:11', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38062 -2.783509)'), GeomFromEWKT('SRID=4674;POINT (-40.380749 -2.78356)'))) / (select extract(epoch from '2026-07-06 10:27:11'::timestamp) - extract(epoch from '2026-07-06 10:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38062 -2.783509)'), GeomFromEWKT('SRID=4674;POINT (-40.380749 -2.78356)'))) / (select extract(epoch from '2026-07-06 10:27:11'::timestamp) - extract(epoch from '2026-07-06 10:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.380835 -2.783628)', '2026-07-06 10:27:17', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380749 -2.78356)'), GeomFromEWKT('SRID=4674;POINT (-40.380835 -2.783628)'))) / (select extract(epoch from '2026-07-06 10:27:17'::timestamp) - extract(epoch from '2026-07-06 10:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380749 -2.78356)'), GeomFromEWKT('SRID=4674;POINT (-40.380835 -2.783628)'))) / (select extract(epoch from '2026-07-06 10:27:17'::timestamp) - extract(epoch from '2026-07-06 10:27: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'), 47828, 'SRID=4674;POINT (-40.380921 -2.783716)', '2026-07-06 10:27:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380835 -2.783628)'), GeomFromEWKT('SRID=4674;POINT (-40.380921 -2.783716)'))) / (select extract(epoch from '2026-07-06 10:27:24'::timestamp) - extract(epoch from '2026-07-06 10:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380835 -2.783628)'), GeomFromEWKT('SRID=4674;POINT (-40.380921 -2.783716)'))) / (select extract(epoch from '2026-07-06 10:27:24'::timestamp) - extract(epoch from '2026-07-06 10:27: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'), 47828, 'SRID=4674;POINT (-40.381017 -2.783781)', '2026-07-06 10:27:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380921 -2.783716)'), GeomFromEWKT('SRID=4674;POINT (-40.381017 -2.783781)'))) / (select extract(epoch from '2026-07-06 10:27:30'::timestamp) - extract(epoch from '2026-07-06 10:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380921 -2.783716)'), GeomFromEWKT('SRID=4674;POINT (-40.381017 -2.783781)'))) / (select extract(epoch from '2026-07-06 10:27:30'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.381137 -2.783849)', '2026-07-06 10:27:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381017 -2.783781)'), GeomFromEWKT('SRID=4674;POINT (-40.381137 -2.783849)'))) / (select extract(epoch from '2026-07-06 10:27:37'::timestamp) - extract(epoch from '2026-07-06 10:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381017 -2.783781)'), GeomFromEWKT('SRID=4674;POINT (-40.381137 -2.783849)'))) / (select extract(epoch from '2026-07-06 10:27:37'::timestamp) - extract(epoch from '2026-07-06 10:27:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.381247 -2.783899)', '2026-07-06 10:27:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381137 -2.783849)'), GeomFromEWKT('SRID=4674;POINT (-40.381247 -2.783899)'))) / (select extract(epoch from '2026-07-06 10:27:43'::timestamp) - extract(epoch from '2026-07-06 10:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381137 -2.783849)'), GeomFromEWKT('SRID=4674;POINT (-40.381247 -2.783899)'))) / (select extract(epoch from '2026-07-06 10:27:43'::timestamp) - extract(epoch from '2026-07-06 10:27:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.381348 -2.783942)', '2026-07-06 10:27:48', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381247 -2.783899)'), GeomFromEWKT('SRID=4674;POINT (-40.381348 -2.783942)'))) / (select extract(epoch from '2026-07-06 10:27:48'::timestamp) - extract(epoch from '2026-07-06 10:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381247 -2.783899)'), GeomFromEWKT('SRID=4674;POINT (-40.381348 -2.783942)'))) / (select extract(epoch from '2026-07-06 10:27:48'::timestamp) - extract(epoch from '2026-07-06 10:27: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'), 47828, 'SRID=4674;POINT (-40.381441 -2.783979)', '2026-07-06 10:27:53', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381348 -2.783942)'), GeomFromEWKT('SRID=4674;POINT (-40.381441 -2.783979)'))) / (select extract(epoch from '2026-07-06 10:27:53'::timestamp) - extract(epoch from '2026-07-06 10:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381348 -2.783942)'), GeomFromEWKT('SRID=4674;POINT (-40.381441 -2.783979)'))) / (select extract(epoch from '2026-07-06 10:27:53'::timestamp) - extract(epoch from '2026-07-06 10:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.381567 -2.784022)', '2026-07-06 10:28:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381441 -2.783979)'), GeomFromEWKT('SRID=4674;POINT (-40.381567 -2.784022)'))) / (select extract(epoch from '2026-07-06 10:28:00'::timestamp) - extract(epoch from '2026-07-06 10:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381441 -2.783979)'), GeomFromEWKT('SRID=4674;POINT (-40.381567 -2.784022)'))) / (select extract(epoch from '2026-07-06 10:28:00'::timestamp) - extract(epoch from '2026-07-06 10:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.381678 -2.784069)', '2026-07-06 10:28:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381567 -2.784022)'), GeomFromEWKT('SRID=4674;POINT (-40.381678 -2.784069)'))) / (select extract(epoch from '2026-07-06 10:28:06'::timestamp) - extract(epoch from '2026-07-06 10:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381567 -2.784022)'), GeomFromEWKT('SRID=4674;POINT (-40.381678 -2.784069)'))) / (select extract(epoch from '2026-07-06 10:28:06'::timestamp) - extract(epoch from '2026-07-06 10:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.381836 -2.784112)', '2026-07-06 10:28:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381678 -2.784069)'), GeomFromEWKT('SRID=4674;POINT (-40.381836 -2.784112)'))) / (select extract(epoch from '2026-07-06 10:28:14'::timestamp) - extract(epoch from '2026-07-06 10:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381678 -2.784069)'), GeomFromEWKT('SRID=4674;POINT (-40.381836 -2.784112)'))) / (select extract(epoch from '2026-07-06 10:28:14'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.381996 -2.78412)', '2026-07-06 10:28:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381836 -2.784112)'), GeomFromEWKT('SRID=4674;POINT (-40.381996 -2.78412)'))) / (select extract(epoch from '2026-07-06 10:28:22'::timestamp) - extract(epoch from '2026-07-06 10:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381836 -2.784112)'), GeomFromEWKT('SRID=4674;POINT (-40.381996 -2.78412)'))) / (select extract(epoch from '2026-07-06 10:28:22'::timestamp) - extract(epoch from '2026-07-06 10:28:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.382097 -2.784131)', '2026-07-06 10:28:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381996 -2.78412)'), GeomFromEWKT('SRID=4674;POINT (-40.382097 -2.784131)'))) / (select extract(epoch from '2026-07-06 10:28:27'::timestamp) - extract(epoch from '2026-07-06 10:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381996 -2.78412)'), GeomFromEWKT('SRID=4674;POINT (-40.382097 -2.784131)'))) / (select extract(epoch from '2026-07-06 10:28:27'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.38224 -2.784155)', '2026-07-06 10:28:34', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382097 -2.784131)'), GeomFromEWKT('SRID=4674;POINT (-40.38224 -2.784155)'))) / (select extract(epoch from '2026-07-06 10:28:34'::timestamp) - extract(epoch from '2026-07-06 10:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382097 -2.784131)'), GeomFromEWKT('SRID=4674;POINT (-40.38224 -2.784155)'))) / (select extract(epoch from '2026-07-06 10:28:34'::timestamp) - extract(epoch from '2026-07-06 10:28:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.382374 -2.784193)', '2026-07-06 10:28:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38224 -2.784155)'), GeomFromEWKT('SRID=4674;POINT (-40.382374 -2.784193)'))) / (select extract(epoch from '2026-07-06 10:28:41'::timestamp) - extract(epoch from '2026-07-06 10:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38224 -2.784155)'), GeomFromEWKT('SRID=4674;POINT (-40.382374 -2.784193)'))) / (select extract(epoch from '2026-07-06 10:28:41'::timestamp) - extract(epoch from '2026-07-06 10:28: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'), 47828, 'SRID=4674;POINT (-40.382511 -2.784243)', '2026-07-06 10:28:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382374 -2.784193)'), GeomFromEWKT('SRID=4674;POINT (-40.382511 -2.784243)'))) / (select extract(epoch from '2026-07-06 10:28:49'::timestamp) - extract(epoch from '2026-07-06 10:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382374 -2.784193)'), GeomFromEWKT('SRID=4674;POINT (-40.382511 -2.784243)'))) / (select extract(epoch from '2026-07-06 10:28:49'::timestamp) - extract(epoch from '2026-07-06 10:28:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.382634 -2.784286)', '2026-07-06 10:28:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382511 -2.784243)'), GeomFromEWKT('SRID=4674;POINT (-40.382634 -2.784286)'))) / (select extract(epoch from '2026-07-06 10:28:56'::timestamp) - extract(epoch from '2026-07-06 10:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382511 -2.784243)'), GeomFromEWKT('SRID=4674;POINT (-40.382634 -2.784286)'))) / (select extract(epoch from '2026-07-06 10:28:56'::timestamp) - extract(epoch from '2026-07-06 10:28: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'), 47828, 'SRID=4674;POINT (-40.382736 -2.784338)', '2026-07-06 10:29:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382634 -2.784286)'), GeomFromEWKT('SRID=4674;POINT (-40.382736 -2.784338)'))) / (select extract(epoch from '2026-07-06 10:29:02'::timestamp) - extract(epoch from '2026-07-06 10:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382634 -2.784286)'), GeomFromEWKT('SRID=4674;POINT (-40.382736 -2.784338)'))) / (select extract(epoch from '2026-07-06 10:29:02'::timestamp) - extract(epoch from '2026-07-06 10:28: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'), 47828, 'SRID=4674;POINT (-40.382844 -2.784405)', '2026-07-06 10:29:09', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382736 -2.784338)'), GeomFromEWKT('SRID=4674;POINT (-40.382844 -2.784405)'))) / (select extract(epoch from '2026-07-06 10:29:09'::timestamp) - extract(epoch from '2026-07-06 10:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382736 -2.784338)'), GeomFromEWKT('SRID=4674;POINT (-40.382844 -2.784405)'))) / (select extract(epoch from '2026-07-06 10:29:09'::timestamp) - extract(epoch from '2026-07-06 10:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.382926 -2.784513)', '2026-07-06 10:29:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382844 -2.784405)'), GeomFromEWKT('SRID=4674;POINT (-40.382926 -2.784513)'))) / (select extract(epoch from '2026-07-06 10:29:17'::timestamp) - extract(epoch from '2026-07-06 10:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382844 -2.784405)'), GeomFromEWKT('SRID=4674;POINT (-40.382926 -2.784513)'))) / (select extract(epoch from '2026-07-06 10:29:17'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.382963 -2.7846)', '2026-07-06 10:29:23', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382926 -2.784513)'), GeomFromEWKT('SRID=4674;POINT (-40.382963 -2.7846)'))) / (select extract(epoch from '2026-07-06 10:29:23'::timestamp) - extract(epoch from '2026-07-06 10:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382926 -2.784513)'), GeomFromEWKT('SRID=4674;POINT (-40.382963 -2.7846)'))) / (select extract(epoch from '2026-07-06 10:29:23'::timestamp) - extract(epoch from '2026-07-06 10:29: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'), 47828, 'SRID=4674;POINT (-40.383019 -2.784654)', '2026-07-06 10:29:29', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382963 -2.7846)'), GeomFromEWKT('SRID=4674;POINT (-40.383019 -2.784654)'))) / (select extract(epoch from '2026-07-06 10:29:29'::timestamp) - extract(epoch from '2026-07-06 10:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382963 -2.7846)'), GeomFromEWKT('SRID=4674;POINT (-40.383019 -2.784654)'))) / (select extract(epoch from '2026-07-06 10:29:29'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.383118 -2.784696)', '2026-07-06 10:29:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383019 -2.784654)'), GeomFromEWKT('SRID=4674;POINT (-40.383118 -2.784696)'))) / (select extract(epoch from '2026-07-06 10:29:37'::timestamp) - extract(epoch from '2026-07-06 10:29:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383019 -2.784654)'), GeomFromEWKT('SRID=4674;POINT (-40.383118 -2.784696)'))) / (select extract(epoch from '2026-07-06 10:29:37'::timestamp) - extract(epoch from '2026-07-06 10:29:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383211 -2.784768)', '2026-07-06 10:29:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383118 -2.784696)'), GeomFromEWKT('SRID=4674;POINT (-40.383211 -2.784768)'))) / (select extract(epoch from '2026-07-06 10:29:45'::timestamp) - extract(epoch from '2026-07-06 10:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383118 -2.784696)'), GeomFromEWKT('SRID=4674;POINT (-40.383211 -2.784768)'))) / (select extract(epoch from '2026-07-06 10:29:45'::timestamp) - extract(epoch from '2026-07-06 10:29: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'), 47828, 'SRID=4674;POINT (-40.383297 -2.784814)', '2026-07-06 10:29:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383211 -2.784768)'), GeomFromEWKT('SRID=4674;POINT (-40.383297 -2.784814)'))) / (select extract(epoch from '2026-07-06 10:29:51'::timestamp) - extract(epoch from '2026-07-06 10:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383211 -2.784768)'), GeomFromEWKT('SRID=4674;POINT (-40.383297 -2.784814)'))) / (select extract(epoch from '2026-07-06 10:29:51'::timestamp) - extract(epoch from '2026-07-06 10:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383368 -2.784846)', '2026-07-06 10:29:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383297 -2.784814)'), GeomFromEWKT('SRID=4674;POINT (-40.383368 -2.784846)'))) / (select extract(epoch from '2026-07-06 10:29:57'::timestamp) - extract(epoch from '2026-07-06 10:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383297 -2.784814)'), GeomFromEWKT('SRID=4674;POINT (-40.383368 -2.784846)'))) / (select extract(epoch from '2026-07-06 10:29:57'::timestamp) - extract(epoch from '2026-07-06 10:29: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'), 47828, 'SRID=4674;POINT (-40.383409 -2.784845)', '2026-07-06 10:30:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383368 -2.784846)'), GeomFromEWKT('SRID=4674;POINT (-40.383409 -2.784845)'))) / (select extract(epoch from '2026-07-06 10:30:01'::timestamp) - extract(epoch from '2026-07-06 10:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383368 -2.784846)'), GeomFromEWKT('SRID=4674;POINT (-40.383409 -2.784845)'))) / (select extract(epoch from '2026-07-06 10:30:01'::timestamp) - extract(epoch from '2026-07-06 10:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383429 -2.784843)', '2026-07-06 10:30:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383409 -2.784845)'), GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.784843)'))) / (select extract(epoch from '2026-07-06 10:30:03'::timestamp) - extract(epoch from '2026-07-06 10:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383409 -2.784845)'), GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.784843)'))) / (select extract(epoch from '2026-07-06 10:30:03'::timestamp) - extract(epoch from '2026-07-06 10:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383439 -2.78484)', '2026-07-06 10:30:04', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.784843)'), GeomFromEWKT('SRID=4674;POINT (-40.383439 -2.78484)'))) / (select extract(epoch from '2026-07-06 10:30:04'::timestamp) - extract(epoch from '2026-07-06 10:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383429 -2.784843)'), GeomFromEWKT('SRID=4674;POINT (-40.383439 -2.78484)'))) / (select extract(epoch from '2026-07-06 10:30:04'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.383475 -2.784823)', '2026-07-06 10:30:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383439 -2.78484)'), GeomFromEWKT('SRID=4674;POINT (-40.383475 -2.784823)'))) / (select extract(epoch from '2026-07-06 10:30:09'::timestamp) - extract(epoch from '2026-07-06 10:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383439 -2.78484)'), GeomFromEWKT('SRID=4674;POINT (-40.383475 -2.784823)'))) / (select extract(epoch from '2026-07-06 10:30:09'::timestamp) - extract(epoch from '2026-07-06 10:30: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'), 47828, 'SRID=4674;POINT (-40.383511 -2.784797)', '2026-07-06 10:30:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383475 -2.784823)'), GeomFromEWKT('SRID=4674;POINT (-40.383511 -2.784797)'))) / (select extract(epoch from '2026-07-06 10:30:17'::timestamp) - extract(epoch from '2026-07-06 10:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383475 -2.784823)'), GeomFromEWKT('SRID=4674;POINT (-40.383511 -2.784797)'))) / (select extract(epoch from '2026-07-06 10:30:17'::timestamp) - extract(epoch from '2026-07-06 10:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383538 -2.784766)', '2026-07-06 10:30:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383511 -2.784797)'), GeomFromEWKT('SRID=4674;POINT (-40.383538 -2.784766)'))) / (select extract(epoch from '2026-07-06 10:30:25'::timestamp) - extract(epoch from '2026-07-06 10:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383511 -2.784797)'), GeomFromEWKT('SRID=4674;POINT (-40.383538 -2.784766)'))) / (select extract(epoch from '2026-07-06 10:30:25'::timestamp) - extract(epoch from '2026-07-06 10:30:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383556 -2.784742)', '2026-07-06 10:30:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383538 -2.784766)'), GeomFromEWKT('SRID=4674;POINT (-40.383556 -2.784742)'))) / (select extract(epoch from '2026-07-06 10:30:32'::timestamp) - extract(epoch from '2026-07-06 10:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383538 -2.784766)'), GeomFromEWKT('SRID=4674;POINT (-40.383556 -2.784742)'))) / (select extract(epoch from '2026-07-06 10:30:32'::timestamp) - extract(epoch from '2026-07-06 10:30: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'), 47828, 'SRID=4674;POINT (-40.383577 -2.784727)', '2026-07-06 10:30:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383556 -2.784742)'), GeomFromEWKT('SRID=4674;POINT (-40.383577 -2.784727)'))) / (select extract(epoch from '2026-07-06 10:30:40'::timestamp) - extract(epoch from '2026-07-06 10:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383556 -2.784742)'), GeomFromEWKT('SRID=4674;POINT (-40.383577 -2.784727)'))) / (select extract(epoch from '2026-07-06 10:30:40'::timestamp) - extract(epoch from '2026-07-06 10:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.3836 -2.784704)', '2026-07-06 10:30:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383577 -2.784727)'), GeomFromEWKT('SRID=4674;POINT (-40.3836 -2.784704)'))) / (select extract(epoch from '2026-07-06 10:30:49'::timestamp) - extract(epoch from '2026-07-06 10:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383577 -2.784727)'), GeomFromEWKT('SRID=4674;POINT (-40.3836 -2.784704)'))) / (select extract(epoch from '2026-07-06 10:30:49'::timestamp) - extract(epoch from '2026-07-06 10:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383605 -2.784697)', '2026-07-06 10:31:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3836 -2.784704)'), GeomFromEWKT('SRID=4674;POINT (-40.383605 -2.784697)'))) / (select extract(epoch from '2026-07-06 10:31:01'::timestamp) - extract(epoch from '2026-07-06 10:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3836 -2.784704)'), GeomFromEWKT('SRID=4674;POINT (-40.383605 -2.784697)'))) / (select extract(epoch from '2026-07-06 10:31:01'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.383563 -2.784736)', '2026-07-06 10:31:17', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383605 -2.784697)'), GeomFromEWKT('SRID=4674;POINT (-40.383563 -2.784736)'))) / (select extract(epoch from '2026-07-06 10:31:17'::timestamp) - extract(epoch from '2026-07-06 10:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383605 -2.784697)'), GeomFromEWKT('SRID=4674;POINT (-40.383563 -2.784736)'))) / (select extract(epoch from '2026-07-06 10:31:17'::timestamp) - extract(epoch from '2026-07-06 10:31: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'), 47828, 'SRID=4674;POINT (-40.383533 -2.784795)', '2026-07-06 10:31:27', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383563 -2.784736)'), GeomFromEWKT('SRID=4674;POINT (-40.383533 -2.784795)'))) / (select extract(epoch from '2026-07-06 10:31:27'::timestamp) - extract(epoch from '2026-07-06 10:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383563 -2.784736)'), GeomFromEWKT('SRID=4674;POINT (-40.383533 -2.784795)'))) / (select extract(epoch from '2026-07-06 10:31:27'::timestamp) - extract(epoch from '2026-07-06 10:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383523 -2.784832)', '2026-07-06 10:31:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383533 -2.784795)'), GeomFromEWKT('SRID=4674;POINT (-40.383523 -2.784832)'))) / (select extract(epoch from '2026-07-06 10:31:34'::timestamp) - extract(epoch from '2026-07-06 10:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383533 -2.784795)'), GeomFromEWKT('SRID=4674;POINT (-40.383523 -2.784832)'))) / (select extract(epoch from '2026-07-06 10:31:34'::timestamp) - extract(epoch from '2026-07-06 10:31: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'), 47828, 'SRID=4674;POINT (-40.383516 -2.784854)', '2026-07-06 10:31:42', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383523 -2.784832)'), GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.784854)'))) / (select extract(epoch from '2026-07-06 10:31:42'::timestamp) - extract(epoch from '2026-07-06 10:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383523 -2.784832)'), GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.784854)'))) / (select extract(epoch from '2026-07-06 10:31:42'::timestamp) - extract(epoch from '2026-07-06 10:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383581 -2.784869)', '2026-07-06 10:32:03', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.784854)'), GeomFromEWKT('SRID=4674;POINT (-40.383581 -2.784869)'))) / (select extract(epoch from '2026-07-06 10:32:03'::timestamp) - extract(epoch from '2026-07-06 10:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383516 -2.784854)'), GeomFromEWKT('SRID=4674;POINT (-40.383581 -2.784869)'))) / (select extract(epoch from '2026-07-06 10:32:03'::timestamp) - extract(epoch from '2026-07-06 10:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383617 -2.784857)', '2026-07-06 10:32:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383581 -2.784869)'), GeomFromEWKT('SRID=4674;POINT (-40.383617 -2.784857)'))) / (select extract(epoch from '2026-07-06 10:32:11'::timestamp) - extract(epoch from '2026-07-06 10:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383581 -2.784869)'), GeomFromEWKT('SRID=4674;POINT (-40.383617 -2.784857)'))) / (select extract(epoch from '2026-07-06 10:32:11'::timestamp) - extract(epoch from '2026-07-06 10:32: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'), 47828, 'SRID=4674;POINT (-40.383663 -2.78484)', '2026-07-06 10:32:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383617 -2.784857)'), GeomFromEWKT('SRID=4674;POINT (-40.383663 -2.78484)'))) / (select extract(epoch from '2026-07-06 10:32:23'::timestamp) - extract(epoch from '2026-07-06 10:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383617 -2.784857)'), GeomFromEWKT('SRID=4674;POINT (-40.383663 -2.78484)'))) / (select extract(epoch from '2026-07-06 10:32:23'::timestamp) - extract(epoch from '2026-07-06 10:32: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'), 47828, 'SRID=4674;POINT (-40.383711 -2.784837)', '2026-07-06 10:32:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383663 -2.78484)'), GeomFromEWKT('SRID=4674;POINT (-40.383711 -2.784837)'))) / (select extract(epoch from '2026-07-06 10:32:38'::timestamp) - extract(epoch from '2026-07-06 10:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383663 -2.78484)'), GeomFromEWKT('SRID=4674;POINT (-40.383711 -2.784837)'))) / (select extract(epoch from '2026-07-06 10:32:38'::timestamp) - extract(epoch from '2026-07-06 10:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383741 -2.784836)', '2026-07-06 10:32:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383711 -2.784837)'), GeomFromEWKT('SRID=4674;POINT (-40.383741 -2.784836)'))) / (select extract(epoch from '2026-07-06 10:32:45'::timestamp) - extract(epoch from '2026-07-06 10:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383711 -2.784837)'), GeomFromEWKT('SRID=4674;POINT (-40.383741 -2.784836)'))) / (select extract(epoch from '2026-07-06 10:32:45'::timestamp) - extract(epoch from '2026-07-06 10:32: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'), 47828, 'SRID=4674;POINT (-40.383769 -2.784844)', '2026-07-06 10:32:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383741 -2.784836)'), GeomFromEWKT('SRID=4674;POINT (-40.383769 -2.784844)'))) / (select extract(epoch from '2026-07-06 10:32:52'::timestamp) - extract(epoch from '2026-07-06 10:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383741 -2.784836)'), GeomFromEWKT('SRID=4674;POINT (-40.383769 -2.784844)'))) / (select extract(epoch from '2026-07-06 10:32:52'::timestamp) - extract(epoch from '2026-07-06 10:32: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'), 47828, 'SRID=4674;POINT (-40.383837 -2.784849)', '2026-07-06 10:33:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383769 -2.784844)'), GeomFromEWKT('SRID=4674;POINT (-40.383837 -2.784849)'))) / (select extract(epoch from '2026-07-06 10:33:06'::timestamp) - extract(epoch from '2026-07-06 10:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383769 -2.784844)'), GeomFromEWKT('SRID=4674;POINT (-40.383837 -2.784849)'))) / (select extract(epoch from '2026-07-06 10:33:06'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.383902 -2.784878)', '2026-07-06 10:33:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383837 -2.784849)'), GeomFromEWKT('SRID=4674;POINT (-40.383902 -2.784878)'))) / (select extract(epoch from '2026-07-06 10:33:21'::timestamp) - extract(epoch from '2026-07-06 10:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383837 -2.784849)'), GeomFromEWKT('SRID=4674;POINT (-40.383902 -2.784878)'))) / (select extract(epoch from '2026-07-06 10:33:21'::timestamp) - extract(epoch from '2026-07-06 10:33: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'), 47828, 'SRID=4674;POINT (-40.383912 -2.784928)', '2026-07-06 10:33:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383902 -2.784878)'), GeomFromEWKT('SRID=4674;POINT (-40.383912 -2.784928)'))) / (select extract(epoch from '2026-07-06 10:33:26'::timestamp) - extract(epoch from '2026-07-06 10:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383902 -2.784878)'), GeomFromEWKT('SRID=4674;POINT (-40.383912 -2.784928)'))) / (select extract(epoch from '2026-07-06 10:33:26'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.383911 -2.784937)', '2026-07-06 10:33:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383912 -2.784928)'), GeomFromEWKT('SRID=4674;POINT (-40.383911 -2.784937)'))) / (select extract(epoch from '2026-07-06 10:33:27'::timestamp) - extract(epoch from '2026-07-06 10:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383912 -2.784928)'), GeomFromEWKT('SRID=4674;POINT (-40.383911 -2.784937)'))) / (select extract(epoch from '2026-07-06 10:33:27'::timestamp) - extract(epoch from '2026-07-06 10:33: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'), 47828, 'SRID=4674;POINT (-40.38391 -2.784981)', '2026-07-06 10:33:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383911 -2.784937)'), GeomFromEWKT('SRID=4674;POINT (-40.38391 -2.784981)'))) / (select extract(epoch from '2026-07-06 10:33:31'::timestamp) - extract(epoch from '2026-07-06 10:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383911 -2.784937)'), GeomFromEWKT('SRID=4674;POINT (-40.38391 -2.784981)'))) / (select extract(epoch from '2026-07-06 10:33:31'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.38391 -2.78501)', '2026-07-06 10:33:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38391 -2.784981)'), GeomFromEWKT('SRID=4674;POINT (-40.38391 -2.78501)'))) / (select extract(epoch from '2026-07-06 10:33:33'::timestamp) - extract(epoch from '2026-07-06 10:33:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38391 -2.784981)'), GeomFromEWKT('SRID=4674;POINT (-40.38391 -2.78501)'))) / (select extract(epoch from '2026-07-06 10:33:33'::timestamp) - extract(epoch from '2026-07-06 10:33: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'), 47828, 'SRID=4674;POINT (-40.383932 -2.785074)', '2026-07-06 10:33:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38391 -2.78501)'), GeomFromEWKT('SRID=4674;POINT (-40.383932 -2.785074)'))) / (select extract(epoch from '2026-07-06 10:33:37'::timestamp) - extract(epoch from '2026-07-06 10:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38391 -2.78501)'), GeomFromEWKT('SRID=4674;POINT (-40.383932 -2.785074)'))) / (select extract(epoch from '2026-07-06 10:33:37'::timestamp) - extract(epoch from '2026-07-06 10:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.383942 -2.785088)', '2026-07-06 10:33:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383932 -2.785074)'), GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.785088)'))) / (select extract(epoch from '2026-07-06 10:33:38'::timestamp) - extract(epoch from '2026-07-06 10:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383932 -2.785074)'), GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.785088)'))) / (select extract(epoch from '2026-07-06 10:33:38'::timestamp) - extract(epoch from '2026-07-06 10:33: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'), 47828, 'SRID=4674;POINT (-40.384023 -2.785213)', '2026-07-06 10:33:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.785088)'), GeomFromEWKT('SRID=4674;POINT (-40.384023 -2.785213)'))) / (select extract(epoch from '2026-07-06 10:33:46'::timestamp) - extract(epoch from '2026-07-06 10:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383942 -2.785088)'), GeomFromEWKT('SRID=4674;POINT (-40.384023 -2.785213)'))) / (select extract(epoch from '2026-07-06 10:33:46'::timestamp) - extract(epoch from '2026-07-06 10:33: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'), 47828, 'SRID=4674;POINT (-40.384119 -2.78528)', '2026-07-06 10:33:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384023 -2.785213)'), GeomFromEWKT('SRID=4674;POINT (-40.384119 -2.78528)'))) / (select extract(epoch from '2026-07-06 10:33:52'::timestamp) - extract(epoch from '2026-07-06 10:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384023 -2.785213)'), GeomFromEWKT('SRID=4674;POINT (-40.384119 -2.78528)'))) / (select extract(epoch from '2026-07-06 10:33:52'::timestamp) - extract(epoch from '2026-07-06 10:33: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'), 47828, 'SRID=4674;POINT (-40.384237 -2.785314)', '2026-07-06 10:33:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384119 -2.78528)'), GeomFromEWKT('SRID=4674;POINT (-40.384237 -2.785314)'))) / (select extract(epoch from '2026-07-06 10:33:58'::timestamp) - extract(epoch from '2026-07-06 10:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384119 -2.78528)'), GeomFromEWKT('SRID=4674;POINT (-40.384237 -2.785314)'))) / (select extract(epoch from '2026-07-06 10:33:58'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.384363 -2.78537)', '2026-07-06 10:34:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384237 -2.785314)'), GeomFromEWKT('SRID=4674;POINT (-40.384363 -2.78537)'))) / (select extract(epoch from '2026-07-06 10:34:05'::timestamp) - extract(epoch from '2026-07-06 10:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384237 -2.785314)'), GeomFromEWKT('SRID=4674;POINT (-40.384363 -2.78537)'))) / (select extract(epoch from '2026-07-06 10:34:05'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.384422 -2.785449)', '2026-07-06 10:34:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384363 -2.78537)'), GeomFromEWKT('SRID=4674;POINT (-40.384422 -2.785449)'))) / (select extract(epoch from '2026-07-06 10:34:11'::timestamp) - extract(epoch from '2026-07-06 10:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384363 -2.78537)'), GeomFromEWKT('SRID=4674;POINT (-40.384422 -2.785449)'))) / (select extract(epoch from '2026-07-06 10:34:11'::timestamp) - extract(epoch from '2026-07-06 10:34: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'), 47828, 'SRID=4674;POINT (-40.384481 -2.785529)', '2026-07-06 10:34:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384422 -2.785449)'), GeomFromEWKT('SRID=4674;POINT (-40.384481 -2.785529)'))) / (select extract(epoch from '2026-07-06 10:34:19'::timestamp) - extract(epoch from '2026-07-06 10:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384422 -2.785449)'), GeomFromEWKT('SRID=4674;POINT (-40.384481 -2.785529)'))) / (select extract(epoch from '2026-07-06 10:34:19'::timestamp) - extract(epoch from '2026-07-06 10:34: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'), 47828, 'SRID=4674;POINT (-40.384559 -2.785553)', '2026-07-06 10:34:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384481 -2.785529)'), GeomFromEWKT('SRID=4674;POINT (-40.384559 -2.785553)'))) / (select extract(epoch from '2026-07-06 10:34:25'::timestamp) - extract(epoch from '2026-07-06 10:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384481 -2.785529)'), GeomFromEWKT('SRID=4674;POINT (-40.384559 -2.785553)'))) / (select extract(epoch from '2026-07-06 10:34:25'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.384612 -2.785582)', '2026-07-06 10:34:31', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384559 -2.785553)'), GeomFromEWKT('SRID=4674;POINT (-40.384612 -2.785582)'))) / (select extract(epoch from '2026-07-06 10:34:31'::timestamp) - extract(epoch from '2026-07-06 10:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384559 -2.785553)'), GeomFromEWKT('SRID=4674;POINT (-40.384612 -2.785582)'))) / (select extract(epoch from '2026-07-06 10:34:31'::timestamp) - extract(epoch from '2026-07-06 10:34: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'), 47828, 'SRID=4674;POINT (-40.384637 -2.785619)', '2026-07-06 10:34:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384612 -2.785582)'), GeomFromEWKT('SRID=4674;POINT (-40.384637 -2.785619)'))) / (select extract(epoch from '2026-07-06 10:34:37'::timestamp) - extract(epoch from '2026-07-06 10:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384612 -2.785582)'), GeomFromEWKT('SRID=4674;POINT (-40.384637 -2.785619)'))) / (select extract(epoch from '2026-07-06 10:34:37'::timestamp) - extract(epoch from '2026-07-06 10:34: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'), 47828, 'SRID=4674;POINT (-40.384684 -2.785656)', '2026-07-06 10:34:44', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384637 -2.785619)'), GeomFromEWKT('SRID=4674;POINT (-40.384684 -2.785656)'))) / (select extract(epoch from '2026-07-06 10:34:44'::timestamp) - extract(epoch from '2026-07-06 10:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384637 -2.785619)'), GeomFromEWKT('SRID=4674;POINT (-40.384684 -2.785656)'))) / (select extract(epoch from '2026-07-06 10:34:44'::timestamp) - extract(epoch from '2026-07-06 10:34: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'), 47828, 'SRID=4674;POINT (-40.384724 -2.785658)', '2026-07-06 10:34:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384684 -2.785656)'), GeomFromEWKT('SRID=4674;POINT (-40.384724 -2.785658)'))) / (select extract(epoch from '2026-07-06 10:34:48'::timestamp) - extract(epoch from '2026-07-06 10:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384684 -2.785656)'), GeomFromEWKT('SRID=4674;POINT (-40.384724 -2.785658)'))) / (select extract(epoch from '2026-07-06 10:34:48'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.38474 -2.785648)', '2026-07-06 10:34:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384724 -2.785658)'), GeomFromEWKT('SRID=4674;POINT (-40.38474 -2.785648)'))) / (select extract(epoch from '2026-07-06 10:34:50'::timestamp) - extract(epoch from '2026-07-06 10:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384724 -2.785658)'), GeomFromEWKT('SRID=4674;POINT (-40.38474 -2.785648)'))) / (select extract(epoch from '2026-07-06 10:34:50'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.384772 -2.785607)', '2026-07-06 10:34:56', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38474 -2.785648)'), GeomFromEWKT('SRID=4674;POINT (-40.384772 -2.785607)'))) / (select extract(epoch from '2026-07-06 10:34:56'::timestamp) - extract(epoch from '2026-07-06 10:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38474 -2.785648)'), GeomFromEWKT('SRID=4674;POINT (-40.384772 -2.785607)'))) / (select extract(epoch from '2026-07-06 10:34:56'::timestamp) - extract(epoch from '2026-07-06 10:34:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384754 -2.785569)', '2026-07-06 10:35:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384772 -2.785607)'), GeomFromEWKT('SRID=4674;POINT (-40.384754 -2.785569)'))) / (select extract(epoch from '2026-07-06 10:35:03'::timestamp) - extract(epoch from '2026-07-06 10:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384772 -2.785607)'), GeomFromEWKT('SRID=4674;POINT (-40.384754 -2.785569)'))) / (select extract(epoch from '2026-07-06 10:35:03'::timestamp) - extract(epoch from '2026-07-06 10:34: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'), 47828, 'SRID=4674;POINT (-40.384732 -2.785546)', '2026-07-06 10:35:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384754 -2.785569)'), GeomFromEWKT('SRID=4674;POINT (-40.384732 -2.785546)'))) / (select extract(epoch from '2026-07-06 10:35:12'::timestamp) - extract(epoch from '2026-07-06 10:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384754 -2.785569)'), GeomFromEWKT('SRID=4674;POINT (-40.384732 -2.785546)'))) / (select extract(epoch from '2026-07-06 10:35:12'::timestamp) - extract(epoch from '2026-07-06 10:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384717 -2.785565)', '2026-07-06 10:35:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384732 -2.785546)'), GeomFromEWKT('SRID=4674;POINT (-40.384717 -2.785565)'))) / (select extract(epoch from '2026-07-06 10:35:19'::timestamp) - extract(epoch from '2026-07-06 10:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384732 -2.785546)'), GeomFromEWKT('SRID=4674;POINT (-40.384717 -2.785565)'))) / (select extract(epoch from '2026-07-06 10:35:19'::timestamp) - extract(epoch from '2026-07-06 10:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384708 -2.785631)', '2026-07-06 10:35:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384717 -2.785565)'), GeomFromEWKT('SRID=4674;POINT (-40.384708 -2.785631)'))) / (select extract(epoch from '2026-07-06 10:35:26'::timestamp) - extract(epoch from '2026-07-06 10:35:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384717 -2.785565)'), GeomFromEWKT('SRID=4674;POINT (-40.384708 -2.785631)'))) / (select extract(epoch from '2026-07-06 10:35:26'::timestamp) - extract(epoch from '2026-07-06 10:35:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384689 -2.785683)', '2026-07-06 10:35:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384708 -2.785631)'), GeomFromEWKT('SRID=4674;POINT (-40.384689 -2.785683)'))) / (select extract(epoch from '2026-07-06 10:35:33'::timestamp) - extract(epoch from '2026-07-06 10:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384708 -2.785631)'), GeomFromEWKT('SRID=4674;POINT (-40.384689 -2.785683)'))) / (select extract(epoch from '2026-07-06 10:35:33'::timestamp) - extract(epoch from '2026-07-06 10:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384696 -2.7857)', '2026-07-06 10:35:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384689 -2.785683)'), GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.7857)'))) / (select extract(epoch from '2026-07-06 10:35:35'::timestamp) - extract(epoch from '2026-07-06 10:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384689 -2.785683)'), GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.7857)'))) / (select extract(epoch from '2026-07-06 10:35:35'::timestamp) - extract(epoch from '2026-07-06 10:35: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'), 47828, 'SRID=4674;POINT (-40.384721 -2.785726)', '2026-07-06 10:35:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.7857)'), GeomFromEWKT('SRID=4674;POINT (-40.384721 -2.785726)'))) / (select extract(epoch from '2026-07-06 10:35:39'::timestamp) - extract(epoch from '2026-07-06 10:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384696 -2.7857)'), GeomFromEWKT('SRID=4674;POINT (-40.384721 -2.785726)'))) / (select extract(epoch from '2026-07-06 10:35:39'::timestamp) - extract(epoch from '2026-07-06 10:35:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384762 -2.785733)', '2026-07-06 10:35:43', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384721 -2.785726)'), GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.785733)'))) / (select extract(epoch from '2026-07-06 10:35:43'::timestamp) - extract(epoch from '2026-07-06 10:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384721 -2.785726)'), GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.785733)'))) / (select extract(epoch from '2026-07-06 10:35:43'::timestamp) - extract(epoch from '2026-07-06 10:35: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'), 47828, 'SRID=4674;POINT (-40.384772 -2.785732)', '2026-07-06 10:35:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.785733)'), GeomFromEWKT('SRID=4674;POINT (-40.384772 -2.785732)'))) / (select extract(epoch from '2026-07-06 10:35:44'::timestamp) - extract(epoch from '2026-07-06 10:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384762 -2.785733)'), GeomFromEWKT('SRID=4674;POINT (-40.384772 -2.785732)'))) / (select extract(epoch from '2026-07-06 10:35:44'::timestamp) - extract(epoch from '2026-07-06 10:35: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'), 47828, 'SRID=4674;POINT (-40.384817 -2.785708)', '2026-07-06 10:35:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384772 -2.785732)'), GeomFromEWKT('SRID=4674;POINT (-40.384817 -2.785708)'))) / (select extract(epoch from '2026-07-06 10:35:50'::timestamp) - extract(epoch from '2026-07-06 10:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384772 -2.785732)'), GeomFromEWKT('SRID=4674;POINT (-40.384817 -2.785708)'))) / (select extract(epoch from '2026-07-06 10:35:50'::timestamp) - extract(epoch from '2026-07-06 10:35:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384838 -2.785657)', '2026-07-06 10:35:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384817 -2.785708)'), GeomFromEWKT('SRID=4674;POINT (-40.384838 -2.785657)'))) / (select extract(epoch from '2026-07-06 10:35:57'::timestamp) - extract(epoch from '2026-07-06 10:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384817 -2.785708)'), GeomFromEWKT('SRID=4674;POINT (-40.384838 -2.785657)'))) / (select extract(epoch from '2026-07-06 10:35:57'::timestamp) - extract(epoch from '2026-07-06 10:35: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'), 47828, 'SRID=4674;POINT (-40.384852 -2.785608)', '2026-07-06 10:36:06', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384838 -2.785657)'), GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.785608)'))) / (select extract(epoch from '2026-07-06 10:36:06'::timestamp) - extract(epoch from '2026-07-06 10:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384838 -2.785657)'), GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.785608)'))) / (select extract(epoch from '2026-07-06 10:36:06'::timestamp) - extract(epoch from '2026-07-06 10:35: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'), 47828, 'SRID=4674;POINT (-40.384842 -2.785556)', '2026-07-06 10:36:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.785608)'), GeomFromEWKT('SRID=4674;POINT (-40.384842 -2.785556)'))) / (select extract(epoch from '2026-07-06 10:36:19'::timestamp) - extract(epoch from '2026-07-06 10:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384852 -2.785608)'), GeomFromEWKT('SRID=4674;POINT (-40.384842 -2.785556)'))) / (select extract(epoch from '2026-07-06 10:36:19'::timestamp) - extract(epoch from '2026-07-06 10:36: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'), 47828, 'SRID=4674;POINT (-40.38473 -2.785526)', '2026-07-06 10:36:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384842 -2.785556)'), GeomFromEWKT('SRID=4674;POINT (-40.38473 -2.785526)'))) / (select extract(epoch from '2026-07-06 10:36:59'::timestamp) - extract(epoch from '2026-07-06 10:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384842 -2.785556)'), GeomFromEWKT('SRID=4674;POINT (-40.38473 -2.785526)'))) / (select extract(epoch from '2026-07-06 10:36:59'::timestamp) - extract(epoch from '2026-07-06 10:36: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'), 47828, 'SRID=4674;POINT (-40.384714 -2.785558)', '2026-07-06 10:37:09', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38473 -2.785526)'), GeomFromEWKT('SRID=4674;POINT (-40.384714 -2.785558)'))) / (select extract(epoch from '2026-07-06 10:37:09'::timestamp) - extract(epoch from '2026-07-06 10:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38473 -2.785526)'), GeomFromEWKT('SRID=4674;POINT (-40.384714 -2.785558)'))) / (select extract(epoch from '2026-07-06 10:37:09'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.384706 -2.785566)', '2026-07-06 10:37:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384714 -2.785558)'), GeomFromEWKT('SRID=4674;POINT (-40.384706 -2.785566)'))) / (select extract(epoch from '2026-07-06 10:37:21'::timestamp) - extract(epoch from '2026-07-06 10:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384714 -2.785558)'), GeomFromEWKT('SRID=4674;POINT (-40.384706 -2.785566)'))) / (select extract(epoch from '2026-07-06 10:37:21'::timestamp) - extract(epoch from '2026-07-06 10:37: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'), 47828, 'SRID=4674;POINT (-40.38477 -2.785614)', '2026-07-06 10:37:37', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384706 -2.785566)'), GeomFromEWKT('SRID=4674;POINT (-40.38477 -2.785614)'))) / (select extract(epoch from '2026-07-06 10:37:37'::timestamp) - extract(epoch from '2026-07-06 10:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384706 -2.785566)'), GeomFromEWKT('SRID=4674;POINT (-40.38477 -2.785614)'))) / (select extract(epoch from '2026-07-06 10:37:37'::timestamp) - extract(epoch from '2026-07-06 10:37: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'), 47828, 'SRID=4674;POINT (-40.384784 -2.785643)', '2026-07-06 10:37:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38477 -2.785614)'), GeomFromEWKT('SRID=4674;POINT (-40.384784 -2.785643)'))) / (select extract(epoch from '2026-07-06 10:37:49'::timestamp) - extract(epoch from '2026-07-06 10:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38477 -2.785614)'), GeomFromEWKT('SRID=4674;POINT (-40.384784 -2.785643)'))) / (select extract(epoch from '2026-07-06 10:37:49'::timestamp) - extract(epoch from '2026-07-06 10:37: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'), 47828, 'SRID=4674;POINT (-40.384854 -2.785717)', '2026-07-06 10:38:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384784 -2.785643)'), GeomFromEWKT('SRID=4674;POINT (-40.384854 -2.785717)'))) / (select extract(epoch from '2026-07-06 10:38:22'::timestamp) - extract(epoch from '2026-07-06 10:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384784 -2.785643)'), GeomFromEWKT('SRID=4674;POINT (-40.384854 -2.785717)'))) / (select extract(epoch from '2026-07-06 10:38:22'::timestamp) - extract(epoch from '2026-07-06 10:37: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'), 47828, 'SRID=4674;POINT (-40.384926 -2.785721)', '2026-07-06 10:38:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384854 -2.785717)'), GeomFromEWKT('SRID=4674;POINT (-40.384926 -2.785721)'))) / (select extract(epoch from '2026-07-06 10:38:37'::timestamp) - extract(epoch from '2026-07-06 10:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384854 -2.785717)'), GeomFromEWKT('SRID=4674;POINT (-40.384926 -2.785721)'))) / (select extract(epoch from '2026-07-06 10:38:37'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.384982 -2.78569)', '2026-07-06 10:38:43', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384926 -2.785721)'), GeomFromEWKT('SRID=4674;POINT (-40.384982 -2.78569)'))) / (select extract(epoch from '2026-07-06 10:38:43'::timestamp) - extract(epoch from '2026-07-06 10:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384926 -2.785721)'), GeomFromEWKT('SRID=4674;POINT (-40.384982 -2.78569)'))) / (select extract(epoch from '2026-07-06 10:38:43'::timestamp) - extract(epoch from '2026-07-06 10:38:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384999 -2.785676)', '2026-07-06 10:38:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384982 -2.78569)'), GeomFromEWKT('SRID=4674;POINT (-40.384999 -2.785676)'))) / (select extract(epoch from '2026-07-06 10:38:45'::timestamp) - extract(epoch from '2026-07-06 10:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384982 -2.78569)'), GeomFromEWKT('SRID=4674;POINT (-40.384999 -2.785676)'))) / (select extract(epoch from '2026-07-06 10:38:45'::timestamp) - extract(epoch from '2026-07-06 10:38: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'), 47828, 'SRID=4674;POINT (-40.385027 -2.785639)', '2026-07-06 10:38:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384999 -2.785676)'), GeomFromEWKT('SRID=4674;POINT (-40.385027 -2.785639)'))) / (select extract(epoch from '2026-07-06 10:38:50'::timestamp) - extract(epoch from '2026-07-06 10:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384999 -2.785676)'), GeomFromEWKT('SRID=4674;POINT (-40.385027 -2.785639)'))) / (select extract(epoch from '2026-07-06 10:38:50'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.385038 -2.785597)', '2026-07-06 10:38:57', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385027 -2.785639)'), GeomFromEWKT('SRID=4674;POINT (-40.385038 -2.785597)'))) / (select extract(epoch from '2026-07-06 10:38:57'::timestamp) - extract(epoch from '2026-07-06 10:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385027 -2.785639)'), GeomFromEWKT('SRID=4674;POINT (-40.385038 -2.785597)'))) / (select extract(epoch from '2026-07-06 10:38:57'::timestamp) - extract(epoch from '2026-07-06 10:38: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'), 47828, 'SRID=4674;POINT (-40.385 -2.785566)', '2026-07-06 10:39:09', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385038 -2.785597)'), GeomFromEWKT('SRID=4674;POINT (-40.385 -2.785566)'))) / (select extract(epoch from '2026-07-06 10:39:09'::timestamp) - extract(epoch from '2026-07-06 10:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385038 -2.785597)'), GeomFromEWKT('SRID=4674;POINT (-40.385 -2.785566)'))) / (select extract(epoch from '2026-07-06 10:39:09'::timestamp) - extract(epoch from '2026-07-06 10:38: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'), 47828, 'SRID=4674;POINT (-40.384921 -2.785529)', '2026-07-06 10:39:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385 -2.785566)'), GeomFromEWKT('SRID=4674;POINT (-40.384921 -2.785529)'))) / (select extract(epoch from '2026-07-06 10:39:32'::timestamp) - extract(epoch from '2026-07-06 10:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385 -2.785566)'), GeomFromEWKT('SRID=4674;POINT (-40.384921 -2.785529)'))) / (select extract(epoch from '2026-07-06 10:39:32'::timestamp) - extract(epoch from '2026-07-06 10:39: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'), 47828, 'SRID=4674;POINT (-40.384911 -2.785525)', '2026-07-06 10:39:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384921 -2.785529)'), GeomFromEWKT('SRID=4674;POINT (-40.384911 -2.785525)'))) / (select extract(epoch from '2026-07-06 10:39:45'::timestamp) - extract(epoch from '2026-07-06 10:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384921 -2.785529)'), GeomFromEWKT('SRID=4674;POINT (-40.384911 -2.785525)'))) / (select extract(epoch from '2026-07-06 10:39:45'::timestamp) - extract(epoch from '2026-07-06 10:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.384846 -2.785546)', '2026-07-06 10:39:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384911 -2.785525)'), GeomFromEWKT('SRID=4674;POINT (-40.384846 -2.785546)'))) / (select extract(epoch from '2026-07-06 10:39:56'::timestamp) - extract(epoch from '2026-07-06 10:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384911 -2.785525)'), GeomFromEWKT('SRID=4674;POINT (-40.384846 -2.785546)'))) / (select extract(epoch from '2026-07-06 10:39:56'::timestamp) - extract(epoch from '2026-07-06 10:39: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'), 47828, 'SRID=4674;POINT (-40.384964 -2.785546)', '2026-07-06 10:40:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384846 -2.785546)'), GeomFromEWKT('SRID=4674;POINT (-40.384964 -2.785546)'))) / (select extract(epoch from '2026-07-06 10:40:44'::timestamp) - extract(epoch from '2026-07-06 10:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384846 -2.785546)'), GeomFromEWKT('SRID=4674;POINT (-40.384964 -2.785546)'))) / (select extract(epoch from '2026-07-06 10:40:44'::timestamp) - extract(epoch from '2026-07-06 10:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.38503 -2.78553)', '2026-07-06 10:41:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384964 -2.785546)'), GeomFromEWKT('SRID=4674;POINT (-40.38503 -2.78553)'))) / (select extract(epoch from '2026-07-06 10:41:00'::timestamp) - extract(epoch from '2026-07-06 10:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384964 -2.785546)'), GeomFromEWKT('SRID=4674;POINT (-40.38503 -2.78553)'))) / (select extract(epoch from '2026-07-06 10:41:00'::timestamp) - extract(epoch from '2026-07-06 10:40: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'), 47828, 'SRID=4674;POINT (-40.385063 -2.785529)', '2026-07-06 10:41:08', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38503 -2.78553)'), GeomFromEWKT('SRID=4674;POINT (-40.385063 -2.785529)'))) / (select extract(epoch from '2026-07-06 10:41:08'::timestamp) - extract(epoch from '2026-07-06 10:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38503 -2.78553)'), GeomFromEWKT('SRID=4674;POINT (-40.385063 -2.785529)'))) / (select extract(epoch from '2026-07-06 10:41:08'::timestamp) - extract(epoch from '2026-07-06 10:41: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'), 47828, 'SRID=4674;POINT (-40.38514 -2.785511)', '2026-07-06 10:41:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385063 -2.785529)'), GeomFromEWKT('SRID=4674;POINT (-40.38514 -2.785511)'))) / (select extract(epoch from '2026-07-06 10:41:25'::timestamp) - extract(epoch from '2026-07-06 10:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385063 -2.785529)'), GeomFromEWKT('SRID=4674;POINT (-40.38514 -2.785511)'))) / (select extract(epoch from '2026-07-06 10:41:25'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.385172 -2.785463)', '2026-07-06 10:41:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38514 -2.785511)'), GeomFromEWKT('SRID=4674;POINT (-40.385172 -2.785463)'))) / (select extract(epoch from '2026-07-06 10:41:31'::timestamp) - extract(epoch from '2026-07-06 10:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38514 -2.785511)'), GeomFromEWKT('SRID=4674;POINT (-40.385172 -2.785463)'))) / (select extract(epoch from '2026-07-06 10:41:31'::timestamp) - extract(epoch from '2026-07-06 10:41: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'), 47828, 'SRID=4674;POINT (-40.385175 -2.785451)', '2026-07-06 10:41:32', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385172 -2.785463)'), GeomFromEWKT('SRID=4674;POINT (-40.385175 -2.785451)'))) / (select extract(epoch from '2026-07-06 10:41:32'::timestamp) - extract(epoch from '2026-07-06 10:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385172 -2.785463)'), GeomFromEWKT('SRID=4674;POINT (-40.385175 -2.785451)'))) / (select extract(epoch from '2026-07-06 10:41:32'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.385186 -2.785347)', '2026-07-06 10:41:40', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385175 -2.785451)'), GeomFromEWKT('SRID=4674;POINT (-40.385186 -2.785347)'))) / (select extract(epoch from '2026-07-06 10:41:40'::timestamp) - extract(epoch from '2026-07-06 10:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385175 -2.785451)'), GeomFromEWKT('SRID=4674;POINT (-40.385186 -2.785347)'))) / (select extract(epoch from '2026-07-06 10:41:40'::timestamp) - extract(epoch from '2026-07-06 10:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.385184 -2.785224)', '2026-07-06 10:41:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385186 -2.785347)'), GeomFromEWKT('SRID=4674;POINT (-40.385184 -2.785224)'))) / (select extract(epoch from '2026-07-06 10:41:48'::timestamp) - extract(epoch from '2026-07-06 10:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385186 -2.785347)'), GeomFromEWKT('SRID=4674;POINT (-40.385184 -2.785224)'))) / (select extract(epoch from '2026-07-06 10:41:48'::timestamp) - extract(epoch from '2026-07-06 10:41: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'), 47828, 'SRID=4674;POINT (-40.385164 -2.785111)', '2026-07-06 10:41:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385184 -2.785224)'), GeomFromEWKT('SRID=4674;POINT (-40.385164 -2.785111)'))) / (select extract(epoch from '2026-07-06 10:41:55'::timestamp) - extract(epoch from '2026-07-06 10:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385184 -2.785224)'), GeomFromEWKT('SRID=4674;POINT (-40.385164 -2.785111)'))) / (select extract(epoch from '2026-07-06 10:41:55'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.385142 -2.784981)', '2026-07-06 10:42:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385164 -2.785111)'), GeomFromEWKT('SRID=4674;POINT (-40.385142 -2.784981)'))) / (select extract(epoch from '2026-07-06 10:42:03'::timestamp) - extract(epoch from '2026-07-06 10:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385164 -2.785111)'), GeomFromEWKT('SRID=4674;POINT (-40.385142 -2.784981)'))) / (select extract(epoch from '2026-07-06 10:42:03'::timestamp) - extract(epoch from '2026-07-06 10:41: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'), 47828, 'SRID=4674;POINT (-40.385172 -2.784849)', '2026-07-06 10:42:11', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385142 -2.784981)'), GeomFromEWKT('SRID=4674;POINT (-40.385172 -2.784849)'))) / (select extract(epoch from '2026-07-06 10:42:11'::timestamp) - extract(epoch from '2026-07-06 10:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385142 -2.784981)'), GeomFromEWKT('SRID=4674;POINT (-40.385172 -2.784849)'))) / (select extract(epoch from '2026-07-06 10:42:11'::timestamp) - extract(epoch from '2026-07-06 10:42: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'), 47828, 'SRID=4674;POINT (-40.385194 -2.784719)', '2026-07-06 10:42:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385172 -2.784849)'), GeomFromEWKT('SRID=4674;POINT (-40.385194 -2.784719)'))) / (select extract(epoch from '2026-07-06 10:42:19'::timestamp) - extract(epoch from '2026-07-06 10:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385172 -2.784849)'), GeomFromEWKT('SRID=4674;POINT (-40.385194 -2.784719)'))) / (select extract(epoch from '2026-07-06 10:42:19'::timestamp) - extract(epoch from '2026-07-06 10:42: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'), 47828, 'SRID=4674;POINT (-40.385244 -2.784553)', '2026-07-06 10:42:29', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385194 -2.784719)'), GeomFromEWKT('SRID=4674;POINT (-40.385244 -2.784553)'))) / (select extract(epoch from '2026-07-06 10:42:29'::timestamp) - extract(epoch from '2026-07-06 10:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385194 -2.784719)'), GeomFromEWKT('SRID=4674;POINT (-40.385244 -2.784553)'))) / (select extract(epoch from '2026-07-06 10:42:29'::timestamp) - extract(epoch from '2026-07-06 10:42:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.385281 -2.784446)', '2026-07-06 10:42:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385244 -2.784553)'), GeomFromEWKT('SRID=4674;POINT (-40.385281 -2.784446)'))) / (select extract(epoch from '2026-07-06 10:42:36'::timestamp) - extract(epoch from '2026-07-06 10:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385244 -2.784553)'), GeomFromEWKT('SRID=4674;POINT (-40.385281 -2.784446)'))) / (select extract(epoch from '2026-07-06 10:42:36'::timestamp) - extract(epoch from '2026-07-06 10:42: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'), 47828, 'SRID=4674;POINT (-40.385285 -2.784414)', '2026-07-06 10:42:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385281 -2.784446)'), GeomFromEWKT('SRID=4674;POINT (-40.385285 -2.784414)'))) / (select extract(epoch from '2026-07-06 10:42:38'::timestamp) - extract(epoch from '2026-07-06 10:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385281 -2.784446)'), GeomFromEWKT('SRID=4674;POINT (-40.385285 -2.784414)'))) / (select extract(epoch from '2026-07-06 10:42:38'::timestamp) - extract(epoch from '2026-07-06 10: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'), 47828, 'SRID=4674;POINT (-40.385289 -2.784367)', '2026-07-06 10:42:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385285 -2.784414)'), GeomFromEWKT('SRID=4674;POINT (-40.385289 -2.784367)'))) / (select extract(epoch from '2026-07-06 10:42:41'::timestamp) - extract(epoch from '2026-07-06 10:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385285 -2.784414)'), GeomFromEWKT('SRID=4674;POINT (-40.385289 -2.784367)'))) / (select extract(epoch from '2026-07-06 10:42:41'::timestamp) - extract(epoch from '2026-07-06 10:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.385315 -2.784274)', '2026-07-06 10:42:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385289 -2.784367)'), GeomFromEWKT('SRID=4674;POINT (-40.385315 -2.784274)'))) / (select extract(epoch from '2026-07-06 10:42:47'::timestamp) - extract(epoch from '2026-07-06 10:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385289 -2.784367)'), GeomFromEWKT('SRID=4674;POINT (-40.385315 -2.784274)'))) / (select extract(epoch from '2026-07-06 10:42:47'::timestamp) - extract(epoch from '2026-07-06 10:42:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.385356 -2.784187)', '2026-07-06 10:42:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385315 -2.784274)'), GeomFromEWKT('SRID=4674;POINT (-40.385356 -2.784187)'))) / (select extract(epoch from '2026-07-06 10:42:53'::timestamp) - extract(epoch from '2026-07-06 10:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385315 -2.784274)'), GeomFromEWKT('SRID=4674;POINT (-40.385356 -2.784187)'))) / (select extract(epoch from '2026-07-06 10:42:53'::timestamp) - extract(epoch from '2026-07-06 10:42: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'), 47828, 'SRID=4674;POINT (-40.385392 -2.784137)', '2026-07-06 10:42:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385356 -2.784187)'), GeomFromEWKT('SRID=4674;POINT (-40.385392 -2.784137)'))) / (select extract(epoch from '2026-07-06 10:42:57'::timestamp) - extract(epoch from '2026-07-06 10:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385356 -2.784187)'), GeomFromEWKT('SRID=4674;POINT (-40.385392 -2.784137)'))) / (select extract(epoch from '2026-07-06 10:42:57'::timestamp) - extract(epoch from '2026-07-06 10:42: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'), 47828, 'SRID=4674;POINT (-40.385398 -2.784121)', '2026-07-06 10:42:58', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385392 -2.784137)'), GeomFromEWKT('SRID=4674;POINT (-40.385398 -2.784121)'))) / (select extract(epoch from '2026-07-06 10:42:58'::timestamp) - extract(epoch from '2026-07-06 10:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385392 -2.784137)'), GeomFromEWKT('SRID=4674;POINT (-40.385398 -2.784121)'))) / (select extract(epoch from '2026-07-06 10:42:58'::timestamp) - extract(epoch from '2026-07-06 10:42: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'), 47828, 'SRID=4674;POINT (-40.385406 -2.784094)', '2026-07-06 10:43:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385398 -2.784121)'), GeomFromEWKT('SRID=4674;POINT (-40.385406 -2.784094)'))) / (select extract(epoch from '2026-07-06 10:43:00'::timestamp) - extract(epoch from '2026-07-06 10:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385398 -2.784121)'), GeomFromEWKT('SRID=4674;POINT (-40.385406 -2.784094)'))) / (select extract(epoch from '2026-07-06 10:43:00'::timestamp) - extract(epoch from '2026-07-06 10:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47828, 'SRID=4674;POINT (-40.385424 -2.784043)', '2026-07-06 10:43:04', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385406 -2.784094)'), GeomFromEWKT('SRID=4674;POINT (-40.385424 -2.784043)'))) / (select extract(epoch from '2026-07-06 10:43:04'::timestamp) - extract(epoch from '2026-07-06 10:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385406 -2.784094)'), GeomFromEWKT('SRID=4674;POINT (-40.385424 -2.784043)'))) / (select extract(epoch from '2026-07-06 10:43:04'::timestamp) - extract(epoch from '2026-07-06 10:43:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
