 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383803 -2.79822)', '2026-07-29 06:00:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383906 -2.798161)'), GeomFromEWKT('SRID=4674;POINT (-40.383803 -2.79822)'))) / (select extract(epoch from '2026-07-29 06:00:37'::timestamp) - extract(epoch from '2026-07-29 06:00:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383906 -2.798161)'), GeomFromEWKT('SRID=4674;POINT (-40.383803 -2.79822)'))) / (select extract(epoch from '2026-07-29 06:00:37'::timestamp) - extract(epoch from '2026-07-29 06:00: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'), 47641, 'SRID=4674;POINT (-40.383727 -2.798272)', '2026-07-29 06:00:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383803 -2.79822)'), GeomFromEWKT('SRID=4674;POINT (-40.383727 -2.798272)'))) / (select extract(epoch from '2026-07-29 06:00:52'::timestamp) - extract(epoch from '2026-07-29 06:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383803 -2.79822)'), GeomFromEWKT('SRID=4674;POINT (-40.383727 -2.798272)'))) / (select extract(epoch from '2026-07-29 06:00:52'::timestamp) - extract(epoch from '2026-07-29 06:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383631 -2.798301)', '2026-07-29 06:01:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383727 -2.798272)'), GeomFromEWKT('SRID=4674;POINT (-40.383631 -2.798301)'))) / (select extract(epoch from '2026-07-29 06:01:08'::timestamp) - extract(epoch from '2026-07-29 06:00:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383727 -2.798272)'), GeomFromEWKT('SRID=4674;POINT (-40.383631 -2.798301)'))) / (select extract(epoch from '2026-07-29 06:01:08'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.383579 -2.798357)', '2026-07-29 06:01:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383631 -2.798301)'), GeomFromEWKT('SRID=4674;POINT (-40.383579 -2.798357)'))) / (select extract(epoch from '2026-07-29 06:01:20'::timestamp) - extract(epoch from '2026-07-29 06:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383631 -2.798301)'), GeomFromEWKT('SRID=4674;POINT (-40.383579 -2.798357)'))) / (select extract(epoch from '2026-07-29 06:01:20'::timestamp) - extract(epoch from '2026-07-29 06:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383507 -2.798406)', '2026-07-29 06:01:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383579 -2.798357)'), GeomFromEWKT('SRID=4674;POINT (-40.383507 -2.798406)'))) / (select extract(epoch from '2026-07-29 06:01:34'::timestamp) - extract(epoch from '2026-07-29 06:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383579 -2.798357)'), GeomFromEWKT('SRID=4674;POINT (-40.383507 -2.798406)'))) / (select extract(epoch from '2026-07-29 06:01:34'::timestamp) - extract(epoch from '2026-07-29 06:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383401 -2.798439)', '2026-07-29 06:01:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383507 -2.798406)'), GeomFromEWKT('SRID=4674;POINT (-40.383401 -2.798439)'))) / (select extract(epoch from '2026-07-29 06:01:49'::timestamp) - extract(epoch from '2026-07-29 06:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383507 -2.798406)'), GeomFromEWKT('SRID=4674;POINT (-40.383401 -2.798439)'))) / (select extract(epoch from '2026-07-29 06:01:49'::timestamp) - extract(epoch from '2026-07-29 06:01: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'), 47641, 'SRID=4674;POINT (-40.383334 -2.798485)', '2026-07-29 06:02:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383401 -2.798439)'), GeomFromEWKT('SRID=4674;POINT (-40.383334 -2.798485)'))) / (select extract(epoch from '2026-07-29 06:02:02'::timestamp) - extract(epoch from '2026-07-29 06:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383401 -2.798439)'), GeomFromEWKT('SRID=4674;POINT (-40.383334 -2.798485)'))) / (select extract(epoch from '2026-07-29 06:02:02'::timestamp) - extract(epoch from '2026-07-29 06:01:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383272 -2.798538)', '2026-07-29 06:02:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383334 -2.798485)'), GeomFromEWKT('SRID=4674;POINT (-40.383272 -2.798538)'))) / (select extract(epoch from '2026-07-29 06:02:16'::timestamp) - extract(epoch from '2026-07-29 06:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383334 -2.798485)'), GeomFromEWKT('SRID=4674;POINT (-40.383272 -2.798538)'))) / (select extract(epoch from '2026-07-29 06:02:16'::timestamp) - extract(epoch from '2026-07-29 06:02: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'), 47641, 'SRID=4674;POINT (-40.383204 -2.798558)', '2026-07-29 06:02:30', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383272 -2.798538)'), GeomFromEWKT('SRID=4674;POINT (-40.383204 -2.798558)'))) / (select extract(epoch from '2026-07-29 06:02:30'::timestamp) - extract(epoch from '2026-07-29 06:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383272 -2.798538)'), GeomFromEWKT('SRID=4674;POINT (-40.383204 -2.798558)'))) / (select extract(epoch from '2026-07-29 06:02:30'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.383136 -2.798575)', '2026-07-29 06:02:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383204 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.383136 -2.798575)'))) / (select extract(epoch from '2026-07-29 06:02:45'::timestamp) - extract(epoch from '2026-07-29 06:02:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383204 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.383136 -2.798575)'))) / (select extract(epoch from '2026-07-29 06:02:45'::timestamp) - extract(epoch from '2026-07-29 06:02:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38311 -2.798567)', '2026-07-29 06:03:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383136 -2.798575)'), GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.798567)'))) / (select extract(epoch from '2026-07-29 06:03:01'::timestamp) - extract(epoch from '2026-07-29 06:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383136 -2.798575)'), GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.798567)'))) / (select extract(epoch from '2026-07-29 06:03:01'::timestamp) - extract(epoch from '2026-07-29 06:02:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383112 -2.798564)', '2026-07-29 06:03:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.798567)'), GeomFromEWKT('SRID=4674;POINT (-40.383112 -2.798564)'))) / (select extract(epoch from '2026-07-29 06:03:17'::timestamp) - extract(epoch from '2026-07-29 06:03:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.798567)'), GeomFromEWKT('SRID=4674;POINT (-40.383112 -2.798564)'))) / (select extract(epoch from '2026-07-29 06:03:17'::timestamp) - extract(epoch from '2026-07-29 06:03:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38311 -2.798562)', '2026-07-29 06:03:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383112 -2.798564)'), GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.798562)'))) / (select extract(epoch from '2026-07-29 06:03:35'::timestamp) - extract(epoch from '2026-07-29 06:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383112 -2.798564)'), GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.798562)'))) / (select extract(epoch from '2026-07-29 06:03:35'::timestamp) - extract(epoch from '2026-07-29 06:03:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.383079 -2.798582)', '2026-07-29 06:03:48', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.798562)'), GeomFromEWKT('SRID=4674;POINT (-40.383079 -2.798582)'))) / (select extract(epoch from '2026-07-29 06:03:48'::timestamp) - extract(epoch from '2026-07-29 06:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38311 -2.798562)'), GeomFromEWKT('SRID=4674;POINT (-40.383079 -2.798582)'))) / (select extract(epoch from '2026-07-29 06:03:48'::timestamp) - extract(epoch from '2026-07-29 06:03: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'), 47641, 'SRID=4674;POINT (-40.383019 -2.798621)', '2026-07-29 06:04:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383079 -2.798582)'), GeomFromEWKT('SRID=4674;POINT (-40.383019 -2.798621)'))) / (select extract(epoch from '2026-07-29 06:04:00'::timestamp) - extract(epoch from '2026-07-29 06:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383079 -2.798582)'), GeomFromEWKT('SRID=4674;POINT (-40.383019 -2.798621)'))) / (select extract(epoch from '2026-07-29 06:04:00'::timestamp) - extract(epoch from '2026-07-29 06:03: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'), 47641, 'SRID=4674;POINT (-40.382936 -2.798663)', '2026-07-29 06:04:15', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383019 -2.798621)'), GeomFromEWKT('SRID=4674;POINT (-40.382936 -2.798663)'))) / (select extract(epoch from '2026-07-29 06:04:15'::timestamp) - extract(epoch from '2026-07-29 06:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383019 -2.798621)'), GeomFromEWKT('SRID=4674;POINT (-40.382936 -2.798663)'))) / (select extract(epoch from '2026-07-29 06:04:15'::timestamp) - extract(epoch from '2026-07-29 06:04: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'), 47641, 'SRID=4674;POINT (-40.382868 -2.798696)', '2026-07-29 06:04:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382936 -2.798663)'), GeomFromEWKT('SRID=4674;POINT (-40.382868 -2.798696)'))) / (select extract(epoch from '2026-07-29 06:04:29'::timestamp) - extract(epoch from '2026-07-29 06:04:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382936 -2.798663)'), GeomFromEWKT('SRID=4674;POINT (-40.382868 -2.798696)'))) / (select extract(epoch from '2026-07-29 06:04:29'::timestamp) - extract(epoch from '2026-07-29 06:04:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.382815 -2.798726)', '2026-07-29 06:04:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382868 -2.798696)'), GeomFromEWKT('SRID=4674;POINT (-40.382815 -2.798726)'))) / (select extract(epoch from '2026-07-29 06:04:40'::timestamp) - extract(epoch from '2026-07-29 06:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382868 -2.798696)'), GeomFromEWKT('SRID=4674;POINT (-40.382815 -2.798726)'))) / (select extract(epoch from '2026-07-29 06:04:40'::timestamp) - extract(epoch from '2026-07-29 06:04: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'), 47641, 'SRID=4674;POINT (-40.382755 -2.798768)', '2026-07-29 06:04:55', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382815 -2.798726)'), GeomFromEWKT('SRID=4674;POINT (-40.382755 -2.798768)'))) / (select extract(epoch from '2026-07-29 06:04:55'::timestamp) - extract(epoch from '2026-07-29 06:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382815 -2.798726)'), GeomFromEWKT('SRID=4674;POINT (-40.382755 -2.798768)'))) / (select extract(epoch from '2026-07-29 06:04:55'::timestamp) - extract(epoch from '2026-07-29 06:04: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'), 47641, 'SRID=4674;POINT (-40.382708 -2.798785)', '2026-07-29 06:05:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382755 -2.798768)'), GeomFromEWKT('SRID=4674;POINT (-40.382708 -2.798785)'))) / (select extract(epoch from '2026-07-29 06:05:10'::timestamp) - extract(epoch from '2026-07-29 06:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382755 -2.798768)'), GeomFromEWKT('SRID=4674;POINT (-40.382708 -2.798785)'))) / (select extract(epoch from '2026-07-29 06:05:10'::timestamp) - extract(epoch from '2026-07-29 06:04: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'), 47641, 'SRID=4674;POINT (-40.382698 -2.798778)', '2026-07-29 06:05:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382708 -2.798785)'), GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.798778)'))) / (select extract(epoch from '2026-07-29 06:05:23'::timestamp) - extract(epoch from '2026-07-29 06:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382708 -2.798785)'), GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.798778)'))) / (select extract(epoch from '2026-07-29 06:05:23'::timestamp) - extract(epoch from '2026-07-29 06:05: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'), 47641, 'SRID=4674;POINT (-40.382699 -2.798764)', '2026-07-29 06:05:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.798778)'), GeomFromEWKT('SRID=4674;POINT (-40.382699 -2.798764)'))) / (select extract(epoch from '2026-07-29 06:05:39'::timestamp) - extract(epoch from '2026-07-29 06:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.798778)'), GeomFromEWKT('SRID=4674;POINT (-40.382699 -2.798764)'))) / (select extract(epoch from '2026-07-29 06:05:39'::timestamp) - extract(epoch from '2026-07-29 06:05: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'), 47641, 'SRID=4674;POINT (-40.382698 -2.798753)', '2026-07-29 06:05:49', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382699 -2.798764)'), GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.798753)'))) / (select extract(epoch from '2026-07-29 06:05:49'::timestamp) - extract(epoch from '2026-07-29 06:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382699 -2.798764)'), GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.798753)'))) / (select extract(epoch from '2026-07-29 06:05:49'::timestamp) - extract(epoch from '2026-07-29 06:05: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'), 47641, 'SRID=4674;POINT (-40.382692 -2.798747)', '2026-07-29 06:06:04', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.798753)'), GeomFromEWKT('SRID=4674;POINT (-40.382692 -2.798747)'))) / (select extract(epoch from '2026-07-29 06:06:04'::timestamp) - extract(epoch from '2026-07-29 06:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.798753)'), GeomFromEWKT('SRID=4674;POINT (-40.382692 -2.798747)'))) / (select extract(epoch from '2026-07-29 06:06:04'::timestamp) - extract(epoch from '2026-07-29 06:05: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'), 47641, 'SRID=4674;POINT (-40.382675 -2.798763)', '2026-07-29 06:06:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382692 -2.798747)'), GeomFromEWKT('SRID=4674;POINT (-40.382675 -2.798763)'))) / (select extract(epoch from '2026-07-29 06:06:13'::timestamp) - extract(epoch from '2026-07-29 06:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382692 -2.798747)'), GeomFromEWKT('SRID=4674;POINT (-40.382675 -2.798763)'))) / (select extract(epoch from '2026-07-29 06:06:13'::timestamp) - extract(epoch from '2026-07-29 06:06: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'), 47641, 'SRID=4674;POINT (-40.382644 -2.798792)', '2026-07-29 06:06:23', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382675 -2.798763)'), GeomFromEWKT('SRID=4674;POINT (-40.382644 -2.798792)'))) / (select extract(epoch from '2026-07-29 06:06:23'::timestamp) - extract(epoch from '2026-07-29 06:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382675 -2.798763)'), GeomFromEWKT('SRID=4674;POINT (-40.382644 -2.798792)'))) / (select extract(epoch from '2026-07-29 06:06:23'::timestamp) - extract(epoch from '2026-07-29 06:06:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.382601 -2.798815)', '2026-07-29 06:06:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382644 -2.798792)'), GeomFromEWKT('SRID=4674;POINT (-40.382601 -2.798815)'))) / (select extract(epoch from '2026-07-29 06:06:33'::timestamp) - extract(epoch from '2026-07-29 06:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382644 -2.798792)'), GeomFromEWKT('SRID=4674;POINT (-40.382601 -2.798815)'))) / (select extract(epoch from '2026-07-29 06:06:33'::timestamp) - extract(epoch from '2026-07-29 06:06:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.382553 -2.798837)', '2026-07-29 06:06:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382601 -2.798815)'), GeomFromEWKT('SRID=4674;POINT (-40.382553 -2.798837)'))) / (select extract(epoch from '2026-07-29 06:06:48'::timestamp) - extract(epoch from '2026-07-29 06:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382601 -2.798815)'), GeomFromEWKT('SRID=4674;POINT (-40.382553 -2.798837)'))) / (select extract(epoch from '2026-07-29 06:06:48'::timestamp) - extract(epoch from '2026-07-29 06:06:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.382522 -2.798846)', '2026-07-29 06:07:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382553 -2.798837)'), GeomFromEWKT('SRID=4674;POINT (-40.382522 -2.798846)'))) / (select extract(epoch from '2026-07-29 06:07:00'::timestamp) - extract(epoch from '2026-07-29 06:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382553 -2.798837)'), GeomFromEWKT('SRID=4674;POINT (-40.382522 -2.798846)'))) / (select extract(epoch from '2026-07-29 06:07:00'::timestamp) - extract(epoch from '2026-07-29 06:06: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'), 47641, 'SRID=4674;POINT (-40.382474 -2.798861)', '2026-07-29 06:07:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382522 -2.798846)'), GeomFromEWKT('SRID=4674;POINT (-40.382474 -2.798861)'))) / (select extract(epoch from '2026-07-29 06:07:15'::timestamp) - extract(epoch from '2026-07-29 06:07:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382522 -2.798846)'), GeomFromEWKT('SRID=4674;POINT (-40.382474 -2.798861)'))) / (select extract(epoch from '2026-07-29 06:07:15'::timestamp) - extract(epoch from '2026-07-29 06:07: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'), 47641, 'SRID=4674;POINT (-40.38245 -2.798865)', '2026-07-29 06:07:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382474 -2.798861)'), GeomFromEWKT('SRID=4674;POINT (-40.38245 -2.798865)'))) / (select extract(epoch from '2026-07-29 06:07:29'::timestamp) - extract(epoch from '2026-07-29 06:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382474 -2.798861)'), GeomFromEWKT('SRID=4674;POINT (-40.38245 -2.798865)'))) / (select extract(epoch from '2026-07-29 06:07:29'::timestamp) - extract(epoch from '2026-07-29 06:07: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'), 47641, 'SRID=4674;POINT (-40.382375 -2.798904)', '2026-07-29 06:07:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38245 -2.798865)'), GeomFromEWKT('SRID=4674;POINT (-40.382375 -2.798904)'))) / (select extract(epoch from '2026-07-29 06:07:46'::timestamp) - extract(epoch from '2026-07-29 06:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38245 -2.798865)'), GeomFromEWKT('SRID=4674;POINT (-40.382375 -2.798904)'))) / (select extract(epoch from '2026-07-29 06:07:46'::timestamp) - extract(epoch from '2026-07-29 06:07:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.382291 -2.798942)', '2026-07-29 06:08:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382375 -2.798904)'), GeomFromEWKT('SRID=4674;POINT (-40.382291 -2.798942)'))) / (select extract(epoch from '2026-07-29 06:08:02'::timestamp) - extract(epoch from '2026-07-29 06:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382375 -2.798904)'), GeomFromEWKT('SRID=4674;POINT (-40.382291 -2.798942)'))) / (select extract(epoch from '2026-07-29 06:08:02'::timestamp) - extract(epoch from '2026-07-29 06:07:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.382241 -2.798961)', '2026-07-29 06:08:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382291 -2.798942)'), GeomFromEWKT('SRID=4674;POINT (-40.382241 -2.798961)'))) / (select extract(epoch from '2026-07-29 06:08:14'::timestamp) - extract(epoch from '2026-07-29 06:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382291 -2.798942)'), GeomFromEWKT('SRID=4674;POINT (-40.382241 -2.798961)'))) / (select extract(epoch from '2026-07-29 06:08:14'::timestamp) - extract(epoch from '2026-07-29 06:08: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'), 47641, 'SRID=4674;POINT (-40.382192 -2.798984)', '2026-07-29 06:08:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382241 -2.798961)'), GeomFromEWKT('SRID=4674;POINT (-40.382192 -2.798984)'))) / (select extract(epoch from '2026-07-29 06:08:26'::timestamp) - extract(epoch from '2026-07-29 06:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382241 -2.798961)'), GeomFromEWKT('SRID=4674;POINT (-40.382192 -2.798984)'))) / (select extract(epoch from '2026-07-29 06:08:26'::timestamp) - extract(epoch from '2026-07-29 06:08: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'), 47641, 'SRID=4674;POINT (-40.382135 -2.799002)', '2026-07-29 06:08:40', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382192 -2.798984)'), GeomFromEWKT('SRID=4674;POINT (-40.382135 -2.799002)'))) / (select extract(epoch from '2026-07-29 06:08:40'::timestamp) - extract(epoch from '2026-07-29 06:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382192 -2.798984)'), GeomFromEWKT('SRID=4674;POINT (-40.382135 -2.799002)'))) / (select extract(epoch from '2026-07-29 06:08:40'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.38208 -2.799026)', '2026-07-29 06:08:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382135 -2.799002)'), GeomFromEWKT('SRID=4674;POINT (-40.38208 -2.799026)'))) / (select extract(epoch from '2026-07-29 06:08:55'::timestamp) - extract(epoch from '2026-07-29 06:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382135 -2.799002)'), GeomFromEWKT('SRID=4674;POINT (-40.38208 -2.799026)'))) / (select extract(epoch from '2026-07-29 06:08:55'::timestamp) - extract(epoch from '2026-07-29 06:08: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'), 47641, 'SRID=4674;POINT (-40.382046 -2.799048)', '2026-07-29 06:09:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38208 -2.799026)'), GeomFromEWKT('SRID=4674;POINT (-40.382046 -2.799048)'))) / (select extract(epoch from '2026-07-29 06:09:07'::timestamp) - extract(epoch from '2026-07-29 06:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38208 -2.799026)'), GeomFromEWKT('SRID=4674;POINT (-40.382046 -2.799048)'))) / (select extract(epoch from '2026-07-29 06:09:07'::timestamp) - extract(epoch from '2026-07-29 06:08: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'), 47641, 'SRID=4674;POINT (-40.382012 -2.79907)', '2026-07-29 06:09:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382046 -2.799048)'), GeomFromEWKT('SRID=4674;POINT (-40.382012 -2.79907)'))) / (select extract(epoch from '2026-07-29 06:09:21'::timestamp) - extract(epoch from '2026-07-29 06:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382046 -2.799048)'), GeomFromEWKT('SRID=4674;POINT (-40.382012 -2.79907)'))) / (select extract(epoch from '2026-07-29 06:09:21'::timestamp) - extract(epoch from '2026-07-29 06:09:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.38197 -2.799084)', '2026-07-29 06:09:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382012 -2.79907)'), GeomFromEWKT('SRID=4674;POINT (-40.38197 -2.799084)'))) / (select extract(epoch from '2026-07-29 06:09:34'::timestamp) - extract(epoch from '2026-07-29 06:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382012 -2.79907)'), GeomFromEWKT('SRID=4674;POINT (-40.38197 -2.799084)'))) / (select extract(epoch from '2026-07-29 06:09:34'::timestamp) - extract(epoch from '2026-07-29 06:09: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'), 47641, 'SRID=4674;POINT (-40.381921 -2.79911)', '2026-07-29 06:09:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38197 -2.799084)'), GeomFromEWKT('SRID=4674;POINT (-40.381921 -2.79911)'))) / (select extract(epoch from '2026-07-29 06:09:49'::timestamp) - extract(epoch from '2026-07-29 06:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38197 -2.799084)'), GeomFromEWKT('SRID=4674;POINT (-40.381921 -2.79911)'))) / (select extract(epoch from '2026-07-29 06:09:49'::timestamp) - extract(epoch from '2026-07-29 06:09:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381859 -2.799156)', '2026-07-29 06:10:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381921 -2.79911)'), GeomFromEWKT('SRID=4674;POINT (-40.381859 -2.799156)'))) / (select extract(epoch from '2026-07-29 06:10:07'::timestamp) - extract(epoch from '2026-07-29 06:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381921 -2.79911)'), GeomFromEWKT('SRID=4674;POINT (-40.381859 -2.799156)'))) / (select extract(epoch from '2026-07-29 06:10:07'::timestamp) - extract(epoch from '2026-07-29 06:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381828 -2.799152)', '2026-07-29 06:10:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381859 -2.799156)'), GeomFromEWKT('SRID=4674;POINT (-40.381828 -2.799152)'))) / (select extract(epoch from '2026-07-29 06:10:22'::timestamp) - extract(epoch from '2026-07-29 06:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381859 -2.799156)'), GeomFromEWKT('SRID=4674;POINT (-40.381828 -2.799152)'))) / (select extract(epoch from '2026-07-29 06:10:22'::timestamp) - extract(epoch from '2026-07-29 06:10: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'), 47641, 'SRID=4674;POINT (-40.381818 -2.799151)', '2026-07-29 06:10:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381828 -2.799152)'), GeomFromEWKT('SRID=4674;POINT (-40.381818 -2.799151)'))) / (select extract(epoch from '2026-07-29 06:10:33'::timestamp) - extract(epoch from '2026-07-29 06:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381828 -2.799152)'), GeomFromEWKT('SRID=4674;POINT (-40.381818 -2.799151)'))) / (select extract(epoch from '2026-07-29 06:10:33'::timestamp) - extract(epoch from '2026-07-29 06:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381812 -2.799145)', '2026-07-29 06:10:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381818 -2.799151)'), GeomFromEWKT('SRID=4674;POINT (-40.381812 -2.799145)'))) / (select extract(epoch from '2026-07-29 06:10:46'::timestamp) - extract(epoch from '2026-07-29 06:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381818 -2.799151)'), GeomFromEWKT('SRID=4674;POINT (-40.381812 -2.799145)'))) / (select extract(epoch from '2026-07-29 06:10:46'::timestamp) - extract(epoch from '2026-07-29 06:10: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'), 47641, 'SRID=4674;POINT (-40.381804 -2.799156)', '2026-07-29 06:11:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381812 -2.799145)'), GeomFromEWKT('SRID=4674;POINT (-40.381804 -2.799156)'))) / (select extract(epoch from '2026-07-29 06:11:00'::timestamp) - extract(epoch from '2026-07-29 06:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381812 -2.799145)'), GeomFromEWKT('SRID=4674;POINT (-40.381804 -2.799156)'))) / (select extract(epoch from '2026-07-29 06:11:00'::timestamp) - extract(epoch from '2026-07-29 06:10: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'), 47641, 'SRID=4674;POINT (-40.381768 -2.799174)', '2026-07-29 06:11:14', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381804 -2.799156)'), GeomFromEWKT('SRID=4674;POINT (-40.381768 -2.799174)'))) / (select extract(epoch from '2026-07-29 06:11:14'::timestamp) - extract(epoch from '2026-07-29 06:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381804 -2.799156)'), GeomFromEWKT('SRID=4674;POINT (-40.381768 -2.799174)'))) / (select extract(epoch from '2026-07-29 06:11:14'::timestamp) - extract(epoch from '2026-07-29 06:11: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'), 47641, 'SRID=4674;POINT (-40.381713 -2.799192)', '2026-07-29 06:11:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381768 -2.799174)'), GeomFromEWKT('SRID=4674;POINT (-40.381713 -2.799192)'))) / (select extract(epoch from '2026-07-29 06:11:28'::timestamp) - extract(epoch from '2026-07-29 06:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381768 -2.799174)'), GeomFromEWKT('SRID=4674;POINT (-40.381713 -2.799192)'))) / (select extract(epoch from '2026-07-29 06:11:28'::timestamp) - extract(epoch from '2026-07-29 06:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381676 -2.799206)', '2026-07-29 06:11:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381713 -2.799192)'), GeomFromEWKT('SRID=4674;POINT (-40.381676 -2.799206)'))) / (select extract(epoch from '2026-07-29 06:11:41'::timestamp) - extract(epoch from '2026-07-29 06:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381713 -2.799192)'), GeomFromEWKT('SRID=4674;POINT (-40.381676 -2.799206)'))) / (select extract(epoch from '2026-07-29 06:11:41'::timestamp) - extract(epoch from '2026-07-29 06:11: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'), 47641, 'SRID=4674;POINT (-40.381658 -2.799199)', '2026-07-29 06:11:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381676 -2.799206)'), GeomFromEWKT('SRID=4674;POINT (-40.381658 -2.799199)'))) / (select extract(epoch from '2026-07-29 06:11:54'::timestamp) - extract(epoch from '2026-07-29 06:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381676 -2.799206)'), GeomFromEWKT('SRID=4674;POINT (-40.381658 -2.799199)'))) / (select extract(epoch from '2026-07-29 06:11:54'::timestamp) - extract(epoch from '2026-07-29 06:11:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381635 -2.799216)', '2026-07-29 06:12:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381658 -2.799199)'), GeomFromEWKT('SRID=4674;POINT (-40.381635 -2.799216)'))) / (select extract(epoch from '2026-07-29 06:12:08'::timestamp) - extract(epoch from '2026-07-29 06:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381658 -2.799199)'), GeomFromEWKT('SRID=4674;POINT (-40.381635 -2.799216)'))) / (select extract(epoch from '2026-07-29 06:12:08'::timestamp) - extract(epoch from '2026-07-29 06:11: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'), 47641, 'SRID=4674;POINT (-40.381604 -2.799251)', '2026-07-29 06:12:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381635 -2.799216)'), GeomFromEWKT('SRID=4674;POINT (-40.381604 -2.799251)'))) / (select extract(epoch from '2026-07-29 06:12:20'::timestamp) - extract(epoch from '2026-07-29 06:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381635 -2.799216)'), GeomFromEWKT('SRID=4674;POINT (-40.381604 -2.799251)'))) / (select extract(epoch from '2026-07-29 06:12:20'::timestamp) - extract(epoch from '2026-07-29 06:12: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'), 47641, 'SRID=4674;POINT (-40.381593 -2.79926)', '2026-07-29 06:12:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381604 -2.799251)'), GeomFromEWKT('SRID=4674;POINT (-40.381593 -2.79926)'))) / (select extract(epoch from '2026-07-29 06:12:29'::timestamp) - extract(epoch from '2026-07-29 06:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381604 -2.799251)'), GeomFromEWKT('SRID=4674;POINT (-40.381593 -2.79926)'))) / (select extract(epoch from '2026-07-29 06:12:29'::timestamp) - extract(epoch from '2026-07-29 06:12: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'), 47641, 'SRID=4674;POINT (-40.381575 -2.79925)', '2026-07-29 06:12:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381593 -2.79926)'), GeomFromEWKT('SRID=4674;POINT (-40.381575 -2.79925)'))) / (select extract(epoch from '2026-07-29 06:12:43'::timestamp) - extract(epoch from '2026-07-29 06:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381593 -2.79926)'), GeomFromEWKT('SRID=4674;POINT (-40.381575 -2.79925)'))) / (select extract(epoch from '2026-07-29 06:12:43'::timestamp) - extract(epoch from '2026-07-29 06:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381565 -2.799251)', '2026-07-29 06:12:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381575 -2.79925)'), GeomFromEWKT('SRID=4674;POINT (-40.381565 -2.799251)'))) / (select extract(epoch from '2026-07-29 06:12:53'::timestamp) - extract(epoch from '2026-07-29 06:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381575 -2.79925)'), GeomFromEWKT('SRID=4674;POINT (-40.381565 -2.799251)'))) / (select extract(epoch from '2026-07-29 06:12:53'::timestamp) - extract(epoch from '2026-07-29 06:12: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'), 47641, 'SRID=4674;POINT (-40.381553 -2.79925)', '2026-07-29 06:13:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381565 -2.799251)'), GeomFromEWKT('SRID=4674;POINT (-40.381553 -2.79925)'))) / (select extract(epoch from '2026-07-29 06:13:12'::timestamp) - extract(epoch from '2026-07-29 06:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381565 -2.799251)'), GeomFromEWKT('SRID=4674;POINT (-40.381553 -2.79925)'))) / (select extract(epoch from '2026-07-29 06:13:12'::timestamp) - extract(epoch from '2026-07-29 06:12: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'), 47641, 'SRID=4674;POINT (-40.381523 -2.799272)', '2026-07-29 06:13:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381553 -2.79925)'), GeomFromEWKT('SRID=4674;POINT (-40.381523 -2.799272)'))) / (select extract(epoch from '2026-07-29 06:13:26'::timestamp) - extract(epoch from '2026-07-29 06:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381553 -2.79925)'), GeomFromEWKT('SRID=4674;POINT (-40.381523 -2.799272)'))) / (select extract(epoch from '2026-07-29 06:13:26'::timestamp) - extract(epoch from '2026-07-29 06:13: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'), 47641, 'SRID=4674;POINT (-40.381472 -2.799311)', '2026-07-29 06:13:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381523 -2.799272)'), GeomFromEWKT('SRID=4674;POINT (-40.381472 -2.799311)'))) / (select extract(epoch from '2026-07-29 06:13:40'::timestamp) - extract(epoch from '2026-07-29 06:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381523 -2.799272)'), GeomFromEWKT('SRID=4674;POINT (-40.381472 -2.799311)'))) / (select extract(epoch from '2026-07-29 06:13:40'::timestamp) - extract(epoch from '2026-07-29 06:13: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'), 47641, 'SRID=4674;POINT (-40.381406 -2.799336)', '2026-07-29 06:13:56', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381472 -2.799311)'), GeomFromEWKT('SRID=4674;POINT (-40.381406 -2.799336)'))) / (select extract(epoch from '2026-07-29 06:13:56'::timestamp) - extract(epoch from '2026-07-29 06:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381472 -2.799311)'), GeomFromEWKT('SRID=4674;POINT (-40.381406 -2.799336)'))) / (select extract(epoch from '2026-07-29 06:13:56'::timestamp) - extract(epoch from '2026-07-29 06:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381367 -2.79935)', '2026-07-29 06:14:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381406 -2.799336)'), GeomFromEWKT('SRID=4674;POINT (-40.381367 -2.79935)'))) / (select extract(epoch from '2026-07-29 06:14:14'::timestamp) - extract(epoch from '2026-07-29 06:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381406 -2.799336)'), GeomFromEWKT('SRID=4674;POINT (-40.381367 -2.79935)'))) / (select extract(epoch from '2026-07-29 06:14:14'::timestamp) - extract(epoch from '2026-07-29 06:13: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'), 47641, 'SRID=4674;POINT (-40.38135 -2.799362)', '2026-07-29 06:14:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381367 -2.79935)'), GeomFromEWKT('SRID=4674;POINT (-40.38135 -2.799362)'))) / (select extract(epoch from '2026-07-29 06:14:22'::timestamp) - extract(epoch from '2026-07-29 06:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381367 -2.79935)'), GeomFromEWKT('SRID=4674;POINT (-40.38135 -2.799362)'))) / (select extract(epoch from '2026-07-29 06:14:22'::timestamp) - extract(epoch from '2026-07-29 06:14: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'), 47641, 'SRID=4674;POINT (-40.381319 -2.799363)', '2026-07-29 06:14:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38135 -2.799362)'), GeomFromEWKT('SRID=4674;POINT (-40.381319 -2.799363)'))) / (select extract(epoch from '2026-07-29 06:14:35'::timestamp) - extract(epoch from '2026-07-29 06:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38135 -2.799362)'), GeomFromEWKT('SRID=4674;POINT (-40.381319 -2.799363)'))) / (select extract(epoch from '2026-07-29 06:14:35'::timestamp) - extract(epoch from '2026-07-29 06:14: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'), 47641, 'SRID=4674;POINT (-40.381293 -2.79936)', '2026-07-29 06:14:48', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381319 -2.799363)'), GeomFromEWKT('SRID=4674;POINT (-40.381293 -2.79936)'))) / (select extract(epoch from '2026-07-29 06:14:48'::timestamp) - extract(epoch from '2026-07-29 06:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381319 -2.799363)'), GeomFromEWKT('SRID=4674;POINT (-40.381293 -2.79936)'))) / (select extract(epoch from '2026-07-29 06:14:48'::timestamp) - extract(epoch from '2026-07-29 06:14: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'), 47641, 'SRID=4674;POINT (-40.381235 -2.799386)', '2026-07-29 06:15:04', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381293 -2.79936)'), GeomFromEWKT('SRID=4674;POINT (-40.381235 -2.799386)'))) / (select extract(epoch from '2026-07-29 06:15:04'::timestamp) - extract(epoch from '2026-07-29 06:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381293 -2.79936)'), GeomFromEWKT('SRID=4674;POINT (-40.381235 -2.799386)'))) / (select extract(epoch from '2026-07-29 06:15:04'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.381185 -2.799403)', '2026-07-29 06:15:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381235 -2.799386)'), GeomFromEWKT('SRID=4674;POINT (-40.381185 -2.799403)'))) / (select extract(epoch from '2026-07-29 06:15:20'::timestamp) - extract(epoch from '2026-07-29 06:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381235 -2.799386)'), GeomFromEWKT('SRID=4674;POINT (-40.381185 -2.799403)'))) / (select extract(epoch from '2026-07-29 06:15:20'::timestamp) - extract(epoch from '2026-07-29 06:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.381157 -2.799406)', '2026-07-29 06:15:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381185 -2.799403)'), GeomFromEWKT('SRID=4674;POINT (-40.381157 -2.799406)'))) / (select extract(epoch from '2026-07-29 06:15:35'::timestamp) - extract(epoch from '2026-07-29 06:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381185 -2.799403)'), GeomFromEWKT('SRID=4674;POINT (-40.381157 -2.799406)'))) / (select extract(epoch from '2026-07-29 06:15:35'::timestamp) - extract(epoch from '2026-07-29 06:15: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'), 47641, 'SRID=4674;POINT (-40.381109 -2.799437)', '2026-07-29 06:15:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381157 -2.799406)'), GeomFromEWKT('SRID=4674;POINT (-40.381109 -2.799437)'))) / (select extract(epoch from '2026-07-29 06:15:50'::timestamp) - extract(epoch from '2026-07-29 06:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381157 -2.799406)'), GeomFromEWKT('SRID=4674;POINT (-40.381109 -2.799437)'))) / (select extract(epoch from '2026-07-29 06:15:50'::timestamp) - extract(epoch from '2026-07-29 06:15: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'), 47641, 'SRID=4674;POINT (-40.38106 -2.799464)', '2026-07-29 06:16:06', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381109 -2.799437)'), GeomFromEWKT('SRID=4674;POINT (-40.38106 -2.799464)'))) / (select extract(epoch from '2026-07-29 06:16:06'::timestamp) - extract(epoch from '2026-07-29 06:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381109 -2.799437)'), GeomFromEWKT('SRID=4674;POINT (-40.38106 -2.799464)'))) / (select extract(epoch from '2026-07-29 06:16:06'::timestamp) - extract(epoch from '2026-07-29 06:15: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'), 47641, 'SRID=4674;POINT (-40.381025 -2.799466)', '2026-07-29 06:16:18', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38106 -2.799464)'), GeomFromEWKT('SRID=4674;POINT (-40.381025 -2.799466)'))) / (select extract(epoch from '2026-07-29 06:16:18'::timestamp) - extract(epoch from '2026-07-29 06:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38106 -2.799464)'), GeomFromEWKT('SRID=4674;POINT (-40.381025 -2.799466)'))) / (select extract(epoch from '2026-07-29 06:16:18'::timestamp) - extract(epoch from '2026-07-29 06:16: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'), 47641, 'SRID=4674;POINT (-40.380987 -2.799487)', '2026-07-29 06:16:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381025 -2.799466)'), GeomFromEWKT('SRID=4674;POINT (-40.380987 -2.799487)'))) / (select extract(epoch from '2026-07-29 06:16:31'::timestamp) - extract(epoch from '2026-07-29 06:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381025 -2.799466)'), GeomFromEWKT('SRID=4674;POINT (-40.380987 -2.799487)'))) / (select extract(epoch from '2026-07-29 06:16:31'::timestamp) - extract(epoch from '2026-07-29 06:16: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'), 47641, 'SRID=4674;POINT (-40.380928 -2.7995)', '2026-07-29 06:16:46', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380987 -2.799487)'), GeomFromEWKT('SRID=4674;POINT (-40.380928 -2.7995)'))) / (select extract(epoch from '2026-07-29 06:16:46'::timestamp) - extract(epoch from '2026-07-29 06:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380987 -2.799487)'), GeomFromEWKT('SRID=4674;POINT (-40.380928 -2.7995)'))) / (select extract(epoch from '2026-07-29 06:16:46'::timestamp) - extract(epoch from '2026-07-29 06:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.380859 -2.799514)', '2026-07-29 06:17:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380928 -2.7995)'), GeomFromEWKT('SRID=4674;POINT (-40.380859 -2.799514)'))) / (select extract(epoch from '2026-07-29 06:17:03'::timestamp) - extract(epoch from '2026-07-29 06:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380928 -2.7995)'), GeomFromEWKT('SRID=4674;POINT (-40.380859 -2.799514)'))) / (select extract(epoch from '2026-07-29 06:17:03'::timestamp) - extract(epoch from '2026-07-29 06:16: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'), 47641, 'SRID=4674;POINT (-40.380831 -2.799516)', '2026-07-29 06:17:16', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380859 -2.799514)'), GeomFromEWKT('SRID=4674;POINT (-40.380831 -2.799516)'))) / (select extract(epoch from '2026-07-29 06:17:16'::timestamp) - extract(epoch from '2026-07-29 06:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380859 -2.799514)'), GeomFromEWKT('SRID=4674;POINT (-40.380831 -2.799516)'))) / (select extract(epoch from '2026-07-29 06:17:16'::timestamp) - extract(epoch from '2026-07-29 06:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.380804 -2.799523)', '2026-07-29 06:17:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380831 -2.799516)'), GeomFromEWKT('SRID=4674;POINT (-40.380804 -2.799523)'))) / (select extract(epoch from '2026-07-29 06:17:28'::timestamp) - extract(epoch from '2026-07-29 06:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380831 -2.799516)'), GeomFromEWKT('SRID=4674;POINT (-40.380804 -2.799523)'))) / (select extract(epoch from '2026-07-29 06:17:28'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.380767 -2.799547)', '2026-07-29 06:17:42', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380804 -2.799523)'), GeomFromEWKT('SRID=4674;POINT (-40.380767 -2.799547)'))) / (select extract(epoch from '2026-07-29 06:17:42'::timestamp) - extract(epoch from '2026-07-29 06:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380804 -2.799523)'), GeomFromEWKT('SRID=4674;POINT (-40.380767 -2.799547)'))) / (select extract(epoch from '2026-07-29 06:17:42'::timestamp) - extract(epoch from '2026-07-29 06:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.380727 -2.799564)', '2026-07-29 06:17:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380767 -2.799547)'), GeomFromEWKT('SRID=4674;POINT (-40.380727 -2.799564)'))) / (select extract(epoch from '2026-07-29 06:17:54'::timestamp) - extract(epoch from '2026-07-29 06:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380767 -2.799547)'), GeomFromEWKT('SRID=4674;POINT (-40.380727 -2.799564)'))) / (select extract(epoch from '2026-07-29 06:17:54'::timestamp) - extract(epoch from '2026-07-29 06:17: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'), 47641, 'SRID=4674;POINT (-40.3807 -2.799551)', '2026-07-29 06:18:07', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380727 -2.799564)'), GeomFromEWKT('SRID=4674;POINT (-40.3807 -2.799551)'))) / (select extract(epoch from '2026-07-29 06:18:07'::timestamp) - extract(epoch from '2026-07-29 06:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380727 -2.799564)'), GeomFromEWKT('SRID=4674;POINT (-40.3807 -2.799551)'))) / (select extract(epoch from '2026-07-29 06:18:07'::timestamp) - extract(epoch from '2026-07-29 06:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.380689 -2.799558)', '2026-07-29 06:18:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3807 -2.799551)'), GeomFromEWKT('SRID=4674;POINT (-40.380689 -2.799558)'))) / (select extract(epoch from '2026-07-29 06:18:14'::timestamp) - extract(epoch from '2026-07-29 06:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3807 -2.799551)'), GeomFromEWKT('SRID=4674;POINT (-40.380689 -2.799558)'))) / (select extract(epoch from '2026-07-29 06:18:14'::timestamp) - extract(epoch from '2026-07-29 06:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.380642 -2.799586)', '2026-07-29 06:18:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380689 -2.799558)'), GeomFromEWKT('SRID=4674;POINT (-40.380642 -2.799586)'))) / (select extract(epoch from '2026-07-29 06:18:27'::timestamp) - extract(epoch from '2026-07-29 06:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380689 -2.799558)'), GeomFromEWKT('SRID=4674;POINT (-40.380642 -2.799586)'))) / (select extract(epoch from '2026-07-29 06:18:27'::timestamp) - extract(epoch from '2026-07-29 06:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.380588 -2.799603)', '2026-07-29 06:18:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380642 -2.799586)'), GeomFromEWKT('SRID=4674;POINT (-40.380588 -2.799603)'))) / (select extract(epoch from '2026-07-29 06:18:43'::timestamp) - extract(epoch from '2026-07-29 06:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380642 -2.799586)'), GeomFromEWKT('SRID=4674;POINT (-40.380588 -2.799603)'))) / (select extract(epoch from '2026-07-29 06:18:43'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.380545 -2.799609)', '2026-07-29 06:18:56', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380588 -2.799603)'), GeomFromEWKT('SRID=4674;POINT (-40.380545 -2.799609)'))) / (select extract(epoch from '2026-07-29 06:18:56'::timestamp) - extract(epoch from '2026-07-29 06:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380588 -2.799603)'), GeomFromEWKT('SRID=4674;POINT (-40.380545 -2.799609)'))) / (select extract(epoch from '2026-07-29 06:18:56'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.3805 -2.799619)', '2026-07-29 06:19:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380545 -2.799609)'), GeomFromEWKT('SRID=4674;POINT (-40.3805 -2.799619)'))) / (select extract(epoch from '2026-07-29 06:19:11'::timestamp) - extract(epoch from '2026-07-29 06:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380545 -2.799609)'), GeomFromEWKT('SRID=4674;POINT (-40.3805 -2.799619)'))) / (select extract(epoch from '2026-07-29 06:19:11'::timestamp) - extract(epoch from '2026-07-29 06:18: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'), 47641, 'SRID=4674;POINT (-40.380487 -2.799626)', '2026-07-29 06:19:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3805 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.380487 -2.799626)'))) / (select extract(epoch from '2026-07-29 06:19:21'::timestamp) - extract(epoch from '2026-07-29 06:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3805 -2.799619)'), GeomFromEWKT('SRID=4674;POINT (-40.380487 -2.799626)'))) / (select extract(epoch from '2026-07-29 06:19:21'::timestamp) - extract(epoch from '2026-07-29 06:19: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'), 47641, 'SRID=4674;POINT (-40.380439 -2.799629)', '2026-07-29 06:19:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380487 -2.799626)'), GeomFromEWKT('SRID=4674;POINT (-40.380439 -2.799629)'))) / (select extract(epoch from '2026-07-29 06:19:34'::timestamp) - extract(epoch from '2026-07-29 06:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380487 -2.799626)'), GeomFromEWKT('SRID=4674;POINT (-40.380439 -2.799629)'))) / (select extract(epoch from '2026-07-29 06:19:34'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.38037 -2.799646)', '2026-07-29 06:19:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380439 -2.799629)'), GeomFromEWKT('SRID=4674;POINT (-40.38037 -2.799646)'))) / (select extract(epoch from '2026-07-29 06:19:47'::timestamp) - extract(epoch from '2026-07-29 06:19:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380439 -2.799629)'), GeomFromEWKT('SRID=4674;POINT (-40.38037 -2.799646)'))) / (select extract(epoch from '2026-07-29 06:19:47'::timestamp) - extract(epoch from '2026-07-29 06:19: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'), 47641, 'SRID=4674;POINT (-40.380298 -2.799669)', '2026-07-29 06:20:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38037 -2.799646)'), GeomFromEWKT('SRID=4674;POINT (-40.380298 -2.799669)'))) / (select extract(epoch from '2026-07-29 06:20:03'::timestamp) - extract(epoch from '2026-07-29 06:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38037 -2.799646)'), GeomFromEWKT('SRID=4674;POINT (-40.380298 -2.799669)'))) / (select extract(epoch from '2026-07-29 06:20:03'::timestamp) - extract(epoch from '2026-07-29 06:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.380239 -2.799681)', '2026-07-29 06:20:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380298 -2.799669)'), GeomFromEWKT('SRID=4674;POINT (-40.380239 -2.799681)'))) / (select extract(epoch from '2026-07-29 06:20:16'::timestamp) - extract(epoch from '2026-07-29 06:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380298 -2.799669)'), GeomFromEWKT('SRID=4674;POINT (-40.380239 -2.799681)'))) / (select extract(epoch from '2026-07-29 06:20:16'::timestamp) - extract(epoch from '2026-07-29 06:20: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'), 47641, 'SRID=4674;POINT (-40.380198 -2.799717)', '2026-07-29 06:20:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380239 -2.799681)'), GeomFromEWKT('SRID=4674;POINT (-40.380198 -2.799717)'))) / (select extract(epoch from '2026-07-29 06:20:31'::timestamp) - extract(epoch from '2026-07-29 06:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380239 -2.799681)'), GeomFromEWKT('SRID=4674;POINT (-40.380198 -2.799717)'))) / (select extract(epoch from '2026-07-29 06:20:31'::timestamp) - extract(epoch from '2026-07-29 06:20:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.380192 -2.799725)', '2026-07-29 06:20:47', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380198 -2.799717)'), GeomFromEWKT('SRID=4674;POINT (-40.380192 -2.799725)'))) / (select extract(epoch from '2026-07-29 06:20:47'::timestamp) - extract(epoch from '2026-07-29 06:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380198 -2.799717)'), GeomFromEWKT('SRID=4674;POINT (-40.380192 -2.799725)'))) / (select extract(epoch from '2026-07-29 06:20:47'::timestamp) - extract(epoch from '2026-07-29 06:20: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'), 47641, 'SRID=4674;POINT (-40.380177 -2.799722)', '2026-07-29 06:21:09', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380192 -2.799725)'), GeomFromEWKT('SRID=4674;POINT (-40.380177 -2.799722)'))) / (select extract(epoch from '2026-07-29 06:21:09'::timestamp) - extract(epoch from '2026-07-29 06:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380192 -2.799725)'), GeomFromEWKT('SRID=4674;POINT (-40.380177 -2.799722)'))) / (select extract(epoch from '2026-07-29 06:21:09'::timestamp) - extract(epoch from '2026-07-29 06:20: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'), 47641, 'SRID=4674;POINT (-40.380138 -2.799753)', '2026-07-29 06:21:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380177 -2.799722)'), GeomFromEWKT('SRID=4674;POINT (-40.380138 -2.799753)'))) / (select extract(epoch from '2026-07-29 06:21:22'::timestamp) - extract(epoch from '2026-07-29 06:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380177 -2.799722)'), GeomFromEWKT('SRID=4674;POINT (-40.380138 -2.799753)'))) / (select extract(epoch from '2026-07-29 06:21:22'::timestamp) - extract(epoch from '2026-07-29 06:21: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'), 47641, 'SRID=4674;POINT (-40.380067 -2.799775)', '2026-07-29 06:21:37', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380138 -2.799753)'), GeomFromEWKT('SRID=4674;POINT (-40.380067 -2.799775)'))) / (select extract(epoch from '2026-07-29 06:21:37'::timestamp) - extract(epoch from '2026-07-29 06:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380138 -2.799753)'), GeomFromEWKT('SRID=4674;POINT (-40.380067 -2.799775)'))) / (select extract(epoch from '2026-07-29 06:21:37'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.379975 -2.799834)', '2026-07-29 06:21:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380067 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.379975 -2.799834)'))) / (select extract(epoch from '2026-07-29 06:21:56'::timestamp) - extract(epoch from '2026-07-29 06:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380067 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.379975 -2.799834)'))) / (select extract(epoch from '2026-07-29 06:21:56'::timestamp) - extract(epoch from '2026-07-29 06:21: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'), 47641, 'SRID=4674;POINT (-40.379936 -2.799866)', '2026-07-29 06:22:11', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379975 -2.799834)'), GeomFromEWKT('SRID=4674;POINT (-40.379936 -2.799866)'))) / (select extract(epoch from '2026-07-29 06:22:11'::timestamp) - extract(epoch from '2026-07-29 06:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379975 -2.799834)'), GeomFromEWKT('SRID=4674;POINT (-40.379936 -2.799866)'))) / (select extract(epoch from '2026-07-29 06:22:11'::timestamp) - extract(epoch from '2026-07-29 06:21: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'), 47641, 'SRID=4674;POINT (-40.379912 -2.799911)', '2026-07-29 06:22:26', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379936 -2.799866)'), GeomFromEWKT('SRID=4674;POINT (-40.379912 -2.799911)'))) / (select extract(epoch from '2026-07-29 06:22:26'::timestamp) - extract(epoch from '2026-07-29 06:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379936 -2.799866)'), GeomFromEWKT('SRID=4674;POINT (-40.379912 -2.799911)'))) / (select extract(epoch from '2026-07-29 06:22:26'::timestamp) - extract(epoch from '2026-07-29 06:22: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'), 47641, 'SRID=4674;POINT (-40.379878 -2.799947)', '2026-07-29 06:22:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379912 -2.799911)'), GeomFromEWKT('SRID=4674;POINT (-40.379878 -2.799947)'))) / (select extract(epoch from '2026-07-29 06:22:38'::timestamp) - extract(epoch from '2026-07-29 06:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379912 -2.799911)'), GeomFromEWKT('SRID=4674;POINT (-40.379878 -2.799947)'))) / (select extract(epoch from '2026-07-29 06:22:38'::timestamp) - extract(epoch from '2026-07-29 06:22: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'), 47641, 'SRID=4674;POINT (-40.379864 -2.799944)', '2026-07-29 06:22:50', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379878 -2.799947)'), GeomFromEWKT('SRID=4674;POINT (-40.379864 -2.799944)'))) / (select extract(epoch from '2026-07-29 06:22:50'::timestamp) - extract(epoch from '2026-07-29 06:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379878 -2.799947)'), GeomFromEWKT('SRID=4674;POINT (-40.379864 -2.799944)'))) / (select extract(epoch from '2026-07-29 06:22:50'::timestamp) - extract(epoch from '2026-07-29 06:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379856 -2.79993)', '2026-07-29 06:23:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379864 -2.799944)'), GeomFromEWKT('SRID=4674;POINT (-40.379856 -2.79993)'))) / (select extract(epoch from '2026-07-29 06:23:00'::timestamp) - extract(epoch from '2026-07-29 06:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379864 -2.799944)'), GeomFromEWKT('SRID=4674;POINT (-40.379856 -2.79993)'))) / (select extract(epoch from '2026-07-29 06:23:00'::timestamp) - extract(epoch from '2026-07-29 06:22: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'), 47641, 'SRID=4674;POINT (-40.379834 -2.799921)', '2026-07-29 06:23:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379856 -2.79993)'), GeomFromEWKT('SRID=4674;POINT (-40.379834 -2.799921)'))) / (select extract(epoch from '2026-07-29 06:23:19'::timestamp) - extract(epoch from '2026-07-29 06:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379856 -2.79993)'), GeomFromEWKT('SRID=4674;POINT (-40.379834 -2.799921)'))) / (select extract(epoch from '2026-07-29 06:23:19'::timestamp) - extract(epoch from '2026-07-29 06:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379818 -2.799938)', '2026-07-29 06:23:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379834 -2.799921)'), GeomFromEWKT('SRID=4674;POINT (-40.379818 -2.799938)'))) / (select extract(epoch from '2026-07-29 06:23:27'::timestamp) - extract(epoch from '2026-07-29 06:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379834 -2.799921)'), GeomFromEWKT('SRID=4674;POINT (-40.379818 -2.799938)'))) / (select extract(epoch from '2026-07-29 06:23:27'::timestamp) - extract(epoch from '2026-07-29 06:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379796 -2.799959)', '2026-07-29 06:23:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379818 -2.799938)'), GeomFromEWKT('SRID=4674;POINT (-40.379796 -2.799959)'))) / (select extract(epoch from '2026-07-29 06:23:42'::timestamp) - extract(epoch from '2026-07-29 06:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379818 -2.799938)'), GeomFromEWKT('SRID=4674;POINT (-40.379796 -2.799959)'))) / (select extract(epoch from '2026-07-29 06:23:42'::timestamp) - extract(epoch from '2026-07-29 06:23:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379785 -2.799951)', '2026-07-29 06:23:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379796 -2.799959)'), GeomFromEWKT('SRID=4674;POINT (-40.379785 -2.799951)'))) / (select extract(epoch from '2026-07-29 06:23:54'::timestamp) - extract(epoch from '2026-07-29 06:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379796 -2.799959)'), GeomFromEWKT('SRID=4674;POINT (-40.379785 -2.799951)'))) / (select extract(epoch from '2026-07-29 06:23:54'::timestamp) - extract(epoch from '2026-07-29 06:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379793 -2.799937)', '2026-07-29 06:24:04', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379785 -2.799951)'), GeomFromEWKT('SRID=4674;POINT (-40.379793 -2.799937)'))) / (select extract(epoch from '2026-07-29 06:24:04'::timestamp) - extract(epoch from '2026-07-29 06:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379785 -2.799951)'), GeomFromEWKT('SRID=4674;POINT (-40.379793 -2.799937)'))) / (select extract(epoch from '2026-07-29 06:24:04'::timestamp) - extract(epoch from '2026-07-29 06:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379788 -2.799919)', '2026-07-29 06:24:20', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379793 -2.799937)'), GeomFromEWKT('SRID=4674;POINT (-40.379788 -2.799919)'))) / (select extract(epoch from '2026-07-29 06:24:20'::timestamp) - extract(epoch from '2026-07-29 06:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379793 -2.799937)'), GeomFromEWKT('SRID=4674;POINT (-40.379788 -2.799919)'))) / (select extract(epoch from '2026-07-29 06:24:20'::timestamp) - extract(epoch from '2026-07-29 06:24: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'), 47641, 'SRID=4674;POINT (-40.379786 -2.799928)', '2026-07-29 06:24:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379788 -2.799919)'), GeomFromEWKT('SRID=4674;POINT (-40.379786 -2.799928)'))) / (select extract(epoch from '2026-07-29 06:24:36'::timestamp) - extract(epoch from '2026-07-29 06:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379788 -2.799919)'), GeomFromEWKT('SRID=4674;POINT (-40.379786 -2.799928)'))) / (select extract(epoch from '2026-07-29 06:24:36'::timestamp) - extract(epoch from '2026-07-29 06:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379799 -2.799936)', '2026-07-29 06:24:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379786 -2.799928)'), GeomFromEWKT('SRID=4674;POINT (-40.379799 -2.799936)'))) / (select extract(epoch from '2026-07-29 06:24:55'::timestamp) - extract(epoch from '2026-07-29 06:24:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379786 -2.799928)'), GeomFromEWKT('SRID=4674;POINT (-40.379799 -2.799936)'))) / (select extract(epoch from '2026-07-29 06:24:55'::timestamp) - extract(epoch from '2026-07-29 06:24: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'), 47641, 'SRID=4674;POINT (-40.379773 -2.799956)', '2026-07-29 06:25:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379799 -2.799936)'), GeomFromEWKT('SRID=4674;POINT (-40.379773 -2.799956)'))) / (select extract(epoch from '2026-07-29 06:25:08'::timestamp) - extract(epoch from '2026-07-29 06:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379799 -2.799936)'), GeomFromEWKT('SRID=4674;POINT (-40.379773 -2.799956)'))) / (select extract(epoch from '2026-07-29 06:25:08'::timestamp) - extract(epoch from '2026-07-29 06:24: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'), 47641, 'SRID=4674;POINT (-40.379729 -2.799988)', '2026-07-29 06:25:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379773 -2.799956)'), GeomFromEWKT('SRID=4674;POINT (-40.379729 -2.799988)'))) / (select extract(epoch from '2026-07-29 06:25:24'::timestamp) - extract(epoch from '2026-07-29 06:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379773 -2.799956)'), GeomFromEWKT('SRID=4674;POINT (-40.379729 -2.799988)'))) / (select extract(epoch from '2026-07-29 06:25:24'::timestamp) - extract(epoch from '2026-07-29 06:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379715 -2.799976)', '2026-07-29 06:25:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379729 -2.799988)'), GeomFromEWKT('SRID=4674;POINT (-40.379715 -2.799976)'))) / (select extract(epoch from '2026-07-29 06:25:35'::timestamp) - extract(epoch from '2026-07-29 06:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379729 -2.799988)'), GeomFromEWKT('SRID=4674;POINT (-40.379715 -2.799976)'))) / (select extract(epoch from '2026-07-29 06:25:35'::timestamp) - extract(epoch from '2026-07-29 06:25: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'), 47641, 'SRID=4674;POINT (-40.37971 -2.799964)', '2026-07-29 06:25:51', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379715 -2.799976)'), GeomFromEWKT('SRID=4674;POINT (-40.37971 -2.799964)'))) / (select extract(epoch from '2026-07-29 06:25:51'::timestamp) - extract(epoch from '2026-07-29 06:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379715 -2.799976)'), GeomFromEWKT('SRID=4674;POINT (-40.37971 -2.799964)'))) / (select extract(epoch from '2026-07-29 06:25:51'::timestamp) - extract(epoch from '2026-07-29 06:25:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379701 -2.799976)', '2026-07-29 06:26:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37971 -2.799964)'), GeomFromEWKT('SRID=4674;POINT (-40.379701 -2.799976)'))) / (select extract(epoch from '2026-07-29 06:26:03'::timestamp) - extract(epoch from '2026-07-29 06:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37971 -2.799964)'), GeomFromEWKT('SRID=4674;POINT (-40.379701 -2.799976)'))) / (select extract(epoch from '2026-07-29 06:26:03'::timestamp) - extract(epoch from '2026-07-29 06:25: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'), 47641, 'SRID=4674;POINT (-40.379674 -2.80002)', '2026-07-29 06:26:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379701 -2.799976)'), GeomFromEWKT('SRID=4674;POINT (-40.379674 -2.80002)'))) / (select extract(epoch from '2026-07-29 06:26:16'::timestamp) - extract(epoch from '2026-07-29 06:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379701 -2.799976)'), GeomFromEWKT('SRID=4674;POINT (-40.379674 -2.80002)'))) / (select extract(epoch from '2026-07-29 06:26:16'::timestamp) - extract(epoch from '2026-07-29 06:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379641 -2.800044)', '2026-07-29 06:26:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379674 -2.80002)'), GeomFromEWKT('SRID=4674;POINT (-40.379641 -2.800044)'))) / (select extract(epoch from '2026-07-29 06:26:32'::timestamp) - extract(epoch from '2026-07-29 06:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379674 -2.80002)'), GeomFromEWKT('SRID=4674;POINT (-40.379641 -2.800044)'))) / (select extract(epoch from '2026-07-29 06:26:32'::timestamp) - extract(epoch from '2026-07-29 06:26: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'), 47641, 'SRID=4674;POINT (-40.379604 -2.800081)', '2026-07-29 06:26:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379641 -2.800044)'), GeomFromEWKT('SRID=4674;POINT (-40.379604 -2.800081)'))) / (select extract(epoch from '2026-07-29 06:26:48'::timestamp) - extract(epoch from '2026-07-29 06:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379641 -2.800044)'), GeomFromEWKT('SRID=4674;POINT (-40.379604 -2.800081)'))) / (select extract(epoch from '2026-07-29 06:26:48'::timestamp) - extract(epoch from '2026-07-29 06:26: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'), 47641, 'SRID=4674;POINT (-40.379548 -2.800117)', '2026-07-29 06:27:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379604 -2.800081)'), GeomFromEWKT('SRID=4674;POINT (-40.379548 -2.800117)'))) / (select extract(epoch from '2026-07-29 06:27:03'::timestamp) - extract(epoch from '2026-07-29 06:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379604 -2.800081)'), GeomFromEWKT('SRID=4674;POINT (-40.379548 -2.800117)'))) / (select extract(epoch from '2026-07-29 06:27:03'::timestamp) - extract(epoch from '2026-07-29 06:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37949 -2.800153)', '2026-07-29 06:27:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379548 -2.800117)'), GeomFromEWKT('SRID=4674;POINT (-40.37949 -2.800153)'))) / (select extract(epoch from '2026-07-29 06:27:21'::timestamp) - extract(epoch from '2026-07-29 06:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379548 -2.800117)'), GeomFromEWKT('SRID=4674;POINT (-40.37949 -2.800153)'))) / (select extract(epoch from '2026-07-29 06:27:21'::timestamp) - extract(epoch from '2026-07-29 06:27: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'), 47641, 'SRID=4674;POINT (-40.379466 -2.800174)', '2026-07-29 06:27:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37949 -2.800153)'), GeomFromEWKT('SRID=4674;POINT (-40.379466 -2.800174)'))) / (select extract(epoch from '2026-07-29 06:27:36'::timestamp) - extract(epoch from '2026-07-29 06:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37949 -2.800153)'), GeomFromEWKT('SRID=4674;POINT (-40.379466 -2.800174)'))) / (select extract(epoch from '2026-07-29 06:27:36'::timestamp) - extract(epoch from '2026-07-29 06:27: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'), 47641, 'SRID=4674;POINT (-40.37942 -2.800215)', '2026-07-29 06:27:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379466 -2.800174)'), GeomFromEWKT('SRID=4674;POINT (-40.37942 -2.800215)'))) / (select extract(epoch from '2026-07-29 06:27:50'::timestamp) - extract(epoch from '2026-07-29 06:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379466 -2.800174)'), GeomFromEWKT('SRID=4674;POINT (-40.37942 -2.800215)'))) / (select extract(epoch from '2026-07-29 06:27:50'::timestamp) - extract(epoch from '2026-07-29 06:27: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'), 47641, 'SRID=4674;POINT (-40.379398 -2.800222)', '2026-07-29 06:28:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37942 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.379398 -2.800222)'))) / (select extract(epoch from '2026-07-29 06:28:02'::timestamp) - extract(epoch from '2026-07-29 06:27:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37942 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.379398 -2.800222)'))) / (select extract(epoch from '2026-07-29 06:28:02'::timestamp) - extract(epoch from '2026-07-29 06:27: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'), 47641, 'SRID=4674;POINT (-40.379382 -2.800221)', '2026-07-29 06:28:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379398 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.379382 -2.800221)'))) / (select extract(epoch from '2026-07-29 06:28:21'::timestamp) - extract(epoch from '2026-07-29 06:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379398 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.379382 -2.800221)'))) / (select extract(epoch from '2026-07-29 06:28:21'::timestamp) - extract(epoch from '2026-07-29 06:28: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'), 47641, 'SRID=4674;POINT (-40.379369 -2.800258)', '2026-07-29 06:28:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379382 -2.800221)'), GeomFromEWKT('SRID=4674;POINT (-40.379369 -2.800258)'))) / (select extract(epoch from '2026-07-29 06:28:37'::timestamp) - extract(epoch from '2026-07-29 06:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379382 -2.800221)'), GeomFromEWKT('SRID=4674;POINT (-40.379369 -2.800258)'))) / (select extract(epoch from '2026-07-29 06:28:37'::timestamp) - extract(epoch from '2026-07-29 06:28: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'), 47641, 'SRID=4674;POINT (-40.379355 -2.800272)', '2026-07-29 06:28:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379369 -2.800258)'), GeomFromEWKT('SRID=4674;POINT (-40.379355 -2.800272)'))) / (select extract(epoch from '2026-07-29 06:28:48'::timestamp) - extract(epoch from '2026-07-29 06:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379369 -2.800258)'), GeomFromEWKT('SRID=4674;POINT (-40.379355 -2.800272)'))) / (select extract(epoch from '2026-07-29 06:28:48'::timestamp) - extract(epoch from '2026-07-29 06:28:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379328 -2.800274)', '2026-07-29 06:29:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379355 -2.800272)'), GeomFromEWKT('SRID=4674;POINT (-40.379328 -2.800274)'))) / (select extract(epoch from '2026-07-29 06:29:02'::timestamp) - extract(epoch from '2026-07-29 06:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379355 -2.800272)'), GeomFromEWKT('SRID=4674;POINT (-40.379328 -2.800274)'))) / (select extract(epoch from '2026-07-29 06:29:02'::timestamp) - extract(epoch from '2026-07-29 06:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379307 -2.800298)', '2026-07-29 06:29:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379328 -2.800274)'), GeomFromEWKT('SRID=4674;POINT (-40.379307 -2.800298)'))) / (select extract(epoch from '2026-07-29 06:29:12'::timestamp) - extract(epoch from '2026-07-29 06:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379328 -2.800274)'), GeomFromEWKT('SRID=4674;POINT (-40.379307 -2.800298)'))) / (select extract(epoch from '2026-07-29 06:29:12'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.379265 -2.800342)', '2026-07-29 06:29:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379307 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.379265 -2.800342)'))) / (select extract(epoch from '2026-07-29 06:29:28'::timestamp) - extract(epoch from '2026-07-29 06:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379307 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.379265 -2.800342)'))) / (select extract(epoch from '2026-07-29 06:29:28'::timestamp) - extract(epoch from '2026-07-29 06:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379225 -2.800357)', '2026-07-29 06:29:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379265 -2.800342)'), GeomFromEWKT('SRID=4674;POINT (-40.379225 -2.800357)'))) / (select extract(epoch from '2026-07-29 06:29:40'::timestamp) - extract(epoch from '2026-07-29 06:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379265 -2.800342)'), GeomFromEWKT('SRID=4674;POINT (-40.379225 -2.800357)'))) / (select extract(epoch from '2026-07-29 06:29:40'::timestamp) - extract(epoch from '2026-07-29 06:29:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379181 -2.800378)', '2026-07-29 06:29:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379225 -2.800357)'), GeomFromEWKT('SRID=4674;POINT (-40.379181 -2.800378)'))) / (select extract(epoch from '2026-07-29 06:29:57'::timestamp) - extract(epoch from '2026-07-29 06:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379225 -2.800357)'), GeomFromEWKT('SRID=4674;POINT (-40.379181 -2.800378)'))) / (select extract(epoch from '2026-07-29 06:29:57'::timestamp) - extract(epoch from '2026-07-29 06:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379158 -2.800389)', '2026-07-29 06:30:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379181 -2.800378)'), GeomFromEWKT('SRID=4674;POINT (-40.379158 -2.800389)'))) / (select extract(epoch from '2026-07-29 06:30:09'::timestamp) - extract(epoch from '2026-07-29 06:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379181 -2.800378)'), GeomFromEWKT('SRID=4674;POINT (-40.379158 -2.800389)'))) / (select extract(epoch from '2026-07-29 06:30:09'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.379139 -2.800403)', '2026-07-29 06:30:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379158 -2.800389)'), GeomFromEWKT('SRID=4674;POINT (-40.379139 -2.800403)'))) / (select extract(epoch from '2026-07-29 06:30:21'::timestamp) - extract(epoch from '2026-07-29 06:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379158 -2.800389)'), GeomFromEWKT('SRID=4674;POINT (-40.379139 -2.800403)'))) / (select extract(epoch from '2026-07-29 06:30:21'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.379126 -2.800392)', '2026-07-29 06:30:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379139 -2.800403)'), GeomFromEWKT('SRID=4674;POINT (-40.379126 -2.800392)'))) / (select extract(epoch from '2026-07-29 06:30:43'::timestamp) - extract(epoch from '2026-07-29 06:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379139 -2.800403)'), GeomFromEWKT('SRID=4674;POINT (-40.379126 -2.800392)'))) / (select extract(epoch from '2026-07-29 06:30:43'::timestamp) - extract(epoch from '2026-07-29 06:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379115 -2.800389)', '2026-07-29 06:30:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379126 -2.800392)'), GeomFromEWKT('SRID=4674;POINT (-40.379115 -2.800389)'))) / (select extract(epoch from '2026-07-29 06:30:58'::timestamp) - extract(epoch from '2026-07-29 06:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379126 -2.800392)'), GeomFromEWKT('SRID=4674;POINT (-40.379115 -2.800389)'))) / (select extract(epoch from '2026-07-29 06:30:58'::timestamp) - extract(epoch from '2026-07-29 06:30:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379074 -2.800428)', '2026-07-29 06:31:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379115 -2.800389)'), GeomFromEWKT('SRID=4674;POINT (-40.379074 -2.800428)'))) / (select extract(epoch from '2026-07-29 06:31:17'::timestamp) - extract(epoch from '2026-07-29 06:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379115 -2.800389)'), GeomFromEWKT('SRID=4674;POINT (-40.379074 -2.800428)'))) / (select extract(epoch from '2026-07-29 06:31:17'::timestamp) - extract(epoch from '2026-07-29 06:30:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379059 -2.800441)', '2026-07-29 06:31:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379074 -2.800428)'), GeomFromEWKT('SRID=4674;POINT (-40.379059 -2.800441)'))) / (select extract(epoch from '2026-07-29 06:31:33'::timestamp) - extract(epoch from '2026-07-29 06:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379074 -2.800428)'), GeomFromEWKT('SRID=4674;POINT (-40.379059 -2.800441)'))) / (select extract(epoch from '2026-07-29 06:31:33'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.379038 -2.800459)', '2026-07-29 06:31:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379059 -2.800441)'), GeomFromEWKT('SRID=4674;POINT (-40.379038 -2.800459)'))) / (select extract(epoch from '2026-07-29 06:31:46'::timestamp) - extract(epoch from '2026-07-29 06:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379059 -2.800441)'), GeomFromEWKT('SRID=4674;POINT (-40.379038 -2.800459)'))) / (select extract(epoch from '2026-07-29 06:31:46'::timestamp) - extract(epoch from '2026-07-29 06:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379031 -2.800466)', '2026-07-29 06:31:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379038 -2.800459)'), GeomFromEWKT('SRID=4674;POINT (-40.379031 -2.800466)'))) / (select extract(epoch from '2026-07-29 06:31:55'::timestamp) - extract(epoch from '2026-07-29 06:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379038 -2.800459)'), GeomFromEWKT('SRID=4674;POINT (-40.379031 -2.800466)'))) / (select extract(epoch from '2026-07-29 06:31:55'::timestamp) - extract(epoch from '2026-07-29 06:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.379007 -2.800463)', '2026-07-29 06:32:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379031 -2.800466)'), GeomFromEWKT('SRID=4674;POINT (-40.379007 -2.800463)'))) / (select extract(epoch from '2026-07-29 06:32:07'::timestamp) - extract(epoch from '2026-07-29 06:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379031 -2.800466)'), GeomFromEWKT('SRID=4674;POINT (-40.379007 -2.800463)'))) / (select extract(epoch from '2026-07-29 06:32:07'::timestamp) - extract(epoch from '2026-07-29 06:31: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'), 47641, 'SRID=4674;POINT (-40.378989 -2.800489)', '2026-07-29 06:32:23', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379007 -2.800463)'), GeomFromEWKT('SRID=4674;POINT (-40.378989 -2.800489)'))) / (select extract(epoch from '2026-07-29 06:32:23'::timestamp) - extract(epoch from '2026-07-29 06:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379007 -2.800463)'), GeomFromEWKT('SRID=4674;POINT (-40.378989 -2.800489)'))) / (select extract(epoch from '2026-07-29 06:32:23'::timestamp) - extract(epoch from '2026-07-29 06:32: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'), 47641, 'SRID=4674;POINT (-40.378954 -2.800512)', '2026-07-29 06:32:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378989 -2.800489)'), GeomFromEWKT('SRID=4674;POINT (-40.378954 -2.800512)'))) / (select extract(epoch from '2026-07-29 06:32:42'::timestamp) - extract(epoch from '2026-07-29 06:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378989 -2.800489)'), GeomFromEWKT('SRID=4674;POINT (-40.378954 -2.800512)'))) / (select extract(epoch from '2026-07-29 06:32:42'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.378926 -2.800518)', '2026-07-29 06:32:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378954 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.378926 -2.800518)'))) / (select extract(epoch from '2026-07-29 06:32:54'::timestamp) - extract(epoch from '2026-07-29 06:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378954 -2.800512)'), GeomFromEWKT('SRID=4674;POINT (-40.378926 -2.800518)'))) / (select extract(epoch from '2026-07-29 06:32:54'::timestamp) - extract(epoch from '2026-07-29 06:32:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378895 -2.800524)', '2026-07-29 06:33:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378926 -2.800518)'), GeomFromEWKT('SRID=4674;POINT (-40.378895 -2.800524)'))) / (select extract(epoch from '2026-07-29 06:33:08'::timestamp) - extract(epoch from '2026-07-29 06:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378926 -2.800518)'), GeomFromEWKT('SRID=4674;POINT (-40.378895 -2.800524)'))) / (select extract(epoch from '2026-07-29 06:33:08'::timestamp) - extract(epoch from '2026-07-29 06:32: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'), 47641, 'SRID=4674;POINT (-40.37887 -2.800532)', '2026-07-29 06:33:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378895 -2.800524)'), GeomFromEWKT('SRID=4674;POINT (-40.37887 -2.800532)'))) / (select extract(epoch from '2026-07-29 06:33:19'::timestamp) - extract(epoch from '2026-07-29 06:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378895 -2.800524)'), GeomFromEWKT('SRID=4674;POINT (-40.37887 -2.800532)'))) / (select extract(epoch from '2026-07-29 06:33:19'::timestamp) - extract(epoch from '2026-07-29 06:33: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'), 47641, 'SRID=4674;POINT (-40.378873 -2.800516)', '2026-07-29 06:33:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37887 -2.800532)'), GeomFromEWKT('SRID=4674;POINT (-40.378873 -2.800516)'))) / (select extract(epoch from '2026-07-29 06:33:37'::timestamp) - extract(epoch from '2026-07-29 06:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37887 -2.800532)'), GeomFromEWKT('SRID=4674;POINT (-40.378873 -2.800516)'))) / (select extract(epoch from '2026-07-29 06:33:37'::timestamp) - extract(epoch from '2026-07-29 06:33: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'), 47641, 'SRID=4674;POINT (-40.378874 -2.800502)', '2026-07-29 06:33:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378873 -2.800516)'), GeomFromEWKT('SRID=4674;POINT (-40.378874 -2.800502)'))) / (select extract(epoch from '2026-07-29 06:33:45'::timestamp) - extract(epoch from '2026-07-29 06:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378873 -2.800516)'), GeomFromEWKT('SRID=4674;POINT (-40.378874 -2.800502)'))) / (select extract(epoch from '2026-07-29 06:33:45'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.37886 -2.800502)', '2026-07-29 06:34:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378874 -2.800502)'), GeomFromEWKT('SRID=4674;POINT (-40.37886 -2.800502)'))) / (select extract(epoch from '2026-07-29 06:34:01'::timestamp) - extract(epoch from '2026-07-29 06:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378874 -2.800502)'), GeomFromEWKT('SRID=4674;POINT (-40.37886 -2.800502)'))) / (select extract(epoch from '2026-07-29 06:34:01'::timestamp) - extract(epoch from '2026-07-29 06:33:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378824 -2.800525)', '2026-07-29 06:34:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37886 -2.800502)'), GeomFromEWKT('SRID=4674;POINT (-40.378824 -2.800525)'))) / (select extract(epoch from '2026-07-29 06:34:11'::timestamp) - extract(epoch from '2026-07-29 06:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37886 -2.800502)'), GeomFromEWKT('SRID=4674;POINT (-40.378824 -2.800525)'))) / (select extract(epoch from '2026-07-29 06:34:11'::timestamp) - extract(epoch from '2026-07-29 06:34: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'), 47641, 'SRID=4674;POINT (-40.378767 -2.80054)', '2026-07-29 06:34:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378824 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.378767 -2.80054)'))) / (select extract(epoch from '2026-07-29 06:34:27'::timestamp) - extract(epoch from '2026-07-29 06:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378824 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.378767 -2.80054)'))) / (select extract(epoch from '2026-07-29 06:34:27'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.378742 -2.800532)', '2026-07-29 06:34:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378767 -2.80054)'), GeomFromEWKT('SRID=4674;POINT (-40.378742 -2.800532)'))) / (select extract(epoch from '2026-07-29 06:34:42'::timestamp) - extract(epoch from '2026-07-29 06:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378767 -2.80054)'), GeomFromEWKT('SRID=4674;POINT (-40.378742 -2.800532)'))) / (select extract(epoch from '2026-07-29 06:34:42'::timestamp) - extract(epoch from '2026-07-29 06:34: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'), 47641, 'SRID=4674;POINT (-40.378735 -2.800519)', '2026-07-29 06:34:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378742 -2.800532)'), GeomFromEWKT('SRID=4674;POINT (-40.378735 -2.800519)'))) / (select extract(epoch from '2026-07-29 06:34:50'::timestamp) - extract(epoch from '2026-07-29 06:34:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378742 -2.800532)'), GeomFromEWKT('SRID=4674;POINT (-40.378735 -2.800519)'))) / (select extract(epoch from '2026-07-29 06:34:50'::timestamp) - extract(epoch from '2026-07-29 06:34:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378711 -2.800528)', '2026-07-29 06:35:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378735 -2.800519)'), GeomFromEWKT('SRID=4674;POINT (-40.378711 -2.800528)'))) / (select extract(epoch from '2026-07-29 06:35:01'::timestamp) - extract(epoch from '2026-07-29 06:34:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378735 -2.800519)'), GeomFromEWKT('SRID=4674;POINT (-40.378711 -2.800528)'))) / (select extract(epoch from '2026-07-29 06:35:01'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.378639 -2.800585)', '2026-07-29 06:35:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378711 -2.800528)'), GeomFromEWKT('SRID=4674;POINT (-40.378639 -2.800585)'))) / (select extract(epoch from '2026-07-29 06:35:17'::timestamp) - extract(epoch from '2026-07-29 06:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378711 -2.800528)'), GeomFromEWKT('SRID=4674;POINT (-40.378639 -2.800585)'))) / (select extract(epoch from '2026-07-29 06:35:17'::timestamp) - extract(epoch from '2026-07-29 06:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378583 -2.800615)', '2026-07-29 06:35:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378639 -2.800585)'), GeomFromEWKT('SRID=4674;POINT (-40.378583 -2.800615)'))) / (select extract(epoch from '2026-07-29 06:35:32'::timestamp) - extract(epoch from '2026-07-29 06:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378639 -2.800585)'), GeomFromEWKT('SRID=4674;POINT (-40.378583 -2.800615)'))) / (select extract(epoch from '2026-07-29 06:35:32'::timestamp) - extract(epoch from '2026-07-29 06:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378542 -2.800614)', '2026-07-29 06:35:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378583 -2.800615)'), GeomFromEWKT('SRID=4674;POINT (-40.378542 -2.800614)'))) / (select extract(epoch from '2026-07-29 06:35:47'::timestamp) - extract(epoch from '2026-07-29 06:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378583 -2.800615)'), GeomFromEWKT('SRID=4674;POINT (-40.378542 -2.800614)'))) / (select extract(epoch from '2026-07-29 06:35:47'::timestamp) - extract(epoch from '2026-07-29 06:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378487 -2.800666)', '2026-07-29 06:36:03', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378542 -2.800614)'), GeomFromEWKT('SRID=4674;POINT (-40.378487 -2.800666)'))) / (select extract(epoch from '2026-07-29 06:36:03'::timestamp) - extract(epoch from '2026-07-29 06:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378542 -2.800614)'), GeomFromEWKT('SRID=4674;POINT (-40.378487 -2.800666)'))) / (select extract(epoch from '2026-07-29 06:36:03'::timestamp) - extract(epoch from '2026-07-29 06:35: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'), 47641, 'SRID=4674;POINT (-40.378451 -2.800682)', '2026-07-29 06:36:18', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378487 -2.800666)'), GeomFromEWKT('SRID=4674;POINT (-40.378451 -2.800682)'))) / (select extract(epoch from '2026-07-29 06:36:18'::timestamp) - extract(epoch from '2026-07-29 06:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378487 -2.800666)'), GeomFromEWKT('SRID=4674;POINT (-40.378451 -2.800682)'))) / (select extract(epoch from '2026-07-29 06:36:18'::timestamp) - extract(epoch from '2026-07-29 06:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378446 -2.800667)', '2026-07-29 06:36:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378451 -2.800682)'), GeomFromEWKT('SRID=4674;POINT (-40.378446 -2.800667)'))) / (select extract(epoch from '2026-07-29 06:36:31'::timestamp) - extract(epoch from '2026-07-29 06:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378451 -2.800682)'), GeomFromEWKT('SRID=4674;POINT (-40.378446 -2.800667)'))) / (select extract(epoch from '2026-07-29 06:36:31'::timestamp) - extract(epoch from '2026-07-29 06:36: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'), 47641, 'SRID=4674;POINT (-40.378434 -2.800688)', '2026-07-29 06:36:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378446 -2.800667)'), GeomFromEWKT('SRID=4674;POINT (-40.378434 -2.800688)'))) / (select extract(epoch from '2026-07-29 06:36:51'::timestamp) - extract(epoch from '2026-07-29 06:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378446 -2.800667)'), GeomFromEWKT('SRID=4674;POINT (-40.378434 -2.800688)'))) / (select extract(epoch from '2026-07-29 06:36:51'::timestamp) - extract(epoch from '2026-07-29 06:36: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'), 47641, 'SRID=4674;POINT (-40.378412 -2.800712)', '2026-07-29 06:37:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378434 -2.800688)'), GeomFromEWKT('SRID=4674;POINT (-40.378412 -2.800712)'))) / (select extract(epoch from '2026-07-29 06:37:06'::timestamp) - extract(epoch from '2026-07-29 06:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378434 -2.800688)'), GeomFromEWKT('SRID=4674;POINT (-40.378412 -2.800712)'))) / (select extract(epoch from '2026-07-29 06:37:06'::timestamp) - extract(epoch from '2026-07-29 06:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378374 -2.800727)', '2026-07-29 06:37:25', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378412 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.378374 -2.800727)'))) / (select extract(epoch from '2026-07-29 06:37:25'::timestamp) - extract(epoch from '2026-07-29 06:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378412 -2.800712)'), GeomFromEWKT('SRID=4674;POINT (-40.378374 -2.800727)'))) / (select extract(epoch from '2026-07-29 06:37:25'::timestamp) - extract(epoch from '2026-07-29 06:37:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378358 -2.800719)', '2026-07-29 06:37:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378374 -2.800727)'), GeomFromEWKT('SRID=4674;POINT (-40.378358 -2.800719)'))) / (select extract(epoch from '2026-07-29 06:37:42'::timestamp) - extract(epoch from '2026-07-29 06:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378374 -2.800727)'), GeomFromEWKT('SRID=4674;POINT (-40.378358 -2.800719)'))) / (select extract(epoch from '2026-07-29 06:37:42'::timestamp) - extract(epoch from '2026-07-29 06:37: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'), 47641, 'SRID=4674;POINT (-40.378355 -2.800702)', '2026-07-29 06:37:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378358 -2.800719)'), GeomFromEWKT('SRID=4674;POINT (-40.378355 -2.800702)'))) / (select extract(epoch from '2026-07-29 06:37:57'::timestamp) - extract(epoch from '2026-07-29 06:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378358 -2.800719)'), GeomFromEWKT('SRID=4674;POINT (-40.378355 -2.800702)'))) / (select extract(epoch from '2026-07-29 06:37:57'::timestamp) - extract(epoch from '2026-07-29 06:37: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'), 47641, 'SRID=4674;POINT (-40.378341 -2.800706)', '2026-07-29 06:38:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378355 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.378341 -2.800706)'))) / (select extract(epoch from '2026-07-29 06:38:04'::timestamp) - extract(epoch from '2026-07-29 06:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378355 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.378341 -2.800706)'))) / (select extract(epoch from '2026-07-29 06:38:04'::timestamp) - extract(epoch from '2026-07-29 06:37:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378292 -2.80075)', '2026-07-29 06:38:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378341 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.378292 -2.80075)'))) / (select extract(epoch from '2026-07-29 06:38:17'::timestamp) - extract(epoch from '2026-07-29 06:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378341 -2.800706)'), GeomFromEWKT('SRID=4674;POINT (-40.378292 -2.80075)'))) / (select extract(epoch from '2026-07-29 06:38:17'::timestamp) - extract(epoch from '2026-07-29 06:38:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378231 -2.800791)', '2026-07-29 06:38:34', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378292 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.378231 -2.800791)'))) / (select extract(epoch from '2026-07-29 06:38:34'::timestamp) - extract(epoch from '2026-07-29 06:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378292 -2.80075)'), GeomFromEWKT('SRID=4674;POINT (-40.378231 -2.800791)'))) / (select extract(epoch from '2026-07-29 06:38:34'::timestamp) - extract(epoch from '2026-07-29 06:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378206 -2.800797)', '2026-07-29 06:38:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378231 -2.800791)'), GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.800797)'))) / (select extract(epoch from '2026-07-29 06:38:52'::timestamp) - extract(epoch from '2026-07-29 06:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378231 -2.800791)'), GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.800797)'))) / (select extract(epoch from '2026-07-29 06:38:52'::timestamp) - extract(epoch from '2026-07-29 06:38: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'), 47641, 'SRID=4674;POINT (-40.378207 -2.800799)', '2026-07-29 06:39:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.800797)'), GeomFromEWKT('SRID=4674;POINT (-40.378207 -2.800799)'))) / (select extract(epoch from '2026-07-29 06:39:04'::timestamp) - extract(epoch from '2026-07-29 06:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.800797)'), GeomFromEWKT('SRID=4674;POINT (-40.378207 -2.800799)'))) / (select extract(epoch from '2026-07-29 06:39:04'::timestamp) - extract(epoch from '2026-07-29 06:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378215 -2.800782)', '2026-07-29 06:39:15', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378207 -2.800799)'), GeomFromEWKT('SRID=4674;POINT (-40.378215 -2.800782)'))) / (select extract(epoch from '2026-07-29 06:39:15'::timestamp) - extract(epoch from '2026-07-29 06:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378207 -2.800799)'), GeomFromEWKT('SRID=4674;POINT (-40.378215 -2.800782)'))) / (select extract(epoch from '2026-07-29 06:39:15'::timestamp) - extract(epoch from '2026-07-29 06:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378193 -2.800787)', '2026-07-29 06:39:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378215 -2.800782)'), GeomFromEWKT('SRID=4674;POINT (-40.378193 -2.800787)'))) / (select extract(epoch from '2026-07-29 06:39:27'::timestamp) - extract(epoch from '2026-07-29 06:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378215 -2.800782)'), GeomFromEWKT('SRID=4674;POINT (-40.378193 -2.800787)'))) / (select extract(epoch from '2026-07-29 06:39:27'::timestamp) - extract(epoch from '2026-07-29 06:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378146 -2.80082)', '2026-07-29 06:39:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378193 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.378146 -2.80082)'))) / (select extract(epoch from '2026-07-29 06:39:40'::timestamp) - extract(epoch from '2026-07-29 06:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378193 -2.800787)'), GeomFromEWKT('SRID=4674;POINT (-40.378146 -2.80082)'))) / (select extract(epoch from '2026-07-29 06:39:40'::timestamp) - extract(epoch from '2026-07-29 06:39: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'), 47641, 'SRID=4674;POINT (-40.37811 -2.800844)', '2026-07-29 06:39:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378146 -2.80082)'), GeomFromEWKT('SRID=4674;POINT (-40.37811 -2.800844)'))) / (select extract(epoch from '2026-07-29 06:39:55'::timestamp) - extract(epoch from '2026-07-29 06:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378146 -2.80082)'), GeomFromEWKT('SRID=4674;POINT (-40.37811 -2.800844)'))) / (select extract(epoch from '2026-07-29 06:39:55'::timestamp) - extract(epoch from '2026-07-29 06:39: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'), 47641, 'SRID=4674;POINT (-40.378059 -2.800867)', '2026-07-29 06:40:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37811 -2.800844)'), GeomFromEWKT('SRID=4674;POINT (-40.378059 -2.800867)'))) / (select extract(epoch from '2026-07-29 06:40:11'::timestamp) - extract(epoch from '2026-07-29 06:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37811 -2.800844)'), GeomFromEWKT('SRID=4674;POINT (-40.378059 -2.800867)'))) / (select extract(epoch from '2026-07-29 06:40:11'::timestamp) - extract(epoch from '2026-07-29 06:39: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'), 47641, 'SRID=4674;POINT (-40.378041 -2.800876)', '2026-07-29 06:40:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378059 -2.800867)'), GeomFromEWKT('SRID=4674;POINT (-40.378041 -2.800876)'))) / (select extract(epoch from '2026-07-29 06:40:22'::timestamp) - extract(epoch from '2026-07-29 06:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378059 -2.800867)'), GeomFromEWKT('SRID=4674;POINT (-40.378041 -2.800876)'))) / (select extract(epoch from '2026-07-29 06:40:22'::timestamp) - extract(epoch from '2026-07-29 06:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.378035 -2.800864)', '2026-07-29 06:40:34', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378041 -2.800876)'), GeomFromEWKT('SRID=4674;POINT (-40.378035 -2.800864)'))) / (select extract(epoch from '2026-07-29 06:40:34'::timestamp) - extract(epoch from '2026-07-29 06:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378041 -2.800876)'), GeomFromEWKT('SRID=4674;POINT (-40.378035 -2.800864)'))) / (select extract(epoch from '2026-07-29 06:40:34'::timestamp) - extract(epoch from '2026-07-29 06:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377988 -2.800881)', '2026-07-29 06:40:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378035 -2.800864)'), GeomFromEWKT('SRID=4674;POINT (-40.377988 -2.800881)'))) / (select extract(epoch from '2026-07-29 06:40:47'::timestamp) - extract(epoch from '2026-07-29 06:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378035 -2.800864)'), GeomFromEWKT('SRID=4674;POINT (-40.377988 -2.800881)'))) / (select extract(epoch from '2026-07-29 06:40:47'::timestamp) - extract(epoch from '2026-07-29 06:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377918 -2.800913)', '2026-07-29 06:41:01', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377988 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.377918 -2.800913)'))) / (select extract(epoch from '2026-07-29 06:41:01'::timestamp) - extract(epoch from '2026-07-29 06:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377988 -2.800881)'), GeomFromEWKT('SRID=4674;POINT (-40.377918 -2.800913)'))) / (select extract(epoch from '2026-07-29 06:41:01'::timestamp) - extract(epoch from '2026-07-29 06:40: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'), 47641, 'SRID=4674;POINT (-40.377855 -2.80094)', '2026-07-29 06:41:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377918 -2.800913)'), GeomFromEWKT('SRID=4674;POINT (-40.377855 -2.80094)'))) / (select extract(epoch from '2026-07-29 06:41:13'::timestamp) - extract(epoch from '2026-07-29 06:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377918 -2.800913)'), GeomFromEWKT('SRID=4674;POINT (-40.377855 -2.80094)'))) / (select extract(epoch from '2026-07-29 06:41:13'::timestamp) - extract(epoch from '2026-07-29 06:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377816 -2.800956)', '2026-07-29 06:41:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377855 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.377816 -2.800956)'))) / (select extract(epoch from '2026-07-29 06:41:26'::timestamp) - extract(epoch from '2026-07-29 06:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377855 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.377816 -2.800956)'))) / (select extract(epoch from '2026-07-29 06:41:26'::timestamp) - extract(epoch from '2026-07-29 06:41: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'), 47641, 'SRID=4674;POINT (-40.377788 -2.800967)', '2026-07-29 06:41:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377816 -2.800956)'), GeomFromEWKT('SRID=4674;POINT (-40.377788 -2.800967)'))) / (select extract(epoch from '2026-07-29 06:41:40'::timestamp) - extract(epoch from '2026-07-29 06:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377816 -2.800956)'), GeomFromEWKT('SRID=4674;POINT (-40.377788 -2.800967)'))) / (select extract(epoch from '2026-07-29 06:41:40'::timestamp) - extract(epoch from '2026-07-29 06:41: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'), 47641, 'SRID=4674;POINT (-40.377745 -2.801002)', '2026-07-29 06:41:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377788 -2.800967)'), GeomFromEWKT('SRID=4674;POINT (-40.377745 -2.801002)'))) / (select extract(epoch from '2026-07-29 06:41:57'::timestamp) - extract(epoch from '2026-07-29 06:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377788 -2.800967)'), GeomFromEWKT('SRID=4674;POINT (-40.377745 -2.801002)'))) / (select extract(epoch from '2026-07-29 06:41:57'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.37769 -2.801016)', '2026-07-29 06:42:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377745 -2.801002)'), GeomFromEWKT('SRID=4674;POINT (-40.37769 -2.801016)'))) / (select extract(epoch from '2026-07-29 06:42:15'::timestamp) - extract(epoch from '2026-07-29 06:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377745 -2.801002)'), GeomFromEWKT('SRID=4674;POINT (-40.37769 -2.801016)'))) / (select extract(epoch from '2026-07-29 06:42:15'::timestamp) - extract(epoch from '2026-07-29 06:41: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'), 47641, 'SRID=4674;POINT (-40.377634 -2.801023)', '2026-07-29 06:42:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37769 -2.801016)'), GeomFromEWKT('SRID=4674;POINT (-40.377634 -2.801023)'))) / (select extract(epoch from '2026-07-29 06:42:33'::timestamp) - extract(epoch from '2026-07-29 06:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37769 -2.801016)'), GeomFromEWKT('SRID=4674;POINT (-40.377634 -2.801023)'))) / (select extract(epoch from '2026-07-29 06:42:33'::timestamp) - extract(epoch from '2026-07-29 06:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377596 -2.801051)', '2026-07-29 06:42:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377634 -2.801023)'), GeomFromEWKT('SRID=4674;POINT (-40.377596 -2.801051)'))) / (select extract(epoch from '2026-07-29 06:42:49'::timestamp) - extract(epoch from '2026-07-29 06:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377634 -2.801023)'), GeomFromEWKT('SRID=4674;POINT (-40.377596 -2.801051)'))) / (select extract(epoch from '2026-07-29 06:42:49'::timestamp) - extract(epoch from '2026-07-29 06:42: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'), 47641, 'SRID=4674;POINT (-40.377579 -2.801058)', '2026-07-29 06:43:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377596 -2.801051)'), GeomFromEWKT('SRID=4674;POINT (-40.377579 -2.801058)'))) / (select extract(epoch from '2026-07-29 06:43:04'::timestamp) - extract(epoch from '2026-07-29 06:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377596 -2.801051)'), GeomFromEWKT('SRID=4674;POINT (-40.377579 -2.801058)'))) / (select extract(epoch from '2026-07-29 06:43:04'::timestamp) - extract(epoch from '2026-07-29 06:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377584 -2.801048)', '2026-07-29 06:43:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377579 -2.801058)'), GeomFromEWKT('SRID=4674;POINT (-40.377584 -2.801048)'))) / (select extract(epoch from '2026-07-29 06:43:21'::timestamp) - extract(epoch from '2026-07-29 06:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377579 -2.801058)'), GeomFromEWKT('SRID=4674;POINT (-40.377584 -2.801048)'))) / (select extract(epoch from '2026-07-29 06:43:21'::timestamp) - extract(epoch from '2026-07-29 06:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377569 -2.801044)', '2026-07-29 06:43:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377584 -2.801048)'), GeomFromEWKT('SRID=4674;POINT (-40.377569 -2.801044)'))) / (select extract(epoch from '2026-07-29 06:43:31'::timestamp) - extract(epoch from '2026-07-29 06:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377584 -2.801048)'), GeomFromEWKT('SRID=4674;POINT (-40.377569 -2.801044)'))) / (select extract(epoch from '2026-07-29 06:43:31'::timestamp) - extract(epoch from '2026-07-29 06:43:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377516 -2.801064)', '2026-07-29 06:43:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377569 -2.801044)'), GeomFromEWKT('SRID=4674;POINT (-40.377516 -2.801064)'))) / (select extract(epoch from '2026-07-29 06:43:48'::timestamp) - extract(epoch from '2026-07-29 06:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377569 -2.801044)'), GeomFromEWKT('SRID=4674;POINT (-40.377516 -2.801064)'))) / (select extract(epoch from '2026-07-29 06:43:48'::timestamp) - extract(epoch from '2026-07-29 06:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37744 -2.801071)', '2026-07-29 06:44:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377516 -2.801064)'), GeomFromEWKT('SRID=4674;POINT (-40.37744 -2.801071)'))) / (select extract(epoch from '2026-07-29 06:44:06'::timestamp) - extract(epoch from '2026-07-29 06:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377516 -2.801064)'), GeomFromEWKT('SRID=4674;POINT (-40.37744 -2.801071)'))) / (select extract(epoch from '2026-07-29 06:44:06'::timestamp) - extract(epoch from '2026-07-29 06:43:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377364 -2.801103)', '2026-07-29 06:44:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37744 -2.801071)'), GeomFromEWKT('SRID=4674;POINT (-40.377364 -2.801103)'))) / (select extract(epoch from '2026-07-29 06:44:23'::timestamp) - extract(epoch from '2026-07-29 06:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37744 -2.801071)'), GeomFromEWKT('SRID=4674;POINT (-40.377364 -2.801103)'))) / (select extract(epoch from '2026-07-29 06:44:23'::timestamp) - extract(epoch from '2026-07-29 06:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377325 -2.801116)', '2026-07-29 06:44:41', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377364 -2.801103)'), GeomFromEWKT('SRID=4674;POINT (-40.377325 -2.801116)'))) / (select extract(epoch from '2026-07-29 06:44:41'::timestamp) - extract(epoch from '2026-07-29 06:44:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377364 -2.801103)'), GeomFromEWKT('SRID=4674;POINT (-40.377325 -2.801116)'))) / (select extract(epoch from '2026-07-29 06:44:41'::timestamp) - extract(epoch from '2026-07-29 06:44: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'), 47641, 'SRID=4674;POINT (-40.377304 -2.801125)', '2026-07-29 06:44:53', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377325 -2.801116)'), GeomFromEWKT('SRID=4674;POINT (-40.377304 -2.801125)'))) / (select extract(epoch from '2026-07-29 06:44:53'::timestamp) - extract(epoch from '2026-07-29 06:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377325 -2.801116)'), GeomFromEWKT('SRID=4674;POINT (-40.377304 -2.801125)'))) / (select extract(epoch from '2026-07-29 06:44:53'::timestamp) - extract(epoch from '2026-07-29 06:44: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'), 47641, 'SRID=4674;POINT (-40.377258 -2.801145)', '2026-07-29 06:45:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377304 -2.801125)'), GeomFromEWKT('SRID=4674;POINT (-40.377258 -2.801145)'))) / (select extract(epoch from '2026-07-29 06:45:06'::timestamp) - extract(epoch from '2026-07-29 06:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377304 -2.801125)'), GeomFromEWKT('SRID=4674;POINT (-40.377258 -2.801145)'))) / (select extract(epoch from '2026-07-29 06:45:06'::timestamp) - extract(epoch from '2026-07-29 06:44:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377191 -2.801151)', '2026-07-29 06:45:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377258 -2.801145)'), GeomFromEWKT('SRID=4674;POINT (-40.377191 -2.801151)'))) / (select extract(epoch from '2026-07-29 06:45:21'::timestamp) - extract(epoch from '2026-07-29 06:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377258 -2.801145)'), GeomFromEWKT('SRID=4674;POINT (-40.377191 -2.801151)'))) / (select extract(epoch from '2026-07-29 06:45:21'::timestamp) - extract(epoch from '2026-07-29 06:45:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.377141 -2.801162)', '2026-07-29 06:45:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377191 -2.801151)'), GeomFromEWKT('SRID=4674;POINT (-40.377141 -2.801162)'))) / (select extract(epoch from '2026-07-29 06:45:33'::timestamp) - extract(epoch from '2026-07-29 06:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377191 -2.801151)'), GeomFromEWKT('SRID=4674;POINT (-40.377141 -2.801162)'))) / (select extract(epoch from '2026-07-29 06:45:33'::timestamp) - extract(epoch from '2026-07-29 06:45: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'), 47641, 'SRID=4674;POINT (-40.377068 -2.801197)', '2026-07-29 06:45:51', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377141 -2.801162)'), GeomFromEWKT('SRID=4674;POINT (-40.377068 -2.801197)'))) / (select extract(epoch from '2026-07-29 06:45:51'::timestamp) - extract(epoch from '2026-07-29 06:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377141 -2.801162)'), GeomFromEWKT('SRID=4674;POINT (-40.377068 -2.801197)'))) / (select extract(epoch from '2026-07-29 06:45:51'::timestamp) - extract(epoch from '2026-07-29 06:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.376994 -2.801225)', '2026-07-29 06:46:08', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377068 -2.801197)'), GeomFromEWKT('SRID=4674;POINT (-40.376994 -2.801225)'))) / (select extract(epoch from '2026-07-29 06:46:08'::timestamp) - extract(epoch from '2026-07-29 06:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377068 -2.801197)'), GeomFromEWKT('SRID=4674;POINT (-40.376994 -2.801225)'))) / (select extract(epoch from '2026-07-29 06:46:08'::timestamp) - extract(epoch from '2026-07-29 06:45: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'), 47641, 'SRID=4674;POINT (-40.376922 -2.801229)', '2026-07-29 06:46:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376994 -2.801225)'), GeomFromEWKT('SRID=4674;POINT (-40.376922 -2.801229)'))) / (select extract(epoch from '2026-07-29 06:46:26'::timestamp) - extract(epoch from '2026-07-29 06:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376994 -2.801225)'), GeomFromEWKT('SRID=4674;POINT (-40.376922 -2.801229)'))) / (select extract(epoch from '2026-07-29 06:46:26'::timestamp) - extract(epoch from '2026-07-29 06:46: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'), 47641, 'SRID=4674;POINT (-40.376873 -2.801245)', '2026-07-29 06:46:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376922 -2.801229)'), GeomFromEWKT('SRID=4674;POINT (-40.376873 -2.801245)'))) / (select extract(epoch from '2026-07-29 06:46:42'::timestamp) - extract(epoch from '2026-07-29 06:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376922 -2.801229)'), GeomFromEWKT('SRID=4674;POINT (-40.376873 -2.801245)'))) / (select extract(epoch from '2026-07-29 06:46:42'::timestamp) - extract(epoch from '2026-07-29 06:46:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.376818 -2.801268)', '2026-07-29 06:46:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376873 -2.801245)'), GeomFromEWKT('SRID=4674;POINT (-40.376818 -2.801268)'))) / (select extract(epoch from '2026-07-29 06:46:55'::timestamp) - extract(epoch from '2026-07-29 06:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376873 -2.801245)'), GeomFromEWKT('SRID=4674;POINT (-40.376818 -2.801268)'))) / (select extract(epoch from '2026-07-29 06:46:55'::timestamp) - extract(epoch from '2026-07-29 06:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.376767 -2.801292)', '2026-07-29 06:47:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376818 -2.801268)'), GeomFromEWKT('SRID=4674;POINT (-40.376767 -2.801292)'))) / (select extract(epoch from '2026-07-29 06:47:07'::timestamp) - extract(epoch from '2026-07-29 06:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376818 -2.801268)'), GeomFromEWKT('SRID=4674;POINT (-40.376767 -2.801292)'))) / (select extract(epoch from '2026-07-29 06:47:07'::timestamp) - extract(epoch from '2026-07-29 06:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.376706 -2.801303)', '2026-07-29 06:47:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376767 -2.801292)'), GeomFromEWKT('SRID=4674;POINT (-40.376706 -2.801303)'))) / (select extract(epoch from '2026-07-29 06:47:22'::timestamp) - extract(epoch from '2026-07-29 06:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376767 -2.801292)'), GeomFromEWKT('SRID=4674;POINT (-40.376706 -2.801303)'))) / (select extract(epoch from '2026-07-29 06:47:22'::timestamp) - extract(epoch from '2026-07-29 06:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.376696 -2.801299)', '2026-07-29 06:47:36', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376706 -2.801303)'), GeomFromEWKT('SRID=4674;POINT (-40.376696 -2.801299)'))) / (select extract(epoch from '2026-07-29 06:47:36'::timestamp) - extract(epoch from '2026-07-29 06:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376706 -2.801303)'), GeomFromEWKT('SRID=4674;POINT (-40.376696 -2.801299)'))) / (select extract(epoch from '2026-07-29 06:47:36'::timestamp) - extract(epoch from '2026-07-29 06:47: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'), 47641, 'SRID=4674;POINT (-40.376714 -2.801306)', '2026-07-29 06:47:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376696 -2.801299)'), GeomFromEWKT('SRID=4674;POINT (-40.376714 -2.801306)'))) / (select extract(epoch from '2026-07-29 06:47:53'::timestamp) - extract(epoch from '2026-07-29 06:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376696 -2.801299)'), GeomFromEWKT('SRID=4674;POINT (-40.376714 -2.801306)'))) / (select extract(epoch from '2026-07-29 06:47:53'::timestamp) - extract(epoch from '2026-07-29 06:47: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'), 47641, 'SRID=4674;POINT (-40.376723 -2.801287)', '2026-07-29 06:48:10', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376714 -2.801306)'), GeomFromEWKT('SRID=4674;POINT (-40.376723 -2.801287)'))) / (select extract(epoch from '2026-07-29 06:48:10'::timestamp) - extract(epoch from '2026-07-29 06:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376714 -2.801306)'), GeomFromEWKT('SRID=4674;POINT (-40.376723 -2.801287)'))) / (select extract(epoch from '2026-07-29 06:48:10'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.376731 -2.80128)', '2026-07-29 06:48:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376723 -2.801287)'), GeomFromEWKT('SRID=4674;POINT (-40.376731 -2.80128)'))) / (select extract(epoch from '2026-07-29 06:48:28'::timestamp) - extract(epoch from '2026-07-29 06:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376723 -2.801287)'), GeomFromEWKT('SRID=4674;POINT (-40.376731 -2.80128)'))) / (select extract(epoch from '2026-07-29 06:48:28'::timestamp) - extract(epoch from '2026-07-29 06:48: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'), 47641, 'SRID=4674;POINT (-40.376699 -2.801287)', '2026-07-29 06:48:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376731 -2.80128)'), GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.801287)'))) / (select extract(epoch from '2026-07-29 06:48:43'::timestamp) - extract(epoch from '2026-07-29 06:48:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376731 -2.80128)'), GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.801287)'))) / (select extract(epoch from '2026-07-29 06:48:43'::timestamp) - extract(epoch from '2026-07-29 06:48: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'), 47641, 'SRID=4674;POINT (-40.376599 -2.801298)', '2026-07-29 06:49:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.801287)'), GeomFromEWKT('SRID=4674;POINT (-40.376599 -2.801298)'))) / (select extract(epoch from '2026-07-29 06:49:01'::timestamp) - extract(epoch from '2026-07-29 06:48:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376699 -2.801287)'), GeomFromEWKT('SRID=4674;POINT (-40.376599 -2.801298)'))) / (select extract(epoch from '2026-07-29 06:49:01'::timestamp) - extract(epoch from '2026-07-29 06:48: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'), 47641, 'SRID=4674;POINT (-40.376502 -2.801326)', '2026-07-29 06:49:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376599 -2.801298)'), GeomFromEWKT('SRID=4674;POINT (-40.376502 -2.801326)'))) / (select extract(epoch from '2026-07-29 06:49:17'::timestamp) - extract(epoch from '2026-07-29 06:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376599 -2.801298)'), GeomFromEWKT('SRID=4674;POINT (-40.376502 -2.801326)'))) / (select extract(epoch from '2026-07-29 06:49:17'::timestamp) - extract(epoch from '2026-07-29 06:49: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'), 47641, 'SRID=4674;POINT (-40.376442 -2.801356)', '2026-07-29 06:49:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376502 -2.801326)'), GeomFromEWKT('SRID=4674;POINT (-40.376442 -2.801356)'))) / (select extract(epoch from '2026-07-29 06:49:31'::timestamp) - extract(epoch from '2026-07-29 06:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376502 -2.801326)'), GeomFromEWKT('SRID=4674;POINT (-40.376442 -2.801356)'))) / (select extract(epoch from '2026-07-29 06:49:31'::timestamp) - extract(epoch from '2026-07-29 06:49: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'), 47641, 'SRID=4674;POINT (-40.376409 -2.801384)', '2026-07-29 06:49:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376442 -2.801356)'), GeomFromEWKT('SRID=4674;POINT (-40.376409 -2.801384)'))) / (select extract(epoch from '2026-07-29 06:49:43'::timestamp) - extract(epoch from '2026-07-29 06:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376442 -2.801356)'), GeomFromEWKT('SRID=4674;POINT (-40.376409 -2.801384)'))) / (select extract(epoch from '2026-07-29 06:49:43'::timestamp) - extract(epoch from '2026-07-29 06:49: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'), 47641, 'SRID=4674;POINT (-40.37638 -2.80138)', '2026-07-29 06:50:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376409 -2.801384)'), GeomFromEWKT('SRID=4674;POINT (-40.37638 -2.80138)'))) / (select extract(epoch from '2026-07-29 06:50:02'::timestamp) - extract(epoch from '2026-07-29 06:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376409 -2.801384)'), GeomFromEWKT('SRID=4674;POINT (-40.37638 -2.80138)'))) / (select extract(epoch from '2026-07-29 06:50:02'::timestamp) - extract(epoch from '2026-07-29 06:49: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'), 47641, 'SRID=4674;POINT (-40.37636 -2.801392)', '2026-07-29 06:50:11', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37638 -2.80138)'), GeomFromEWKT('SRID=4674;POINT (-40.37636 -2.801392)'))) / (select extract(epoch from '2026-07-29 06:50:11'::timestamp) - extract(epoch from '2026-07-29 06:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37638 -2.80138)'), GeomFromEWKT('SRID=4674;POINT (-40.37636 -2.801392)'))) / (select extract(epoch from '2026-07-29 06:50:11'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.37629 -2.801419)', '2026-07-29 06:50:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37636 -2.801392)'), GeomFromEWKT('SRID=4674;POINT (-40.37629 -2.801419)'))) / (select extract(epoch from '2026-07-29 06:50:28'::timestamp) - extract(epoch from '2026-07-29 06:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37636 -2.801392)'), GeomFromEWKT('SRID=4674;POINT (-40.37629 -2.801419)'))) / (select extract(epoch from '2026-07-29 06:50:28'::timestamp) - extract(epoch from '2026-07-29 06:50: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'), 47641, 'SRID=4674;POINT (-40.376245 -2.801425)', '2026-07-29 06:50:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37629 -2.801419)'), GeomFromEWKT('SRID=4674;POINT (-40.376245 -2.801425)'))) / (select extract(epoch from '2026-07-29 06:50:41'::timestamp) - extract(epoch from '2026-07-29 06:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37629 -2.801419)'), GeomFromEWKT('SRID=4674;POINT (-40.376245 -2.801425)'))) / (select extract(epoch from '2026-07-29 06:50:41'::timestamp) - extract(epoch from '2026-07-29 06:50: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'), 47641, 'SRID=4674;POINT (-40.37623 -2.801419)', '2026-07-29 06:50:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376245 -2.801425)'), GeomFromEWKT('SRID=4674;POINT (-40.37623 -2.801419)'))) / (select extract(epoch from '2026-07-29 06:50:59'::timestamp) - extract(epoch from '2026-07-29 06:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376245 -2.801425)'), GeomFromEWKT('SRID=4674;POINT (-40.37623 -2.801419)'))) / (select extract(epoch from '2026-07-29 06:50:59'::timestamp) - extract(epoch from '2026-07-29 06:50: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'), 47641, 'SRID=4674;POINT (-40.376176 -2.801437)', '2026-07-29 06:51:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37623 -2.801419)'), GeomFromEWKT('SRID=4674;POINT (-40.376176 -2.801437)'))) / (select extract(epoch from '2026-07-29 06:51:14'::timestamp) - extract(epoch from '2026-07-29 06:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37623 -2.801419)'), GeomFromEWKT('SRID=4674;POINT (-40.376176 -2.801437)'))) / (select extract(epoch from '2026-07-29 06:51:14'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.376114 -2.801462)', '2026-07-29 06:51:27', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376176 -2.801437)'), GeomFromEWKT('SRID=4674;POINT (-40.376114 -2.801462)'))) / (select extract(epoch from '2026-07-29 06:51:27'::timestamp) - extract(epoch from '2026-07-29 06:51:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376176 -2.801437)'), GeomFromEWKT('SRID=4674;POINT (-40.376114 -2.801462)'))) / (select extract(epoch from '2026-07-29 06:51:27'::timestamp) - extract(epoch from '2026-07-29 06:51:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37605 -2.801467)', '2026-07-29 06:51:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376114 -2.801462)'), GeomFromEWKT('SRID=4674;POINT (-40.37605 -2.801467)'))) / (select extract(epoch from '2026-07-29 06:51:42'::timestamp) - extract(epoch from '2026-07-29 06:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376114 -2.801462)'), GeomFromEWKT('SRID=4674;POINT (-40.37605 -2.801467)'))) / (select extract(epoch from '2026-07-29 06:51:42'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.375979 -2.801505)', '2026-07-29 06:51:56', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37605 -2.801467)'), GeomFromEWKT('SRID=4674;POINT (-40.375979 -2.801505)'))) / (select extract(epoch from '2026-07-29 06:51:56'::timestamp) - extract(epoch from '2026-07-29 06:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37605 -2.801467)'), GeomFromEWKT('SRID=4674;POINT (-40.375979 -2.801505)'))) / (select extract(epoch from '2026-07-29 06:51:56'::timestamp) - extract(epoch from '2026-07-29 06:51: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'), 47641, 'SRID=4674;POINT (-40.375918 -2.801545)', '2026-07-29 06:52:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375979 -2.801505)'), GeomFromEWKT('SRID=4674;POINT (-40.375918 -2.801545)'))) / (select extract(epoch from '2026-07-29 06:52:11'::timestamp) - extract(epoch from '2026-07-29 06:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375979 -2.801505)'), GeomFromEWKT('SRID=4674;POINT (-40.375918 -2.801545)'))) / (select extract(epoch from '2026-07-29 06:52:11'::timestamp) - extract(epoch from '2026-07-29 06:51:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375895 -2.801543)', '2026-07-29 06:52:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375918 -2.801545)'), GeomFromEWKT('SRID=4674;POINT (-40.375895 -2.801543)'))) / (select extract(epoch from '2026-07-29 06:52:24'::timestamp) - extract(epoch from '2026-07-29 06:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375918 -2.801545)'), GeomFromEWKT('SRID=4674;POINT (-40.375895 -2.801543)'))) / (select extract(epoch from '2026-07-29 06:52:24'::timestamp) - extract(epoch from '2026-07-29 06:52: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'), 47641, 'SRID=4674;POINT (-40.375862 -2.801552)', '2026-07-29 06:52:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375895 -2.801543)'), GeomFromEWKT('SRID=4674;POINT (-40.375862 -2.801552)'))) / (select extract(epoch from '2026-07-29 06:52:40'::timestamp) - extract(epoch from '2026-07-29 06:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375895 -2.801543)'), GeomFromEWKT('SRID=4674;POINT (-40.375862 -2.801552)'))) / (select extract(epoch from '2026-07-29 06:52:40'::timestamp) - extract(epoch from '2026-07-29 06:52:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375788 -2.801584)', '2026-07-29 06:52:58', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375862 -2.801552)'), GeomFromEWKT('SRID=4674;POINT (-40.375788 -2.801584)'))) / (select extract(epoch from '2026-07-29 06:52:58'::timestamp) - extract(epoch from '2026-07-29 06:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375862 -2.801552)'), GeomFromEWKT('SRID=4674;POINT (-40.375788 -2.801584)'))) / (select extract(epoch from '2026-07-29 06:52:58'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.375741 -2.801585)', '2026-07-29 06:53:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375788 -2.801584)'), GeomFromEWKT('SRID=4674;POINT (-40.375741 -2.801585)'))) / (select extract(epoch from '2026-07-29 06:53:12'::timestamp) - extract(epoch from '2026-07-29 06:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375788 -2.801584)'), GeomFromEWKT('SRID=4674;POINT (-40.375741 -2.801585)'))) / (select extract(epoch from '2026-07-29 06:53:12'::timestamp) - extract(epoch from '2026-07-29 06:52:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375695 -2.801616)', '2026-07-29 06:53:27', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375741 -2.801585)'), GeomFromEWKT('SRID=4674;POINT (-40.375695 -2.801616)'))) / (select extract(epoch from '2026-07-29 06:53:27'::timestamp) - extract(epoch from '2026-07-29 06:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375741 -2.801585)'), GeomFromEWKT('SRID=4674;POINT (-40.375695 -2.801616)'))) / (select extract(epoch from '2026-07-29 06:53:27'::timestamp) - extract(epoch from '2026-07-29 06:53: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'), 47641, 'SRID=4674;POINT (-40.375656 -2.801629)', '2026-07-29 06:53:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375695 -2.801616)'), GeomFromEWKT('SRID=4674;POINT (-40.375656 -2.801629)'))) / (select extract(epoch from '2026-07-29 06:53:41'::timestamp) - extract(epoch from '2026-07-29 06:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375695 -2.801616)'), GeomFromEWKT('SRID=4674;POINT (-40.375656 -2.801629)'))) / (select extract(epoch from '2026-07-29 06:53:41'::timestamp) - extract(epoch from '2026-07-29 06:53: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'), 47641, 'SRID=4674;POINT (-40.375609 -2.801651)', '2026-07-29 06:53:57', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375656 -2.801629)'), GeomFromEWKT('SRID=4674;POINT (-40.375609 -2.801651)'))) / (select extract(epoch from '2026-07-29 06:53:57'::timestamp) - extract(epoch from '2026-07-29 06:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375656 -2.801629)'), GeomFromEWKT('SRID=4674;POINT (-40.375609 -2.801651)'))) / (select extract(epoch from '2026-07-29 06:53:57'::timestamp) - extract(epoch from '2026-07-29 06:53: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'), 47641, 'SRID=4674;POINT (-40.375586 -2.801662)', '2026-07-29 06:54:09', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375609 -2.801651)'), GeomFromEWKT('SRID=4674;POINT (-40.375586 -2.801662)'))) / (select extract(epoch from '2026-07-29 06:54:09'::timestamp) - extract(epoch from '2026-07-29 06:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375609 -2.801651)'), GeomFromEWKT('SRID=4674;POINT (-40.375586 -2.801662)'))) / (select extract(epoch from '2026-07-29 06:54:09'::timestamp) - extract(epoch from '2026-07-29 06:53: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'), 47641, 'SRID=4674;POINT (-40.375539 -2.801674)', '2026-07-29 06:54:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375586 -2.801662)'), GeomFromEWKT('SRID=4674;POINT (-40.375539 -2.801674)'))) / (select extract(epoch from '2026-07-29 06:54:22'::timestamp) - extract(epoch from '2026-07-29 06:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375586 -2.801662)'), GeomFromEWKT('SRID=4674;POINT (-40.375539 -2.801674)'))) / (select extract(epoch from '2026-07-29 06:54:22'::timestamp) - extract(epoch from '2026-07-29 06:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375506 -2.801686)', '2026-07-29 06:54:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375539 -2.801674)'), GeomFromEWKT('SRID=4674;POINT (-40.375506 -2.801686)'))) / (select extract(epoch from '2026-07-29 06:54:38'::timestamp) - extract(epoch from '2026-07-29 06:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375539 -2.801674)'), GeomFromEWKT('SRID=4674;POINT (-40.375506 -2.801686)'))) / (select extract(epoch from '2026-07-29 06:54:38'::timestamp) - extract(epoch from '2026-07-29 06:54: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'), 47641, 'SRID=4674;POINT (-40.375484 -2.801701)', '2026-07-29 06:54:48', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375506 -2.801686)'), GeomFromEWKT('SRID=4674;POINT (-40.375484 -2.801701)'))) / (select extract(epoch from '2026-07-29 06:54:48'::timestamp) - extract(epoch from '2026-07-29 06:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375506 -2.801686)'), GeomFromEWKT('SRID=4674;POINT (-40.375484 -2.801701)'))) / (select extract(epoch from '2026-07-29 06:54:48'::timestamp) - extract(epoch from '2026-07-29 06:54: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'), 47641, 'SRID=4674;POINT (-40.375448 -2.80173)', '2026-07-29 06:55:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375484 -2.801701)'), GeomFromEWKT('SRID=4674;POINT (-40.375448 -2.80173)'))) / (select extract(epoch from '2026-07-29 06:55:03'::timestamp) - extract(epoch from '2026-07-29 06:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375484 -2.801701)'), GeomFromEWKT('SRID=4674;POINT (-40.375448 -2.80173)'))) / (select extract(epoch from '2026-07-29 06:55:03'::timestamp) - extract(epoch from '2026-07-29 06:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37541 -2.801749)', '2026-07-29 06:55:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375448 -2.80173)'), GeomFromEWKT('SRID=4674;POINT (-40.37541 -2.801749)'))) / (select extract(epoch from '2026-07-29 06:55:18'::timestamp) - extract(epoch from '2026-07-29 06:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375448 -2.80173)'), GeomFromEWKT('SRID=4674;POINT (-40.37541 -2.801749)'))) / (select extract(epoch from '2026-07-29 06:55:18'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.375358 -2.801773)', '2026-07-29 06:55:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37541 -2.801749)'), GeomFromEWKT('SRID=4674;POINT (-40.375358 -2.801773)'))) / (select extract(epoch from '2026-07-29 06:55:34'::timestamp) - extract(epoch from '2026-07-29 06:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37541 -2.801749)'), GeomFromEWKT('SRID=4674;POINT (-40.375358 -2.801773)'))) / (select extract(epoch from '2026-07-29 06:55:34'::timestamp) - extract(epoch from '2026-07-29 06:55: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'), 47641, 'SRID=4674;POINT (-40.375342 -2.801783)', '2026-07-29 06:55:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375358 -2.801773)'), GeomFromEWKT('SRID=4674;POINT (-40.375342 -2.801783)'))) / (select extract(epoch from '2026-07-29 06:55:42'::timestamp) - extract(epoch from '2026-07-29 06:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375358 -2.801773)'), GeomFromEWKT('SRID=4674;POINT (-40.375342 -2.801783)'))) / (select extract(epoch from '2026-07-29 06:55:42'::timestamp) - extract(epoch from '2026-07-29 06:55:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375312 -2.801789)', '2026-07-29 06:55:54', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375342 -2.801783)'), GeomFromEWKT('SRID=4674;POINT (-40.375312 -2.801789)'))) / (select extract(epoch from '2026-07-29 06:55:54'::timestamp) - extract(epoch from '2026-07-29 06:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375342 -2.801783)'), GeomFromEWKT('SRID=4674;POINT (-40.375312 -2.801789)'))) / (select extract(epoch from '2026-07-29 06:55:54'::timestamp) - extract(epoch from '2026-07-29 06:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375267 -2.801807)', '2026-07-29 06:56:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375312 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.375267 -2.801807)'))) / (select extract(epoch from '2026-07-29 06:56:08'::timestamp) - extract(epoch from '2026-07-29 06:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375312 -2.801789)'), GeomFromEWKT('SRID=4674;POINT (-40.375267 -2.801807)'))) / (select extract(epoch from '2026-07-29 06:56:08'::timestamp) - extract(epoch from '2026-07-29 06:55: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'), 47641, 'SRID=4674;POINT (-40.375232 -2.801811)', '2026-07-29 06:56:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375267 -2.801807)'), GeomFromEWKT('SRID=4674;POINT (-40.375232 -2.801811)'))) / (select extract(epoch from '2026-07-29 06:56:24'::timestamp) - extract(epoch from '2026-07-29 06:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375267 -2.801807)'), GeomFromEWKT('SRID=4674;POINT (-40.375232 -2.801811)'))) / (select extract(epoch from '2026-07-29 06:56:24'::timestamp) - extract(epoch from '2026-07-29 06:56: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'), 47641, 'SRID=4674;POINT (-40.375206 -2.801828)', '2026-07-29 06:56:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375232 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.375206 -2.801828)'))) / (select extract(epoch from '2026-07-29 06:56:36'::timestamp) - extract(epoch from '2026-07-29 06:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375232 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.375206 -2.801828)'))) / (select extract(epoch from '2026-07-29 06:56:36'::timestamp) - extract(epoch from '2026-07-29 06:56:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375148 -2.801857)', '2026-07-29 06:56:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375206 -2.801828)'), GeomFromEWKT('SRID=4674;POINT (-40.375148 -2.801857)'))) / (select extract(epoch from '2026-07-29 06:56:52'::timestamp) - extract(epoch from '2026-07-29 06:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375206 -2.801828)'), GeomFromEWKT('SRID=4674;POINT (-40.375148 -2.801857)'))) / (select extract(epoch from '2026-07-29 06:56:52'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.375117 -2.801868)', '2026-07-29 06:57:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375148 -2.801857)'), GeomFromEWKT('SRID=4674;POINT (-40.375117 -2.801868)'))) / (select extract(epoch from '2026-07-29 06:57:08'::timestamp) - extract(epoch from '2026-07-29 06:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375148 -2.801857)'), GeomFromEWKT('SRID=4674;POINT (-40.375117 -2.801868)'))) / (select extract(epoch from '2026-07-29 06:57:08'::timestamp) - extract(epoch from '2026-07-29 06:56: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'), 47641, 'SRID=4674;POINT (-40.375093 -2.801864)', '2026-07-29 06:57:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375117 -2.801868)'), GeomFromEWKT('SRID=4674;POINT (-40.375093 -2.801864)'))) / (select extract(epoch from '2026-07-29 06:57:22'::timestamp) - extract(epoch from '2026-07-29 06:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375117 -2.801868)'), GeomFromEWKT('SRID=4674;POINT (-40.375093 -2.801864)'))) / (select extract(epoch from '2026-07-29 06:57:22'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.375072 -2.801876)', '2026-07-29 06:57:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375093 -2.801864)'), GeomFromEWKT('SRID=4674;POINT (-40.375072 -2.801876)'))) / (select extract(epoch from '2026-07-29 06:57:34'::timestamp) - extract(epoch from '2026-07-29 06:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375093 -2.801864)'), GeomFromEWKT('SRID=4674;POINT (-40.375072 -2.801876)'))) / (select extract(epoch from '2026-07-29 06:57:34'::timestamp) - extract(epoch from '2026-07-29 06:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.375041 -2.801891)', '2026-07-29 06:57:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375072 -2.801876)'), GeomFromEWKT('SRID=4674;POINT (-40.375041 -2.801891)'))) / (select extract(epoch from '2026-07-29 06:57:51'::timestamp) - extract(epoch from '2026-07-29 06:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375072 -2.801876)'), GeomFromEWKT('SRID=4674;POINT (-40.375041 -2.801891)'))) / (select extract(epoch from '2026-07-29 06:57:51'::timestamp) - extract(epoch from '2026-07-29 06:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374994 -2.801902)', '2026-07-29 06:58:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375041 -2.801891)'), GeomFromEWKT('SRID=4674;POINT (-40.374994 -2.801902)'))) / (select extract(epoch from '2026-07-29 06:58:06'::timestamp) - extract(epoch from '2026-07-29 06:57:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375041 -2.801891)'), GeomFromEWKT('SRID=4674;POINT (-40.374994 -2.801902)'))) / (select extract(epoch from '2026-07-29 06:58:06'::timestamp) - extract(epoch from '2026-07-29 06:57: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'), 47641, 'SRID=4674;POINT (-40.374958 -2.801932)', '2026-07-29 06:58:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374994 -2.801902)'), GeomFromEWKT('SRID=4674;POINT (-40.374958 -2.801932)'))) / (select extract(epoch from '2026-07-29 06:58:21'::timestamp) - extract(epoch from '2026-07-29 06:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374994 -2.801902)'), GeomFromEWKT('SRID=4674;POINT (-40.374958 -2.801932)'))) / (select extract(epoch from '2026-07-29 06:58:21'::timestamp) - extract(epoch from '2026-07-29 06:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37493 -2.801938)', '2026-07-29 06:58:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374958 -2.801932)'), GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.801938)'))) / (select extract(epoch from '2026-07-29 06:58:35'::timestamp) - extract(epoch from '2026-07-29 06:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374958 -2.801932)'), GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.801938)'))) / (select extract(epoch from '2026-07-29 06:58:35'::timestamp) - extract(epoch from '2026-07-29 06:58: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'), 47641, 'SRID=4674;POINT (-40.374888 -2.801965)', '2026-07-29 06:58:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.801938)'), GeomFromEWKT('SRID=4674;POINT (-40.374888 -2.801965)'))) / (select extract(epoch from '2026-07-29 06:58:49'::timestamp) - extract(epoch from '2026-07-29 06:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37493 -2.801938)'), GeomFromEWKT('SRID=4674;POINT (-40.374888 -2.801965)'))) / (select extract(epoch from '2026-07-29 06:58:49'::timestamp) - extract(epoch from '2026-07-29 06:58: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'), 47641, 'SRID=4674;POINT (-40.374852 -2.801967)', '2026-07-29 06:59:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374888 -2.801965)'), GeomFromEWKT('SRID=4674;POINT (-40.374852 -2.801967)'))) / (select extract(epoch from '2026-07-29 06:59:01'::timestamp) - extract(epoch from '2026-07-29 06:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374888 -2.801965)'), GeomFromEWKT('SRID=4674;POINT (-40.374852 -2.801967)'))) / (select extract(epoch from '2026-07-29 06:59:01'::timestamp) - extract(epoch from '2026-07-29 06:58: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'), 47641, 'SRID=4674;POINT (-40.374816 -2.801987)', '2026-07-29 06:59:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374852 -2.801967)'), GeomFromEWKT('SRID=4674;POINT (-40.374816 -2.801987)'))) / (select extract(epoch from '2026-07-29 06:59:18'::timestamp) - extract(epoch from '2026-07-29 06:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374852 -2.801967)'), GeomFromEWKT('SRID=4674;POINT (-40.374816 -2.801987)'))) / (select extract(epoch from '2026-07-29 06:59:18'::timestamp) - extract(epoch from '2026-07-29 06: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'), 47641, 'SRID=4674;POINT (-40.374815 -2.801983)', '2026-07-29 06:59:32', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374816 -2.801987)'), GeomFromEWKT('SRID=4674;POINT (-40.374815 -2.801983)'))) / (select extract(epoch from '2026-07-29 06:59:32'::timestamp) - extract(epoch from '2026-07-29 06:59:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374816 -2.801987)'), GeomFromEWKT('SRID=4674;POINT (-40.374815 -2.801983)'))) / (select extract(epoch from '2026-07-29 06:59:32'::timestamp) - extract(epoch from '2026-07-29 06:59:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374777 -2.801993)', '2026-07-29 06:59:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374815 -2.801983)'), GeomFromEWKT('SRID=4674;POINT (-40.374777 -2.801993)'))) / (select extract(epoch from '2026-07-29 06:59:51'::timestamp) - extract(epoch from '2026-07-29 06:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374815 -2.801983)'), GeomFromEWKT('SRID=4674;POINT (-40.374777 -2.801993)'))) / (select extract(epoch from '2026-07-29 06:59:51'::timestamp) - extract(epoch from '2026-07-29 06:59: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'), 47641, 'SRID=4674;POINT (-40.374743 -2.802036)', '2026-07-29 07:00:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374777 -2.801993)'), GeomFromEWKT('SRID=4674;POINT (-40.374743 -2.802036)'))) / (select extract(epoch from '2026-07-29 07:00:06'::timestamp) - extract(epoch from '2026-07-29 06:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374777 -2.801993)'), GeomFromEWKT('SRID=4674;POINT (-40.374743 -2.802036)'))) / (select extract(epoch from '2026-07-29 07:00:06'::timestamp) - extract(epoch from '2026-07-29 06:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374731 -2.802028)', '2026-07-29 07:00:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374743 -2.802036)'), GeomFromEWKT('SRID=4674;POINT (-40.374731 -2.802028)'))) / (select extract(epoch from '2026-07-29 07:00:22'::timestamp) - extract(epoch from '2026-07-29 07:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374743 -2.802036)'), GeomFromEWKT('SRID=4674;POINT (-40.374731 -2.802028)'))) / (select extract(epoch from '2026-07-29 07:00:22'::timestamp) - extract(epoch from '2026-07-29 07:00:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374703 -2.802031)', '2026-07-29 07:00:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374731 -2.802028)'), GeomFromEWKT('SRID=4674;POINT (-40.374703 -2.802031)'))) / (select extract(epoch from '2026-07-29 07:00:41'::timestamp) - extract(epoch from '2026-07-29 07:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374731 -2.802028)'), GeomFromEWKT('SRID=4674;POINT (-40.374703 -2.802031)'))) / (select extract(epoch from '2026-07-29 07:00:41'::timestamp) - extract(epoch from '2026-07-29 07:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374668 -2.802053)', '2026-07-29 07:00:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374703 -2.802031)'), GeomFromEWKT('SRID=4674;POINT (-40.374668 -2.802053)'))) / (select extract(epoch from '2026-07-29 07:00:53'::timestamp) - extract(epoch from '2026-07-29 07:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374703 -2.802031)'), GeomFromEWKT('SRID=4674;POINT (-40.374668 -2.802053)'))) / (select extract(epoch from '2026-07-29 07:00:53'::timestamp) - extract(epoch from '2026-07-29 07:00:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374631 -2.802071)', '2026-07-29 07:01:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374668 -2.802053)'), GeomFromEWKT('SRID=4674;POINT (-40.374631 -2.802071)'))) / (select extract(epoch from '2026-07-29 07:01:09'::timestamp) - extract(epoch from '2026-07-29 07:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374668 -2.802053)'), GeomFromEWKT('SRID=4674;POINT (-40.374631 -2.802071)'))) / (select extract(epoch from '2026-07-29 07:01:09'::timestamp) - extract(epoch from '2026-07-29 07:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374608 -2.80207)', '2026-07-29 07:01:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374631 -2.802071)'), GeomFromEWKT('SRID=4674;POINT (-40.374608 -2.80207)'))) / (select extract(epoch from '2026-07-29 07:01:20'::timestamp) - extract(epoch from '2026-07-29 07:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374631 -2.802071)'), GeomFromEWKT('SRID=4674;POINT (-40.374608 -2.80207)'))) / (select extract(epoch from '2026-07-29 07:01:20'::timestamp) - extract(epoch from '2026-07-29 07:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374573 -2.802079)', '2026-07-29 07:01:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374608 -2.80207)'), GeomFromEWKT('SRID=4674;POINT (-40.374573 -2.802079)'))) / (select extract(epoch from '2026-07-29 07:01:35'::timestamp) - extract(epoch from '2026-07-29 07:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374608 -2.80207)'), GeomFromEWKT('SRID=4674;POINT (-40.374573 -2.802079)'))) / (select extract(epoch from '2026-07-29 07:01:35'::timestamp) - extract(epoch from '2026-07-29 07:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374538 -2.802085)', '2026-07-29 07:01:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374573 -2.802079)'), GeomFromEWKT('SRID=4674;POINT (-40.374538 -2.802085)'))) / (select extract(epoch from '2026-07-29 07:01:47'::timestamp) - extract(epoch from '2026-07-29 07:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374573 -2.802079)'), GeomFromEWKT('SRID=4674;POINT (-40.374538 -2.802085)'))) / (select extract(epoch from '2026-07-29 07:01:47'::timestamp) - extract(epoch from '2026-07-29 07:01: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'), 47641, 'SRID=4674;POINT (-40.374478 -2.802103)', '2026-07-29 07:02:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374538 -2.802085)'), GeomFromEWKT('SRID=4674;POINT (-40.374478 -2.802103)'))) / (select extract(epoch from '2026-07-29 07:02:05'::timestamp) - extract(epoch from '2026-07-29 07:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374538 -2.802085)'), GeomFromEWKT('SRID=4674;POINT (-40.374478 -2.802103)'))) / (select extract(epoch from '2026-07-29 07:02:05'::timestamp) - extract(epoch from '2026-07-29 07:01: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'), 47641, 'SRID=4674;POINT (-40.374402 -2.802137)', '2026-07-29 07:02:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374478 -2.802103)'), GeomFromEWKT('SRID=4674;POINT (-40.374402 -2.802137)'))) / (select extract(epoch from '2026-07-29 07:02:22'::timestamp) - extract(epoch from '2026-07-29 07:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374478 -2.802103)'), GeomFromEWKT('SRID=4674;POINT (-40.374402 -2.802137)'))) / (select extract(epoch from '2026-07-29 07:02:22'::timestamp) - extract(epoch from '2026-07-29 07:02: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'), 47641, 'SRID=4674;POINT (-40.374386 -2.80214)', '2026-07-29 07:02:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374402 -2.802137)'), GeomFromEWKT('SRID=4674;POINT (-40.374386 -2.80214)'))) / (select extract(epoch from '2026-07-29 07:02:38'::timestamp) - extract(epoch from '2026-07-29 07:02:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374402 -2.802137)'), GeomFromEWKT('SRID=4674;POINT (-40.374386 -2.80214)'))) / (select extract(epoch from '2026-07-29 07:02:38'::timestamp) - extract(epoch from '2026-07-29 07:02: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'), 47641, 'SRID=4674;POINT (-40.374369 -2.80214)', '2026-07-29 07:02:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374386 -2.80214)'), GeomFromEWKT('SRID=4674;POINT (-40.374369 -2.80214)'))) / (select extract(epoch from '2026-07-29 07:02:51'::timestamp) - extract(epoch from '2026-07-29 07:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374386 -2.80214)'), GeomFromEWKT('SRID=4674;POINT (-40.374369 -2.80214)'))) / (select extract(epoch from '2026-07-29 07:02:51'::timestamp) - extract(epoch from '2026-07-29 07:02: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'), 47641, 'SRID=4674;POINT (-40.37431 -2.802183)', '2026-07-29 07:03:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374369 -2.80214)'), GeomFromEWKT('SRID=4674;POINT (-40.37431 -2.802183)'))) / (select extract(epoch from '2026-07-29 07:03:10'::timestamp) - extract(epoch from '2026-07-29 07:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374369 -2.80214)'), GeomFromEWKT('SRID=4674;POINT (-40.37431 -2.802183)'))) / (select extract(epoch from '2026-07-29 07:03:10'::timestamp) - extract(epoch from '2026-07-29 07:02:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37427 -2.802206)', '2026-07-29 07:03:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37431 -2.802183)'), GeomFromEWKT('SRID=4674;POINT (-40.37427 -2.802206)'))) / (select extract(epoch from '2026-07-29 07:03:25'::timestamp) - extract(epoch from '2026-07-29 07:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37431 -2.802183)'), GeomFromEWKT('SRID=4674;POINT (-40.37427 -2.802206)'))) / (select extract(epoch from '2026-07-29 07:03:25'::timestamp) - extract(epoch from '2026-07-29 07:03: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'), 47641, 'SRID=4674;POINT (-40.374256 -2.802214)', '2026-07-29 07:03:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37427 -2.802206)'), GeomFromEWKT('SRID=4674;POINT (-40.374256 -2.802214)'))) / (select extract(epoch from '2026-07-29 07:03:38'::timestamp) - extract(epoch from '2026-07-29 07:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37427 -2.802206)'), GeomFromEWKT('SRID=4674;POINT (-40.374256 -2.802214)'))) / (select extract(epoch from '2026-07-29 07:03:38'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.374227 -2.802223)', '2026-07-29 07:03:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374256 -2.802214)'), GeomFromEWKT('SRID=4674;POINT (-40.374227 -2.802223)'))) / (select extract(epoch from '2026-07-29 07:03:48'::timestamp) - extract(epoch from '2026-07-29 07:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374256 -2.802214)'), GeomFromEWKT('SRID=4674;POINT (-40.374227 -2.802223)'))) / (select extract(epoch from '2026-07-29 07:03:48'::timestamp) - extract(epoch from '2026-07-29 07:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.374169 -2.802229)', '2026-07-29 07:04:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374227 -2.802223)'), GeomFromEWKT('SRID=4674;POINT (-40.374169 -2.802229)'))) / (select extract(epoch from '2026-07-29 07:04:06'::timestamp) - extract(epoch from '2026-07-29 07:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374227 -2.802223)'), GeomFromEWKT('SRID=4674;POINT (-40.374169 -2.802229)'))) / (select extract(epoch from '2026-07-29 07:04:06'::timestamp) - extract(epoch from '2026-07-29 07:03: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'), 47641, 'SRID=4674;POINT (-40.374124 -2.802217)', '2026-07-29 07:04:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374169 -2.802229)'), GeomFromEWKT('SRID=4674;POINT (-40.374124 -2.802217)'))) / (select extract(epoch from '2026-07-29 07:04:23'::timestamp) - extract(epoch from '2026-07-29 07:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374169 -2.802229)'), GeomFromEWKT('SRID=4674;POINT (-40.374124 -2.802217)'))) / (select extract(epoch from '2026-07-29 07:04:23'::timestamp) - extract(epoch from '2026-07-29 07:04: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'), 47641, 'SRID=4674;POINT (-40.374098 -2.802221)', '2026-07-29 07:04:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374124 -2.802217)'), GeomFromEWKT('SRID=4674;POINT (-40.374098 -2.802221)'))) / (select extract(epoch from '2026-07-29 07:04:42'::timestamp) - extract(epoch from '2026-07-29 07:04:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374124 -2.802217)'), GeomFromEWKT('SRID=4674;POINT (-40.374098 -2.802221)'))) / (select extract(epoch from '2026-07-29 07:04:42'::timestamp) - extract(epoch from '2026-07-29 07:04: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'), 47641, 'SRID=4674;POINT (-40.374042 -2.802243)', '2026-07-29 07:04:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374098 -2.802221)'), GeomFromEWKT('SRID=4674;POINT (-40.374042 -2.802243)'))) / (select extract(epoch from '2026-07-29 07:04:59'::timestamp) - extract(epoch from '2026-07-29 07:04:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374098 -2.802221)'), GeomFromEWKT('SRID=4674;POINT (-40.374042 -2.802243)'))) / (select extract(epoch from '2026-07-29 07:04:59'::timestamp) - extract(epoch from '2026-07-29 07:04: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'), 47641, 'SRID=4674;POINT (-40.373994 -2.802254)', '2026-07-29 07:05:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374042 -2.802243)'), GeomFromEWKT('SRID=4674;POINT (-40.373994 -2.802254)'))) / (select extract(epoch from '2026-07-29 07:05:16'::timestamp) - extract(epoch from '2026-07-29 07:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374042 -2.802243)'), GeomFromEWKT('SRID=4674;POINT (-40.373994 -2.802254)'))) / (select extract(epoch from '2026-07-29 07:05:16'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.373956 -2.802264)', '2026-07-29 07:05:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373994 -2.802254)'), GeomFromEWKT('SRID=4674;POINT (-40.373956 -2.802264)'))) / (select extract(epoch from '2026-07-29 07:05:29'::timestamp) - extract(epoch from '2026-07-29 07:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373994 -2.802254)'), GeomFromEWKT('SRID=4674;POINT (-40.373956 -2.802264)'))) / (select extract(epoch from '2026-07-29 07:05:29'::timestamp) - extract(epoch from '2026-07-29 07:05: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'), 47641, 'SRID=4674;POINT (-40.373903 -2.802295)', '2026-07-29 07:05:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373956 -2.802264)'), GeomFromEWKT('SRID=4674;POINT (-40.373903 -2.802295)'))) / (select extract(epoch from '2026-07-29 07:05:44'::timestamp) - extract(epoch from '2026-07-29 07:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373956 -2.802264)'), GeomFromEWKT('SRID=4674;POINT (-40.373903 -2.802295)'))) / (select extract(epoch from '2026-07-29 07:05:44'::timestamp) - extract(epoch from '2026-07-29 07:05: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'), 47641, 'SRID=4674;POINT (-40.373837 -2.802319)', '2026-07-29 07:06:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373903 -2.802295)'), GeomFromEWKT('SRID=4674;POINT (-40.373837 -2.802319)'))) / (select extract(epoch from '2026-07-29 07:06:05'::timestamp) - extract(epoch from '2026-07-29 07:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373903 -2.802295)'), GeomFromEWKT('SRID=4674;POINT (-40.373837 -2.802319)'))) / (select extract(epoch from '2026-07-29 07:06:05'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.3738 -2.802319)', '2026-07-29 07:06:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373837 -2.802319)'), GeomFromEWKT('SRID=4674;POINT (-40.3738 -2.802319)'))) / (select extract(epoch from '2026-07-29 07:06:19'::timestamp) - extract(epoch from '2026-07-29 07:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373837 -2.802319)'), GeomFromEWKT('SRID=4674;POINT (-40.3738 -2.802319)'))) / (select extract(epoch from '2026-07-29 07:06:19'::timestamp) - extract(epoch from '2026-07-29 07:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373764 -2.802318)', '2026-07-29 07:06:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3738 -2.802319)'), GeomFromEWKT('SRID=4674;POINT (-40.373764 -2.802318)'))) / (select extract(epoch from '2026-07-29 07:06:36'::timestamp) - extract(epoch from '2026-07-29 07:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3738 -2.802319)'), GeomFromEWKT('SRID=4674;POINT (-40.373764 -2.802318)'))) / (select extract(epoch from '2026-07-29 07:06:36'::timestamp) - extract(epoch from '2026-07-29 07:06: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'), 47641, 'SRID=4674;POINT (-40.373707 -2.802326)', '2026-07-29 07:06:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373764 -2.802318)'), GeomFromEWKT('SRID=4674;POINT (-40.373707 -2.802326)'))) / (select extract(epoch from '2026-07-29 07:06:50'::timestamp) - extract(epoch from '2026-07-29 07:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373764 -2.802318)'), GeomFromEWKT('SRID=4674;POINT (-40.373707 -2.802326)'))) / (select extract(epoch from '2026-07-29 07:06:50'::timestamp) - extract(epoch from '2026-07-29 07:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373636 -2.802359)', '2026-07-29 07:07:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373707 -2.802326)'), GeomFromEWKT('SRID=4674;POINT (-40.373636 -2.802359)'))) / (select extract(epoch from '2026-07-29 07:07:03'::timestamp) - extract(epoch from '2026-07-29 07:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373707 -2.802326)'), GeomFromEWKT('SRID=4674;POINT (-40.373636 -2.802359)'))) / (select extract(epoch from '2026-07-29 07:07:03'::timestamp) - extract(epoch from '2026-07-29 07:06:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373601 -2.802368)', '2026-07-29 07:07:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373636 -2.802359)'), GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802368)'))) / (select extract(epoch from '2026-07-29 07:07:18'::timestamp) - extract(epoch from '2026-07-29 07:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373636 -2.802359)'), GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802368)'))) / (select extract(epoch from '2026-07-29 07:07:18'::timestamp) - extract(epoch from '2026-07-29 07:07: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'), 47641, 'SRID=4674;POINT (-40.373591 -2.802373)', '2026-07-29 07:07:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802368)'), GeomFromEWKT('SRID=4674;POINT (-40.373591 -2.802373)'))) / (select extract(epoch from '2026-07-29 07:07:33'::timestamp) - extract(epoch from '2026-07-29 07:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802368)'), GeomFromEWKT('SRID=4674;POINT (-40.373591 -2.802373)'))) / (select extract(epoch from '2026-07-29 07:07:33'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.373597 -2.802381)', '2026-07-29 07:07:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373591 -2.802373)'), GeomFromEWKT('SRID=4674;POINT (-40.373597 -2.802381)'))) / (select extract(epoch from '2026-07-29 07:07:49'::timestamp) - extract(epoch from '2026-07-29 07:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373591 -2.802373)'), GeomFromEWKT('SRID=4674;POINT (-40.373597 -2.802381)'))) / (select extract(epoch from '2026-07-29 07:07:49'::timestamp) - extract(epoch from '2026-07-29 07:07: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'), 47641, 'SRID=4674;POINT (-40.373601 -2.802378)', '2026-07-29 07:08:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373597 -2.802381)'), GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802378)'))) / (select extract(epoch from '2026-07-29 07:08:03'::timestamp) - extract(epoch from '2026-07-29 07:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373597 -2.802381)'), GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802378)'))) / (select extract(epoch from '2026-07-29 07:08:03'::timestamp) - extract(epoch from '2026-07-29 07:07: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'), 47641, 'SRID=4674;POINT (-40.373602 -2.802383)', '2026-07-29 07:08:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802378)'), GeomFromEWKT('SRID=4674;POINT (-40.373602 -2.802383)'))) / (select extract(epoch from '2026-07-29 07:08:16'::timestamp) - extract(epoch from '2026-07-29 07:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373601 -2.802378)'), GeomFromEWKT('SRID=4674;POINT (-40.373602 -2.802383)'))) / (select extract(epoch from '2026-07-29 07:08:16'::timestamp) - extract(epoch from '2026-07-29 07:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373566 -2.802394)', '2026-07-29 07:08:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373602 -2.802383)'), GeomFromEWKT('SRID=4674;POINT (-40.373566 -2.802394)'))) / (select extract(epoch from '2026-07-29 07:08:26'::timestamp) - extract(epoch from '2026-07-29 07:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373602 -2.802383)'), GeomFromEWKT('SRID=4674;POINT (-40.373566 -2.802394)'))) / (select extract(epoch from '2026-07-29 07:08:26'::timestamp) - extract(epoch from '2026-07-29 07:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373501 -2.802404)', '2026-07-29 07:08:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373566 -2.802394)'), GeomFromEWKT('SRID=4674;POINT (-40.373501 -2.802404)'))) / (select extract(epoch from '2026-07-29 07:08:40'::timestamp) - extract(epoch from '2026-07-29 07:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373566 -2.802394)'), GeomFromEWKT('SRID=4674;POINT (-40.373501 -2.802404)'))) / (select extract(epoch from '2026-07-29 07:08:40'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.373423 -2.802416)', '2026-07-29 07:08:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373501 -2.802404)'), GeomFromEWKT('SRID=4674;POINT (-40.373423 -2.802416)'))) / (select extract(epoch from '2026-07-29 07:08:58'::timestamp) - extract(epoch from '2026-07-29 07:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373501 -2.802404)'), GeomFromEWKT('SRID=4674;POINT (-40.373423 -2.802416)'))) / (select extract(epoch from '2026-07-29 07:08:58'::timestamp) - extract(epoch from '2026-07-29 07:08: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'), 47641, 'SRID=4674;POINT (-40.373384 -2.802429)', '2026-07-29 07:09:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373423 -2.802416)'), GeomFromEWKT('SRID=4674;POINT (-40.373384 -2.802429)'))) / (select extract(epoch from '2026-07-29 07:09:16'::timestamp) - extract(epoch from '2026-07-29 07:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373423 -2.802416)'), GeomFromEWKT('SRID=4674;POINT (-40.373384 -2.802429)'))) / (select extract(epoch from '2026-07-29 07:09:16'::timestamp) - extract(epoch from '2026-07-29 07:08:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373365 -2.802444)', '2026-07-29 07:09:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373384 -2.802429)'), GeomFromEWKT('SRID=4674;POINT (-40.373365 -2.802444)'))) / (select extract(epoch from '2026-07-29 07:09:28'::timestamp) - extract(epoch from '2026-07-29 07:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373384 -2.802429)'), GeomFromEWKT('SRID=4674;POINT (-40.373365 -2.802444)'))) / (select extract(epoch from '2026-07-29 07:09:28'::timestamp) - extract(epoch from '2026-07-29 07:09: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'), 47641, 'SRID=4674;POINT (-40.373337 -2.802453)', '2026-07-29 07:09:44', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373365 -2.802444)'), GeomFromEWKT('SRID=4674;POINT (-40.373337 -2.802453)'))) / (select extract(epoch from '2026-07-29 07:09:44'::timestamp) - extract(epoch from '2026-07-29 07:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373365 -2.802444)'), GeomFromEWKT('SRID=4674;POINT (-40.373337 -2.802453)'))) / (select extract(epoch from '2026-07-29 07:09:44'::timestamp) - extract(epoch from '2026-07-29 07:09: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'), 47641, 'SRID=4674;POINT (-40.373304 -2.80247)', '2026-07-29 07:09:57', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373337 -2.802453)'), GeomFromEWKT('SRID=4674;POINT (-40.373304 -2.80247)'))) / (select extract(epoch from '2026-07-29 07:09:57'::timestamp) - extract(epoch from '2026-07-29 07:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373337 -2.802453)'), GeomFromEWKT('SRID=4674;POINT (-40.373304 -2.80247)'))) / (select extract(epoch from '2026-07-29 07:09:57'::timestamp) - extract(epoch from '2026-07-29 07:09: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'), 47641, 'SRID=4674;POINT (-40.373293 -2.802464)', '2026-07-29 07:10:05', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373304 -2.80247)'), GeomFromEWKT('SRID=4674;POINT (-40.373293 -2.802464)'))) / (select extract(epoch from '2026-07-29 07:10:05'::timestamp) - extract(epoch from '2026-07-29 07:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373304 -2.80247)'), GeomFromEWKT('SRID=4674;POINT (-40.373293 -2.802464)'))) / (select extract(epoch from '2026-07-29 07:10:05'::timestamp) - extract(epoch from '2026-07-29 07:09: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'), 47641, 'SRID=4674;POINT (-40.37327 -2.802463)', '2026-07-29 07:10:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373293 -2.802464)'), GeomFromEWKT('SRID=4674;POINT (-40.37327 -2.802463)'))) / (select extract(epoch from '2026-07-29 07:10:20'::timestamp) - extract(epoch from '2026-07-29 07:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373293 -2.802464)'), GeomFromEWKT('SRID=4674;POINT (-40.37327 -2.802463)'))) / (select extract(epoch from '2026-07-29 07:10:20'::timestamp) - extract(epoch from '2026-07-29 07:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.373253 -2.802477)', '2026-07-29 07:10:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37327 -2.802463)'), GeomFromEWKT('SRID=4674;POINT (-40.373253 -2.802477)'))) / (select extract(epoch from '2026-07-29 07:10:36'::timestamp) - extract(epoch from '2026-07-29 07:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37327 -2.802463)'), GeomFromEWKT('SRID=4674;POINT (-40.373253 -2.802477)'))) / (select extract(epoch from '2026-07-29 07:10:36'::timestamp) - extract(epoch from '2026-07-29 07:10: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'), 47641, 'SRID=4674;POINT (-40.373221 -2.802482)', '2026-07-29 07:10:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373253 -2.802477)'), GeomFromEWKT('SRID=4674;POINT (-40.373221 -2.802482)'))) / (select extract(epoch from '2026-07-29 07:10:50'::timestamp) - extract(epoch from '2026-07-29 07:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373253 -2.802477)'), GeomFromEWKT('SRID=4674;POINT (-40.373221 -2.802482)'))) / (select extract(epoch from '2026-07-29 07:10:50'::timestamp) - extract(epoch from '2026-07-29 07:10: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'), 47641, 'SRID=4674;POINT (-40.373203 -2.802478)', '2026-07-29 07:11:01', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373221 -2.802482)'), GeomFromEWKT('SRID=4674;POINT (-40.373203 -2.802478)'))) / (select extract(epoch from '2026-07-29 07:11:01'::timestamp) - extract(epoch from '2026-07-29 07:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373221 -2.802482)'), GeomFromEWKT('SRID=4674;POINT (-40.373203 -2.802478)'))) / (select extract(epoch from '2026-07-29 07:11:01'::timestamp) - extract(epoch from '2026-07-29 07:10: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'), 47641, 'SRID=4674;POINT (-40.373174 -2.802493)', '2026-07-29 07:11:12', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373203 -2.802478)'), GeomFromEWKT('SRID=4674;POINT (-40.373174 -2.802493)'))) / (select extract(epoch from '2026-07-29 07:11:12'::timestamp) - extract(epoch from '2026-07-29 07:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373203 -2.802478)'), GeomFromEWKT('SRID=4674;POINT (-40.373174 -2.802493)'))) / (select extract(epoch from '2026-07-29 07:11:12'::timestamp) - extract(epoch from '2026-07-29 07:11: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'), 47641, 'SRID=4674;POINT (-40.373167 -2.802491)', '2026-07-29 07:11:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373174 -2.802493)'), GeomFromEWKT('SRID=4674;POINT (-40.373167 -2.802491)'))) / (select extract(epoch from '2026-07-29 07:11:26'::timestamp) - extract(epoch from '2026-07-29 07:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373174 -2.802493)'), GeomFromEWKT('SRID=4674;POINT (-40.373167 -2.802491)'))) / (select extract(epoch from '2026-07-29 07:11:26'::timestamp) - extract(epoch from '2026-07-29 07:11: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'), 47641, 'SRID=4674;POINT (-40.373158 -2.802477)', '2026-07-29 07:11:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373167 -2.802491)'), GeomFromEWKT('SRID=4674;POINT (-40.373158 -2.802477)'))) / (select extract(epoch from '2026-07-29 07:11:42'::timestamp) - extract(epoch from '2026-07-29 07:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373167 -2.802491)'), GeomFromEWKT('SRID=4674;POINT (-40.373158 -2.802477)'))) / (select extract(epoch from '2026-07-29 07:11:42'::timestamp) - extract(epoch from '2026-07-29 07:11: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'), 47641, 'SRID=4674;POINT (-40.373132 -2.802492)', '2026-07-29 07:11:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373158 -2.802477)'), GeomFromEWKT('SRID=4674;POINT (-40.373132 -2.802492)'))) / (select extract(epoch from '2026-07-29 07:11:52'::timestamp) - extract(epoch from '2026-07-29 07:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373158 -2.802477)'), GeomFromEWKT('SRID=4674;POINT (-40.373132 -2.802492)'))) / (select extract(epoch from '2026-07-29 07:11:52'::timestamp) - extract(epoch from '2026-07-29 07:11: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'), 47641, 'SRID=4674;POINT (-40.373106 -2.802502)', '2026-07-29 07:12:06', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373132 -2.802492)'), GeomFromEWKT('SRID=4674;POINT (-40.373106 -2.802502)'))) / (select extract(epoch from '2026-07-29 07:12:06'::timestamp) - extract(epoch from '2026-07-29 07:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373132 -2.802492)'), GeomFromEWKT('SRID=4674;POINT (-40.373106 -2.802502)'))) / (select extract(epoch from '2026-07-29 07:12:06'::timestamp) - extract(epoch from '2026-07-29 07:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37309 -2.802504)', '2026-07-29 07:12:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373106 -2.802502)'), GeomFromEWKT('SRID=4674;POINT (-40.37309 -2.802504)'))) / (select extract(epoch from '2026-07-29 07:12:15'::timestamp) - extract(epoch from '2026-07-29 07:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373106 -2.802502)'), GeomFromEWKT('SRID=4674;POINT (-40.37309 -2.802504)'))) / (select extract(epoch from '2026-07-29 07:12:15'::timestamp) - extract(epoch from '2026-07-29 07:12: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'), 47641, 'SRID=4674;POINT (-40.373053 -2.802505)', '2026-07-29 07:12:28', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37309 -2.802504)'), GeomFromEWKT('SRID=4674;POINT (-40.373053 -2.802505)'))) / (select extract(epoch from '2026-07-29 07:12:28'::timestamp) - extract(epoch from '2026-07-29 07:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37309 -2.802504)'), GeomFromEWKT('SRID=4674;POINT (-40.373053 -2.802505)'))) / (select extract(epoch from '2026-07-29 07:12:28'::timestamp) - extract(epoch from '2026-07-29 07:12: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'), 47641, 'SRID=4674;POINT (-40.372986 -2.802536)', '2026-07-29 07:12:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373053 -2.802505)'), GeomFromEWKT('SRID=4674;POINT (-40.372986 -2.802536)'))) / (select extract(epoch from '2026-07-29 07:12:47'::timestamp) - extract(epoch from '2026-07-29 07:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373053 -2.802505)'), GeomFromEWKT('SRID=4674;POINT (-40.372986 -2.802536)'))) / (select extract(epoch from '2026-07-29 07:12:47'::timestamp) - extract(epoch from '2026-07-29 07:12: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'), 47641, 'SRID=4674;POINT (-40.372935 -2.802567)', '2026-07-29 07:13:02', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372986 -2.802536)'), GeomFromEWKT('SRID=4674;POINT (-40.372935 -2.802567)'))) / (select extract(epoch from '2026-07-29 07:13:02'::timestamp) - extract(epoch from '2026-07-29 07:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372986 -2.802536)'), GeomFromEWKT('SRID=4674;POINT (-40.372935 -2.802567)'))) / (select extract(epoch from '2026-07-29 07:13:02'::timestamp) - extract(epoch from '2026-07-29 07:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372892 -2.802589)', '2026-07-29 07:13:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372935 -2.802567)'), GeomFromEWKT('SRID=4674;POINT (-40.372892 -2.802589)'))) / (select extract(epoch from '2026-07-29 07:13:17'::timestamp) - extract(epoch from '2026-07-29 07:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372935 -2.802567)'), GeomFromEWKT('SRID=4674;POINT (-40.372892 -2.802589)'))) / (select extract(epoch from '2026-07-29 07:13:17'::timestamp) - extract(epoch from '2026-07-29 07:13: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'), 47641, 'SRID=4674;POINT (-40.372865 -2.802589)', '2026-07-29 07:13:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372892 -2.802589)'), GeomFromEWKT('SRID=4674;POINT (-40.372865 -2.802589)'))) / (select extract(epoch from '2026-07-29 07:13:34'::timestamp) - extract(epoch from '2026-07-29 07:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372892 -2.802589)'), GeomFromEWKT('SRID=4674;POINT (-40.372865 -2.802589)'))) / (select extract(epoch from '2026-07-29 07:13:34'::timestamp) - extract(epoch from '2026-07-29 07:13:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372831 -2.802586)', '2026-07-29 07:13:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372865 -2.802589)'), GeomFromEWKT('SRID=4674;POINT (-40.372831 -2.802586)'))) / (select extract(epoch from '2026-07-29 07:13:46'::timestamp) - extract(epoch from '2026-07-29 07:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372865 -2.802589)'), GeomFromEWKT('SRID=4674;POINT (-40.372831 -2.802586)'))) / (select extract(epoch from '2026-07-29 07:13:46'::timestamp) - extract(epoch from '2026-07-29 07:13: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'), 47641, 'SRID=4674;POINT (-40.372799 -2.80259)', '2026-07-29 07:13:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372831 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.372799 -2.80259)'))) / (select extract(epoch from '2026-07-29 07:13:58'::timestamp) - extract(epoch from '2026-07-29 07:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372831 -2.802586)'), GeomFromEWKT('SRID=4674;POINT (-40.372799 -2.80259)'))) / (select extract(epoch from '2026-07-29 07:13:58'::timestamp) - extract(epoch from '2026-07-29 07:13: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'), 47641, 'SRID=4674;POINT (-40.372772 -2.802595)', '2026-07-29 07:14:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372799 -2.80259)'), GeomFromEWKT('SRID=4674;POINT (-40.372772 -2.802595)'))) / (select extract(epoch from '2026-07-29 07:14:17'::timestamp) - extract(epoch from '2026-07-29 07:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372799 -2.80259)'), GeomFromEWKT('SRID=4674;POINT (-40.372772 -2.802595)'))) / (select extract(epoch from '2026-07-29 07:14:17'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.372765 -2.8026)', '2026-07-29 07:14:27', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372772 -2.802595)'), GeomFromEWKT('SRID=4674;POINT (-40.372765 -2.8026)'))) / (select extract(epoch from '2026-07-29 07:14:27'::timestamp) - extract(epoch from '2026-07-29 07:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372772 -2.802595)'), GeomFromEWKT('SRID=4674;POINT (-40.372765 -2.8026)'))) / (select extract(epoch from '2026-07-29 07:14:27'::timestamp) - extract(epoch from '2026-07-29 07:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372746 -2.80261)', '2026-07-29 07:14:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372765 -2.8026)'), GeomFromEWKT('SRID=4674;POINT (-40.372746 -2.80261)'))) / (select extract(epoch from '2026-07-29 07:14:39'::timestamp) - extract(epoch from '2026-07-29 07:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372765 -2.8026)'), GeomFromEWKT('SRID=4674;POINT (-40.372746 -2.80261)'))) / (select extract(epoch from '2026-07-29 07:14:39'::timestamp) - extract(epoch from '2026-07-29 07:14: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'), 47641, 'SRID=4674;POINT (-40.372736 -2.802597)', '2026-07-29 07:14:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372746 -2.80261)'), GeomFromEWKT('SRID=4674;POINT (-40.372736 -2.802597)'))) / (select extract(epoch from '2026-07-29 07:14:51'::timestamp) - extract(epoch from '2026-07-29 07:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372746 -2.80261)'), GeomFromEWKT('SRID=4674;POINT (-40.372736 -2.802597)'))) / (select extract(epoch from '2026-07-29 07:14:51'::timestamp) - extract(epoch from '2026-07-29 07:14: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'), 47641, 'SRID=4674;POINT (-40.372718 -2.802587)', '2026-07-29 07:15:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372736 -2.802597)'), GeomFromEWKT('SRID=4674;POINT (-40.372718 -2.802587)'))) / (select extract(epoch from '2026-07-29 07:15:05'::timestamp) - extract(epoch from '2026-07-29 07:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372736 -2.802597)'), GeomFromEWKT('SRID=4674;POINT (-40.372718 -2.802587)'))) / (select extract(epoch from '2026-07-29 07:15:05'::timestamp) - extract(epoch from '2026-07-29 07:14: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'), 47641, 'SRID=4674;POINT (-40.372693 -2.802594)', '2026-07-29 07:15:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372718 -2.802587)'), GeomFromEWKT('SRID=4674;POINT (-40.372693 -2.802594)'))) / (select extract(epoch from '2026-07-29 07:15:15'::timestamp) - extract(epoch from '2026-07-29 07:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372718 -2.802587)'), GeomFromEWKT('SRID=4674;POINT (-40.372693 -2.802594)'))) / (select extract(epoch from '2026-07-29 07:15:15'::timestamp) - extract(epoch from '2026-07-29 07:15: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'), 47641, 'SRID=4674;POINT (-40.372688 -2.802594)', '2026-07-29 07:15:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372693 -2.802594)'), GeomFromEWKT('SRID=4674;POINT (-40.372688 -2.802594)'))) / (select extract(epoch from '2026-07-29 07:15:25'::timestamp) - extract(epoch from '2026-07-29 07:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372693 -2.802594)'), GeomFromEWKT('SRID=4674;POINT (-40.372688 -2.802594)'))) / (select extract(epoch from '2026-07-29 07:15:25'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.372673 -2.802596)', '2026-07-29 07:15:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372688 -2.802594)'), GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.802596)'))) / (select extract(epoch from '2026-07-29 07:15:35'::timestamp) - extract(epoch from '2026-07-29 07:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372688 -2.802594)'), GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.802596)'))) / (select extract(epoch from '2026-07-29 07:15:35'::timestamp) - extract(epoch from '2026-07-29 07:15:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372662 -2.802595)', '2026-07-29 07:15:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.802596)'), GeomFromEWKT('SRID=4674;POINT (-40.372662 -2.802595)'))) / (select extract(epoch from '2026-07-29 07:15:46'::timestamp) - extract(epoch from '2026-07-29 07:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372673 -2.802596)'), GeomFromEWKT('SRID=4674;POINT (-40.372662 -2.802595)'))) / (select extract(epoch from '2026-07-29 07:15:46'::timestamp) - extract(epoch from '2026-07-29 07:15: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'), 47641, 'SRID=4674;POINT (-40.372643 -2.802604)', '2026-07-29 07:15:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372662 -2.802595)'), GeomFromEWKT('SRID=4674;POINT (-40.372643 -2.802604)'))) / (select extract(epoch from '2026-07-29 07:15:57'::timestamp) - extract(epoch from '2026-07-29 07:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372662 -2.802595)'), GeomFromEWKT('SRID=4674;POINT (-40.372643 -2.802604)'))) / (select extract(epoch from '2026-07-29 07:15:57'::timestamp) - extract(epoch from '2026-07-29 07:15: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'), 47641, 'SRID=4674;POINT (-40.372592 -2.802612)', '2026-07-29 07:16:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372643 -2.802604)'), GeomFromEWKT('SRID=4674;POINT (-40.372592 -2.802612)'))) / (select extract(epoch from '2026-07-29 07:16:12'::timestamp) - extract(epoch from '2026-07-29 07:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372643 -2.802604)'), GeomFromEWKT('SRID=4674;POINT (-40.372592 -2.802612)'))) / (select extract(epoch from '2026-07-29 07:16:12'::timestamp) - extract(epoch from '2026-07-29 07:15: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'), 47641, 'SRID=4674;POINT (-40.372582 -2.802615)', '2026-07-29 07:16:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372592 -2.802612)'), GeomFromEWKT('SRID=4674;POINT (-40.372582 -2.802615)'))) / (select extract(epoch from '2026-07-29 07:16:24'::timestamp) - extract(epoch from '2026-07-29 07:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372592 -2.802612)'), GeomFromEWKT('SRID=4674;POINT (-40.372582 -2.802615)'))) / (select extract(epoch from '2026-07-29 07:16:24'::timestamp) - extract(epoch from '2026-07-29 07:16:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37257 -2.802622)', '2026-07-29 07:16:36', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372582 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.37257 -2.802622)'))) / (select extract(epoch from '2026-07-29 07:16:36'::timestamp) - extract(epoch from '2026-07-29 07:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372582 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.37257 -2.802622)'))) / (select extract(epoch from '2026-07-29 07:16:36'::timestamp) - extract(epoch from '2026-07-29 07:16:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372547 -2.802627)', '2026-07-29 07:16:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37257 -2.802622)'), GeomFromEWKT('SRID=4674;POINT (-40.372547 -2.802627)'))) / (select extract(epoch from '2026-07-29 07:16:48'::timestamp) - extract(epoch from '2026-07-29 07:16:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37257 -2.802622)'), GeomFromEWKT('SRID=4674;POINT (-40.372547 -2.802627)'))) / (select extract(epoch from '2026-07-29 07:16:48'::timestamp) - extract(epoch from '2026-07-29 07:16: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'), 47641, 'SRID=4674;POINT (-40.372517 -2.802614)', '2026-07-29 07:17:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372547 -2.802627)'), GeomFromEWKT('SRID=4674;POINT (-40.372517 -2.802614)'))) / (select extract(epoch from '2026-07-29 07:17:03'::timestamp) - extract(epoch from '2026-07-29 07:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372547 -2.802627)'), GeomFromEWKT('SRID=4674;POINT (-40.372517 -2.802614)'))) / (select extract(epoch from '2026-07-29 07:17:03'::timestamp) - extract(epoch from '2026-07-29 07:16:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372486 -2.802615)', '2026-07-29 07:17:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372517 -2.802614)'), GeomFromEWKT('SRID=4674;POINT (-40.372486 -2.802615)'))) / (select extract(epoch from '2026-07-29 07:17:15'::timestamp) - extract(epoch from '2026-07-29 07:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372517 -2.802614)'), GeomFromEWKT('SRID=4674;POINT (-40.372486 -2.802615)'))) / (select extract(epoch from '2026-07-29 07:17:15'::timestamp) - extract(epoch from '2026-07-29 07:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37246 -2.802624)', '2026-07-29 07:17:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372486 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.37246 -2.802624)'))) / (select extract(epoch from '2026-07-29 07:17:30'::timestamp) - extract(epoch from '2026-07-29 07:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372486 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.37246 -2.802624)'))) / (select extract(epoch from '2026-07-29 07:17:30'::timestamp) - extract(epoch from '2026-07-29 07:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372462 -2.802633)', '2026-07-29 07:17:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37246 -2.802624)'), GeomFromEWKT('SRID=4674;POINT (-40.372462 -2.802633)'))) / (select extract(epoch from '2026-07-29 07:17:43'::timestamp) - extract(epoch from '2026-07-29 07:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37246 -2.802624)'), GeomFromEWKT('SRID=4674;POINT (-40.372462 -2.802633)'))) / (select extract(epoch from '2026-07-29 07:17:43'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.372451 -2.802643)', '2026-07-29 07:17:52', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372462 -2.802633)'), GeomFromEWKT('SRID=4674;POINT (-40.372451 -2.802643)'))) / (select extract(epoch from '2026-07-29 07:17:52'::timestamp) - extract(epoch from '2026-07-29 07:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372462 -2.802633)'), GeomFromEWKT('SRID=4674;POINT (-40.372451 -2.802643)'))) / (select extract(epoch from '2026-07-29 07:17:52'::timestamp) - extract(epoch from '2026-07-29 07:17:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372385 -2.802645)', '2026-07-29 07:18:07', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372451 -2.802643)'), GeomFromEWKT('SRID=4674;POINT (-40.372385 -2.802645)'))) / (select extract(epoch from '2026-07-29 07:18:07'::timestamp) - extract(epoch from '2026-07-29 07:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372451 -2.802643)'), GeomFromEWKT('SRID=4674;POINT (-40.372385 -2.802645)'))) / (select extract(epoch from '2026-07-29 07:18:07'::timestamp) - extract(epoch from '2026-07-29 07:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372355 -2.802652)', '2026-07-29 07:18:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372385 -2.802645)'), GeomFromEWKT('SRID=4674;POINT (-40.372355 -2.802652)'))) / (select extract(epoch from '2026-07-29 07:18:21'::timestamp) - extract(epoch from '2026-07-29 07:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372385 -2.802645)'), GeomFromEWKT('SRID=4674;POINT (-40.372355 -2.802652)'))) / (select extract(epoch from '2026-07-29 07:18:21'::timestamp) - extract(epoch from '2026-07-29 07:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372347 -2.802652)', '2026-07-29 07:18:31', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372355 -2.802652)'), GeomFromEWKT('SRID=4674;POINT (-40.372347 -2.802652)'))) / (select extract(epoch from '2026-07-29 07:18:31'::timestamp) - extract(epoch from '2026-07-29 07:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372355 -2.802652)'), GeomFromEWKT('SRID=4674;POINT (-40.372347 -2.802652)'))) / (select extract(epoch from '2026-07-29 07:18:31'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.372341 -2.802648)', '2026-07-29 07:18:41', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372347 -2.802652)'), GeomFromEWKT('SRID=4674;POINT (-40.372341 -2.802648)'))) / (select extract(epoch from '2026-07-29 07:18:41'::timestamp) - extract(epoch from '2026-07-29 07:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372347 -2.802652)'), GeomFromEWKT('SRID=4674;POINT (-40.372341 -2.802648)'))) / (select extract(epoch from '2026-07-29 07:18:41'::timestamp) - extract(epoch from '2026-07-29 07:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372328 -2.802649)', '2026-07-29 07:18:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372341 -2.802648)'), GeomFromEWKT('SRID=4674;POINT (-40.372328 -2.802649)'))) / (select extract(epoch from '2026-07-29 07:18:52'::timestamp) - extract(epoch from '2026-07-29 07:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372341 -2.802648)'), GeomFromEWKT('SRID=4674;POINT (-40.372328 -2.802649)'))) / (select extract(epoch from '2026-07-29 07:18:52'::timestamp) - extract(epoch from '2026-07-29 07:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372295 -2.80265)', '2026-07-29 07:19:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372328 -2.802649)'), GeomFromEWKT('SRID=4674;POINT (-40.372295 -2.80265)'))) / (select extract(epoch from '2026-07-29 07:19:03'::timestamp) - extract(epoch from '2026-07-29 07:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372328 -2.802649)'), GeomFromEWKT('SRID=4674;POINT (-40.372295 -2.80265)'))) / (select extract(epoch from '2026-07-29 07:19:03'::timestamp) - extract(epoch from '2026-07-29 07:18: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'), 47641, 'SRID=4674;POINT (-40.372229 -2.802652)', '2026-07-29 07:19:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372295 -2.80265)'), GeomFromEWKT('SRID=4674;POINT (-40.372229 -2.802652)'))) / (select extract(epoch from '2026-07-29 07:19:18'::timestamp) - extract(epoch from '2026-07-29 07:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372295 -2.80265)'), GeomFromEWKT('SRID=4674;POINT (-40.372229 -2.802652)'))) / (select extract(epoch from '2026-07-29 07:19:18'::timestamp) - extract(epoch from '2026-07-29 07:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372219 -2.80265)', '2026-07-29 07:19:32', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372229 -2.802652)'), GeomFromEWKT('SRID=4674;POINT (-40.372219 -2.80265)'))) / (select extract(epoch from '2026-07-29 07:19:32'::timestamp) - extract(epoch from '2026-07-29 07:19:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372229 -2.802652)'), GeomFromEWKT('SRID=4674;POINT (-40.372219 -2.80265)'))) / (select extract(epoch from '2026-07-29 07:19:32'::timestamp) - extract(epoch from '2026-07-29 07:19:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372201 -2.802658)', '2026-07-29 07:19:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372219 -2.80265)'), GeomFromEWKT('SRID=4674;POINT (-40.372201 -2.802658)'))) / (select extract(epoch from '2026-07-29 07:19:43'::timestamp) - extract(epoch from '2026-07-29 07:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372219 -2.80265)'), GeomFromEWKT('SRID=4674;POINT (-40.372201 -2.802658)'))) / (select extract(epoch from '2026-07-29 07:19:43'::timestamp) - extract(epoch from '2026-07-29 07:19: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'), 47641, 'SRID=4674;POINT (-40.372115 -2.802664)', '2026-07-29 07:20:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372201 -2.802658)'), GeomFromEWKT('SRID=4674;POINT (-40.372115 -2.802664)'))) / (select extract(epoch from '2026-07-29 07:20:01'::timestamp) - extract(epoch from '2026-07-29 07:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372201 -2.802658)'), GeomFromEWKT('SRID=4674;POINT (-40.372115 -2.802664)'))) / (select extract(epoch from '2026-07-29 07:20:01'::timestamp) - extract(epoch from '2026-07-29 07:19: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'), 47641, 'SRID=4674;POINT (-40.372056 -2.802687)', '2026-07-29 07:20:14', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372115 -2.802664)'), GeomFromEWKT('SRID=4674;POINT (-40.372056 -2.802687)'))) / (select extract(epoch from '2026-07-29 07:20:14'::timestamp) - extract(epoch from '2026-07-29 07:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372115 -2.802664)'), GeomFromEWKT('SRID=4674;POINT (-40.372056 -2.802687)'))) / (select extract(epoch from '2026-07-29 07:20:14'::timestamp) - extract(epoch from '2026-07-29 07:20:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.372009 -2.802712)', '2026-07-29 07:20:30', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372056 -2.802687)'), GeomFromEWKT('SRID=4674;POINT (-40.372009 -2.802712)'))) / (select extract(epoch from '2026-07-29 07:20:30'::timestamp) - extract(epoch from '2026-07-29 07:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372056 -2.802687)'), GeomFromEWKT('SRID=4674;POINT (-40.372009 -2.802712)'))) / (select extract(epoch from '2026-07-29 07:20:30'::timestamp) - extract(epoch from '2026-07-29 07:20: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'), 47641, 'SRID=4674;POINT (-40.371996 -2.802716)', '2026-07-29 07:20:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372009 -2.802712)'), GeomFromEWKT('SRID=4674;POINT (-40.371996 -2.802716)'))) / (select extract(epoch from '2026-07-29 07:20:43'::timestamp) - extract(epoch from '2026-07-29 07:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372009 -2.802712)'), GeomFromEWKT('SRID=4674;POINT (-40.371996 -2.802716)'))) / (select extract(epoch from '2026-07-29 07:20:43'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.371983 -2.802713)', '2026-07-29 07:20:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371996 -2.802716)'), GeomFromEWKT('SRID=4674;POINT (-40.371983 -2.802713)'))) / (select extract(epoch from '2026-07-29 07:20:55'::timestamp) - extract(epoch from '2026-07-29 07:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371996 -2.802716)'), GeomFromEWKT('SRID=4674;POINT (-40.371983 -2.802713)'))) / (select extract(epoch from '2026-07-29 07:20:55'::timestamp) - extract(epoch from '2026-07-29 07:20: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'), 47641, 'SRID=4674;POINT (-40.371953 -2.802715)', '2026-07-29 07:21:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371983 -2.802713)'), GeomFromEWKT('SRID=4674;POINT (-40.371953 -2.802715)'))) / (select extract(epoch from '2026-07-29 07:21:07'::timestamp) - extract(epoch from '2026-07-29 07:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371983 -2.802713)'), GeomFromEWKT('SRID=4674;POINT (-40.371953 -2.802715)'))) / (select extract(epoch from '2026-07-29 07:21:07'::timestamp) - extract(epoch from '2026-07-29 07:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371847 -2.802762)', '2026-07-29 07:21:28', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371953 -2.802715)'), GeomFromEWKT('SRID=4674;POINT (-40.371847 -2.802762)'))) / (select extract(epoch from '2026-07-29 07:21:28'::timestamp) - extract(epoch from '2026-07-29 07:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371953 -2.802715)'), GeomFromEWKT('SRID=4674;POINT (-40.371847 -2.802762)'))) / (select extract(epoch from '2026-07-29 07:21:28'::timestamp) - extract(epoch from '2026-07-29 07:21: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'), 47641, 'SRID=4674;POINT (-40.371828 -2.802765)', '2026-07-29 07:21:39', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371847 -2.802762)'), GeomFromEWKT('SRID=4674;POINT (-40.371828 -2.802765)'))) / (select extract(epoch from '2026-07-29 07:21:39'::timestamp) - extract(epoch from '2026-07-29 07:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371847 -2.802762)'), GeomFromEWKT('SRID=4674;POINT (-40.371828 -2.802765)'))) / (select extract(epoch from '2026-07-29 07:21:39'::timestamp) - extract(epoch from '2026-07-29 07:21: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'), 47641, 'SRID=4674;POINT (-40.371788 -2.802783)', '2026-07-29 07:21:52', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371828 -2.802765)'), GeomFromEWKT('SRID=4674;POINT (-40.371788 -2.802783)'))) / (select extract(epoch from '2026-07-29 07:21:52'::timestamp) - extract(epoch from '2026-07-29 07:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371828 -2.802765)'), GeomFromEWKT('SRID=4674;POINT (-40.371788 -2.802783)'))) / (select extract(epoch from '2026-07-29 07:21:52'::timestamp) - extract(epoch from '2026-07-29 07:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37175 -2.80279)', '2026-07-29 07:22:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371788 -2.802783)'), GeomFromEWKT('SRID=4674;POINT (-40.37175 -2.80279)'))) / (select extract(epoch from '2026-07-29 07:22:10'::timestamp) - extract(epoch from '2026-07-29 07:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371788 -2.802783)'), GeomFromEWKT('SRID=4674;POINT (-40.37175 -2.80279)'))) / (select extract(epoch from '2026-07-29 07:22:10'::timestamp) - extract(epoch from '2026-07-29 07:21: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'), 47641, 'SRID=4674;POINT (-40.371732 -2.802785)', '2026-07-29 07:22:25', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37175 -2.80279)'), GeomFromEWKT('SRID=4674;POINT (-40.371732 -2.802785)'))) / (select extract(epoch from '2026-07-29 07:22:25'::timestamp) - extract(epoch from '2026-07-29 07:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37175 -2.80279)'), GeomFromEWKT('SRID=4674;POINT (-40.371732 -2.802785)'))) / (select extract(epoch from '2026-07-29 07:22:25'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.371717 -2.802785)', '2026-07-29 07:22:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371732 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.371717 -2.802785)'))) / (select extract(epoch from '2026-07-29 07:22:36'::timestamp) - extract(epoch from '2026-07-29 07:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371732 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.371717 -2.802785)'))) / (select extract(epoch from '2026-07-29 07:22:36'::timestamp) - extract(epoch from '2026-07-29 07:22: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'), 47641, 'SRID=4674;POINT (-40.3717 -2.802779)', '2026-07-29 07:22:46', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371717 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.3717 -2.802779)'))) / (select extract(epoch from '2026-07-29 07:22:46'::timestamp) - extract(epoch from '2026-07-29 07:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371717 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.3717 -2.802779)'))) / (select extract(epoch from '2026-07-29 07:22:46'::timestamp) - extract(epoch from '2026-07-29 07:22: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'), 47641, 'SRID=4674;POINT (-40.371689 -2.802778)', '2026-07-29 07:23:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3717 -2.802779)'), GeomFromEWKT('SRID=4674;POINT (-40.371689 -2.802778)'))) / (select extract(epoch from '2026-07-29 07:23:00'::timestamp) - extract(epoch from '2026-07-29 07:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3717 -2.802779)'), GeomFromEWKT('SRID=4674;POINT (-40.371689 -2.802778)'))) / (select extract(epoch from '2026-07-29 07:23:00'::timestamp) - extract(epoch from '2026-07-29 07:22:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371691 -2.80278)', '2026-07-29 07:23:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371689 -2.802778)'), GeomFromEWKT('SRID=4674;POINT (-40.371691 -2.80278)'))) / (select extract(epoch from '2026-07-29 07:23:09'::timestamp) - extract(epoch from '2026-07-29 07:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371689 -2.802778)'), GeomFromEWKT('SRID=4674;POINT (-40.371691 -2.80278)'))) / (select extract(epoch from '2026-07-29 07:23:09'::timestamp) - extract(epoch from '2026-07-29 07:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371688 -2.802792)', '2026-07-29 07:23:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371691 -2.80278)'), GeomFromEWKT('SRID=4674;POINT (-40.371688 -2.802792)'))) / (select extract(epoch from '2026-07-29 07:23:21'::timestamp) - extract(epoch from '2026-07-29 07:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371691 -2.80278)'), GeomFromEWKT('SRID=4674;POINT (-40.371688 -2.802792)'))) / (select extract(epoch from '2026-07-29 07:23:21'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.371649 -2.802803)', '2026-07-29 07:23:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371688 -2.802792)'), GeomFromEWKT('SRID=4674;POINT (-40.371649 -2.802803)'))) / (select extract(epoch from '2026-07-29 07:23:32'::timestamp) - extract(epoch from '2026-07-29 07:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371688 -2.802792)'), GeomFromEWKT('SRID=4674;POINT (-40.371649 -2.802803)'))) / (select extract(epoch from '2026-07-29 07:23:32'::timestamp) - extract(epoch from '2026-07-29 07:23: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'), 47641, 'SRID=4674;POINT (-40.371642 -2.802786)', '2026-07-29 07:23:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371649 -2.802803)'), GeomFromEWKT('SRID=4674;POINT (-40.371642 -2.802786)'))) / (select extract(epoch from '2026-07-29 07:23:46'::timestamp) - extract(epoch from '2026-07-29 07:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371649 -2.802803)'), GeomFromEWKT('SRID=4674;POINT (-40.371642 -2.802786)'))) / (select extract(epoch from '2026-07-29 07:23:46'::timestamp) - extract(epoch from '2026-07-29 07:23: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'), 47641, 'SRID=4674;POINT (-40.371629 -2.802777)', '2026-07-29 07:23:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371642 -2.802786)'), GeomFromEWKT('SRID=4674;POINT (-40.371629 -2.802777)'))) / (select extract(epoch from '2026-07-29 07:23:57'::timestamp) - extract(epoch from '2026-07-29 07:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371642 -2.802786)'), GeomFromEWKT('SRID=4674;POINT (-40.371629 -2.802777)'))) / (select extract(epoch from '2026-07-29 07:23:57'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.371598 -2.802793)', '2026-07-29 07:24:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371629 -2.802777)'), GeomFromEWKT('SRID=4674;POINT (-40.371598 -2.802793)'))) / (select extract(epoch from '2026-07-29 07:24:09'::timestamp) - extract(epoch from '2026-07-29 07:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371629 -2.802777)'), GeomFromEWKT('SRID=4674;POINT (-40.371598 -2.802793)'))) / (select extract(epoch from '2026-07-29 07:24:09'::timestamp) - extract(epoch from '2026-07-29 07:23: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'), 47641, 'SRID=4674;POINT (-40.371565 -2.802798)', '2026-07-29 07:24:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371598 -2.802793)'), GeomFromEWKT('SRID=4674;POINT (-40.371565 -2.802798)'))) / (select extract(epoch from '2026-07-29 07:24:26'::timestamp) - extract(epoch from '2026-07-29 07:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371598 -2.802793)'), GeomFromEWKT('SRID=4674;POINT (-40.371565 -2.802798)'))) / (select extract(epoch from '2026-07-29 07:24:26'::timestamp) - extract(epoch from '2026-07-29 07:24: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'), 47641, 'SRID=4674;POINT (-40.371518 -2.802808)', '2026-07-29 07:24:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371565 -2.802798)'), GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.802808)'))) / (select extract(epoch from '2026-07-29 07:24:42'::timestamp) - extract(epoch from '2026-07-29 07:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371565 -2.802798)'), GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.802808)'))) / (select extract(epoch from '2026-07-29 07:24:42'::timestamp) - extract(epoch from '2026-07-29 07:24: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'), 47641, 'SRID=4674;POINT (-40.371518 -2.802802)', '2026-07-29 07:24:55', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.802808)'), GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.802802)'))) / (select extract(epoch from '2026-07-29 07:24:55'::timestamp) - extract(epoch from '2026-07-29 07:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.802808)'), GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.802802)'))) / (select extract(epoch from '2026-07-29 07:24:55'::timestamp) - extract(epoch from '2026-07-29 07:24: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'), 47641, 'SRID=4674;POINT (-40.371508 -2.802785)', '2026-07-29 07:25:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.802802)'), GeomFromEWKT('SRID=4674;POINT (-40.371508 -2.802785)'))) / (select extract(epoch from '2026-07-29 07:25:07'::timestamp) - extract(epoch from '2026-07-29 07:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371518 -2.802802)'), GeomFromEWKT('SRID=4674;POINT (-40.371508 -2.802785)'))) / (select extract(epoch from '2026-07-29 07:25:07'::timestamp) - extract(epoch from '2026-07-29 07:24: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'), 47641, 'SRID=4674;POINT (-40.371469 -2.802793)', '2026-07-29 07:25:23', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371508 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.371469 -2.802793)'))) / (select extract(epoch from '2026-07-29 07:25:23'::timestamp) - extract(epoch from '2026-07-29 07:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371508 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.371469 -2.802793)'))) / (select extract(epoch from '2026-07-29 07:25:23'::timestamp) - extract(epoch from '2026-07-29 07:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371444 -2.802806)', '2026-07-29 07:25:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371469 -2.802793)'), GeomFromEWKT('SRID=4674;POINT (-40.371444 -2.802806)'))) / (select extract(epoch from '2026-07-29 07:25:42'::timestamp) - extract(epoch from '2026-07-29 07:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371469 -2.802793)'), GeomFromEWKT('SRID=4674;POINT (-40.371444 -2.802806)'))) / (select extract(epoch from '2026-07-29 07:25:42'::timestamp) - extract(epoch from '2026-07-29 07:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371399 -2.802804)', '2026-07-29 07:26:03', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371444 -2.802806)'), GeomFromEWKT('SRID=4674;POINT (-40.371399 -2.802804)'))) / (select extract(epoch from '2026-07-29 07:26:03'::timestamp) - extract(epoch from '2026-07-29 07:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371444 -2.802806)'), GeomFromEWKT('SRID=4674;POINT (-40.371399 -2.802804)'))) / (select extract(epoch from '2026-07-29 07:26:03'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.371365 -2.802811)', '2026-07-29 07:26:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371399 -2.802804)'), GeomFromEWKT('SRID=4674;POINT (-40.371365 -2.802811)'))) / (select extract(epoch from '2026-07-29 07:26:20'::timestamp) - extract(epoch from '2026-07-29 07:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371399 -2.802804)'), GeomFromEWKT('SRID=4674;POINT (-40.371365 -2.802811)'))) / (select extract(epoch from '2026-07-29 07:26:20'::timestamp) - extract(epoch from '2026-07-29 07:26:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371335 -2.802823)', '2026-07-29 07:26:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371365 -2.802811)'), GeomFromEWKT('SRID=4674;POINT (-40.371335 -2.802823)'))) / (select extract(epoch from '2026-07-29 07:26:34'::timestamp) - extract(epoch from '2026-07-29 07:26:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371365 -2.802811)'), GeomFromEWKT('SRID=4674;POINT (-40.371335 -2.802823)'))) / (select extract(epoch from '2026-07-29 07:26:34'::timestamp) - extract(epoch from '2026-07-29 07:26:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371284 -2.802867)', '2026-07-29 07:26:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371335 -2.802823)'), GeomFromEWKT('SRID=4674;POINT (-40.371284 -2.802867)'))) / (select extract(epoch from '2026-07-29 07:26:49'::timestamp) - extract(epoch from '2026-07-29 07:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371335 -2.802823)'), GeomFromEWKT('SRID=4674;POINT (-40.371284 -2.802867)'))) / (select extract(epoch from '2026-07-29 07:26:49'::timestamp) - extract(epoch from '2026-07-29 07:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371237 -2.802883)', '2026-07-29 07:27:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371284 -2.802867)'), GeomFromEWKT('SRID=4674;POINT (-40.371237 -2.802883)'))) / (select extract(epoch from '2026-07-29 07:27:03'::timestamp) - extract(epoch from '2026-07-29 07:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371284 -2.802867)'), GeomFromEWKT('SRID=4674;POINT (-40.371237 -2.802883)'))) / (select extract(epoch from '2026-07-29 07:27:03'::timestamp) - extract(epoch from '2026-07-29 07:26: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'), 47641, 'SRID=4674;POINT (-40.371204 -2.802883)', '2026-07-29 07:27:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371237 -2.802883)'), GeomFromEWKT('SRID=4674;POINT (-40.371204 -2.802883)'))) / (select extract(epoch from '2026-07-29 07:27:21'::timestamp) - extract(epoch from '2026-07-29 07:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371237 -2.802883)'), GeomFromEWKT('SRID=4674;POINT (-40.371204 -2.802883)'))) / (select extract(epoch from '2026-07-29 07:27:21'::timestamp) - extract(epoch from '2026-07-29 07:27: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'), 47641, 'SRID=4674;POINT (-40.37117 -2.802892)', '2026-07-29 07:27:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371204 -2.802883)'), GeomFromEWKT('SRID=4674;POINT (-40.37117 -2.802892)'))) / (select extract(epoch from '2026-07-29 07:27:35'::timestamp) - extract(epoch from '2026-07-29 07:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371204 -2.802883)'), GeomFromEWKT('SRID=4674;POINT (-40.37117 -2.802892)'))) / (select extract(epoch from '2026-07-29 07:27:35'::timestamp) - extract(epoch from '2026-07-29 07:27: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'), 47641, 'SRID=4674;POINT (-40.371128 -2.80292)', '2026-07-29 07:27:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37117 -2.802892)'), GeomFromEWKT('SRID=4674;POINT (-40.371128 -2.80292)'))) / (select extract(epoch from '2026-07-29 07:27:52'::timestamp) - extract(epoch from '2026-07-29 07:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37117 -2.802892)'), GeomFromEWKT('SRID=4674;POINT (-40.371128 -2.80292)'))) / (select extract(epoch from '2026-07-29 07:27:52'::timestamp) - extract(epoch from '2026-07-29 07:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371089 -2.802941)', '2026-07-29 07:28:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371128 -2.80292)'), GeomFromEWKT('SRID=4674;POINT (-40.371089 -2.802941)'))) / (select extract(epoch from '2026-07-29 07:28:06'::timestamp) - extract(epoch from '2026-07-29 07:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371128 -2.80292)'), GeomFromEWKT('SRID=4674;POINT (-40.371089 -2.802941)'))) / (select extract(epoch from '2026-07-29 07:28:06'::timestamp) - extract(epoch from '2026-07-29 07:27:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371062 -2.802967)', '2026-07-29 07:28:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371089 -2.802941)'), GeomFromEWKT('SRID=4674;POINT (-40.371062 -2.802967)'))) / (select extract(epoch from '2026-07-29 07:28:20'::timestamp) - extract(epoch from '2026-07-29 07:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371089 -2.802941)'), GeomFromEWKT('SRID=4674;POINT (-40.371062 -2.802967)'))) / (select extract(epoch from '2026-07-29 07:28:20'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.371045 -2.802962)', '2026-07-29 07:28:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371062 -2.802967)'), GeomFromEWKT('SRID=4674;POINT (-40.371045 -2.802962)'))) / (select extract(epoch from '2026-07-29 07:28:33'::timestamp) - extract(epoch from '2026-07-29 07:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371062 -2.802967)'), GeomFromEWKT('SRID=4674;POINT (-40.371045 -2.802962)'))) / (select extract(epoch from '2026-07-29 07:28:33'::timestamp) - extract(epoch from '2026-07-29 07:28: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'), 47641, 'SRID=4674;POINT (-40.371041 -2.802953)', '2026-07-29 07:28:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371045 -2.802962)'), GeomFromEWKT('SRID=4674;POINT (-40.371041 -2.802953)'))) / (select extract(epoch from '2026-07-29 07:28:42'::timestamp) - extract(epoch from '2026-07-29 07:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371045 -2.802962)'), GeomFromEWKT('SRID=4674;POINT (-40.371041 -2.802953)'))) / (select extract(epoch from '2026-07-29 07:28:42'::timestamp) - extract(epoch from '2026-07-29 07:28: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'), 47641, 'SRID=4674;POINT (-40.371025 -2.802949)', '2026-07-29 07:28:53', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371041 -2.802953)'), GeomFromEWKT('SRID=4674;POINT (-40.371025 -2.802949)'))) / (select extract(epoch from '2026-07-29 07:28:53'::timestamp) - extract(epoch from '2026-07-29 07:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371041 -2.802953)'), GeomFromEWKT('SRID=4674;POINT (-40.371025 -2.802949)'))) / (select extract(epoch from '2026-07-29 07:28:53'::timestamp) - extract(epoch from '2026-07-29 07:28:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.371015 -2.802966)', '2026-07-29 07:29:09', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371025 -2.802949)'), GeomFromEWKT('SRID=4674;POINT (-40.371015 -2.802966)'))) / (select extract(epoch from '2026-07-29 07:29:09'::timestamp) - extract(epoch from '2026-07-29 07:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371025 -2.802949)'), GeomFromEWKT('SRID=4674;POINT (-40.371015 -2.802966)'))) / (select extract(epoch from '2026-07-29 07:29:09'::timestamp) - extract(epoch from '2026-07-29 07:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370991 -2.802981)', '2026-07-29 07:29:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371015 -2.802966)'), GeomFromEWKT('SRID=4674;POINT (-40.370991 -2.802981)'))) / (select extract(epoch from '2026-07-29 07:29:23'::timestamp) - extract(epoch from '2026-07-29 07:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371015 -2.802966)'), GeomFromEWKT('SRID=4674;POINT (-40.370991 -2.802981)'))) / (select extract(epoch from '2026-07-29 07:29:23'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.370922 -2.803005)', '2026-07-29 07:29:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370991 -2.802981)'), GeomFromEWKT('SRID=4674;POINT (-40.370922 -2.803005)'))) / (select extract(epoch from '2026-07-29 07:29:42'::timestamp) - extract(epoch from '2026-07-29 07:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370991 -2.802981)'), GeomFromEWKT('SRID=4674;POINT (-40.370922 -2.803005)'))) / (select extract(epoch from '2026-07-29 07:29:42'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.370885 -2.803011)', '2026-07-29 07:30:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370922 -2.803005)'), GeomFromEWKT('SRID=4674;POINT (-40.370885 -2.803011)'))) / (select extract(epoch from '2026-07-29 07:30:01'::timestamp) - extract(epoch from '2026-07-29 07:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370922 -2.803005)'), GeomFromEWKT('SRID=4674;POINT (-40.370885 -2.803011)'))) / (select extract(epoch from '2026-07-29 07:30:01'::timestamp) - extract(epoch from '2026-07-29 07:29: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'), 47641, 'SRID=4674;POINT (-40.370846 -2.803018)', '2026-07-29 07:30:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370885 -2.803011)'), GeomFromEWKT('SRID=4674;POINT (-40.370846 -2.803018)'))) / (select extract(epoch from '2026-07-29 07:30:19'::timestamp) - extract(epoch from '2026-07-29 07:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370885 -2.803011)'), GeomFromEWKT('SRID=4674;POINT (-40.370846 -2.803018)'))) / (select extract(epoch from '2026-07-29 07:30:19'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.370816 -2.803023)', '2026-07-29 07:30:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370846 -2.803018)'), GeomFromEWKT('SRID=4674;POINT (-40.370816 -2.803023)'))) / (select extract(epoch from '2026-07-29 07:30:31'::timestamp) - extract(epoch from '2026-07-29 07:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370846 -2.803018)'), GeomFromEWKT('SRID=4674;POINT (-40.370816 -2.803023)'))) / (select extract(epoch from '2026-07-29 07:30:31'::timestamp) - extract(epoch from '2026-07-29 07:30: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'), 47641, 'SRID=4674;POINT (-40.370802 -2.803022)', '2026-07-29 07:30:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370816 -2.803023)'), GeomFromEWKT('SRID=4674;POINT (-40.370802 -2.803022)'))) / (select extract(epoch from '2026-07-29 07:30:47'::timestamp) - extract(epoch from '2026-07-29 07:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370816 -2.803023)'), GeomFromEWKT('SRID=4674;POINT (-40.370802 -2.803022)'))) / (select extract(epoch from '2026-07-29 07:30:47'::timestamp) - extract(epoch from '2026-07-29 07:30: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'), 47641, 'SRID=4674;POINT (-40.370786 -2.80302)', '2026-07-29 07:30:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370802 -2.803022)'), GeomFromEWKT('SRID=4674;POINT (-40.370786 -2.80302)'))) / (select extract(epoch from '2026-07-29 07:30:59'::timestamp) - extract(epoch from '2026-07-29 07:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370802 -2.803022)'), GeomFromEWKT('SRID=4674;POINT (-40.370786 -2.80302)'))) / (select extract(epoch from '2026-07-29 07:30:59'::timestamp) - extract(epoch from '2026-07-29 07:30: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'), 47641, 'SRID=4674;POINT (-40.370761 -2.803012)', '2026-07-29 07:31:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370786 -2.80302)'), GeomFromEWKT('SRID=4674;POINT (-40.370761 -2.803012)'))) / (select extract(epoch from '2026-07-29 07:31:19'::timestamp) - extract(epoch from '2026-07-29 07:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370786 -2.80302)'), GeomFromEWKT('SRID=4674;POINT (-40.370761 -2.803012)'))) / (select extract(epoch from '2026-07-29 07:31:19'::timestamp) - extract(epoch from '2026-07-29 07:30:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370746 -2.802998)', '2026-07-29 07:31:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370761 -2.803012)'), GeomFromEWKT('SRID=4674;POINT (-40.370746 -2.802998)'))) / (select extract(epoch from '2026-07-29 07:31:34'::timestamp) - extract(epoch from '2026-07-29 07:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370761 -2.803012)'), GeomFromEWKT('SRID=4674;POINT (-40.370746 -2.802998)'))) / (select extract(epoch from '2026-07-29 07:31:34'::timestamp) - extract(epoch from '2026-07-29 07:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370719 -2.803013)', '2026-07-29 07:31:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370746 -2.802998)'), GeomFromEWKT('SRID=4674;POINT (-40.370719 -2.803013)'))) / (select extract(epoch from '2026-07-29 07:31:53'::timestamp) - extract(epoch from '2026-07-29 07:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370746 -2.802998)'), GeomFromEWKT('SRID=4674;POINT (-40.370719 -2.803013)'))) / (select extract(epoch from '2026-07-29 07:31:53'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.370714 -2.803013)', '2026-07-29 07:32:11', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370719 -2.803013)'), GeomFromEWKT('SRID=4674;POINT (-40.370714 -2.803013)'))) / (select extract(epoch from '2026-07-29 07:32:11'::timestamp) - extract(epoch from '2026-07-29 07:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370719 -2.803013)'), GeomFromEWKT('SRID=4674;POINT (-40.370714 -2.803013)'))) / (select extract(epoch from '2026-07-29 07:32:11'::timestamp) - extract(epoch from '2026-07-29 07:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370691 -2.803019)', '2026-07-29 07:32:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370714 -2.803013)'), GeomFromEWKT('SRID=4674;POINT (-40.370691 -2.803019)'))) / (select extract(epoch from '2026-07-29 07:32:25'::timestamp) - extract(epoch from '2026-07-29 07:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370714 -2.803013)'), GeomFromEWKT('SRID=4674;POINT (-40.370691 -2.803019)'))) / (select extract(epoch from '2026-07-29 07:32:25'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.370687 -2.803004)', '2026-07-29 07:32:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370691 -2.803019)'), GeomFromEWKT('SRID=4674;POINT (-40.370687 -2.803004)'))) / (select extract(epoch from '2026-07-29 07:32:38'::timestamp) - extract(epoch from '2026-07-29 07:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370691 -2.803019)'), GeomFromEWKT('SRID=4674;POINT (-40.370687 -2.803004)'))) / (select extract(epoch from '2026-07-29 07:32:38'::timestamp) - extract(epoch from '2026-07-29 07:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370669 -2.803001)', '2026-07-29 07:32:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370687 -2.803004)'), GeomFromEWKT('SRID=4674;POINT (-40.370669 -2.803001)'))) / (select extract(epoch from '2026-07-29 07:32:55'::timestamp) - extract(epoch from '2026-07-29 07:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370687 -2.803004)'), GeomFromEWKT('SRID=4674;POINT (-40.370669 -2.803001)'))) / (select extract(epoch from '2026-07-29 07:32:55'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.370662 -2.802999)', '2026-07-29 07:33:13', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370669 -2.803001)'), GeomFromEWKT('SRID=4674;POINT (-40.370662 -2.802999)'))) / (select extract(epoch from '2026-07-29 07:33:13'::timestamp) - extract(epoch from '2026-07-29 07:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370669 -2.803001)'), GeomFromEWKT('SRID=4674;POINT (-40.370662 -2.802999)'))) / (select extract(epoch from '2026-07-29 07:33:13'::timestamp) - extract(epoch from '2026-07-29 07:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37063 -2.80302)', '2026-07-29 07:33:27', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370662 -2.802999)'), GeomFromEWKT('SRID=4674;POINT (-40.37063 -2.80302)'))) / (select extract(epoch from '2026-07-29 07:33:27'::timestamp) - extract(epoch from '2026-07-29 07:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370662 -2.802999)'), GeomFromEWKT('SRID=4674;POINT (-40.37063 -2.80302)'))) / (select extract(epoch from '2026-07-29 07:33:27'::timestamp) - extract(epoch from '2026-07-29 07:33: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'), 47641, 'SRID=4674;POINT (-40.370604 -2.803037)', '2026-07-29 07:33:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37063 -2.80302)'), GeomFromEWKT('SRID=4674;POINT (-40.370604 -2.803037)'))) / (select extract(epoch from '2026-07-29 07:33:40'::timestamp) - extract(epoch from '2026-07-29 07:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37063 -2.80302)'), GeomFromEWKT('SRID=4674;POINT (-40.370604 -2.803037)'))) / (select extract(epoch from '2026-07-29 07:33:40'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.370601 -2.803018)', '2026-07-29 07:33:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370604 -2.803037)'), GeomFromEWKT('SRID=4674;POINT (-40.370601 -2.803018)'))) / (select extract(epoch from '2026-07-29 07:33:50'::timestamp) - extract(epoch from '2026-07-29 07:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370604 -2.803037)'), GeomFromEWKT('SRID=4674;POINT (-40.370601 -2.803018)'))) / (select extract(epoch from '2026-07-29 07:33:50'::timestamp) - extract(epoch from '2026-07-29 07:33: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'), 47641, 'SRID=4674;POINT (-40.370554 -2.80302)', '2026-07-29 07:34:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370601 -2.803018)'), GeomFromEWKT('SRID=4674;POINT (-40.370554 -2.80302)'))) / (select extract(epoch from '2026-07-29 07:34:05'::timestamp) - extract(epoch from '2026-07-29 07:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370601 -2.803018)'), GeomFromEWKT('SRID=4674;POINT (-40.370554 -2.80302)'))) / (select extract(epoch from '2026-07-29 07:34:05'::timestamp) - extract(epoch from '2026-07-29 07:33: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'), 47641, 'SRID=4674;POINT (-40.370495 -2.803067)', '2026-07-29 07:34:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370554 -2.80302)'), GeomFromEWKT('SRID=4674;POINT (-40.370495 -2.803067)'))) / (select extract(epoch from '2026-07-29 07:34:20'::timestamp) - extract(epoch from '2026-07-29 07:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370554 -2.80302)'), GeomFromEWKT('SRID=4674;POINT (-40.370495 -2.803067)'))) / (select extract(epoch from '2026-07-29 07:34:20'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.370484 -2.803069)', '2026-07-29 07:34:29', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370495 -2.803067)'), GeomFromEWKT('SRID=4674;POINT (-40.370484 -2.803069)'))) / (select extract(epoch from '2026-07-29 07:34:29'::timestamp) - extract(epoch from '2026-07-29 07:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370495 -2.803067)'), GeomFromEWKT('SRID=4674;POINT (-40.370484 -2.803069)'))) / (select extract(epoch from '2026-07-29 07:34:29'::timestamp) - extract(epoch from '2026-07-29 07:34:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370482 -2.803051)', '2026-07-29 07:34:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370484 -2.803069)'), GeomFromEWKT('SRID=4674;POINT (-40.370482 -2.803051)'))) / (select extract(epoch from '2026-07-29 07:34:43'::timestamp) - extract(epoch from '2026-07-29 07:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370484 -2.803069)'), GeomFromEWKT('SRID=4674;POINT (-40.370482 -2.803051)'))) / (select extract(epoch from '2026-07-29 07:34:43'::timestamp) - extract(epoch from '2026-07-29 07:34: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'), 47641, 'SRID=4674;POINT (-40.370465 -2.803047)', '2026-07-29 07:34:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370482 -2.803051)'), GeomFromEWKT('SRID=4674;POINT (-40.370465 -2.803047)'))) / (select extract(epoch from '2026-07-29 07:34:54'::timestamp) - extract(epoch from '2026-07-29 07:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370482 -2.803051)'), GeomFromEWKT('SRID=4674;POINT (-40.370465 -2.803047)'))) / (select extract(epoch from '2026-07-29 07:34:54'::timestamp) - extract(epoch from '2026-07-29 07:34: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'), 47641, 'SRID=4674;POINT (-40.370425 -2.803062)', '2026-07-29 07:35:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370465 -2.803047)'), GeomFromEWKT('SRID=4674;POINT (-40.370425 -2.803062)'))) / (select extract(epoch from '2026-07-29 07:35:07'::timestamp) - extract(epoch from '2026-07-29 07:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370465 -2.803047)'), GeomFromEWKT('SRID=4674;POINT (-40.370425 -2.803062)'))) / (select extract(epoch from '2026-07-29 07:35:07'::timestamp) - extract(epoch from '2026-07-29 07:34: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'), 47641, 'SRID=4674;POINT (-40.370398 -2.803062)', '2026-07-29 07:35:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370425 -2.803062)'), GeomFromEWKT('SRID=4674;POINT (-40.370398 -2.803062)'))) / (select extract(epoch from '2026-07-29 07:35:22'::timestamp) - extract(epoch from '2026-07-29 07:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370425 -2.803062)'), GeomFromEWKT('SRID=4674;POINT (-40.370398 -2.803062)'))) / (select extract(epoch from '2026-07-29 07:35:22'::timestamp) - extract(epoch from '2026-07-29 07:35: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'), 47641, 'SRID=4674;POINT (-40.370387 -2.80304)', '2026-07-29 07:35:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370398 -2.803062)'), GeomFromEWKT('SRID=4674;POINT (-40.370387 -2.80304)'))) / (select extract(epoch from '2026-07-29 07:35:33'::timestamp) - extract(epoch from '2026-07-29 07:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370398 -2.803062)'), GeomFromEWKT('SRID=4674;POINT (-40.370387 -2.80304)'))) / (select extract(epoch from '2026-07-29 07:35:33'::timestamp) - extract(epoch from '2026-07-29 07:35: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'), 47641, 'SRID=4674;POINT (-40.37036 -2.803059)', '2026-07-29 07:35:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370387 -2.80304)'), GeomFromEWKT('SRID=4674;POINT (-40.37036 -2.803059)'))) / (select extract(epoch from '2026-07-29 07:35:48'::timestamp) - extract(epoch from '2026-07-29 07:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370387 -2.80304)'), GeomFromEWKT('SRID=4674;POINT (-40.37036 -2.803059)'))) / (select extract(epoch from '2026-07-29 07:35:48'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.370348 -2.803072)', '2026-07-29 07:35:57', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37036 -2.803059)'), GeomFromEWKT('SRID=4674;POINT (-40.370348 -2.803072)'))) / (select extract(epoch from '2026-07-29 07:35:57'::timestamp) - extract(epoch from '2026-07-29 07:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37036 -2.803059)'), GeomFromEWKT('SRID=4674;POINT (-40.370348 -2.803072)'))) / (select extract(epoch from '2026-07-29 07:35:57'::timestamp) - extract(epoch from '2026-07-29 07:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370304 -2.803084)', '2026-07-29 07:36:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370348 -2.803072)'), GeomFromEWKT('SRID=4674;POINT (-40.370304 -2.803084)'))) / (select extract(epoch from '2026-07-29 07:36:11'::timestamp) - extract(epoch from '2026-07-29 07:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370348 -2.803072)'), GeomFromEWKT('SRID=4674;POINT (-40.370304 -2.803084)'))) / (select extract(epoch from '2026-07-29 07:36:11'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.370256 -2.803101)', '2026-07-29 07:36:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370304 -2.803084)'), GeomFromEWKT('SRID=4674;POINT (-40.370256 -2.803101)'))) / (select extract(epoch from '2026-07-29 07:36:28'::timestamp) - extract(epoch from '2026-07-29 07:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370304 -2.803084)'), GeomFromEWKT('SRID=4674;POINT (-40.370256 -2.803101)'))) / (select extract(epoch from '2026-07-29 07:36:28'::timestamp) - extract(epoch from '2026-07-29 07:36: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'), 47641, 'SRID=4674;POINT (-40.370237 -2.803117)', '2026-07-29 07:36:39', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370256 -2.803101)'), GeomFromEWKT('SRID=4674;POINT (-40.370237 -2.803117)'))) / (select extract(epoch from '2026-07-29 07:36:39'::timestamp) - extract(epoch from '2026-07-29 07:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370256 -2.803101)'), GeomFromEWKT('SRID=4674;POINT (-40.370237 -2.803117)'))) / (select extract(epoch from '2026-07-29 07:36:39'::timestamp) - extract(epoch from '2026-07-29 07:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.37019 -2.803142)', '2026-07-29 07:36:53', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370237 -2.803117)'), GeomFromEWKT('SRID=4674;POINT (-40.37019 -2.803142)'))) / (select extract(epoch from '2026-07-29 07:36:53'::timestamp) - extract(epoch from '2026-07-29 07:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370237 -2.803117)'), GeomFromEWKT('SRID=4674;POINT (-40.37019 -2.803142)'))) / (select extract(epoch from '2026-07-29 07:36:53'::timestamp) - extract(epoch from '2026-07-29 07:36: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'), 47641, 'SRID=4674;POINT (-40.370126 -2.803161)', '2026-07-29 07:37:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37019 -2.803142)'), GeomFromEWKT('SRID=4674;POINT (-40.370126 -2.803161)'))) / (select extract(epoch from '2026-07-29 07:37:12'::timestamp) - extract(epoch from '2026-07-29 07:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37019 -2.803142)'), GeomFromEWKT('SRID=4674;POINT (-40.370126 -2.803161)'))) / (select extract(epoch from '2026-07-29 07:37:12'::timestamp) - extract(epoch from '2026-07-29 07:36: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'), 47641, 'SRID=4674;POINT (-40.370113 -2.803148)', '2026-07-29 07:37:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370126 -2.803161)'), GeomFromEWKT('SRID=4674;POINT (-40.370113 -2.803148)'))) / (select extract(epoch from '2026-07-29 07:37:30'::timestamp) - extract(epoch from '2026-07-29 07:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370126 -2.803161)'), GeomFromEWKT('SRID=4674;POINT (-40.370113 -2.803148)'))) / (select extract(epoch from '2026-07-29 07:37:30'::timestamp) - extract(epoch from '2026-07-29 07:37: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'), 47641, 'SRID=4674;POINT (-40.370101 -2.80313)', '2026-07-29 07:37:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370113 -2.803148)'), GeomFromEWKT('SRID=4674;POINT (-40.370101 -2.80313)'))) / (select extract(epoch from '2026-07-29 07:37:43'::timestamp) - extract(epoch from '2026-07-29 07:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370113 -2.803148)'), GeomFromEWKT('SRID=4674;POINT (-40.370101 -2.80313)'))) / (select extract(epoch from '2026-07-29 07:37:43'::timestamp) - extract(epoch from '2026-07-29 07:37: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'), 47641, 'SRID=4674;POINT (-40.37006 -2.803159)', '2026-07-29 07:37:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370101 -2.80313)'), GeomFromEWKT('SRID=4674;POINT (-40.37006 -2.803159)'))) / (select extract(epoch from '2026-07-29 07:37:59'::timestamp) - extract(epoch from '2026-07-29 07:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370101 -2.80313)'), GeomFromEWKT('SRID=4674;POINT (-40.37006 -2.803159)'))) / (select extract(epoch from '2026-07-29 07:37:59'::timestamp) - extract(epoch from '2026-07-29 07:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370036 -2.803179)', '2026-07-29 07:38:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37006 -2.803159)'), GeomFromEWKT('SRID=4674;POINT (-40.370036 -2.803179)'))) / (select extract(epoch from '2026-07-29 07:38:14'::timestamp) - extract(epoch from '2026-07-29 07:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37006 -2.803159)'), GeomFromEWKT('SRID=4674;POINT (-40.370036 -2.803179)'))) / (select extract(epoch from '2026-07-29 07:38:14'::timestamp) - extract(epoch from '2026-07-29 07:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.370023 -2.803188)', '2026-07-29 07:38:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370036 -2.803179)'), GeomFromEWKT('SRID=4674;POINT (-40.370023 -2.803188)'))) / (select extract(epoch from '2026-07-29 07:38:31'::timestamp) - extract(epoch from '2026-07-29 07:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370036 -2.803179)'), GeomFromEWKT('SRID=4674;POINT (-40.370023 -2.803188)'))) / (select extract(epoch from '2026-07-29 07:38:31'::timestamp) - extract(epoch from '2026-07-29 07:38: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'), 47641, 'SRID=4674;POINT (-40.370014 -2.803183)', '2026-07-29 07:38:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370023 -2.803188)'), GeomFromEWKT('SRID=4674;POINT (-40.370014 -2.803183)'))) / (select extract(epoch from '2026-07-29 07:38:43'::timestamp) - extract(epoch from '2026-07-29 07:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370023 -2.803188)'), GeomFromEWKT('SRID=4674;POINT (-40.370014 -2.803183)'))) / (select extract(epoch from '2026-07-29 07:38:43'::timestamp) - extract(epoch from '2026-07-29 07:38:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369996 -2.803182)', '2026-07-29 07:38:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370014 -2.803183)'), GeomFromEWKT('SRID=4674;POINT (-40.369996 -2.803182)'))) / (select extract(epoch from '2026-07-29 07:38:59'::timestamp) - extract(epoch from '2026-07-29 07:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370014 -2.803183)'), GeomFromEWKT('SRID=4674;POINT (-40.369996 -2.803182)'))) / (select extract(epoch from '2026-07-29 07:38:59'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.36995 -2.803186)', '2026-07-29 07:39:17', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369996 -2.803182)'), GeomFromEWKT('SRID=4674;POINT (-40.36995 -2.803186)'))) / (select extract(epoch from '2026-07-29 07:39:17'::timestamp) - extract(epoch from '2026-07-29 07:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369996 -2.803182)'), GeomFromEWKT('SRID=4674;POINT (-40.36995 -2.803186)'))) / (select extract(epoch from '2026-07-29 07:39:17'::timestamp) - extract(epoch from '2026-07-29 07:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369933 -2.803199)', '2026-07-29 07:39:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36995 -2.803186)'), GeomFromEWKT('SRID=4674;POINT (-40.369933 -2.803199)'))) / (select extract(epoch from '2026-07-29 07:39:28'::timestamp) - extract(epoch from '2026-07-29 07:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36995 -2.803186)'), GeomFromEWKT('SRID=4674;POINT (-40.369933 -2.803199)'))) / (select extract(epoch from '2026-07-29 07:39:28'::timestamp) - extract(epoch from '2026-07-29 07:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369887 -2.803224)', '2026-07-29 07:39:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369933 -2.803199)'), GeomFromEWKT('SRID=4674;POINT (-40.369887 -2.803224)'))) / (select extract(epoch from '2026-07-29 07:39:44'::timestamp) - extract(epoch from '2026-07-29 07:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369933 -2.803199)'), GeomFromEWKT('SRID=4674;POINT (-40.369887 -2.803224)'))) / (select extract(epoch from '2026-07-29 07:39:44'::timestamp) - extract(epoch from '2026-07-29 07:39:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.36982 -2.803242)', '2026-07-29 07:40:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369887 -2.803224)'), GeomFromEWKT('SRID=4674;POINT (-40.36982 -2.803242)'))) / (select extract(epoch from '2026-07-29 07:40:02'::timestamp) - extract(epoch from '2026-07-29 07:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369887 -2.803224)'), GeomFromEWKT('SRID=4674;POINT (-40.36982 -2.803242)'))) / (select extract(epoch from '2026-07-29 07:40:02'::timestamp) - extract(epoch from '2026-07-29 07:39: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'), 47641, 'SRID=4674;POINT (-40.369794 -2.803256)', '2026-07-29 07:40:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36982 -2.803242)'), GeomFromEWKT('SRID=4674;POINT (-40.369794 -2.803256)'))) / (select extract(epoch from '2026-07-29 07:40:17'::timestamp) - extract(epoch from '2026-07-29 07:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36982 -2.803242)'), GeomFromEWKT('SRID=4674;POINT (-40.369794 -2.803256)'))) / (select extract(epoch from '2026-07-29 07:40:17'::timestamp) - extract(epoch from '2026-07-29 07:40: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'), 47641, 'SRID=4674;POINT (-40.369755 -2.803274)', '2026-07-29 07:40:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369794 -2.803256)'), GeomFromEWKT('SRID=4674;POINT (-40.369755 -2.803274)'))) / (select extract(epoch from '2026-07-29 07:40:34'::timestamp) - extract(epoch from '2026-07-29 07:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369794 -2.803256)'), GeomFromEWKT('SRID=4674;POINT (-40.369755 -2.803274)'))) / (select extract(epoch from '2026-07-29 07:40:34'::timestamp) - extract(epoch from '2026-07-29 07:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369725 -2.803268)', '2026-07-29 07:40:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369755 -2.803274)'), GeomFromEWKT('SRID=4674;POINT (-40.369725 -2.803268)'))) / (select extract(epoch from '2026-07-29 07:40:49'::timestamp) - extract(epoch from '2026-07-29 07:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369755 -2.803274)'), GeomFromEWKT('SRID=4674;POINT (-40.369725 -2.803268)'))) / (select extract(epoch from '2026-07-29 07:40:49'::timestamp) - extract(epoch from '2026-07-29 07:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369689 -2.803255)', '2026-07-29 07:41:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369725 -2.803268)'), GeomFromEWKT('SRID=4674;POINT (-40.369689 -2.803255)'))) / (select extract(epoch from '2026-07-29 07:41:07'::timestamp) - extract(epoch from '2026-07-29 07:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369725 -2.803268)'), GeomFromEWKT('SRID=4674;POINT (-40.369689 -2.803255)'))) / (select extract(epoch from '2026-07-29 07:41:07'::timestamp) - extract(epoch from '2026-07-29 07:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369655 -2.803254)', '2026-07-29 07:41:27', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369689 -2.803255)'), GeomFromEWKT('SRID=4674;POINT (-40.369655 -2.803254)'))) / (select extract(epoch from '2026-07-29 07:41:27'::timestamp) - extract(epoch from '2026-07-29 07:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369689 -2.803255)'), GeomFromEWKT('SRID=4674;POINT (-40.369655 -2.803254)'))) / (select extract(epoch from '2026-07-29 07:41:27'::timestamp) - extract(epoch from '2026-07-29 07:41: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'), 47641, 'SRID=4674;POINT (-40.369598 -2.803296)', '2026-07-29 07:41:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369655 -2.803254)'), GeomFromEWKT('SRID=4674;POINT (-40.369598 -2.803296)'))) / (select extract(epoch from '2026-07-29 07:41:43'::timestamp) - extract(epoch from '2026-07-29 07:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369655 -2.803254)'), GeomFromEWKT('SRID=4674;POINT (-40.369598 -2.803296)'))) / (select extract(epoch from '2026-07-29 07:41:43'::timestamp) - extract(epoch from '2026-07-29 07:41: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'), 47641, 'SRID=4674;POINT (-40.36954 -2.80333)', '2026-07-29 07:41:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369598 -2.803296)'), GeomFromEWKT('SRID=4674;POINT (-40.36954 -2.80333)'))) / (select extract(epoch from '2026-07-29 07:41:59'::timestamp) - extract(epoch from '2026-07-29 07:41:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369598 -2.803296)'), GeomFromEWKT('SRID=4674;POINT (-40.36954 -2.80333)'))) / (select extract(epoch from '2026-07-29 07:41:59'::timestamp) - extract(epoch from '2026-07-29 07:41: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'), 47641, 'SRID=4674;POINT (-40.369532 -2.803313)', '2026-07-29 07:42:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36954 -2.80333)'), GeomFromEWKT('SRID=4674;POINT (-40.369532 -2.803313)'))) / (select extract(epoch from '2026-07-29 07:42:17'::timestamp) - extract(epoch from '2026-07-29 07:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36954 -2.80333)'), GeomFromEWKT('SRID=4674;POINT (-40.369532 -2.803313)'))) / (select extract(epoch from '2026-07-29 07:42:17'::timestamp) - extract(epoch from '2026-07-29 07:41:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369494 -2.803336)', '2026-07-29 07:42:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369532 -2.803313)'), GeomFromEWKT('SRID=4674;POINT (-40.369494 -2.803336)'))) / (select extract(epoch from '2026-07-29 07:42:35'::timestamp) - extract(epoch from '2026-07-29 07:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369532 -2.803313)'), GeomFromEWKT('SRID=4674;POINT (-40.369494 -2.803336)'))) / (select extract(epoch from '2026-07-29 07:42:35'::timestamp) - extract(epoch from '2026-07-29 07:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369462 -2.803343)', '2026-07-29 07:42:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369494 -2.803336)'), GeomFromEWKT('SRID=4674;POINT (-40.369462 -2.803343)'))) / (select extract(epoch from '2026-07-29 07:42:51'::timestamp) - extract(epoch from '2026-07-29 07:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369494 -2.803336)'), GeomFromEWKT('SRID=4674;POINT (-40.369462 -2.803343)'))) / (select extract(epoch from '2026-07-29 07:42:51'::timestamp) - extract(epoch from '2026-07-29 07:42: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'), 47641, 'SRID=4674;POINT (-40.369446 -2.803329)', '2026-07-29 07:43:05', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369462 -2.803343)'), GeomFromEWKT('SRID=4674;POINT (-40.369446 -2.803329)'))) / (select extract(epoch from '2026-07-29 07:43:05'::timestamp) - extract(epoch from '2026-07-29 07:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369462 -2.803343)'), GeomFromEWKT('SRID=4674;POINT (-40.369446 -2.803329)'))) / (select extract(epoch from '2026-07-29 07:43:05'::timestamp) - extract(epoch from '2026-07-29 07:42:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369415 -2.803321)', '2026-07-29 07:43:22', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369446 -2.803329)'), GeomFromEWKT('SRID=4674;POINT (-40.369415 -2.803321)'))) / (select extract(epoch from '2026-07-29 07:43:22'::timestamp) - extract(epoch from '2026-07-29 07:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369446 -2.803329)'), GeomFromEWKT('SRID=4674;POINT (-40.369415 -2.803321)'))) / (select extract(epoch from '2026-07-29 07:43:22'::timestamp) - extract(epoch from '2026-07-29 07:43: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'), 47641, 'SRID=4674;POINT (-40.369373 -2.803322)', '2026-07-29 07:43:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369415 -2.803321)'), GeomFromEWKT('SRID=4674;POINT (-40.369373 -2.803322)'))) / (select extract(epoch from '2026-07-29 07:43:39'::timestamp) - extract(epoch from '2026-07-29 07:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369415 -2.803321)'), GeomFromEWKT('SRID=4674;POINT (-40.369373 -2.803322)'))) / (select extract(epoch from '2026-07-29 07:43:39'::timestamp) - extract(epoch from '2026-07-29 07:43: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'), 47641, 'SRID=4674;POINT (-40.369328 -2.803334)', '2026-07-29 07:43:57', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369373 -2.803322)'), GeomFromEWKT('SRID=4674;POINT (-40.369328 -2.803334)'))) / (select extract(epoch from '2026-07-29 07:43:57'::timestamp) - extract(epoch from '2026-07-29 07:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369373 -2.803322)'), GeomFromEWKT('SRID=4674;POINT (-40.369328 -2.803334)'))) / (select extract(epoch from '2026-07-29 07:43:57'::timestamp) - extract(epoch from '2026-07-29 07:43: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'), 47641, 'SRID=4674;POINT (-40.369304 -2.803341)', '2026-07-29 07:44:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369328 -2.803334)'), GeomFromEWKT('SRID=4674;POINT (-40.369304 -2.803341)'))) / (select extract(epoch from '2026-07-29 07:44:16'::timestamp) - extract(epoch from '2026-07-29 07:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369328 -2.803334)'), GeomFromEWKT('SRID=4674;POINT (-40.369304 -2.803341)'))) / (select extract(epoch from '2026-07-29 07:44:16'::timestamp) - extract(epoch from '2026-07-29 07:43:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369292 -2.80332)', '2026-07-29 07:44:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369304 -2.803341)'), GeomFromEWKT('SRID=4674;POINT (-40.369292 -2.80332)'))) / (select extract(epoch from '2026-07-29 07:44:38'::timestamp) - extract(epoch from '2026-07-29 07:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369304 -2.803341)'), GeomFromEWKT('SRID=4674;POINT (-40.369292 -2.80332)'))) / (select extract(epoch from '2026-07-29 07:44:38'::timestamp) - extract(epoch from '2026-07-29 07:44: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'), 47641, 'SRID=4674;POINT (-40.369271 -2.803329)', '2026-07-29 07:44:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369292 -2.80332)'), GeomFromEWKT('SRID=4674;POINT (-40.369271 -2.803329)'))) / (select extract(epoch from '2026-07-29 07:44:47'::timestamp) - extract(epoch from '2026-07-29 07:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369292 -2.80332)'), GeomFromEWKT('SRID=4674;POINT (-40.369271 -2.803329)'))) / (select extract(epoch from '2026-07-29 07:44:47'::timestamp) - extract(epoch from '2026-07-29 07:44: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'), 47641, 'SRID=4674;POINT (-40.369265 -2.803342)', '2026-07-29 07:45:05', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369271 -2.803329)'), GeomFromEWKT('SRID=4674;POINT (-40.369265 -2.803342)'))) / (select extract(epoch from '2026-07-29 07:45:05'::timestamp) - extract(epoch from '2026-07-29 07:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369271 -2.803329)'), GeomFromEWKT('SRID=4674;POINT (-40.369265 -2.803342)'))) / (select extract(epoch from '2026-07-29 07:45:05'::timestamp) - extract(epoch from '2026-07-29 07:44: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'), 47641, 'SRID=4674;POINT (-40.369273 -2.80333)', '2026-07-29 07:45:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369265 -2.803342)'), GeomFromEWKT('SRID=4674;POINT (-40.369273 -2.80333)'))) / (select extract(epoch from '2026-07-29 07:45:20'::timestamp) - extract(epoch from '2026-07-29 07:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369265 -2.803342)'), GeomFromEWKT('SRID=4674;POINT (-40.369273 -2.80333)'))) / (select extract(epoch from '2026-07-29 07:45:20'::timestamp) - extract(epoch from '2026-07-29 07:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369249 -2.803328)', '2026-07-29 07:45:33', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369273 -2.80333)'), GeomFromEWKT('SRID=4674;POINT (-40.369249 -2.803328)'))) / (select extract(epoch from '2026-07-29 07:45:33'::timestamp) - extract(epoch from '2026-07-29 07:45:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369273 -2.80333)'), GeomFromEWKT('SRID=4674;POINT (-40.369249 -2.803328)'))) / (select extract(epoch from '2026-07-29 07:45:33'::timestamp) - extract(epoch from '2026-07-29 07:45:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369224 -2.80333)', '2026-07-29 07:45:47', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369249 -2.803328)'), GeomFromEWKT('SRID=4674;POINT (-40.369224 -2.80333)'))) / (select extract(epoch from '2026-07-29 07:45:47'::timestamp) - extract(epoch from '2026-07-29 07:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369249 -2.803328)'), GeomFromEWKT('SRID=4674;POINT (-40.369224 -2.80333)'))) / (select extract(epoch from '2026-07-29 07:45:47'::timestamp) - extract(epoch from '2026-07-29 07:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.369162 -2.803341)', '2026-07-29 07:46:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369224 -2.80333)'), GeomFromEWKT('SRID=4674;POINT (-40.369162 -2.803341)'))) / (select extract(epoch from '2026-07-29 07:46:07'::timestamp) - extract(epoch from '2026-07-29 07:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369224 -2.80333)'), GeomFromEWKT('SRID=4674;POINT (-40.369162 -2.803341)'))) / (select extract(epoch from '2026-07-29 07:46:07'::timestamp) - extract(epoch from '2026-07-29 07:45: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'), 47641, 'SRID=4674;POINT (-40.369126 -2.803328)', '2026-07-29 07:46:21', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369162 -2.803341)'), GeomFromEWKT('SRID=4674;POINT (-40.369126 -2.803328)'))) / (select extract(epoch from '2026-07-29 07:46:21'::timestamp) - extract(epoch from '2026-07-29 07:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369162 -2.803341)'), GeomFromEWKT('SRID=4674;POINT (-40.369126 -2.803328)'))) / (select extract(epoch from '2026-07-29 07:46:21'::timestamp) - extract(epoch from '2026-07-29 07:46: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'), 47641, 'SRID=4674;POINT (-40.369098 -2.803322)', '2026-07-29 07:46:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369126 -2.803328)'), GeomFromEWKT('SRID=4674;POINT (-40.369098 -2.803322)'))) / (select extract(epoch from '2026-07-29 07:46:39'::timestamp) - extract(epoch from '2026-07-29 07:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369126 -2.803328)'), GeomFromEWKT('SRID=4674;POINT (-40.369098 -2.803322)'))) / (select extract(epoch from '2026-07-29 07:46:39'::timestamp) - extract(epoch from '2026-07-29 07:46: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'), 47641, 'SRID=4674;POINT (-40.369059 -2.803327)', '2026-07-29 07:46:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369098 -2.803322)'), GeomFromEWKT('SRID=4674;POINT (-40.369059 -2.803327)'))) / (select extract(epoch from '2026-07-29 07:46:51'::timestamp) - extract(epoch from '2026-07-29 07:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369098 -2.803322)'), GeomFromEWKT('SRID=4674;POINT (-40.369059 -2.803327)'))) / (select extract(epoch from '2026-07-29 07:46:51'::timestamp) - extract(epoch from '2026-07-29 07:46: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'), 47641, 'SRID=4674;POINT (-40.369017 -2.803354)', '2026-07-29 07:47:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369059 -2.803327)'), GeomFromEWKT('SRID=4674;POINT (-40.369017 -2.803354)'))) / (select extract(epoch from '2026-07-29 07:47:04'::timestamp) - extract(epoch from '2026-07-29 07:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369059 -2.803327)'), GeomFromEWKT('SRID=4674;POINT (-40.369017 -2.803354)'))) / (select extract(epoch from '2026-07-29 07:47:04'::timestamp) - extract(epoch from '2026-07-29 07:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368966 -2.803378)', '2026-07-29 07:47:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369017 -2.803354)'), GeomFromEWKT('SRID=4674;POINT (-40.368966 -2.803378)'))) / (select extract(epoch from '2026-07-29 07:47:20'::timestamp) - extract(epoch from '2026-07-29 07:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369017 -2.803354)'), GeomFromEWKT('SRID=4674;POINT (-40.368966 -2.803378)'))) / (select extract(epoch from '2026-07-29 07:47:20'::timestamp) - extract(epoch from '2026-07-29 07:47: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'), 47641, 'SRID=4674;POINT (-40.368973 -2.803369)', '2026-07-29 07:47:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368966 -2.803378)'), GeomFromEWKT('SRID=4674;POINT (-40.368973 -2.803369)'))) / (select extract(epoch from '2026-07-29 07:47:32'::timestamp) - extract(epoch from '2026-07-29 07:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368966 -2.803378)'), GeomFromEWKT('SRID=4674;POINT (-40.368973 -2.803369)'))) / (select extract(epoch from '2026-07-29 07:47:32'::timestamp) - extract(epoch from '2026-07-29 07:47: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'), 47641, 'SRID=4674;POINT (-40.368982 -2.803342)', '2026-07-29 07:47:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368973 -2.803369)'), GeomFromEWKT('SRID=4674;POINT (-40.368982 -2.803342)'))) / (select extract(epoch from '2026-07-29 07:47:46'::timestamp) - extract(epoch from '2026-07-29 07:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368973 -2.803369)'), GeomFromEWKT('SRID=4674;POINT (-40.368982 -2.803342)'))) / (select extract(epoch from '2026-07-29 07:47:46'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.368981 -2.803349)', '2026-07-29 07:48:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368982 -2.803342)'), GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.803349)'))) / (select extract(epoch from '2026-07-29 07:48:02'::timestamp) - extract(epoch from '2026-07-29 07:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368982 -2.803342)'), GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.803349)'))) / (select extract(epoch from '2026-07-29 07:48:02'::timestamp) - extract(epoch from '2026-07-29 07:47: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'), 47641, 'SRID=4674;POINT (-40.368996 -2.803363)', '2026-07-29 07:48:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.803349)'), GeomFromEWKT('SRID=4674;POINT (-40.368996 -2.803363)'))) / (select extract(epoch from '2026-07-29 07:48:15'::timestamp) - extract(epoch from '2026-07-29 07:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.803349)'), GeomFromEWKT('SRID=4674;POINT (-40.368996 -2.803363)'))) / (select extract(epoch from '2026-07-29 07:48:15'::timestamp) - extract(epoch from '2026-07-29 07:48: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'), 47641, 'SRID=4674;POINT (-40.369 -2.80337)', '2026-07-29 07:48:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368996 -2.803363)'), GeomFromEWKT('SRID=4674;POINT (-40.369 -2.80337)'))) / (select extract(epoch from '2026-07-29 07:48:37'::timestamp) - extract(epoch from '2026-07-29 07:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368996 -2.803363)'), GeomFromEWKT('SRID=4674;POINT (-40.369 -2.80337)'))) / (select extract(epoch from '2026-07-29 07:48:37'::timestamp) - extract(epoch from '2026-07-29 07:48: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'), 47641, 'SRID=4674;POINT (-40.36899 -2.803373)', '2026-07-29 07:48:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369 -2.80337)'), GeomFromEWKT('SRID=4674;POINT (-40.36899 -2.803373)'))) / (select extract(epoch from '2026-07-29 07:48:59'::timestamp) - extract(epoch from '2026-07-29 07:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369 -2.80337)'), GeomFromEWKT('SRID=4674;POINT (-40.36899 -2.803373)'))) / (select extract(epoch from '2026-07-29 07:48:59'::timestamp) - extract(epoch from '2026-07-29 07:48:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368985 -2.803373)', '2026-07-29 07:49:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36899 -2.803373)'), GeomFromEWKT('SRID=4674;POINT (-40.368985 -2.803373)'))) / (select extract(epoch from '2026-07-29 07:49:22'::timestamp) - extract(epoch from '2026-07-29 07:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36899 -2.803373)'), GeomFromEWKT('SRID=4674;POINT (-40.368985 -2.803373)'))) / (select extract(epoch from '2026-07-29 07:49:22'::timestamp) - extract(epoch from '2026-07-29 07:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368981 -2.803375)', '2026-07-29 07:49:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368985 -2.803373)'), GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.803375)'))) / (select extract(epoch from '2026-07-29 07:49:42'::timestamp) - extract(epoch from '2026-07-29 07:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368985 -2.803373)'), GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.803375)'))) / (select extract(epoch from '2026-07-29 07:49:42'::timestamp) - extract(epoch from '2026-07-29 07:49: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'), 47641, 'SRID=4674;POINT (-40.368976 -2.803371)', '2026-07-29 07:50:00', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.803375)'), GeomFromEWKT('SRID=4674;POINT (-40.368976 -2.803371)'))) / (select extract(epoch from '2026-07-29 07:50:00'::timestamp) - extract(epoch from '2026-07-29 07:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368981 -2.803375)'), GeomFromEWKT('SRID=4674;POINT (-40.368976 -2.803371)'))) / (select extract(epoch from '2026-07-29 07:50:00'::timestamp) - extract(epoch from '2026-07-29 07:49: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'), 47641, 'SRID=4674;POINT (-40.368987 -2.803371)', '2026-07-29 07:50:22', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368976 -2.803371)'), GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.803371)'))) / (select extract(epoch from '2026-07-29 07:50:22'::timestamp) - extract(epoch from '2026-07-29 07:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368976 -2.803371)'), GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.803371)'))) / (select extract(epoch from '2026-07-29 07:50:22'::timestamp) - extract(epoch from '2026-07-29 07:50: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'), 47641, 'SRID=4674;POINT (-40.368993 -2.803374)', '2026-07-29 07:50:36', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.803371)'), GeomFromEWKT('SRID=4674;POINT (-40.368993 -2.803374)'))) / (select extract(epoch from '2026-07-29 07:50:36'::timestamp) - extract(epoch from '2026-07-29 07:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.803371)'), GeomFromEWKT('SRID=4674;POINT (-40.368993 -2.803374)'))) / (select extract(epoch from '2026-07-29 07:50:36'::timestamp) - extract(epoch from '2026-07-29 07:50: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'), 47641, 'SRID=4674;POINT (-40.368991 -2.803387)', '2026-07-29 07:50:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368993 -2.803374)'), GeomFromEWKT('SRID=4674;POINT (-40.368991 -2.803387)'))) / (select extract(epoch from '2026-07-29 07:50:50'::timestamp) - extract(epoch from '2026-07-29 07:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368993 -2.803374)'), GeomFromEWKT('SRID=4674;POINT (-40.368991 -2.803387)'))) / (select extract(epoch from '2026-07-29 07:50:50'::timestamp) - extract(epoch from '2026-07-29 07:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368995 -2.803381)', '2026-07-29 07:51:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368991 -2.803387)'), GeomFromEWKT('SRID=4674;POINT (-40.368995 -2.803381)'))) / (select extract(epoch from '2026-07-29 07:51:10'::timestamp) - extract(epoch from '2026-07-29 07:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368991 -2.803387)'), GeomFromEWKT('SRID=4674;POINT (-40.368995 -2.803381)'))) / (select extract(epoch from '2026-07-29 07:51:10'::timestamp) - extract(epoch from '2026-07-29 07:50: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'), 47641, 'SRID=4674;POINT (-40.368986 -2.80339)', '2026-07-29 07:51:33', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368995 -2.803381)'), GeomFromEWKT('SRID=4674;POINT (-40.368986 -2.80339)'))) / (select extract(epoch from '2026-07-29 07:51:33'::timestamp) - extract(epoch from '2026-07-29 07:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368995 -2.803381)'), GeomFromEWKT('SRID=4674;POINT (-40.368986 -2.80339)'))) / (select extract(epoch from '2026-07-29 07:51:33'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.368987 -2.803383)', '2026-07-29 07:51:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368986 -2.80339)'), GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.803383)'))) / (select extract(epoch from '2026-07-29 07:51:49'::timestamp) - extract(epoch from '2026-07-29 07:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368986 -2.80339)'), GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.803383)'))) / (select extract(epoch from '2026-07-29 07:51:49'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.368985 -2.803374)', '2026-07-29 07:52:05', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.803383)'), GeomFromEWKT('SRID=4674;POINT (-40.368985 -2.803374)'))) / (select extract(epoch from '2026-07-29 07:52:05'::timestamp) - extract(epoch from '2026-07-29 07:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368987 -2.803383)'), GeomFromEWKT('SRID=4674;POINT (-40.368985 -2.803374)'))) / (select extract(epoch from '2026-07-29 07:52:05'::timestamp) - extract(epoch from '2026-07-29 07:51:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368979 -2.803368)', '2026-07-29 07:52:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368985 -2.803374)'), GeomFromEWKT('SRID=4674;POINT (-40.368979 -2.803368)'))) / (select extract(epoch from '2026-07-29 07:52:21'::timestamp) - extract(epoch from '2026-07-29 07:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368985 -2.803374)'), GeomFromEWKT('SRID=4674;POINT (-40.368979 -2.803368)'))) / (select extract(epoch from '2026-07-29 07:52:21'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.368949 -2.803362)', '2026-07-29 07:52:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368979 -2.803368)'), GeomFromEWKT('SRID=4674;POINT (-40.368949 -2.803362)'))) / (select extract(epoch from '2026-07-29 07:52:34'::timestamp) - extract(epoch from '2026-07-29 07:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368979 -2.803368)'), GeomFromEWKT('SRID=4674;POINT (-40.368949 -2.803362)'))) / (select extract(epoch from '2026-07-29 07:52:34'::timestamp) - extract(epoch from '2026-07-29 07:52:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368886 -2.803414)', '2026-07-29 07:52:50', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368949 -2.803362)'), GeomFromEWKT('SRID=4674;POINT (-40.368886 -2.803414)'))) / (select extract(epoch from '2026-07-29 07:52:50'::timestamp) - extract(epoch from '2026-07-29 07:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368949 -2.803362)'), GeomFromEWKT('SRID=4674;POINT (-40.368886 -2.803414)'))) / (select extract(epoch from '2026-07-29 07:52:50'::timestamp) - extract(epoch from '2026-07-29 07:52: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'), 47641, 'SRID=4674;POINT (-40.368818 -2.803466)', '2026-07-29 07:53:08', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368886 -2.803414)'), GeomFromEWKT('SRID=4674;POINT (-40.368818 -2.803466)'))) / (select extract(epoch from '2026-07-29 07:53:08'::timestamp) - extract(epoch from '2026-07-29 07:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368886 -2.803414)'), GeomFromEWKT('SRID=4674;POINT (-40.368818 -2.803466)'))) / (select extract(epoch from '2026-07-29 07:53:08'::timestamp) - extract(epoch from '2026-07-29 07:52: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'), 47641, 'SRID=4674;POINT (-40.368794 -2.803467)', '2026-07-29 07:53:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368818 -2.803466)'), GeomFromEWKT('SRID=4674;POINT (-40.368794 -2.803467)'))) / (select extract(epoch from '2026-07-29 07:53:23'::timestamp) - extract(epoch from '2026-07-29 07:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368818 -2.803466)'), GeomFromEWKT('SRID=4674;POINT (-40.368794 -2.803467)'))) / (select extract(epoch from '2026-07-29 07:53:23'::timestamp) - extract(epoch from '2026-07-29 07:53: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'), 47641, 'SRID=4674;POINT (-40.368808 -2.803473)', '2026-07-29 07:53:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368794 -2.803467)'), GeomFromEWKT('SRID=4674;POINT (-40.368808 -2.803473)'))) / (select extract(epoch from '2026-07-29 07:53:36'::timestamp) - extract(epoch from '2026-07-29 07:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368794 -2.803467)'), GeomFromEWKT('SRID=4674;POINT (-40.368808 -2.803473)'))) / (select extract(epoch from '2026-07-29 07:53:36'::timestamp) - extract(epoch from '2026-07-29 07:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368834 -2.803457)', '2026-07-29 07:53:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368808 -2.803473)'), GeomFromEWKT('SRID=4674;POINT (-40.368834 -2.803457)'))) / (select extract(epoch from '2026-07-29 07:53:47'::timestamp) - extract(epoch from '2026-07-29 07:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368808 -2.803473)'), GeomFromEWKT('SRID=4674;POINT (-40.368834 -2.803457)'))) / (select extract(epoch from '2026-07-29 07:53:47'::timestamp) - extract(epoch from '2026-07-29 07: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'), 47641, 'SRID=4674;POINT (-40.368859 -2.803437)', '2026-07-29 07:54:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368834 -2.803457)'), GeomFromEWKT('SRID=4674;POINT (-40.368859 -2.803437)'))) / (select extract(epoch from '2026-07-29 07:54:01'::timestamp) - extract(epoch from '2026-07-29 07:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368834 -2.803457)'), GeomFromEWKT('SRID=4674;POINT (-40.368859 -2.803437)'))) / (select extract(epoch from '2026-07-29 07:54:01'::timestamp) - extract(epoch from '2026-07-29 07:53:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47641, 'SRID=4674;POINT (-40.368868 -2.803426)', '2026-07-29 07:54:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368859 -2.803437)'), GeomFromEWKT('SRID=4674;POINT (-40.368868 -2.803426)'))) / (select extract(epoch from '2026-07-29 07:54:12'::timestamp) - extract(epoch from '2026-07-29 07:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368859 -2.803437)'), GeomFromEWKT('SRID=4674;POINT (-40.368868 -2.803426)'))) / (select extract(epoch from '2026-07-29 07:54:12'::timestamp) - extract(epoch from '2026-07-29 07:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
