BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.352148 -2.805396)', '2026-06-29 02:57:08', 2.2, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.351991 -2.805348)', '2026-06-29 02:57:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352148 -2.805396)'), GeomFromEWKT('SRID=4674;POINT (-40.351991 -2.805348)'))) / (select extract(epoch from '2026-06-29 02:57:15'::timestamp) - extract(epoch from '2026-06-29 02:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352148 -2.805396)'), GeomFromEWKT('SRID=4674;POINT (-40.351991 -2.805348)'))) / (select extract(epoch from '2026-06-29 02:57:15'::timestamp) - extract(epoch from '2026-06-29 02: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'), 46720, 'SRID=4674;POINT (-40.351782 -2.805263)', '2026-06-29 02:57:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351991 -2.805348)'), GeomFromEWKT('SRID=4674;POINT (-40.351782 -2.805263)'))) / (select extract(epoch from '2026-06-29 02:57:25'::timestamp) - extract(epoch from '2026-06-29 02:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351991 -2.805348)'), GeomFromEWKT('SRID=4674;POINT (-40.351782 -2.805263)'))) / (select extract(epoch from '2026-06-29 02:57:25'::timestamp) - extract(epoch from '2026-06-29 02:57: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'), 46720, 'SRID=4674;POINT (-40.351653 -2.805214)', '2026-06-29 02:57:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351782 -2.805263)'), GeomFromEWKT('SRID=4674;POINT (-40.351653 -2.805214)'))) / (select extract(epoch from '2026-06-29 02:57:31'::timestamp) - extract(epoch from '2026-06-29 02:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351782 -2.805263)'), GeomFromEWKT('SRID=4674;POINT (-40.351653 -2.805214)'))) / (select extract(epoch from '2026-06-29 02:57:31'::timestamp) - extract(epoch from '2026-06-29 02:57: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'), 46720, 'SRID=4674;POINT (-40.351493 -2.805129)', '2026-06-29 02:57:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351653 -2.805214)'), GeomFromEWKT('SRID=4674;POINT (-40.351493 -2.805129)'))) / (select extract(epoch from '2026-06-29 02:57:39'::timestamp) - extract(epoch from '2026-06-29 02:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351653 -2.805214)'), GeomFromEWKT('SRID=4674;POINT (-40.351493 -2.805129)'))) / (select extract(epoch from '2026-06-29 02:57:39'::timestamp) - extract(epoch from '2026-06-29 02:57:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.351373 -2.805061)', '2026-06-29 02:57:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351493 -2.805129)'), GeomFromEWKT('SRID=4674;POINT (-40.351373 -2.805061)'))) / (select extract(epoch from '2026-06-29 02:57:45'::timestamp) - extract(epoch from '2026-06-29 02:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351493 -2.805129)'), GeomFromEWKT('SRID=4674;POINT (-40.351373 -2.805061)'))) / (select extract(epoch from '2026-06-29 02:57:45'::timestamp) - extract(epoch from '2026-06-29 02:57:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.351177 -2.804974)', '2026-06-29 02:57:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351373 -2.805061)'), GeomFromEWKT('SRID=4674;POINT (-40.351177 -2.804974)'))) / (select extract(epoch from '2026-06-29 02:57:55'::timestamp) - extract(epoch from '2026-06-29 02:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351373 -2.805061)'), GeomFromEWKT('SRID=4674;POINT (-40.351177 -2.804974)'))) / (select extract(epoch from '2026-06-29 02:57:55'::timestamp) - extract(epoch from '2026-06-29 02:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.350989 -2.80487)', '2026-06-29 02:58:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351177 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.350989 -2.80487)'))) / (select extract(epoch from '2026-06-29 02:58:05'::timestamp) - extract(epoch from '2026-06-29 02:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351177 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.350989 -2.80487)'))) / (select extract(epoch from '2026-06-29 02:58:05'::timestamp) - extract(epoch from '2026-06-29 02:57:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.350848 -2.804804)', '2026-06-29 02:58:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350989 -2.80487)'), GeomFromEWKT('SRID=4674;POINT (-40.350848 -2.804804)'))) / (select extract(epoch from '2026-06-29 02:58:12'::timestamp) - extract(epoch from '2026-06-29 02:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350989 -2.80487)'), GeomFromEWKT('SRID=4674;POINT (-40.350848 -2.804804)'))) / (select extract(epoch from '2026-06-29 02:58:12'::timestamp) - extract(epoch from '2026-06-29 02:58:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.350695 -2.804737)', '2026-06-29 02:58:19', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350848 -2.804804)'), GeomFromEWKT('SRID=4674;POINT (-40.350695 -2.804737)'))) / (select extract(epoch from '2026-06-29 02:58:19'::timestamp) - extract(epoch from '2026-06-29 02:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350848 -2.804804)'), GeomFromEWKT('SRID=4674;POINT (-40.350695 -2.804737)'))) / (select extract(epoch from '2026-06-29 02:58:19'::timestamp) - extract(epoch from '2026-06-29 02:58: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'), 46720, 'SRID=4674;POINT (-40.350557 -2.804666)', '2026-06-29 02:58:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350695 -2.804737)'), GeomFromEWKT('SRID=4674;POINT (-40.350557 -2.804666)'))) / (select extract(epoch from '2026-06-29 02:58:26'::timestamp) - extract(epoch from '2026-06-29 02:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350695 -2.804737)'), GeomFromEWKT('SRID=4674;POINT (-40.350557 -2.804666)'))) / (select extract(epoch from '2026-06-29 02:58:26'::timestamp) - extract(epoch from '2026-06-29 02:58:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.350412 -2.804602)', '2026-06-29 02:58:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350557 -2.804666)'), GeomFromEWKT('SRID=4674;POINT (-40.350412 -2.804602)'))) / (select extract(epoch from '2026-06-29 02:58:33'::timestamp) - extract(epoch from '2026-06-29 02:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350557 -2.804666)'), GeomFromEWKT('SRID=4674;POINT (-40.350412 -2.804602)'))) / (select extract(epoch from '2026-06-29 02:58:33'::timestamp) - extract(epoch from '2026-06-29 02:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.350228 -2.804531)', '2026-06-29 02:58:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350412 -2.804602)'), GeomFromEWKT('SRID=4674;POINT (-40.350228 -2.804531)'))) / (select extract(epoch from '2026-06-29 02:58:42'::timestamp) - extract(epoch from '2026-06-29 02:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350412 -2.804602)'), GeomFromEWKT('SRID=4674;POINT (-40.350228 -2.804531)'))) / (select extract(epoch from '2026-06-29 02:58:42'::timestamp) - extract(epoch from '2026-06-29 02:58: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'), 46720, 'SRID=4674;POINT (-40.350034 -2.80445)', '2026-06-29 02:58:51', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350228 -2.804531)'), GeomFromEWKT('SRID=4674;POINT (-40.350034 -2.80445)'))) / (select extract(epoch from '2026-06-29 02:58:51'::timestamp) - extract(epoch from '2026-06-29 02:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350228 -2.804531)'), GeomFromEWKT('SRID=4674;POINT (-40.350034 -2.80445)'))) / (select extract(epoch from '2026-06-29 02:58:51'::timestamp) - extract(epoch from '2026-06-29 02:58: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'), 46720, 'SRID=4674;POINT (-40.34987 -2.804377)', '2026-06-29 02:58:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350034 -2.80445)'), GeomFromEWKT('SRID=4674;POINT (-40.34987 -2.804377)'))) / (select extract(epoch from '2026-06-29 02:58:59'::timestamp) - extract(epoch from '2026-06-29 02:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350034 -2.80445)'), GeomFromEWKT('SRID=4674;POINT (-40.34987 -2.804377)'))) / (select extract(epoch from '2026-06-29 02:58:59'::timestamp) - extract(epoch from '2026-06-29 02:58: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'), 46720, 'SRID=4674;POINT (-40.349753 -2.804326)', '2026-06-29 02:59:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34987 -2.804377)'), GeomFromEWKT('SRID=4674;POINT (-40.349753 -2.804326)'))) / (select extract(epoch from '2026-06-29 02:59:05'::timestamp) - extract(epoch from '2026-06-29 02:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34987 -2.804377)'), GeomFromEWKT('SRID=4674;POINT (-40.349753 -2.804326)'))) / (select extract(epoch from '2026-06-29 02:59:05'::timestamp) - extract(epoch from '2026-06-29 02:58: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'), 46720, 'SRID=4674;POINT (-40.349603 -2.804244)', '2026-06-29 02:59:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349753 -2.804326)'), GeomFromEWKT('SRID=4674;POINT (-40.349603 -2.804244)'))) / (select extract(epoch from '2026-06-29 02:59:13'::timestamp) - extract(epoch from '2026-06-29 02:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349753 -2.804326)'), GeomFromEWKT('SRID=4674;POINT (-40.349603 -2.804244)'))) / (select extract(epoch from '2026-06-29 02:59:13'::timestamp) - extract(epoch from '2026-06-29 02:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349438 -2.804162)', '2026-06-29 02:59:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349603 -2.804244)'), GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.804162)'))) / (select extract(epoch from '2026-06-29 02:59:21'::timestamp) - extract(epoch from '2026-06-29 02:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349603 -2.804244)'), GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.804162)'))) / (select extract(epoch from '2026-06-29 02:59:21'::timestamp) - extract(epoch from '2026-06-29 02:59: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'), 46720, 'SRID=4674;POINT (-40.349203 -2.804061)', '2026-06-29 02:59:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.804162)'), GeomFromEWKT('SRID=4674;POINT (-40.349203 -2.804061)'))) / (select extract(epoch from '2026-06-29 02:59:32'::timestamp) - extract(epoch from '2026-06-29 02:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.804162)'), GeomFromEWKT('SRID=4674;POINT (-40.349203 -2.804061)'))) / (select extract(epoch from '2026-06-29 02:59:32'::timestamp) - extract(epoch from '2026-06-29 02:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349069 -2.803981)', '2026-06-29 02:59:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349203 -2.804061)'), GeomFromEWKT('SRID=4674;POINT (-40.349069 -2.803981)'))) / (select extract(epoch from '2026-06-29 02:59:39'::timestamp) - extract(epoch from '2026-06-29 02:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349203 -2.804061)'), GeomFromEWKT('SRID=4674;POINT (-40.349069 -2.803981)'))) / (select extract(epoch from '2026-06-29 02:59:39'::timestamp) - extract(epoch from '2026-06-29 02: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'), 46720, 'SRID=4674;POINT (-40.34892 -2.803889)', '2026-06-29 02:59:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349069 -2.803981)'), GeomFromEWKT('SRID=4674;POINT (-40.34892 -2.803889)'))) / (select extract(epoch from '2026-06-29 02:59:47'::timestamp) - extract(epoch from '2026-06-29 02:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349069 -2.803981)'), GeomFromEWKT('SRID=4674;POINT (-40.34892 -2.803889)'))) / (select extract(epoch from '2026-06-29 02:59:47'::timestamp) - extract(epoch from '2026-06-29 02:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.34881 -2.80382)', '2026-06-29 02:59:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34892 -2.803889)'), GeomFromEWKT('SRID=4674;POINT (-40.34881 -2.80382)'))) / (select extract(epoch from '2026-06-29 02:59:53'::timestamp) - extract(epoch from '2026-06-29 02:59:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34892 -2.803889)'), GeomFromEWKT('SRID=4674;POINT (-40.34881 -2.80382)'))) / (select extract(epoch from '2026-06-29 02:59:53'::timestamp) - extract(epoch from '2026-06-29 02:59:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.348655 -2.803743)', '2026-06-29 03:00:01', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34881 -2.80382)'), GeomFromEWKT('SRID=4674;POINT (-40.348655 -2.803743)'))) / (select extract(epoch from '2026-06-29 03:00:01'::timestamp) - extract(epoch from '2026-06-29 02:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34881 -2.80382)'), GeomFromEWKT('SRID=4674;POINT (-40.348655 -2.803743)'))) / (select extract(epoch from '2026-06-29 03:00:01'::timestamp) - extract(epoch from '2026-06-29 02:59:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.34851 -2.80368)', '2026-06-29 03:00:08', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348655 -2.803743)'), GeomFromEWKT('SRID=4674;POINT (-40.34851 -2.80368)'))) / (select extract(epoch from '2026-06-29 03:00:08'::timestamp) - extract(epoch from '2026-06-29 03:00:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348655 -2.803743)'), GeomFromEWKT('SRID=4674;POINT (-40.34851 -2.80368)'))) / (select extract(epoch from '2026-06-29 03:00:08'::timestamp) - extract(epoch from '2026-06-29 03:00: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'), 46720, 'SRID=4674;POINT (-40.348346 -2.803618)', '2026-06-29 03:00:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34851 -2.80368)'), GeomFromEWKT('SRID=4674;POINT (-40.348346 -2.803618)'))) / (select extract(epoch from '2026-06-29 03:00:16'::timestamp) - extract(epoch from '2026-06-29 03:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34851 -2.80368)'), GeomFromEWKT('SRID=4674;POINT (-40.348346 -2.803618)'))) / (select extract(epoch from '2026-06-29 03:00:16'::timestamp) - extract(epoch from '2026-06-29 03:00:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.348161 -2.803549)', '2026-06-29 03:00:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348346 -2.803618)'), GeomFromEWKT('SRID=4674;POINT (-40.348161 -2.803549)'))) / (select extract(epoch from '2026-06-29 03:00:25'::timestamp) - extract(epoch from '2026-06-29 03:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348346 -2.803618)'), GeomFromEWKT('SRID=4674;POINT (-40.348161 -2.803549)'))) / (select extract(epoch from '2026-06-29 03:00:25'::timestamp) - extract(epoch from '2026-06-29 03:00:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.347957 -2.803477)', '2026-06-29 03:00:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348161 -2.803549)'), GeomFromEWKT('SRID=4674;POINT (-40.347957 -2.803477)'))) / (select extract(epoch from '2026-06-29 03:00:35'::timestamp) - extract(epoch from '2026-06-29 03:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348161 -2.803549)'), GeomFromEWKT('SRID=4674;POINT (-40.347957 -2.803477)'))) / (select extract(epoch from '2026-06-29 03:00:35'::timestamp) - extract(epoch from '2026-06-29 03:00: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'), 46720, 'SRID=4674;POINT (-40.347795 -2.803406)', '2026-06-29 03:00:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347957 -2.803477)'), GeomFromEWKT('SRID=4674;POINT (-40.347795 -2.803406)'))) / (select extract(epoch from '2026-06-29 03:00:43'::timestamp) - extract(epoch from '2026-06-29 03:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347957 -2.803477)'), GeomFromEWKT('SRID=4674;POINT (-40.347795 -2.803406)'))) / (select extract(epoch from '2026-06-29 03:00:43'::timestamp) - extract(epoch from '2026-06-29 03:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.347661 -2.803324)', '2026-06-29 03:00:50', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347795 -2.803406)'), GeomFromEWKT('SRID=4674;POINT (-40.347661 -2.803324)'))) / (select extract(epoch from '2026-06-29 03:00:50'::timestamp) - extract(epoch from '2026-06-29 03:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347795 -2.803406)'), GeomFromEWKT('SRID=4674;POINT (-40.347661 -2.803324)'))) / (select extract(epoch from '2026-06-29 03:00:50'::timestamp) - extract(epoch from '2026-06-29 03:00: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'), 46720, 'SRID=4674;POINT (-40.347496 -2.803257)', '2026-06-29 03:00:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347661 -2.803324)'), GeomFromEWKT('SRID=4674;POINT (-40.347496 -2.803257)'))) / (select extract(epoch from '2026-06-29 03:00:58'::timestamp) - extract(epoch from '2026-06-29 03:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347661 -2.803324)'), GeomFromEWKT('SRID=4674;POINT (-40.347496 -2.803257)'))) / (select extract(epoch from '2026-06-29 03:00:58'::timestamp) - extract(epoch from '2026-06-29 03:00: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'), 46720, 'SRID=4674;POINT (-40.34735 -2.803209)', '2026-06-29 03:01:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347496 -2.803257)'), GeomFromEWKT('SRID=4674;POINT (-40.34735 -2.803209)'))) / (select extract(epoch from '2026-06-29 03:01:05'::timestamp) - extract(epoch from '2026-06-29 03:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347496 -2.803257)'), GeomFromEWKT('SRID=4674;POINT (-40.34735 -2.803209)'))) / (select extract(epoch from '2026-06-29 03:01:05'::timestamp) - extract(epoch from '2026-06-29 03:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.347139 -2.803095)', '2026-06-29 03:01:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34735 -2.803209)'), GeomFromEWKT('SRID=4674;POINT (-40.347139 -2.803095)'))) / (select extract(epoch from '2026-06-29 03:01:16'::timestamp) - extract(epoch from '2026-06-29 03:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34735 -2.803209)'), GeomFromEWKT('SRID=4674;POINT (-40.347139 -2.803095)'))) / (select extract(epoch from '2026-06-29 03:01:16'::timestamp) - extract(epoch from '2026-06-29 03:01:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.347007 -2.803021)', '2026-06-29 03:01:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347139 -2.803095)'), GeomFromEWKT('SRID=4674;POINT (-40.347007 -2.803021)'))) / (select extract(epoch from '2026-06-29 03:01:23'::timestamp) - extract(epoch from '2026-06-29 03:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347139 -2.803095)'), GeomFromEWKT('SRID=4674;POINT (-40.347007 -2.803021)'))) / (select extract(epoch from '2026-06-29 03:01:23'::timestamp) - extract(epoch from '2026-06-29 03:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.346902 -2.802964)', '2026-06-29 03:01:29', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347007 -2.803021)'), GeomFromEWKT('SRID=4674;POINT (-40.346902 -2.802964)'))) / (select extract(epoch from '2026-06-29 03:01:29'::timestamp) - extract(epoch from '2026-06-29 03:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347007 -2.803021)'), GeomFromEWKT('SRID=4674;POINT (-40.346902 -2.802964)'))) / (select extract(epoch from '2026-06-29 03:01:29'::timestamp) - extract(epoch from '2026-06-29 03:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.346732 -2.802894)', '2026-06-29 03:01:37', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346902 -2.802964)'), GeomFromEWKT('SRID=4674;POINT (-40.346732 -2.802894)'))) / (select extract(epoch from '2026-06-29 03:01:37'::timestamp) - extract(epoch from '2026-06-29 03:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346902 -2.802964)'), GeomFromEWKT('SRID=4674;POINT (-40.346732 -2.802894)'))) / (select extract(epoch from '2026-06-29 03:01:37'::timestamp) - extract(epoch from '2026-06-29 03:01:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.346606 -2.802848)', '2026-06-29 03:01:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346732 -2.802894)'), GeomFromEWKT('SRID=4674;POINT (-40.346606 -2.802848)'))) / (select extract(epoch from '2026-06-29 03:01:43'::timestamp) - extract(epoch from '2026-06-29 03:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346732 -2.802894)'), GeomFromEWKT('SRID=4674;POINT (-40.346606 -2.802848)'))) / (select extract(epoch from '2026-06-29 03:01:43'::timestamp) - extract(epoch from '2026-06-29 03:01:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.346485 -2.80279)', '2026-06-29 03:01:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346606 -2.802848)'), GeomFromEWKT('SRID=4674;POINT (-40.346485 -2.80279)'))) / (select extract(epoch from '2026-06-29 03:01:49'::timestamp) - extract(epoch from '2026-06-29 03:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346606 -2.802848)'), GeomFromEWKT('SRID=4674;POINT (-40.346485 -2.80279)'))) / (select extract(epoch from '2026-06-29 03:01:49'::timestamp) - extract(epoch from '2026-06-29 03:01: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'), 46720, 'SRID=4674;POINT (-40.346341 -2.802733)', '2026-06-29 03:01:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346485 -2.80279)'), GeomFromEWKT('SRID=4674;POINT (-40.346341 -2.802733)'))) / (select extract(epoch from '2026-06-29 03:01:56'::timestamp) - extract(epoch from '2026-06-29 03:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346485 -2.80279)'), GeomFromEWKT('SRID=4674;POINT (-40.346341 -2.802733)'))) / (select extract(epoch from '2026-06-29 03:01:56'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.346225 -2.802679)', '2026-06-29 03:02:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346341 -2.802733)'), GeomFromEWKT('SRID=4674;POINT (-40.346225 -2.802679)'))) / (select extract(epoch from '2026-06-29 03:02:02'::timestamp) - extract(epoch from '2026-06-29 03:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346341 -2.802733)'), GeomFromEWKT('SRID=4674;POINT (-40.346225 -2.802679)'))) / (select extract(epoch from '2026-06-29 03:02:02'::timestamp) - extract(epoch from '2026-06-29 03:01: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'), 46720, 'SRID=4674;POINT (-40.346018 -2.802585)', '2026-06-29 03:02:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346225 -2.802679)'), GeomFromEWKT('SRID=4674;POINT (-40.346018 -2.802585)'))) / (select extract(epoch from '2026-06-29 03:02:12'::timestamp) - extract(epoch from '2026-06-29 03:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346225 -2.802679)'), GeomFromEWKT('SRID=4674;POINT (-40.346018 -2.802585)'))) / (select extract(epoch from '2026-06-29 03:02:12'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.34591 -2.802531)', '2026-06-29 03:02:18', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346018 -2.802585)'), GeomFromEWKT('SRID=4674;POINT (-40.34591 -2.802531)'))) / (select extract(epoch from '2026-06-29 03:02:18'::timestamp) - extract(epoch from '2026-06-29 03:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346018 -2.802585)'), GeomFromEWKT('SRID=4674;POINT (-40.34591 -2.802531)'))) / (select extract(epoch from '2026-06-29 03:02:18'::timestamp) - extract(epoch from '2026-06-29 03:02: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'), 46720, 'SRID=4674;POINT (-40.345783 -2.802447)', '2026-06-29 03:02:25', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34591 -2.802531)'), GeomFromEWKT('SRID=4674;POINT (-40.345783 -2.802447)'))) / (select extract(epoch from '2026-06-29 03:02:25'::timestamp) - extract(epoch from '2026-06-29 03:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34591 -2.802531)'), GeomFromEWKT('SRID=4674;POINT (-40.345783 -2.802447)'))) / (select extract(epoch from '2026-06-29 03:02:25'::timestamp) - extract(epoch from '2026-06-29 03:02:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.345648 -2.802373)', '2026-06-29 03:02:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345783 -2.802447)'), GeomFromEWKT('SRID=4674;POINT (-40.345648 -2.802373)'))) / (select extract(epoch from '2026-06-29 03:02:32'::timestamp) - extract(epoch from '2026-06-29 03:02:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345783 -2.802447)'), GeomFromEWKT('SRID=4674;POINT (-40.345648 -2.802373)'))) / (select extract(epoch from '2026-06-29 03:02:32'::timestamp) - extract(epoch from '2026-06-29 03:02:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.34552 -2.802302)', '2026-06-29 03:02:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345648 -2.802373)'), GeomFromEWKT('SRID=4674;POINT (-40.34552 -2.802302)'))) / (select extract(epoch from '2026-06-29 03:02:39'::timestamp) - extract(epoch from '2026-06-29 03:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345648 -2.802373)'), GeomFromEWKT('SRID=4674;POINT (-40.34552 -2.802302)'))) / (select extract(epoch from '2026-06-29 03:02:39'::timestamp) - extract(epoch from '2026-06-29 03:02: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'), 46720, 'SRID=4674;POINT (-40.345379 -2.802208)', '2026-06-29 03:02:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34552 -2.802302)'), GeomFromEWKT('SRID=4674;POINT (-40.345379 -2.802208)'))) / (select extract(epoch from '2026-06-29 03:02:47'::timestamp) - extract(epoch from '2026-06-29 03:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34552 -2.802302)'), GeomFromEWKT('SRID=4674;POINT (-40.345379 -2.802208)'))) / (select extract(epoch from '2026-06-29 03:02:47'::timestamp) - extract(epoch from '2026-06-29 03:02:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.345272 -2.802146)', '2026-06-29 03:02:53', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345379 -2.802208)'), GeomFromEWKT('SRID=4674;POINT (-40.345272 -2.802146)'))) / (select extract(epoch from '2026-06-29 03:02:53'::timestamp) - extract(epoch from '2026-06-29 03:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345379 -2.802208)'), GeomFromEWKT('SRID=4674;POINT (-40.345272 -2.802146)'))) / (select extract(epoch from '2026-06-29 03:02:53'::timestamp) - extract(epoch from '2026-06-29 03:02: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'), 46720, 'SRID=4674;POINT (-40.345085 -2.802036)', '2026-06-29 03:03:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345272 -2.802146)'), GeomFromEWKT('SRID=4674;POINT (-40.345085 -2.802036)'))) / (select extract(epoch from '2026-06-29 03:03:03'::timestamp) - extract(epoch from '2026-06-29 03:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345272 -2.802146)'), GeomFromEWKT('SRID=4674;POINT (-40.345085 -2.802036)'))) / (select extract(epoch from '2026-06-29 03:03:03'::timestamp) - extract(epoch from '2026-06-29 03:02:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.344928 -2.801957)', '2026-06-29 03:03:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345085 -2.802036)'), GeomFromEWKT('SRID=4674;POINT (-40.344928 -2.801957)'))) / (select extract(epoch from '2026-06-29 03:03:11'::timestamp) - extract(epoch from '2026-06-29 03:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345085 -2.802036)'), GeomFromEWKT('SRID=4674;POINT (-40.344928 -2.801957)'))) / (select extract(epoch from '2026-06-29 03:03:11'::timestamp) - extract(epoch from '2026-06-29 03:03:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.344803 -2.801909)', '2026-06-29 03:03:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344928 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.344803 -2.801909)'))) / (select extract(epoch from '2026-06-29 03:03:17'::timestamp) - extract(epoch from '2026-06-29 03:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344928 -2.801957)'), GeomFromEWKT('SRID=4674;POINT (-40.344803 -2.801909)'))) / (select extract(epoch from '2026-06-29 03:03:17'::timestamp) - extract(epoch from '2026-06-29 03:03:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.344675 -2.801874)', '2026-06-29 03:03:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344803 -2.801909)'), GeomFromEWKT('SRID=4674;POINT (-40.344675 -2.801874)'))) / (select extract(epoch from '2026-06-29 03:03:23'::timestamp) - extract(epoch from '2026-06-29 03:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344803 -2.801909)'), GeomFromEWKT('SRID=4674;POINT (-40.344675 -2.801874)'))) / (select extract(epoch from '2026-06-29 03:03:23'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.344483 -2.801827)', '2026-06-29 03:03:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344675 -2.801874)'), GeomFromEWKT('SRID=4674;POINT (-40.344483 -2.801827)'))) / (select extract(epoch from '2026-06-29 03:03:32'::timestamp) - extract(epoch from '2026-06-29 03:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344675 -2.801874)'), GeomFromEWKT('SRID=4674;POINT (-40.344483 -2.801827)'))) / (select extract(epoch from '2026-06-29 03:03:32'::timestamp) - extract(epoch from '2026-06-29 03:03: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'), 46720, 'SRID=4674;POINT (-40.344313 -2.801779)', '2026-06-29 03:03:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344483 -2.801827)'), GeomFromEWKT('SRID=4674;POINT (-40.344313 -2.801779)'))) / (select extract(epoch from '2026-06-29 03:03:40'::timestamp) - extract(epoch from '2026-06-29 03:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344483 -2.801827)'), GeomFromEWKT('SRID=4674;POINT (-40.344313 -2.801779)'))) / (select extract(epoch from '2026-06-29 03:03:40'::timestamp) - extract(epoch from '2026-06-29 03:03:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.344159 -2.801734)', '2026-06-29 03:03:47', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344313 -2.801779)'), GeomFromEWKT('SRID=4674;POINT (-40.344159 -2.801734)'))) / (select extract(epoch from '2026-06-29 03:03:47'::timestamp) - extract(epoch from '2026-06-29 03:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344313 -2.801779)'), GeomFromEWKT('SRID=4674;POINT (-40.344159 -2.801734)'))) / (select extract(epoch from '2026-06-29 03:03:47'::timestamp) - extract(epoch from '2026-06-29 03:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.344035 -2.801684)', '2026-06-29 03:03:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344159 -2.801734)'), GeomFromEWKT('SRID=4674;POINT (-40.344035 -2.801684)'))) / (select extract(epoch from '2026-06-29 03:03:53'::timestamp) - extract(epoch from '2026-06-29 03:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344159 -2.801734)'), GeomFromEWKT('SRID=4674;POINT (-40.344035 -2.801684)'))) / (select extract(epoch from '2026-06-29 03:03:53'::timestamp) - extract(epoch from '2026-06-29 03:03:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.343845 -2.80161)', '2026-06-29 03:04:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344035 -2.801684)'), GeomFromEWKT('SRID=4674;POINT (-40.343845 -2.80161)'))) / (select extract(epoch from '2026-06-29 03:04:02'::timestamp) - extract(epoch from '2026-06-29 03:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344035 -2.801684)'), GeomFromEWKT('SRID=4674;POINT (-40.343845 -2.80161)'))) / (select extract(epoch from '2026-06-29 03:04:02'::timestamp) - extract(epoch from '2026-06-29 03:03: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'), 46720, 'SRID=4674;POINT (-40.34372 -2.801562)', '2026-06-29 03:04:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343845 -2.80161)'), GeomFromEWKT('SRID=4674;POINT (-40.34372 -2.801562)'))) / (select extract(epoch from '2026-06-29 03:04:08'::timestamp) - extract(epoch from '2026-06-29 03:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343845 -2.80161)'), GeomFromEWKT('SRID=4674;POINT (-40.34372 -2.801562)'))) / (select extract(epoch from '2026-06-29 03:04:08'::timestamp) - extract(epoch from '2026-06-29 03:04: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'), 46720, 'SRID=4674;POINT (-40.343608 -2.801505)', '2026-06-29 03:04:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34372 -2.801562)'), GeomFromEWKT('SRID=4674;POINT (-40.343608 -2.801505)'))) / (select extract(epoch from '2026-06-29 03:04:14'::timestamp) - extract(epoch from '2026-06-29 03:04:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34372 -2.801562)'), GeomFromEWKT('SRID=4674;POINT (-40.343608 -2.801505)'))) / (select extract(epoch from '2026-06-29 03:04:14'::timestamp) - extract(epoch from '2026-06-29 03:04: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'), 46720, 'SRID=4674;POINT (-40.343455 -2.801438)', '2026-06-29 03:04:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343608 -2.801505)'), GeomFromEWKT('SRID=4674;POINT (-40.343455 -2.801438)'))) / (select extract(epoch from '2026-06-29 03:04:22'::timestamp) - extract(epoch from '2026-06-29 03:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343608 -2.801505)'), GeomFromEWKT('SRID=4674;POINT (-40.343455 -2.801438)'))) / (select extract(epoch from '2026-06-29 03:04:22'::timestamp) - extract(epoch from '2026-06-29 03:04: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'), 46720, 'SRID=4674;POINT (-40.343274 -2.801368)', '2026-06-29 03:04:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343455 -2.801438)'), GeomFromEWKT('SRID=4674;POINT (-40.343274 -2.801368)'))) / (select extract(epoch from '2026-06-29 03:04:31'::timestamp) - extract(epoch from '2026-06-29 03:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343455 -2.801438)'), GeomFromEWKT('SRID=4674;POINT (-40.343274 -2.801368)'))) / (select extract(epoch from '2026-06-29 03:04:31'::timestamp) - extract(epoch from '2026-06-29 03:04: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'), 46720, 'SRID=4674;POINT (-40.343062 -2.801304)', '2026-06-29 03:04:41', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343274 -2.801368)'), GeomFromEWKT('SRID=4674;POINT (-40.343062 -2.801304)'))) / (select extract(epoch from '2026-06-29 03:04:41'::timestamp) - extract(epoch from '2026-06-29 03:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343274 -2.801368)'), GeomFromEWKT('SRID=4674;POINT (-40.343062 -2.801304)'))) / (select extract(epoch from '2026-06-29 03:04:41'::timestamp) - extract(epoch from '2026-06-29 03:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.342911 -2.801249)', '2026-06-29 03:04:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343062 -2.801304)'), GeomFromEWKT('SRID=4674;POINT (-40.342911 -2.801249)'))) / (select extract(epoch from '2026-06-29 03:04:49'::timestamp) - extract(epoch from '2026-06-29 03:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343062 -2.801304)'), GeomFromEWKT('SRID=4674;POINT (-40.342911 -2.801249)'))) / (select extract(epoch from '2026-06-29 03:04:49'::timestamp) - extract(epoch from '2026-06-29 03:04:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.342756 -2.801184)', '2026-06-29 03:04:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342911 -2.801249)'), GeomFromEWKT('SRID=4674;POINT (-40.342756 -2.801184)'))) / (select extract(epoch from '2026-06-29 03:04:57'::timestamp) - extract(epoch from '2026-06-29 03:04:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342911 -2.801249)'), GeomFromEWKT('SRID=4674;POINT (-40.342756 -2.801184)'))) / (select extract(epoch from '2026-06-29 03:04:57'::timestamp) - extract(epoch from '2026-06-29 03:04: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'), 46720, 'SRID=4674;POINT (-40.342598 -2.801119)', '2026-06-29 03:05:05', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342756 -2.801184)'), GeomFromEWKT('SRID=4674;POINT (-40.342598 -2.801119)'))) / (select extract(epoch from '2026-06-29 03:05:05'::timestamp) - extract(epoch from '2026-06-29 03:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342756 -2.801184)'), GeomFromEWKT('SRID=4674;POINT (-40.342598 -2.801119)'))) / (select extract(epoch from '2026-06-29 03:05:05'::timestamp) - extract(epoch from '2026-06-29 03:04: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'), 46720, 'SRID=4674;POINT (-40.342518 -2.801103)', '2026-06-29 03:05:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342598 -2.801119)'), GeomFromEWKT('SRID=4674;POINT (-40.342518 -2.801103)'))) / (select extract(epoch from '2026-06-29 03:05:09'::timestamp) - extract(epoch from '2026-06-29 03:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342598 -2.801119)'), GeomFromEWKT('SRID=4674;POINT (-40.342518 -2.801103)'))) / (select extract(epoch from '2026-06-29 03:05:09'::timestamp) - extract(epoch from '2026-06-29 03:05: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'), 46720, 'SRID=4674;POINT (-40.342475 -2.801101)', '2026-06-29 03:05:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342518 -2.801103)'), GeomFromEWKT('SRID=4674;POINT (-40.342475 -2.801101)'))) / (select extract(epoch from '2026-06-29 03:05:11'::timestamp) - extract(epoch from '2026-06-29 03:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342518 -2.801103)'), GeomFromEWKT('SRID=4674;POINT (-40.342475 -2.801101)'))) / (select extract(epoch from '2026-06-29 03:05:11'::timestamp) - extract(epoch from '2026-06-29 03:05: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'), 46720, 'SRID=4674;POINT (-40.342312 -2.801086)', '2026-06-29 03:05:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342475 -2.801101)'), GeomFromEWKT('SRID=4674;POINT (-40.342312 -2.801086)'))) / (select extract(epoch from '2026-06-29 03:05:19'::timestamp) - extract(epoch from '2026-06-29 03:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342475 -2.801101)'), GeomFromEWKT('SRID=4674;POINT (-40.342312 -2.801086)'))) / (select extract(epoch from '2026-06-29 03:05:19'::timestamp) - extract(epoch from '2026-06-29 03:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.342115 -2.801026)', '2026-06-29 03:05:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342312 -2.801086)'), GeomFromEWKT('SRID=4674;POINT (-40.342115 -2.801026)'))) / (select extract(epoch from '2026-06-29 03:05:29'::timestamp) - extract(epoch from '2026-06-29 03:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342312 -2.801086)'), GeomFromEWKT('SRID=4674;POINT (-40.342115 -2.801026)'))) / (select extract(epoch from '2026-06-29 03:05:29'::timestamp) - extract(epoch from '2026-06-29 03:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.34194 -2.800976)', '2026-06-29 03:05:38', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342115 -2.801026)'), GeomFromEWKT('SRID=4674;POINT (-40.34194 -2.800976)'))) / (select extract(epoch from '2026-06-29 03:05:38'::timestamp) - extract(epoch from '2026-06-29 03:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342115 -2.801026)'), GeomFromEWKT('SRID=4674;POINT (-40.34194 -2.800976)'))) / (select extract(epoch from '2026-06-29 03:05:38'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.341783 -2.800953)', '2026-06-29 03:05:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34194 -2.800976)'), GeomFromEWKT('SRID=4674;POINT (-40.341783 -2.800953)'))) / (select extract(epoch from '2026-06-29 03:05:45'::timestamp) - extract(epoch from '2026-06-29 03:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34194 -2.800976)'), GeomFromEWKT('SRID=4674;POINT (-40.341783 -2.800953)'))) / (select extract(epoch from '2026-06-29 03:05:45'::timestamp) - extract(epoch from '2026-06-29 03:05: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'), 46720, 'SRID=4674;POINT (-40.341649 -2.80093)', '2026-06-29 03:05:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341783 -2.800953)'), GeomFromEWKT('SRID=4674;POINT (-40.341649 -2.80093)'))) / (select extract(epoch from '2026-06-29 03:05:51'::timestamp) - extract(epoch from '2026-06-29 03:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341783 -2.800953)'), GeomFromEWKT('SRID=4674;POINT (-40.341649 -2.80093)'))) / (select extract(epoch from '2026-06-29 03:05:51'::timestamp) - extract(epoch from '2026-06-29 03:05:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.34148 -2.800884)', '2026-06-29 03:05:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341649 -2.80093)'), GeomFromEWKT('SRID=4674;POINT (-40.34148 -2.800884)'))) / (select extract(epoch from '2026-06-29 03:05:59'::timestamp) - extract(epoch from '2026-06-29 03:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341649 -2.80093)'), GeomFromEWKT('SRID=4674;POINT (-40.34148 -2.800884)'))) / (select extract(epoch from '2026-06-29 03:05:59'::timestamp) - extract(epoch from '2026-06-29 03:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341356 -2.800854)', '2026-06-29 03:06:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34148 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.341356 -2.800854)'))) / (select extract(epoch from '2026-06-29 03:06:05'::timestamp) - extract(epoch from '2026-06-29 03:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34148 -2.800884)'), GeomFromEWKT('SRID=4674;POINT (-40.341356 -2.800854)'))) / (select extract(epoch from '2026-06-29 03:06:05'::timestamp) - extract(epoch from '2026-06-29 03:05: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'), 46720, 'SRID=4674;POINT (-40.34121 -2.800822)', '2026-06-29 03:06:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341356 -2.800854)'), GeomFromEWKT('SRID=4674;POINT (-40.34121 -2.800822)'))) / (select extract(epoch from '2026-06-29 03:06:12'::timestamp) - extract(epoch from '2026-06-29 03:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341356 -2.800854)'), GeomFromEWKT('SRID=4674;POINT (-40.34121 -2.800822)'))) / (select extract(epoch from '2026-06-29 03:06:12'::timestamp) - extract(epoch from '2026-06-29 03:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341085 -2.800789)', '2026-06-29 03:06:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34121 -2.800822)'), GeomFromEWKT('SRID=4674;POINT (-40.341085 -2.800789)'))) / (select extract(epoch from '2026-06-29 03:06:18'::timestamp) - extract(epoch from '2026-06-29 03:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34121 -2.800822)'), GeomFromEWKT('SRID=4674;POINT (-40.341085 -2.800789)'))) / (select extract(epoch from '2026-06-29 03:06:18'::timestamp) - extract(epoch from '2026-06-29 03:06:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.340871 -2.800726)', '2026-06-29 03:06:28', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341085 -2.800789)'), GeomFromEWKT('SRID=4674;POINT (-40.340871 -2.800726)'))) / (select extract(epoch from '2026-06-29 03:06:28'::timestamp) - extract(epoch from '2026-06-29 03:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341085 -2.800789)'), GeomFromEWKT('SRID=4674;POINT (-40.340871 -2.800726)'))) / (select extract(epoch from '2026-06-29 03:06:28'::timestamp) - extract(epoch from '2026-06-29 03:06: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'), 46720, 'SRID=4674;POINT (-40.340753 -2.800693)', '2026-06-29 03:06:34', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340871 -2.800726)'), GeomFromEWKT('SRID=4674;POINT (-40.340753 -2.800693)'))) / (select extract(epoch from '2026-06-29 03:06:34'::timestamp) - extract(epoch from '2026-06-29 03:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340871 -2.800726)'), GeomFromEWKT('SRID=4674;POINT (-40.340753 -2.800693)'))) / (select extract(epoch from '2026-06-29 03:06:34'::timestamp) - extract(epoch from '2026-06-29 03:06: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'), 46720, 'SRID=4674;POINT (-40.340569 -2.800634)', '2026-06-29 03:06:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340753 -2.800693)'), GeomFromEWKT('SRID=4674;POINT (-40.340569 -2.800634)'))) / (select extract(epoch from '2026-06-29 03:06:43'::timestamp) - extract(epoch from '2026-06-29 03:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340753 -2.800693)'), GeomFromEWKT('SRID=4674;POINT (-40.340569 -2.800634)'))) / (select extract(epoch from '2026-06-29 03:06:43'::timestamp) - extract(epoch from '2026-06-29 03:06: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'), 46720, 'SRID=4674;POINT (-40.340412 -2.800568)', '2026-06-29 03:06:51', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340569 -2.800634)'), GeomFromEWKT('SRID=4674;POINT (-40.340412 -2.800568)'))) / (select extract(epoch from '2026-06-29 03:06:51'::timestamp) - extract(epoch from '2026-06-29 03:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340569 -2.800634)'), GeomFromEWKT('SRID=4674;POINT (-40.340412 -2.800568)'))) / (select extract(epoch from '2026-06-29 03:06:51'::timestamp) - extract(epoch from '2026-06-29 03:06: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'), 46720, 'SRID=4674;POINT (-40.340293 -2.800526)', '2026-06-29 03:06:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340412 -2.800568)'), GeomFromEWKT('SRID=4674;POINT (-40.340293 -2.800526)'))) / (select extract(epoch from '2026-06-29 03:06:57'::timestamp) - extract(epoch from '2026-06-29 03:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340412 -2.800568)'), GeomFromEWKT('SRID=4674;POINT (-40.340293 -2.800526)'))) / (select extract(epoch from '2026-06-29 03:06:57'::timestamp) - extract(epoch from '2026-06-29 03:06: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'), 46720, 'SRID=4674;POINT (-40.340108 -2.800476)', '2026-06-29 03:07:06', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340293 -2.800526)'), GeomFromEWKT('SRID=4674;POINT (-40.340108 -2.800476)'))) / (select extract(epoch from '2026-06-29 03:07:06'::timestamp) - extract(epoch from '2026-06-29 03:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340293 -2.800526)'), GeomFromEWKT('SRID=4674;POINT (-40.340108 -2.800476)'))) / (select extract(epoch from '2026-06-29 03:07:06'::timestamp) - extract(epoch from '2026-06-29 03:06: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'), 46720, 'SRID=4674;POINT (-40.339918 -2.800419)', '2026-06-29 03:07:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340108 -2.800476)'), GeomFromEWKT('SRID=4674;POINT (-40.339918 -2.800419)'))) / (select extract(epoch from '2026-06-29 03:07:15'::timestamp) - extract(epoch from '2026-06-29 03:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340108 -2.800476)'), GeomFromEWKT('SRID=4674;POINT (-40.339918 -2.800419)'))) / (select extract(epoch from '2026-06-29 03:07:15'::timestamp) - extract(epoch from '2026-06-29 03:07: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'), 46720, 'SRID=4674;POINT (-40.339749 -2.800387)', '2026-06-29 03:07:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339918 -2.800419)'), GeomFromEWKT('SRID=4674;POINT (-40.339749 -2.800387)'))) / (select extract(epoch from '2026-06-29 03:07:23'::timestamp) - extract(epoch from '2026-06-29 03:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339918 -2.800419)'), GeomFromEWKT('SRID=4674;POINT (-40.339749 -2.800387)'))) / (select extract(epoch from '2026-06-29 03:07:23'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.339516 -2.800333)', '2026-06-29 03:07:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339749 -2.800387)'), GeomFromEWKT('SRID=4674;POINT (-40.339516 -2.800333)'))) / (select extract(epoch from '2026-06-29 03:07:34'::timestamp) - extract(epoch from '2026-06-29 03:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339749 -2.800387)'), GeomFromEWKT('SRID=4674;POINT (-40.339516 -2.800333)'))) / (select extract(epoch from '2026-06-29 03:07:34'::timestamp) - extract(epoch from '2026-06-29 03:07: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'), 46720, 'SRID=4674;POINT (-40.339318 -2.800316)', '2026-06-29 03:07:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339516 -2.800333)'), GeomFromEWKT('SRID=4674;POINT (-40.339318 -2.800316)'))) / (select extract(epoch from '2026-06-29 03:07:43'::timestamp) - extract(epoch from '2026-06-29 03:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339516 -2.800333)'), GeomFromEWKT('SRID=4674;POINT (-40.339318 -2.800316)'))) / (select extract(epoch from '2026-06-29 03:07:43'::timestamp) - extract(epoch from '2026-06-29 03:07:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.339121 -2.800311)', '2026-06-29 03:07:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339318 -2.800316)'), GeomFromEWKT('SRID=4674;POINT (-40.339121 -2.800311)'))) / (select extract(epoch from '2026-06-29 03:07:52'::timestamp) - extract(epoch from '2026-06-29 03:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339318 -2.800316)'), GeomFromEWKT('SRID=4674;POINT (-40.339121 -2.800311)'))) / (select extract(epoch from '2026-06-29 03:07:52'::timestamp) - extract(epoch from '2026-06-29 03:07: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'), 46720, 'SRID=4674;POINT (-40.338944 -2.800311)', '2026-06-29 03:08:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339121 -2.800311)'), GeomFromEWKT('SRID=4674;POINT (-40.338944 -2.800311)'))) / (select extract(epoch from '2026-06-29 03:08:00'::timestamp) - extract(epoch from '2026-06-29 03:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339121 -2.800311)'), GeomFromEWKT('SRID=4674;POINT (-40.338944 -2.800311)'))) / (select extract(epoch from '2026-06-29 03:08:00'::timestamp) - extract(epoch from '2026-06-29 03:07: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'), 46720, 'SRID=4674;POINT (-40.338772 -2.800312)', '2026-06-29 03:08:08', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338944 -2.800311)'), GeomFromEWKT('SRID=4674;POINT (-40.338772 -2.800312)'))) / (select extract(epoch from '2026-06-29 03:08:08'::timestamp) - extract(epoch from '2026-06-29 03:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338944 -2.800311)'), GeomFromEWKT('SRID=4674;POINT (-40.338772 -2.800312)'))) / (select extract(epoch from '2026-06-29 03:08:08'::timestamp) - extract(epoch from '2026-06-29 03:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.33864 -2.800312)', '2026-06-29 03:08:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338772 -2.800312)'), GeomFromEWKT('SRID=4674;POINT (-40.33864 -2.800312)'))) / (select extract(epoch from '2026-06-29 03:08:14'::timestamp) - extract(epoch from '2026-06-29 03:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338772 -2.800312)'), GeomFromEWKT('SRID=4674;POINT (-40.33864 -2.800312)'))) / (select extract(epoch from '2026-06-29 03:08:14'::timestamp) - extract(epoch from '2026-06-29 03:08: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'), 46720, 'SRID=4674;POINT (-40.338394 -2.800305)', '2026-06-29 03:08:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33864 -2.800312)'), GeomFromEWKT('SRID=4674;POINT (-40.338394 -2.800305)'))) / (select extract(epoch from '2026-06-29 03:08:25'::timestamp) - extract(epoch from '2026-06-29 03:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33864 -2.800312)'), GeomFromEWKT('SRID=4674;POINT (-40.338394 -2.800305)'))) / (select extract(epoch from '2026-06-29 03:08:25'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.338224 -2.800292)', '2026-06-29 03:08:33', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338394 -2.800305)'), GeomFromEWKT('SRID=4674;POINT (-40.338224 -2.800292)'))) / (select extract(epoch from '2026-06-29 03:08:33'::timestamp) - extract(epoch from '2026-06-29 03:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338394 -2.800305)'), GeomFromEWKT('SRID=4674;POINT (-40.338224 -2.800292)'))) / (select extract(epoch from '2026-06-29 03:08:33'::timestamp) - extract(epoch from '2026-06-29 03:08: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'), 46720, 'SRID=4674;POINT (-40.338051 -2.800267)', '2026-06-29 03:08:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338224 -2.800292)'), GeomFromEWKT('SRID=4674;POINT (-40.338051 -2.800267)'))) / (select extract(epoch from '2026-06-29 03:08:41'::timestamp) - extract(epoch from '2026-06-29 03:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338224 -2.800292)'), GeomFromEWKT('SRID=4674;POINT (-40.338051 -2.800267)'))) / (select extract(epoch from '2026-06-29 03:08:41'::timestamp) - extract(epoch from '2026-06-29 03:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.337904 -2.800257)', '2026-06-29 03:08:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338051 -2.800267)'), GeomFromEWKT('SRID=4674;POINT (-40.337904 -2.800257)'))) / (select extract(epoch from '2026-06-29 03:08:48'::timestamp) - extract(epoch from '2026-06-29 03:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338051 -2.800267)'), GeomFromEWKT('SRID=4674;POINT (-40.337904 -2.800257)'))) / (select extract(epoch from '2026-06-29 03:08:48'::timestamp) - extract(epoch from '2026-06-29 03:08: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'), 46720, 'SRID=4674;POINT (-40.337703 -2.800264)', '2026-06-29 03:08:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337904 -2.800257)'), GeomFromEWKT('SRID=4674;POINT (-40.337703 -2.800264)'))) / (select extract(epoch from '2026-06-29 03:08:57'::timestamp) - extract(epoch from '2026-06-29 03:08:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337904 -2.800257)'), GeomFromEWKT('SRID=4674;POINT (-40.337703 -2.800264)'))) / (select extract(epoch from '2026-06-29 03:08:57'::timestamp) - extract(epoch from '2026-06-29 03:08: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'), 46720, 'SRID=4674;POINT (-40.337458 -2.800312)', '2026-06-29 03:09:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337703 -2.800264)'), GeomFromEWKT('SRID=4674;POINT (-40.337458 -2.800312)'))) / (select extract(epoch from '2026-06-29 03:09:08'::timestamp) - extract(epoch from '2026-06-29 03:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337703 -2.800264)'), GeomFromEWKT('SRID=4674;POINT (-40.337458 -2.800312)'))) / (select extract(epoch from '2026-06-29 03:09:08'::timestamp) - extract(epoch from '2026-06-29 03:08: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'), 46720, 'SRID=4674;POINT (-40.337243 -2.800353)', '2026-06-29 03:09:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337458 -2.800312)'), GeomFromEWKT('SRID=4674;POINT (-40.337243 -2.800353)'))) / (select extract(epoch from '2026-06-29 03:09:18'::timestamp) - extract(epoch from '2026-06-29 03:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337458 -2.800312)'), GeomFromEWKT('SRID=4674;POINT (-40.337243 -2.800353)'))) / (select extract(epoch from '2026-06-29 03:09:18'::timestamp) - extract(epoch from '2026-06-29 03:09: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'), 46720, 'SRID=4674;POINT (-40.337046 -2.800373)', '2026-06-29 03:09:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337243 -2.800353)'), GeomFromEWKT('SRID=4674;POINT (-40.337046 -2.800373)'))) / (select extract(epoch from '2026-06-29 03:09:27'::timestamp) - extract(epoch from '2026-06-29 03:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337243 -2.800353)'), GeomFromEWKT('SRID=4674;POINT (-40.337046 -2.800373)'))) / (select extract(epoch from '2026-06-29 03:09:27'::timestamp) - extract(epoch from '2026-06-29 03:09: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'), 46720, 'SRID=4674;POINT (-40.336883 -2.800417)', '2026-06-29 03:09:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337046 -2.800373)'), GeomFromEWKT('SRID=4674;POINT (-40.336883 -2.800417)'))) / (select extract(epoch from '2026-06-29 03:09:35'::timestamp) - extract(epoch from '2026-06-29 03:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337046 -2.800373)'), GeomFromEWKT('SRID=4674;POINT (-40.336883 -2.800417)'))) / (select extract(epoch from '2026-06-29 03:09:35'::timestamp) - extract(epoch from '2026-06-29 03:09: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'), 46720, 'SRID=4674;POINT (-40.336744 -2.800467)', '2026-06-29 03:09:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336883 -2.800417)'), GeomFromEWKT('SRID=4674;POINT (-40.336744 -2.800467)'))) / (select extract(epoch from '2026-06-29 03:09:42'::timestamp) - extract(epoch from '2026-06-29 03:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336883 -2.800417)'), GeomFromEWKT('SRID=4674;POINT (-40.336744 -2.800467)'))) / (select extract(epoch from '2026-06-29 03:09:42'::timestamp) - extract(epoch from '2026-06-29 03:09: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'), 46720, 'SRID=4674;POINT (-40.336659 -2.800525)', '2026-06-29 03:09:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336744 -2.800467)'), GeomFromEWKT('SRID=4674;POINT (-40.336659 -2.800525)'))) / (select extract(epoch from '2026-06-29 03:09:48'::timestamp) - extract(epoch from '2026-06-29 03:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336744 -2.800467)'), GeomFromEWKT('SRID=4674;POINT (-40.336659 -2.800525)'))) / (select extract(epoch from '2026-06-29 03:09:48'::timestamp) - extract(epoch from '2026-06-29 03:09: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'), 46720, 'SRID=4674;POINT (-40.336548 -2.800596)', '2026-06-29 03:09:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336659 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.336548 -2.800596)'))) / (select extract(epoch from '2026-06-29 03:09:56'::timestamp) - extract(epoch from '2026-06-29 03:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336659 -2.800525)'), GeomFromEWKT('SRID=4674;POINT (-40.336548 -2.800596)'))) / (select extract(epoch from '2026-06-29 03:09:56'::timestamp) - extract(epoch from '2026-06-29 03:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336463 -2.800645)', '2026-06-29 03:10:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336548 -2.800596)'), GeomFromEWKT('SRID=4674;POINT (-40.336463 -2.800645)'))) / (select extract(epoch from '2026-06-29 03:10:03'::timestamp) - extract(epoch from '2026-06-29 03:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336548 -2.800596)'), GeomFromEWKT('SRID=4674;POINT (-40.336463 -2.800645)'))) / (select extract(epoch from '2026-06-29 03:10:03'::timestamp) - extract(epoch from '2026-06-29 03:09: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'), 46720, 'SRID=4674;POINT (-40.336379 -2.800686)', '2026-06-29 03:10:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336463 -2.800645)'), GeomFromEWKT('SRID=4674;POINT (-40.336379 -2.800686)'))) / (select extract(epoch from '2026-06-29 03:10:11'::timestamp) - extract(epoch from '2026-06-29 03:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336463 -2.800645)'), GeomFromEWKT('SRID=4674;POINT (-40.336379 -2.800686)'))) / (select extract(epoch from '2026-06-29 03:10:11'::timestamp) - extract(epoch from '2026-06-29 03:10: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'), 46720, 'SRID=4674;POINT (-40.336368 -2.80069)', '2026-06-29 03:10:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336379 -2.800686)'), GeomFromEWKT('SRID=4674;POINT (-40.336368 -2.80069)'))) / (select extract(epoch from '2026-06-29 03:10:12'::timestamp) - extract(epoch from '2026-06-29 03:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336379 -2.800686)'), GeomFromEWKT('SRID=4674;POINT (-40.336368 -2.80069)'))) / (select extract(epoch from '2026-06-29 03:10:12'::timestamp) - extract(epoch from '2026-06-29 03:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336333 -2.80068)', '2026-06-29 03:10:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336368 -2.80069)'), GeomFromEWKT('SRID=4674;POINT (-40.336333 -2.80068)'))) / (select extract(epoch from '2026-06-29 03:10:16'::timestamp) - extract(epoch from '2026-06-29 03:10:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336368 -2.80069)'), GeomFromEWKT('SRID=4674;POINT (-40.336333 -2.80068)'))) / (select extract(epoch from '2026-06-29 03:10:16'::timestamp) - extract(epoch from '2026-06-29 03:10: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'), 46720, 'SRID=4674;POINT (-40.336312 -2.800665)', '2026-06-29 03:10:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336333 -2.80068)'), GeomFromEWKT('SRID=4674;POINT (-40.336312 -2.800665)'))) / (select extract(epoch from '2026-06-29 03:10:19'::timestamp) - extract(epoch from '2026-06-29 03:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336333 -2.80068)'), GeomFromEWKT('SRID=4674;POINT (-40.336312 -2.800665)'))) / (select extract(epoch from '2026-06-29 03:10:19'::timestamp) - extract(epoch from '2026-06-29 03:10: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'), 46720, 'SRID=4674;POINT (-40.336297 -2.800652)', '2026-06-29 03:10:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336312 -2.800665)'), GeomFromEWKT('SRID=4674;POINT (-40.336297 -2.800652)'))) / (select extract(epoch from '2026-06-29 03:10:21'::timestamp) - extract(epoch from '2026-06-29 03:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336312 -2.800665)'), GeomFromEWKT('SRID=4674;POINT (-40.336297 -2.800652)'))) / (select extract(epoch from '2026-06-29 03:10:21'::timestamp) - extract(epoch from '2026-06-29 03:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336278 -2.800632)', '2026-06-29 03:10:27', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336297 -2.800652)'), GeomFromEWKT('SRID=4674;POINT (-40.336278 -2.800632)'))) / (select extract(epoch from '2026-06-29 03:10:27'::timestamp) - extract(epoch from '2026-06-29 03:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336297 -2.800652)'), GeomFromEWKT('SRID=4674;POINT (-40.336278 -2.800632)'))) / (select extract(epoch from '2026-06-29 03:10:27'::timestamp) - extract(epoch from '2026-06-29 03:10: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'), 46720, 'SRID=4674;POINT (-40.336262 -2.800577)', '2026-06-29 03:10:40', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336278 -2.800632)'), GeomFromEWKT('SRID=4674;POINT (-40.336262 -2.800577)'))) / (select extract(epoch from '2026-06-29 03:10:40'::timestamp) - extract(epoch from '2026-06-29 03:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336278 -2.800632)'), GeomFromEWKT('SRID=4674;POINT (-40.336262 -2.800577)'))) / (select extract(epoch from '2026-06-29 03:10:40'::timestamp) - extract(epoch from '2026-06-29 03:10: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'), 46720, 'SRID=4674;POINT (-40.336272 -2.800539)', '2026-06-29 03:10:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336262 -2.800577)'), GeomFromEWKT('SRID=4674;POINT (-40.336272 -2.800539)'))) / (select extract(epoch from '2026-06-29 03:10:52'::timestamp) - extract(epoch from '2026-06-29 03:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336262 -2.800577)'), GeomFromEWKT('SRID=4674;POINT (-40.336272 -2.800539)'))) / (select extract(epoch from '2026-06-29 03:10:52'::timestamp) - extract(epoch from '2026-06-29 03:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336316 -2.800479)', '2026-06-29 03:11:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336272 -2.800539)'), GeomFromEWKT('SRID=4674;POINT (-40.336316 -2.800479)'))) / (select extract(epoch from '2026-06-29 03:11:21'::timestamp) - extract(epoch from '2026-06-29 03:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336272 -2.800539)'), GeomFromEWKT('SRID=4674;POINT (-40.336316 -2.800479)'))) / (select extract(epoch from '2026-06-29 03:11:21'::timestamp) - extract(epoch from '2026-06-29 03:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336347 -2.800439)', '2026-06-29 03:11:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336316 -2.800479)'), GeomFromEWKT('SRID=4674;POINT (-40.336347 -2.800439)'))) / (select extract(epoch from '2026-06-29 03:11:46'::timestamp) - extract(epoch from '2026-06-29 03:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336316 -2.800479)'), GeomFromEWKT('SRID=4674;POINT (-40.336347 -2.800439)'))) / (select extract(epoch from '2026-06-29 03:11:46'::timestamp) - extract(epoch from '2026-06-29 03:11: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'), 46720, 'SRID=4674;POINT (-40.336387 -2.800427)', '2026-06-29 03:12:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336347 -2.800439)'), GeomFromEWKT('SRID=4674;POINT (-40.336387 -2.800427)'))) / (select extract(epoch from '2026-06-29 03:12:14'::timestamp) - extract(epoch from '2026-06-29 03:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336347 -2.800439)'), GeomFromEWKT('SRID=4674;POINT (-40.336387 -2.800427)'))) / (select extract(epoch from '2026-06-29 03:12:14'::timestamp) - extract(epoch from '2026-06-29 03:11: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'), 46720, 'SRID=4674;POINT (-40.336406 -2.800405)', '2026-06-29 03:12:39', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336387 -2.800427)'), GeomFromEWKT('SRID=4674;POINT (-40.336406 -2.800405)'))) / (select extract(epoch from '2026-06-29 03:12:39'::timestamp) - extract(epoch from '2026-06-29 03:12:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336387 -2.800427)'), GeomFromEWKT('SRID=4674;POINT (-40.336406 -2.800405)'))) / (select extract(epoch from '2026-06-29 03:12:39'::timestamp) - extract(epoch from '2026-06-29 03:12: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'), 46720, 'SRID=4674;POINT (-40.336442 -2.800399)', '2026-06-29 03:13:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336406 -2.800405)'), GeomFromEWKT('SRID=4674;POINT (-40.336442 -2.800399)'))) / (select extract(epoch from '2026-06-29 03:13:10'::timestamp) - extract(epoch from '2026-06-29 03:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336406 -2.800405)'), GeomFromEWKT('SRID=4674;POINT (-40.336442 -2.800399)'))) / (select extract(epoch from '2026-06-29 03:13:10'::timestamp) - extract(epoch from '2026-06-29 03:12: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'), 46720, 'SRID=4674;POINT (-40.336471 -2.80041)', '2026-06-29 03:13:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336442 -2.800399)'), GeomFromEWKT('SRID=4674;POINT (-40.336471 -2.80041)'))) / (select extract(epoch from '2026-06-29 03:13:31'::timestamp) - extract(epoch from '2026-06-29 03:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336442 -2.800399)'), GeomFromEWKT('SRID=4674;POINT (-40.336471 -2.80041)'))) / (select extract(epoch from '2026-06-29 03:13:31'::timestamp) - extract(epoch from '2026-06-29 03:13:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336485 -2.800409)', '2026-06-29 03:13:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336471 -2.80041)'), GeomFromEWKT('SRID=4674;POINT (-40.336485 -2.800409)'))) / (select extract(epoch from '2026-06-29 03:13:48'::timestamp) - extract(epoch from '2026-06-29 03:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336471 -2.80041)'), GeomFromEWKT('SRID=4674;POINT (-40.336485 -2.800409)'))) / (select extract(epoch from '2026-06-29 03:13:48'::timestamp) - extract(epoch from '2026-06-29 03:13: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'), 46720, 'SRID=4674;POINT (-40.336501 -2.800406)', '2026-06-29 03:14:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336485 -2.800409)'), GeomFromEWKT('SRID=4674;POINT (-40.336501 -2.800406)'))) / (select extract(epoch from '2026-06-29 03:14:08'::timestamp) - extract(epoch from '2026-06-29 03:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336485 -2.800409)'), GeomFromEWKT('SRID=4674;POINT (-40.336501 -2.800406)'))) / (select extract(epoch from '2026-06-29 03:14:08'::timestamp) - extract(epoch from '2026-06-29 03:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336509 -2.800399)', '2026-06-29 03:14:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336501 -2.800406)'), GeomFromEWKT('SRID=4674;POINT (-40.336509 -2.800399)'))) / (select extract(epoch from '2026-06-29 03:14:22'::timestamp) - extract(epoch from '2026-06-29 03:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336501 -2.800406)'), GeomFromEWKT('SRID=4674;POINT (-40.336509 -2.800399)'))) / (select extract(epoch from '2026-06-29 03:14:22'::timestamp) - extract(epoch from '2026-06-29 03:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336523 -2.800392)', '2026-06-29 03:14:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336509 -2.800399)'), GeomFromEWKT('SRID=4674;POINT (-40.336523 -2.800392)'))) / (select extract(epoch from '2026-06-29 03:14:36'::timestamp) - extract(epoch from '2026-06-29 03:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336509 -2.800399)'), GeomFromEWKT('SRID=4674;POINT (-40.336523 -2.800392)'))) / (select extract(epoch from '2026-06-29 03:14:36'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.336529 -2.800379)', '2026-06-29 03:14:48', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336523 -2.800392)'), GeomFromEWKT('SRID=4674;POINT (-40.336529 -2.800379)'))) / (select extract(epoch from '2026-06-29 03:14:48'::timestamp) - extract(epoch from '2026-06-29 03:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336523 -2.800392)'), GeomFromEWKT('SRID=4674;POINT (-40.336529 -2.800379)'))) / (select extract(epoch from '2026-06-29 03:14:48'::timestamp) - extract(epoch from '2026-06-29 03:14: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'), 46720, 'SRID=4674;POINT (-40.336547 -2.80036)', '2026-06-29 03:15:02', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336529 -2.800379)'), GeomFromEWKT('SRID=4674;POINT (-40.336547 -2.80036)'))) / (select extract(epoch from '2026-06-29 03:15:02'::timestamp) - extract(epoch from '2026-06-29 03:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336529 -2.800379)'), GeomFromEWKT('SRID=4674;POINT (-40.336547 -2.80036)'))) / (select extract(epoch from '2026-06-29 03:15:02'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.336578 -2.800326)', '2026-06-29 03:15:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336547 -2.80036)'), GeomFromEWKT('SRID=4674;POINT (-40.336578 -2.800326)'))) / (select extract(epoch from '2026-06-29 03:15:21'::timestamp) - extract(epoch from '2026-06-29 03:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336547 -2.80036)'), GeomFromEWKT('SRID=4674;POINT (-40.336578 -2.800326)'))) / (select extract(epoch from '2026-06-29 03:15:21'::timestamp) - extract(epoch from '2026-06-29 03:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336601 -2.800304)', '2026-06-29 03:15:36', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336578 -2.800326)'), GeomFromEWKT('SRID=4674;POINT (-40.336601 -2.800304)'))) / (select extract(epoch from '2026-06-29 03:15:36'::timestamp) - extract(epoch from '2026-06-29 03:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336578 -2.800326)'), GeomFromEWKT('SRID=4674;POINT (-40.336601 -2.800304)'))) / (select extract(epoch from '2026-06-29 03:15:36'::timestamp) - extract(epoch from '2026-06-29 03:15: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'), 46720, 'SRID=4674;POINT (-40.336632 -2.800268)', '2026-06-29 03:15:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336601 -2.800304)'), GeomFromEWKT('SRID=4674;POINT (-40.336632 -2.800268)'))) / (select extract(epoch from '2026-06-29 03:15:54'::timestamp) - extract(epoch from '2026-06-29 03:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336601 -2.800304)'), GeomFromEWKT('SRID=4674;POINT (-40.336632 -2.800268)'))) / (select extract(epoch from '2026-06-29 03:15:54'::timestamp) - extract(epoch from '2026-06-29 03:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336652 -2.800249)', '2026-06-29 03:16:07', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336632 -2.800268)'), GeomFromEWKT('SRID=4674;POINT (-40.336652 -2.800249)'))) / (select extract(epoch from '2026-06-29 03:16:07'::timestamp) - extract(epoch from '2026-06-29 03:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336632 -2.800268)'), GeomFromEWKT('SRID=4674;POINT (-40.336652 -2.800249)'))) / (select extract(epoch from '2026-06-29 03:16:07'::timestamp) - extract(epoch from '2026-06-29 03:15:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336677 -2.800232)', '2026-06-29 03:16:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336652 -2.800249)'), GeomFromEWKT('SRID=4674;POINT (-40.336677 -2.800232)'))) / (select extract(epoch from '2026-06-29 03:16:21'::timestamp) - extract(epoch from '2026-06-29 03:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336652 -2.800249)'), GeomFromEWKT('SRID=4674;POINT (-40.336677 -2.800232)'))) / (select extract(epoch from '2026-06-29 03:16:21'::timestamp) - extract(epoch from '2026-06-29 03:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336706 -2.800216)', '2026-06-29 03:16:40', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336677 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.336706 -2.800216)'))) / (select extract(epoch from '2026-06-29 03:16:40'::timestamp) - extract(epoch from '2026-06-29 03:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336677 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.336706 -2.800216)'))) / (select extract(epoch from '2026-06-29 03:16:40'::timestamp) - extract(epoch from '2026-06-29 03:16: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'), 46720, 'SRID=4674;POINT (-40.336727 -2.800201)', '2026-06-29 03:16:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336706 -2.800216)'), GeomFromEWKT('SRID=4674;POINT (-40.336727 -2.800201)'))) / (select extract(epoch from '2026-06-29 03:16:58'::timestamp) - extract(epoch from '2026-06-29 03:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336706 -2.800216)'), GeomFromEWKT('SRID=4674;POINT (-40.336727 -2.800201)'))) / (select extract(epoch from '2026-06-29 03:16:58'::timestamp) - extract(epoch from '2026-06-29 03:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336761 -2.800193)', '2026-06-29 03:17:13', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336727 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.336761 -2.800193)'))) / (select extract(epoch from '2026-06-29 03:17:13'::timestamp) - extract(epoch from '2026-06-29 03:16:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336727 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.336761 -2.800193)'))) / (select extract(epoch from '2026-06-29 03:17:13'::timestamp) - extract(epoch from '2026-06-29 03:16:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.336789 -2.80019)', '2026-06-29 03:17:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336761 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.336789 -2.80019)'))) / (select extract(epoch from '2026-06-29 03:17:34'::timestamp) - extract(epoch from '2026-06-29 03:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336761 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.336789 -2.80019)'))) / (select extract(epoch from '2026-06-29 03:17:34'::timestamp) - extract(epoch from '2026-06-29 03:17: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'), 46720, 'SRID=4674;POINT (-40.33684 -2.800196)', '2026-06-29 03:17:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336789 -2.80019)'), GeomFromEWKT('SRID=4674;POINT (-40.33684 -2.800196)'))) / (select extract(epoch from '2026-06-29 03:17:52'::timestamp) - extract(epoch from '2026-06-29 03:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336789 -2.80019)'), GeomFromEWKT('SRID=4674;POINT (-40.33684 -2.800196)'))) / (select extract(epoch from '2026-06-29 03:17:52'::timestamp) - extract(epoch from '2026-06-29 03:17: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'), 46720, 'SRID=4674;POINT (-40.336878 -2.800205)', '2026-06-29 03:18:04', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33684 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.336878 -2.800205)'))) / (select extract(epoch from '2026-06-29 03:18:04'::timestamp) - extract(epoch from '2026-06-29 03:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33684 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.336878 -2.800205)'))) / (select extract(epoch from '2026-06-29 03:18:04'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.33691 -2.80021)', '2026-06-29 03:18:16', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336878 -2.800205)'), GeomFromEWKT('SRID=4674;POINT (-40.33691 -2.80021)'))) / (select extract(epoch from '2026-06-29 03:18:16'::timestamp) - extract(epoch from '2026-06-29 03:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336878 -2.800205)'), GeomFromEWKT('SRID=4674;POINT (-40.33691 -2.80021)'))) / (select extract(epoch from '2026-06-29 03:18:16'::timestamp) - extract(epoch from '2026-06-29 03:18: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'), 46720, 'SRID=4674;POINT (-40.33699 -2.800222)', '2026-06-29 03:18:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33691 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.800222)'))) / (select extract(epoch from '2026-06-29 03:18:34'::timestamp) - extract(epoch from '2026-06-29 03:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33691 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.800222)'))) / (select extract(epoch from '2026-06-29 03:18:34'::timestamp) - extract(epoch from '2026-06-29 03:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.337078 -2.800214)', '2026-06-29 03:18:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.337078 -2.800214)'))) / (select extract(epoch from '2026-06-29 03:18:53'::timestamp) - extract(epoch from '2026-06-29 03:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33699 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.337078 -2.800214)'))) / (select extract(epoch from '2026-06-29 03:18:53'::timestamp) - extract(epoch from '2026-06-29 03:18:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.33714 -2.800206)', '2026-06-29 03:19:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337078 -2.800214)'), GeomFromEWKT('SRID=4674;POINT (-40.33714 -2.800206)'))) / (select extract(epoch from '2026-06-29 03:19:09'::timestamp) - extract(epoch from '2026-06-29 03:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337078 -2.800214)'), GeomFromEWKT('SRID=4674;POINT (-40.33714 -2.800206)'))) / (select extract(epoch from '2026-06-29 03:19:09'::timestamp) - extract(epoch from '2026-06-29 03:18: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'), 46720, 'SRID=4674;POINT (-40.337219 -2.8002)', '2026-06-29 03:19:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33714 -2.800206)'), GeomFromEWKT('SRID=4674;POINT (-40.337219 -2.8002)'))) / (select extract(epoch from '2026-06-29 03:19:30'::timestamp) - extract(epoch from '2026-06-29 03:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33714 -2.800206)'), GeomFromEWKT('SRID=4674;POINT (-40.337219 -2.8002)'))) / (select extract(epoch from '2026-06-29 03:19:30'::timestamp) - extract(epoch from '2026-06-29 03:19:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.337291 -2.800196)', '2026-06-29 03:19:47', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337219 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.337291 -2.800196)'))) / (select extract(epoch from '2026-06-29 03:19:47'::timestamp) - extract(epoch from '2026-06-29 03:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337219 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.337291 -2.800196)'))) / (select extract(epoch from '2026-06-29 03:19:47'::timestamp) - extract(epoch from '2026-06-29 03:19:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.337367 -2.800217)', '2026-06-29 03:20:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337291 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.337367 -2.800217)'))) / (select extract(epoch from '2026-06-29 03:20:06'::timestamp) - extract(epoch from '2026-06-29 03:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337291 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.337367 -2.800217)'))) / (select extract(epoch from '2026-06-29 03:20:06'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.33743 -2.80022)', '2026-06-29 03:20:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337367 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.33743 -2.80022)'))) / (select extract(epoch from '2026-06-29 03:20:21'::timestamp) - extract(epoch from '2026-06-29 03:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337367 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.33743 -2.80022)'))) / (select extract(epoch from '2026-06-29 03:20:21'::timestamp) - extract(epoch from '2026-06-29 03:20: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'), 46720, 'SRID=4674;POINT (-40.337503 -2.800228)', '2026-06-29 03:20:37', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33743 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.337503 -2.800228)'))) / (select extract(epoch from '2026-06-29 03:20:37'::timestamp) - extract(epoch from '2026-06-29 03:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33743 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.337503 -2.800228)'))) / (select extract(epoch from '2026-06-29 03:20:37'::timestamp) - extract(epoch from '2026-06-29 03:20: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'), 46720, 'SRID=4674;POINT (-40.337581 -2.800232)', '2026-06-29 03:20:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337503 -2.800228)'), GeomFromEWKT('SRID=4674;POINT (-40.337581 -2.800232)'))) / (select extract(epoch from '2026-06-29 03:20:52'::timestamp) - extract(epoch from '2026-06-29 03:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337503 -2.800228)'), GeomFromEWKT('SRID=4674;POINT (-40.337581 -2.800232)'))) / (select extract(epoch from '2026-06-29 03:20:52'::timestamp) - extract(epoch from '2026-06-29 03:20: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'), 46720, 'SRID=4674;POINT (-40.337632 -2.800228)', '2026-06-29 03:21:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337581 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.337632 -2.800228)'))) / (select extract(epoch from '2026-06-29 03:21:04'::timestamp) - extract(epoch from '2026-06-29 03:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337581 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.337632 -2.800228)'))) / (select extract(epoch from '2026-06-29 03:21:04'::timestamp) - extract(epoch from '2026-06-29 03:20: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'), 46720, 'SRID=4674;POINT (-40.337689 -2.800215)', '2026-06-29 03:21:18', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337632 -2.800228)'), GeomFromEWKT('SRID=4674;POINT (-40.337689 -2.800215)'))) / (select extract(epoch from '2026-06-29 03:21:18'::timestamp) - extract(epoch from '2026-06-29 03:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337632 -2.800228)'), GeomFromEWKT('SRID=4674;POINT (-40.337689 -2.800215)'))) / (select extract(epoch from '2026-06-29 03:21:18'::timestamp) - extract(epoch from '2026-06-29 03:21: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'), 46720, 'SRID=4674;POINT (-40.337732 -2.800215)', '2026-06-29 03:21:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337689 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.337732 -2.800215)'))) / (select extract(epoch from '2026-06-29 03:21:28'::timestamp) - extract(epoch from '2026-06-29 03:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337689 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.337732 -2.800215)'))) / (select extract(epoch from '2026-06-29 03:21:28'::timestamp) - extract(epoch from '2026-06-29 03:21: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'), 46720, 'SRID=4674;POINT (-40.337794 -2.800219)', '2026-06-29 03:21:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337732 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.337794 -2.800219)'))) / (select extract(epoch from '2026-06-29 03:21:39'::timestamp) - extract(epoch from '2026-06-29 03:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337732 -2.800215)'), GeomFromEWKT('SRID=4674;POINT (-40.337794 -2.800219)'))) / (select extract(epoch from '2026-06-29 03:21:39'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.337871 -2.800211)', '2026-06-29 03:21:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337794 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.337871 -2.800211)'))) / (select extract(epoch from '2026-06-29 03:21:53'::timestamp) - extract(epoch from '2026-06-29 03:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337794 -2.800219)'), GeomFromEWKT('SRID=4674;POINT (-40.337871 -2.800211)'))) / (select extract(epoch from '2026-06-29 03:21:53'::timestamp) - extract(epoch from '2026-06-29 03:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.337965 -2.800208)', '2026-06-29 03:22:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337871 -2.800211)'), GeomFromEWKT('SRID=4674;POINT (-40.337965 -2.800208)'))) / (select extract(epoch from '2026-06-29 03:22:11'::timestamp) - extract(epoch from '2026-06-29 03:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337871 -2.800211)'), GeomFromEWKT('SRID=4674;POINT (-40.337965 -2.800208)'))) / (select extract(epoch from '2026-06-29 03:22:11'::timestamp) - extract(epoch from '2026-06-29 03:21:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.338047 -2.80021)', '2026-06-29 03:22:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337965 -2.800208)'), GeomFromEWKT('SRID=4674;POINT (-40.338047 -2.80021)'))) / (select extract(epoch from '2026-06-29 03:22:27'::timestamp) - extract(epoch from '2026-06-29 03:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337965 -2.800208)'), GeomFromEWKT('SRID=4674;POINT (-40.338047 -2.80021)'))) / (select extract(epoch from '2026-06-29 03:22:27'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.338121 -2.800218)', '2026-06-29 03:22:45', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338047 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.338121 -2.800218)'))) / (select extract(epoch from '2026-06-29 03:22:45'::timestamp) - extract(epoch from '2026-06-29 03:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338047 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.338121 -2.800218)'))) / (select extract(epoch from '2026-06-29 03:22:45'::timestamp) - extract(epoch from '2026-06-29 03:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.338191 -2.800217)', '2026-06-29 03:22:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338121 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.338191 -2.800217)'))) / (select extract(epoch from '2026-06-29 03:22:57'::timestamp) - extract(epoch from '2026-06-29 03:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338121 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.338191 -2.800217)'))) / (select extract(epoch from '2026-06-29 03:22:57'::timestamp) - extract(epoch from '2026-06-29 03:22: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'), 46720, 'SRID=4674;POINT (-40.338261 -2.800211)', '2026-06-29 03:23:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338191 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.338261 -2.800211)'))) / (select extract(epoch from '2026-06-29 03:23:09'::timestamp) - extract(epoch from '2026-06-29 03:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338191 -2.800217)'), GeomFromEWKT('SRID=4674;POINT (-40.338261 -2.800211)'))) / (select extract(epoch from '2026-06-29 03:23:09'::timestamp) - extract(epoch from '2026-06-29 03:22: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'), 46720, 'SRID=4674;POINT (-40.338322 -2.800218)', '2026-06-29 03:23:19', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338261 -2.800211)'), GeomFromEWKT('SRID=4674;POINT (-40.338322 -2.800218)'))) / (select extract(epoch from '2026-06-29 03:23:19'::timestamp) - extract(epoch from '2026-06-29 03:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338261 -2.800211)'), GeomFromEWKT('SRID=4674;POINT (-40.338322 -2.800218)'))) / (select extract(epoch from '2026-06-29 03:23:19'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.338382 -2.800222)', '2026-06-29 03:23:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338322 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.338382 -2.800222)'))) / (select extract(epoch from '2026-06-29 03:23:29'::timestamp) - extract(epoch from '2026-06-29 03:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338322 -2.800218)'), GeomFromEWKT('SRID=4674;POINT (-40.338382 -2.800222)'))) / (select extract(epoch from '2026-06-29 03:23:29'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.338457 -2.800223)', '2026-06-29 03:23:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338382 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.338457 -2.800223)'))) / (select extract(epoch from '2026-06-29 03:23:45'::timestamp) - extract(epoch from '2026-06-29 03:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338382 -2.800222)'), GeomFromEWKT('SRID=4674;POINT (-40.338457 -2.800223)'))) / (select extract(epoch from '2026-06-29 03:23:45'::timestamp) - extract(epoch from '2026-06-29 03:23: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'), 46720, 'SRID=4674;POINT (-40.338515 -2.800212)', '2026-06-29 03:24:00', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338457 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.338515 -2.800212)'))) / (select extract(epoch from '2026-06-29 03:24:00'::timestamp) - extract(epoch from '2026-06-29 03:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338457 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.338515 -2.800212)'))) / (select extract(epoch from '2026-06-29 03:24:00'::timestamp) - extract(epoch from '2026-06-29 03:23: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'), 46720, 'SRID=4674;POINT (-40.338564 -2.80022)', '2026-06-29 03:24:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338515 -2.800212)'), GeomFromEWKT('SRID=4674;POINT (-40.338564 -2.80022)'))) / (select extract(epoch from '2026-06-29 03:24:12'::timestamp) - extract(epoch from '2026-06-29 03:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338515 -2.800212)'), GeomFromEWKT('SRID=4674;POINT (-40.338564 -2.80022)'))) / (select extract(epoch from '2026-06-29 03:24:12'::timestamp) - extract(epoch from '2026-06-29 03:24:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.33862 -2.800216)', '2026-06-29 03:24:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338564 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.33862 -2.800216)'))) / (select extract(epoch from '2026-06-29 03:24:24'::timestamp) - extract(epoch from '2026-06-29 03:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338564 -2.80022)'), GeomFromEWKT('SRID=4674;POINT (-40.33862 -2.800216)'))) / (select extract(epoch from '2026-06-29 03:24:24'::timestamp) - extract(epoch from '2026-06-29 03:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.338705 -2.800209)', '2026-06-29 03:24:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33862 -2.800216)'), GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.800209)'))) / (select extract(epoch from '2026-06-29 03:24:42'::timestamp) - extract(epoch from '2026-06-29 03:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33862 -2.800216)'), GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.800209)'))) / (select extract(epoch from '2026-06-29 03:24:42'::timestamp) - extract(epoch from '2026-06-29 03:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.338781 -2.80021)', '2026-06-29 03:24:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.800209)'), GeomFromEWKT('SRID=4674;POINT (-40.338781 -2.80021)'))) / (select extract(epoch from '2026-06-29 03:24:58'::timestamp) - extract(epoch from '2026-06-29 03:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338705 -2.800209)'), GeomFromEWKT('SRID=4674;POINT (-40.338781 -2.80021)'))) / (select extract(epoch from '2026-06-29 03:24:58'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.338852 -2.800208)', '2026-06-29 03:25:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338781 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.338852 -2.800208)'))) / (select extract(epoch from '2026-06-29 03:25:13'::timestamp) - extract(epoch from '2026-06-29 03:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338781 -2.80021)'), GeomFromEWKT('SRID=4674;POINT (-40.338852 -2.800208)'))) / (select extract(epoch from '2026-06-29 03:25:13'::timestamp) - extract(epoch from '2026-06-29 03:24: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'), 46720, 'SRID=4674;POINT (-40.338895 -2.800196)', '2026-06-29 03:25:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338852 -2.800208)'), GeomFromEWKT('SRID=4674;POINT (-40.338895 -2.800196)'))) / (select extract(epoch from '2026-06-29 03:25:26'::timestamp) - extract(epoch from '2026-06-29 03:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338852 -2.800208)'), GeomFromEWKT('SRID=4674;POINT (-40.338895 -2.800196)'))) / (select extract(epoch from '2026-06-29 03:25:26'::timestamp) - extract(epoch from '2026-06-29 03:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.33893 -2.800193)', '2026-06-29 03:25:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338895 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.33893 -2.800193)'))) / (select extract(epoch from '2026-06-29 03:25:36'::timestamp) - extract(epoch from '2026-06-29 03:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338895 -2.800196)'), GeomFromEWKT('SRID=4674;POINT (-40.33893 -2.800193)'))) / (select extract(epoch from '2026-06-29 03:25:36'::timestamp) - extract(epoch from '2026-06-29 03:25:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.338974 -2.800188)', '2026-06-29 03:25:46', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33893 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.338974 -2.800188)'))) / (select extract(epoch from '2026-06-29 03:25:46'::timestamp) - extract(epoch from '2026-06-29 03:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33893 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.338974 -2.800188)'))) / (select extract(epoch from '2026-06-29 03:25:46'::timestamp) - extract(epoch from '2026-06-29 03:25: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'), 46720, 'SRID=4674;POINT (-40.339014 -2.800193)', '2026-06-29 03:25:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338974 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.339014 -2.800193)'))) / (select extract(epoch from '2026-06-29 03:25:54'::timestamp) - extract(epoch from '2026-06-29 03:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338974 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.339014 -2.800193)'))) / (select extract(epoch from '2026-06-29 03:25:54'::timestamp) - extract(epoch from '2026-06-29 03:25: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'), 46720, 'SRID=4674;POINT (-40.339066 -2.800189)', '2026-06-29 03:26:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339014 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.339066 -2.800189)'))) / (select extract(epoch from '2026-06-29 03:26:06'::timestamp) - extract(epoch from '2026-06-29 03:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339014 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.339066 -2.800189)'))) / (select extract(epoch from '2026-06-29 03:26:06'::timestamp) - extract(epoch from '2026-06-29 03:25: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'), 46720, 'SRID=4674;POINT (-40.339129 -2.800188)', '2026-06-29 03:26:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339066 -2.800189)'), GeomFromEWKT('SRID=4674;POINT (-40.339129 -2.800188)'))) / (select extract(epoch from '2026-06-29 03:26:21'::timestamp) - extract(epoch from '2026-06-29 03:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339066 -2.800189)'), GeomFromEWKT('SRID=4674;POINT (-40.339129 -2.800188)'))) / (select extract(epoch from '2026-06-29 03:26:21'::timestamp) - extract(epoch from '2026-06-29 03:26: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'), 46720, 'SRID=4674;POINT (-40.339247 -2.800204)', '2026-06-29 03:26:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339129 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.339247 -2.800204)'))) / (select extract(epoch from '2026-06-29 03:26:50'::timestamp) - extract(epoch from '2026-06-29 03:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339129 -2.800188)'), GeomFromEWKT('SRID=4674;POINT (-40.339247 -2.800204)'))) / (select extract(epoch from '2026-06-29 03:26:50'::timestamp) - extract(epoch from '2026-06-29 03:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.339375 -2.800193)', '2026-06-29 03:27:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339247 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.339375 -2.800193)'))) / (select extract(epoch from '2026-06-29 03:27:17'::timestamp) - extract(epoch from '2026-06-29 03:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339247 -2.800204)'), GeomFromEWKT('SRID=4674;POINT (-40.339375 -2.800193)'))) / (select extract(epoch from '2026-06-29 03:27:17'::timestamp) - extract(epoch from '2026-06-29 03:26: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'), 46720, 'SRID=4674;POINT (-40.339548 -2.800198)', '2026-06-29 03:27:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339375 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.339548 -2.800198)'))) / (select extract(epoch from '2026-06-29 03:27:54'::timestamp) - extract(epoch from '2026-06-29 03:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339375 -2.800193)'), GeomFromEWKT('SRID=4674;POINT (-40.339548 -2.800198)'))) / (select extract(epoch from '2026-06-29 03:27:54'::timestamp) - extract(epoch from '2026-06-29 03:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.339664 -2.800197)', '2026-06-29 03:28:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339548 -2.800198)'), GeomFromEWKT('SRID=4674;POINT (-40.339664 -2.800197)'))) / (select extract(epoch from '2026-06-29 03:28:22'::timestamp) - extract(epoch from '2026-06-29 03:27:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339548 -2.800198)'), GeomFromEWKT('SRID=4674;POINT (-40.339664 -2.800197)'))) / (select extract(epoch from '2026-06-29 03:28:22'::timestamp) - extract(epoch from '2026-06-29 03:27: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'), 46720, 'SRID=4674;POINT (-40.339798 -2.800202)', '2026-06-29 03:28:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339664 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.339798 -2.800202)'))) / (select extract(epoch from '2026-06-29 03:28:56'::timestamp) - extract(epoch from '2026-06-29 03:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339664 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.339798 -2.800202)'))) / (select extract(epoch from '2026-06-29 03:28:56'::timestamp) - extract(epoch from '2026-06-29 03:28:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.339949 -2.800224)', '2026-06-29 03:29:31', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339798 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.339949 -2.800224)'))) / (select extract(epoch from '2026-06-29 03:29:31'::timestamp) - extract(epoch from '2026-06-29 03:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339798 -2.800202)'), GeomFromEWKT('SRID=4674;POINT (-40.339949 -2.800224)'))) / (select extract(epoch from '2026-06-29 03:29:31'::timestamp) - extract(epoch from '2026-06-29 03:28:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.34008 -2.800223)', '2026-06-29 03:29:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339949 -2.800224)'), GeomFromEWKT('SRID=4674;POINT (-40.34008 -2.800223)'))) / (select extract(epoch from '2026-06-29 03:29:57'::timestamp) - extract(epoch from '2026-06-29 03:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339949 -2.800224)'), GeomFromEWKT('SRID=4674;POINT (-40.34008 -2.800223)'))) / (select extract(epoch from '2026-06-29 03:29:57'::timestamp) - extract(epoch from '2026-06-29 03:29:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.340207 -2.800226)', '2026-06-29 03:30:20', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34008 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.340207 -2.800226)'))) / (select extract(epoch from '2026-06-29 03:30:20'::timestamp) - extract(epoch from '2026-06-29 03:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34008 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.340207 -2.800226)'))) / (select extract(epoch from '2026-06-29 03:30:20'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.340318 -2.800229)', '2026-06-29 03:30:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340207 -2.800226)'), GeomFromEWKT('SRID=4674;POINT (-40.340318 -2.800229)'))) / (select extract(epoch from '2026-06-29 03:30:39'::timestamp) - extract(epoch from '2026-06-29 03:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340207 -2.800226)'), GeomFromEWKT('SRID=4674;POINT (-40.340318 -2.800229)'))) / (select extract(epoch from '2026-06-29 03:30:39'::timestamp) - extract(epoch from '2026-06-29 03:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.340391 -2.800237)', '2026-06-29 03:30:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340318 -2.800229)'), GeomFromEWKT('SRID=4674;POINT (-40.340391 -2.800237)'))) / (select extract(epoch from '2026-06-29 03:30:54'::timestamp) - extract(epoch from '2026-06-29 03:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340318 -2.800229)'), GeomFromEWKT('SRID=4674;POINT (-40.340391 -2.800237)'))) / (select extract(epoch from '2026-06-29 03:30:54'::timestamp) - extract(epoch from '2026-06-29 03:30:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.340487 -2.800239)', '2026-06-29 03:31:10', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340391 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.340487 -2.800239)'))) / (select extract(epoch from '2026-06-29 03:31:10'::timestamp) - extract(epoch from '2026-06-29 03:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340391 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.340487 -2.800239)'))) / (select extract(epoch from '2026-06-29 03:31:10'::timestamp) - extract(epoch from '2026-06-29 03:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.340569 -2.80023)', '2026-06-29 03:31:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340487 -2.800239)'), GeomFromEWKT('SRID=4674;POINT (-40.340569 -2.80023)'))) / (select extract(epoch from '2026-06-29 03:31:23'::timestamp) - extract(epoch from '2026-06-29 03:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340487 -2.800239)'), GeomFromEWKT('SRID=4674;POINT (-40.340569 -2.80023)'))) / (select extract(epoch from '2026-06-29 03:31:23'::timestamp) - extract(epoch from '2026-06-29 03:31: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'), 46720, 'SRID=4674;POINT (-40.340643 -2.800226)', '2026-06-29 03:31:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340569 -2.80023)'), GeomFromEWKT('SRID=4674;POINT (-40.340643 -2.800226)'))) / (select extract(epoch from '2026-06-29 03:31:38'::timestamp) - extract(epoch from '2026-06-29 03:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340569 -2.80023)'), GeomFromEWKT('SRID=4674;POINT (-40.340643 -2.800226)'))) / (select extract(epoch from '2026-06-29 03:31:38'::timestamp) - extract(epoch from '2026-06-29 03:31: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'), 46720, 'SRID=4674;POINT (-40.34071 -2.800232)', '2026-06-29 03:31:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340643 -2.800226)'), GeomFromEWKT('SRID=4674;POINT (-40.34071 -2.800232)'))) / (select extract(epoch from '2026-06-29 03:31:53'::timestamp) - extract(epoch from '2026-06-29 03:31:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340643 -2.800226)'), GeomFromEWKT('SRID=4674;POINT (-40.34071 -2.800232)'))) / (select extract(epoch from '2026-06-29 03:31:53'::timestamp) - extract(epoch from '2026-06-29 03:31: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'), 46720, 'SRID=4674;POINT (-40.340756 -2.800231)', '2026-06-29 03:32:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34071 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.340756 -2.800231)'))) / (select extract(epoch from '2026-06-29 03:32:02'::timestamp) - extract(epoch from '2026-06-29 03:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34071 -2.800232)'), GeomFromEWKT('SRID=4674;POINT (-40.340756 -2.800231)'))) / (select extract(epoch from '2026-06-29 03:32:02'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.34083 -2.800234)', '2026-06-29 03:32:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340756 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.34083 -2.800234)'))) / (select extract(epoch from '2026-06-29 03:32:18'::timestamp) - extract(epoch from '2026-06-29 03:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340756 -2.800231)'), GeomFromEWKT('SRID=4674;POINT (-40.34083 -2.800234)'))) / (select extract(epoch from '2026-06-29 03:32:18'::timestamp) - extract(epoch from '2026-06-29 03:32:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.340903 -2.800236)', '2026-06-29 03:32:34', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34083 -2.800234)'), GeomFromEWKT('SRID=4674;POINT (-40.340903 -2.800236)'))) / (select extract(epoch from '2026-06-29 03:32:34'::timestamp) - extract(epoch from '2026-06-29 03:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34083 -2.800234)'), GeomFromEWKT('SRID=4674;POINT (-40.340903 -2.800236)'))) / (select extract(epoch from '2026-06-29 03:32:34'::timestamp) - extract(epoch from '2026-06-29 03:32: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'), 46720, 'SRID=4674;POINT (-40.340973 -2.80023)', '2026-06-29 03:32:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340903 -2.800236)'), GeomFromEWKT('SRID=4674;POINT (-40.340973 -2.80023)'))) / (select extract(epoch from '2026-06-29 03:32:48'::timestamp) - extract(epoch from '2026-06-29 03:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340903 -2.800236)'), GeomFromEWKT('SRID=4674;POINT (-40.340973 -2.80023)'))) / (select extract(epoch from '2026-06-29 03:32:48'::timestamp) - extract(epoch from '2026-06-29 03:32: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'), 46720, 'SRID=4674;POINT (-40.341026 -2.800236)', '2026-06-29 03:32:59', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340973 -2.80023)'), GeomFromEWKT('SRID=4674;POINT (-40.341026 -2.800236)'))) / (select extract(epoch from '2026-06-29 03:32:59'::timestamp) - extract(epoch from '2026-06-29 03:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340973 -2.80023)'), GeomFromEWKT('SRID=4674;POINT (-40.341026 -2.800236)'))) / (select extract(epoch from '2026-06-29 03:32:59'::timestamp) - extract(epoch from '2026-06-29 03:32:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341083 -2.800247)', '2026-06-29 03:33:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341026 -2.800236)'), GeomFromEWKT('SRID=4674;POINT (-40.341083 -2.800247)'))) / (select extract(epoch from '2026-06-29 03:33:10'::timestamp) - extract(epoch from '2026-06-29 03:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341026 -2.800236)'), GeomFromEWKT('SRID=4674;POINT (-40.341083 -2.800247)'))) / (select extract(epoch from '2026-06-29 03:33:10'::timestamp) - extract(epoch from '2026-06-29 03:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341156 -2.800255)', '2026-06-29 03:33:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341083 -2.800247)'), GeomFromEWKT('SRID=4674;POINT (-40.341156 -2.800255)'))) / (select extract(epoch from '2026-06-29 03:33:26'::timestamp) - extract(epoch from '2026-06-29 03:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341083 -2.800247)'), GeomFromEWKT('SRID=4674;POINT (-40.341156 -2.800255)'))) / (select extract(epoch from '2026-06-29 03:33:26'::timestamp) - extract(epoch from '2026-06-29 03:33: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'), 46720, 'SRID=4674;POINT (-40.341209 -2.800264)', '2026-06-29 03:33:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341156 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.341209 -2.800264)'))) / (select extract(epoch from '2026-06-29 03:33:38'::timestamp) - extract(epoch from '2026-06-29 03:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341156 -2.800255)'), GeomFromEWKT('SRID=4674;POINT (-40.341209 -2.800264)'))) / (select extract(epoch from '2026-06-29 03:33:38'::timestamp) - extract(epoch from '2026-06-29 03:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341298 -2.800273)', '2026-06-29 03:33:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341209 -2.800264)'), GeomFromEWKT('SRID=4674;POINT (-40.341298 -2.800273)'))) / (select extract(epoch from '2026-06-29 03:33:54'::timestamp) - extract(epoch from '2026-06-29 03:33:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341209 -2.800264)'), GeomFromEWKT('SRID=4674;POINT (-40.341298 -2.800273)'))) / (select extract(epoch from '2026-06-29 03:33:54'::timestamp) - extract(epoch from '2026-06-29 03:33:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341366 -2.800282)', '2026-06-29 03:34:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341298 -2.800273)'), GeomFromEWKT('SRID=4674;POINT (-40.341366 -2.800282)'))) / (select extract(epoch from '2026-06-29 03:34:06'::timestamp) - extract(epoch from '2026-06-29 03:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341298 -2.800273)'), GeomFromEWKT('SRID=4674;POINT (-40.341366 -2.800282)'))) / (select extract(epoch from '2026-06-29 03:34:06'::timestamp) - extract(epoch from '2026-06-29 03:33: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'), 46720, 'SRID=4674;POINT (-40.341438 -2.800287)', '2026-06-29 03:34:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341366 -2.800282)'), GeomFromEWKT('SRID=4674;POINT (-40.341438 -2.800287)'))) / (select extract(epoch from '2026-06-29 03:34:19'::timestamp) - extract(epoch from '2026-06-29 03:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341366 -2.800282)'), GeomFromEWKT('SRID=4674;POINT (-40.341438 -2.800287)'))) / (select extract(epoch from '2026-06-29 03:34:19'::timestamp) - extract(epoch from '2026-06-29 03:34: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'), 46720, 'SRID=4674;POINT (-40.341514 -2.800296)', '2026-06-29 03:34:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341438 -2.800287)'), GeomFromEWKT('SRID=4674;POINT (-40.341514 -2.800296)'))) / (select extract(epoch from '2026-06-29 03:34:33'::timestamp) - extract(epoch from '2026-06-29 03:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341438 -2.800287)'), GeomFromEWKT('SRID=4674;POINT (-40.341514 -2.800296)'))) / (select extract(epoch from '2026-06-29 03:34:33'::timestamp) - extract(epoch from '2026-06-29 03:34:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341599 -2.800318)', '2026-06-29 03:34:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341514 -2.800296)'), GeomFromEWKT('SRID=4674;POINT (-40.341599 -2.800318)'))) / (select extract(epoch from '2026-06-29 03:34:49'::timestamp) - extract(epoch from '2026-06-29 03:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341514 -2.800296)'), GeomFromEWKT('SRID=4674;POINT (-40.341599 -2.800318)'))) / (select extract(epoch from '2026-06-29 03:34:49'::timestamp) - extract(epoch from '2026-06-29 03:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341672 -2.800325)', '2026-06-29 03:35:03', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341599 -2.800318)'), GeomFromEWKT('SRID=4674;POINT (-40.341672 -2.800325)'))) / (select extract(epoch from '2026-06-29 03:35:03'::timestamp) - extract(epoch from '2026-06-29 03:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341599 -2.800318)'), GeomFromEWKT('SRID=4674;POINT (-40.341672 -2.800325)'))) / (select extract(epoch from '2026-06-29 03:35:03'::timestamp) - extract(epoch from '2026-06-29 03:34: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'), 46720, 'SRID=4674;POINT (-40.341744 -2.800335)', '2026-06-29 03:35:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341672 -2.800325)'), GeomFromEWKT('SRID=4674;POINT (-40.341744 -2.800335)'))) / (select extract(epoch from '2026-06-29 03:35:16'::timestamp) - extract(epoch from '2026-06-29 03:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341672 -2.800325)'), GeomFromEWKT('SRID=4674;POINT (-40.341744 -2.800335)'))) / (select extract(epoch from '2026-06-29 03:35:16'::timestamp) - extract(epoch from '2026-06-29 03:35:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.341798 -2.800343)', '2026-06-29 03:35:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341744 -2.800335)'), GeomFromEWKT('SRID=4674;POINT (-40.341798 -2.800343)'))) / (select extract(epoch from '2026-06-29 03:35:26'::timestamp) - extract(epoch from '2026-06-29 03:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341744 -2.800335)'), GeomFromEWKT('SRID=4674;POINT (-40.341798 -2.800343)'))) / (select extract(epoch from '2026-06-29 03:35:26'::timestamp) - extract(epoch from '2026-06-29 03:35: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'), 46720, 'SRID=4674;POINT (-40.341889 -2.800346)', '2026-06-29 03:35:45', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341798 -2.800343)'), GeomFromEWKT('SRID=4674;POINT (-40.341889 -2.800346)'))) / (select extract(epoch from '2026-06-29 03:35:45'::timestamp) - extract(epoch from '2026-06-29 03:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341798 -2.800343)'), GeomFromEWKT('SRID=4674;POINT (-40.341889 -2.800346)'))) / (select extract(epoch from '2026-06-29 03:35:45'::timestamp) - extract(epoch from '2026-06-29 03:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.342024 -2.800362)', '2026-06-29 03:36:12', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341889 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.342024 -2.800362)'))) / (select extract(epoch from '2026-06-29 03:36:12'::timestamp) - extract(epoch from '2026-06-29 03:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341889 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.342024 -2.800362)'))) / (select extract(epoch from '2026-06-29 03:36:12'::timestamp) - extract(epoch from '2026-06-29 03:35: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'), 46720, 'SRID=4674;POINT (-40.342105 -2.800369)', '2026-06-29 03:36:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342024 -2.800362)'), GeomFromEWKT('SRID=4674;POINT (-40.342105 -2.800369)'))) / (select extract(epoch from '2026-06-29 03:36:26'::timestamp) - extract(epoch from '2026-06-29 03:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342024 -2.800362)'), GeomFromEWKT('SRID=4674;POINT (-40.342105 -2.800369)'))) / (select extract(epoch from '2026-06-29 03:36:26'::timestamp) - extract(epoch from '2026-06-29 03:36: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'), 46720, 'SRID=4674;POINT (-40.342204 -2.800387)', '2026-06-29 03:36:45', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342105 -2.800369)'), GeomFromEWKT('SRID=4674;POINT (-40.342204 -2.800387)'))) / (select extract(epoch from '2026-06-29 03:36:45'::timestamp) - extract(epoch from '2026-06-29 03:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342105 -2.800369)'), GeomFromEWKT('SRID=4674;POINT (-40.342204 -2.800387)'))) / (select extract(epoch from '2026-06-29 03:36:45'::timestamp) - extract(epoch from '2026-06-29 03:36: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'), 46720, 'SRID=4674;POINT (-40.342311 -2.800416)', '2026-06-29 03:37:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342204 -2.800387)'), GeomFromEWKT('SRID=4674;POINT (-40.342311 -2.800416)'))) / (select extract(epoch from '2026-06-29 03:37:06'::timestamp) - extract(epoch from '2026-06-29 03:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342204 -2.800387)'), GeomFromEWKT('SRID=4674;POINT (-40.342311 -2.800416)'))) / (select extract(epoch from '2026-06-29 03:37:06'::timestamp) - extract(epoch from '2026-06-29 03:36: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'), 46720, 'SRID=4674;POINT (-40.342367 -2.800439)', '2026-06-29 03:37:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342311 -2.800416)'), GeomFromEWKT('SRID=4674;POINT (-40.342367 -2.800439)'))) / (select extract(epoch from '2026-06-29 03:37:18'::timestamp) - extract(epoch from '2026-06-29 03:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342311 -2.800416)'), GeomFromEWKT('SRID=4674;POINT (-40.342367 -2.800439)'))) / (select extract(epoch from '2026-06-29 03:37:18'::timestamp) - extract(epoch from '2026-06-29 03:37:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.342433 -2.80046)', '2026-06-29 03:37:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342367 -2.800439)'), GeomFromEWKT('SRID=4674;POINT (-40.342433 -2.80046)'))) / (select extract(epoch from '2026-06-29 03:37:32'::timestamp) - extract(epoch from '2026-06-29 03:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342367 -2.800439)'), GeomFromEWKT('SRID=4674;POINT (-40.342433 -2.80046)'))) / (select extract(epoch from '2026-06-29 03:37:32'::timestamp) - extract(epoch from '2026-06-29 03:37: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'), 46720, 'SRID=4674;POINT (-40.342492 -2.800478)', '2026-06-29 03:37:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342433 -2.80046)'), GeomFromEWKT('SRID=4674;POINT (-40.342492 -2.800478)'))) / (select extract(epoch from '2026-06-29 03:37:44'::timestamp) - extract(epoch from '2026-06-29 03:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342433 -2.80046)'), GeomFromEWKT('SRID=4674;POINT (-40.342492 -2.800478)'))) / (select extract(epoch from '2026-06-29 03:37:44'::timestamp) - extract(epoch from '2026-06-29 03:37: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'), 46720, 'SRID=4674;POINT (-40.342562 -2.800496)', '2026-06-29 03:37:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342492 -2.800478)'), GeomFromEWKT('SRID=4674;POINT (-40.342562 -2.800496)'))) / (select extract(epoch from '2026-06-29 03:37:59'::timestamp) - extract(epoch from '2026-06-29 03:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342492 -2.800478)'), GeomFromEWKT('SRID=4674;POINT (-40.342562 -2.800496)'))) / (select extract(epoch from '2026-06-29 03:37:59'::timestamp) - extract(epoch from '2026-06-29 03:37: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'), 46720, 'SRID=4674;POINT (-40.342649 -2.800513)', '2026-06-29 03:38:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342562 -2.800496)'), GeomFromEWKT('SRID=4674;POINT (-40.342649 -2.800513)'))) / (select extract(epoch from '2026-06-29 03:38:16'::timestamp) - extract(epoch from '2026-06-29 03:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342562 -2.800496)'), GeomFromEWKT('SRID=4674;POINT (-40.342649 -2.800513)'))) / (select extract(epoch from '2026-06-29 03:38:16'::timestamp) - extract(epoch from '2026-06-29 03:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.34274 -2.800504)', '2026-06-29 03:38:33', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342649 -2.800513)'), GeomFromEWKT('SRID=4674;POINT (-40.34274 -2.800504)'))) / (select extract(epoch from '2026-06-29 03:38:33'::timestamp) - extract(epoch from '2026-06-29 03:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342649 -2.800513)'), GeomFromEWKT('SRID=4674;POINT (-40.34274 -2.800504)'))) / (select extract(epoch from '2026-06-29 03:38:33'::timestamp) - extract(epoch from '2026-06-29 03:38: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'), 46720, 'SRID=4674;POINT (-40.342848 -2.800499)', '2026-06-29 03:38:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34274 -2.800504)'), GeomFromEWKT('SRID=4674;POINT (-40.342848 -2.800499)'))) / (select extract(epoch from '2026-06-29 03:38:49'::timestamp) - extract(epoch from '2026-06-29 03:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34274 -2.800504)'), GeomFromEWKT('SRID=4674;POINT (-40.342848 -2.800499)'))) / (select extract(epoch from '2026-06-29 03:38:49'::timestamp) - extract(epoch from '2026-06-29 03:38: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'), 46720, 'SRID=4674;POINT (-40.34297 -2.800488)', '2026-06-29 03:39:07', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342848 -2.800499)'), GeomFromEWKT('SRID=4674;POINT (-40.34297 -2.800488)'))) / (select extract(epoch from '2026-06-29 03:39:07'::timestamp) - extract(epoch from '2026-06-29 03:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342848 -2.800499)'), GeomFromEWKT('SRID=4674;POINT (-40.34297 -2.800488)'))) / (select extract(epoch from '2026-06-29 03:39:07'::timestamp) - extract(epoch from '2026-06-29 03:38: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'), 46720, 'SRID=4674;POINT (-40.343077 -2.800483)', '2026-06-29 03:39:22', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34297 -2.800488)'), GeomFromEWKT('SRID=4674;POINT (-40.343077 -2.800483)'))) / (select extract(epoch from '2026-06-29 03:39:22'::timestamp) - extract(epoch from '2026-06-29 03:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34297 -2.800488)'), GeomFromEWKT('SRID=4674;POINT (-40.343077 -2.800483)'))) / (select extract(epoch from '2026-06-29 03:39:22'::timestamp) - extract(epoch from '2026-06-29 03:39: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'), 46720, 'SRID=4674;POINT (-40.343159 -2.800469)', '2026-06-29 03:39:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343077 -2.800483)'), GeomFromEWKT('SRID=4674;POINT (-40.343159 -2.800469)'))) / (select extract(epoch from '2026-06-29 03:39:35'::timestamp) - extract(epoch from '2026-06-29 03:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343077 -2.800483)'), GeomFromEWKT('SRID=4674;POINT (-40.343159 -2.800469)'))) / (select extract(epoch from '2026-06-29 03:39:35'::timestamp) - extract(epoch from '2026-06-29 03:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.343246 -2.800482)', '2026-06-29 03:39:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343159 -2.800469)'), GeomFromEWKT('SRID=4674;POINT (-40.343246 -2.800482)'))) / (select extract(epoch from '2026-06-29 03:39:49'::timestamp) - extract(epoch from '2026-06-29 03:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343159 -2.800469)'), GeomFromEWKT('SRID=4674;POINT (-40.343246 -2.800482)'))) / (select extract(epoch from '2026-06-29 03:39:49'::timestamp) - extract(epoch from '2026-06-29 03:39: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'), 46720, 'SRID=4674;POINT (-40.343312 -2.800487)', '2026-06-29 03:40:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343246 -2.800482)'), GeomFromEWKT('SRID=4674;POINT (-40.343312 -2.800487)'))) / (select extract(epoch from '2026-06-29 03:40:01'::timestamp) - extract(epoch from '2026-06-29 03:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343246 -2.800482)'), GeomFromEWKT('SRID=4674;POINT (-40.343312 -2.800487)'))) / (select extract(epoch from '2026-06-29 03:40:01'::timestamp) - extract(epoch from '2026-06-29 03:39: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'), 46720, 'SRID=4674;POINT (-40.343385 -2.800493)', '2026-06-29 03:40:13', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343312 -2.800487)'), GeomFromEWKT('SRID=4674;POINT (-40.343385 -2.800493)'))) / (select extract(epoch from '2026-06-29 03:40:13'::timestamp) - extract(epoch from '2026-06-29 03:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343312 -2.800487)'), GeomFromEWKT('SRID=4674;POINT (-40.343385 -2.800493)'))) / (select extract(epoch from '2026-06-29 03:40:13'::timestamp) - extract(epoch from '2026-06-29 03:40: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'), 46720, 'SRID=4674;POINT (-40.343451 -2.800491)', '2026-06-29 03:40:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343385 -2.800493)'), GeomFromEWKT('SRID=4674;POINT (-40.343451 -2.800491)'))) / (select extract(epoch from '2026-06-29 03:40:26'::timestamp) - extract(epoch from '2026-06-29 03:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343385 -2.800493)'), GeomFromEWKT('SRID=4674;POINT (-40.343451 -2.800491)'))) / (select extract(epoch from '2026-06-29 03:40:26'::timestamp) - extract(epoch from '2026-06-29 03:40: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'), 46720, 'SRID=4674;POINT (-40.343494 -2.800504)', '2026-06-29 03:40:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343451 -2.800491)'), GeomFromEWKT('SRID=4674;POINT (-40.343494 -2.800504)'))) / (select extract(epoch from '2026-06-29 03:40:36'::timestamp) - extract(epoch from '2026-06-29 03:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343451 -2.800491)'), GeomFromEWKT('SRID=4674;POINT (-40.343494 -2.800504)'))) / (select extract(epoch from '2026-06-29 03:40:36'::timestamp) - extract(epoch from '2026-06-29 03:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.343539 -2.800511)', '2026-06-29 03:40:46', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343494 -2.800504)'), GeomFromEWKT('SRID=4674;POINT (-40.343539 -2.800511)'))) / (select extract(epoch from '2026-06-29 03:40:46'::timestamp) - extract(epoch from '2026-06-29 03:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343494 -2.800504)'), GeomFromEWKT('SRID=4674;POINT (-40.343539 -2.800511)'))) / (select extract(epoch from '2026-06-29 03:40:46'::timestamp) - extract(epoch from '2026-06-29 03:40:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.343661 -2.800496)', '2026-06-29 03:41:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343539 -2.800511)'), GeomFromEWKT('SRID=4674;POINT (-40.343661 -2.800496)'))) / (select extract(epoch from '2026-06-29 03:41:10'::timestamp) - extract(epoch from '2026-06-29 03:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343539 -2.800511)'), GeomFromEWKT('SRID=4674;POINT (-40.343661 -2.800496)'))) / (select extract(epoch from '2026-06-29 03:41:10'::timestamp) - extract(epoch from '2026-06-29 03:40: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'), 46720, 'SRID=4674;POINT (-40.343764 -2.800485)', '2026-06-29 03:41:28', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343661 -2.800496)'), GeomFromEWKT('SRID=4674;POINT (-40.343764 -2.800485)'))) / (select extract(epoch from '2026-06-29 03:41:28'::timestamp) - extract(epoch from '2026-06-29 03:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343661 -2.800496)'), GeomFromEWKT('SRID=4674;POINT (-40.343764 -2.800485)'))) / (select extract(epoch from '2026-06-29 03:41:28'::timestamp) - extract(epoch from '2026-06-29 03:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.343855 -2.800482)', '2026-06-29 03:41:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343764 -2.800485)'), GeomFromEWKT('SRID=4674;POINT (-40.343855 -2.800482)'))) / (select extract(epoch from '2026-06-29 03:41:41'::timestamp) - extract(epoch from '2026-06-29 03:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343764 -2.800485)'), GeomFromEWKT('SRID=4674;POINT (-40.343855 -2.800482)'))) / (select extract(epoch from '2026-06-29 03:41:41'::timestamp) - extract(epoch from '2026-06-29 03:41: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'), 46720, 'SRID=4674;POINT (-40.343964 -2.800467)', '2026-06-29 03:41:58', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343855 -2.800482)'), GeomFromEWKT('SRID=4674;POINT (-40.343964 -2.800467)'))) / (select extract(epoch from '2026-06-29 03:41:58'::timestamp) - extract(epoch from '2026-06-29 03:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343855 -2.800482)'), GeomFromEWKT('SRID=4674;POINT (-40.343964 -2.800467)'))) / (select extract(epoch from '2026-06-29 03:41:58'::timestamp) - extract(epoch from '2026-06-29 03:41: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'), 46720, 'SRID=4674;POINT (-40.344058 -2.800473)', '2026-06-29 03:42:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343964 -2.800467)'), GeomFromEWKT('SRID=4674;POINT (-40.344058 -2.800473)'))) / (select extract(epoch from '2026-06-29 03:42:15'::timestamp) - extract(epoch from '2026-06-29 03:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343964 -2.800467)'), GeomFromEWKT('SRID=4674;POINT (-40.344058 -2.800473)'))) / (select extract(epoch from '2026-06-29 03:42:15'::timestamp) - extract(epoch from '2026-06-29 03:41: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'), 46720, 'SRID=4674;POINT (-40.34415 -2.800473)', '2026-06-29 03:42:30', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344058 -2.800473)'), GeomFromEWKT('SRID=4674;POINT (-40.34415 -2.800473)'))) / (select extract(epoch from '2026-06-29 03:42:30'::timestamp) - extract(epoch from '2026-06-29 03:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344058 -2.800473)'), GeomFromEWKT('SRID=4674;POINT (-40.34415 -2.800473)'))) / (select extract(epoch from '2026-06-29 03:42:30'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.34422 -2.800469)', '2026-06-29 03:42:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34415 -2.800473)'), GeomFromEWKT('SRID=4674;POINT (-40.34422 -2.800469)'))) / (select extract(epoch from '2026-06-29 03:42:41'::timestamp) - extract(epoch from '2026-06-29 03:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34415 -2.800473)'), GeomFromEWKT('SRID=4674;POINT (-40.34422 -2.800469)'))) / (select extract(epoch from '2026-06-29 03:42:41'::timestamp) - extract(epoch from '2026-06-29 03:42: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'), 46720, 'SRID=4674;POINT (-40.34433 -2.800452)', '2026-06-29 03:42:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34422 -2.800469)'), GeomFromEWKT('SRID=4674;POINT (-40.34433 -2.800452)'))) / (select extract(epoch from '2026-06-29 03:42:59'::timestamp) - extract(epoch from '2026-06-29 03:42:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34422 -2.800469)'), GeomFromEWKT('SRID=4674;POINT (-40.34433 -2.800452)'))) / (select extract(epoch from '2026-06-29 03:42:59'::timestamp) - extract(epoch from '2026-06-29 03:42:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.344433 -2.800452)', '2026-06-29 03:43:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34433 -2.800452)'), GeomFromEWKT('SRID=4674;POINT (-40.344433 -2.800452)'))) / (select extract(epoch from '2026-06-29 03:43:14'::timestamp) - extract(epoch from '2026-06-29 03:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34433 -2.800452)'), GeomFromEWKT('SRID=4674;POINT (-40.344433 -2.800452)'))) / (select extract(epoch from '2026-06-29 03:43:14'::timestamp) - extract(epoch from '2026-06-29 03:42: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'), 46720, 'SRID=4674;POINT (-40.344546 -2.800445)', '2026-06-29 03:43:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344433 -2.800452)'), GeomFromEWKT('SRID=4674;POINT (-40.344546 -2.800445)'))) / (select extract(epoch from '2026-06-29 03:43:28'::timestamp) - extract(epoch from '2026-06-29 03:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344433 -2.800452)'), GeomFromEWKT('SRID=4674;POINT (-40.344546 -2.800445)'))) / (select extract(epoch from '2026-06-29 03:43:28'::timestamp) - extract(epoch from '2026-06-29 03:43:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.34467 -2.800441)', '2026-06-29 03:43:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344546 -2.800445)'), GeomFromEWKT('SRID=4674;POINT (-40.34467 -2.800441)'))) / (select extract(epoch from '2026-06-29 03:43:43'::timestamp) - extract(epoch from '2026-06-29 03:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344546 -2.800445)'), GeomFromEWKT('SRID=4674;POINT (-40.34467 -2.800441)'))) / (select extract(epoch from '2026-06-29 03:43:43'::timestamp) - extract(epoch from '2026-06-29 03:43: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'), 46720, 'SRID=4674;POINT (-40.344784 -2.800432)', '2026-06-29 03:43:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34467 -2.800441)'), GeomFromEWKT('SRID=4674;POINT (-40.344784 -2.800432)'))) / (select extract(epoch from '2026-06-29 03:43:57'::timestamp) - extract(epoch from '2026-06-29 03:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34467 -2.800441)'), GeomFromEWKT('SRID=4674;POINT (-40.344784 -2.800432)'))) / (select extract(epoch from '2026-06-29 03:43:57'::timestamp) - extract(epoch from '2026-06-29 03:43: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'), 46720, 'SRID=4674;POINT (-40.344867 -2.80043)', '2026-06-29 03:44:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344784 -2.800432)'), GeomFromEWKT('SRID=4674;POINT (-40.344867 -2.80043)'))) / (select extract(epoch from '2026-06-29 03:44:08'::timestamp) - extract(epoch from '2026-06-29 03:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344784 -2.800432)'), GeomFromEWKT('SRID=4674;POINT (-40.344867 -2.80043)'))) / (select extract(epoch from '2026-06-29 03:44:08'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.344946 -2.80041)', '2026-06-29 03:44:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344867 -2.80043)'), GeomFromEWKT('SRID=4674;POINT (-40.344946 -2.80041)'))) / (select extract(epoch from '2026-06-29 03:44:21'::timestamp) - extract(epoch from '2026-06-29 03:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344867 -2.80043)'), GeomFromEWKT('SRID=4674;POINT (-40.344946 -2.80041)'))) / (select extract(epoch from '2026-06-29 03:44:21'::timestamp) - extract(epoch from '2026-06-29 03:44: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'), 46720, 'SRID=4674;POINT (-40.345027 -2.800394)', '2026-06-29 03:44:34', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344946 -2.80041)'), GeomFromEWKT('SRID=4674;POINT (-40.345027 -2.800394)'))) / (select extract(epoch from '2026-06-29 03:44:34'::timestamp) - extract(epoch from '2026-06-29 03:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344946 -2.80041)'), GeomFromEWKT('SRID=4674;POINT (-40.345027 -2.800394)'))) / (select extract(epoch from '2026-06-29 03:44:34'::timestamp) - extract(epoch from '2026-06-29 03:44:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.345133 -2.800371)', '2026-06-29 03:44:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345027 -2.800394)'), GeomFromEWKT('SRID=4674;POINT (-40.345133 -2.800371)'))) / (select extract(epoch from '2026-06-29 03:44:50'::timestamp) - extract(epoch from '2026-06-29 03:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345027 -2.800394)'), GeomFromEWKT('SRID=4674;POINT (-40.345133 -2.800371)'))) / (select extract(epoch from '2026-06-29 03:44:50'::timestamp) - extract(epoch from '2026-06-29 03:44: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'), 46720, 'SRID=4674;POINT (-40.345225 -2.800338)', '2026-06-29 03:45:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345133 -2.800371)'), GeomFromEWKT('SRID=4674;POINT (-40.345225 -2.800338)'))) / (select extract(epoch from '2026-06-29 03:45:04'::timestamp) - extract(epoch from '2026-06-29 03:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345133 -2.800371)'), GeomFromEWKT('SRID=4674;POINT (-40.345225 -2.800338)'))) / (select extract(epoch from '2026-06-29 03:45:04'::timestamp) - extract(epoch from '2026-06-29 03:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.345318 -2.800308)', '2026-06-29 03:45:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345225 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.345318 -2.800308)'))) / (select extract(epoch from '2026-06-29 03:45:18'::timestamp) - extract(epoch from '2026-06-29 03:45:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345225 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.345318 -2.800308)'))) / (select extract(epoch from '2026-06-29 03:45:18'::timestamp) - extract(epoch from '2026-06-29 03:45: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'), 46720, 'SRID=4674;POINT (-40.345396 -2.800301)', '2026-06-29 03:45:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345318 -2.800308)'), GeomFromEWKT('SRID=4674;POINT (-40.345396 -2.800301)'))) / (select extract(epoch from '2026-06-29 03:45:31'::timestamp) - extract(epoch from '2026-06-29 03:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345318 -2.800308)'), GeomFromEWKT('SRID=4674;POINT (-40.345396 -2.800301)'))) / (select extract(epoch from '2026-06-29 03:45:31'::timestamp) - extract(epoch from '2026-06-29 03:45: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'), 46720, 'SRID=4674;POINT (-40.345517 -2.800286)', '2026-06-29 03:45:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345396 -2.800301)'), GeomFromEWKT('SRID=4674;POINT (-40.345517 -2.800286)'))) / (select extract(epoch from '2026-06-29 03:45:50'::timestamp) - extract(epoch from '2026-06-29 03:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345396 -2.800301)'), GeomFromEWKT('SRID=4674;POINT (-40.345517 -2.800286)'))) / (select extract(epoch from '2026-06-29 03:45:50'::timestamp) - extract(epoch from '2026-06-29 03:45: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'), 46720, 'SRID=4674;POINT (-40.345601 -2.80026)', '2026-06-29 03:46:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345517 -2.800286)'), GeomFromEWKT('SRID=4674;POINT (-40.345601 -2.80026)'))) / (select extract(epoch from '2026-06-29 03:46:04'::timestamp) - extract(epoch from '2026-06-29 03:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345517 -2.800286)'), GeomFromEWKT('SRID=4674;POINT (-40.345601 -2.80026)'))) / (select extract(epoch from '2026-06-29 03:46:04'::timestamp) - extract(epoch from '2026-06-29 03:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.345669 -2.800249)', '2026-06-29 03:46:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345601 -2.80026)'), GeomFromEWKT('SRID=4674;POINT (-40.345669 -2.800249)'))) / (select extract(epoch from '2026-06-29 03:46:14'::timestamp) - extract(epoch from '2026-06-29 03:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345601 -2.80026)'), GeomFromEWKT('SRID=4674;POINT (-40.345669 -2.800249)'))) / (select extract(epoch from '2026-06-29 03:46:14'::timestamp) - extract(epoch from '2026-06-29 03:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.345685 -2.800243)', '2026-06-29 03:46:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345669 -2.800249)'), GeomFromEWKT('SRID=4674;POINT (-40.345685 -2.800243)'))) / (select extract(epoch from '2026-06-29 03:46:16'::timestamp) - extract(epoch from '2026-06-29 03:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345669 -2.800249)'), GeomFromEWKT('SRID=4674;POINT (-40.345685 -2.800243)'))) / (select extract(epoch from '2026-06-29 03:46:16'::timestamp) - extract(epoch from '2026-06-29 03:46: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'), 46720, 'SRID=4674;POINT (-40.345714 -2.800237)', '2026-06-29 03:46:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345685 -2.800243)'), GeomFromEWKT('SRID=4674;POINT (-40.345714 -2.800237)'))) / (select extract(epoch from '2026-06-29 03:46:20'::timestamp) - extract(epoch from '2026-06-29 03:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345685 -2.800243)'), GeomFromEWKT('SRID=4674;POINT (-40.345714 -2.800237)'))) / (select extract(epoch from '2026-06-29 03:46:20'::timestamp) - extract(epoch from '2026-06-29 03:46: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'), 46720, 'SRID=4674;POINT (-40.345782 -2.800209)', '2026-06-29 03:46:29', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345714 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.345782 -2.800209)'))) / (select extract(epoch from '2026-06-29 03:46:29'::timestamp) - extract(epoch from '2026-06-29 03:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345714 -2.800237)'), GeomFromEWKT('SRID=4674;POINT (-40.345782 -2.800209)'))) / (select extract(epoch from '2026-06-29 03:46:29'::timestamp) - extract(epoch from '2026-06-29 03:46: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'), 46720, 'SRID=4674;POINT (-40.345863 -2.800181)', '2026-06-29 03:46:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345782 -2.800209)'), GeomFromEWKT('SRID=4674;POINT (-40.345863 -2.800181)'))) / (select extract(epoch from '2026-06-29 03:46:42'::timestamp) - extract(epoch from '2026-06-29 03:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345782 -2.800209)'), GeomFromEWKT('SRID=4674;POINT (-40.345863 -2.800181)'))) / (select extract(epoch from '2026-06-29 03:46:42'::timestamp) - extract(epoch from '2026-06-29 03:46: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'), 46720, 'SRID=4674;POINT (-40.345981 -2.800163)', '2026-06-29 03:46:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345863 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.345981 -2.800163)'))) / (select extract(epoch from '2026-06-29 03:46:59'::timestamp) - extract(epoch from '2026-06-29 03:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345863 -2.800181)'), GeomFromEWKT('SRID=4674;POINT (-40.345981 -2.800163)'))) / (select extract(epoch from '2026-06-29 03:46:59'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.346116 -2.800127)', '2026-06-29 03:47:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345981 -2.800163)'), GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.800127)'))) / (select extract(epoch from '2026-06-29 03:47:19'::timestamp) - extract(epoch from '2026-06-29 03:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345981 -2.800163)'), GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.800127)'))) / (select extract(epoch from '2026-06-29 03:47:19'::timestamp) - extract(epoch from '2026-06-29 03:46: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'), 46720, 'SRID=4674;POINT (-40.346217 -2.800094)', '2026-06-29 03:47:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.800127)'), GeomFromEWKT('SRID=4674;POINT (-40.346217 -2.800094)'))) / (select extract(epoch from '2026-06-29 03:47:34'::timestamp) - extract(epoch from '2026-06-29 03:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346116 -2.800127)'), GeomFromEWKT('SRID=4674;POINT (-40.346217 -2.800094)'))) / (select extract(epoch from '2026-06-29 03:47:34'::timestamp) - extract(epoch from '2026-06-29 03:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.346292 -2.800079)', '2026-06-29 03:47:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346217 -2.800094)'), GeomFromEWKT('SRID=4674;POINT (-40.346292 -2.800079)'))) / (select extract(epoch from '2026-06-29 03:47:45'::timestamp) - extract(epoch from '2026-06-29 03:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346217 -2.800094)'), GeomFromEWKT('SRID=4674;POINT (-40.346292 -2.800079)'))) / (select extract(epoch from '2026-06-29 03:47:45'::timestamp) - extract(epoch from '2026-06-29 03:47: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'), 46720, 'SRID=4674;POINT (-40.34643 -2.800049)', '2026-06-29 03:48:04', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346292 -2.800079)'), GeomFromEWKT('SRID=4674;POINT (-40.34643 -2.800049)'))) / (select extract(epoch from '2026-06-29 03:48:04'::timestamp) - extract(epoch from '2026-06-29 03:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346292 -2.800079)'), GeomFromEWKT('SRID=4674;POINT (-40.34643 -2.800049)'))) / (select extract(epoch from '2026-06-29 03:48:04'::timestamp) - extract(epoch from '2026-06-29 03:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.346511 -2.800035)', '2026-06-29 03:48:16', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34643 -2.800049)'), GeomFromEWKT('SRID=4674;POINT (-40.346511 -2.800035)'))) / (select extract(epoch from '2026-06-29 03:48:16'::timestamp) - extract(epoch from '2026-06-29 03:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34643 -2.800049)'), GeomFromEWKT('SRID=4674;POINT (-40.346511 -2.800035)'))) / (select extract(epoch from '2026-06-29 03:48:16'::timestamp) - extract(epoch from '2026-06-29 03:48: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'), 46720, 'SRID=4674;POINT (-40.346608 -2.80002)', '2026-06-29 03:48:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346511 -2.800035)'), GeomFromEWKT('SRID=4674;POINT (-40.346608 -2.80002)'))) / (select extract(epoch from '2026-06-29 03:48:29'::timestamp) - extract(epoch from '2026-06-29 03:48:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346511 -2.800035)'), GeomFromEWKT('SRID=4674;POINT (-40.346608 -2.80002)'))) / (select extract(epoch from '2026-06-29 03:48:29'::timestamp) - extract(epoch from '2026-06-29 03:48:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.346681 -2.800005)', '2026-06-29 03:48:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346608 -2.80002)'), GeomFromEWKT('SRID=4674;POINT (-40.346681 -2.800005)'))) / (select extract(epoch from '2026-06-29 03:48:40'::timestamp) - extract(epoch from '2026-06-29 03:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346608 -2.80002)'), GeomFromEWKT('SRID=4674;POINT (-40.346681 -2.800005)'))) / (select extract(epoch from '2026-06-29 03:48:40'::timestamp) - extract(epoch from '2026-06-29 03:48:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.346773 -2.799974)', '2026-06-29 03:48:54', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346681 -2.800005)'), GeomFromEWKT('SRID=4674;POINT (-40.346773 -2.799974)'))) / (select extract(epoch from '2026-06-29 03:48:54'::timestamp) - extract(epoch from '2026-06-29 03:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346681 -2.800005)'), GeomFromEWKT('SRID=4674;POINT (-40.346773 -2.799974)'))) / (select extract(epoch from '2026-06-29 03:48:54'::timestamp) - extract(epoch from '2026-06-29 03:48: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'), 46720, 'SRID=4674;POINT (-40.346838 -2.79996)', '2026-06-29 03:49:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346773 -2.799974)'), GeomFromEWKT('SRID=4674;POINT (-40.346838 -2.79996)'))) / (select extract(epoch from '2026-06-29 03:49:05'::timestamp) - extract(epoch from '2026-06-29 03:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346773 -2.799974)'), GeomFromEWKT('SRID=4674;POINT (-40.346838 -2.79996)'))) / (select extract(epoch from '2026-06-29 03:49:05'::timestamp) - extract(epoch from '2026-06-29 03:48: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'), 46720, 'SRID=4674;POINT (-40.346916 -2.799941)', '2026-06-29 03:49:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346838 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.346916 -2.799941)'))) / (select extract(epoch from '2026-06-29 03:49:18'::timestamp) - extract(epoch from '2026-06-29 03:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346838 -2.79996)'), GeomFromEWKT('SRID=4674;POINT (-40.346916 -2.799941)'))) / (select extract(epoch from '2026-06-29 03:49:18'::timestamp) - extract(epoch from '2026-06-29 03:49: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'), 46720, 'SRID=4674;POINT (-40.346971 -2.799928)', '2026-06-29 03:49:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346916 -2.799941)'), GeomFromEWKT('SRID=4674;POINT (-40.346971 -2.799928)'))) / (select extract(epoch from '2026-06-29 03:49:29'::timestamp) - extract(epoch from '2026-06-29 03:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346916 -2.799941)'), GeomFromEWKT('SRID=4674;POINT (-40.346971 -2.799928)'))) / (select extract(epoch from '2026-06-29 03:49:29'::timestamp) - extract(epoch from '2026-06-29 03:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.347024 -2.799916)', '2026-06-29 03:49:40', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346971 -2.799928)'), GeomFromEWKT('SRID=4674;POINT (-40.347024 -2.799916)'))) / (select extract(epoch from '2026-06-29 03:49:40'::timestamp) - extract(epoch from '2026-06-29 03:49:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346971 -2.799928)'), GeomFromEWKT('SRID=4674;POINT (-40.347024 -2.799916)'))) / (select extract(epoch from '2026-06-29 03:49:40'::timestamp) - extract(epoch from '2026-06-29 03:49:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.347067 -2.7999)', '2026-06-29 03:49:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347024 -2.799916)'), GeomFromEWKT('SRID=4674;POINT (-40.347067 -2.7999)'))) / (select extract(epoch from '2026-06-29 03:49:52'::timestamp) - extract(epoch from '2026-06-29 03:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347024 -2.799916)'), GeomFromEWKT('SRID=4674;POINT (-40.347067 -2.7999)'))) / (select extract(epoch from '2026-06-29 03:49:52'::timestamp) - extract(epoch from '2026-06-29 03:49: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'), 46720, 'SRID=4674;POINT (-40.347134 -2.799877)', '2026-06-29 03:50:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347067 -2.7999)'), GeomFromEWKT('SRID=4674;POINT (-40.347134 -2.799877)'))) / (select extract(epoch from '2026-06-29 03:50:08'::timestamp) - extract(epoch from '2026-06-29 03:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347067 -2.7999)'), GeomFromEWKT('SRID=4674;POINT (-40.347134 -2.799877)'))) / (select extract(epoch from '2026-06-29 03:50:08'::timestamp) - extract(epoch from '2026-06-29 03:49: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'), 46720, 'SRID=4674;POINT (-40.347214 -2.799847)', '2026-06-29 03:50:24', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347134 -2.799877)'), GeomFromEWKT('SRID=4674;POINT (-40.347214 -2.799847)'))) / (select extract(epoch from '2026-06-29 03:50:24'::timestamp) - extract(epoch from '2026-06-29 03:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347134 -2.799877)'), GeomFromEWKT('SRID=4674;POINT (-40.347214 -2.799847)'))) / (select extract(epoch from '2026-06-29 03:50:24'::timestamp) - extract(epoch from '2026-06-29 03:50: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'), 46720, 'SRID=4674;POINT (-40.347286 -2.79982)', '2026-06-29 03:50:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347214 -2.799847)'), GeomFromEWKT('SRID=4674;POINT (-40.347286 -2.79982)'))) / (select extract(epoch from '2026-06-29 03:50:36'::timestamp) - extract(epoch from '2026-06-29 03:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347214 -2.799847)'), GeomFromEWKT('SRID=4674;POINT (-40.347286 -2.79982)'))) / (select extract(epoch from '2026-06-29 03:50:36'::timestamp) - extract(epoch from '2026-06-29 03:50: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'), 46720, 'SRID=4674;POINT (-40.347363 -2.799795)', '2026-06-29 03:50:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347286 -2.79982)'), GeomFromEWKT('SRID=4674;POINT (-40.347363 -2.799795)'))) / (select extract(epoch from '2026-06-29 03:50:48'::timestamp) - extract(epoch from '2026-06-29 03:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347286 -2.79982)'), GeomFromEWKT('SRID=4674;POINT (-40.347363 -2.799795)'))) / (select extract(epoch from '2026-06-29 03:50:48'::timestamp) - extract(epoch from '2026-06-29 03: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'), 46720, 'SRID=4674;POINT (-40.347437 -2.799775)', '2026-06-29 03:51:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347363 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.347437 -2.799775)'))) / (select extract(epoch from '2026-06-29 03:51:00'::timestamp) - extract(epoch from '2026-06-29 03:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347363 -2.799795)'), GeomFromEWKT('SRID=4674;POINT (-40.347437 -2.799775)'))) / (select extract(epoch from '2026-06-29 03:51:00'::timestamp) - extract(epoch from '2026-06-29 03:50: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'), 46720, 'SRID=4674;POINT (-40.347513 -2.799753)', '2026-06-29 03:51:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347437 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.347513 -2.799753)'))) / (select extract(epoch from '2026-06-29 03:51:13'::timestamp) - extract(epoch from '2026-06-29 03:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347437 -2.799775)'), GeomFromEWKT('SRID=4674;POINT (-40.347513 -2.799753)'))) / (select extract(epoch from '2026-06-29 03:51:13'::timestamp) - extract(epoch from '2026-06-29 03:51: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'), 46720, 'SRID=4674;POINT (-40.347581 -2.799727)', '2026-06-29 03:51:26', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347513 -2.799753)'), GeomFromEWKT('SRID=4674;POINT (-40.347581 -2.799727)'))) / (select extract(epoch from '2026-06-29 03:51:26'::timestamp) - extract(epoch from '2026-06-29 03:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347513 -2.799753)'), GeomFromEWKT('SRID=4674;POINT (-40.347581 -2.799727)'))) / (select extract(epoch from '2026-06-29 03:51:26'::timestamp) - extract(epoch from '2026-06-29 03:51: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'), 46720, 'SRID=4674;POINT (-40.347648 -2.7997)', '2026-06-29 03:51:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347581 -2.799727)'), GeomFromEWKT('SRID=4674;POINT (-40.347648 -2.7997)'))) / (select extract(epoch from '2026-06-29 03:51:41'::timestamp) - extract(epoch from '2026-06-29 03:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347581 -2.799727)'), GeomFromEWKT('SRID=4674;POINT (-40.347648 -2.7997)'))) / (select extract(epoch from '2026-06-29 03:51:41'::timestamp) - extract(epoch from '2026-06-29 03:51: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'), 46720, 'SRID=4674;POINT (-40.347742 -2.799683)', '2026-06-29 03:51:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347648 -2.7997)'), GeomFromEWKT('SRID=4674;POINT (-40.347742 -2.799683)'))) / (select extract(epoch from '2026-06-29 03:51:58'::timestamp) - extract(epoch from '2026-06-29 03:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347648 -2.7997)'), GeomFromEWKT('SRID=4674;POINT (-40.347742 -2.799683)'))) / (select extract(epoch from '2026-06-29 03:51:58'::timestamp) - extract(epoch from '2026-06-29 03:51: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'), 46720, 'SRID=4674;POINT (-40.347831 -2.799654)', '2026-06-29 03:52:14', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347742 -2.799683)'), GeomFromEWKT('SRID=4674;POINT (-40.347831 -2.799654)'))) / (select extract(epoch from '2026-06-29 03:52:14'::timestamp) - extract(epoch from '2026-06-29 03:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347742 -2.799683)'), GeomFromEWKT('SRID=4674;POINT (-40.347831 -2.799654)'))) / (select extract(epoch from '2026-06-29 03:52:14'::timestamp) - extract(epoch from '2026-06-29 03:51:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.347886 -2.799632)', '2026-06-29 03:52:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347831 -2.799654)'), GeomFromEWKT('SRID=4674;POINT (-40.347886 -2.799632)'))) / (select extract(epoch from '2026-06-29 03:52:25'::timestamp) - extract(epoch from '2026-06-29 03:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347831 -2.799654)'), GeomFromEWKT('SRID=4674;POINT (-40.347886 -2.799632)'))) / (select extract(epoch from '2026-06-29 03:52:25'::timestamp) - extract(epoch from '2026-06-29 03:52:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.34795 -2.79961)', '2026-06-29 03:52:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347886 -2.799632)'), GeomFromEWKT('SRID=4674;POINT (-40.34795 -2.79961)'))) / (select extract(epoch from '2026-06-29 03:52:36'::timestamp) - extract(epoch from '2026-06-29 03:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347886 -2.799632)'), GeomFromEWKT('SRID=4674;POINT (-40.34795 -2.79961)'))) / (select extract(epoch from '2026-06-29 03:52:36'::timestamp) - extract(epoch from '2026-06-29 03:52:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.348023 -2.799585)', '2026-06-29 03:52:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34795 -2.79961)'), GeomFromEWKT('SRID=4674;POINT (-40.348023 -2.799585)'))) / (select extract(epoch from '2026-06-29 03:52:52'::timestamp) - extract(epoch from '2026-06-29 03:52:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34795 -2.79961)'), GeomFromEWKT('SRID=4674;POINT (-40.348023 -2.799585)'))) / (select extract(epoch from '2026-06-29 03:52:52'::timestamp) - extract(epoch from '2026-06-29 03:52: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'), 46720, 'SRID=4674;POINT (-40.348066 -2.799573)', '2026-06-29 03:53:06', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348023 -2.799585)'), GeomFromEWKT('SRID=4674;POINT (-40.348066 -2.799573)'))) / (select extract(epoch from '2026-06-29 03:53:06'::timestamp) - extract(epoch from '2026-06-29 03:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348023 -2.799585)'), GeomFromEWKT('SRID=4674;POINT (-40.348066 -2.799573)'))) / (select extract(epoch from '2026-06-29 03:53:06'::timestamp) - extract(epoch from '2026-06-29 03:52: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'), 46720, 'SRID=4674;POINT (-40.348101 -2.799577)', '2026-06-29 03:53:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348066 -2.799573)'), GeomFromEWKT('SRID=4674;POINT (-40.348101 -2.799577)'))) / (select extract(epoch from '2026-06-29 03:53:16'::timestamp) - extract(epoch from '2026-06-29 03:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348066 -2.799573)'), GeomFromEWKT('SRID=4674;POINT (-40.348101 -2.799577)'))) / (select extract(epoch from '2026-06-29 03:53:16'::timestamp) - extract(epoch from '2026-06-29 03:53:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.348143 -2.799569)', '2026-06-29 03:53:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348101 -2.799577)'), GeomFromEWKT('SRID=4674;POINT (-40.348143 -2.799569)'))) / (select extract(epoch from '2026-06-29 03:53:28'::timestamp) - extract(epoch from '2026-06-29 03:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348101 -2.799577)'), GeomFromEWKT('SRID=4674;POINT (-40.348143 -2.799569)'))) / (select extract(epoch from '2026-06-29 03:53:28'::timestamp) - extract(epoch from '2026-06-29 03:53: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'), 46720, 'SRID=4674;POINT (-40.34822 -2.799547)', '2026-06-29 03:53:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348143 -2.799569)'), GeomFromEWKT('SRID=4674;POINT (-40.34822 -2.799547)'))) / (select extract(epoch from '2026-06-29 03:53:45'::timestamp) - extract(epoch from '2026-06-29 03:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348143 -2.799569)'), GeomFromEWKT('SRID=4674;POINT (-40.34822 -2.799547)'))) / (select extract(epoch from '2026-06-29 03:53:45'::timestamp) - extract(epoch from '2026-06-29 03:53: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'), 46720, 'SRID=4674;POINT (-40.348272 -2.799522)', '2026-06-29 03:54:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34822 -2.799547)'), GeomFromEWKT('SRID=4674;POINT (-40.348272 -2.799522)'))) / (select extract(epoch from '2026-06-29 03:54:00'::timestamp) - extract(epoch from '2026-06-29 03:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34822 -2.799547)'), GeomFromEWKT('SRID=4674;POINT (-40.348272 -2.799522)'))) / (select extract(epoch from '2026-06-29 03:54:00'::timestamp) - extract(epoch from '2026-06-29 03:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.348328 -2.799501)', '2026-06-29 03:54:13', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348272 -2.799522)'), GeomFromEWKT('SRID=4674;POINT (-40.348328 -2.799501)'))) / (select extract(epoch from '2026-06-29 03:54:13'::timestamp) - extract(epoch from '2026-06-29 03:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348272 -2.799522)'), GeomFromEWKT('SRID=4674;POINT (-40.348328 -2.799501)'))) / (select extract(epoch from '2026-06-29 03:54:13'::timestamp) - extract(epoch from '2026-06-29 03:54: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'), 46720, 'SRID=4674;POINT (-40.348396 -2.79948)', '2026-06-29 03:54:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348328 -2.799501)'), GeomFromEWKT('SRID=4674;POINT (-40.348396 -2.79948)'))) / (select extract(epoch from '2026-06-29 03:54:29'::timestamp) - extract(epoch from '2026-06-29 03:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348328 -2.799501)'), GeomFromEWKT('SRID=4674;POINT (-40.348396 -2.79948)'))) / (select extract(epoch from '2026-06-29 03:54:29'::timestamp) - extract(epoch from '2026-06-29 03:54: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'), 46720, 'SRID=4674;POINT (-40.348447 -2.799463)', '2026-06-29 03:54:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348396 -2.79948)'), GeomFromEWKT('SRID=4674;POINT (-40.348447 -2.799463)'))) / (select extract(epoch from '2026-06-29 03:54:43'::timestamp) - extract(epoch from '2026-06-29 03:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348396 -2.79948)'), GeomFromEWKT('SRID=4674;POINT (-40.348447 -2.799463)'))) / (select extract(epoch from '2026-06-29 03:54:43'::timestamp) - extract(epoch from '2026-06-29 03:54: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'), 46720, 'SRID=4674;POINT (-40.348488 -2.79944)', '2026-06-29 03:54:54', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348447 -2.799463)'), GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.79944)'))) / (select extract(epoch from '2026-06-29 03:54:54'::timestamp) - extract(epoch from '2026-06-29 03:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348447 -2.799463)'), GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.79944)'))) / (select extract(epoch from '2026-06-29 03:54:54'::timestamp) - extract(epoch from '2026-06-29 03:54:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.348549 -2.799415)', '2026-06-29 03:55:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.79944)'), GeomFromEWKT('SRID=4674;POINT (-40.348549 -2.799415)'))) / (select extract(epoch from '2026-06-29 03:55:09'::timestamp) - extract(epoch from '2026-06-29 03:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348488 -2.79944)'), GeomFromEWKT('SRID=4674;POINT (-40.348549 -2.799415)'))) / (select extract(epoch from '2026-06-29 03:55:09'::timestamp) - extract(epoch from '2026-06-29 03:54: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'), 46720, 'SRID=4674;POINT (-40.348583 -2.799397)', '2026-06-29 03:55:21', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348549 -2.799415)'), GeomFromEWKT('SRID=4674;POINT (-40.348583 -2.799397)'))) / (select extract(epoch from '2026-06-29 03:55:21'::timestamp) - extract(epoch from '2026-06-29 03:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348549 -2.799415)'), GeomFromEWKT('SRID=4674;POINT (-40.348583 -2.799397)'))) / (select extract(epoch from '2026-06-29 03:55:21'::timestamp) - extract(epoch from '2026-06-29 03:55: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'), 46720, 'SRID=4674;POINT (-40.348632 -2.799365)', '2026-06-29 03:55:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348583 -2.799397)'), GeomFromEWKT('SRID=4674;POINT (-40.348632 -2.799365)'))) / (select extract(epoch from '2026-06-29 03:55:40'::timestamp) - extract(epoch from '2026-06-29 03:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348583 -2.799397)'), GeomFromEWKT('SRID=4674;POINT (-40.348632 -2.799365)'))) / (select extract(epoch from '2026-06-29 03:55:40'::timestamp) - extract(epoch from '2026-06-29 03:55:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.348686 -2.799335)', '2026-06-29 03:55:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348632 -2.799365)'), GeomFromEWKT('SRID=4674;POINT (-40.348686 -2.799335)'))) / (select extract(epoch from '2026-06-29 03:55:51'::timestamp) - extract(epoch from '2026-06-29 03:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348632 -2.799365)'), GeomFromEWKT('SRID=4674;POINT (-40.348686 -2.799335)'))) / (select extract(epoch from '2026-06-29 03:55:51'::timestamp) - extract(epoch from '2026-06-29 03:55:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.348757 -2.799289)', '2026-06-29 03:56:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348686 -2.799335)'), GeomFromEWKT('SRID=4674;POINT (-40.348757 -2.799289)'))) / (select extract(epoch from '2026-06-29 03:56:09'::timestamp) - extract(epoch from '2026-06-29 03:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348686 -2.799335)'), GeomFromEWKT('SRID=4674;POINT (-40.348757 -2.799289)'))) / (select extract(epoch from '2026-06-29 03:56:09'::timestamp) - extract(epoch from '2026-06-29 03:55:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.348811 -2.799261)', '2026-06-29 03:56:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348757 -2.799289)'), GeomFromEWKT('SRID=4674;POINT (-40.348811 -2.799261)'))) / (select extract(epoch from '2026-06-29 03:56:22'::timestamp) - extract(epoch from '2026-06-29 03:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348757 -2.799289)'), GeomFromEWKT('SRID=4674;POINT (-40.348811 -2.799261)'))) / (select extract(epoch from '2026-06-29 03:56:22'::timestamp) - extract(epoch from '2026-06-29 03:56: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'), 46720, 'SRID=4674;POINT (-40.348866 -2.799238)', '2026-06-29 03:56:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348811 -2.799261)'), GeomFromEWKT('SRID=4674;POINT (-40.348866 -2.799238)'))) / (select extract(epoch from '2026-06-29 03:56:32'::timestamp) - extract(epoch from '2026-06-29 03:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348811 -2.799261)'), GeomFromEWKT('SRID=4674;POINT (-40.348866 -2.799238)'))) / (select extract(epoch from '2026-06-29 03:56:32'::timestamp) - extract(epoch from '2026-06-29 03:56:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.348924 -2.799207)', '2026-06-29 03:56:43', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348866 -2.799238)'), GeomFromEWKT('SRID=4674;POINT (-40.348924 -2.799207)'))) / (select extract(epoch from '2026-06-29 03:56:43'::timestamp) - extract(epoch from '2026-06-29 03:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348866 -2.799238)'), GeomFromEWKT('SRID=4674;POINT (-40.348924 -2.799207)'))) / (select extract(epoch from '2026-06-29 03:56:43'::timestamp) - extract(epoch from '2026-06-29 03:56: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'), 46720, 'SRID=4674;POINT (-40.348991 -2.799166)', '2026-06-29 03:56:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348924 -2.799207)'), GeomFromEWKT('SRID=4674;POINT (-40.348991 -2.799166)'))) / (select extract(epoch from '2026-06-29 03:56:56'::timestamp) - extract(epoch from '2026-06-29 03:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348924 -2.799207)'), GeomFromEWKT('SRID=4674;POINT (-40.348991 -2.799166)'))) / (select extract(epoch from '2026-06-29 03:56:56'::timestamp) - extract(epoch from '2026-06-29 03:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349063 -2.79912)', '2026-06-29 03:57:11', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348991 -2.799166)'), GeomFromEWKT('SRID=4674;POINT (-40.349063 -2.79912)'))) / (select extract(epoch from '2026-06-29 03:57:11'::timestamp) - extract(epoch from '2026-06-29 03:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348991 -2.799166)'), GeomFromEWKT('SRID=4674;POINT (-40.349063 -2.79912)'))) / (select extract(epoch from '2026-06-29 03:57:11'::timestamp) - extract(epoch from '2026-06-29 03:56: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'), 46720, 'SRID=4674;POINT (-40.349101 -2.799099)', '2026-06-29 03:57:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349063 -2.79912)'), GeomFromEWKT('SRID=4674;POINT (-40.349101 -2.799099)'))) / (select extract(epoch from '2026-06-29 03:57:21'::timestamp) - extract(epoch from '2026-06-29 03:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349063 -2.79912)'), GeomFromEWKT('SRID=4674;POINT (-40.349101 -2.799099)'))) / (select extract(epoch from '2026-06-29 03:57:21'::timestamp) - extract(epoch from '2026-06-29 03:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349152 -2.799075)', '2026-06-29 03:57:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349101 -2.799099)'), GeomFromEWKT('SRID=4674;POINT (-40.349152 -2.799075)'))) / (select extract(epoch from '2026-06-29 03:57:35'::timestamp) - extract(epoch from '2026-06-29 03:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349101 -2.799099)'), GeomFromEWKT('SRID=4674;POINT (-40.349152 -2.799075)'))) / (select extract(epoch from '2026-06-29 03:57:35'::timestamp) - extract(epoch from '2026-06-29 03:57:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349207 -2.799044)', '2026-06-29 03:57:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349152 -2.799075)'), GeomFromEWKT('SRID=4674;POINT (-40.349207 -2.799044)'))) / (select extract(epoch from '2026-06-29 03:57:48'::timestamp) - extract(epoch from '2026-06-29 03:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349152 -2.799075)'), GeomFromEWKT('SRID=4674;POINT (-40.349207 -2.799044)'))) / (select extract(epoch from '2026-06-29 03:57:48'::timestamp) - extract(epoch from '2026-06-29 03:57:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349246 -2.799032)', '2026-06-29 03:58:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349207 -2.799044)'), GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.799032)'))) / (select extract(epoch from '2026-06-29 03:58:00'::timestamp) - extract(epoch from '2026-06-29 03:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349207 -2.799044)'), GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.799032)'))) / (select extract(epoch from '2026-06-29 03:58:00'::timestamp) - extract(epoch from '2026-06-29 03:57: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'), 46720, 'SRID=4674;POINT (-40.349319 -2.799017)', '2026-06-29 03:58:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.799032)'), GeomFromEWKT('SRID=4674;POINT (-40.349319 -2.799017)'))) / (select extract(epoch from '2026-06-29 03:58:15'::timestamp) - extract(epoch from '2026-06-29 03:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349246 -2.799032)'), GeomFromEWKT('SRID=4674;POINT (-40.349319 -2.799017)'))) / (select extract(epoch from '2026-06-29 03:58:15'::timestamp) - extract(epoch from '2026-06-29 03:58: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'), 46720, 'SRID=4674;POINT (-40.349374 -2.799011)', '2026-06-29 03:58:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349319 -2.799017)'), GeomFromEWKT('SRID=4674;POINT (-40.349374 -2.799011)'))) / (select extract(epoch from '2026-06-29 03:58:27'::timestamp) - extract(epoch from '2026-06-29 03:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349319 -2.799017)'), GeomFromEWKT('SRID=4674;POINT (-40.349374 -2.799011)'))) / (select extract(epoch from '2026-06-29 03:58:27'::timestamp) - extract(epoch from '2026-06-29 03:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349412 -2.799002)', '2026-06-29 03:58:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349374 -2.799011)'), GeomFromEWKT('SRID=4674;POINT (-40.349412 -2.799002)'))) / (select extract(epoch from '2026-06-29 03:58:38'::timestamp) - extract(epoch from '2026-06-29 03:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349374 -2.799011)'), GeomFromEWKT('SRID=4674;POINT (-40.349412 -2.799002)'))) / (select extract(epoch from '2026-06-29 03:58:38'::timestamp) - extract(epoch from '2026-06-29 03:58:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349443 -2.798996)', '2026-06-29 03:58:46', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349412 -2.799002)'), GeomFromEWKT('SRID=4674;POINT (-40.349443 -2.798996)'))) / (select extract(epoch from '2026-06-29 03:58:46'::timestamp) - extract(epoch from '2026-06-29 03:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349412 -2.799002)'), GeomFromEWKT('SRID=4674;POINT (-40.349443 -2.798996)'))) / (select extract(epoch from '2026-06-29 03:58:46'::timestamp) - extract(epoch from '2026-06-29 03:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349486 -2.798979)', '2026-06-29 03:58:57', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349443 -2.798996)'), GeomFromEWKT('SRID=4674;POINT (-40.349486 -2.798979)'))) / (select extract(epoch from '2026-06-29 03:58:57'::timestamp) - extract(epoch from '2026-06-29 03:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349443 -2.798996)'), GeomFromEWKT('SRID=4674;POINT (-40.349486 -2.798979)'))) / (select extract(epoch from '2026-06-29 03:58:57'::timestamp) - extract(epoch from '2026-06-29 03:58: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'), 46720, 'SRID=4674;POINT (-40.349516 -2.798967)', '2026-06-29 03:59:05', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349486 -2.798979)'), GeomFromEWKT('SRID=4674;POINT (-40.349516 -2.798967)'))) / (select extract(epoch from '2026-06-29 03:59:05'::timestamp) - extract(epoch from '2026-06-29 03:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349486 -2.798979)'), GeomFromEWKT('SRID=4674;POINT (-40.349516 -2.798967)'))) / (select extract(epoch from '2026-06-29 03:59:05'::timestamp) - extract(epoch from '2026-06-29 03:58:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349557 -2.798948)', '2026-06-29 03:59:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349516 -2.798967)'), GeomFromEWKT('SRID=4674;POINT (-40.349557 -2.798948)'))) / (select extract(epoch from '2026-06-29 03:59:16'::timestamp) - extract(epoch from '2026-06-29 03:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349516 -2.798967)'), GeomFromEWKT('SRID=4674;POINT (-40.349557 -2.798948)'))) / (select extract(epoch from '2026-06-29 03:59:16'::timestamp) - extract(epoch from '2026-06-29 03:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349594 -2.798935)', '2026-06-29 03:59:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349557 -2.798948)'), GeomFromEWKT('SRID=4674;POINT (-40.349594 -2.798935)'))) / (select extract(epoch from '2026-06-29 03:59:25'::timestamp) - extract(epoch from '2026-06-29 03:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349557 -2.798948)'), GeomFromEWKT('SRID=4674;POINT (-40.349594 -2.798935)'))) / (select extract(epoch from '2026-06-29 03:59:25'::timestamp) - extract(epoch from '2026-06-29 03:59: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'), 46720, 'SRID=4674;POINT (-40.349638 -2.798908)', '2026-06-29 03:59:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349594 -2.798935)'), GeomFromEWKT('SRID=4674;POINT (-40.349638 -2.798908)'))) / (select extract(epoch from '2026-06-29 03:59:37'::timestamp) - extract(epoch from '2026-06-29 03:59:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349594 -2.798935)'), GeomFromEWKT('SRID=4674;POINT (-40.349638 -2.798908)'))) / (select extract(epoch from '2026-06-29 03:59:37'::timestamp) - extract(epoch from '2026-06-29 03:59:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.34969 -2.798892)', '2026-06-29 03:59:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349638 -2.798908)'), GeomFromEWKT('SRID=4674;POINT (-40.34969 -2.798892)'))) / (select extract(epoch from '2026-06-29 03:59:49'::timestamp) - extract(epoch from '2026-06-29 03:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349638 -2.798908)'), GeomFromEWKT('SRID=4674;POINT (-40.34969 -2.798892)'))) / (select extract(epoch from '2026-06-29 03:59:49'::timestamp) - extract(epoch from '2026-06-29 03:59:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.349737 -2.798884)', '2026-06-29 04:00:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34969 -2.798892)'), GeomFromEWKT('SRID=4674;POINT (-40.349737 -2.798884)'))) / (select extract(epoch from '2026-06-29 04:00:00'::timestamp) - extract(epoch from '2026-06-29 03:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34969 -2.798892)'), GeomFromEWKT('SRID=4674;POINT (-40.349737 -2.798884)'))) / (select extract(epoch from '2026-06-29 04:00:00'::timestamp) - extract(epoch from '2026-06-29 03:59: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'), 46720, 'SRID=4674;POINT (-40.349782 -2.798864)', '2026-06-29 04:00:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349737 -2.798884)'), GeomFromEWKT('SRID=4674;POINT (-40.349782 -2.798864)'))) / (select extract(epoch from '2026-06-29 04:00:13'::timestamp) - extract(epoch from '2026-06-29 04:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349737 -2.798884)'), GeomFromEWKT('SRID=4674;POINT (-40.349782 -2.798864)'))) / (select extract(epoch from '2026-06-29 04:00:13'::timestamp) - extract(epoch from '2026-06-29 04:00: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'), 46720, 'SRID=4674;POINT (-40.349825 -2.798849)', '2026-06-29 04:00:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349782 -2.798864)'), GeomFromEWKT('SRID=4674;POINT (-40.349825 -2.798849)'))) / (select extract(epoch from '2026-06-29 04:00:23'::timestamp) - extract(epoch from '2026-06-29 04:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349782 -2.798864)'), GeomFromEWKT('SRID=4674;POINT (-40.349825 -2.798849)'))) / (select extract(epoch from '2026-06-29 04:00:23'::timestamp) - extract(epoch from '2026-06-29 04:00: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'), 46720, 'SRID=4674;POINT (-40.349894 -2.798824)', '2026-06-29 04:00:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349825 -2.798849)'), GeomFromEWKT('SRID=4674;POINT (-40.349894 -2.798824)'))) / (select extract(epoch from '2026-06-29 04:00:38'::timestamp) - extract(epoch from '2026-06-29 04:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349825 -2.798849)'), GeomFromEWKT('SRID=4674;POINT (-40.349894 -2.798824)'))) / (select extract(epoch from '2026-06-29 04:00:38'::timestamp) - extract(epoch from '2026-06-29 04:00: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'), 46720, 'SRID=4674;POINT (-40.349933 -2.79881)', '2026-06-29 04:00:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349894 -2.798824)'), GeomFromEWKT('SRID=4674;POINT (-40.349933 -2.79881)'))) / (select extract(epoch from '2026-06-29 04:00:47'::timestamp) - extract(epoch from '2026-06-29 04:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349894 -2.798824)'), GeomFromEWKT('SRID=4674;POINT (-40.349933 -2.79881)'))) / (select extract(epoch from '2026-06-29 04:00:47'::timestamp) - extract(epoch from '2026-06-29 04:00: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'), 46720, 'SRID=4674;POINT (-40.349973 -2.798801)', '2026-06-29 04:00:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349933 -2.79881)'), GeomFromEWKT('SRID=4674;POINT (-40.349973 -2.798801)'))) / (select extract(epoch from '2026-06-29 04:00:55'::timestamp) - extract(epoch from '2026-06-29 04:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349933 -2.79881)'), GeomFromEWKT('SRID=4674;POINT (-40.349973 -2.798801)'))) / (select extract(epoch from '2026-06-29 04:00:55'::timestamp) - extract(epoch from '2026-06-29 04:00:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.35003 -2.798787)', '2026-06-29 04:01:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349973 -2.798801)'), GeomFromEWKT('SRID=4674;POINT (-40.35003 -2.798787)'))) / (select extract(epoch from '2026-06-29 04:01:07'::timestamp) - extract(epoch from '2026-06-29 04:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349973 -2.798801)'), GeomFromEWKT('SRID=4674;POINT (-40.35003 -2.798787)'))) / (select extract(epoch from '2026-06-29 04:01:07'::timestamp) - extract(epoch from '2026-06-29 04:00: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'), 46720, 'SRID=4674;POINT (-40.350068 -2.798777)', '2026-06-29 04:01:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35003 -2.798787)'), GeomFromEWKT('SRID=4674;POINT (-40.350068 -2.798777)'))) / (select extract(epoch from '2026-06-29 04:01:15'::timestamp) - extract(epoch from '2026-06-29 04:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35003 -2.798787)'), GeomFromEWKT('SRID=4674;POINT (-40.350068 -2.798777)'))) / (select extract(epoch from '2026-06-29 04:01:15'::timestamp) - extract(epoch from '2026-06-29 04:01: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'), 46720, 'SRID=4674;POINT (-40.350115 -2.798765)', '2026-06-29 04:01:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350068 -2.798777)'), GeomFromEWKT('SRID=4674;POINT (-40.350115 -2.798765)'))) / (select extract(epoch from '2026-06-29 04:01:26'::timestamp) - extract(epoch from '2026-06-29 04:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350068 -2.798777)'), GeomFromEWKT('SRID=4674;POINT (-40.350115 -2.798765)'))) / (select extract(epoch from '2026-06-29 04:01:26'::timestamp) - extract(epoch from '2026-06-29 04:01: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'), 46720, 'SRID=4674;POINT (-40.350143 -2.798756)', '2026-06-29 04:01:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350115 -2.798765)'), GeomFromEWKT('SRID=4674;POINT (-40.350143 -2.798756)'))) / (select extract(epoch from '2026-06-29 04:01:35'::timestamp) - extract(epoch from '2026-06-29 04:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350115 -2.798765)'), GeomFromEWKT('SRID=4674;POINT (-40.350143 -2.798756)'))) / (select extract(epoch from '2026-06-29 04:01:35'::timestamp) - extract(epoch from '2026-06-29 04:01: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'), 46720, 'SRID=4674;POINT (-40.350166 -2.798751)', '2026-06-29 04:01:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350143 -2.798756)'), GeomFromEWKT('SRID=4674;POINT (-40.350166 -2.798751)'))) / (select extract(epoch from '2026-06-29 04:01:45'::timestamp) - extract(epoch from '2026-06-29 04:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350143 -2.798756)'), GeomFromEWKT('SRID=4674;POINT (-40.350166 -2.798751)'))) / (select extract(epoch from '2026-06-29 04:01:45'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.350189 -2.798737)', '2026-06-29 04:01:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350166 -2.798751)'), GeomFromEWKT('SRID=4674;POINT (-40.350189 -2.798737)'))) / (select extract(epoch from '2026-06-29 04:01:54'::timestamp) - extract(epoch from '2026-06-29 04:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350166 -2.798751)'), GeomFromEWKT('SRID=4674;POINT (-40.350189 -2.798737)'))) / (select extract(epoch from '2026-06-29 04:01:54'::timestamp) - extract(epoch from '2026-06-29 04:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.350212 -2.798721)', '2026-06-29 04:02:02', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350189 -2.798737)'), GeomFromEWKT('SRID=4674;POINT (-40.350212 -2.798721)'))) / (select extract(epoch from '2026-06-29 04:02:02'::timestamp) - extract(epoch from '2026-06-29 04:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350189 -2.798737)'), GeomFromEWKT('SRID=4674;POINT (-40.350212 -2.798721)'))) / (select extract(epoch from '2026-06-29 04:02:02'::timestamp) - extract(epoch from '2026-06-29 04:01: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'), 46720, 'SRID=4674;POINT (-40.350242 -2.798712)', '2026-06-29 04:02:12', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350212 -2.798721)'), GeomFromEWKT('SRID=4674;POINT (-40.350242 -2.798712)'))) / (select extract(epoch from '2026-06-29 04:02:12'::timestamp) - extract(epoch from '2026-06-29 04:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350212 -2.798721)'), GeomFromEWKT('SRID=4674;POINT (-40.350242 -2.798712)'))) / (select extract(epoch from '2026-06-29 04:02:12'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.350261 -2.798709)', '2026-06-29 04:02:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350242 -2.798712)'), GeomFromEWKT('SRID=4674;POINT (-40.350261 -2.798709)'))) / (select extract(epoch from '2026-06-29 04:02:19'::timestamp) - extract(epoch from '2026-06-29 04:02:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350242 -2.798712)'), GeomFromEWKT('SRID=4674;POINT (-40.350261 -2.798709)'))) / (select extract(epoch from '2026-06-29 04:02:19'::timestamp) - extract(epoch from '2026-06-29 04:02: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'), 46720, 'SRID=4674;POINT (-40.350313 -2.798696)', '2026-06-29 04:02:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350261 -2.798709)'), GeomFromEWKT('SRID=4674;POINT (-40.350313 -2.798696)'))) / (select extract(epoch from '2026-06-29 04:02:33'::timestamp) - extract(epoch from '2026-06-29 04:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350261 -2.798709)'), GeomFromEWKT('SRID=4674;POINT (-40.350313 -2.798696)'))) / (select extract(epoch from '2026-06-29 04:02:33'::timestamp) - extract(epoch from '2026-06-29 04:02: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'), 46720, 'SRID=4674;POINT (-40.350356 -2.798674)', '2026-06-29 04:02:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350313 -2.798696)'), GeomFromEWKT('SRID=4674;POINT (-40.350356 -2.798674)'))) / (select extract(epoch from '2026-06-29 04:02:44'::timestamp) - extract(epoch from '2026-06-29 04:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350313 -2.798696)'), GeomFromEWKT('SRID=4674;POINT (-40.350356 -2.798674)'))) / (select extract(epoch from '2026-06-29 04:02:44'::timestamp) - extract(epoch from '2026-06-29 04:02: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'), 46720, 'SRID=4674;POINT (-40.350405 -2.798654)', '2026-06-29 04:02:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350356 -2.798674)'), GeomFromEWKT('SRID=4674;POINT (-40.350405 -2.798654)'))) / (select extract(epoch from '2026-06-29 04:02:55'::timestamp) - extract(epoch from '2026-06-29 04:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350356 -2.798674)'), GeomFromEWKT('SRID=4674;POINT (-40.350405 -2.798654)'))) / (select extract(epoch from '2026-06-29 04:02:55'::timestamp) - extract(epoch from '2026-06-29 04:02: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'), 46720, 'SRID=4674;POINT (-40.35046 -2.79863)', '2026-06-29 04:03:07', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350405 -2.798654)'), GeomFromEWKT('SRID=4674;POINT (-40.35046 -2.79863)'))) / (select extract(epoch from '2026-06-29 04:03:07'::timestamp) - extract(epoch from '2026-06-29 04:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350405 -2.798654)'), GeomFromEWKT('SRID=4674;POINT (-40.35046 -2.79863)'))) / (select extract(epoch from '2026-06-29 04:03:07'::timestamp) - extract(epoch from '2026-06-29 04:02: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'), 46720, 'SRID=4674;POINT (-40.350487 -2.798621)', '2026-06-29 04:03:13', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35046 -2.79863)'), GeomFromEWKT('SRID=4674;POINT (-40.350487 -2.798621)'))) / (select extract(epoch from '2026-06-29 04:03:13'::timestamp) - extract(epoch from '2026-06-29 04:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35046 -2.79863)'), GeomFromEWKT('SRID=4674;POINT (-40.350487 -2.798621)'))) / (select extract(epoch from '2026-06-29 04:03:13'::timestamp) - extract(epoch from '2026-06-29 04:03: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'), 46720, 'SRID=4674;POINT (-40.35052 -2.798615)', '2026-06-29 04:03:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350487 -2.798621)'), GeomFromEWKT('SRID=4674;POINT (-40.35052 -2.798615)'))) / (select extract(epoch from '2026-06-29 04:03:21'::timestamp) - extract(epoch from '2026-06-29 04:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350487 -2.798621)'), GeomFromEWKT('SRID=4674;POINT (-40.35052 -2.798615)'))) / (select extract(epoch from '2026-06-29 04:03:21'::timestamp) - extract(epoch from '2026-06-29 04:03: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'), 46720, 'SRID=4674;POINT (-40.350537 -2.798599)', '2026-06-29 04:03:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35052 -2.798615)'), GeomFromEWKT('SRID=4674;POINT (-40.350537 -2.798599)'))) / (select extract(epoch from '2026-06-29 04:03:30'::timestamp) - extract(epoch from '2026-06-29 04:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35052 -2.798615)'), GeomFromEWKT('SRID=4674;POINT (-40.350537 -2.798599)'))) / (select extract(epoch from '2026-06-29 04:03:30'::timestamp) - extract(epoch from '2026-06-29 04:03:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.350575 -2.798582)', '2026-06-29 04:03:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350537 -2.798599)'), GeomFromEWKT('SRID=4674;POINT (-40.350575 -2.798582)'))) / (select extract(epoch from '2026-06-29 04:03:45'::timestamp) - extract(epoch from '2026-06-29 04:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350537 -2.798599)'), GeomFromEWKT('SRID=4674;POINT (-40.350575 -2.798582)'))) / (select extract(epoch from '2026-06-29 04:03:45'::timestamp) - extract(epoch from '2026-06-29 04:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.350614 -2.79857)', '2026-06-29 04:03:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350575 -2.798582)'), GeomFromEWKT('SRID=4674;POINT (-40.350614 -2.79857)'))) / (select extract(epoch from '2026-06-29 04:03:57'::timestamp) - extract(epoch from '2026-06-29 04:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350575 -2.798582)'), GeomFromEWKT('SRID=4674;POINT (-40.350614 -2.79857)'))) / (select extract(epoch from '2026-06-29 04:03:57'::timestamp) - extract(epoch from '2026-06-29 04:03: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'), 46720, 'SRID=4674;POINT (-40.350643 -2.798567)', '2026-06-29 04:04:05', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350614 -2.79857)'), GeomFromEWKT('SRID=4674;POINT (-40.350643 -2.798567)'))) / (select extract(epoch from '2026-06-29 04:04:05'::timestamp) - extract(epoch from '2026-06-29 04:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350614 -2.79857)'), GeomFromEWKT('SRID=4674;POINT (-40.350643 -2.798567)'))) / (select extract(epoch from '2026-06-29 04:04:05'::timestamp) - extract(epoch from '2026-06-29 04:03: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'), 46720, 'SRID=4674;POINT (-40.350672 -2.798558)', '2026-06-29 04:04:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350643 -2.798567)'), GeomFromEWKT('SRID=4674;POINT (-40.350672 -2.798558)'))) / (select extract(epoch from '2026-06-29 04:04:12'::timestamp) - extract(epoch from '2026-06-29 04:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350643 -2.798567)'), GeomFromEWKT('SRID=4674;POINT (-40.350672 -2.798558)'))) / (select extract(epoch from '2026-06-29 04:04:12'::timestamp) - extract(epoch from '2026-06-29 04:04: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'), 46720, 'SRID=4674;POINT (-40.3507 -2.798553)', '2026-06-29 04:04:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350672 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.3507 -2.798553)'))) / (select extract(epoch from '2026-06-29 04:04:18'::timestamp) - extract(epoch from '2026-06-29 04:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350672 -2.798558)'), GeomFromEWKT('SRID=4674;POINT (-40.3507 -2.798553)'))) / (select extract(epoch from '2026-06-29 04:04:18'::timestamp) - extract(epoch from '2026-06-29 04:04: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'), 46720, 'SRID=4674;POINT (-40.350735 -2.798549)', '2026-06-29 04:04:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3507 -2.798553)'), GeomFromEWKT('SRID=4674;POINT (-40.350735 -2.798549)'))) / (select extract(epoch from '2026-06-29 04:04:25'::timestamp) - extract(epoch from '2026-06-29 04:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3507 -2.798553)'), GeomFromEWKT('SRID=4674;POINT (-40.350735 -2.798549)'))) / (select extract(epoch from '2026-06-29 04:04:25'::timestamp) - extract(epoch from '2026-06-29 04:04:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.350804 -2.798528)', '2026-06-29 04:04:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350735 -2.798549)'), GeomFromEWKT('SRID=4674;POINT (-40.350804 -2.798528)'))) / (select extract(epoch from '2026-06-29 04:04:38'::timestamp) - extract(epoch from '2026-06-29 04:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350735 -2.798549)'), GeomFromEWKT('SRID=4674;POINT (-40.350804 -2.798528)'))) / (select extract(epoch from '2026-06-29 04:04:38'::timestamp) - extract(epoch from '2026-06-29 04:04: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'), 46720, 'SRID=4674;POINT (-40.350853 -2.798514)', '2026-06-29 04:04:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350804 -2.798528)'), GeomFromEWKT('SRID=4674;POINT (-40.350853 -2.798514)'))) / (select extract(epoch from '2026-06-29 04:04:47'::timestamp) - extract(epoch from '2026-06-29 04:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350804 -2.798528)'), GeomFromEWKT('SRID=4674;POINT (-40.350853 -2.798514)'))) / (select extract(epoch from '2026-06-29 04:04:47'::timestamp) - extract(epoch from '2026-06-29 04:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.350883 -2.798499)', '2026-06-29 04:05:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350853 -2.798514)'), GeomFromEWKT('SRID=4674;POINT (-40.350883 -2.798499)'))) / (select extract(epoch from '2026-06-29 04:05:00'::timestamp) - extract(epoch from '2026-06-29 04:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350853 -2.798514)'), GeomFromEWKT('SRID=4674;POINT (-40.350883 -2.798499)'))) / (select extract(epoch from '2026-06-29 04:05:00'::timestamp) - extract(epoch from '2026-06-29 04:04: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'), 46720, 'SRID=4674;POINT (-40.350886 -2.798479)', '2026-06-29 04:05:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350883 -2.798499)'), GeomFromEWKT('SRID=4674;POINT (-40.350886 -2.798479)'))) / (select extract(epoch from '2026-06-29 04:05:16'::timestamp) - extract(epoch from '2026-06-29 04:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350883 -2.798499)'), GeomFromEWKT('SRID=4674;POINT (-40.350886 -2.798479)'))) / (select extract(epoch from '2026-06-29 04:05:16'::timestamp) - extract(epoch from '2026-06-29 04:05: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'), 46720, 'SRID=4674;POINT (-40.350885 -2.798458)', '2026-06-29 04:05:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350886 -2.798479)'), GeomFromEWKT('SRID=4674;POINT (-40.350885 -2.798458)'))) / (select extract(epoch from '2026-06-29 04:05:29'::timestamp) - extract(epoch from '2026-06-29 04:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350886 -2.798479)'), GeomFromEWKT('SRID=4674;POINT (-40.350885 -2.798458)'))) / (select extract(epoch from '2026-06-29 04:05:29'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.350886 -2.798438)', '2026-06-29 04:05:42', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350885 -2.798458)'), GeomFromEWKT('SRID=4674;POINT (-40.350886 -2.798438)'))) / (select extract(epoch from '2026-06-29 04:05:42'::timestamp) - extract(epoch from '2026-06-29 04:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350885 -2.798458)'), GeomFromEWKT('SRID=4674;POINT (-40.350886 -2.798438)'))) / (select extract(epoch from '2026-06-29 04:05:42'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.350893 -2.798418)', '2026-06-29 04:05:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350886 -2.798438)'), GeomFromEWKT('SRID=4674;POINT (-40.350893 -2.798418)'))) / (select extract(epoch from '2026-06-29 04:05:58'::timestamp) - extract(epoch from '2026-06-29 04:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350886 -2.798438)'), GeomFromEWKT('SRID=4674;POINT (-40.350893 -2.798418)'))) / (select extract(epoch from '2026-06-29 04:05:58'::timestamp) - extract(epoch from '2026-06-29 04:05: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'), 46720, 'SRID=4674;POINT (-40.350903 -2.798396)', '2026-06-29 04:06:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350893 -2.798418)'), GeomFromEWKT('SRID=4674;POINT (-40.350903 -2.798396)'))) / (select extract(epoch from '2026-06-29 04:06:13'::timestamp) - extract(epoch from '2026-06-29 04:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350893 -2.798418)'), GeomFromEWKT('SRID=4674;POINT (-40.350903 -2.798396)'))) / (select extract(epoch from '2026-06-29 04:06:13'::timestamp) - extract(epoch from '2026-06-29 04:05: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'), 46720, 'SRID=4674;POINT (-40.350924 -2.798379)', '2026-06-29 04:06:26', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350903 -2.798396)'), GeomFromEWKT('SRID=4674;POINT (-40.350924 -2.798379)'))) / (select extract(epoch from '2026-06-29 04:06:26'::timestamp) - extract(epoch from '2026-06-29 04:06:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350903 -2.798396)'), GeomFromEWKT('SRID=4674;POINT (-40.350924 -2.798379)'))) / (select extract(epoch from '2026-06-29 04:06:26'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.350938 -2.798367)', '2026-06-29 04:06:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350924 -2.798379)'), GeomFromEWKT('SRID=4674;POINT (-40.350938 -2.798367)'))) / (select extract(epoch from '2026-06-29 04:06:33'::timestamp) - extract(epoch from '2026-06-29 04:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350924 -2.798379)'), GeomFromEWKT('SRID=4674;POINT (-40.350938 -2.798367)'))) / (select extract(epoch from '2026-06-29 04:06:33'::timestamp) - extract(epoch from '2026-06-29 04:06: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'), 46720, 'SRID=4674;POINT (-40.350981 -2.798355)', '2026-06-29 04:06:44', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350938 -2.798367)'), GeomFromEWKT('SRID=4674;POINT (-40.350981 -2.798355)'))) / (select extract(epoch from '2026-06-29 04:06:44'::timestamp) - extract(epoch from '2026-06-29 04:06:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350938 -2.798367)'), GeomFromEWKT('SRID=4674;POINT (-40.350981 -2.798355)'))) / (select extract(epoch from '2026-06-29 04:06:44'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.351023 -2.798361)', '2026-06-29 04:06:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350981 -2.798355)'), GeomFromEWKT('SRID=4674;POINT (-40.351023 -2.798361)'))) / (select extract(epoch from '2026-06-29 04:06:54'::timestamp) - extract(epoch from '2026-06-29 04:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350981 -2.798355)'), GeomFromEWKT('SRID=4674;POINT (-40.351023 -2.798361)'))) / (select extract(epoch from '2026-06-29 04:06:54'::timestamp) - extract(epoch from '2026-06-29 04:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.35106 -2.798356)', '2026-06-29 04:07:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351023 -2.798361)'), GeomFromEWKT('SRID=4674;POINT (-40.35106 -2.798356)'))) / (select extract(epoch from '2026-06-29 04:07:02'::timestamp) - extract(epoch from '2026-06-29 04:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351023 -2.798361)'), GeomFromEWKT('SRID=4674;POINT (-40.35106 -2.798356)'))) / (select extract(epoch from '2026-06-29 04:07:02'::timestamp) - extract(epoch from '2026-06-29 04:06: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'), 46720, 'SRID=4674;POINT (-40.351095 -2.79835)', '2026-06-29 04:07:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35106 -2.798356)'), GeomFromEWKT('SRID=4674;POINT (-40.351095 -2.79835)'))) / (select extract(epoch from '2026-06-29 04:07:09'::timestamp) - extract(epoch from '2026-06-29 04:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35106 -2.798356)'), GeomFromEWKT('SRID=4674;POINT (-40.351095 -2.79835)'))) / (select extract(epoch from '2026-06-29 04:07:09'::timestamp) - extract(epoch from '2026-06-29 04:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.351145 -2.798343)', '2026-06-29 04:07:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351095 -2.79835)'), GeomFromEWKT('SRID=4674;POINT (-40.351145 -2.798343)'))) / (select extract(epoch from '2026-06-29 04:07:18'::timestamp) - extract(epoch from '2026-06-29 04:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351095 -2.79835)'), GeomFromEWKT('SRID=4674;POINT (-40.351145 -2.798343)'))) / (select extract(epoch from '2026-06-29 04:07:18'::timestamp) - extract(epoch from '2026-06-29 04:07: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'), 46720, 'SRID=4674;POINT (-40.351205 -2.798334)', '2026-06-29 04:07:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351145 -2.798343)'), GeomFromEWKT('SRID=4674;POINT (-40.351205 -2.798334)'))) / (select extract(epoch from '2026-06-29 04:07:29'::timestamp) - extract(epoch from '2026-06-29 04:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351145 -2.798343)'), GeomFromEWKT('SRID=4674;POINT (-40.351205 -2.798334)'))) / (select extract(epoch from '2026-06-29 04:07:29'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.351233 -2.798329)', '2026-06-29 04:07:35', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351205 -2.798334)'), GeomFromEWKT('SRID=4674;POINT (-40.351233 -2.798329)'))) / (select extract(epoch from '2026-06-29 04:07:35'::timestamp) - extract(epoch from '2026-06-29 04:07:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351205 -2.798334)'), GeomFromEWKT('SRID=4674;POINT (-40.351233 -2.798329)'))) / (select extract(epoch from '2026-06-29 04:07:35'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.351263 -2.798327)', '2026-06-29 04:07:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351233 -2.798329)'), GeomFromEWKT('SRID=4674;POINT (-40.351263 -2.798327)'))) / (select extract(epoch from '2026-06-29 04:07:41'::timestamp) - extract(epoch from '2026-06-29 04:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351233 -2.798329)'), GeomFromEWKT('SRID=4674;POINT (-40.351263 -2.798327)'))) / (select extract(epoch from '2026-06-29 04:07:41'::timestamp) - extract(epoch from '2026-06-29 04:07: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'), 46720, 'SRID=4674;POINT (-40.351304 -2.798314)', '2026-06-29 04:07:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351263 -2.798327)'), GeomFromEWKT('SRID=4674;POINT (-40.351304 -2.798314)'))) / (select extract(epoch from '2026-06-29 04:07:48'::timestamp) - extract(epoch from '2026-06-29 04:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351263 -2.798327)'), GeomFromEWKT('SRID=4674;POINT (-40.351304 -2.798314)'))) / (select extract(epoch from '2026-06-29 04:07:48'::timestamp) - extract(epoch from '2026-06-29 04:07: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'), 46720, 'SRID=4674;POINT (-40.351341 -2.7983)', '2026-06-29 04:07:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351304 -2.798314)'), GeomFromEWKT('SRID=4674;POINT (-40.351341 -2.7983)'))) / (select extract(epoch from '2026-06-29 04:07:55'::timestamp) - extract(epoch from '2026-06-29 04:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351304 -2.798314)'), GeomFromEWKT('SRID=4674;POINT (-40.351341 -2.7983)'))) / (select extract(epoch from '2026-06-29 04:07:55'::timestamp) - extract(epoch from '2026-06-29 04:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.35138 -2.798288)', '2026-06-29 04:08:02', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351341 -2.7983)'), GeomFromEWKT('SRID=4674;POINT (-40.35138 -2.798288)'))) / (select extract(epoch from '2026-06-29 04:08:02'::timestamp) - extract(epoch from '2026-06-29 04:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351341 -2.7983)'), GeomFromEWKT('SRID=4674;POINT (-40.35138 -2.798288)'))) / (select extract(epoch from '2026-06-29 04:08:02'::timestamp) - extract(epoch from '2026-06-29 04:07:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.351427 -2.79828)', '2026-06-29 04:08:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35138 -2.798288)'), GeomFromEWKT('SRID=4674;POINT (-40.351427 -2.79828)'))) / (select extract(epoch from '2026-06-29 04:08:10'::timestamp) - extract(epoch from '2026-06-29 04:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35138 -2.798288)'), GeomFromEWKT('SRID=4674;POINT (-40.351427 -2.79828)'))) / (select extract(epoch from '2026-06-29 04:08:10'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.351512 -2.79827)', '2026-06-29 04:08:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351427 -2.79828)'), GeomFromEWKT('SRID=4674;POINT (-40.351512 -2.79827)'))) / (select extract(epoch from '2026-06-29 04:08:24'::timestamp) - extract(epoch from '2026-06-29 04:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351427 -2.79828)'), GeomFromEWKT('SRID=4674;POINT (-40.351512 -2.79827)'))) / (select extract(epoch from '2026-06-29 04:08:24'::timestamp) - extract(epoch from '2026-06-29 04:08: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'), 46720, 'SRID=4674;POINT (-40.351583 -2.798258)', '2026-06-29 04:08:36', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351512 -2.79827)'), GeomFromEWKT('SRID=4674;POINT (-40.351583 -2.798258)'))) / (select extract(epoch from '2026-06-29 04:08:36'::timestamp) - extract(epoch from '2026-06-29 04:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351512 -2.79827)'), GeomFromEWKT('SRID=4674;POINT (-40.351583 -2.798258)'))) / (select extract(epoch from '2026-06-29 04:08:36'::timestamp) - extract(epoch from '2026-06-29 04:08: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'), 46720, 'SRID=4674;POINT (-40.351634 -2.798244)', '2026-06-29 04:08:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351583 -2.798258)'), GeomFromEWKT('SRID=4674;POINT (-40.351634 -2.798244)'))) / (select extract(epoch from '2026-06-29 04:08:45'::timestamp) - extract(epoch from '2026-06-29 04:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351583 -2.798258)'), GeomFromEWKT('SRID=4674;POINT (-40.351634 -2.798244)'))) / (select extract(epoch from '2026-06-29 04:08:45'::timestamp) - extract(epoch from '2026-06-29 04:08: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'), 46720, 'SRID=4674;POINT (-40.351686 -2.798231)', '2026-06-29 04:08:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351634 -2.798244)'), GeomFromEWKT('SRID=4674;POINT (-40.351686 -2.798231)'))) / (select extract(epoch from '2026-06-29 04:08:53'::timestamp) - extract(epoch from '2026-06-29 04:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351634 -2.798244)'), GeomFromEWKT('SRID=4674;POINT (-40.351686 -2.798231)'))) / (select extract(epoch from '2026-06-29 04:08:53'::timestamp) - extract(epoch from '2026-06-29 04:08: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'), 46720, 'SRID=4674;POINT (-40.351735 -2.798222)', '2026-06-29 04:09:01', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351686 -2.798231)'), GeomFromEWKT('SRID=4674;POINT (-40.351735 -2.798222)'))) / (select extract(epoch from '2026-06-29 04:09:01'::timestamp) - extract(epoch from '2026-06-29 04:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351686 -2.798231)'), GeomFromEWKT('SRID=4674;POINT (-40.351735 -2.798222)'))) / (select extract(epoch from '2026-06-29 04:09:01'::timestamp) - extract(epoch from '2026-06-29 04:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.35179 -2.798211)', '2026-06-29 04:09:10', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351735 -2.798222)'), GeomFromEWKT('SRID=4674;POINT (-40.35179 -2.798211)'))) / (select extract(epoch from '2026-06-29 04:09:10'::timestamp) - extract(epoch from '2026-06-29 04:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351735 -2.798222)'), GeomFromEWKT('SRID=4674;POINT (-40.35179 -2.798211)'))) / (select extract(epoch from '2026-06-29 04:09:10'::timestamp) - extract(epoch from '2026-06-29 04:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.351838 -2.798201)', '2026-06-29 04:09:18', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35179 -2.798211)'), GeomFromEWKT('SRID=4674;POINT (-40.351838 -2.798201)'))) / (select extract(epoch from '2026-06-29 04:09:18'::timestamp) - extract(epoch from '2026-06-29 04:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35179 -2.798211)'), GeomFromEWKT('SRID=4674;POINT (-40.351838 -2.798201)'))) / (select extract(epoch from '2026-06-29 04:09:18'::timestamp) - extract(epoch from '2026-06-29 04:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.351885 -2.798189)', '2026-06-29 04:09:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351838 -2.798201)'), GeomFromEWKT('SRID=4674;POINT (-40.351885 -2.798189)'))) / (select extract(epoch from '2026-06-29 04:09:26'::timestamp) - extract(epoch from '2026-06-29 04:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351838 -2.798201)'), GeomFromEWKT('SRID=4674;POINT (-40.351885 -2.798189)'))) / (select extract(epoch from '2026-06-29 04:09:26'::timestamp) - extract(epoch from '2026-06-29 04:09: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'), 46720, 'SRID=4674;POINT (-40.35193 -2.798179)', '2026-06-29 04:09:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351885 -2.798189)'), GeomFromEWKT('SRID=4674;POINT (-40.35193 -2.798179)'))) / (select extract(epoch from '2026-06-29 04:09:34'::timestamp) - extract(epoch from '2026-06-29 04:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351885 -2.798189)'), GeomFromEWKT('SRID=4674;POINT (-40.35193 -2.798179)'))) / (select extract(epoch from '2026-06-29 04:09:34'::timestamp) - extract(epoch from '2026-06-29 04:09:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.351984 -2.798166)', '2026-06-29 04:09:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35193 -2.798179)'), GeomFromEWKT('SRID=4674;POINT (-40.351984 -2.798166)'))) / (select extract(epoch from '2026-06-29 04:09:43'::timestamp) - extract(epoch from '2026-06-29 04:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35193 -2.798179)'), GeomFromEWKT('SRID=4674;POINT (-40.351984 -2.798166)'))) / (select extract(epoch from '2026-06-29 04:09:43'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.35205 -2.79815)', '2026-06-29 04:09:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351984 -2.798166)'), GeomFromEWKT('SRID=4674;POINT (-40.35205 -2.79815)'))) / (select extract(epoch from '2026-06-29 04:09:54'::timestamp) - extract(epoch from '2026-06-29 04:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351984 -2.798166)'), GeomFromEWKT('SRID=4674;POINT (-40.35205 -2.79815)'))) / (select extract(epoch from '2026-06-29 04:09:54'::timestamp) - extract(epoch from '2026-06-29 04:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.352096 -2.798136)', '2026-06-29 04:10:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35205 -2.79815)'), GeomFromEWKT('SRID=4674;POINT (-40.352096 -2.798136)'))) / (select extract(epoch from '2026-06-29 04:10:02'::timestamp) - extract(epoch from '2026-06-29 04:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35205 -2.79815)'), GeomFromEWKT('SRID=4674;POINT (-40.352096 -2.798136)'))) / (select extract(epoch from '2026-06-29 04:10:02'::timestamp) - extract(epoch from '2026-06-29 04:09: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'), 46720, 'SRID=4674;POINT (-40.352134 -2.798125)', '2026-06-29 04:10:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352096 -2.798136)'), GeomFromEWKT('SRID=4674;POINT (-40.352134 -2.798125)'))) / (select extract(epoch from '2026-06-29 04:10:09'::timestamp) - extract(epoch from '2026-06-29 04:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352096 -2.798136)'), GeomFromEWKT('SRID=4674;POINT (-40.352134 -2.798125)'))) / (select extract(epoch from '2026-06-29 04:10:09'::timestamp) - extract(epoch from '2026-06-29 04:10: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'), 46720, 'SRID=4674;POINT (-40.352176 -2.79812)', '2026-06-29 04:10:16', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352134 -2.798125)'), GeomFromEWKT('SRID=4674;POINT (-40.352176 -2.79812)'))) / (select extract(epoch from '2026-06-29 04:10:16'::timestamp) - extract(epoch from '2026-06-29 04:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352134 -2.798125)'), GeomFromEWKT('SRID=4674;POINT (-40.352176 -2.79812)'))) / (select extract(epoch from '2026-06-29 04:10:16'::timestamp) - extract(epoch from '2026-06-29 04:10: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'), 46720, 'SRID=4674;POINT (-40.352212 -2.798114)', '2026-06-29 04:10:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352176 -2.79812)'), GeomFromEWKT('SRID=4674;POINT (-40.352212 -2.798114)'))) / (select extract(epoch from '2026-06-29 04:10:22'::timestamp) - extract(epoch from '2026-06-29 04:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352176 -2.79812)'), GeomFromEWKT('SRID=4674;POINT (-40.352212 -2.798114)'))) / (select extract(epoch from '2026-06-29 04:10:22'::timestamp) - extract(epoch from '2026-06-29 04:10: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'), 46720, 'SRID=4674;POINT (-40.352257 -2.798097)', '2026-06-29 04:10:30', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352212 -2.798114)'), GeomFromEWKT('SRID=4674;POINT (-40.352257 -2.798097)'))) / (select extract(epoch from '2026-06-29 04:10:30'::timestamp) - extract(epoch from '2026-06-29 04:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352212 -2.798114)'), GeomFromEWKT('SRID=4674;POINT (-40.352257 -2.798097)'))) / (select extract(epoch from '2026-06-29 04:10:30'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.352298 -2.798085)', '2026-06-29 04:10:37', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352257 -2.798097)'), GeomFromEWKT('SRID=4674;POINT (-40.352298 -2.798085)'))) / (select extract(epoch from '2026-06-29 04:10:37'::timestamp) - extract(epoch from '2026-06-29 04:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352257 -2.798097)'), GeomFromEWKT('SRID=4674;POINT (-40.352298 -2.798085)'))) / (select extract(epoch from '2026-06-29 04:10:37'::timestamp) - extract(epoch from '2026-06-29 04:10: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'), 46720, 'SRID=4674;POINT (-40.352347 -2.798076)', '2026-06-29 04:10:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352298 -2.798085)'), GeomFromEWKT('SRID=4674;POINT (-40.352347 -2.798076)'))) / (select extract(epoch from '2026-06-29 04:10:45'::timestamp) - extract(epoch from '2026-06-29 04:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352298 -2.798085)'), GeomFromEWKT('SRID=4674;POINT (-40.352347 -2.798076)'))) / (select extract(epoch from '2026-06-29 04:10:45'::timestamp) - extract(epoch from '2026-06-29 04:10: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'), 46720, 'SRID=4674;POINT (-40.352385 -2.798067)', '2026-06-29 04:10:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352347 -2.798076)'), GeomFromEWKT('SRID=4674;POINT (-40.352385 -2.798067)'))) / (select extract(epoch from '2026-06-29 04:10:51'::timestamp) - extract(epoch from '2026-06-29 04:10:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352347 -2.798076)'), GeomFromEWKT('SRID=4674;POINT (-40.352385 -2.798067)'))) / (select extract(epoch from '2026-06-29 04:10:51'::timestamp) - extract(epoch from '2026-06-29 04:10: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'), 46720, 'SRID=4674;POINT (-40.352441 -2.798053)', '2026-06-29 04:11:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352385 -2.798067)'), GeomFromEWKT('SRID=4674;POINT (-40.352441 -2.798053)'))) / (select extract(epoch from '2026-06-29 04:11:00'::timestamp) - extract(epoch from '2026-06-29 04:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352385 -2.798067)'), GeomFromEWKT('SRID=4674;POINT (-40.352441 -2.798053)'))) / (select extract(epoch from '2026-06-29 04:11:00'::timestamp) - extract(epoch from '2026-06-29 04:10: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'), 46720, 'SRID=4674;POINT (-40.352502 -2.798037)', '2026-06-29 04:11:10', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352441 -2.798053)'), GeomFromEWKT('SRID=4674;POINT (-40.352502 -2.798037)'))) / (select extract(epoch from '2026-06-29 04:11:10'::timestamp) - extract(epoch from '2026-06-29 04:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352441 -2.798053)'), GeomFromEWKT('SRID=4674;POINT (-40.352502 -2.798037)'))) / (select extract(epoch from '2026-06-29 04:11:10'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.352546 -2.798028)', '2026-06-29 04:11:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352502 -2.798037)'), GeomFromEWKT('SRID=4674;POINT (-40.352546 -2.798028)'))) / (select extract(epoch from '2026-06-29 04:11:17'::timestamp) - extract(epoch from '2026-06-29 04:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352502 -2.798037)'), GeomFromEWKT('SRID=4674;POINT (-40.352546 -2.798028)'))) / (select extract(epoch from '2026-06-29 04:11:17'::timestamp) - extract(epoch from '2026-06-29 04:11: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'), 46720, 'SRID=4674;POINT (-40.352616 -2.798014)', '2026-06-29 04:11:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352546 -2.798028)'), GeomFromEWKT('SRID=4674;POINT (-40.352616 -2.798014)'))) / (select extract(epoch from '2026-06-29 04:11:27'::timestamp) - extract(epoch from '2026-06-29 04:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352546 -2.798028)'), GeomFromEWKT('SRID=4674;POINT (-40.352616 -2.798014)'))) / (select extract(epoch from '2026-06-29 04:11:27'::timestamp) - extract(epoch from '2026-06-29 04:11: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'), 46720, 'SRID=4674;POINT (-40.352677 -2.797995)', '2026-06-29 04:11:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352616 -2.798014)'), GeomFromEWKT('SRID=4674;POINT (-40.352677 -2.797995)'))) / (select extract(epoch from '2026-06-29 04:11:37'::timestamp) - extract(epoch from '2026-06-29 04:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352616 -2.798014)'), GeomFromEWKT('SRID=4674;POINT (-40.352677 -2.797995)'))) / (select extract(epoch from '2026-06-29 04:11:37'::timestamp) - extract(epoch from '2026-06-29 04:11: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'), 46720, 'SRID=4674;POINT (-40.352721 -2.797979)', '2026-06-29 04:11:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352677 -2.797995)'), GeomFromEWKT('SRID=4674;POINT (-40.352721 -2.797979)'))) / (select extract(epoch from '2026-06-29 04:11:45'::timestamp) - extract(epoch from '2026-06-29 04:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352677 -2.797995)'), GeomFromEWKT('SRID=4674;POINT (-40.352721 -2.797979)'))) / (select extract(epoch from '2026-06-29 04:11:45'::timestamp) - extract(epoch from '2026-06-29 04:11: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'), 46720, 'SRID=4674;POINT (-40.352771 -2.797961)', '2026-06-29 04:11:54', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352721 -2.797979)'), GeomFromEWKT('SRID=4674;POINT (-40.352771 -2.797961)'))) / (select extract(epoch from '2026-06-29 04:11:54'::timestamp) - extract(epoch from '2026-06-29 04:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352721 -2.797979)'), GeomFromEWKT('SRID=4674;POINT (-40.352771 -2.797961)'))) / (select extract(epoch from '2026-06-29 04:11:54'::timestamp) - extract(epoch from '2026-06-29 04:11: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'), 46720, 'SRID=4674;POINT (-40.352813 -2.797942)', '2026-06-29 04:12:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352771 -2.797961)'), GeomFromEWKT('SRID=4674;POINT (-40.352813 -2.797942)'))) / (select extract(epoch from '2026-06-29 04:12:01'::timestamp) - extract(epoch from '2026-06-29 04:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352771 -2.797961)'), GeomFromEWKT('SRID=4674;POINT (-40.352813 -2.797942)'))) / (select extract(epoch from '2026-06-29 04:12:01'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.352864 -2.797904)', '2026-06-29 04:12:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352813 -2.797942)'), GeomFromEWKT('SRID=4674;POINT (-40.352864 -2.797904)'))) / (select extract(epoch from '2026-06-29 04:12:10'::timestamp) - extract(epoch from '2026-06-29 04:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352813 -2.797942)'), GeomFromEWKT('SRID=4674;POINT (-40.352864 -2.797904)'))) / (select extract(epoch from '2026-06-29 04:12:10'::timestamp) - extract(epoch from '2026-06-29 04:12: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'), 46720, 'SRID=4674;POINT (-40.35292 -2.797857)', '2026-06-29 04:12:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352864 -2.797904)'), GeomFromEWKT('SRID=4674;POINT (-40.35292 -2.797857)'))) / (select extract(epoch from '2026-06-29 04:12:20'::timestamp) - extract(epoch from '2026-06-29 04:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352864 -2.797904)'), GeomFromEWKT('SRID=4674;POINT (-40.35292 -2.797857)'))) / (select extract(epoch from '2026-06-29 04:12:20'::timestamp) - extract(epoch from '2026-06-29 04:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.352966 -2.797832)', '2026-06-29 04:12:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35292 -2.797857)'), GeomFromEWKT('SRID=4674;POINT (-40.352966 -2.797832)'))) / (select extract(epoch from '2026-06-29 04:12:27'::timestamp) - extract(epoch from '2026-06-29 04:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35292 -2.797857)'), GeomFromEWKT('SRID=4674;POINT (-40.352966 -2.797832)'))) / (select extract(epoch from '2026-06-29 04:12:27'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.353022 -2.7978)', '2026-06-29 04:12:36', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352966 -2.797832)'), GeomFromEWKT('SRID=4674;POINT (-40.353022 -2.7978)'))) / (select extract(epoch from '2026-06-29 04:12:36'::timestamp) - extract(epoch from '2026-06-29 04:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352966 -2.797832)'), GeomFromEWKT('SRID=4674;POINT (-40.353022 -2.7978)'))) / (select extract(epoch from '2026-06-29 04:12:36'::timestamp) - extract(epoch from '2026-06-29 04:12: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'), 46720, 'SRID=4674;POINT (-40.353073 -2.797764)', '2026-06-29 04:12:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353022 -2.7978)'), GeomFromEWKT('SRID=4674;POINT (-40.353073 -2.797764)'))) / (select extract(epoch from '2026-06-29 04:12:44'::timestamp) - extract(epoch from '2026-06-29 04:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353022 -2.7978)'), GeomFromEWKT('SRID=4674;POINT (-40.353073 -2.797764)'))) / (select extract(epoch from '2026-06-29 04:12:44'::timestamp) - extract(epoch from '2026-06-29 04:12: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'), 46720, 'SRID=4674;POINT (-40.353126 -2.797714)', '2026-06-29 04:12:54', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353073 -2.797764)'), GeomFromEWKT('SRID=4674;POINT (-40.353126 -2.797714)'))) / (select extract(epoch from '2026-06-29 04:12:54'::timestamp) - extract(epoch from '2026-06-29 04:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353073 -2.797764)'), GeomFromEWKT('SRID=4674;POINT (-40.353126 -2.797714)'))) / (select extract(epoch from '2026-06-29 04:12:54'::timestamp) - extract(epoch from '2026-06-29 04:12: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'), 46720, 'SRID=4674;POINT (-40.353173 -2.797681)', '2026-06-29 04:13:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353126 -2.797714)'), GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.797681)'))) / (select extract(epoch from '2026-06-29 04:13:02'::timestamp) - extract(epoch from '2026-06-29 04:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353126 -2.797714)'), GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.797681)'))) / (select extract(epoch from '2026-06-29 04:13:02'::timestamp) - extract(epoch from '2026-06-29 04:12: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'), 46720, 'SRID=4674;POINT (-40.353213 -2.797653)', '2026-06-29 04:13:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.797681)'), GeomFromEWKT('SRID=4674;POINT (-40.353213 -2.797653)'))) / (select extract(epoch from '2026-06-29 04:13:09'::timestamp) - extract(epoch from '2026-06-29 04:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.797681)'), GeomFromEWKT('SRID=4674;POINT (-40.353213 -2.797653)'))) / (select extract(epoch from '2026-06-29 04:13:09'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.353255 -2.79762)', '2026-06-29 04:13:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353213 -2.797653)'), GeomFromEWKT('SRID=4674;POINT (-40.353255 -2.79762)'))) / (select extract(epoch from '2026-06-29 04:13:17'::timestamp) - extract(epoch from '2026-06-29 04:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353213 -2.797653)'), GeomFromEWKT('SRID=4674;POINT (-40.353255 -2.79762)'))) / (select extract(epoch from '2026-06-29 04:13:17'::timestamp) - extract(epoch from '2026-06-29 04:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.353297 -2.797576)', '2026-06-29 04:13:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353255 -2.79762)'), GeomFromEWKT('SRID=4674;POINT (-40.353297 -2.797576)'))) / (select extract(epoch from '2026-06-29 04:13:27'::timestamp) - extract(epoch from '2026-06-29 04:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353255 -2.79762)'), GeomFromEWKT('SRID=4674;POINT (-40.353297 -2.797576)'))) / (select extract(epoch from '2026-06-29 04:13:27'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.353323 -2.797554)', '2026-06-29 04:13:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353297 -2.797576)'), GeomFromEWKT('SRID=4674;POINT (-40.353323 -2.797554)'))) / (select extract(epoch from '2026-06-29 04:13:33'::timestamp) - extract(epoch from '2026-06-29 04:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353297 -2.797576)'), GeomFromEWKT('SRID=4674;POINT (-40.353323 -2.797554)'))) / (select extract(epoch from '2026-06-29 04:13:33'::timestamp) - extract(epoch from '2026-06-29 04:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.353368 -2.797531)', '2026-06-29 04:13:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353323 -2.797554)'), GeomFromEWKT('SRID=4674;POINT (-40.353368 -2.797531)'))) / (select extract(epoch from '2026-06-29 04:13:41'::timestamp) - extract(epoch from '2026-06-29 04:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353323 -2.797554)'), GeomFromEWKT('SRID=4674;POINT (-40.353368 -2.797531)'))) / (select extract(epoch from '2026-06-29 04:13:41'::timestamp) - extract(epoch from '2026-06-29 04:13: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'), 46720, 'SRID=4674;POINT (-40.353419 -2.797503)', '2026-06-29 04:13:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353368 -2.797531)'), GeomFromEWKT('SRID=4674;POINT (-40.353419 -2.797503)'))) / (select extract(epoch from '2026-06-29 04:13:50'::timestamp) - extract(epoch from '2026-06-29 04:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353368 -2.797531)'), GeomFromEWKT('SRID=4674;POINT (-40.353419 -2.797503)'))) / (select extract(epoch from '2026-06-29 04:13:50'::timestamp) - extract(epoch from '2026-06-29 04:13:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.353458 -2.797484)', '2026-06-29 04:13:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353419 -2.797503)'), GeomFromEWKT('SRID=4674;POINT (-40.353458 -2.797484)'))) / (select extract(epoch from '2026-06-29 04:13:57'::timestamp) - extract(epoch from '2026-06-29 04:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353419 -2.797503)'), GeomFromEWKT('SRID=4674;POINT (-40.353458 -2.797484)'))) / (select extract(epoch from '2026-06-29 04:13:57'::timestamp) - extract(epoch from '2026-06-29 04:13: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'), 46720, 'SRID=4674;POINT (-40.353497 -2.797459)', '2026-06-29 04:14:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353458 -2.797484)'), GeomFromEWKT('SRID=4674;POINT (-40.353497 -2.797459)'))) / (select extract(epoch from '2026-06-29 04:14:04'::timestamp) - extract(epoch from '2026-06-29 04:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353458 -2.797484)'), GeomFromEWKT('SRID=4674;POINT (-40.353497 -2.797459)'))) / (select extract(epoch from '2026-06-29 04:14:04'::timestamp) - extract(epoch from '2026-06-29 04:13:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.353528 -2.797429)', '2026-06-29 04:14:11', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353497 -2.797459)'), GeomFromEWKT('SRID=4674;POINT (-40.353528 -2.797429)'))) / (select extract(epoch from '2026-06-29 04:14:11'::timestamp) - extract(epoch from '2026-06-29 04:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353497 -2.797459)'), GeomFromEWKT('SRID=4674;POINT (-40.353528 -2.797429)'))) / (select extract(epoch from '2026-06-29 04:14:11'::timestamp) - extract(epoch from '2026-06-29 04:14: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'), 46720, 'SRID=4674;POINT (-40.35357 -2.797379)', '2026-06-29 04:14:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353528 -2.797429)'), GeomFromEWKT('SRID=4674;POINT (-40.35357 -2.797379)'))) / (select extract(epoch from '2026-06-29 04:14:20'::timestamp) - extract(epoch from '2026-06-29 04:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353528 -2.797429)'), GeomFromEWKT('SRID=4674;POINT (-40.35357 -2.797379)'))) / (select extract(epoch from '2026-06-29 04:14:20'::timestamp) - extract(epoch from '2026-06-29 04:14: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'), 46720, 'SRID=4674;POINT (-40.353603 -2.797344)', '2026-06-29 04:14:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35357 -2.797379)'), GeomFromEWKT('SRID=4674;POINT (-40.353603 -2.797344)'))) / (select extract(epoch from '2026-06-29 04:14:27'::timestamp) - extract(epoch from '2026-06-29 04:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35357 -2.797379)'), GeomFromEWKT('SRID=4674;POINT (-40.353603 -2.797344)'))) / (select extract(epoch from '2026-06-29 04:14:27'::timestamp) - extract(epoch from '2026-06-29 04:14: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'), 46720, 'SRID=4674;POINT (-40.353631 -2.797302)', '2026-06-29 04:14:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353603 -2.797344)'), GeomFromEWKT('SRID=4674;POINT (-40.353631 -2.797302)'))) / (select extract(epoch from '2026-06-29 04:14:34'::timestamp) - extract(epoch from '2026-06-29 04:14:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353603 -2.797344)'), GeomFromEWKT('SRID=4674;POINT (-40.353631 -2.797302)'))) / (select extract(epoch from '2026-06-29 04:14:34'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.353661 -2.797256)', '2026-06-29 04:14:42', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353631 -2.797302)'), GeomFromEWKT('SRID=4674;POINT (-40.353661 -2.797256)'))) / (select extract(epoch from '2026-06-29 04:14:42'::timestamp) - extract(epoch from '2026-06-29 04:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353631 -2.797302)'), GeomFromEWKT('SRID=4674;POINT (-40.353661 -2.797256)'))) / (select extract(epoch from '2026-06-29 04:14:42'::timestamp) - extract(epoch from '2026-06-29 04:14: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'), 46720, 'SRID=4674;POINT (-40.353682 -2.797229)', '2026-06-29 04:14:48', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353661 -2.797256)'), GeomFromEWKT('SRID=4674;POINT (-40.353682 -2.797229)'))) / (select extract(epoch from '2026-06-29 04:14:48'::timestamp) - extract(epoch from '2026-06-29 04:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353661 -2.797256)'), GeomFromEWKT('SRID=4674;POINT (-40.353682 -2.797229)'))) / (select extract(epoch from '2026-06-29 04:14:48'::timestamp) - extract(epoch from '2026-06-29 04:14: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'), 46720, 'SRID=4674;POINT (-40.353686 -2.797222)', '2026-06-29 04:14:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353682 -2.797229)'), GeomFromEWKT('SRID=4674;POINT (-40.353686 -2.797222)'))) / (select extract(epoch from '2026-06-29 04:14:49'::timestamp) - extract(epoch from '2026-06-29 04:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353682 -2.797229)'), GeomFromEWKT('SRID=4674;POINT (-40.353686 -2.797222)'))) / (select extract(epoch from '2026-06-29 04:14:49'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.353715 -2.797183)', '2026-06-29 04:14:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353686 -2.797222)'), GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.797183)'))) / (select extract(epoch from '2026-06-29 04:14:57'::timestamp) - extract(epoch from '2026-06-29 04:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353686 -2.797222)'), GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.797183)'))) / (select extract(epoch from '2026-06-29 04:14:57'::timestamp) - extract(epoch from '2026-06-29 04:14: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'), 46720, 'SRID=4674;POINT (-40.353744 -2.797142)', '2026-06-29 04:15:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.353744 -2.797142)'))) / (select extract(epoch from '2026-06-29 04:15:05'::timestamp) - extract(epoch from '2026-06-29 04:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.797183)'), GeomFromEWKT('SRID=4674;POINT (-40.353744 -2.797142)'))) / (select extract(epoch from '2026-06-29 04:15:05'::timestamp) - extract(epoch from '2026-06-29 04:14: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'), 46720, 'SRID=4674;POINT (-40.353764 -2.797112)', '2026-06-29 04:15:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353744 -2.797142)'), GeomFromEWKT('SRID=4674;POINT (-40.353764 -2.797112)'))) / (select extract(epoch from '2026-06-29 04:15:11'::timestamp) - extract(epoch from '2026-06-29 04:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353744 -2.797142)'), GeomFromEWKT('SRID=4674;POINT (-40.353764 -2.797112)'))) / (select extract(epoch from '2026-06-29 04:15:11'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.353788 -2.797077)', '2026-06-29 04:15:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353764 -2.797112)'), GeomFromEWKT('SRID=4674;POINT (-40.353788 -2.797077)'))) / (select extract(epoch from '2026-06-29 04:15:19'::timestamp) - extract(epoch from '2026-06-29 04:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353764 -2.797112)'), GeomFromEWKT('SRID=4674;POINT (-40.353788 -2.797077)'))) / (select extract(epoch from '2026-06-29 04:15:19'::timestamp) - extract(epoch from '2026-06-29 04:15: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'), 46720, 'SRID=4674;POINT (-40.353813 -2.797038)', '2026-06-29 04:15:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353788 -2.797077)'), GeomFromEWKT('SRID=4674;POINT (-40.353813 -2.797038)'))) / (select extract(epoch from '2026-06-29 04:15:28'::timestamp) - extract(epoch from '2026-06-29 04:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353788 -2.797077)'), GeomFromEWKT('SRID=4674;POINT (-40.353813 -2.797038)'))) / (select extract(epoch from '2026-06-29 04:15:28'::timestamp) - extract(epoch from '2026-06-29 04:15: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'), 46720, 'SRID=4674;POINT (-40.35383 -2.797002)', '2026-06-29 04:15:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353813 -2.797038)'), GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.797002)'))) / (select extract(epoch from '2026-06-29 04:15:36'::timestamp) - extract(epoch from '2026-06-29 04:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353813 -2.797038)'), GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.797002)'))) / (select extract(epoch from '2026-06-29 04:15:36'::timestamp) - extract(epoch from '2026-06-29 04:15: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'), 46720, 'SRID=4674;POINT (-40.353843 -2.796964)', '2026-06-29 04:15:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.797002)'), GeomFromEWKT('SRID=4674;POINT (-40.353843 -2.796964)'))) / (select extract(epoch from '2026-06-29 04:15:45'::timestamp) - extract(epoch from '2026-06-29 04:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35383 -2.797002)'), GeomFromEWKT('SRID=4674;POINT (-40.353843 -2.796964)'))) / (select extract(epoch from '2026-06-29 04:15:45'::timestamp) - extract(epoch from '2026-06-29 04:15:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.353857 -2.796933)', '2026-06-29 04:15:53', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353843 -2.796964)'), GeomFromEWKT('SRID=4674;POINT (-40.353857 -2.796933)'))) / (select extract(epoch from '2026-06-29 04:15:53'::timestamp) - extract(epoch from '2026-06-29 04:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353843 -2.796964)'), GeomFromEWKT('SRID=4674;POINT (-40.353857 -2.796933)'))) / (select extract(epoch from '2026-06-29 04:15:53'::timestamp) - extract(epoch from '2026-06-29 04:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.353882 -2.796881)', '2026-06-29 04:16:06', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353857 -2.796933)'), GeomFromEWKT('SRID=4674;POINT (-40.353882 -2.796881)'))) / (select extract(epoch from '2026-06-29 04:16:06'::timestamp) - extract(epoch from '2026-06-29 04:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353857 -2.796933)'), GeomFromEWKT('SRID=4674;POINT (-40.353882 -2.796881)'))) / (select extract(epoch from '2026-06-29 04:16:06'::timestamp) - extract(epoch from '2026-06-29 04:15: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'), 46720, 'SRID=4674;POINT (-40.353905 -2.796829)', '2026-06-29 04:16:20', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353882 -2.796881)'), GeomFromEWKT('SRID=4674;POINT (-40.353905 -2.796829)'))) / (select extract(epoch from '2026-06-29 04:16:20'::timestamp) - extract(epoch from '2026-06-29 04:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353882 -2.796881)'), GeomFromEWKT('SRID=4674;POINT (-40.353905 -2.796829)'))) / (select extract(epoch from '2026-06-29 04:16:20'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.353926 -2.796789)', '2026-06-29 04:16:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353905 -2.796829)'), GeomFromEWKT('SRID=4674;POINT (-40.353926 -2.796789)'))) / (select extract(epoch from '2026-06-29 04:16:32'::timestamp) - extract(epoch from '2026-06-29 04:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353905 -2.796829)'), GeomFromEWKT('SRID=4674;POINT (-40.353926 -2.796789)'))) / (select extract(epoch from '2026-06-29 04:16:32'::timestamp) - extract(epoch from '2026-06-29 04:16: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'), 46720, 'SRID=4674;POINT (-40.353947 -2.79676)', '2026-06-29 04:16:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353926 -2.796789)'), GeomFromEWKT('SRID=4674;POINT (-40.353947 -2.79676)'))) / (select extract(epoch from '2026-06-29 04:16:40'::timestamp) - extract(epoch from '2026-06-29 04:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353926 -2.796789)'), GeomFromEWKT('SRID=4674;POINT (-40.353947 -2.79676)'))) / (select extract(epoch from '2026-06-29 04:16:40'::timestamp) - extract(epoch from '2026-06-29 04:16: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'), 46720, 'SRID=4674;POINT (-40.353975 -2.796736)', '2026-06-29 04:16:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353947 -2.79676)'), GeomFromEWKT('SRID=4674;POINT (-40.353975 -2.796736)'))) / (select extract(epoch from '2026-06-29 04:16:47'::timestamp) - extract(epoch from '2026-06-29 04:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353947 -2.79676)'), GeomFromEWKT('SRID=4674;POINT (-40.353975 -2.796736)'))) / (select extract(epoch from '2026-06-29 04:16:47'::timestamp) - extract(epoch from '2026-06-29 04:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.354009 -2.796703)', '2026-06-29 04:16:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353975 -2.796736)'), GeomFromEWKT('SRID=4674;POINT (-40.354009 -2.796703)'))) / (select extract(epoch from '2026-06-29 04:16:54'::timestamp) - extract(epoch from '2026-06-29 04:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353975 -2.796736)'), GeomFromEWKT('SRID=4674;POINT (-40.354009 -2.796703)'))) / (select extract(epoch from '2026-06-29 04:16:54'::timestamp) - extract(epoch from '2026-06-29 04:16: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'), 46720, 'SRID=4674;POINT (-40.354056 -2.796686)', '2026-06-29 04:17:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354009 -2.796703)'), GeomFromEWKT('SRID=4674;POINT (-40.354056 -2.796686)'))) / (select extract(epoch from '2026-06-29 04:17:02'::timestamp) - extract(epoch from '2026-06-29 04:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354009 -2.796703)'), GeomFromEWKT('SRID=4674;POINT (-40.354056 -2.796686)'))) / (select extract(epoch from '2026-06-29 04:17:02'::timestamp) - extract(epoch from '2026-06-29 04:16: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'), 46720, 'SRID=4674;POINT (-40.354099 -2.796676)', '2026-06-29 04:17:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354056 -2.796686)'), GeomFromEWKT('SRID=4674;POINT (-40.354099 -2.796676)'))) / (select extract(epoch from '2026-06-29 04:17:09'::timestamp) - extract(epoch from '2026-06-29 04:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354056 -2.796686)'), GeomFromEWKT('SRID=4674;POINT (-40.354099 -2.796676)'))) / (select extract(epoch from '2026-06-29 04:17:09'::timestamp) - extract(epoch from '2026-06-29 04:17: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'), 46720, 'SRID=4674;POINT (-40.354143 -2.796667)', '2026-06-29 04:17:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354099 -2.796676)'), GeomFromEWKT('SRID=4674;POINT (-40.354143 -2.796667)'))) / (select extract(epoch from '2026-06-29 04:17:16'::timestamp) - extract(epoch from '2026-06-29 04:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354099 -2.796676)'), GeomFromEWKT('SRID=4674;POINT (-40.354143 -2.796667)'))) / (select extract(epoch from '2026-06-29 04:17:16'::timestamp) - extract(epoch from '2026-06-29 04:17: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'), 46720, 'SRID=4674;POINT (-40.354204 -2.796667)', '2026-06-29 04:17:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354143 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.354204 -2.796667)'))) / (select extract(epoch from '2026-06-29 04:17:24'::timestamp) - extract(epoch from '2026-06-29 04:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354143 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.354204 -2.796667)'))) / (select extract(epoch from '2026-06-29 04:17:24'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.354272 -2.796658)', '2026-06-29 04:17:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354204 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.354272 -2.796658)'))) / (select extract(epoch from '2026-06-29 04:17:34'::timestamp) - extract(epoch from '2026-06-29 04:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354204 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.354272 -2.796658)'))) / (select extract(epoch from '2026-06-29 04:17:34'::timestamp) - extract(epoch from '2026-06-29 04:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.354322 -2.796663)', '2026-06-29 04:17:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354272 -2.796658)'), GeomFromEWKT('SRID=4674;POINT (-40.354322 -2.796663)'))) / (select extract(epoch from '2026-06-29 04:17:43'::timestamp) - extract(epoch from '2026-06-29 04:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354272 -2.796658)'), GeomFromEWKT('SRID=4674;POINT (-40.354322 -2.796663)'))) / (select extract(epoch from '2026-06-29 04:17:43'::timestamp) - extract(epoch from '2026-06-29 04:17: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'), 46720, 'SRID=4674;POINT (-40.354367 -2.796667)', '2026-06-29 04:17:51', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354322 -2.796663)'), GeomFromEWKT('SRID=4674;POINT (-40.354367 -2.796667)'))) / (select extract(epoch from '2026-06-29 04:17:51'::timestamp) - extract(epoch from '2026-06-29 04:17:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354322 -2.796663)'), GeomFromEWKT('SRID=4674;POINT (-40.354367 -2.796667)'))) / (select extract(epoch from '2026-06-29 04:17:51'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.354397 -2.796666)', '2026-06-29 04:18:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354367 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.354397 -2.796666)'))) / (select extract(epoch from '2026-06-29 04:18:00'::timestamp) - extract(epoch from '2026-06-29 04:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354367 -2.796667)'), GeomFromEWKT('SRID=4674;POINT (-40.354397 -2.796666)'))) / (select extract(epoch from '2026-06-29 04:18:00'::timestamp) - extract(epoch from '2026-06-29 04:17: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'), 46720, 'SRID=4674;POINT (-40.354464 -2.796669)', '2026-06-29 04:18:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354397 -2.796666)'), GeomFromEWKT('SRID=4674;POINT (-40.354464 -2.796669)'))) / (select extract(epoch from '2026-06-29 04:18:16'::timestamp) - extract(epoch from '2026-06-29 04:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354397 -2.796666)'), GeomFromEWKT('SRID=4674;POINT (-40.354464 -2.796669)'))) / (select extract(epoch from '2026-06-29 04:18:16'::timestamp) - extract(epoch from '2026-06-29 04:18: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'), 46720, 'SRID=4674;POINT (-40.354524 -2.796672)', '2026-06-29 04:18:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354464 -2.796669)'), GeomFromEWKT('SRID=4674;POINT (-40.354524 -2.796672)'))) / (select extract(epoch from '2026-06-29 04:18:29'::timestamp) - extract(epoch from '2026-06-29 04:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354464 -2.796669)'), GeomFromEWKT('SRID=4674;POINT (-40.354524 -2.796672)'))) / (select extract(epoch from '2026-06-29 04:18:29'::timestamp) - extract(epoch from '2026-06-29 04:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.354583 -2.796676)', '2026-06-29 04:18:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354524 -2.796672)'), GeomFromEWKT('SRID=4674;POINT (-40.354583 -2.796676)'))) / (select extract(epoch from '2026-06-29 04:18:41'::timestamp) - extract(epoch from '2026-06-29 04:18:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354524 -2.796672)'), GeomFromEWKT('SRID=4674;POINT (-40.354583 -2.796676)'))) / (select extract(epoch from '2026-06-29 04:18:41'::timestamp) - extract(epoch from '2026-06-29 04:18: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'), 46720, 'SRID=4674;POINT (-40.354657 -2.796679)', '2026-06-29 04:18:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354583 -2.796676)'), GeomFromEWKT('SRID=4674;POINT (-40.354657 -2.796679)'))) / (select extract(epoch from '2026-06-29 04:18:55'::timestamp) - extract(epoch from '2026-06-29 04:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354583 -2.796676)'), GeomFromEWKT('SRID=4674;POINT (-40.354657 -2.796679)'))) / (select extract(epoch from '2026-06-29 04:18:55'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.354754 -2.796675)', '2026-06-29 04:19:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354657 -2.796679)'), GeomFromEWKT('SRID=4674;POINT (-40.354754 -2.796675)'))) / (select extract(epoch from '2026-06-29 04:19:11'::timestamp) - extract(epoch from '2026-06-29 04:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354657 -2.796679)'), GeomFromEWKT('SRID=4674;POINT (-40.354754 -2.796675)'))) / (select extract(epoch from '2026-06-29 04:19:11'::timestamp) - extract(epoch from '2026-06-29 04:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.35482 -2.796681)', '2026-06-29 04:19:22', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354754 -2.796675)'), GeomFromEWKT('SRID=4674;POINT (-40.35482 -2.796681)'))) / (select extract(epoch from '2026-06-29 04:19:22'::timestamp) - extract(epoch from '2026-06-29 04:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354754 -2.796675)'), GeomFromEWKT('SRID=4674;POINT (-40.35482 -2.796681)'))) / (select extract(epoch from '2026-06-29 04:19:22'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.354882 -2.796691)', '2026-06-29 04:19:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35482 -2.796681)'), GeomFromEWKT('SRID=4674;POINT (-40.354882 -2.796691)'))) / (select extract(epoch from '2026-06-29 04:19:35'::timestamp) - extract(epoch from '2026-06-29 04:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35482 -2.796681)'), GeomFromEWKT('SRID=4674;POINT (-40.354882 -2.796691)'))) / (select extract(epoch from '2026-06-29 04:19:35'::timestamp) - extract(epoch from '2026-06-29 04:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.354956 -2.796695)', '2026-06-29 04:19:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354882 -2.796691)'), GeomFromEWKT('SRID=4674;POINT (-40.354956 -2.796695)'))) / (select extract(epoch from '2026-06-29 04:19:48'::timestamp) - extract(epoch from '2026-06-29 04:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354882 -2.796691)'), GeomFromEWKT('SRID=4674;POINT (-40.354956 -2.796695)'))) / (select extract(epoch from '2026-06-29 04:19:48'::timestamp) - extract(epoch from '2026-06-29 04:19:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.355037 -2.796705)', '2026-06-29 04:20:03', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354956 -2.796695)'), GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.796705)'))) / (select extract(epoch from '2026-06-29 04:20:03'::timestamp) - extract(epoch from '2026-06-29 04:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354956 -2.796695)'), GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.796705)'))) / (select extract(epoch from '2026-06-29 04:20:03'::timestamp) - extract(epoch from '2026-06-29 04:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.355095 -2.796702)', '2026-06-29 04:20:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.796705)'), GeomFromEWKT('SRID=4674;POINT (-40.355095 -2.796702)'))) / (select extract(epoch from '2026-06-29 04:20:15'::timestamp) - extract(epoch from '2026-06-29 04:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355037 -2.796705)'), GeomFromEWKT('SRID=4674;POINT (-40.355095 -2.796702)'))) / (select extract(epoch from '2026-06-29 04:20:15'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.355163 -2.796707)', '2026-06-29 04:20:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355095 -2.796702)'), GeomFromEWKT('SRID=4674;POINT (-40.355163 -2.796707)'))) / (select extract(epoch from '2026-06-29 04:20:29'::timestamp) - extract(epoch from '2026-06-29 04:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355095 -2.796702)'), GeomFromEWKT('SRID=4674;POINT (-40.355163 -2.796707)'))) / (select extract(epoch from '2026-06-29 04:20:29'::timestamp) - extract(epoch from '2026-06-29 04:20: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'), 46720, 'SRID=4674;POINT (-40.355243 -2.796709)', '2026-06-29 04:20:42', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355163 -2.796707)'), GeomFromEWKT('SRID=4674;POINT (-40.355243 -2.796709)'))) / (select extract(epoch from '2026-06-29 04:20:42'::timestamp) - extract(epoch from '2026-06-29 04:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355163 -2.796707)'), GeomFromEWKT('SRID=4674;POINT (-40.355243 -2.796709)'))) / (select extract(epoch from '2026-06-29 04:20:42'::timestamp) - extract(epoch from '2026-06-29 04:20: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'), 46720, 'SRID=4674;POINT (-40.355323 -2.796718)', '2026-06-29 04:20:55', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355243 -2.796709)'), GeomFromEWKT('SRID=4674;POINT (-40.355323 -2.796718)'))) / (select extract(epoch from '2026-06-29 04:20:55'::timestamp) - extract(epoch from '2026-06-29 04:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355243 -2.796709)'), GeomFromEWKT('SRID=4674;POINT (-40.355323 -2.796718)'))) / (select extract(epoch from '2026-06-29 04:20:55'::timestamp) - extract(epoch from '2026-06-29 04:20:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.355372 -2.796736)', '2026-06-29 04:21:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355323 -2.796718)'), GeomFromEWKT('SRID=4674;POINT (-40.355372 -2.796736)'))) / (select extract(epoch from '2026-06-29 04:21:04'::timestamp) - extract(epoch from '2026-06-29 04:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355323 -2.796718)'), GeomFromEWKT('SRID=4674;POINT (-40.355372 -2.796736)'))) / (select extract(epoch from '2026-06-29 04:21:04'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.355449 -2.796753)', '2026-06-29 04:21:19', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355372 -2.796736)'), GeomFromEWKT('SRID=4674;POINT (-40.355449 -2.796753)'))) / (select extract(epoch from '2026-06-29 04:21:19'::timestamp) - extract(epoch from '2026-06-29 04:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355372 -2.796736)'), GeomFromEWKT('SRID=4674;POINT (-40.355449 -2.796753)'))) / (select extract(epoch from '2026-06-29 04:21:19'::timestamp) - extract(epoch from '2026-06-29 04:21: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'), 46720, 'SRID=4674;POINT (-40.355522 -2.796771)', '2026-06-29 04:21:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355449 -2.796753)'), GeomFromEWKT('SRID=4674;POINT (-40.355522 -2.796771)'))) / (select extract(epoch from '2026-06-29 04:21:34'::timestamp) - extract(epoch from '2026-06-29 04:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355449 -2.796753)'), GeomFromEWKT('SRID=4674;POINT (-40.355522 -2.796771)'))) / (select extract(epoch from '2026-06-29 04:21:34'::timestamp) - extract(epoch from '2026-06-29 04:21: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'), 46720, 'SRID=4674;POINT (-40.355571 -2.79678)', '2026-06-29 04:21:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355522 -2.796771)'), GeomFromEWKT('SRID=4674;POINT (-40.355571 -2.79678)'))) / (select extract(epoch from '2026-06-29 04:21:46'::timestamp) - extract(epoch from '2026-06-29 04:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355522 -2.796771)'), GeomFromEWKT('SRID=4674;POINT (-40.355571 -2.79678)'))) / (select extract(epoch from '2026-06-29 04:21:46'::timestamp) - extract(epoch from '2026-06-29 04:21: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'), 46720, 'SRID=4674;POINT (-40.355694 -2.796776)', '2026-06-29 04:22:09', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355571 -2.79678)'), GeomFromEWKT('SRID=4674;POINT (-40.355694 -2.796776)'))) / (select extract(epoch from '2026-06-29 04:22:09'::timestamp) - extract(epoch from '2026-06-29 04:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355571 -2.79678)'), GeomFromEWKT('SRID=4674;POINT (-40.355694 -2.796776)'))) / (select extract(epoch from '2026-06-29 04:22:09'::timestamp) - extract(epoch from '2026-06-29 04:21: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'), 46720, 'SRID=4674;POINT (-40.355761 -2.796786)', '2026-06-29 04:22:22', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355694 -2.796776)'), GeomFromEWKT('SRID=4674;POINT (-40.355761 -2.796786)'))) / (select extract(epoch from '2026-06-29 04:22:22'::timestamp) - extract(epoch from '2026-06-29 04:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355694 -2.796776)'), GeomFromEWKT('SRID=4674;POINT (-40.355761 -2.796786)'))) / (select extract(epoch from '2026-06-29 04:22:22'::timestamp) - extract(epoch from '2026-06-29 04:22: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'), 46720, 'SRID=4674;POINT (-40.35587 -2.796803)', '2026-06-29 04:22:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355761 -2.796786)'), GeomFromEWKT('SRID=4674;POINT (-40.35587 -2.796803)'))) / (select extract(epoch from '2026-06-29 04:22:40'::timestamp) - extract(epoch from '2026-06-29 04:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355761 -2.796786)'), GeomFromEWKT('SRID=4674;POINT (-40.35587 -2.796803)'))) / (select extract(epoch from '2026-06-29 04:22:40'::timestamp) - extract(epoch from '2026-06-29 04:22: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'), 46720, 'SRID=4674;POINT (-40.355977 -2.796819)', '2026-06-29 04:22:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35587 -2.796803)'), GeomFromEWKT('SRID=4674;POINT (-40.355977 -2.796819)'))) / (select extract(epoch from '2026-06-29 04:22:57'::timestamp) - extract(epoch from '2026-06-29 04:22:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35587 -2.796803)'), GeomFromEWKT('SRID=4674;POINT (-40.355977 -2.796819)'))) / (select extract(epoch from '2026-06-29 04:22:57'::timestamp) - extract(epoch from '2026-06-29 04:22: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'), 46720, 'SRID=4674;POINT (-40.356038 -2.796832)', '2026-06-29 04:23:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355977 -2.796819)'), GeomFromEWKT('SRID=4674;POINT (-40.356038 -2.796832)'))) / (select extract(epoch from '2026-06-29 04:23:08'::timestamp) - extract(epoch from '2026-06-29 04:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355977 -2.796819)'), GeomFromEWKT('SRID=4674;POINT (-40.356038 -2.796832)'))) / (select extract(epoch from '2026-06-29 04:23:08'::timestamp) - extract(epoch from '2026-06-29 04:22: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'), 46720, 'SRID=4674;POINT (-40.356099 -2.796847)', '2026-06-29 04:23:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356038 -2.796832)'), GeomFromEWKT('SRID=4674;POINT (-40.356099 -2.796847)'))) / (select extract(epoch from '2026-06-29 04:23:20'::timestamp) - extract(epoch from '2026-06-29 04:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356038 -2.796832)'), GeomFromEWKT('SRID=4674;POINT (-40.356099 -2.796847)'))) / (select extract(epoch from '2026-06-29 04:23:20'::timestamp) - extract(epoch from '2026-06-29 04:23: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'), 46720, 'SRID=4674;POINT (-40.356152 -2.796856)', '2026-06-29 04:23:30', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356099 -2.796847)'), GeomFromEWKT('SRID=4674;POINT (-40.356152 -2.796856)'))) / (select extract(epoch from '2026-06-29 04:23:30'::timestamp) - extract(epoch from '2026-06-29 04:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356099 -2.796847)'), GeomFromEWKT('SRID=4674;POINT (-40.356152 -2.796856)'))) / (select extract(epoch from '2026-06-29 04:23:30'::timestamp) - extract(epoch from '2026-06-29 04:23: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'), 46720, 'SRID=4674;POINT (-40.356231 -2.796875)', '2026-06-29 04:23:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356152 -2.796856)'), GeomFromEWKT('SRID=4674;POINT (-40.356231 -2.796875)'))) / (select extract(epoch from '2026-06-29 04:23:44'::timestamp) - extract(epoch from '2026-06-29 04:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356152 -2.796856)'), GeomFromEWKT('SRID=4674;POINT (-40.356231 -2.796875)'))) / (select extract(epoch from '2026-06-29 04:23:44'::timestamp) - extract(epoch from '2026-06-29 04:23:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.356282 -2.796883)', '2026-06-29 04:23:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356231 -2.796875)'), GeomFromEWKT('SRID=4674;POINT (-40.356282 -2.796883)'))) / (select extract(epoch from '2026-06-29 04:23:54'::timestamp) - extract(epoch from '2026-06-29 04:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356231 -2.796875)'), GeomFromEWKT('SRID=4674;POINT (-40.356282 -2.796883)'))) / (select extract(epoch from '2026-06-29 04:23:54'::timestamp) - extract(epoch from '2026-06-29 04:23:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.356349 -2.796896)', '2026-06-29 04:24:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356282 -2.796883)'), GeomFromEWKT('SRID=4674;POINT (-40.356349 -2.796896)'))) / (select extract(epoch from '2026-06-29 04:24:07'::timestamp) - extract(epoch from '2026-06-29 04:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356282 -2.796883)'), GeomFromEWKT('SRID=4674;POINT (-40.356349 -2.796896)'))) / (select extract(epoch from '2026-06-29 04:24:07'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.356425 -2.796909)', '2026-06-29 04:24:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356349 -2.796896)'), GeomFromEWKT('SRID=4674;POINT (-40.356425 -2.796909)'))) / (select extract(epoch from '2026-06-29 04:24:21'::timestamp) - extract(epoch from '2026-06-29 04:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356349 -2.796896)'), GeomFromEWKT('SRID=4674;POINT (-40.356425 -2.796909)'))) / (select extract(epoch from '2026-06-29 04:24:21'::timestamp) - extract(epoch from '2026-06-29 04:24:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.356476 -2.796918)', '2026-06-29 04:24:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356425 -2.796909)'), GeomFromEWKT('SRID=4674;POINT (-40.356476 -2.796918)'))) / (select extract(epoch from '2026-06-29 04:24:31'::timestamp) - extract(epoch from '2026-06-29 04:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356425 -2.796909)'), GeomFromEWKT('SRID=4674;POINT (-40.356476 -2.796918)'))) / (select extract(epoch from '2026-06-29 04:24:31'::timestamp) - extract(epoch from '2026-06-29 04:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.356526 -2.796927)', '2026-06-29 04:24:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356476 -2.796918)'), GeomFromEWKT('SRID=4674;POINT (-40.356526 -2.796927)'))) / (select extract(epoch from '2026-06-29 04:24:41'::timestamp) - extract(epoch from '2026-06-29 04:24:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356476 -2.796918)'), GeomFromEWKT('SRID=4674;POINT (-40.356526 -2.796927)'))) / (select extract(epoch from '2026-06-29 04:24:41'::timestamp) - extract(epoch from '2026-06-29 04:24:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.356577 -2.796938)', '2026-06-29 04:24:51', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356526 -2.796927)'), GeomFromEWKT('SRID=4674;POINT (-40.356577 -2.796938)'))) / (select extract(epoch from '2026-06-29 04:24:51'::timestamp) - extract(epoch from '2026-06-29 04:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356526 -2.796927)'), GeomFromEWKT('SRID=4674;POINT (-40.356577 -2.796938)'))) / (select extract(epoch from '2026-06-29 04:24:51'::timestamp) - extract(epoch from '2026-06-29 04:24:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.356637 -2.796949)', '2026-06-29 04:25:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356577 -2.796938)'), GeomFromEWKT('SRID=4674;POINT (-40.356637 -2.796949)'))) / (select extract(epoch from '2026-06-29 04:25:03'::timestamp) - extract(epoch from '2026-06-29 04:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356577 -2.796938)'), GeomFromEWKT('SRID=4674;POINT (-40.356637 -2.796949)'))) / (select extract(epoch from '2026-06-29 04:25:03'::timestamp) - extract(epoch from '2026-06-29 04:24:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.356723 -2.79697)', '2026-06-29 04:25:20', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356637 -2.796949)'), GeomFromEWKT('SRID=4674;POINT (-40.356723 -2.79697)'))) / (select extract(epoch from '2026-06-29 04:25:20'::timestamp) - extract(epoch from '2026-06-29 04:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356637 -2.796949)'), GeomFromEWKT('SRID=4674;POINT (-40.356723 -2.79697)'))) / (select extract(epoch from '2026-06-29 04:25:20'::timestamp) - extract(epoch from '2026-06-29 04:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.356807 -2.796993)', '2026-06-29 04:25:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356723 -2.79697)'), GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.796993)'))) / (select extract(epoch from '2026-06-29 04:25:37'::timestamp) - extract(epoch from '2026-06-29 04:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356723 -2.79697)'), GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.796993)'))) / (select extract(epoch from '2026-06-29 04:25:37'::timestamp) - extract(epoch from '2026-06-29 04:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.356912 -2.797012)', '2026-06-29 04:25:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.796993)'), GeomFromEWKT('SRID=4674;POINT (-40.356912 -2.797012)'))) / (select extract(epoch from '2026-06-29 04:25:58'::timestamp) - extract(epoch from '2026-06-29 04:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356807 -2.796993)'), GeomFromEWKT('SRID=4674;POINT (-40.356912 -2.797012)'))) / (select extract(epoch from '2026-06-29 04:25:58'::timestamp) - extract(epoch from '2026-06-29 04:25: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'), 46720, 'SRID=4674;POINT (-40.357004 -2.797027)', '2026-06-29 04:26:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356912 -2.797012)'), GeomFromEWKT('SRID=4674;POINT (-40.357004 -2.797027)'))) / (select extract(epoch from '2026-06-29 04:26:16'::timestamp) - extract(epoch from '2026-06-29 04:25:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356912 -2.797012)'), GeomFromEWKT('SRID=4674;POINT (-40.357004 -2.797027)'))) / (select extract(epoch from '2026-06-29 04:26:16'::timestamp) - extract(epoch from '2026-06-29 04:25: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'), 46720, 'SRID=4674;POINT (-40.357133 -2.797049)', '2026-06-29 04:26:39', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357004 -2.797027)'), GeomFromEWKT('SRID=4674;POINT (-40.357133 -2.797049)'))) / (select extract(epoch from '2026-06-29 04:26:39'::timestamp) - extract(epoch from '2026-06-29 04:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357004 -2.797027)'), GeomFromEWKT('SRID=4674;POINT (-40.357133 -2.797049)'))) / (select extract(epoch from '2026-06-29 04:26:39'::timestamp) - extract(epoch from '2026-06-29 04: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'), 46720, 'SRID=4674;POINT (-40.357233 -2.797061)', '2026-06-29 04:26:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357133 -2.797049)'), GeomFromEWKT('SRID=4674;POINT (-40.357233 -2.797061)'))) / (select extract(epoch from '2026-06-29 04:26:56'::timestamp) - extract(epoch from '2026-06-29 04:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357133 -2.797049)'), GeomFromEWKT('SRID=4674;POINT (-40.357233 -2.797061)'))) / (select extract(epoch from '2026-06-29 04:26:56'::timestamp) - extract(epoch from '2026-06-29 04:26:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.357333 -2.797078)', '2026-06-29 04:27:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357233 -2.797061)'), GeomFromEWKT('SRID=4674;POINT (-40.357333 -2.797078)'))) / (select extract(epoch from '2026-06-29 04:27:13'::timestamp) - extract(epoch from '2026-06-29 04:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357233 -2.797061)'), GeomFromEWKT('SRID=4674;POINT (-40.357333 -2.797078)'))) / (select extract(epoch from '2026-06-29 04:27:13'::timestamp) - extract(epoch from '2026-06-29 04:26:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.357432 -2.79709)', '2026-06-29 04:27:29', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357333 -2.797078)'), GeomFromEWKT('SRID=4674;POINT (-40.357432 -2.79709)'))) / (select extract(epoch from '2026-06-29 04:27:29'::timestamp) - extract(epoch from '2026-06-29 04:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357333 -2.797078)'), GeomFromEWKT('SRID=4674;POINT (-40.357432 -2.79709)'))) / (select extract(epoch from '2026-06-29 04:27:29'::timestamp) - extract(epoch from '2026-06-29 04:27: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'), 46720, 'SRID=4674;POINT (-40.357525 -2.797106)', '2026-06-29 04:27:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357432 -2.79709)'), GeomFromEWKT('SRID=4674;POINT (-40.357525 -2.797106)'))) / (select extract(epoch from '2026-06-29 04:27:44'::timestamp) - extract(epoch from '2026-06-29 04:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357432 -2.79709)'), GeomFromEWKT('SRID=4674;POINT (-40.357525 -2.797106)'))) / (select extract(epoch from '2026-06-29 04:27:44'::timestamp) - extract(epoch from '2026-06-29 04:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.357613 -2.797127)', '2026-06-29 04:28:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357525 -2.797106)'), GeomFromEWKT('SRID=4674;POINT (-40.357613 -2.797127)'))) / (select extract(epoch from '2026-06-29 04:28:00'::timestamp) - extract(epoch from '2026-06-29 04:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357525 -2.797106)'), GeomFromEWKT('SRID=4674;POINT (-40.357613 -2.797127)'))) / (select extract(epoch from '2026-06-29 04:28:00'::timestamp) - extract(epoch from '2026-06-29 04:27: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'), 46720, 'SRID=4674;POINT (-40.357725 -2.797134)', '2026-06-29 04:28:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357613 -2.797127)'), GeomFromEWKT('SRID=4674;POINT (-40.357725 -2.797134)'))) / (select extract(epoch from '2026-06-29 04:28:19'::timestamp) - extract(epoch from '2026-06-29 04:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357613 -2.797127)'), GeomFromEWKT('SRID=4674;POINT (-40.357725 -2.797134)'))) / (select extract(epoch from '2026-06-29 04:28:19'::timestamp) - extract(epoch from '2026-06-29 04:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.357856 -2.797153)', '2026-06-29 04:28:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357725 -2.797134)'), GeomFromEWKT('SRID=4674;POINT (-40.357856 -2.797153)'))) / (select extract(epoch from '2026-06-29 04:28:39'::timestamp) - extract(epoch from '2026-06-29 04:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357725 -2.797134)'), GeomFromEWKT('SRID=4674;POINT (-40.357856 -2.797153)'))) / (select extract(epoch from '2026-06-29 04:28:39'::timestamp) - extract(epoch from '2026-06-29 04:28: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'), 46720, 'SRID=4674;POINT (-40.357962 -2.79718)', '2026-06-29 04:28:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357856 -2.797153)'), GeomFromEWKT('SRID=4674;POINT (-40.357962 -2.79718)'))) / (select extract(epoch from '2026-06-29 04:28:55'::timestamp) - extract(epoch from '2026-06-29 04:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357856 -2.797153)'), GeomFromEWKT('SRID=4674;POINT (-40.357962 -2.79718)'))) / (select extract(epoch from '2026-06-29 04:28:55'::timestamp) - extract(epoch from '2026-06-29 04:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.358067 -2.797199)', '2026-06-29 04:29:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357962 -2.79718)'), GeomFromEWKT('SRID=4674;POINT (-40.358067 -2.797199)'))) / (select extract(epoch from '2026-06-29 04:29:11'::timestamp) - extract(epoch from '2026-06-29 04:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.357962 -2.79718)'), GeomFromEWKT('SRID=4674;POINT (-40.358067 -2.797199)'))) / (select extract(epoch from '2026-06-29 04:29:11'::timestamp) - extract(epoch from '2026-06-29 04:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.358164 -2.797224)', '2026-06-29 04:29:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358067 -2.797199)'), GeomFromEWKT('SRID=4674;POINT (-40.358164 -2.797224)'))) / (select extract(epoch from '2026-06-29 04:29:26'::timestamp) - extract(epoch from '2026-06-29 04:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358067 -2.797199)'), GeomFromEWKT('SRID=4674;POINT (-40.358164 -2.797224)'))) / (select extract(epoch from '2026-06-29 04:29:26'::timestamp) - extract(epoch from '2026-06-29 04:29:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46720, 'SRID=4674;POINT (-40.358314 -2.797261)', '2026-06-29 04:29:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358164 -2.797224)'), GeomFromEWKT('SRID=4674;POINT (-40.358314 -2.797261)'))) / (select extract(epoch from '2026-06-29 04:29:44'::timestamp) - extract(epoch from '2026-06-29 04:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.358164 -2.797224)'), GeomFromEWKT('SRID=4674;POINT (-40.358314 -2.797261)'))) / (select extract(epoch from '2026-06-29 04:29:44'::timestamp) - extract(epoch from '2026-06-29 04:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
