 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052107 -2.789269)', '2026-06-26 08:06:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05209 -2.789256)'), GeomFromEWKT('SRID=4674;POINT (-40.052107 -2.789269)'))) / (select extract(epoch from '2026-06-26 08:06:55'::timestamp) - extract(epoch from '2026-06-26 08:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05209 -2.789256)'), GeomFromEWKT('SRID=4674;POINT (-40.052107 -2.789269)'))) / (select extract(epoch from '2026-06-26 08:06:55'::timestamp) - extract(epoch from '2026-06-26 08:06:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052117 -2.789273)', '2026-06-26 08:07:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052107 -2.789269)'), GeomFromEWKT('SRID=4674;POINT (-40.052117 -2.789273)'))) / (select extract(epoch from '2026-06-26 08:07:03'::timestamp) - extract(epoch from '2026-06-26 08:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052107 -2.789269)'), GeomFromEWKT('SRID=4674;POINT (-40.052117 -2.789273)'))) / (select extract(epoch from '2026-06-26 08:07:03'::timestamp) - extract(epoch from '2026-06-26 08:06: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'), 46941, 'SRID=4674;POINT (-40.052117 -2.78925)', '2026-06-26 08:07:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052117 -2.789273)'), GeomFromEWKT('SRID=4674;POINT (-40.052117 -2.78925)'))) / (select extract(epoch from '2026-06-26 08:07:24'::timestamp) - extract(epoch from '2026-06-26 08:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052117 -2.789273)'), GeomFromEWKT('SRID=4674;POINT (-40.052117 -2.78925)'))) / (select extract(epoch from '2026-06-26 08:07:24'::timestamp) - extract(epoch from '2026-06-26 08:07:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052043 -2.789237)', '2026-06-26 08:07:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052117 -2.78925)'), GeomFromEWKT('SRID=4674;POINT (-40.052043 -2.789237)'))) / (select extract(epoch from '2026-06-26 08:07:32'::timestamp) - extract(epoch from '2026-06-26 08:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052117 -2.78925)'), GeomFromEWKT('SRID=4674;POINT (-40.052043 -2.789237)'))) / (select extract(epoch from '2026-06-26 08:07:32'::timestamp) - extract(epoch from '2026-06-26 08:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051952 -2.789286)', '2026-06-26 08:07:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052043 -2.789237)'), GeomFromEWKT('SRID=4674;POINT (-40.051952 -2.789286)'))) / (select extract(epoch from '2026-06-26 08:07:41'::timestamp) - extract(epoch from '2026-06-26 08:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052043 -2.789237)'), GeomFromEWKT('SRID=4674;POINT (-40.051952 -2.789286)'))) / (select extract(epoch from '2026-06-26 08:07:41'::timestamp) - extract(epoch from '2026-06-26 08:07: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'), 46941, 'SRID=4674;POINT (-40.051873 -2.789392)', '2026-06-26 08:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051952 -2.789286)'), GeomFromEWKT('SRID=4674;POINT (-40.051873 -2.789392)'))) / (select extract(epoch from '2026-06-26 08:07:51'::timestamp) - extract(epoch from '2026-06-26 08:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051952 -2.789286)'), GeomFromEWKT('SRID=4674;POINT (-40.051873 -2.789392)'))) / (select extract(epoch from '2026-06-26 08:07:51'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.051852 -2.789508)', '2026-06-26 08:07:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051873 -2.789392)'), GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.789508)'))) / (select extract(epoch from '2026-06-26 08:07:59'::timestamp) - extract(epoch from '2026-06-26 08:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051873 -2.789392)'), GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.789508)'))) / (select extract(epoch from '2026-06-26 08:07:59'::timestamp) - extract(epoch from '2026-06-26 08:07: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'), 46941, 'SRID=4674;POINT (-40.051853 -2.78955)', '2026-06-26 08:08:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.789508)'), GeomFromEWKT('SRID=4674;POINT (-40.051853 -2.78955)'))) / (select extract(epoch from '2026-06-26 08:08:02'::timestamp) - extract(epoch from '2026-06-26 08:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.789508)'), GeomFromEWKT('SRID=4674;POINT (-40.051853 -2.78955)'))) / (select extract(epoch from '2026-06-26 08:08:02'::timestamp) - extract(epoch from '2026-06-26 08:07: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'), 46941, 'SRID=4674;POINT (-40.05184 -2.789589)', '2026-06-26 08:08:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051853 -2.78955)'), GeomFromEWKT('SRID=4674;POINT (-40.05184 -2.789589)'))) / (select extract(epoch from '2026-06-26 08:08:05'::timestamp) - extract(epoch from '2026-06-26 08:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051853 -2.78955)'), GeomFromEWKT('SRID=4674;POINT (-40.05184 -2.789589)'))) / (select extract(epoch from '2026-06-26 08:08:05'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.05181 -2.78966)', '2026-06-26 08:08:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05184 -2.789589)'), GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.78966)'))) / (select extract(epoch from '2026-06-26 08:08:11'::timestamp) - extract(epoch from '2026-06-26 08:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05184 -2.789589)'), GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.78966)'))) / (select extract(epoch from '2026-06-26 08:08:11'::timestamp) - extract(epoch from '2026-06-26 08:08: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'), 46941, 'SRID=4674;POINT (-40.051752 -2.789729)', '2026-06-26 08:08:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.78966)'), GeomFromEWKT('SRID=4674;POINT (-40.051752 -2.789729)'))) / (select extract(epoch from '2026-06-26 08:08:20'::timestamp) - extract(epoch from '2026-06-26 08:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.78966)'), GeomFromEWKT('SRID=4674;POINT (-40.051752 -2.789729)'))) / (select extract(epoch from '2026-06-26 08:08:20'::timestamp) - extract(epoch from '2026-06-26 08:08:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051729 -2.789756)', '2026-06-26 08:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051752 -2.789729)'), GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.789756)'))) / (select extract(epoch from '2026-06-26 08:08:26'::timestamp) - extract(epoch from '2026-06-26 08:08:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051752 -2.789729)'), GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.789756)'))) / (select extract(epoch from '2026-06-26 08:08:26'::timestamp) - extract(epoch from '2026-06-26 08:08: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'), 46941, 'SRID=4674;POINT (-40.051727 -2.789769)', '2026-06-26 08:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.789756)'), GeomFromEWKT('SRID=4674;POINT (-40.051727 -2.789769)'))) / (select extract(epoch from '2026-06-26 08:08:34'::timestamp) - extract(epoch from '2026-06-26 08:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051729 -2.789756)'), GeomFromEWKT('SRID=4674;POINT (-40.051727 -2.789769)'))) / (select extract(epoch from '2026-06-26 08:08:34'::timestamp) - extract(epoch from '2026-06-26 08:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051767 -2.789744)', '2026-06-26 08:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051727 -2.789769)'), GeomFromEWKT('SRID=4674;POINT (-40.051767 -2.789744)'))) / (select extract(epoch from '2026-06-26 08:08:54'::timestamp) - extract(epoch from '2026-06-26 08:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051727 -2.789769)'), GeomFromEWKT('SRID=4674;POINT (-40.051767 -2.789744)'))) / (select extract(epoch from '2026-06-26 08:08:54'::timestamp) - extract(epoch from '2026-06-26 08:08:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051845 -2.78969)', '2026-06-26 08:09:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051767 -2.789744)'), GeomFromEWKT('SRID=4674;POINT (-40.051845 -2.78969)'))) / (select extract(epoch from '2026-06-26 08:09:24'::timestamp) - extract(epoch from '2026-06-26 08:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051767 -2.789744)'), GeomFromEWKT('SRID=4674;POINT (-40.051845 -2.78969)'))) / (select extract(epoch from '2026-06-26 08:09:24'::timestamp) - extract(epoch from '2026-06-26 08:08: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'), 46941, 'SRID=4674;POINT (-40.051904 -2.789632)', '2026-06-26 08:09:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051845 -2.78969)'), GeomFromEWKT('SRID=4674;POINT (-40.051904 -2.789632)'))) / (select extract(epoch from '2026-06-26 08:09:54'::timestamp) - extract(epoch from '2026-06-26 08:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051845 -2.78969)'), GeomFromEWKT('SRID=4674;POINT (-40.051904 -2.789632)'))) / (select extract(epoch from '2026-06-26 08:09:54'::timestamp) - extract(epoch from '2026-06-26 08:09: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'), 46941, 'SRID=4674;POINT (-40.051959 -2.789567)', '2026-06-26 08:10:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051904 -2.789632)'), GeomFromEWKT('SRID=4674;POINT (-40.051959 -2.789567)'))) / (select extract(epoch from '2026-06-26 08:10:28'::timestamp) - extract(epoch from '2026-06-26 08:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051904 -2.789632)'), GeomFromEWKT('SRID=4674;POINT (-40.051959 -2.789567)'))) / (select extract(epoch from '2026-06-26 08:10:28'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.052018 -2.789533)', '2026-06-26 08:10:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051959 -2.789567)'), GeomFromEWKT('SRID=4674;POINT (-40.052018 -2.789533)'))) / (select extract(epoch from '2026-06-26 08:10:56'::timestamp) - extract(epoch from '2026-06-26 08:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051959 -2.789567)'), GeomFromEWKT('SRID=4674;POINT (-40.052018 -2.789533)'))) / (select extract(epoch from '2026-06-26 08:10:56'::timestamp) - extract(epoch from '2026-06-26 08:10: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'), 46941, 'SRID=4674;POINT (-40.052095 -2.789522)', '2026-06-26 08:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052018 -2.789533)'), GeomFromEWKT('SRID=4674;POINT (-40.052095 -2.789522)'))) / (select extract(epoch from '2026-06-26 08:11:24'::timestamp) - extract(epoch from '2026-06-26 08:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052018 -2.789533)'), GeomFromEWKT('SRID=4674;POINT (-40.052095 -2.789522)'))) / (select extract(epoch from '2026-06-26 08:11:24'::timestamp) - extract(epoch from '2026-06-26 08:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05211 -2.789513)', '2026-06-26 08:11:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052095 -2.789522)'), GeomFromEWKT('SRID=4674;POINT (-40.05211 -2.789513)'))) / (select extract(epoch from '2026-06-26 08:11:48'::timestamp) - extract(epoch from '2026-06-26 08:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052095 -2.789522)'), GeomFromEWKT('SRID=4674;POINT (-40.05211 -2.789513)'))) / (select extract(epoch from '2026-06-26 08:11:48'::timestamp) - extract(epoch from '2026-06-26 08:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052151 -2.789467)', '2026-06-26 08:12:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05211 -2.789513)'), GeomFromEWKT('SRID=4674;POINT (-40.052151 -2.789467)'))) / (select extract(epoch from '2026-06-26 08:12:11'::timestamp) - extract(epoch from '2026-06-26 08:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05211 -2.789513)'), GeomFromEWKT('SRID=4674;POINT (-40.052151 -2.789467)'))) / (select extract(epoch from '2026-06-26 08:12:11'::timestamp) - extract(epoch from '2026-06-26 08:11: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'), 46941, 'SRID=4674;POINT (-40.052176 -2.789437)', '2026-06-26 08:12:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052151 -2.789467)'), GeomFromEWKT('SRID=4674;POINT (-40.052176 -2.789437)'))) / (select extract(epoch from '2026-06-26 08:12:31'::timestamp) - extract(epoch from '2026-06-26 08:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052151 -2.789467)'), GeomFromEWKT('SRID=4674;POINT (-40.052176 -2.789437)'))) / (select extract(epoch from '2026-06-26 08:12:31'::timestamp) - extract(epoch from '2026-06-26 08:12: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'), 46941, 'SRID=4674;POINT (-40.052197 -2.789434)', '2026-06-26 08:12:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052176 -2.789437)'), GeomFromEWKT('SRID=4674;POINT (-40.052197 -2.789434)'))) / (select extract(epoch from '2026-06-26 08:12:50'::timestamp) - extract(epoch from '2026-06-26 08:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052176 -2.789437)'), GeomFromEWKT('SRID=4674;POINT (-40.052197 -2.789434)'))) / (select extract(epoch from '2026-06-26 08:12:50'::timestamp) - extract(epoch from '2026-06-26 08:12: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'), 46941, 'SRID=4674;POINT (-40.0522 -2.789429)', '2026-06-26 08:13:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052197 -2.789434)'), GeomFromEWKT('SRID=4674;POINT (-40.0522 -2.789429)'))) / (select extract(epoch from '2026-06-26 08:13:07'::timestamp) - extract(epoch from '2026-06-26 08:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052197 -2.789434)'), GeomFromEWKT('SRID=4674;POINT (-40.0522 -2.789429)'))) / (select extract(epoch from '2026-06-26 08:13:07'::timestamp) - extract(epoch from '2026-06-26 08:12:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052192 -2.789427)', '2026-06-26 08:13:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0522 -2.789429)'), GeomFromEWKT('SRID=4674;POINT (-40.052192 -2.789427)'))) / (select extract(epoch from '2026-06-26 08:13:21'::timestamp) - extract(epoch from '2026-06-26 08:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0522 -2.789429)'), GeomFromEWKT('SRID=4674;POINT (-40.052192 -2.789427)'))) / (select extract(epoch from '2026-06-26 08:13:21'::timestamp) - extract(epoch from '2026-06-26 08:13: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'), 46941, 'SRID=4674;POINT (-40.052181 -2.789463)', '2026-06-26 08:13:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052192 -2.789427)'), GeomFromEWKT('SRID=4674;POINT (-40.052181 -2.789463)'))) / (select extract(epoch from '2026-06-26 08:13:37'::timestamp) - extract(epoch from '2026-06-26 08:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052192 -2.789427)'), GeomFromEWKT('SRID=4674;POINT (-40.052181 -2.789463)'))) / (select extract(epoch from '2026-06-26 08:13:37'::timestamp) - extract(epoch from '2026-06-26 08:13: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'), 46941, 'SRID=4674;POINT (-40.052121 -2.789517)', '2026-06-26 08:13:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052181 -2.789463)'), GeomFromEWKT('SRID=4674;POINT (-40.052121 -2.789517)'))) / (select extract(epoch from '2026-06-26 08:13:47'::timestamp) - extract(epoch from '2026-06-26 08:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052181 -2.789463)'), GeomFromEWKT('SRID=4674;POINT (-40.052121 -2.789517)'))) / (select extract(epoch from '2026-06-26 08:13:47'::timestamp) - extract(epoch from '2026-06-26 08:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052114 -2.789522)', '2026-06-26 08:13:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052121 -2.789517)'), GeomFromEWKT('SRID=4674;POINT (-40.052114 -2.789522)'))) / (select extract(epoch from '2026-06-26 08:13:48'::timestamp) - extract(epoch from '2026-06-26 08:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052121 -2.789517)'), GeomFromEWKT('SRID=4674;POINT (-40.052114 -2.789522)'))) / (select extract(epoch from '2026-06-26 08:13:48'::timestamp) - extract(epoch from '2026-06-26 08:13: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'), 46941, 'SRID=4674;POINT (-40.052065 -2.789539)', '2026-06-26 08:13:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052114 -2.789522)'), GeomFromEWKT('SRID=4674;POINT (-40.052065 -2.789539)'))) / (select extract(epoch from '2026-06-26 08:13:53'::timestamp) - extract(epoch from '2026-06-26 08:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052114 -2.789522)'), GeomFromEWKT('SRID=4674;POINT (-40.052065 -2.789539)'))) / (select extract(epoch from '2026-06-26 08:13:53'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.051992 -2.78957)', '2026-06-26 08:14:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052065 -2.789539)'), GeomFromEWKT('SRID=4674;POINT (-40.051992 -2.78957)'))) / (select extract(epoch from '2026-06-26 08:14:00'::timestamp) - extract(epoch from '2026-06-26 08:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052065 -2.789539)'), GeomFromEWKT('SRID=4674;POINT (-40.051992 -2.78957)'))) / (select extract(epoch from '2026-06-26 08:14:00'::timestamp) - extract(epoch from '2026-06-26 08:13:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051964 -2.789581)', '2026-06-26 08:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051992 -2.78957)'), GeomFromEWKT('SRID=4674;POINT (-40.051964 -2.789581)'))) / (select extract(epoch from '2026-06-26 08:14:03'::timestamp) - extract(epoch from '2026-06-26 08:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051992 -2.78957)'), GeomFromEWKT('SRID=4674;POINT (-40.051964 -2.789581)'))) / (select extract(epoch from '2026-06-26 08:14:03'::timestamp) - extract(epoch from '2026-06-26 08:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05195 -2.789596)', '2026-06-26 08:14:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051964 -2.789581)'), GeomFromEWKT('SRID=4674;POINT (-40.05195 -2.789596)'))) / (select extract(epoch from '2026-06-26 08:14:05'::timestamp) - extract(epoch from '2026-06-26 08:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051964 -2.789581)'), GeomFromEWKT('SRID=4674;POINT (-40.05195 -2.789596)'))) / (select extract(epoch from '2026-06-26 08:14:05'::timestamp) - extract(epoch from '2026-06-26 08:14: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'), 46941, 'SRID=4674;POINT (-40.051948 -2.789606)', '2026-06-26 08:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05195 -2.789596)'), GeomFromEWKT('SRID=4674;POINT (-40.051948 -2.789606)'))) / (select extract(epoch from '2026-06-26 08:14:06'::timestamp) - extract(epoch from '2026-06-26 08:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05195 -2.789596)'), GeomFromEWKT('SRID=4674;POINT (-40.051948 -2.789606)'))) / (select extract(epoch from '2026-06-26 08:14:06'::timestamp) - extract(epoch from '2026-06-26 08:14: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'), 46941, 'SRID=4674;POINT (-40.051944 -2.789664)', '2026-06-26 08:14:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051948 -2.789606)'), GeomFromEWKT('SRID=4674;POINT (-40.051944 -2.789664)'))) / (select extract(epoch from '2026-06-26 08:14:11'::timestamp) - extract(epoch from '2026-06-26 08:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051948 -2.789606)'), GeomFromEWKT('SRID=4674;POINT (-40.051944 -2.789664)'))) / (select extract(epoch from '2026-06-26 08:14:11'::timestamp) - extract(epoch from '2026-06-26 08:14: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'), 46941, 'SRID=4674;POINT (-40.051893 -2.789729)', '2026-06-26 08:14:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051944 -2.789664)'), GeomFromEWKT('SRID=4674;POINT (-40.051893 -2.789729)'))) / (select extract(epoch from '2026-06-26 08:14:19'::timestamp) - extract(epoch from '2026-06-26 08:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051944 -2.789664)'), GeomFromEWKT('SRID=4674;POINT (-40.051893 -2.789729)'))) / (select extract(epoch from '2026-06-26 08:14:19'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.051811 -2.78974)', '2026-06-26 08:14:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051893 -2.789729)'), GeomFromEWKT('SRID=4674;POINT (-40.051811 -2.78974)'))) / (select extract(epoch from '2026-06-26 08:14:29'::timestamp) - extract(epoch from '2026-06-26 08:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051893 -2.789729)'), GeomFromEWKT('SRID=4674;POINT (-40.051811 -2.78974)'))) / (select extract(epoch from '2026-06-26 08:14:29'::timestamp) - extract(epoch from '2026-06-26 08:14: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'), 46941, 'SRID=4674;POINT (-40.051749 -2.789744)', '2026-06-26 08:14:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051811 -2.78974)'), GeomFromEWKT('SRID=4674;POINT (-40.051749 -2.789744)'))) / (select extract(epoch from '2026-06-26 08:14:36'::timestamp) - extract(epoch from '2026-06-26 08:14:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051811 -2.78974)'), GeomFromEWKT('SRID=4674;POINT (-40.051749 -2.789744)'))) / (select extract(epoch from '2026-06-26 08:14:36'::timestamp) - extract(epoch from '2026-06-26 08:14: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'), 46941, 'SRID=4674;POINT (-40.051681 -2.789763)', '2026-06-26 08:14:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051749 -2.789744)'), GeomFromEWKT('SRID=4674;POINT (-40.051681 -2.789763)'))) / (select extract(epoch from '2026-06-26 08:14:47'::timestamp) - extract(epoch from '2026-06-26 08:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051749 -2.789744)'), GeomFromEWKT('SRID=4674;POINT (-40.051681 -2.789763)'))) / (select extract(epoch from '2026-06-26 08:14:47'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.051653 -2.789755)', '2026-06-26 08:14:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051681 -2.789763)'), GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.789755)'))) / (select extract(epoch from '2026-06-26 08:14:50'::timestamp) - extract(epoch from '2026-06-26 08:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051681 -2.789763)'), GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.789755)'))) / (select extract(epoch from '2026-06-26 08:14:50'::timestamp) - extract(epoch from '2026-06-26 08:14:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051605 -2.789718)', '2026-06-26 08:14:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.789755)'), GeomFromEWKT('SRID=4674;POINT (-40.051605 -2.789718)'))) / (select extract(epoch from '2026-06-26 08:14:55'::timestamp) - extract(epoch from '2026-06-26 08:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051653 -2.789755)'), GeomFromEWKT('SRID=4674;POINT (-40.051605 -2.789718)'))) / (select extract(epoch from '2026-06-26 08:14:55'::timestamp) - extract(epoch from '2026-06-26 08:14: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'), 46941, 'SRID=4674;POINT (-40.051549 -2.789595)', '2026-06-26 08:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051605 -2.789718)'), GeomFromEWKT('SRID=4674;POINT (-40.051549 -2.789595)'))) / (select extract(epoch from '2026-06-26 08:15:04'::timestamp) - extract(epoch from '2026-06-26 08:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051605 -2.789718)'), GeomFromEWKT('SRID=4674;POINT (-40.051549 -2.789595)'))) / (select extract(epoch from '2026-06-26 08:15:04'::timestamp) - extract(epoch from '2026-06-26 08:14: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'), 46941, 'SRID=4674;POINT (-40.05155 -2.789527)', '2026-06-26 08:15:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051549 -2.789595)'), GeomFromEWKT('SRID=4674;POINT (-40.05155 -2.789527)'))) / (select extract(epoch from '2026-06-26 08:15:08'::timestamp) - extract(epoch from '2026-06-26 08:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051549 -2.789595)'), GeomFromEWKT('SRID=4674;POINT (-40.05155 -2.789527)'))) / (select extract(epoch from '2026-06-26 08:15:08'::timestamp) - extract(epoch from '2026-06-26 08:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051554 -2.78949)', '2026-06-26 08:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05155 -2.789527)'), GeomFromEWKT('SRID=4674;POINT (-40.051554 -2.78949)'))) / (select extract(epoch from '2026-06-26 08:15:10'::timestamp) - extract(epoch from '2026-06-26 08:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05155 -2.789527)'), GeomFromEWKT('SRID=4674;POINT (-40.051554 -2.78949)'))) / (select extract(epoch from '2026-06-26 08:15:10'::timestamp) - extract(epoch from '2026-06-26 08:15: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'), 46941, 'SRID=4674;POINT (-40.0516 -2.789363)', '2026-06-26 08:15:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051554 -2.78949)'), GeomFromEWKT('SRID=4674;POINT (-40.0516 -2.789363)'))) / (select extract(epoch from '2026-06-26 08:15:17'::timestamp) - extract(epoch from '2026-06-26 08:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051554 -2.78949)'), GeomFromEWKT('SRID=4674;POINT (-40.0516 -2.789363)'))) / (select extract(epoch from '2026-06-26 08:15:17'::timestamp) - extract(epoch from '2026-06-26 08:15: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'), 46941, 'SRID=4674;POINT (-40.051667 -2.789259)', '2026-06-26 08:15:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0516 -2.789363)'), GeomFromEWKT('SRID=4674;POINT (-40.051667 -2.789259)'))) / (select extract(epoch from '2026-06-26 08:15:23'::timestamp) - extract(epoch from '2026-06-26 08:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0516 -2.789363)'), GeomFromEWKT('SRID=4674;POINT (-40.051667 -2.789259)'))) / (select extract(epoch from '2026-06-26 08:15:23'::timestamp) - extract(epoch from '2026-06-26 08:15:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051771 -2.789135)', '2026-06-26 08:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051667 -2.789259)'), GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.789135)'))) / (select extract(epoch from '2026-06-26 08:15:31'::timestamp) - extract(epoch from '2026-06-26 08:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051667 -2.789259)'), GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.789135)'))) / (select extract(epoch from '2026-06-26 08:15:31'::timestamp) - extract(epoch from '2026-06-26 08:15: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'), 46941, 'SRID=4674;POINT (-40.051822 -2.789056)', '2026-06-26 08:15:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.789135)'), GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.789056)'))) / (select extract(epoch from '2026-06-26 08:15:36'::timestamp) - extract(epoch from '2026-06-26 08:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.789135)'), GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.789056)'))) / (select extract(epoch from '2026-06-26 08:15:36'::timestamp) - extract(epoch from '2026-06-26 08:15:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051865 -2.788931)', '2026-06-26 08:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.789056)'), GeomFromEWKT('SRID=4674;POINT (-40.051865 -2.788931)'))) / (select extract(epoch from '2026-06-26 08:15:43'::timestamp) - extract(epoch from '2026-06-26 08:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051822 -2.789056)'), GeomFromEWKT('SRID=4674;POINT (-40.051865 -2.788931)'))) / (select extract(epoch from '2026-06-26 08:15:43'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.051903 -2.788796)', '2026-06-26 08:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051865 -2.788931)'), GeomFromEWKT('SRID=4674;POINT (-40.051903 -2.788796)'))) / (select extract(epoch from '2026-06-26 08:15:50'::timestamp) - extract(epoch from '2026-06-26 08:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051865 -2.788931)'), GeomFromEWKT('SRID=4674;POINT (-40.051903 -2.788796)'))) / (select extract(epoch from '2026-06-26 08:15:50'::timestamp) - extract(epoch from '2026-06-26 08:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051962 -2.788603)', '2026-06-26 08:16:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051903 -2.788796)'), GeomFromEWKT('SRID=4674;POINT (-40.051962 -2.788603)'))) / (select extract(epoch from '2026-06-26 08:16:00'::timestamp) - extract(epoch from '2026-06-26 08:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051903 -2.788796)'), GeomFromEWKT('SRID=4674;POINT (-40.051962 -2.788603)'))) / (select extract(epoch from '2026-06-26 08:16:00'::timestamp) - extract(epoch from '2026-06-26 08:15:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051944 -2.788508)', '2026-06-26 08:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051962 -2.788603)'), GeomFromEWKT('SRID=4674;POINT (-40.051944 -2.788508)'))) / (select extract(epoch from '2026-06-26 08:16:06'::timestamp) - extract(epoch from '2026-06-26 08:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051962 -2.788603)'), GeomFromEWKT('SRID=4674;POINT (-40.051944 -2.788508)'))) / (select extract(epoch from '2026-06-26 08:16:06'::timestamp) - extract(epoch from '2026-06-26 08:16: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'), 46941, 'SRID=4674;POINT (-40.051925 -2.788427)', '2026-06-26 08:16:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051944 -2.788508)'), GeomFromEWKT('SRID=4674;POINT (-40.051925 -2.788427)'))) / (select extract(epoch from '2026-06-26 08:16:13'::timestamp) - extract(epoch from '2026-06-26 08:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051944 -2.788508)'), GeomFromEWKT('SRID=4674;POINT (-40.051925 -2.788427)'))) / (select extract(epoch from '2026-06-26 08:16:13'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.051915 -2.788371)', '2026-06-26 08:16:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051925 -2.788427)'), GeomFromEWKT('SRID=4674;POINT (-40.051915 -2.788371)'))) / (select extract(epoch from '2026-06-26 08:16:20'::timestamp) - extract(epoch from '2026-06-26 08:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051925 -2.788427)'), GeomFromEWKT('SRID=4674;POINT (-40.051915 -2.788371)'))) / (select extract(epoch from '2026-06-26 08:16:20'::timestamp) - extract(epoch from '2026-06-26 08:16: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'), 46941, 'SRID=4674;POINT (-40.051925 -2.788333)', '2026-06-26 08:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051915 -2.788371)'), GeomFromEWKT('SRID=4674;POINT (-40.051925 -2.788333)'))) / (select extract(epoch from '2026-06-26 08:16:28'::timestamp) - extract(epoch from '2026-06-26 08:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051915 -2.788371)'), GeomFromEWKT('SRID=4674;POINT (-40.051925 -2.788333)'))) / (select extract(epoch from '2026-06-26 08:16:28'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.051988 -2.788292)', '2026-06-26 08:16:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051925 -2.788333)'), GeomFromEWKT('SRID=4674;POINT (-40.051988 -2.788292)'))) / (select extract(epoch from '2026-06-26 08:16:45'::timestamp) - extract(epoch from '2026-06-26 08:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051925 -2.788333)'), GeomFromEWKT('SRID=4674;POINT (-40.051988 -2.788292)'))) / (select extract(epoch from '2026-06-26 08:16:45'::timestamp) - extract(epoch from '2026-06-26 08:16: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'), 46941, 'SRID=4674;POINT (-40.052097 -2.788265)', '2026-06-26 08:17:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051988 -2.788292)'), GeomFromEWKT('SRID=4674;POINT (-40.052097 -2.788265)'))) / (select extract(epoch from '2026-06-26 08:17:12'::timestamp) - extract(epoch from '2026-06-26 08:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051988 -2.788292)'), GeomFromEWKT('SRID=4674;POINT (-40.052097 -2.788265)'))) / (select extract(epoch from '2026-06-26 08:17:12'::timestamp) - extract(epoch from '2026-06-26 08:16: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'), 46941, 'SRID=4674;POINT (-40.052177 -2.788225)', '2026-06-26 08:17:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052097 -2.788265)'), GeomFromEWKT('SRID=4674;POINT (-40.052177 -2.788225)'))) / (select extract(epoch from '2026-06-26 08:17:39'::timestamp) - extract(epoch from '2026-06-26 08:17:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052097 -2.788265)'), GeomFromEWKT('SRID=4674;POINT (-40.052177 -2.788225)'))) / (select extract(epoch from '2026-06-26 08:17:39'::timestamp) - extract(epoch from '2026-06-26 08:17: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'), 46941, 'SRID=4674;POINT (-40.052278 -2.78818)', '2026-06-26 08:18:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052177 -2.788225)'), GeomFromEWKT('SRID=4674;POINT (-40.052278 -2.78818)'))) / (select extract(epoch from '2026-06-26 08:18:10'::timestamp) - extract(epoch from '2026-06-26 08:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052177 -2.788225)'), GeomFromEWKT('SRID=4674;POINT (-40.052278 -2.78818)'))) / (select extract(epoch from '2026-06-26 08:18:10'::timestamp) - extract(epoch from '2026-06-26 08:17: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'), 46941, 'SRID=4674;POINT (-40.052328 -2.788145)', '2026-06-26 08:18:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052278 -2.78818)'), GeomFromEWKT('SRID=4674;POINT (-40.052328 -2.788145)'))) / (select extract(epoch from '2026-06-26 08:18:32'::timestamp) - extract(epoch from '2026-06-26 08:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052278 -2.78818)'), GeomFromEWKT('SRID=4674;POINT (-40.052328 -2.788145)'))) / (select extract(epoch from '2026-06-26 08:18:32'::timestamp) - extract(epoch from '2026-06-26 08:18: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'), 46941, 'SRID=4674;POINT (-40.052339 -2.78813)', '2026-06-26 08:18:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052328 -2.788145)'), GeomFromEWKT('SRID=4674;POINT (-40.052339 -2.78813)'))) / (select extract(epoch from '2026-06-26 08:18:52'::timestamp) - extract(epoch from '2026-06-26 08:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052328 -2.788145)'), GeomFromEWKT('SRID=4674;POINT (-40.052339 -2.78813)'))) / (select extract(epoch from '2026-06-26 08:18:52'::timestamp) - extract(epoch from '2026-06-26 08:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052388 -2.788114)', '2026-06-26 08:19:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052339 -2.78813)'), GeomFromEWKT('SRID=4674;POINT (-40.052388 -2.788114)'))) / (select extract(epoch from '2026-06-26 08:19:15'::timestamp) - extract(epoch from '2026-06-26 08:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052339 -2.78813)'), GeomFromEWKT('SRID=4674;POINT (-40.052388 -2.788114)'))) / (select extract(epoch from '2026-06-26 08:19:15'::timestamp) - extract(epoch from '2026-06-26 08:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052404 -2.788127)', '2026-06-26 08:19:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052388 -2.788114)'), GeomFromEWKT('SRID=4674;POINT (-40.052404 -2.788127)'))) / (select extract(epoch from '2026-06-26 08:19:38'::timestamp) - extract(epoch from '2026-06-26 08:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052388 -2.788114)'), GeomFromEWKT('SRID=4674;POINT (-40.052404 -2.788127)'))) / (select extract(epoch from '2026-06-26 08:19:38'::timestamp) - extract(epoch from '2026-06-26 08:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052399 -2.788146)', '2026-06-26 08:20:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052404 -2.788127)'), GeomFromEWKT('SRID=4674;POINT (-40.052399 -2.788146)'))) / (select extract(epoch from '2026-06-26 08:20:03'::timestamp) - extract(epoch from '2026-06-26 08:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052404 -2.788127)'), GeomFromEWKT('SRID=4674;POINT (-40.052399 -2.788146)'))) / (select extract(epoch from '2026-06-26 08:20:03'::timestamp) - extract(epoch from '2026-06-26 08:19: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'), 46941, 'SRID=4674;POINT (-40.05241 -2.788154)', '2026-06-26 08:20:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052399 -2.788146)'), GeomFromEWKT('SRID=4674;POINT (-40.05241 -2.788154)'))) / (select extract(epoch from '2026-06-26 08:20:14'::timestamp) - extract(epoch from '2026-06-26 08:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052399 -2.788146)'), GeomFromEWKT('SRID=4674;POINT (-40.05241 -2.788154)'))) / (select extract(epoch from '2026-06-26 08:20:14'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.052423 -2.788161)', '2026-06-26 08:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05241 -2.788154)'), GeomFromEWKT('SRID=4674;POINT (-40.052423 -2.788161)'))) / (select extract(epoch from '2026-06-26 08:20:19'::timestamp) - extract(epoch from '2026-06-26 08:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05241 -2.788154)'), GeomFromEWKT('SRID=4674;POINT (-40.052423 -2.788161)'))) / (select extract(epoch from '2026-06-26 08:20:19'::timestamp) - extract(epoch from '2026-06-26 08:20:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052414 -2.78814)', '2026-06-26 08:20:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052423 -2.788161)'), GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.78814)'))) / (select extract(epoch from '2026-06-26 08:20:32'::timestamp) - extract(epoch from '2026-06-26 08:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052423 -2.788161)'), GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.78814)'))) / (select extract(epoch from '2026-06-26 08:20:32'::timestamp) - extract(epoch from '2026-06-26 08:20: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'), 46941, 'SRID=4674;POINT (-40.052412 -2.788119)', '2026-06-26 08:20:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.78814)'), GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.788119)'))) / (select extract(epoch from '2026-06-26 08:20:48'::timestamp) - extract(epoch from '2026-06-26 08:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.78814)'), GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.788119)'))) / (select extract(epoch from '2026-06-26 08:20:48'::timestamp) - extract(epoch from '2026-06-26 08:20:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052405 -2.788116)', '2026-06-26 08:20:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.788119)'), GeomFromEWKT('SRID=4674;POINT (-40.052405 -2.788116)'))) / (select extract(epoch from '2026-06-26 08:20:58'::timestamp) - extract(epoch from '2026-06-26 08:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.788119)'), GeomFromEWKT('SRID=4674;POINT (-40.052405 -2.788116)'))) / (select extract(epoch from '2026-06-26 08:20:58'::timestamp) - extract(epoch from '2026-06-26 08:20:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052391 -2.788123)', '2026-06-26 08:21:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052405 -2.788116)'), GeomFromEWKT('SRID=4674;POINT (-40.052391 -2.788123)'))) / (select extract(epoch from '2026-06-26 08:21:09'::timestamp) - extract(epoch from '2026-06-26 08:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052405 -2.788116)'), GeomFromEWKT('SRID=4674;POINT (-40.052391 -2.788123)'))) / (select extract(epoch from '2026-06-26 08:21:09'::timestamp) - extract(epoch from '2026-06-26 08:20: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'), 46941, 'SRID=4674;POINT (-40.052374 -2.788125)', '2026-06-26 08:21:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052391 -2.788123)'), GeomFromEWKT('SRID=4674;POINT (-40.052374 -2.788125)'))) / (select extract(epoch from '2026-06-26 08:21:17'::timestamp) - extract(epoch from '2026-06-26 08:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052391 -2.788123)'), GeomFromEWKT('SRID=4674;POINT (-40.052374 -2.788125)'))) / (select extract(epoch from '2026-06-26 08:21:17'::timestamp) - extract(epoch from '2026-06-26 08:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052335 -2.788131)', '2026-06-26 08:21:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052374 -2.788125)'), GeomFromEWKT('SRID=4674;POINT (-40.052335 -2.788131)'))) / (select extract(epoch from '2026-06-26 08:21:28'::timestamp) - extract(epoch from '2026-06-26 08:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052374 -2.788125)'), GeomFromEWKT('SRID=4674;POINT (-40.052335 -2.788131)'))) / (select extract(epoch from '2026-06-26 08:21:28'::timestamp) - extract(epoch from '2026-06-26 08:21:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052297 -2.788121)', '2026-06-26 08:21:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052335 -2.788131)'), GeomFromEWKT('SRID=4674;POINT (-40.052297 -2.788121)'))) / (select extract(epoch from '2026-06-26 08:21:40'::timestamp) - extract(epoch from '2026-06-26 08:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052335 -2.788131)'), GeomFromEWKT('SRID=4674;POINT (-40.052297 -2.788121)'))) / (select extract(epoch from '2026-06-26 08:21:40'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.052257 -2.788137)', '2026-06-26 08:21:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052297 -2.788121)'), GeomFromEWKT('SRID=4674;POINT (-40.052257 -2.788137)'))) / (select extract(epoch from '2026-06-26 08:21:48'::timestamp) - extract(epoch from '2026-06-26 08:21:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052297 -2.788121)'), GeomFromEWKT('SRID=4674;POINT (-40.052257 -2.788137)'))) / (select extract(epoch from '2026-06-26 08:21:48'::timestamp) - extract(epoch from '2026-06-26 08:21:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052229 -2.788175)', '2026-06-26 08:21:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052257 -2.788137)'), GeomFromEWKT('SRID=4674;POINT (-40.052229 -2.788175)'))) / (select extract(epoch from '2026-06-26 08:21:55'::timestamp) - extract(epoch from '2026-06-26 08:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052257 -2.788137)'), GeomFromEWKT('SRID=4674;POINT (-40.052229 -2.788175)'))) / (select extract(epoch from '2026-06-26 08:21:55'::timestamp) - extract(epoch from '2026-06-26 08:21: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'), 46941, 'SRID=4674;POINT (-40.052228 -2.788183)', '2026-06-26 08:21:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052229 -2.788175)'), GeomFromEWKT('SRID=4674;POINT (-40.052228 -2.788183)'))) / (select extract(epoch from '2026-06-26 08:21:56'::timestamp) - extract(epoch from '2026-06-26 08:21:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052229 -2.788175)'), GeomFromEWKT('SRID=4674;POINT (-40.052228 -2.788183)'))) / (select extract(epoch from '2026-06-26 08:21:56'::timestamp) - extract(epoch from '2026-06-26 08:21:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052221 -2.788238)', '2026-06-26 08:22:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052228 -2.788183)'), GeomFromEWKT('SRID=4674;POINT (-40.052221 -2.788238)'))) / (select extract(epoch from '2026-06-26 08:22:02'::timestamp) - extract(epoch from '2026-06-26 08:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052228 -2.788183)'), GeomFromEWKT('SRID=4674;POINT (-40.052221 -2.788238)'))) / (select extract(epoch from '2026-06-26 08:22:02'::timestamp) - extract(epoch from '2026-06-26 08:21:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052166 -2.788283)', '2026-06-26 08:22:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052221 -2.788238)'), GeomFromEWKT('SRID=4674;POINT (-40.052166 -2.788283)'))) / (select extract(epoch from '2026-06-26 08:22:10'::timestamp) - extract(epoch from '2026-06-26 08:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052221 -2.788238)'), GeomFromEWKT('SRID=4674;POINT (-40.052166 -2.788283)'))) / (select extract(epoch from '2026-06-26 08:22:10'::timestamp) - extract(epoch from '2026-06-26 08:22:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.052084 -2.788303)', '2026-06-26 08:22:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052166 -2.788283)'), GeomFromEWKT('SRID=4674;POINT (-40.052084 -2.788303)'))) / (select extract(epoch from '2026-06-26 08:22:19'::timestamp) - extract(epoch from '2026-06-26 08:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052166 -2.788283)'), GeomFromEWKT('SRID=4674;POINT (-40.052084 -2.788303)'))) / (select extract(epoch from '2026-06-26 08:22:19'::timestamp) - extract(epoch from '2026-06-26 08:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051977 -2.788328)', '2026-06-26 08:22:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052084 -2.788303)'), GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.788328)'))) / (select extract(epoch from '2026-06-26 08:22:31'::timestamp) - extract(epoch from '2026-06-26 08:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052084 -2.788303)'), GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.788328)'))) / (select extract(epoch from '2026-06-26 08:22:31'::timestamp) - extract(epoch from '2026-06-26 08:22: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'), 46941, 'SRID=4674;POINT (-40.051913 -2.788353)', '2026-06-26 08:22:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.788328)'), GeomFromEWKT('SRID=4674;POINT (-40.051913 -2.788353)'))) / (select extract(epoch from '2026-06-26 08:22:41'::timestamp) - extract(epoch from '2026-06-26 08:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051977 -2.788328)'), GeomFromEWKT('SRID=4674;POINT (-40.051913 -2.788353)'))) / (select extract(epoch from '2026-06-26 08:22:41'::timestamp) - extract(epoch from '2026-06-26 08:22: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'), 46941, 'SRID=4674;POINT (-40.051886 -2.788364)', '2026-06-26 08:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051913 -2.788353)'), GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.788364)'))) / (select extract(epoch from '2026-06-26 08:22:49'::timestamp) - extract(epoch from '2026-06-26 08:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051913 -2.788353)'), GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.788364)'))) / (select extract(epoch from '2026-06-26 08:22:49'::timestamp) - extract(epoch from '2026-06-26 08:22:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051796 -2.788358)', '2026-06-26 08:22:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.788364)'), GeomFromEWKT('SRID=4674;POINT (-40.051796 -2.788358)'))) / (select extract(epoch from '2026-06-26 08:22:58'::timestamp) - extract(epoch from '2026-06-26 08:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.788364)'), GeomFromEWKT('SRID=4674;POINT (-40.051796 -2.788358)'))) / (select extract(epoch from '2026-06-26 08:22:58'::timestamp) - extract(epoch from '2026-06-26 08:22: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'), 46941, 'SRID=4674;POINT (-40.051711 -2.788351)', '2026-06-26 08:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051796 -2.788358)'), GeomFromEWKT('SRID=4674;POINT (-40.051711 -2.788351)'))) / (select extract(epoch from '2026-06-26 08:23:06'::timestamp) - extract(epoch from '2026-06-26 08:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051796 -2.788358)'), GeomFromEWKT('SRID=4674;POINT (-40.051711 -2.788351)'))) / (select extract(epoch from '2026-06-26 08:23:06'::timestamp) - extract(epoch from '2026-06-26 08:22: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'), 46941, 'SRID=4674;POINT (-40.051684 -2.788359)', '2026-06-26 08:23:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051711 -2.788351)'), GeomFromEWKT('SRID=4674;POINT (-40.051684 -2.788359)'))) / (select extract(epoch from '2026-06-26 08:23:09'::timestamp) - extract(epoch from '2026-06-26 08:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051711 -2.788351)'), GeomFromEWKT('SRID=4674;POINT (-40.051684 -2.788359)'))) / (select extract(epoch from '2026-06-26 08:23:09'::timestamp) - extract(epoch from '2026-06-26 08:23: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'), 46941, 'SRID=4674;POINT (-40.051661 -2.788367)', '2026-06-26 08:23:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051684 -2.788359)'), GeomFromEWKT('SRID=4674;POINT (-40.051661 -2.788367)'))) / (select extract(epoch from '2026-06-26 08:23:12'::timestamp) - extract(epoch from '2026-06-26 08:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051684 -2.788359)'), GeomFromEWKT('SRID=4674;POINT (-40.051661 -2.788367)'))) / (select extract(epoch from '2026-06-26 08:23:12'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.051596 -2.788356)', '2026-06-26 08:23:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051661 -2.788367)'), GeomFromEWKT('SRID=4674;POINT (-40.051596 -2.788356)'))) / (select extract(epoch from '2026-06-26 08:23:21'::timestamp) - extract(epoch from '2026-06-26 08:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051661 -2.788367)'), GeomFromEWKT('SRID=4674;POINT (-40.051596 -2.788356)'))) / (select extract(epoch from '2026-06-26 08:23:21'::timestamp) - extract(epoch from '2026-06-26 08:23: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'), 46941, 'SRID=4674;POINT (-40.05154 -2.788355)', '2026-06-26 08:23:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051596 -2.788356)'), GeomFromEWKT('SRID=4674;POINT (-40.05154 -2.788355)'))) / (select extract(epoch from '2026-06-26 08:23:30'::timestamp) - extract(epoch from '2026-06-26 08:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051596 -2.788356)'), GeomFromEWKT('SRID=4674;POINT (-40.05154 -2.788355)'))) / (select extract(epoch from '2026-06-26 08:23:30'::timestamp) - extract(epoch from '2026-06-26 08:23:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.051471 -2.788386)', '2026-06-26 08:23:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05154 -2.788355)'), GeomFromEWKT('SRID=4674;POINT (-40.051471 -2.788386)'))) / (select extract(epoch from '2026-06-26 08:23:41'::timestamp) - extract(epoch from '2026-06-26 08:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05154 -2.788355)'), GeomFromEWKT('SRID=4674;POINT (-40.051471 -2.788386)'))) / (select extract(epoch from '2026-06-26 08:23:41'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.05142 -2.788465)', '2026-06-26 08:23:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051471 -2.788386)'), GeomFromEWKT('SRID=4674;POINT (-40.05142 -2.788465)'))) / (select extract(epoch from '2026-06-26 08:23:51'::timestamp) - extract(epoch from '2026-06-26 08:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051471 -2.788386)'), GeomFromEWKT('SRID=4674;POINT (-40.05142 -2.788465)'))) / (select extract(epoch from '2026-06-26 08:23:51'::timestamp) - extract(epoch from '2026-06-26 08:23: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'), 46941, 'SRID=4674;POINT (-40.051359 -2.788575)', '2026-06-26 08:24:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05142 -2.788465)'), GeomFromEWKT('SRID=4674;POINT (-40.051359 -2.788575)'))) / (select extract(epoch from '2026-06-26 08:24:00'::timestamp) - extract(epoch from '2026-06-26 08:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05142 -2.788465)'), GeomFromEWKT('SRID=4674;POINT (-40.051359 -2.788575)'))) / (select extract(epoch from '2026-06-26 08:24:00'::timestamp) - extract(epoch from '2026-06-26 08:23: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'), 46941, 'SRID=4674;POINT (-40.051291 -2.788659)', '2026-06-26 08:24:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051359 -2.788575)'), GeomFromEWKT('SRID=4674;POINT (-40.051291 -2.788659)'))) / (select extract(epoch from '2026-06-26 08:24:07'::timestamp) - extract(epoch from '2026-06-26 08:24:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051359 -2.788575)'), GeomFromEWKT('SRID=4674;POINT (-40.051291 -2.788659)'))) / (select extract(epoch from '2026-06-26 08:24:07'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.051212 -2.788711)', '2026-06-26 08:24:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051291 -2.788659)'), GeomFromEWKT('SRID=4674;POINT (-40.051212 -2.788711)'))) / (select extract(epoch from '2026-06-26 08:24:13'::timestamp) - extract(epoch from '2026-06-26 08:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051291 -2.788659)'), GeomFromEWKT('SRID=4674;POINT (-40.051212 -2.788711)'))) / (select extract(epoch from '2026-06-26 08:24:13'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.051053 -2.788802)', '2026-06-26 08:24:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051212 -2.788711)'), GeomFromEWKT('SRID=4674;POINT (-40.051053 -2.788802)'))) / (select extract(epoch from '2026-06-26 08:24:25'::timestamp) - extract(epoch from '2026-06-26 08:24:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051212 -2.788711)'), GeomFromEWKT('SRID=4674;POINT (-40.051053 -2.788802)'))) / (select extract(epoch from '2026-06-26 08:24:25'::timestamp) - extract(epoch from '2026-06-26 08:24: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'), 46941, 'SRID=4674;POINT (-40.050969 -2.788876)', '2026-06-26 08:24:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051053 -2.788802)'), GeomFromEWKT('SRID=4674;POINT (-40.050969 -2.788876)'))) / (select extract(epoch from '2026-06-26 08:24:33'::timestamp) - extract(epoch from '2026-06-26 08:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051053 -2.788802)'), GeomFromEWKT('SRID=4674;POINT (-40.050969 -2.788876)'))) / (select extract(epoch from '2026-06-26 08:24:33'::timestamp) - extract(epoch from '2026-06-26 08:24: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'), 46941, 'SRID=4674;POINT (-40.050887 -2.788991)', '2026-06-26 08:24:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050969 -2.788876)'), GeomFromEWKT('SRID=4674;POINT (-40.050887 -2.788991)'))) / (select extract(epoch from '2026-06-26 08:24:42'::timestamp) - extract(epoch from '2026-06-26 08:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050969 -2.788876)'), GeomFromEWKT('SRID=4674;POINT (-40.050887 -2.788991)'))) / (select extract(epoch from '2026-06-26 08:24:42'::timestamp) - extract(epoch from '2026-06-26 08:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050879 -2.789078)', '2026-06-26 08:24:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050887 -2.788991)'), GeomFromEWKT('SRID=4674;POINT (-40.050879 -2.789078)'))) / (select extract(epoch from '2026-06-26 08:24:48'::timestamp) - extract(epoch from '2026-06-26 08:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050887 -2.788991)'), GeomFromEWKT('SRID=4674;POINT (-40.050879 -2.789078)'))) / (select extract(epoch from '2026-06-26 08:24:48'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050835 -2.789214)', '2026-06-26 08:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050879 -2.789078)'), GeomFromEWKT('SRID=4674;POINT (-40.050835 -2.789214)'))) / (select extract(epoch from '2026-06-26 08:24:57'::timestamp) - extract(epoch from '2026-06-26 08:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050879 -2.789078)'), GeomFromEWKT('SRID=4674;POINT (-40.050835 -2.789214)'))) / (select extract(epoch from '2026-06-26 08:24:57'::timestamp) - extract(epoch from '2026-06-26 08:24:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050789 -2.789365)', '2026-06-26 08:25:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050835 -2.789214)'), GeomFromEWKT('SRID=4674;POINT (-40.050789 -2.789365)'))) / (select extract(epoch from '2026-06-26 08:25:07'::timestamp) - extract(epoch from '2026-06-26 08:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050835 -2.789214)'), GeomFromEWKT('SRID=4674;POINT (-40.050789 -2.789365)'))) / (select extract(epoch from '2026-06-26 08:25:07'::timestamp) - extract(epoch from '2026-06-26 08:24: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'), 46941, 'SRID=4674;POINT (-40.050755 -2.789533)', '2026-06-26 08:25:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050789 -2.789365)'), GeomFromEWKT('SRID=4674;POINT (-40.050755 -2.789533)'))) / (select extract(epoch from '2026-06-26 08:25:17'::timestamp) - extract(epoch from '2026-06-26 08:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050789 -2.789365)'), GeomFromEWKT('SRID=4674;POINT (-40.050755 -2.789533)'))) / (select extract(epoch from '2026-06-26 08:25:17'::timestamp) - extract(epoch from '2026-06-26 08:25:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05073 -2.789622)', '2026-06-26 08:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050755 -2.789533)'), GeomFromEWKT('SRID=4674;POINT (-40.05073 -2.789622)'))) / (select extract(epoch from '2026-06-26 08:25:23'::timestamp) - extract(epoch from '2026-06-26 08:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050755 -2.789533)'), GeomFromEWKT('SRID=4674;POINT (-40.05073 -2.789622)'))) / (select extract(epoch from '2026-06-26 08:25:23'::timestamp) - extract(epoch from '2026-06-26 08:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050673 -2.78976)', '2026-06-26 08:25:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05073 -2.789622)'), GeomFromEWKT('SRID=4674;POINT (-40.050673 -2.78976)'))) / (select extract(epoch from '2026-06-26 08:25:33'::timestamp) - extract(epoch from '2026-06-26 08:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05073 -2.789622)'), GeomFromEWKT('SRID=4674;POINT (-40.050673 -2.78976)'))) / (select extract(epoch from '2026-06-26 08:25:33'::timestamp) - extract(epoch from '2026-06-26 08:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050599 -2.78986)', '2026-06-26 08:25:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050673 -2.78976)'), GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.78986)'))) / (select extract(epoch from '2026-06-26 08:25:41'::timestamp) - extract(epoch from '2026-06-26 08:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050673 -2.78976)'), GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.78986)'))) / (select extract(epoch from '2026-06-26 08:25:41'::timestamp) - extract(epoch from '2026-06-26 08:25:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050511 -2.78996)', '2026-06-26 08:25:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.78986)'), GeomFromEWKT('SRID=4674;POINT (-40.050511 -2.78996)'))) / (select extract(epoch from '2026-06-26 08:25:50'::timestamp) - extract(epoch from '2026-06-26 08:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.78986)'), GeomFromEWKT('SRID=4674;POINT (-40.050511 -2.78996)'))) / (select extract(epoch from '2026-06-26 08:25:50'::timestamp) - extract(epoch from '2026-06-26 08:25: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'), 46941, 'SRID=4674;POINT (-40.050438 -2.790025)', '2026-06-26 08:25:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050511 -2.78996)'), GeomFromEWKT('SRID=4674;POINT (-40.050438 -2.790025)'))) / (select extract(epoch from '2026-06-26 08:25:57'::timestamp) - extract(epoch from '2026-06-26 08:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050511 -2.78996)'), GeomFromEWKT('SRID=4674;POINT (-40.050438 -2.790025)'))) / (select extract(epoch from '2026-06-26 08:25:57'::timestamp) - extract(epoch from '2026-06-26 08:25:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050361 -2.790108)', '2026-06-26 08:26:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050438 -2.790025)'), GeomFromEWKT('SRID=4674;POINT (-40.050361 -2.790108)'))) / (select extract(epoch from '2026-06-26 08:26:05'::timestamp) - extract(epoch from '2026-06-26 08:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050438 -2.790025)'), GeomFromEWKT('SRID=4674;POINT (-40.050361 -2.790108)'))) / (select extract(epoch from '2026-06-26 08:26:05'::timestamp) - extract(epoch from '2026-06-26 08:25: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'), 46941, 'SRID=4674;POINT (-40.050298 -2.790139)', '2026-06-26 08:26:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050361 -2.790108)'), GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.790139)'))) / (select extract(epoch from '2026-06-26 08:26:13'::timestamp) - extract(epoch from '2026-06-26 08:26:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050361 -2.790108)'), GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.790139)'))) / (select extract(epoch from '2026-06-26 08:26:13'::timestamp) - extract(epoch from '2026-06-26 08:26: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'), 46941, 'SRID=4674;POINT (-40.050237 -2.790112)', '2026-06-26 08:26:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.790139)'), GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.790112)'))) / (select extract(epoch from '2026-06-26 08:26:25'::timestamp) - extract(epoch from '2026-06-26 08:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.790139)'), GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.790112)'))) / (select extract(epoch from '2026-06-26 08:26:25'::timestamp) - extract(epoch from '2026-06-26 08:26: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'), 46941, 'SRID=4674;POINT (-40.050171 -2.790123)', '2026-06-26 08:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.790112)'), GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.790123)'))) / (select extract(epoch from '2026-06-26 08:26:48'::timestamp) - extract(epoch from '2026-06-26 08:26:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.790112)'), GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.790123)'))) / (select extract(epoch from '2026-06-26 08:26:48'::timestamp) - extract(epoch from '2026-06-26 08:26: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'), 46941, 'SRID=4674;POINT (-40.050195 -2.790169)', '2026-06-26 08:27:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.790123)'), GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.790169)'))) / (select extract(epoch from '2026-06-26 08:27:04'::timestamp) - extract(epoch from '2026-06-26 08:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.790123)'), GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.790169)'))) / (select extract(epoch from '2026-06-26 08:27:04'::timestamp) - extract(epoch from '2026-06-26 08:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050216 -2.790241)', '2026-06-26 08:27:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.790169)'), GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.790241)'))) / (select extract(epoch from '2026-06-26 08:27:16'::timestamp) - extract(epoch from '2026-06-26 08:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.790169)'), GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.790241)'))) / (select extract(epoch from '2026-06-26 08:27:16'::timestamp) - extract(epoch from '2026-06-26 08:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050209 -2.790373)', '2026-06-26 08:27:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.790241)'), GeomFromEWKT('SRID=4674;POINT (-40.050209 -2.790373)'))) / (select extract(epoch from '2026-06-26 08:27:26'::timestamp) - extract(epoch from '2026-06-26 08:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050216 -2.790241)'), GeomFromEWKT('SRID=4674;POINT (-40.050209 -2.790373)'))) / (select extract(epoch from '2026-06-26 08:27:26'::timestamp) - extract(epoch from '2026-06-26 08:27: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'), 46941, 'SRID=4674;POINT (-40.050179 -2.790513)', '2026-06-26 08:27:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050209 -2.790373)'), GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.790513)'))) / (select extract(epoch from '2026-06-26 08:27:35'::timestamp) - extract(epoch from '2026-06-26 08:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050209 -2.790373)'), GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.790513)'))) / (select extract(epoch from '2026-06-26 08:27:35'::timestamp) - extract(epoch from '2026-06-26 08:27: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'), 46941, 'SRID=4674;POINT (-40.050136 -2.790645)', '2026-06-26 08:27:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.790513)'), GeomFromEWKT('SRID=4674;POINT (-40.050136 -2.790645)'))) / (select extract(epoch from '2026-06-26 08:27:44'::timestamp) - extract(epoch from '2026-06-26 08:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050179 -2.790513)'), GeomFromEWKT('SRID=4674;POINT (-40.050136 -2.790645)'))) / (select extract(epoch from '2026-06-26 08:27:44'::timestamp) - extract(epoch from '2026-06-26 08:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050086 -2.790777)', '2026-06-26 08:27:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050136 -2.790645)'), GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.790777)'))) / (select extract(epoch from '2026-06-26 08:27:53'::timestamp) - extract(epoch from '2026-06-26 08:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050136 -2.790645)'), GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.790777)'))) / (select extract(epoch from '2026-06-26 08:27:53'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050046 -2.790885)', '2026-06-26 08:28:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.790777)'), GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.790885)'))) / (select extract(epoch from '2026-06-26 08:28:00'::timestamp) - extract(epoch from '2026-06-26 08:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.790777)'), GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.790885)'))) / (select extract(epoch from '2026-06-26 08:28:00'::timestamp) - extract(epoch from '2026-06-26 08:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050046 -2.791022)', '2026-06-26 08:28:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.790885)'), GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.791022)'))) / (select extract(epoch from '2026-06-26 08:28:08'::timestamp) - extract(epoch from '2026-06-26 08:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.790885)'), GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.791022)'))) / (select extract(epoch from '2026-06-26 08:28:08'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050071 -2.791162)', '2026-06-26 08:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.791022)'), GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.791162)'))) / (select extract(epoch from '2026-06-26 08:28:16'::timestamp) - extract(epoch from '2026-06-26 08:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.791022)'), GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.791162)'))) / (select extract(epoch from '2026-06-26 08:28:16'::timestamp) - extract(epoch from '2026-06-26 08:28: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'), 46941, 'SRID=4674;POINT (-40.050109 -2.791321)', '2026-06-26 08:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.791162)'), GeomFromEWKT('SRID=4674;POINT (-40.050109 -2.791321)'))) / (select extract(epoch from '2026-06-26 08:28:25'::timestamp) - extract(epoch from '2026-06-26 08:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050071 -2.791162)'), GeomFromEWKT('SRID=4674;POINT (-40.050109 -2.791321)'))) / (select extract(epoch from '2026-06-26 08:28:25'::timestamp) - extract(epoch from '2026-06-26 08:28: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'), 46941, 'SRID=4674;POINT (-40.050143 -2.791445)', '2026-06-26 08:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050109 -2.791321)'), GeomFromEWKT('SRID=4674;POINT (-40.050143 -2.791445)'))) / (select extract(epoch from '2026-06-26 08:28:32'::timestamp) - extract(epoch from '2026-06-26 08:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050109 -2.791321)'), GeomFromEWKT('SRID=4674;POINT (-40.050143 -2.791445)'))) / (select extract(epoch from '2026-06-26 08:28:32'::timestamp) - extract(epoch from '2026-06-26 08:28: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'), 46941, 'SRID=4674;POINT (-40.050211 -2.791577)', '2026-06-26 08:28:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050143 -2.791445)'), GeomFromEWKT('SRID=4674;POINT (-40.050211 -2.791577)'))) / (select extract(epoch from '2026-06-26 08:28:40'::timestamp) - extract(epoch from '2026-06-26 08:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050143 -2.791445)'), GeomFromEWKT('SRID=4674;POINT (-40.050211 -2.791577)'))) / (select extract(epoch from '2026-06-26 08:28:40'::timestamp) - extract(epoch from '2026-06-26 08:28: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'), 46941, 'SRID=4674;POINT (-40.05028 -2.791642)', '2026-06-26 08:28:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050211 -2.791577)'), GeomFromEWKT('SRID=4674;POINT (-40.05028 -2.791642)'))) / (select extract(epoch from '2026-06-26 08:28:45'::timestamp) - extract(epoch from '2026-06-26 08:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050211 -2.791577)'), GeomFromEWKT('SRID=4674;POINT (-40.05028 -2.791642)'))) / (select extract(epoch from '2026-06-26 08:28:45'::timestamp) - extract(epoch from '2026-06-26 08:28: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'), 46941, 'SRID=4674;POINT (-40.0504 -2.791729)', '2026-06-26 08:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05028 -2.791642)'), GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.791729)'))) / (select extract(epoch from '2026-06-26 08:28:53'::timestamp) - extract(epoch from '2026-06-26 08:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05028 -2.791642)'), GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.791729)'))) / (select extract(epoch from '2026-06-26 08:28:53'::timestamp) - extract(epoch from '2026-06-26 08:28: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'), 46941, 'SRID=4674;POINT (-40.050501 -2.791819)', '2026-06-26 08:29:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.791729)'), GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.791819)'))) / (select extract(epoch from '2026-06-26 08:29:00'::timestamp) - extract(epoch from '2026-06-26 08:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0504 -2.791729)'), GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.791819)'))) / (select extract(epoch from '2026-06-26 08:29:00'::timestamp) - extract(epoch from '2026-06-26 08:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050615 -2.791846)', '2026-06-26 08:29:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.791819)'), GeomFromEWKT('SRID=4674;POINT (-40.050615 -2.791846)'))) / (select extract(epoch from '2026-06-26 08:29:07'::timestamp) - extract(epoch from '2026-06-26 08:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050501 -2.791819)'), GeomFromEWKT('SRID=4674;POINT (-40.050615 -2.791846)'))) / (select extract(epoch from '2026-06-26 08:29:07'::timestamp) - extract(epoch from '2026-06-26 08:29: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'), 46941, 'SRID=4674;POINT (-40.050692 -2.791848)', '2026-06-26 08:29:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050615 -2.791846)'), GeomFromEWKT('SRID=4674;POINT (-40.050692 -2.791848)'))) / (select extract(epoch from '2026-06-26 08:29:12'::timestamp) - extract(epoch from '2026-06-26 08:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050615 -2.791846)'), GeomFromEWKT('SRID=4674;POINT (-40.050692 -2.791848)'))) / (select extract(epoch from '2026-06-26 08:29:12'::timestamp) - extract(epoch from '2026-06-26 08:29: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'), 46941, 'SRID=4674;POINT (-40.050718 -2.791859)', '2026-06-26 08:29:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050692 -2.791848)'), GeomFromEWKT('SRID=4674;POINT (-40.050718 -2.791859)'))) / (select extract(epoch from '2026-06-26 08:29:14'::timestamp) - extract(epoch from '2026-06-26 08:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050692 -2.791848)'), GeomFromEWKT('SRID=4674;POINT (-40.050718 -2.791859)'))) / (select extract(epoch from '2026-06-26 08:29:14'::timestamp) - extract(epoch from '2026-06-26 08:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050804 -2.791905)', '2026-06-26 08:29:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050718 -2.791859)'), GeomFromEWKT('SRID=4674;POINT (-40.050804 -2.791905)'))) / (select extract(epoch from '2026-06-26 08:29:21'::timestamp) - extract(epoch from '2026-06-26 08:29:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050718 -2.791859)'), GeomFromEWKT('SRID=4674;POINT (-40.050804 -2.791905)'))) / (select extract(epoch from '2026-06-26 08:29:21'::timestamp) - extract(epoch from '2026-06-26 08:29: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'), 46941, 'SRID=4674;POINT (-40.050895 -2.791884)', '2026-06-26 08:29:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050804 -2.791905)'), GeomFromEWKT('SRID=4674;POINT (-40.050895 -2.791884)'))) / (select extract(epoch from '2026-06-26 08:29:28'::timestamp) - extract(epoch from '2026-06-26 08:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050804 -2.791905)'), GeomFromEWKT('SRID=4674;POINT (-40.050895 -2.791884)'))) / (select extract(epoch from '2026-06-26 08:29:28'::timestamp) - extract(epoch from '2026-06-26 08:29:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050921 -2.791831)', '2026-06-26 08:29:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050895 -2.791884)'), GeomFromEWKT('SRID=4674;POINT (-40.050921 -2.791831)'))) / (select extract(epoch from '2026-06-26 08:29:34'::timestamp) - extract(epoch from '2026-06-26 08:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050895 -2.791884)'), GeomFromEWKT('SRID=4674;POINT (-40.050921 -2.791831)'))) / (select extract(epoch from '2026-06-26 08:29:34'::timestamp) - extract(epoch from '2026-06-26 08:29:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050901 -2.79177)', '2026-06-26 08:29:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050921 -2.791831)'), GeomFromEWKT('SRID=4674;POINT (-40.050901 -2.79177)'))) / (select extract(epoch from '2026-06-26 08:29:45'::timestamp) - extract(epoch from '2026-06-26 08:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050921 -2.791831)'), GeomFromEWKT('SRID=4674;POINT (-40.050901 -2.79177)'))) / (select extract(epoch from '2026-06-26 08:29:45'::timestamp) - extract(epoch from '2026-06-26 08:29: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'), 46941, 'SRID=4674;POINT (-40.050865 -2.791744)', '2026-06-26 08:29:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050901 -2.79177)'), GeomFromEWKT('SRID=4674;POINT (-40.050865 -2.791744)'))) / (select extract(epoch from '2026-06-26 08:29:59'::timestamp) - extract(epoch from '2026-06-26 08:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050901 -2.79177)'), GeomFromEWKT('SRID=4674;POINT (-40.050865 -2.791744)'))) / (select extract(epoch from '2026-06-26 08:29:59'::timestamp) - extract(epoch from '2026-06-26 08:29:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050853 -2.791703)', '2026-06-26 08:30:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050865 -2.791744)'), GeomFromEWKT('SRID=4674;POINT (-40.050853 -2.791703)'))) / (select extract(epoch from '2026-06-26 08:30:13'::timestamp) - extract(epoch from '2026-06-26 08:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050865 -2.791744)'), GeomFromEWKT('SRID=4674;POINT (-40.050853 -2.791703)'))) / (select extract(epoch from '2026-06-26 08:30:13'::timestamp) - extract(epoch from '2026-06-26 08:29: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'), 46941, 'SRID=4674;POINT (-40.050846 -2.791674)', '2026-06-26 08:30:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050853 -2.791703)'), GeomFromEWKT('SRID=4674;POINT (-40.050846 -2.791674)'))) / (select extract(epoch from '2026-06-26 08:30:24'::timestamp) - extract(epoch from '2026-06-26 08:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050853 -2.791703)'), GeomFromEWKT('SRID=4674;POINT (-40.050846 -2.791674)'))) / (select extract(epoch from '2026-06-26 08:30:24'::timestamp) - extract(epoch from '2026-06-26 08:30: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'), 46941, 'SRID=4674;POINT (-40.050836 -2.791651)', '2026-06-26 08:30:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050846 -2.791674)'), GeomFromEWKT('SRID=4674;POINT (-40.050836 -2.791651)'))) / (select extract(epoch from '2026-06-26 08:30:35'::timestamp) - extract(epoch from '2026-06-26 08:30:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050846 -2.791674)'), GeomFromEWKT('SRID=4674;POINT (-40.050836 -2.791651)'))) / (select extract(epoch from '2026-06-26 08:30:35'::timestamp) - extract(epoch from '2026-06-26 08:30:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050763 -2.791674)', '2026-06-26 08:30:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050836 -2.791651)'), GeomFromEWKT('SRID=4674;POINT (-40.050763 -2.791674)'))) / (select extract(epoch from '2026-06-26 08:30:45'::timestamp) - extract(epoch from '2026-06-26 08:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050836 -2.791651)'), GeomFromEWKT('SRID=4674;POINT (-40.050763 -2.791674)'))) / (select extract(epoch from '2026-06-26 08:30:45'::timestamp) - extract(epoch from '2026-06-26 08:30: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'), 46941, 'SRID=4674;POINT (-40.050684 -2.79173)', '2026-06-26 08:30:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050763 -2.791674)'), GeomFromEWKT('SRID=4674;POINT (-40.050684 -2.79173)'))) / (select extract(epoch from '2026-06-26 08:30:54'::timestamp) - extract(epoch from '2026-06-26 08:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050763 -2.791674)'), GeomFromEWKT('SRID=4674;POINT (-40.050684 -2.79173)'))) / (select extract(epoch from '2026-06-26 08:30:54'::timestamp) - extract(epoch from '2026-06-26 08:30: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'), 46941, 'SRID=4674;POINT (-40.050618 -2.791798)', '2026-06-26 08:31:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050684 -2.79173)'), GeomFromEWKT('SRID=4674;POINT (-40.050618 -2.791798)'))) / (select extract(epoch from '2026-06-26 08:31:03'::timestamp) - extract(epoch from '2026-06-26 08:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050684 -2.79173)'), GeomFromEWKT('SRID=4674;POINT (-40.050618 -2.791798)'))) / (select extract(epoch from '2026-06-26 08:31:03'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050609 -2.791827)', '2026-06-26 08:31:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050618 -2.791798)'), GeomFromEWKT('SRID=4674;POINT (-40.050609 -2.791827)'))) / (select extract(epoch from '2026-06-26 08:31:07'::timestamp) - extract(epoch from '2026-06-26 08:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050618 -2.791798)'), GeomFromEWKT('SRID=4674;POINT (-40.050609 -2.791827)'))) / (select extract(epoch from '2026-06-26 08:31:07'::timestamp) - extract(epoch from '2026-06-26 08:31: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'), 46941, 'SRID=4674;POINT (-40.050603 -2.791844)', '2026-06-26 08:31:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050609 -2.791827)'), GeomFromEWKT('SRID=4674;POINT (-40.050603 -2.791844)'))) / (select extract(epoch from '2026-06-26 08:31:10'::timestamp) - extract(epoch from '2026-06-26 08:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050609 -2.791827)'), GeomFromEWKT('SRID=4674;POINT (-40.050603 -2.791844)'))) / (select extract(epoch from '2026-06-26 08:31:10'::timestamp) - extract(epoch from '2026-06-26 08:31: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'), 46941, 'SRID=4674;POINT (-40.050607 -2.791877)', '2026-06-26 08:31:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050603 -2.791844)'), GeomFromEWKT('SRID=4674;POINT (-40.050607 -2.791877)'))) / (select extract(epoch from '2026-06-26 08:31:19'::timestamp) - extract(epoch from '2026-06-26 08:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050603 -2.791844)'), GeomFromEWKT('SRID=4674;POINT (-40.050607 -2.791877)'))) / (select extract(epoch from '2026-06-26 08:31:19'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050656 -2.79189)', '2026-06-26 08:31:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050607 -2.791877)'), GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.79189)'))) / (select extract(epoch from '2026-06-26 08:31:33'::timestamp) - extract(epoch from '2026-06-26 08:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050607 -2.791877)'), GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.79189)'))) / (select extract(epoch from '2026-06-26 08:31:33'::timestamp) - extract(epoch from '2026-06-26 08:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05071 -2.791869)', '2026-06-26 08:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.79189)'), GeomFromEWKT('SRID=4674;POINT (-40.05071 -2.791869)'))) / (select extract(epoch from '2026-06-26 08:31:46'::timestamp) - extract(epoch from '2026-06-26 08:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.79189)'), GeomFromEWKT('SRID=4674;POINT (-40.05071 -2.791869)'))) / (select extract(epoch from '2026-06-26 08:31:46'::timestamp) - extract(epoch from '2026-06-26 08:31:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050822 -2.791801)', '2026-06-26 08:32:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05071 -2.791869)'), GeomFromEWKT('SRID=4674;POINT (-40.050822 -2.791801)'))) / (select extract(epoch from '2026-06-26 08:32:18'::timestamp) - extract(epoch from '2026-06-26 08:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05071 -2.791869)'), GeomFromEWKT('SRID=4674;POINT (-40.050822 -2.791801)'))) / (select extract(epoch from '2026-06-26 08:32:18'::timestamp) - extract(epoch from '2026-06-26 08:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050891 -2.791788)', '2026-06-26 08:32:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050822 -2.791801)'), GeomFromEWKT('SRID=4674;POINT (-40.050891 -2.791788)'))) / (select extract(epoch from '2026-06-26 08:32:40'::timestamp) - extract(epoch from '2026-06-26 08:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050822 -2.791801)'), GeomFromEWKT('SRID=4674;POINT (-40.050891 -2.791788)'))) / (select extract(epoch from '2026-06-26 08:32:40'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050877 -2.791785)', '2026-06-26 08:32:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050891 -2.791788)'), GeomFromEWKT('SRID=4674;POINT (-40.050877 -2.791785)'))) / (select extract(epoch from '2026-06-26 08:32:53'::timestamp) - extract(epoch from '2026-06-26 08:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050891 -2.791788)'), GeomFromEWKT('SRID=4674;POINT (-40.050877 -2.791785)'))) / (select extract(epoch from '2026-06-26 08:32:53'::timestamp) - extract(epoch from '2026-06-26 08:32: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'), 46941, 'SRID=4674;POINT (-40.050875 -2.791763)', '2026-06-26 08:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050877 -2.791785)'), GeomFromEWKT('SRID=4674;POINT (-40.050875 -2.791763)'))) / (select extract(epoch from '2026-06-26 08:33:17'::timestamp) - extract(epoch from '2026-06-26 08:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050877 -2.791785)'), GeomFromEWKT('SRID=4674;POINT (-40.050875 -2.791763)'))) / (select extract(epoch from '2026-06-26 08:33:17'::timestamp) - extract(epoch from '2026-06-26 08:32: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'), 46941, 'SRID=4674;POINT (-40.050872 -2.791755)', '2026-06-26 08:33:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050875 -2.791763)'), GeomFromEWKT('SRID=4674;POINT (-40.050872 -2.791755)'))) / (select extract(epoch from '2026-06-26 08:33:58'::timestamp) - extract(epoch from '2026-06-26 08:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050875 -2.791763)'), GeomFromEWKT('SRID=4674;POINT (-40.050872 -2.791755)'))) / (select extract(epoch from '2026-06-26 08:33:58'::timestamp) - extract(epoch from '2026-06-26 08:33: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'), 46941, 'SRID=4674;POINT (-40.05087 -2.791763)', '2026-06-26 08:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050872 -2.791755)'), GeomFromEWKT('SRID=4674;POINT (-40.05087 -2.791763)'))) / (select extract(epoch from '2026-06-26 08:34:47'::timestamp) - extract(epoch from '2026-06-26 08:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050872 -2.791755)'), GeomFromEWKT('SRID=4674;POINT (-40.05087 -2.791763)'))) / (select extract(epoch from '2026-06-26 08:34:47'::timestamp) - extract(epoch from '2026-06-26 08:33:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050871 -2.791754)', '2026-06-26 08:35:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05087 -2.791763)'), GeomFromEWKT('SRID=4674;POINT (-40.050871 -2.791754)'))) / (select extract(epoch from '2026-06-26 08:35:11'::timestamp) - extract(epoch from '2026-06-26 08:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05087 -2.791763)'), GeomFromEWKT('SRID=4674;POINT (-40.050871 -2.791754)'))) / (select extract(epoch from '2026-06-26 08:35:11'::timestamp) - extract(epoch from '2026-06-26 08:34: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'), 46941, 'SRID=4674;POINT (-40.050872 -2.791757)', '2026-06-26 08:36:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050871 -2.791754)'), GeomFromEWKT('SRID=4674;POINT (-40.050872 -2.791757)'))) / (select extract(epoch from '2026-06-26 08:36:06'::timestamp) - extract(epoch from '2026-06-26 08:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050871 -2.791754)'), GeomFromEWKT('SRID=4674;POINT (-40.050872 -2.791757)'))) / (select extract(epoch from '2026-06-26 08:36:06'::timestamp) - extract(epoch from '2026-06-26 08:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050874 -2.79177)', '2026-06-26 08:37:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050872 -2.791757)'), GeomFromEWKT('SRID=4674;POINT (-40.050874 -2.79177)'))) / (select extract(epoch from '2026-06-26 08:37:09'::timestamp) - extract(epoch from '2026-06-26 08:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050872 -2.791757)'), GeomFromEWKT('SRID=4674;POINT (-40.050874 -2.79177)'))) / (select extract(epoch from '2026-06-26 08:37:09'::timestamp) - extract(epoch from '2026-06-26 08:36:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050827 -2.791783)', '2026-06-26 08:37:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050874 -2.79177)'), GeomFromEWKT('SRID=4674;POINT (-40.050827 -2.791783)'))) / (select extract(epoch from '2026-06-26 08:37:18'::timestamp) - extract(epoch from '2026-06-26 08:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050874 -2.79177)'), GeomFromEWKT('SRID=4674;POINT (-40.050827 -2.791783)'))) / (select extract(epoch from '2026-06-26 08:37:18'::timestamp) - extract(epoch from '2026-06-26 08:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050734 -2.79181)', '2026-06-26 08:37:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050827 -2.791783)'), GeomFromEWKT('SRID=4674;POINT (-40.050734 -2.79181)'))) / (select extract(epoch from '2026-06-26 08:37:28'::timestamp) - extract(epoch from '2026-06-26 08:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050827 -2.791783)'), GeomFromEWKT('SRID=4674;POINT (-40.050734 -2.79181)'))) / (select extract(epoch from '2026-06-26 08:37:28'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050642 -2.791834)', '2026-06-26 08:37:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050734 -2.79181)'), GeomFromEWKT('SRID=4674;POINT (-40.050642 -2.791834)'))) / (select extract(epoch from '2026-06-26 08:37:39'::timestamp) - extract(epoch from '2026-06-26 08:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050734 -2.79181)'), GeomFromEWKT('SRID=4674;POINT (-40.050642 -2.791834)'))) / (select extract(epoch from '2026-06-26 08:37:39'::timestamp) - extract(epoch from '2026-06-26 08:37: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'), 46941, 'SRID=4674;POINT (-40.050576 -2.791886)', '2026-06-26 08:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050642 -2.791834)'), GeomFromEWKT('SRID=4674;POINT (-40.050576 -2.791886)'))) / (select extract(epoch from '2026-06-26 08:37:52'::timestamp) - extract(epoch from '2026-06-26 08:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050642 -2.791834)'), GeomFromEWKT('SRID=4674;POINT (-40.050576 -2.791886)'))) / (select extract(epoch from '2026-06-26 08:37:52'::timestamp) - extract(epoch from '2026-06-26 08:37: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'), 46941, 'SRID=4674;POINT (-40.050573 -2.791978)', '2026-06-26 08:38:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050576 -2.791886)'), GeomFromEWKT('SRID=4674;POINT (-40.050573 -2.791978)'))) / (select extract(epoch from '2026-06-26 08:38:01'::timestamp) - extract(epoch from '2026-06-26 08:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050576 -2.791886)'), GeomFromEWKT('SRID=4674;POINT (-40.050573 -2.791978)'))) / (select extract(epoch from '2026-06-26 08:38:01'::timestamp) - extract(epoch from '2026-06-26 08:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050532 -2.79205)', '2026-06-26 08:38:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050573 -2.791978)'), GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.79205)'))) / (select extract(epoch from '2026-06-26 08:38:08'::timestamp) - extract(epoch from '2026-06-26 08:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050573 -2.791978)'), GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.79205)'))) / (select extract(epoch from '2026-06-26 08:38:08'::timestamp) - extract(epoch from '2026-06-26 08:38: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'), 46941, 'SRID=4674;POINT (-40.050407 -2.792167)', '2026-06-26 08:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.792167)'))) / (select extract(epoch from '2026-06-26 08:38:19'::timestamp) - extract(epoch from '2026-06-26 08:38:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050532 -2.79205)'), GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.792167)'))) / (select extract(epoch from '2026-06-26 08:38:19'::timestamp) - extract(epoch from '2026-06-26 08:38:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050316 -2.792305)', '2026-06-26 08:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.792167)'), GeomFromEWKT('SRID=4674;POINT (-40.050316 -2.792305)'))) / (select extract(epoch from '2026-06-26 08:38:29'::timestamp) - extract(epoch from '2026-06-26 08:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.792167)'), GeomFromEWKT('SRID=4674;POINT (-40.050316 -2.792305)'))) / (select extract(epoch from '2026-06-26 08:38:29'::timestamp) - extract(epoch from '2026-06-26 08:38: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'), 46941, 'SRID=4674;POINT (-40.05025 -2.792397)', '2026-06-26 08:38:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050316 -2.792305)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.792397)'))) / (select extract(epoch from '2026-06-26 08:38:36'::timestamp) - extract(epoch from '2026-06-26 08:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050316 -2.792305)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.792397)'))) / (select extract(epoch from '2026-06-26 08:38:36'::timestamp) - extract(epoch from '2026-06-26 08:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050173 -2.792547)', '2026-06-26 08:38:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.792397)'), GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.792547)'))) / (select extract(epoch from '2026-06-26 08:38:46'::timestamp) - extract(epoch from '2026-06-26 08:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.792397)'), GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.792547)'))) / (select extract(epoch from '2026-06-26 08:38:46'::timestamp) - extract(epoch from '2026-06-26 08:38: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'), 46941, 'SRID=4674;POINT (-40.050128 -2.792674)', '2026-06-26 08:38:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.792547)'), GeomFromEWKT('SRID=4674;POINT (-40.050128 -2.792674)'))) / (select extract(epoch from '2026-06-26 08:38:54'::timestamp) - extract(epoch from '2026-06-26 08:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.792547)'), GeomFromEWKT('SRID=4674;POINT (-40.050128 -2.792674)'))) / (select extract(epoch from '2026-06-26 08:38:54'::timestamp) - extract(epoch from '2026-06-26 08:38: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'), 46941, 'SRID=4674;POINT (-40.05003 -2.79284)', '2026-06-26 08:39:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050128 -2.792674)'), GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.79284)'))) / (select extract(epoch from '2026-06-26 08:39:06'::timestamp) - extract(epoch from '2026-06-26 08:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050128 -2.792674)'), GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.79284)'))) / (select extract(epoch from '2026-06-26 08:39:06'::timestamp) - extract(epoch from '2026-06-26 08:38: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'), 46941, 'SRID=4674;POINT (-40.05002 -2.792865)', '2026-06-26 08:39:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.79284)'), GeomFromEWKT('SRID=4674;POINT (-40.05002 -2.792865)'))) / (select extract(epoch from '2026-06-26 08:39:08'::timestamp) - extract(epoch from '2026-06-26 08:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.79284)'), GeomFromEWKT('SRID=4674;POINT (-40.05002 -2.792865)'))) / (select extract(epoch from '2026-06-26 08:39:08'::timestamp) - extract(epoch from '2026-06-26 08:39: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'), 46941, 'SRID=4674;POINT (-40.050013 -2.792886)', '2026-06-26 08:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05002 -2.792865)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.792886)'))) / (select extract(epoch from '2026-06-26 08:39:10'::timestamp) - extract(epoch from '2026-06-26 08:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05002 -2.792865)'), GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.792886)'))) / (select extract(epoch from '2026-06-26 08:39:10'::timestamp) - extract(epoch from '2026-06-26 08:39: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'), 46941, 'SRID=4674;POINT (-40.050004 -2.792966)', '2026-06-26 08:39:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.792886)'), GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.792966)'))) / (select extract(epoch from '2026-06-26 08:39:17'::timestamp) - extract(epoch from '2026-06-26 08:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050013 -2.792886)'), GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.792966)'))) / (select extract(epoch from '2026-06-26 08:39:17'::timestamp) - extract(epoch from '2026-06-26 08:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050012 -2.792987)', '2026-06-26 08:39:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.792966)'), GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.792987)'))) / (select extract(epoch from '2026-06-26 08:39:19'::timestamp) - extract(epoch from '2026-06-26 08:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.792966)'), GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.792987)'))) / (select extract(epoch from '2026-06-26 08:39:19'::timestamp) - extract(epoch from '2026-06-26 08:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050044 -2.793056)', '2026-06-26 08:39:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.792987)'), GeomFromEWKT('SRID=4674;POINT (-40.050044 -2.793056)'))) / (select extract(epoch from '2026-06-26 08:39:26'::timestamp) - extract(epoch from '2026-06-26 08:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.792987)'), GeomFromEWKT('SRID=4674;POINT (-40.050044 -2.793056)'))) / (select extract(epoch from '2026-06-26 08:39:26'::timestamp) - extract(epoch from '2026-06-26 08:39: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'), 46941, 'SRID=4674;POINT (-40.050046 -2.793093)', '2026-06-26 08:39:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050044 -2.793056)'), GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.793093)'))) / (select extract(epoch from '2026-06-26 08:39:35'::timestamp) - extract(epoch from '2026-06-26 08:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050044 -2.793056)'), GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.793093)'))) / (select extract(epoch from '2026-06-26 08:39:35'::timestamp) - extract(epoch from '2026-06-26 08:39: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'), 46941, 'SRID=4674;POINT (-40.050042 -2.793069)', '2026-06-26 08:39:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.793093)'), GeomFromEWKT('SRID=4674;POINT (-40.050042 -2.793069)'))) / (select extract(epoch from '2026-06-26 08:39:47'::timestamp) - extract(epoch from '2026-06-26 08:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050046 -2.793093)'), GeomFromEWKT('SRID=4674;POINT (-40.050042 -2.793069)'))) / (select extract(epoch from '2026-06-26 08:39:47'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050016 -2.792987)', '2026-06-26 08:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050042 -2.793069)'), GeomFromEWKT('SRID=4674;POINT (-40.050016 -2.792987)'))) / (select extract(epoch from '2026-06-26 08:39:59'::timestamp) - extract(epoch from '2026-06-26 08:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050042 -2.793069)'), GeomFromEWKT('SRID=4674;POINT (-40.050016 -2.792987)'))) / (select extract(epoch from '2026-06-26 08:39:59'::timestamp) - extract(epoch from '2026-06-26 08:39: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'), 46941, 'SRID=4674;POINT (-40.049947 -2.792969)', '2026-06-26 08:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050016 -2.792987)'), GeomFromEWKT('SRID=4674;POINT (-40.049947 -2.792969)'))) / (select extract(epoch from '2026-06-26 08:40:11'::timestamp) - extract(epoch from '2026-06-26 08:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050016 -2.792987)'), GeomFromEWKT('SRID=4674;POINT (-40.049947 -2.792969)'))) / (select extract(epoch from '2026-06-26 08:40:11'::timestamp) - extract(epoch from '2026-06-26 08:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049916 -2.793029)', '2026-06-26 08:40:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049947 -2.792969)'), GeomFromEWKT('SRID=4674;POINT (-40.049916 -2.793029)'))) / (select extract(epoch from '2026-06-26 08:40:26'::timestamp) - extract(epoch from '2026-06-26 08:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049947 -2.792969)'), GeomFromEWKT('SRID=4674;POINT (-40.049916 -2.793029)'))) / (select extract(epoch from '2026-06-26 08:40:26'::timestamp) - extract(epoch from '2026-06-26 08:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049979 -2.793105)', '2026-06-26 08:40:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049916 -2.793029)'), GeomFromEWKT('SRID=4674;POINT (-40.049979 -2.793105)'))) / (select extract(epoch from '2026-06-26 08:40:35'::timestamp) - extract(epoch from '2026-06-26 08:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049916 -2.793029)'), GeomFromEWKT('SRID=4674;POINT (-40.049979 -2.793105)'))) / (select extract(epoch from '2026-06-26 08:40:35'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050073 -2.793098)', '2026-06-26 08:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049979 -2.793105)'), GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.793098)'))) / (select extract(epoch from '2026-06-26 08:40:42'::timestamp) - extract(epoch from '2026-06-26 08:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049979 -2.793105)'), GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.793098)'))) / (select extract(epoch from '2026-06-26 08:40:42'::timestamp) - extract(epoch from '2026-06-26 08:40: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'), 46941, 'SRID=4674;POINT (-40.050125 -2.793053)', '2026-06-26 08:40:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.793098)'), GeomFromEWKT('SRID=4674;POINT (-40.050125 -2.793053)'))) / (select extract(epoch from '2026-06-26 08:40:51'::timestamp) - extract(epoch from '2026-06-26 08:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050073 -2.793098)'), GeomFromEWKT('SRID=4674;POINT (-40.050125 -2.793053)'))) / (select extract(epoch from '2026-06-26 08:40:51'::timestamp) - extract(epoch from '2026-06-26 08:40: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'), 46941, 'SRID=4674;POINT (-40.050173 -2.793013)', '2026-06-26 08:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050125 -2.793053)'), GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.793013)'))) / (select extract(epoch from '2026-06-26 08:41:02'::timestamp) - extract(epoch from '2026-06-26 08:40:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050125 -2.793053)'), GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.793013)'))) / (select extract(epoch from '2026-06-26 08:41:02'::timestamp) - extract(epoch from '2026-06-26 08:40: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'), 46941, 'SRID=4674;POINT (-40.050208 -2.792986)', '2026-06-26 08:41:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.793013)'), GeomFromEWKT('SRID=4674;POINT (-40.050208 -2.792986)'))) / (select extract(epoch from '2026-06-26 08:41:12'::timestamp) - extract(epoch from '2026-06-26 08:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050173 -2.793013)'), GeomFromEWKT('SRID=4674;POINT (-40.050208 -2.792986)'))) / (select extract(epoch from '2026-06-26 08:41:12'::timestamp) - extract(epoch from '2026-06-26 08:41: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'), 46941, 'SRID=4674;POINT (-40.050233 -2.792944)', '2026-06-26 08:41:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050208 -2.792986)'), GeomFromEWKT('SRID=4674;POINT (-40.050233 -2.792944)'))) / (select extract(epoch from '2026-06-26 08:41:32'::timestamp) - extract(epoch from '2026-06-26 08:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050208 -2.792986)'), GeomFromEWKT('SRID=4674;POINT (-40.050233 -2.792944)'))) / (select extract(epoch from '2026-06-26 08:41:32'::timestamp) - extract(epoch from '2026-06-26 08:41: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'), 46941, 'SRID=4674;POINT (-40.050228 -2.79295)', '2026-06-26 08:41:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050233 -2.792944)'), GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.79295)'))) / (select extract(epoch from '2026-06-26 08:41:50'::timestamp) - extract(epoch from '2026-06-26 08:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050233 -2.792944)'), GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.79295)'))) / (select extract(epoch from '2026-06-26 08:41:50'::timestamp) - extract(epoch from '2026-06-26 08:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050253 -2.792982)', '2026-06-26 08:42:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.79295)'), GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.792982)'))) / (select extract(epoch from '2026-06-26 08:42:17'::timestamp) - extract(epoch from '2026-06-26 08:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.79295)'), GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.792982)'))) / (select extract(epoch from '2026-06-26 08:42:17'::timestamp) - extract(epoch from '2026-06-26 08:41: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'), 46941, 'SRID=4674;POINT (-40.050246 -2.792975)', '2026-06-26 08:42:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.792982)'), GeomFromEWKT('SRID=4674;POINT (-40.050246 -2.792975)'))) / (select extract(epoch from '2026-06-26 08:42:36'::timestamp) - extract(epoch from '2026-06-26 08:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.792982)'), GeomFromEWKT('SRID=4674;POINT (-40.050246 -2.792975)'))) / (select extract(epoch from '2026-06-26 08:42:36'::timestamp) - extract(epoch from '2026-06-26 08:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050254 -2.792965)', '2026-06-26 08:42:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050246 -2.792975)'), GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.792965)'))) / (select extract(epoch from '2026-06-26 08:42:44'::timestamp) - extract(epoch from '2026-06-26 08:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050246 -2.792975)'), GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.792965)'))) / (select extract(epoch from '2026-06-26 08:42:44'::timestamp) - extract(epoch from '2026-06-26 08:42:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050253 -2.792962)', '2026-06-26 08:42:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.792965)'), GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.792962)'))) / (select extract(epoch from '2026-06-26 08:42:54'::timestamp) - extract(epoch from '2026-06-26 08:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050254 -2.792965)'), GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.792962)'))) / (select extract(epoch from '2026-06-26 08:42:54'::timestamp) - extract(epoch from '2026-06-26 08:42:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050252 -2.792966)', '2026-06-26 08:43:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.792962)'), GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.792966)'))) / (select extract(epoch from '2026-06-26 08:43:02'::timestamp) - extract(epoch from '2026-06-26 08:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.792962)'), GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.792966)'))) / (select extract(epoch from '2026-06-26 08:43:02'::timestamp) - extract(epoch from '2026-06-26 08:42:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050245 -2.79299)', '2026-06-26 08:43:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.792966)'), GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.79299)'))) / (select extract(epoch from '2026-06-26 08:43:16'::timestamp) - extract(epoch from '2026-06-26 08:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.792966)'), GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.79299)'))) / (select extract(epoch from '2026-06-26 08:43:16'::timestamp) - extract(epoch from '2026-06-26 08:43: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'), 46941, 'SRID=4674;POINT (-40.050226 -2.793006)', '2026-06-26 08:43:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.79299)'), GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.793006)'))) / (select extract(epoch from '2026-06-26 08:43:23'::timestamp) - extract(epoch from '2026-06-26 08:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050245 -2.79299)'), GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.793006)'))) / (select extract(epoch from '2026-06-26 08:43:23'::timestamp) - extract(epoch from '2026-06-26 08:43: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'), 46941, 'SRID=4674;POINT (-40.050212 -2.793023)', '2026-06-26 08:43:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.793006)'), GeomFromEWKT('SRID=4674;POINT (-40.050212 -2.793023)'))) / (select extract(epoch from '2026-06-26 08:43:34'::timestamp) - extract(epoch from '2026-06-26 08:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050226 -2.793006)'), GeomFromEWKT('SRID=4674;POINT (-40.050212 -2.793023)'))) / (select extract(epoch from '2026-06-26 08:43:34'::timestamp) - extract(epoch from '2026-06-26 08:43: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'), 46941, 'SRID=4674;POINT (-40.050222 -2.793033)', '2026-06-26 08:43:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050212 -2.793023)'), GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.793033)'))) / (select extract(epoch from '2026-06-26 08:43:39'::timestamp) - extract(epoch from '2026-06-26 08:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050212 -2.793023)'), GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.793033)'))) / (select extract(epoch from '2026-06-26 08:43:39'::timestamp) - extract(epoch from '2026-06-26 08:43: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'), 46941, 'SRID=4674;POINT (-40.050236 -2.793015)', '2026-06-26 08:43:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.793033)'), GeomFromEWKT('SRID=4674;POINT (-40.050236 -2.793015)'))) / (select extract(epoch from '2026-06-26 08:43:46'::timestamp) - extract(epoch from '2026-06-26 08:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.793033)'), GeomFromEWKT('SRID=4674;POINT (-40.050236 -2.793015)'))) / (select extract(epoch from '2026-06-26 08:43:46'::timestamp) - extract(epoch from '2026-06-26 08:43:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05025 -2.793017)', '2026-06-26 08:43:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050236 -2.793015)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.793017)'))) / (select extract(epoch from '2026-06-26 08:43:59'::timestamp) - extract(epoch from '2026-06-26 08:43:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050236 -2.793015)'), GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.793017)'))) / (select extract(epoch from '2026-06-26 08:43:59'::timestamp) - extract(epoch from '2026-06-26 08:43:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050253 -2.793003)', '2026-06-26 08:44:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.793017)'), GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.793003)'))) / (select extract(epoch from '2026-06-26 08:44:10'::timestamp) - extract(epoch from '2026-06-26 08:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05025 -2.793017)'), GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.793003)'))) / (select extract(epoch from '2026-06-26 08:44:10'::timestamp) - extract(epoch from '2026-06-26 08:43: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'), 46941, 'SRID=4674;POINT (-40.050232 -2.792985)', '2026-06-26 08:44:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.793003)'), GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.792985)'))) / (select extract(epoch from '2026-06-26 08:44:35'::timestamp) - extract(epoch from '2026-06-26 08:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050253 -2.793003)'), GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.792985)'))) / (select extract(epoch from '2026-06-26 08:44:35'::timestamp) - extract(epoch from '2026-06-26 08:44: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'), 46941, 'SRID=4674;POINT (-40.05016 -2.792965)', '2026-06-26 08:44:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.792985)'), GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.792965)'))) / (select extract(epoch from '2026-06-26 08:44:44'::timestamp) - extract(epoch from '2026-06-26 08:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050232 -2.792985)'), GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.792965)'))) / (select extract(epoch from '2026-06-26 08:44:44'::timestamp) - extract(epoch from '2026-06-26 08:44: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'), 46941, 'SRID=4674;POINT (-40.050116 -2.792959)', '2026-06-26 08:44:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.792965)'), GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.792959)'))) / (select extract(epoch from '2026-06-26 08:44:55'::timestamp) - extract(epoch from '2026-06-26 08:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.792965)'), GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.792959)'))) / (select extract(epoch from '2026-06-26 08:44:55'::timestamp) - extract(epoch from '2026-06-26 08:44: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'), 46941, 'SRID=4674;POINT (-40.050036 -2.793007)', '2026-06-26 08:45:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.792959)'), GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.793007)'))) / (select extract(epoch from '2026-06-26 08:45:07'::timestamp) - extract(epoch from '2026-06-26 08:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.792959)'), GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.793007)'))) / (select extract(epoch from '2026-06-26 08:45:07'::timestamp) - extract(epoch from '2026-06-26 08:44: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'), 46941, 'SRID=4674;POINT (-40.050017 -2.793103)', '2026-06-26 08:45:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.793007)'), GeomFromEWKT('SRID=4674;POINT (-40.050017 -2.793103)'))) / (select extract(epoch from '2026-06-26 08:45:14'::timestamp) - extract(epoch from '2026-06-26 08:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.793007)'), GeomFromEWKT('SRID=4674;POINT (-40.050017 -2.793103)'))) / (select extract(epoch from '2026-06-26 08:45:14'::timestamp) - extract(epoch from '2026-06-26 08:45: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'), 46941, 'SRID=4674;POINT (-40.050004 -2.793234)', '2026-06-26 08:45:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050017 -2.793103)'), GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.793234)'))) / (select extract(epoch from '2026-06-26 08:45:22'::timestamp) - extract(epoch from '2026-06-26 08:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050017 -2.793103)'), GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.793234)'))) / (select extract(epoch from '2026-06-26 08:45:22'::timestamp) - extract(epoch from '2026-06-26 08:45: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'), 46941, 'SRID=4674;POINT (-40.049975 -2.793356)', '2026-06-26 08:45:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.793234)'), GeomFromEWKT('SRID=4674;POINT (-40.049975 -2.793356)'))) / (select extract(epoch from '2026-06-26 08:45:30'::timestamp) - extract(epoch from '2026-06-26 08:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050004 -2.793234)'), GeomFromEWKT('SRID=4674;POINT (-40.049975 -2.793356)'))) / (select extract(epoch from '2026-06-26 08:45:30'::timestamp) - extract(epoch from '2026-06-26 08:45:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049911 -2.793481)', '2026-06-26 08:45:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049975 -2.793356)'), GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.793481)'))) / (select extract(epoch from '2026-06-26 08:45:39'::timestamp) - extract(epoch from '2026-06-26 08:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049975 -2.793356)'), GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.793481)'))) / (select extract(epoch from '2026-06-26 08:45:39'::timestamp) - extract(epoch from '2026-06-26 08:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049872 -2.793622)', '2026-06-26 08:45:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.793481)'), GeomFromEWKT('SRID=4674;POINT (-40.049872 -2.793622)'))) / (select extract(epoch from '2026-06-26 08:45:48'::timestamp) - extract(epoch from '2026-06-26 08:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049911 -2.793481)'), GeomFromEWKT('SRID=4674;POINT (-40.049872 -2.793622)'))) / (select extract(epoch from '2026-06-26 08:45:48'::timestamp) - extract(epoch from '2026-06-26 08:45:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049868 -2.793754)', '2026-06-26 08:45:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049872 -2.793622)'), GeomFromEWKT('SRID=4674;POINT (-40.049868 -2.793754)'))) / (select extract(epoch from '2026-06-26 08:45:56'::timestamp) - extract(epoch from '2026-06-26 08:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049872 -2.793622)'), GeomFromEWKT('SRID=4674;POINT (-40.049868 -2.793754)'))) / (select extract(epoch from '2026-06-26 08:45:56'::timestamp) - extract(epoch from '2026-06-26 08:45:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049821 -2.793922)', '2026-06-26 08:46:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049868 -2.793754)'), GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.793922)'))) / (select extract(epoch from '2026-06-26 08:46:07'::timestamp) - extract(epoch from '2026-06-26 08:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049868 -2.793754)'), GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.793922)'))) / (select extract(epoch from '2026-06-26 08:46:07'::timestamp) - extract(epoch from '2026-06-26 08:45: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'), 46941, 'SRID=4674;POINT (-40.049809 -2.794081)', '2026-06-26 08:46:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.793922)'), GeomFromEWKT('SRID=4674;POINT (-40.049809 -2.794081)'))) / (select extract(epoch from '2026-06-26 08:46:17'::timestamp) - extract(epoch from '2026-06-26 08:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.793922)'), GeomFromEWKT('SRID=4674;POINT (-40.049809 -2.794081)'))) / (select extract(epoch from '2026-06-26 08:46:17'::timestamp) - extract(epoch from '2026-06-26 08:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04982 -2.794221)', '2026-06-26 08:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049809 -2.794081)'), GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.794221)'))) / (select extract(epoch from '2026-06-26 08:46:25'::timestamp) - extract(epoch from '2026-06-26 08:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049809 -2.794081)'), GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.794221)'))) / (select extract(epoch from '2026-06-26 08:46:25'::timestamp) - extract(epoch from '2026-06-26 08:46:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049869 -2.794338)', '2026-06-26 08:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.794221)'), GeomFromEWKT('SRID=4674;POINT (-40.049869 -2.794338)'))) / (select extract(epoch from '2026-06-26 08:46:32'::timestamp) - extract(epoch from '2026-06-26 08:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04982 -2.794221)'), GeomFromEWKT('SRID=4674;POINT (-40.049869 -2.794338)'))) / (select extract(epoch from '2026-06-26 08:46:32'::timestamp) - extract(epoch from '2026-06-26 08:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049978 -2.794451)', '2026-06-26 08:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049869 -2.794338)'), GeomFromEWKT('SRID=4674;POINT (-40.049978 -2.794451)'))) / (select extract(epoch from '2026-06-26 08:46:41'::timestamp) - extract(epoch from '2026-06-26 08:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049869 -2.794338)'), GeomFromEWKT('SRID=4674;POINT (-40.049978 -2.794451)'))) / (select extract(epoch from '2026-06-26 08:46:41'::timestamp) - extract(epoch from '2026-06-26 08:46:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050023 -2.794538)', '2026-06-26 08:46:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049978 -2.794451)'), GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.794538)'))) / (select extract(epoch from '2026-06-26 08:46:48'::timestamp) - extract(epoch from '2026-06-26 08:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049978 -2.794451)'), GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.794538)'))) / (select extract(epoch from '2026-06-26 08:46:48'::timestamp) - extract(epoch from '2026-06-26 08:46: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'), 46941, 'SRID=4674;POINT (-40.050098 -2.79454)', '2026-06-26 08:46:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.794538)'), GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.79454)'))) / (select extract(epoch from '2026-06-26 08:46:55'::timestamp) - extract(epoch from '2026-06-26 08:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050023 -2.794538)'), GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.79454)'))) / (select extract(epoch from '2026-06-26 08:46:55'::timestamp) - extract(epoch from '2026-06-26 08:46: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'), 46941, 'SRID=4674;POINT (-40.05019 -2.794501)', '2026-06-26 08:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794501)'))) / (select extract(epoch from '2026-06-26 08:47:03'::timestamp) - extract(epoch from '2026-06-26 08:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.79454)'), GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794501)'))) / (select extract(epoch from '2026-06-26 08:47:03'::timestamp) - extract(epoch from '2026-06-26 08:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050267 -2.794454)', '2026-06-26 08:47:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794501)'), GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.794454)'))) / (select extract(epoch from '2026-06-26 08:47:11'::timestamp) - extract(epoch from '2026-06-26 08:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794501)'), GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.794454)'))) / (select extract(epoch from '2026-06-26 08:47:11'::timestamp) - extract(epoch from '2026-06-26 08:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050335 -2.794459)', '2026-06-26 08:47:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.794454)'), GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.794459)'))) / (select extract(epoch from '2026-06-26 08:47:17'::timestamp) - extract(epoch from '2026-06-26 08:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050267 -2.794454)'), GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.794459)'))) / (select extract(epoch from '2026-06-26 08:47:17'::timestamp) - extract(epoch from '2026-06-26 08:47:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050342 -2.794465)', '2026-06-26 08:47:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.794459)'), GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.794465)'))) / (select extract(epoch from '2026-06-26 08:47:18'::timestamp) - extract(epoch from '2026-06-26 08:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050335 -2.794459)'), GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.794465)'))) / (select extract(epoch from '2026-06-26 08:47:18'::timestamp) - extract(epoch from '2026-06-26 08:47:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05038 -2.794498)', '2026-06-26 08:47:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.794465)'), GeomFromEWKT('SRID=4674;POINT (-40.05038 -2.794498)'))) / (select extract(epoch from '2026-06-26 08:47:26'::timestamp) - extract(epoch from '2026-06-26 08:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050342 -2.794465)'), GeomFromEWKT('SRID=4674;POINT (-40.05038 -2.794498)'))) / (select extract(epoch from '2026-06-26 08:47:26'::timestamp) - extract(epoch from '2026-06-26 08:47:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050376 -2.794555)', '2026-06-26 08:47:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05038 -2.794498)'), GeomFromEWKT('SRID=4674;POINT (-40.050376 -2.794555)'))) / (select extract(epoch from '2026-06-26 08:47:36'::timestamp) - extract(epoch from '2026-06-26 08:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05038 -2.794498)'), GeomFromEWKT('SRID=4674;POINT (-40.050376 -2.794555)'))) / (select extract(epoch from '2026-06-26 08:47:36'::timestamp) - extract(epoch from '2026-06-26 08:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050336 -2.794547)', '2026-06-26 08:47:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050376 -2.794555)'), GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.794547)'))) / (select extract(epoch from '2026-06-26 08:47:44'::timestamp) - extract(epoch from '2026-06-26 08:47:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050376 -2.794555)'), GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.794547)'))) / (select extract(epoch from '2026-06-26 08:47:44'::timestamp) - extract(epoch from '2026-06-26 08:47:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050311 -2.794482)', '2026-06-26 08:47:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.794547)'), GeomFromEWKT('SRID=4674;POINT (-40.050311 -2.794482)'))) / (select extract(epoch from '2026-06-26 08:47:53'::timestamp) - extract(epoch from '2026-06-26 08:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.794547)'), GeomFromEWKT('SRID=4674;POINT (-40.050311 -2.794482)'))) / (select extract(epoch from '2026-06-26 08:47:53'::timestamp) - extract(epoch from '2026-06-26 08:47: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'), 46941, 'SRID=4674;POINT (-40.050261 -2.794434)', '2026-06-26 08:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050311 -2.794482)'), GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.794434)'))) / (select extract(epoch from '2026-06-26 08:48:00'::timestamp) - extract(epoch from '2026-06-26 08:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050311 -2.794482)'), GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.794434)'))) / (select extract(epoch from '2026-06-26 08:48:00'::timestamp) - extract(epoch from '2026-06-26 08:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050207 -2.794409)', '2026-06-26 08:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.794434)'), GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.794409)'))) / (select extract(epoch from '2026-06-26 08:48:07'::timestamp) - extract(epoch from '2026-06-26 08:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050261 -2.794434)'), GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.794409)'))) / (select extract(epoch from '2026-06-26 08:48:07'::timestamp) - extract(epoch from '2026-06-26 08:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050158 -2.794401)', '2026-06-26 08:48:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.794409)'), GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.794401)'))) / (select extract(epoch from '2026-06-26 08:48:15'::timestamp) - extract(epoch from '2026-06-26 08:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.794409)'), GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.794401)'))) / (select extract(epoch from '2026-06-26 08:48:15'::timestamp) - extract(epoch from '2026-06-26 08:48: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'), 46941, 'SRID=4674;POINT (-40.050106 -2.794403)', '2026-06-26 08:48:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.794401)'), GeomFromEWKT('SRID=4674;POINT (-40.050106 -2.794403)'))) / (select extract(epoch from '2026-06-26 08:48:25'::timestamp) - extract(epoch from '2026-06-26 08:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050158 -2.794401)'), GeomFromEWKT('SRID=4674;POINT (-40.050106 -2.794403)'))) / (select extract(epoch from '2026-06-26 08:48:25'::timestamp) - extract(epoch from '2026-06-26 08:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050075 -2.794378)', '2026-06-26 08:48:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050106 -2.794403)'), GeomFromEWKT('SRID=4674;POINT (-40.050075 -2.794378)'))) / (select extract(epoch from '2026-06-26 08:48:37'::timestamp) - extract(epoch from '2026-06-26 08:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050106 -2.794403)'), GeomFromEWKT('SRID=4674;POINT (-40.050075 -2.794378)'))) / (select extract(epoch from '2026-06-26 08:48:37'::timestamp) - extract(epoch from '2026-06-26 08:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049999 -2.794371)', '2026-06-26 08:48:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050075 -2.794378)'), GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.794371)'))) / (select extract(epoch from '2026-06-26 08:48:49'::timestamp) - extract(epoch from '2026-06-26 08:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050075 -2.794378)'), GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.794371)'))) / (select extract(epoch from '2026-06-26 08:48:49'::timestamp) - extract(epoch from '2026-06-26 08:48:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049916 -2.794413)', '2026-06-26 08:48:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.794371)'), GeomFromEWKT('SRID=4674;POINT (-40.049916 -2.794413)'))) / (select extract(epoch from '2026-06-26 08:48:59'::timestamp) - extract(epoch from '2026-06-26 08:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049999 -2.794371)'), GeomFromEWKT('SRID=4674;POINT (-40.049916 -2.794413)'))) / (select extract(epoch from '2026-06-26 08:48:59'::timestamp) - extract(epoch from '2026-06-26 08:48: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'), 46941, 'SRID=4674;POINT (-40.049891 -2.794434)', '2026-06-26 08:49:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049916 -2.794413)'), GeomFromEWKT('SRID=4674;POINT (-40.049891 -2.794434)'))) / (select extract(epoch from '2026-06-26 08:49:09'::timestamp) - extract(epoch from '2026-06-26 08:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049916 -2.794413)'), GeomFromEWKT('SRID=4674;POINT (-40.049891 -2.794434)'))) / (select extract(epoch from '2026-06-26 08:49:09'::timestamp) - extract(epoch from '2026-06-26 08:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04992 -2.79445)', '2026-06-26 08:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049891 -2.794434)'), GeomFromEWKT('SRID=4674;POINT (-40.04992 -2.79445)'))) / (select extract(epoch from '2026-06-26 08:49:27'::timestamp) - extract(epoch from '2026-06-26 08:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049891 -2.794434)'), GeomFromEWKT('SRID=4674;POINT (-40.04992 -2.79445)'))) / (select extract(epoch from '2026-06-26 08:49:27'::timestamp) - extract(epoch from '2026-06-26 08:49: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'), 46941, 'SRID=4674;POINT (-40.050021 -2.794441)', '2026-06-26 08:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04992 -2.79445)'), GeomFromEWKT('SRID=4674;POINT (-40.050021 -2.794441)'))) / (select extract(epoch from '2026-06-26 08:49:59'::timestamp) - extract(epoch from '2026-06-26 08:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04992 -2.79445)'), GeomFromEWKT('SRID=4674;POINT (-40.050021 -2.794441)'))) / (select extract(epoch from '2026-06-26 08:49:59'::timestamp) - extract(epoch from '2026-06-26 08:49: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'), 46941, 'SRID=4674;POINT (-40.05009 -2.794426)', '2026-06-26 08:50:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050021 -2.794441)'), GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.794426)'))) / (select extract(epoch from '2026-06-26 08:50:26'::timestamp) - extract(epoch from '2026-06-26 08:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050021 -2.794441)'), GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.794426)'))) / (select extract(epoch from '2026-06-26 08:50:26'::timestamp) - extract(epoch from '2026-06-26 08:49: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'), 46941, 'SRID=4674;POINT (-40.050096 -2.794408)', '2026-06-26 08:50:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.794426)'), GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794408)'))) / (select extract(epoch from '2026-06-26 08:50:48'::timestamp) - extract(epoch from '2026-06-26 08:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05009 -2.794426)'), GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794408)'))) / (select extract(epoch from '2026-06-26 08:50:48'::timestamp) - extract(epoch from '2026-06-26 08:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050093 -2.794412)', '2026-06-26 08:51:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794408)'), GeomFromEWKT('SRID=4674;POINT (-40.050093 -2.794412)'))) / (select extract(epoch from '2026-06-26 08:51:25'::timestamp) - extract(epoch from '2026-06-26 08:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794408)'), GeomFromEWKT('SRID=4674;POINT (-40.050093 -2.794412)'))) / (select extract(epoch from '2026-06-26 08:51:25'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050089 -2.794407)', '2026-06-26 08:52:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050093 -2.794412)'), GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.794407)'))) / (select extract(epoch from '2026-06-26 08:52:25'::timestamp) - extract(epoch from '2026-06-26 08:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050093 -2.794412)'), GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.794407)'))) / (select extract(epoch from '2026-06-26 08:52:25'::timestamp) - extract(epoch from '2026-06-26 08:51: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'), 46941, 'SRID=4674;POINT (-40.050095 -2.794423)', '2026-06-26 08:52:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.794407)'), GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.794423)'))) / (select extract(epoch from '2026-06-26 08:52:43'::timestamp) - extract(epoch from '2026-06-26 08:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.794407)'), GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.794423)'))) / (select extract(epoch from '2026-06-26 08:52:43'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050095 -2.794428)', '2026-06-26 08:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.794423)'), GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.794428)'))) / (select extract(epoch from '2026-06-26 08:52:45'::timestamp) - extract(epoch from '2026-06-26 08:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.794423)'), GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.794428)'))) / (select extract(epoch from '2026-06-26 08:52:45'::timestamp) - extract(epoch from '2026-06-26 08:52: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'), 46941, 'SRID=4674;POINT (-40.050096 -2.794433)', '2026-06-26 08:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.794428)'), GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794433)'))) / (select extract(epoch from '2026-06-26 08:53:02'::timestamp) - extract(epoch from '2026-06-26 08:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.794428)'), GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794433)'))) / (select extract(epoch from '2026-06-26 08:53:02'::timestamp) - extract(epoch from '2026-06-26 08:52: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'), 46941, 'SRID=4674;POINT (-40.050089 -2.794425)', '2026-06-26 08:53:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794433)'), GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.794425)'))) / (select extract(epoch from '2026-06-26 08:53:12'::timestamp) - extract(epoch from '2026-06-26 08:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794433)'), GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.794425)'))) / (select extract(epoch from '2026-06-26 08:53:12'::timestamp) - extract(epoch from '2026-06-26 08:53: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'), 46941, 'SRID=4674;POINT (-40.050082 -2.794435)', '2026-06-26 08:53:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.794425)'), GeomFromEWKT('SRID=4674;POINT (-40.050082 -2.794435)'))) / (select extract(epoch from '2026-06-26 08:53:30'::timestamp) - extract(epoch from '2026-06-26 08:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.794425)'), GeomFromEWKT('SRID=4674;POINT (-40.050082 -2.794435)'))) / (select extract(epoch from '2026-06-26 08:53:30'::timestamp) - extract(epoch from '2026-06-26 08:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050096 -2.794439)', '2026-06-26 08:53:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050082 -2.794435)'), GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794439)'))) / (select extract(epoch from '2026-06-26 08:53:55'::timestamp) - extract(epoch from '2026-06-26 08:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050082 -2.794435)'), GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794439)'))) / (select extract(epoch from '2026-06-26 08:53:55'::timestamp) - extract(epoch from '2026-06-26 08:53: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'), 46941, 'SRID=4674;POINT (-40.050097 -2.794444)', '2026-06-26 08:54:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794439)'), GeomFromEWKT('SRID=4674;POINT (-40.050097 -2.794444)'))) / (select extract(epoch from '2026-06-26 08:54:10'::timestamp) - extract(epoch from '2026-06-26 08:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.794439)'), GeomFromEWKT('SRID=4674;POINT (-40.050097 -2.794444)'))) / (select extract(epoch from '2026-06-26 08:54:10'::timestamp) - extract(epoch from '2026-06-26 08:53: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'), 46941, 'SRID=4674;POINT (-40.05007 -2.794449)', '2026-06-26 08:54:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050097 -2.794444)'), GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.794449)'))) / (select extract(epoch from '2026-06-26 08:54:24'::timestamp) - extract(epoch from '2026-06-26 08:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050097 -2.794444)'), GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.794449)'))) / (select extract(epoch from '2026-06-26 08:54:24'::timestamp) - extract(epoch from '2026-06-26 08:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.04998 -2.794462)', '2026-06-26 08:54:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.794449)'), GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.794462)'))) / (select extract(epoch from '2026-06-26 08:54:36'::timestamp) - extract(epoch from '2026-06-26 08:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05007 -2.794449)'), GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.794462)'))) / (select extract(epoch from '2026-06-26 08:54:36'::timestamp) - extract(epoch from '2026-06-26 08:54: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'), 46941, 'SRID=4674;POINT (-40.049858 -2.794473)', '2026-06-26 08:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.794462)'), GeomFromEWKT('SRID=4674;POINT (-40.049858 -2.794473)'))) / (select extract(epoch from '2026-06-26 08:54:55'::timestamp) - extract(epoch from '2026-06-26 08:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.794462)'), GeomFromEWKT('SRID=4674;POINT (-40.049858 -2.794473)'))) / (select extract(epoch from '2026-06-26 08:54:55'::timestamp) - extract(epoch from '2026-06-26 08:54: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'), 46941, 'SRID=4674;POINT (-40.049786 -2.794532)', '2026-06-26 08:55:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049858 -2.794473)'), GeomFromEWKT('SRID=4674;POINT (-40.049786 -2.794532)'))) / (select extract(epoch from '2026-06-26 08:55:08'::timestamp) - extract(epoch from '2026-06-26 08:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049858 -2.794473)'), GeomFromEWKT('SRID=4674;POINT (-40.049786 -2.794532)'))) / (select extract(epoch from '2026-06-26 08:55:08'::timestamp) - extract(epoch from '2026-06-26 08:54: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'), 46941, 'SRID=4674;POINT (-40.049773 -2.794613)', '2026-06-26 08:55:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049786 -2.794532)'), GeomFromEWKT('SRID=4674;POINT (-40.049773 -2.794613)'))) / (select extract(epoch from '2026-06-26 08:55:15'::timestamp) - extract(epoch from '2026-06-26 08:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049786 -2.794532)'), GeomFromEWKT('SRID=4674;POINT (-40.049773 -2.794613)'))) / (select extract(epoch from '2026-06-26 08:55:15'::timestamp) - extract(epoch from '2026-06-26 08:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049772 -2.794782)', '2026-06-26 08:55:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049773 -2.794613)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.794782)'))) / (select extract(epoch from '2026-06-26 08:55:25'::timestamp) - extract(epoch from '2026-06-26 08:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049773 -2.794613)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.794782)'))) / (select extract(epoch from '2026-06-26 08:55:25'::timestamp) - extract(epoch from '2026-06-26 08:55:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049776 -2.794924)', '2026-06-26 08:55:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.794782)'), GeomFromEWKT('SRID=4674;POINT (-40.049776 -2.794924)'))) / (select extract(epoch from '2026-06-26 08:55:33'::timestamp) - extract(epoch from '2026-06-26 08:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.794782)'), GeomFromEWKT('SRID=4674;POINT (-40.049776 -2.794924)'))) / (select extract(epoch from '2026-06-26 08:55:33'::timestamp) - extract(epoch from '2026-06-26 08:55: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'), 46941, 'SRID=4674;POINT (-40.04977 -2.795075)', '2026-06-26 08:55:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049776 -2.794924)'), GeomFromEWKT('SRID=4674;POINT (-40.04977 -2.795075)'))) / (select extract(epoch from '2026-06-26 08:55:42'::timestamp) - extract(epoch from '2026-06-26 08:55:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049776 -2.794924)'), GeomFromEWKT('SRID=4674;POINT (-40.04977 -2.795075)'))) / (select extract(epoch from '2026-06-26 08:55:42'::timestamp) - extract(epoch from '2026-06-26 08:55: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'), 46941, 'SRID=4674;POINT (-40.049789 -2.795161)', '2026-06-26 08:55:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04977 -2.795075)'), GeomFromEWKT('SRID=4674;POINT (-40.049789 -2.795161)'))) / (select extract(epoch from '2026-06-26 08:55:48'::timestamp) - extract(epoch from '2026-06-26 08:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04977 -2.795075)'), GeomFromEWKT('SRID=4674;POINT (-40.049789 -2.795161)'))) / (select extract(epoch from '2026-06-26 08:55:48'::timestamp) - extract(epoch from '2026-06-26 08:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049817 -2.795227)', '2026-06-26 08:55:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049789 -2.795161)'), GeomFromEWKT('SRID=4674;POINT (-40.049817 -2.795227)'))) / (select extract(epoch from '2026-06-26 08:55:53'::timestamp) - extract(epoch from '2026-06-26 08:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049789 -2.795161)'), GeomFromEWKT('SRID=4674;POINT (-40.049817 -2.795227)'))) / (select extract(epoch from '2026-06-26 08:55:53'::timestamp) - extract(epoch from '2026-06-26 08:55: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'), 46941, 'SRID=4674;POINT (-40.049837 -2.795353)', '2026-06-26 08:56:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049817 -2.795227)'), GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.795353)'))) / (select extract(epoch from '2026-06-26 08:56:02'::timestamp) - extract(epoch from '2026-06-26 08:55:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049817 -2.795227)'), GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.795353)'))) / (select extract(epoch from '2026-06-26 08:56:02'::timestamp) - extract(epoch from '2026-06-26 08:55:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049834 -2.795439)', '2026-06-26 08:56:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.795353)'), GeomFromEWKT('SRID=4674;POINT (-40.049834 -2.795439)'))) / (select extract(epoch from '2026-06-26 08:56:09'::timestamp) - extract(epoch from '2026-06-26 08:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.795353)'), GeomFromEWKT('SRID=4674;POINT (-40.049834 -2.795439)'))) / (select extract(epoch from '2026-06-26 08:56:09'::timestamp) - extract(epoch from '2026-06-26 08:56: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'), 46941, 'SRID=4674;POINT (-40.049819 -2.795464)', '2026-06-26 08:56:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049834 -2.795439)'), GeomFromEWKT('SRID=4674;POINT (-40.049819 -2.795464)'))) / (select extract(epoch from '2026-06-26 08:56:14'::timestamp) - extract(epoch from '2026-06-26 08:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049834 -2.795439)'), GeomFromEWKT('SRID=4674;POINT (-40.049819 -2.795464)'))) / (select extract(epoch from '2026-06-26 08:56:14'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.049787 -2.795456)', '2026-06-26 08:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049819 -2.795464)'), GeomFromEWKT('SRID=4674;POINT (-40.049787 -2.795456)'))) / (select extract(epoch from '2026-06-26 08:56:21'::timestamp) - extract(epoch from '2026-06-26 08:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049819 -2.795464)'), GeomFromEWKT('SRID=4674;POINT (-40.049787 -2.795456)'))) / (select extract(epoch from '2026-06-26 08:56:21'::timestamp) - extract(epoch from '2026-06-26 08:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049788 -2.795399)', '2026-06-26 08:56:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049787 -2.795456)'), GeomFromEWKT('SRID=4674;POINT (-40.049788 -2.795399)'))) / (select extract(epoch from '2026-06-26 08:56:30'::timestamp) - extract(epoch from '2026-06-26 08:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049787 -2.795456)'), GeomFromEWKT('SRID=4674;POINT (-40.049788 -2.795399)'))) / (select extract(epoch from '2026-06-26 08:56:30'::timestamp) - extract(epoch from '2026-06-26 08:56: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'), 46941, 'SRID=4674;POINT (-40.049804 -2.795363)', '2026-06-26 08:56:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049788 -2.795399)'), GeomFromEWKT('SRID=4674;POINT (-40.049804 -2.795363)'))) / (select extract(epoch from '2026-06-26 08:56:36'::timestamp) - extract(epoch from '2026-06-26 08:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049788 -2.795399)'), GeomFromEWKT('SRID=4674;POINT (-40.049804 -2.795363)'))) / (select extract(epoch from '2026-06-26 08:56:36'::timestamp) - extract(epoch from '2026-06-26 08:56: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'), 46941, 'SRID=4674;POINT (-40.049821 -2.79534)', '2026-06-26 08:56:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049804 -2.795363)'), GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.79534)'))) / (select extract(epoch from '2026-06-26 08:56:39'::timestamp) - extract(epoch from '2026-06-26 08:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049804 -2.795363)'), GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.79534)'))) / (select extract(epoch from '2026-06-26 08:56:39'::timestamp) - extract(epoch from '2026-06-26 08:56:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049844 -2.795323)', '2026-06-26 08:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.79534)'), GeomFromEWKT('SRID=4674;POINT (-40.049844 -2.795323)'))) / (select extract(epoch from '2026-06-26 08:56:42'::timestamp) - extract(epoch from '2026-06-26 08:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.79534)'), GeomFromEWKT('SRID=4674;POINT (-40.049844 -2.795323)'))) / (select extract(epoch from '2026-06-26 08:56:42'::timestamp) - extract(epoch from '2026-06-26 08:56: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'), 46941, 'SRID=4674;POINT (-40.049923 -2.795326)', '2026-06-26 08:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049844 -2.795323)'), GeomFromEWKT('SRID=4674;POINT (-40.049923 -2.795326)'))) / (select extract(epoch from '2026-06-26 08:56:49'::timestamp) - extract(epoch from '2026-06-26 08:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049844 -2.795323)'), GeomFromEWKT('SRID=4674;POINT (-40.049923 -2.795326)'))) / (select extract(epoch from '2026-06-26 08:56:49'::timestamp) - extract(epoch from '2026-06-26 08:56: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'), 46941, 'SRID=4674;POINT (-40.049971 -2.795388)', '2026-06-26 08:56:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049923 -2.795326)'), GeomFromEWKT('SRID=4674;POINT (-40.049971 -2.795388)'))) / (select extract(epoch from '2026-06-26 08:56:57'::timestamp) - extract(epoch from '2026-06-26 08:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049923 -2.795326)'), GeomFromEWKT('SRID=4674;POINT (-40.049971 -2.795388)'))) / (select extract(epoch from '2026-06-26 08:56:57'::timestamp) - extract(epoch from '2026-06-26 08:56: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'), 46941, 'SRID=4674;POINT (-40.049954 -2.795415)', '2026-06-26 08:57:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049971 -2.795388)'), GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.795415)'))) / (select extract(epoch from '2026-06-26 08:57:04'::timestamp) - extract(epoch from '2026-06-26 08:56:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049971 -2.795388)'), GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.795415)'))) / (select extract(epoch from '2026-06-26 08:57:04'::timestamp) - extract(epoch from '2026-06-26 08:56: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'), 46941, 'SRID=4674;POINT (-40.049899 -2.795394)', '2026-06-26 08:57:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.795415)'), GeomFromEWKT('SRID=4674;POINT (-40.049899 -2.795394)'))) / (select extract(epoch from '2026-06-26 08:57:13'::timestamp) - extract(epoch from '2026-06-26 08:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.795415)'), GeomFromEWKT('SRID=4674;POINT (-40.049899 -2.795394)'))) / (select extract(epoch from '2026-06-26 08:57:13'::timestamp) - extract(epoch from '2026-06-26 08:57: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'), 46941, 'SRID=4674;POINT (-40.049812 -2.795358)', '2026-06-26 08:57:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049899 -2.795394)'), GeomFromEWKT('SRID=4674;POINT (-40.049812 -2.795358)'))) / (select extract(epoch from '2026-06-26 08:57:34'::timestamp) - extract(epoch from '2026-06-26 08:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049899 -2.795394)'), GeomFromEWKT('SRID=4674;POINT (-40.049812 -2.795358)'))) / (select extract(epoch from '2026-06-26 08:57:34'::timestamp) - extract(epoch from '2026-06-26 08:57: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'), 46941, 'SRID=4674;POINT (-40.049772 -2.795387)', '2026-06-26 08:57:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049812 -2.795358)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795387)'))) / (select extract(epoch from '2026-06-26 08:57:40'::timestamp) - extract(epoch from '2026-06-26 08:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049812 -2.795358)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795387)'))) / (select extract(epoch from '2026-06-26 08:57:40'::timestamp) - extract(epoch from '2026-06-26 08:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049762 -2.795409)', '2026-06-26 08:57:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795387)'), GeomFromEWKT('SRID=4674;POINT (-40.049762 -2.795409)'))) / (select extract(epoch from '2026-06-26 08:57:42'::timestamp) - extract(epoch from '2026-06-26 08:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795387)'), GeomFromEWKT('SRID=4674;POINT (-40.049762 -2.795409)'))) / (select extract(epoch from '2026-06-26 08:57:42'::timestamp) - extract(epoch from '2026-06-26 08:57: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'), 46941, 'SRID=4674;POINT (-40.049764 -2.79546)', '2026-06-26 08:57:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049762 -2.795409)'), GeomFromEWKT('SRID=4674;POINT (-40.049764 -2.79546)'))) / (select extract(epoch from '2026-06-26 08:57:46'::timestamp) - extract(epoch from '2026-06-26 08:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049762 -2.795409)'), GeomFromEWKT('SRID=4674;POINT (-40.049764 -2.79546)'))) / (select extract(epoch from '2026-06-26 08:57:46'::timestamp) - extract(epoch from '2026-06-26 08:57:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049784 -2.795481)', '2026-06-26 08:57:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049764 -2.79546)'), GeomFromEWKT('SRID=4674;POINT (-40.049784 -2.795481)'))) / (select extract(epoch from '2026-06-26 08:57:48'::timestamp) - extract(epoch from '2026-06-26 08:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049764 -2.79546)'), GeomFromEWKT('SRID=4674;POINT (-40.049784 -2.795481)'))) / (select extract(epoch from '2026-06-26 08:57:48'::timestamp) - extract(epoch from '2026-06-26 08:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049881 -2.79556)', '2026-06-26 08:57:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049784 -2.795481)'), GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.79556)'))) / (select extract(epoch from '2026-06-26 08:57:55'::timestamp) - extract(epoch from '2026-06-26 08:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049784 -2.795481)'), GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.79556)'))) / (select extract(epoch from '2026-06-26 08:57:55'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.049984 -2.795681)', '2026-06-26 08:58:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.79556)'), GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.795681)'))) / (select extract(epoch from '2026-06-26 08:58:03'::timestamp) - extract(epoch from '2026-06-26 08:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.79556)'), GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.795681)'))) / (select extract(epoch from '2026-06-26 08:58:03'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050064 -2.79581)', '2026-06-26 08:58:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.795681)'), GeomFromEWKT('SRID=4674;POINT (-40.050064 -2.79581)'))) / (select extract(epoch from '2026-06-26 08:58:11'::timestamp) - extract(epoch from '2026-06-26 08:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049984 -2.795681)'), GeomFromEWKT('SRID=4674;POINT (-40.050064 -2.79581)'))) / (select extract(epoch from '2026-06-26 08:58:11'::timestamp) - extract(epoch from '2026-06-26 08:58:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050143 -2.795934)', '2026-06-26 08:58:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050064 -2.79581)'), GeomFromEWKT('SRID=4674;POINT (-40.050143 -2.795934)'))) / (select extract(epoch from '2026-06-26 08:58:19'::timestamp) - extract(epoch from '2026-06-26 08:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050064 -2.79581)'), GeomFromEWKT('SRID=4674;POINT (-40.050143 -2.795934)'))) / (select extract(epoch from '2026-06-26 08:58:19'::timestamp) - extract(epoch from '2026-06-26 08:58: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'), 46941, 'SRID=4674;POINT (-40.050209 -2.796008)', '2026-06-26 08:58:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050143 -2.795934)'), GeomFromEWKT('SRID=4674;POINT (-40.050209 -2.796008)'))) / (select extract(epoch from '2026-06-26 08:58:25'::timestamp) - extract(epoch from '2026-06-26 08:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050143 -2.795934)'), GeomFromEWKT('SRID=4674;POINT (-40.050209 -2.796008)'))) / (select extract(epoch from '2026-06-26 08:58:25'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050359 -2.796091)', '2026-06-26 08:58:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050209 -2.796008)'), GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.796091)'))) / (select extract(epoch from '2026-06-26 08:58:36'::timestamp) - extract(epoch from '2026-06-26 08:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050209 -2.796008)'), GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.796091)'))) / (select extract(epoch from '2026-06-26 08:58:36'::timestamp) - extract(epoch from '2026-06-26 08:58:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050457 -2.796148)', '2026-06-26 08:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.796091)'), GeomFromEWKT('SRID=4674;POINT (-40.050457 -2.796148)'))) / (select extract(epoch from '2026-06-26 08:58:44'::timestamp) - extract(epoch from '2026-06-26 08:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.796091)'), GeomFromEWKT('SRID=4674;POINT (-40.050457 -2.796148)'))) / (select extract(epoch from '2026-06-26 08:58:44'::timestamp) - extract(epoch from '2026-06-26 08:58: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'), 46941, 'SRID=4674;POINT (-40.050473 -2.796197)', '2026-06-26 08:58:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050457 -2.796148)'), GeomFromEWKT('SRID=4674;POINT (-40.050473 -2.796197)'))) / (select extract(epoch from '2026-06-26 08:58:51'::timestamp) - extract(epoch from '2026-06-26 08:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050457 -2.796148)'), GeomFromEWKT('SRID=4674;POINT (-40.050473 -2.796197)'))) / (select extract(epoch from '2026-06-26 08:58:51'::timestamp) - extract(epoch from '2026-06-26 08:58: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'), 46941, 'SRID=4674;POINT (-40.05048 -2.79622)', '2026-06-26 08:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050473 -2.796197)'), GeomFromEWKT('SRID=4674;POINT (-40.05048 -2.79622)'))) / (select extract(epoch from '2026-06-26 08:58:54'::timestamp) - extract(epoch from '2026-06-26 08:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050473 -2.796197)'), GeomFromEWKT('SRID=4674;POINT (-40.05048 -2.79622)'))) / (select extract(epoch from '2026-06-26 08:58:54'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050478 -2.796234)', '2026-06-26 08:58:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05048 -2.79622)'), GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.796234)'))) / (select extract(epoch from '2026-06-26 08:58:57'::timestamp) - extract(epoch from '2026-06-26 08:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05048 -2.79622)'), GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.796234)'))) / (select extract(epoch from '2026-06-26 08:58:57'::timestamp) - extract(epoch from '2026-06-26 08:58: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'), 46941, 'SRID=4674;POINT (-40.05046 -2.796258)', '2026-06-26 08:59:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.796234)'), GeomFromEWKT('SRID=4674;POINT (-40.05046 -2.796258)'))) / (select extract(epoch from '2026-06-26 08:59:06'::timestamp) - extract(epoch from '2026-06-26 08:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.796234)'), GeomFromEWKT('SRID=4674;POINT (-40.05046 -2.796258)'))) / (select extract(epoch from '2026-06-26 08:59:06'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050444 -2.79626)', '2026-06-26 08:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05046 -2.796258)'), GeomFromEWKT('SRID=4674;POINT (-40.050444 -2.79626)'))) / (select extract(epoch from '2026-06-26 08:59:16'::timestamp) - extract(epoch from '2026-06-26 08:59:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05046 -2.796258)'), GeomFromEWKT('SRID=4674;POINT (-40.050444 -2.79626)'))) / (select extract(epoch from '2026-06-26 08:59:16'::timestamp) - extract(epoch from '2026-06-26 08:59: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'), 46941, 'SRID=4674;POINT (-40.050412 -2.796256)', '2026-06-26 08:59:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050444 -2.79626)'), GeomFromEWKT('SRID=4674;POINT (-40.050412 -2.796256)'))) / (select extract(epoch from '2026-06-26 08:59:26'::timestamp) - extract(epoch from '2026-06-26 08:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050444 -2.79626)'), GeomFromEWKT('SRID=4674;POINT (-40.050412 -2.796256)'))) / (select extract(epoch from '2026-06-26 08:59:26'::timestamp) - extract(epoch from '2026-06-26 08: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'), 46941, 'SRID=4674;POINT (-40.050402 -2.796221)', '2026-06-26 08:59:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050412 -2.796256)'), GeomFromEWKT('SRID=4674;POINT (-40.050402 -2.796221)'))) / (select extract(epoch from '2026-06-26 08:59:40'::timestamp) - extract(epoch from '2026-06-26 08:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050412 -2.796256)'), GeomFromEWKT('SRID=4674;POINT (-40.050402 -2.796221)'))) / (select extract(epoch from '2026-06-26 08:59:40'::timestamp) - extract(epoch from '2026-06-26 08:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050404 -2.796192)', '2026-06-26 08:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050402 -2.796221)'), GeomFromEWKT('SRID=4674;POINT (-40.050404 -2.796192)'))) / (select extract(epoch from '2026-06-26 08:59:46'::timestamp) - extract(epoch from '2026-06-26 08:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050402 -2.796221)'), GeomFromEWKT('SRID=4674;POINT (-40.050404 -2.796192)'))) / (select extract(epoch from '2026-06-26 08:59:46'::timestamp) - extract(epoch from '2026-06-26 08:59: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'), 46941, 'SRID=4674;POINT (-40.050396 -2.796144)', '2026-06-26 08:59:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050404 -2.796192)'), GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.796144)'))) / (select extract(epoch from '2026-06-26 08:59:54'::timestamp) - extract(epoch from '2026-06-26 08:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050404 -2.796192)'), GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.796144)'))) / (select extract(epoch from '2026-06-26 08:59:54'::timestamp) - extract(epoch from '2026-06-26 08:59:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050339 -2.796141)', '2026-06-26 09:00:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.796144)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.796141)'))) / (select extract(epoch from '2026-06-26 09:00:03'::timestamp) - extract(epoch from '2026-06-26 08:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.796144)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.796141)'))) / (select extract(epoch from '2026-06-26 09:00:03'::timestamp) - extract(epoch from '2026-06-26 08:59: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'), 46941, 'SRID=4674;POINT (-40.050353 -2.796191)', '2026-06-26 09:00:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.796141)'), GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796191)'))) / (select extract(epoch from '2026-06-26 09:00:10'::timestamp) - extract(epoch from '2026-06-26 09:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.796141)'), GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796191)'))) / (select extract(epoch from '2026-06-26 09:00:10'::timestamp) - extract(epoch from '2026-06-26 09:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050384 -2.796255)', '2026-06-26 09:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796191)'), GeomFromEWKT('SRID=4674;POINT (-40.050384 -2.796255)'))) / (select extract(epoch from '2026-06-26 09:00:16'::timestamp) - extract(epoch from '2026-06-26 09:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050353 -2.796191)'), GeomFromEWKT('SRID=4674;POINT (-40.050384 -2.796255)'))) / (select extract(epoch from '2026-06-26 09:00:16'::timestamp) - extract(epoch from '2026-06-26 09:00: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'), 46941, 'SRID=4674;POINT (-40.050401 -2.796315)', '2026-06-26 09:00:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050384 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.050401 -2.796315)'))) / (select extract(epoch from '2026-06-26 09:00:22'::timestamp) - extract(epoch from '2026-06-26 09:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050384 -2.796255)'), GeomFromEWKT('SRID=4674;POINT (-40.050401 -2.796315)'))) / (select extract(epoch from '2026-06-26 09:00:22'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050396 -2.796362)', '2026-06-26 09:00:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050401 -2.796315)'), GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.796362)'))) / (select extract(epoch from '2026-06-26 09:00:30'::timestamp) - extract(epoch from '2026-06-26 09:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050401 -2.796315)'), GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.796362)'))) / (select extract(epoch from '2026-06-26 09:00:30'::timestamp) - extract(epoch from '2026-06-26 09:00:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050375 -2.796378)', '2026-06-26 09:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.796362)'), GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.796378)'))) / (select extract(epoch from '2026-06-26 09:00:44'::timestamp) - extract(epoch from '2026-06-26 09:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050396 -2.796362)'), GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.796378)'))) / (select extract(epoch from '2026-06-26 09:00:44'::timestamp) - extract(epoch from '2026-06-26 09:00:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050369 -2.796333)', '2026-06-26 09:00:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.796378)'), GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.796333)'))) / (select extract(epoch from '2026-06-26 09:00:54'::timestamp) - extract(epoch from '2026-06-26 09:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050375 -2.796378)'), GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.796333)'))) / (select extract(epoch from '2026-06-26 09:00:54'::timestamp) - extract(epoch from '2026-06-26 09:00: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'), 46941, 'SRID=4674;POINT (-40.050377 -2.796293)', '2026-06-26 09:01:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.796333)'), GeomFromEWKT('SRID=4674;POINT (-40.050377 -2.796293)'))) / (select extract(epoch from '2026-06-26 09:01:02'::timestamp) - extract(epoch from '2026-06-26 09:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050369 -2.796333)'), GeomFromEWKT('SRID=4674;POINT (-40.050377 -2.796293)'))) / (select extract(epoch from '2026-06-26 09:01:02'::timestamp) - extract(epoch from '2026-06-26 09:00: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'), 46941, 'SRID=4674;POINT (-40.050374 -2.796251)', '2026-06-26 09:01:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050377 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.050374 -2.796251)'))) / (select extract(epoch from '2026-06-26 09:01:09'::timestamp) - extract(epoch from '2026-06-26 09:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050377 -2.796293)'), GeomFromEWKT('SRID=4674;POINT (-40.050374 -2.796251)'))) / (select extract(epoch from '2026-06-26 09:01:09'::timestamp) - extract(epoch from '2026-06-26 09:01: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'), 46941, 'SRID=4674;POINT (-40.050341 -2.796187)', '2026-06-26 09:01:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050374 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.050341 -2.796187)'))) / (select extract(epoch from '2026-06-26 09:01:18'::timestamp) - extract(epoch from '2026-06-26 09:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050374 -2.796251)'), GeomFromEWKT('SRID=4674;POINT (-40.050341 -2.796187)'))) / (select extract(epoch from '2026-06-26 09:01:18'::timestamp) - extract(epoch from '2026-06-26 09:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050263 -2.796189)', '2026-06-26 09:01:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050341 -2.796187)'), GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.796189)'))) / (select extract(epoch from '2026-06-26 09:01:25'::timestamp) - extract(epoch from '2026-06-26 09:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050341 -2.796187)'), GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.796189)'))) / (select extract(epoch from '2026-06-26 09:01:25'::timestamp) - extract(epoch from '2026-06-26 09:01: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'), 46941, 'SRID=4674;POINT (-40.050242 -2.796258)', '2026-06-26 09:01:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.796189)'), GeomFromEWKT('SRID=4674;POINT (-40.050242 -2.796258)'))) / (select extract(epoch from '2026-06-26 09:01:31'::timestamp) - extract(epoch from '2026-06-26 09:01:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050263 -2.796189)'), GeomFromEWKT('SRID=4674;POINT (-40.050242 -2.796258)'))) / (select extract(epoch from '2026-06-26 09:01:31'::timestamp) - extract(epoch from '2026-06-26 09:01: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'), 46941, 'SRID=4674;POINT (-40.050273 -2.796364)', '2026-06-26 09:01:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050242 -2.796258)'), GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.796364)'))) / (select extract(epoch from '2026-06-26 09:01:38'::timestamp) - extract(epoch from '2026-06-26 09:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050242 -2.796258)'), GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.796364)'))) / (select extract(epoch from '2026-06-26 09:01:38'::timestamp) - extract(epoch from '2026-06-26 09:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05029 -2.796498)', '2026-06-26 09:01:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.796364)'), GeomFromEWKT('SRID=4674;POINT (-40.05029 -2.796498)'))) / (select extract(epoch from '2026-06-26 09:01:46'::timestamp) - extract(epoch from '2026-06-26 09:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050273 -2.796364)'), GeomFromEWKT('SRID=4674;POINT (-40.05029 -2.796498)'))) / (select extract(epoch from '2026-06-26 09:01:46'::timestamp) - extract(epoch from '2026-06-26 09:01: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'), 46941, 'SRID=4674;POINT (-40.050291 -2.796642)', '2026-06-26 09:01:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05029 -2.796498)'), GeomFromEWKT('SRID=4674;POINT (-40.050291 -2.796642)'))) / (select extract(epoch from '2026-06-26 09:01:54'::timestamp) - extract(epoch from '2026-06-26 09:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05029 -2.796498)'), GeomFromEWKT('SRID=4674;POINT (-40.050291 -2.796642)'))) / (select extract(epoch from '2026-06-26 09:01:54'::timestamp) - extract(epoch from '2026-06-26 09:01: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'), 46941, 'SRID=4674;POINT (-40.050305 -2.796787)', '2026-06-26 09:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050291 -2.796642)'), GeomFromEWKT('SRID=4674;POINT (-40.050305 -2.796787)'))) / (select extract(epoch from '2026-06-26 09:02:02'::timestamp) - extract(epoch from '2026-06-26 09:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050291 -2.796642)'), GeomFromEWKT('SRID=4674;POINT (-40.050305 -2.796787)'))) / (select extract(epoch from '2026-06-26 09:02:02'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.05035 -2.796945)', '2026-06-26 09:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050305 -2.796787)'), GeomFromEWKT('SRID=4674;POINT (-40.05035 -2.796945)'))) / (select extract(epoch from '2026-06-26 09:02:11'::timestamp) - extract(epoch from '2026-06-26 09:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050305 -2.796787)'), GeomFromEWKT('SRID=4674;POINT (-40.05035 -2.796945)'))) / (select extract(epoch from '2026-06-26 09:02:11'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050425 -2.79712)', '2026-06-26 09:02:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05035 -2.796945)'), GeomFromEWKT('SRID=4674;POINT (-40.050425 -2.79712)'))) / (select extract(epoch from '2026-06-26 09:02:21'::timestamp) - extract(epoch from '2026-06-26 09:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05035 -2.796945)'), GeomFromEWKT('SRID=4674;POINT (-40.050425 -2.79712)'))) / (select extract(epoch from '2026-06-26 09:02:21'::timestamp) - extract(epoch from '2026-06-26 09:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050526 -2.797281)', '2026-06-26 09:02:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050425 -2.79712)'), GeomFromEWKT('SRID=4674;POINT (-40.050526 -2.797281)'))) / (select extract(epoch from '2026-06-26 09:02:31'::timestamp) - extract(epoch from '2026-06-26 09:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050425 -2.79712)'), GeomFromEWKT('SRID=4674;POINT (-40.050526 -2.797281)'))) / (select extract(epoch from '2026-06-26 09:02:31'::timestamp) - extract(epoch from '2026-06-26 09:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050604 -2.797386)', '2026-06-26 09:02:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050526 -2.797281)'), GeomFromEWKT('SRID=4674;POINT (-40.050604 -2.797386)'))) / (select extract(epoch from '2026-06-26 09:02:38'::timestamp) - extract(epoch from '2026-06-26 09:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050526 -2.797281)'), GeomFromEWKT('SRID=4674;POINT (-40.050604 -2.797386)'))) / (select extract(epoch from '2026-06-26 09:02:38'::timestamp) - extract(epoch from '2026-06-26 09:02:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.0507 -2.797504)', '2026-06-26 09:02:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050604 -2.797386)'), GeomFromEWKT('SRID=4674;POINT (-40.0507 -2.797504)'))) / (select extract(epoch from '2026-06-26 09:02:46'::timestamp) - extract(epoch from '2026-06-26 09:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050604 -2.797386)'), GeomFromEWKT('SRID=4674;POINT (-40.0507 -2.797504)'))) / (select extract(epoch from '2026-06-26 09:02:46'::timestamp) - extract(epoch from '2026-06-26 09:02:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05078 -2.797603)', '2026-06-26 09:02:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0507 -2.797504)'), GeomFromEWKT('SRID=4674;POINT (-40.05078 -2.797603)'))) / (select extract(epoch from '2026-06-26 09:02:54'::timestamp) - extract(epoch from '2026-06-26 09:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0507 -2.797504)'), GeomFromEWKT('SRID=4674;POINT (-40.05078 -2.797603)'))) / (select extract(epoch from '2026-06-26 09:02:54'::timestamp) - extract(epoch from '2026-06-26 09:02: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'), 46941, 'SRID=4674;POINT (-40.050805 -2.79766)', '2026-06-26 09:03:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05078 -2.797603)'), GeomFromEWKT('SRID=4674;POINT (-40.050805 -2.79766)'))) / (select extract(epoch from '2026-06-26 09:03:00'::timestamp) - extract(epoch from '2026-06-26 09:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05078 -2.797603)'), GeomFromEWKT('SRID=4674;POINT (-40.050805 -2.79766)'))) / (select extract(epoch from '2026-06-26 09:03:00'::timestamp) - extract(epoch from '2026-06-26 09:02: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'), 46941, 'SRID=4674;POINT (-40.050792 -2.797696)', '2026-06-26 09:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050805 -2.79766)'), GeomFromEWKT('SRID=4674;POINT (-40.050792 -2.797696)'))) / (select extract(epoch from '2026-06-26 09:03:11'::timestamp) - extract(epoch from '2026-06-26 09:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050805 -2.79766)'), GeomFromEWKT('SRID=4674;POINT (-40.050792 -2.797696)'))) / (select extract(epoch from '2026-06-26 09:03:11'::timestamp) - extract(epoch from '2026-06-26 09:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050751 -2.797682)', '2026-06-26 09:03:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050792 -2.797696)'), GeomFromEWKT('SRID=4674;POINT (-40.050751 -2.797682)'))) / (select extract(epoch from '2026-06-26 09:03:21'::timestamp) - extract(epoch from '2026-06-26 09:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050792 -2.797696)'), GeomFromEWKT('SRID=4674;POINT (-40.050751 -2.797682)'))) / (select extract(epoch from '2026-06-26 09:03:21'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050704 -2.797631)', '2026-06-26 09:03:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050751 -2.797682)'), GeomFromEWKT('SRID=4674;POINT (-40.050704 -2.797631)'))) / (select extract(epoch from '2026-06-26 09:03:30'::timestamp) - extract(epoch from '2026-06-26 09:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050751 -2.797682)'), GeomFromEWKT('SRID=4674;POINT (-40.050704 -2.797631)'))) / (select extract(epoch from '2026-06-26 09:03:30'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.05062 -2.797577)', '2026-06-26 09:03:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050704 -2.797631)'), GeomFromEWKT('SRID=4674;POINT (-40.05062 -2.797577)'))) / (select extract(epoch from '2026-06-26 09:03:39'::timestamp) - extract(epoch from '2026-06-26 09:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050704 -2.797631)'), GeomFromEWKT('SRID=4674;POINT (-40.05062 -2.797577)'))) / (select extract(epoch from '2026-06-26 09:03:39'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050571 -2.79756)', '2026-06-26 09:03:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05062 -2.797577)'), GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.79756)'))) / (select extract(epoch from '2026-06-26 09:03:44'::timestamp) - extract(epoch from '2026-06-26 09:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05062 -2.797577)'), GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.79756)'))) / (select extract(epoch from '2026-06-26 09:03:44'::timestamp) - extract(epoch from '2026-06-26 09:03: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'), 46941, 'SRID=4674;POINT (-40.050555 -2.797545)', '2026-06-26 09:03:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.79756)'), GeomFromEWKT('SRID=4674;POINT (-40.050555 -2.797545)'))) / (select extract(epoch from '2026-06-26 09:03:47'::timestamp) - extract(epoch from '2026-06-26 09:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.79756)'), GeomFromEWKT('SRID=4674;POINT (-40.050555 -2.797545)'))) / (select extract(epoch from '2026-06-26 09:03:47'::timestamp) - extract(epoch from '2026-06-26 09:03: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'), 46941, 'SRID=4674;POINT (-40.050544 -2.797497)', '2026-06-26 09:03:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050555 -2.797545)'), GeomFromEWKT('SRID=4674;POINT (-40.050544 -2.797497)'))) / (select extract(epoch from '2026-06-26 09:03:59'::timestamp) - extract(epoch from '2026-06-26 09:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050555 -2.797545)'), GeomFromEWKT('SRID=4674;POINT (-40.050544 -2.797497)'))) / (select extract(epoch from '2026-06-26 09:03:59'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050564 -2.797467)', '2026-06-26 09:04:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050544 -2.797497)'), GeomFromEWKT('SRID=4674;POINT (-40.050564 -2.797467)'))) / (select extract(epoch from '2026-06-26 09:04:11'::timestamp) - extract(epoch from '2026-06-26 09:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050544 -2.797497)'), GeomFromEWKT('SRID=4674;POINT (-40.050564 -2.797467)'))) / (select extract(epoch from '2026-06-26 09:04:11'::timestamp) - extract(epoch from '2026-06-26 09:03: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'), 46941, 'SRID=4674;POINT (-40.050652 -2.797454)', '2026-06-26 09:04:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050564 -2.797467)'), GeomFromEWKT('SRID=4674;POINT (-40.050652 -2.797454)'))) / (select extract(epoch from '2026-06-26 09:04:36'::timestamp) - extract(epoch from '2026-06-26 09:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050564 -2.797467)'), GeomFromEWKT('SRID=4674;POINT (-40.050652 -2.797454)'))) / (select extract(epoch from '2026-06-26 09:04:36'::timestamp) - extract(epoch from '2026-06-26 09:04:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05072 -2.797444)', '2026-06-26 09:05:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050652 -2.797454)'), GeomFromEWKT('SRID=4674;POINT (-40.05072 -2.797444)'))) / (select extract(epoch from '2026-06-26 09:05:05'::timestamp) - extract(epoch from '2026-06-26 09:04:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050652 -2.797454)'), GeomFromEWKT('SRID=4674;POINT (-40.05072 -2.797444)'))) / (select extract(epoch from '2026-06-26 09:05:05'::timestamp) - extract(epoch from '2026-06-26 09:04: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'), 46941, 'SRID=4674;POINT (-40.050755 -2.797471)', '2026-06-26 09:05:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05072 -2.797444)'), GeomFromEWKT('SRID=4674;POINT (-40.050755 -2.797471)'))) / (select extract(epoch from '2026-06-26 09:05:29'::timestamp) - extract(epoch from '2026-06-26 09:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05072 -2.797444)'), GeomFromEWKT('SRID=4674;POINT (-40.050755 -2.797471)'))) / (select extract(epoch from '2026-06-26 09:05:29'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050765 -2.797499)', '2026-06-26 09:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050755 -2.797471)'), GeomFromEWKT('SRID=4674;POINT (-40.050765 -2.797499)'))) / (select extract(epoch from '2026-06-26 09:05:51'::timestamp) - extract(epoch from '2026-06-26 09:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050755 -2.797471)'), GeomFromEWKT('SRID=4674;POINT (-40.050765 -2.797499)'))) / (select extract(epoch from '2026-06-26 09:05:51'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.05077 -2.797503)', '2026-06-26 09:06:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050765 -2.797499)'), GeomFromEWKT('SRID=4674;POINT (-40.05077 -2.797503)'))) / (select extract(epoch from '2026-06-26 09:06:32'::timestamp) - extract(epoch from '2026-06-26 09:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050765 -2.797499)'), GeomFromEWKT('SRID=4674;POINT (-40.05077 -2.797503)'))) / (select extract(epoch from '2026-06-26 09:06:32'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050782 -2.797525)', '2026-06-26 09:07:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05077 -2.797503)'), GeomFromEWKT('SRID=4674;POINT (-40.050782 -2.797525)'))) / (select extract(epoch from '2026-06-26 09:07:02'::timestamp) - extract(epoch from '2026-06-26 09:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05077 -2.797503)'), GeomFromEWKT('SRID=4674;POINT (-40.050782 -2.797525)'))) / (select extract(epoch from '2026-06-26 09:07:02'::timestamp) - extract(epoch from '2026-06-26 09:06: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'), 46941, 'SRID=4674;POINT (-40.050784 -2.797505)', '2026-06-26 09:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050782 -2.797525)'), GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797505)'))) / (select extract(epoch from '2026-06-26 09:07:51'::timestamp) - extract(epoch from '2026-06-26 09:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050782 -2.797525)'), GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797505)'))) / (select extract(epoch from '2026-06-26 09:07:51'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.05078 -2.797515)', '2026-06-26 09:08:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797505)'), GeomFromEWKT('SRID=4674;POINT (-40.05078 -2.797515)'))) / (select extract(epoch from '2026-06-26 09:08:44'::timestamp) - extract(epoch from '2026-06-26 09:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797505)'), GeomFromEWKT('SRID=4674;POINT (-40.05078 -2.797515)'))) / (select extract(epoch from '2026-06-26 09:08:44'::timestamp) - extract(epoch from '2026-06-26 09:07: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'), 46941, 'SRID=4674;POINT (-40.050785 -2.79753)', '2026-06-26 09:09:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05078 -2.797515)'), GeomFromEWKT('SRID=4674;POINT (-40.050785 -2.79753)'))) / (select extract(epoch from '2026-06-26 09:09:19'::timestamp) - extract(epoch from '2026-06-26 09:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05078 -2.797515)'), GeomFromEWKT('SRID=4674;POINT (-40.050785 -2.79753)'))) / (select extract(epoch from '2026-06-26 09:09:19'::timestamp) - extract(epoch from '2026-06-26 09:08: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'), 46941, 'SRID=4674;POINT (-40.050786 -2.797502)', '2026-06-26 09:09:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050785 -2.79753)'), GeomFromEWKT('SRID=4674;POINT (-40.050786 -2.797502)'))) / (select extract(epoch from '2026-06-26 09:09:38'::timestamp) - extract(epoch from '2026-06-26 09:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050785 -2.79753)'), GeomFromEWKT('SRID=4674;POINT (-40.050786 -2.797502)'))) / (select extract(epoch from '2026-06-26 09:09:38'::timestamp) - extract(epoch from '2026-06-26 09:09: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'), 46941, 'SRID=4674;POINT (-40.050779 -2.797504)', '2026-06-26 09:10:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050786 -2.797502)'), GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797504)'))) / (select extract(epoch from '2026-06-26 09:10:13'::timestamp) - extract(epoch from '2026-06-26 09:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050786 -2.797502)'), GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797504)'))) / (select extract(epoch from '2026-06-26 09:10:13'::timestamp) - extract(epoch from '2026-06-26 09:09: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'), 46941, 'SRID=4674;POINT (-40.050781 -2.797487)', '2026-06-26 09:10:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797504)'), GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.797487)'))) / (select extract(epoch from '2026-06-26 09:10:49'::timestamp) - extract(epoch from '2026-06-26 09:10:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050779 -2.797504)'), GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.797487)'))) / (select extract(epoch from '2026-06-26 09:10:49'::timestamp) - extract(epoch from '2026-06-26 09:10: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'), 46941, 'SRID=4674;POINT (-40.050778 -2.797493)', '2026-06-26 09:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.797487)'), GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.797493)'))) / (select extract(epoch from '2026-06-26 09:11:18'::timestamp) - extract(epoch from '2026-06-26 09:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.797487)'), GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.797493)'))) / (select extract(epoch from '2026-06-26 09:11:18'::timestamp) - extract(epoch from '2026-06-26 09:10: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'), 46941, 'SRID=4674;POINT (-40.050784 -2.797519)', '2026-06-26 09:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.797493)'), GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797519)'))) / (select extract(epoch from '2026-06-26 09:12:04'::timestamp) - extract(epoch from '2026-06-26 09:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050778 -2.797493)'), GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797519)'))) / (select extract(epoch from '2026-06-26 09:12:04'::timestamp) - extract(epoch from '2026-06-26 09:11: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'), 46941, 'SRID=4674;POINT (-40.05076 -2.79752)', '2026-06-26 09:12:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797519)'), GeomFromEWKT('SRID=4674;POINT (-40.05076 -2.79752)'))) / (select extract(epoch from '2026-06-26 09:12:22'::timestamp) - extract(epoch from '2026-06-26 09:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050784 -2.797519)'), GeomFromEWKT('SRID=4674;POINT (-40.05076 -2.79752)'))) / (select extract(epoch from '2026-06-26 09:12:22'::timestamp) - extract(epoch from '2026-06-26 09:12: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'), 46941, 'SRID=4674;POINT (-40.050656 -2.79752)', '2026-06-26 09:12:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05076 -2.79752)'), GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.79752)'))) / (select extract(epoch from '2026-06-26 09:12:34'::timestamp) - extract(epoch from '2026-06-26 09:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05076 -2.79752)'), GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.79752)'))) / (select extract(epoch from '2026-06-26 09:12:34'::timestamp) - extract(epoch from '2026-06-26 09:12: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'), 46941, 'SRID=4674;POINT (-40.050576 -2.797524)', '2026-06-26 09:12:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.79752)'), GeomFromEWKT('SRID=4674;POINT (-40.050576 -2.797524)'))) / (select extract(epoch from '2026-06-26 09:12:43'::timestamp) - extract(epoch from '2026-06-26 09:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050656 -2.79752)'), GeomFromEWKT('SRID=4674;POINT (-40.050576 -2.797524)'))) / (select extract(epoch from '2026-06-26 09:12:43'::timestamp) - extract(epoch from '2026-06-26 09:12:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05053 -2.797561)', '2026-06-26 09:12:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050576 -2.797524)'), GeomFromEWKT('SRID=4674;POINT (-40.05053 -2.797561)'))) / (select extract(epoch from '2026-06-26 09:12:53'::timestamp) - extract(epoch from '2026-06-26 09:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050576 -2.797524)'), GeomFromEWKT('SRID=4674;POINT (-40.05053 -2.797561)'))) / (select extract(epoch from '2026-06-26 09:12:53'::timestamp) - extract(epoch from '2026-06-26 09:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050527 -2.797645)', '2026-06-26 09:13:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05053 -2.797561)'), GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.797645)'))) / (select extract(epoch from '2026-06-26 09:13:03'::timestamp) - extract(epoch from '2026-06-26 09:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05053 -2.797561)'), GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.797645)'))) / (select extract(epoch from '2026-06-26 09:13:03'::timestamp) - extract(epoch from '2026-06-26 09:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050531 -2.797746)', '2026-06-26 09:13:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.797645)'), GeomFromEWKT('SRID=4674;POINT (-40.050531 -2.797746)'))) / (select extract(epoch from '2026-06-26 09:13:10'::timestamp) - extract(epoch from '2026-06-26 09:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050527 -2.797645)'), GeomFromEWKT('SRID=4674;POINT (-40.050531 -2.797746)'))) / (select extract(epoch from '2026-06-26 09:13:10'::timestamp) - extract(epoch from '2026-06-26 09:13: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'), 46941, 'SRID=4674;POINT (-40.050481 -2.797909)', '2026-06-26 09:13:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050531 -2.797746)'), GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.797909)'))) / (select extract(epoch from '2026-06-26 09:13:20'::timestamp) - extract(epoch from '2026-06-26 09:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050531 -2.797746)'), GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.797909)'))) / (select extract(epoch from '2026-06-26 09:13:20'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050399 -2.798038)', '2026-06-26 09:13:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.797909)'), GeomFromEWKT('SRID=4674;POINT (-40.050399 -2.798038)'))) / (select extract(epoch from '2026-06-26 09:13:29'::timestamp) - extract(epoch from '2026-06-26 09:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050481 -2.797909)'), GeomFromEWKT('SRID=4674;POINT (-40.050399 -2.798038)'))) / (select extract(epoch from '2026-06-26 09:13:29'::timestamp) - extract(epoch from '2026-06-26 09:13: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'), 46941, 'SRID=4674;POINT (-40.050339 -2.798117)', '2026-06-26 09:13:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050399 -2.798038)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.798117)'))) / (select extract(epoch from '2026-06-26 09:13:35'::timestamp) - extract(epoch from '2026-06-26 09:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050399 -2.798038)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.798117)'))) / (select extract(epoch from '2026-06-26 09:13:35'::timestamp) - extract(epoch from '2026-06-26 09:13: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'), 46941, 'SRID=4674;POINT (-40.050274 -2.798212)', '2026-06-26 09:13:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.798117)'), GeomFromEWKT('SRID=4674;POINT (-40.050274 -2.798212)'))) / (select extract(epoch from '2026-06-26 09:13:42'::timestamp) - extract(epoch from '2026-06-26 09:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.798117)'), GeomFromEWKT('SRID=4674;POINT (-40.050274 -2.798212)'))) / (select extract(epoch from '2026-06-26 09:13:42'::timestamp) - extract(epoch from '2026-06-26 09:13: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'), 46941, 'SRID=4674;POINT (-40.050252 -2.798332)', '2026-06-26 09:13:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050274 -2.798212)'), GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.798332)'))) / (select extract(epoch from '2026-06-26 09:13:49'::timestamp) - extract(epoch from '2026-06-26 09:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050274 -2.798212)'), GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.798332)'))) / (select extract(epoch from '2026-06-26 09:13:49'::timestamp) - extract(epoch from '2026-06-26 09:13: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'), 46941, 'SRID=4674;POINT (-40.050229 -2.79844)', '2026-06-26 09:13:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.798332)'), GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.79844)'))) / (select extract(epoch from '2026-06-26 09:13:55'::timestamp) - extract(epoch from '2026-06-26 09:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.798332)'), GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.79844)'))) / (select extract(epoch from '2026-06-26 09:13:55'::timestamp) - extract(epoch from '2026-06-26 09:13: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'), 46941, 'SRID=4674;POINT (-40.050182 -2.798568)', '2026-06-26 09:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.79844)'), GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.798568)'))) / (select extract(epoch from '2026-06-26 09:14:03'::timestamp) - extract(epoch from '2026-06-26 09:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050229 -2.79844)'), GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.798568)'))) / (select extract(epoch from '2026-06-26 09:14:03'::timestamp) - extract(epoch from '2026-06-26 09:13: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'), 46941, 'SRID=4674;POINT (-40.050141 -2.798665)', '2026-06-26 09:14:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.798568)'), GeomFromEWKT('SRID=4674;POINT (-40.050141 -2.798665)'))) / (select extract(epoch from '2026-06-26 09:14:09'::timestamp) - extract(epoch from '2026-06-26 09:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.798568)'), GeomFromEWKT('SRID=4674;POINT (-40.050141 -2.798665)'))) / (select extract(epoch from '2026-06-26 09:14:09'::timestamp) - extract(epoch from '2026-06-26 09:14: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'), 46941, 'SRID=4674;POINT (-40.050122 -2.798811)', '2026-06-26 09:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050141 -2.798665)'), GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.798811)'))) / (select extract(epoch from '2026-06-26 09:14:17'::timestamp) - extract(epoch from '2026-06-26 09:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050141 -2.798665)'), GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.798811)'))) / (select extract(epoch from '2026-06-26 09:14:17'::timestamp) - extract(epoch from '2026-06-26 09:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050112 -2.798943)', '2026-06-26 09:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.798811)'), GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798943)'))) / (select extract(epoch from '2026-06-26 09:14:25'::timestamp) - extract(epoch from '2026-06-26 09:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050122 -2.798811)'), GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798943)'))) / (select extract(epoch from '2026-06-26 09:14:25'::timestamp) - extract(epoch from '2026-06-26 09:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05012 -2.798985)', '2026-06-26 09:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798943)'), GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.798985)'))) / (select extract(epoch from '2026-06-26 09:14:28'::timestamp) - extract(epoch from '2026-06-26 09:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050112 -2.798943)'), GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.798985)'))) / (select extract(epoch from '2026-06-26 09:14:28'::timestamp) - extract(epoch from '2026-06-26 09:14: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'), 46941, 'SRID=4674;POINT (-40.050131 -2.799009)', '2026-06-26 09:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.798985)'), GeomFromEWKT('SRID=4674;POINT (-40.050131 -2.799009)'))) / (select extract(epoch from '2026-06-26 09:14:30'::timestamp) - extract(epoch from '2026-06-26 09:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.798985)'), GeomFromEWKT('SRID=4674;POINT (-40.050131 -2.799009)'))) / (select extract(epoch from '2026-06-26 09:14:30'::timestamp) - extract(epoch from '2026-06-26 09:14: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'), 46941, 'SRID=4674;POINT (-40.050148 -2.799062)', '2026-06-26 09:14:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050131 -2.799009)'), GeomFromEWKT('SRID=4674;POINT (-40.050148 -2.799062)'))) / (select extract(epoch from '2026-06-26 09:14:35'::timestamp) - extract(epoch from '2026-06-26 09:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050131 -2.799009)'), GeomFromEWKT('SRID=4674;POINT (-40.050148 -2.799062)'))) / (select extract(epoch from '2026-06-26 09:14:35'::timestamp) - extract(epoch from '2026-06-26 09:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05015 -2.799093)', '2026-06-26 09:14:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050148 -2.799062)'), GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.799093)'))) / (select extract(epoch from '2026-06-26 09:14:38'::timestamp) - extract(epoch from '2026-06-26 09:14:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050148 -2.799062)'), GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.799093)'))) / (select extract(epoch from '2026-06-26 09:14:38'::timestamp) - extract(epoch from '2026-06-26 09:14:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050137 -2.799121)', '2026-06-26 09:14:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.799093)'), GeomFromEWKT('SRID=4674;POINT (-40.050137 -2.799121)'))) / (select extract(epoch from '2026-06-26 09:14:43'::timestamp) - extract(epoch from '2026-06-26 09:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.799093)'), GeomFromEWKT('SRID=4674;POINT (-40.050137 -2.799121)'))) / (select extract(epoch from '2026-06-26 09:14:43'::timestamp) - extract(epoch from '2026-06-26 09:14:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050107 -2.799101)', '2026-06-26 09:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050137 -2.799121)'), GeomFromEWKT('SRID=4674;POINT (-40.050107 -2.799101)'))) / (select extract(epoch from '2026-06-26 09:14:51'::timestamp) - extract(epoch from '2026-06-26 09:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050137 -2.799121)'), GeomFromEWKT('SRID=4674;POINT (-40.050107 -2.799101)'))) / (select extract(epoch from '2026-06-26 09:14:51'::timestamp) - extract(epoch from '2026-06-26 09:14:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050039 -2.799054)', '2026-06-26 09:14:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050107 -2.799101)'), GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.799054)'))) / (select extract(epoch from '2026-06-26 09:14:59'::timestamp) - extract(epoch from '2026-06-26 09:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050107 -2.799101)'), GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.799054)'))) / (select extract(epoch from '2026-06-26 09:14:59'::timestamp) - extract(epoch from '2026-06-26 09:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049943 -2.799015)', '2026-06-26 09:15:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.799054)'), GeomFromEWKT('SRID=4674;POINT (-40.049943 -2.799015)'))) / (select extract(epoch from '2026-06-26 09:15:08'::timestamp) - extract(epoch from '2026-06-26 09:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.799054)'), GeomFromEWKT('SRID=4674;POINT (-40.049943 -2.799015)'))) / (select extract(epoch from '2026-06-26 09:15:08'::timestamp) - extract(epoch from '2026-06-26 09:14:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049887 -2.798974)', '2026-06-26 09:15:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049943 -2.799015)'), GeomFromEWKT('SRID=4674;POINT (-40.049887 -2.798974)'))) / (select extract(epoch from '2026-06-26 09:15:16'::timestamp) - extract(epoch from '2026-06-26 09:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049943 -2.799015)'), GeomFromEWKT('SRID=4674;POINT (-40.049887 -2.798974)'))) / (select extract(epoch from '2026-06-26 09:15:16'::timestamp) - extract(epoch from '2026-06-26 09:15: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'), 46941, 'SRID=4674;POINT (-40.049874 -2.798933)', '2026-06-26 09:15:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049887 -2.798974)'), GeomFromEWKT('SRID=4674;POINT (-40.049874 -2.798933)'))) / (select extract(epoch from '2026-06-26 09:15:26'::timestamp) - extract(epoch from '2026-06-26 09:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049887 -2.798974)'), GeomFromEWKT('SRID=4674;POINT (-40.049874 -2.798933)'))) / (select extract(epoch from '2026-06-26 09:15:26'::timestamp) - extract(epoch from '2026-06-26 09:15: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'), 46941, 'SRID=4674;POINT (-40.049906 -2.798917)', '2026-06-26 09:15:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049874 -2.798933)'), GeomFromEWKT('SRID=4674;POINT (-40.049906 -2.798917)'))) / (select extract(epoch from '2026-06-26 09:15:35'::timestamp) - extract(epoch from '2026-06-26 09:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049874 -2.798933)'), GeomFromEWKT('SRID=4674;POINT (-40.049906 -2.798917)'))) / (select extract(epoch from '2026-06-26 09:15:35'::timestamp) - extract(epoch from '2026-06-26 09:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050001 -2.798929)', '2026-06-26 09:15:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049906 -2.798917)'), GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.798929)'))) / (select extract(epoch from '2026-06-26 09:15:55'::timestamp) - extract(epoch from '2026-06-26 09:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049906 -2.798917)'), GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.798929)'))) / (select extract(epoch from '2026-06-26 09:15:55'::timestamp) - extract(epoch from '2026-06-26 09:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050102 -2.798919)', '2026-06-26 09:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.798929)'), GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.798919)'))) / (select extract(epoch from '2026-06-26 09:16:23'::timestamp) - extract(epoch from '2026-06-26 09:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050001 -2.798929)'), GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.798919)'))) / (select extract(epoch from '2026-06-26 09:16:23'::timestamp) - extract(epoch from '2026-06-26 09:15: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'), 46941, 'SRID=4674;POINT (-40.0501 -2.798929)', '2026-06-26 09:16:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.798919)'), GeomFromEWKT('SRID=4674;POINT (-40.0501 -2.798929)'))) / (select extract(epoch from '2026-06-26 09:16:41'::timestamp) - extract(epoch from '2026-06-26 09:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.798919)'), GeomFromEWKT('SRID=4674;POINT (-40.0501 -2.798929)'))) / (select extract(epoch from '2026-06-26 09:16:41'::timestamp) - extract(epoch from '2026-06-26 09:16: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'), 46941, 'SRID=4674;POINT (-40.050092 -2.798938)', '2026-06-26 09:17:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0501 -2.798929)'), GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.798938)'))) / (select extract(epoch from '2026-06-26 09:17:19'::timestamp) - extract(epoch from '2026-06-26 09:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0501 -2.798929)'), GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.798938)'))) / (select extract(epoch from '2026-06-26 09:17:19'::timestamp) - extract(epoch from '2026-06-26 09:16: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'), 46941, 'SRID=4674;POINT (-40.050098 -2.798967)', '2026-06-26 09:17:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.798938)'), GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.798967)'))) / (select extract(epoch from '2026-06-26 09:17:39'::timestamp) - extract(epoch from '2026-06-26 09:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.798938)'), GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.798967)'))) / (select extract(epoch from '2026-06-26 09:17:39'::timestamp) - extract(epoch from '2026-06-26 09:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050102 -2.798934)', '2026-06-26 09:18:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.798967)'), GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.798934)'))) / (select extract(epoch from '2026-06-26 09:18:00'::timestamp) - extract(epoch from '2026-06-26 09:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.798967)'), GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.798934)'))) / (select extract(epoch from '2026-06-26 09:18:00'::timestamp) - extract(epoch from '2026-06-26 09:17: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'), 46941, 'SRID=4674;POINT (-40.050095 -2.798918)', '2026-06-26 09:18:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.798934)'), GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.798918)'))) / (select extract(epoch from '2026-06-26 09:18:27'::timestamp) - extract(epoch from '2026-06-26 09:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050102 -2.798934)'), GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.798918)'))) / (select extract(epoch from '2026-06-26 09:18:27'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050089 -2.798971)', '2026-06-26 09:18:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.798918)'), GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.798971)'))) / (select extract(epoch from '2026-06-26 09:18:57'::timestamp) - extract(epoch from '2026-06-26 09:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.798918)'), GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.798971)'))) / (select extract(epoch from '2026-06-26 09:18:57'::timestamp) - extract(epoch from '2026-06-26 09:18:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050083 -2.798985)', '2026-06-26 09:19:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.798971)'), GeomFromEWKT('SRID=4674;POINT (-40.050083 -2.798985)'))) / (select extract(epoch from '2026-06-26 09:19:26'::timestamp) - extract(epoch from '2026-06-26 09:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050089 -2.798971)'), GeomFromEWKT('SRID=4674;POINT (-40.050083 -2.798985)'))) / (select extract(epoch from '2026-06-26 09:19:26'::timestamp) - extract(epoch from '2026-06-26 09:18: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'), 46941, 'SRID=4674;POINT (-40.050084 -2.79899)', '2026-06-26 09:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050083 -2.798985)'), GeomFromEWKT('SRID=4674;POINT (-40.050084 -2.79899)'))) / (select extract(epoch from '2026-06-26 09:19:53'::timestamp) - extract(epoch from '2026-06-26 09:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050083 -2.798985)'), GeomFromEWKT('SRID=4674;POINT (-40.050084 -2.79899)'))) / (select extract(epoch from '2026-06-26 09:19:53'::timestamp) - extract(epoch from '2026-06-26 09:19: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'), 46941, 'SRID=4674;POINT (-40.050086 -2.798998)', '2026-06-26 09:20:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050084 -2.79899)'), GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.798998)'))) / (select extract(epoch from '2026-06-26 09:20:38'::timestamp) - extract(epoch from '2026-06-26 09:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050084 -2.79899)'), GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.798998)'))) / (select extract(epoch from '2026-06-26 09:20:38'::timestamp) - extract(epoch from '2026-06-26 09:19:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050082 -2.799)', '2026-06-26 09:21:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.798998)'), GeomFromEWKT('SRID=4674;POINT (-40.050082 -2.799)'))) / (select extract(epoch from '2026-06-26 09:21:34'::timestamp) - extract(epoch from '2026-06-26 09:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050086 -2.798998)'), GeomFromEWKT('SRID=4674;POINT (-40.050082 -2.799)'))) / (select extract(epoch from '2026-06-26 09:21:34'::timestamp) - extract(epoch from '2026-06-26 09:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050085 -2.798991)', '2026-06-26 09:22:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050082 -2.799)'), GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.798991)'))) / (select extract(epoch from '2026-06-26 09:22:15'::timestamp) - extract(epoch from '2026-06-26 09:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050082 -2.799)'), GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.798991)'))) / (select extract(epoch from '2026-06-26 09:22:15'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050094 -2.798974)', '2026-06-26 09:22:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.798991)'), GeomFromEWKT('SRID=4674;POINT (-40.050094 -2.798974)'))) / (select extract(epoch from '2026-06-26 09:22:58'::timestamp) - extract(epoch from '2026-06-26 09:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050085 -2.798991)'), GeomFromEWKT('SRID=4674;POINT (-40.050094 -2.798974)'))) / (select extract(epoch from '2026-06-26 09:22:58'::timestamp) - extract(epoch from '2026-06-26 09:22: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'), 46941, 'SRID=4674;POINT (-40.050097 -2.798964)', '2026-06-26 09:23:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050094 -2.798974)'), GeomFromEWKT('SRID=4674;POINT (-40.050097 -2.798964)'))) / (select extract(epoch from '2026-06-26 09:23:23'::timestamp) - extract(epoch from '2026-06-26 09:22:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050094 -2.798974)'), GeomFromEWKT('SRID=4674;POINT (-40.050097 -2.798964)'))) / (select extract(epoch from '2026-06-26 09:23:23'::timestamp) - extract(epoch from '2026-06-26 09:22: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'), 46941, 'SRID=4674;POINT (-40.050052 -2.79894)', '2026-06-26 09:23:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050097 -2.798964)'), GeomFromEWKT('SRID=4674;POINT (-40.050052 -2.79894)'))) / (select extract(epoch from '2026-06-26 09:23:37'::timestamp) - extract(epoch from '2026-06-26 09:23:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050097 -2.798964)'), GeomFromEWKT('SRID=4674;POINT (-40.050052 -2.79894)'))) / (select extract(epoch from '2026-06-26 09:23:37'::timestamp) - extract(epoch from '2026-06-26 09:23: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'), 46941, 'SRID=4674;POINT (-40.049955 -2.798942)', '2026-06-26 09:23:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050052 -2.79894)'), GeomFromEWKT('SRID=4674;POINT (-40.049955 -2.798942)'))) / (select extract(epoch from '2026-06-26 09:23:48'::timestamp) - extract(epoch from '2026-06-26 09:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050052 -2.79894)'), GeomFromEWKT('SRID=4674;POINT (-40.049955 -2.798942)'))) / (select extract(epoch from '2026-06-26 09:23:48'::timestamp) - extract(epoch from '2026-06-26 09:23: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'), 46941, 'SRID=4674;POINT (-40.049881 -2.798962)', '2026-06-26 09:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049955 -2.798942)'), GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.798962)'))) / (select extract(epoch from '2026-06-26 09:24:01'::timestamp) - extract(epoch from '2026-06-26 09:23:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049955 -2.798942)'), GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.798962)'))) / (select extract(epoch from '2026-06-26 09:24:01'::timestamp) - extract(epoch from '2026-06-26 09:23: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'), 46941, 'SRID=4674;POINT (-40.049894 -2.799044)', '2026-06-26 09:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.798962)'), GeomFromEWKT('SRID=4674;POINT (-40.049894 -2.799044)'))) / (select extract(epoch from '2026-06-26 09:24:11'::timestamp) - extract(epoch from '2026-06-26 09:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049881 -2.798962)'), GeomFromEWKT('SRID=4674;POINT (-40.049894 -2.799044)'))) / (select extract(epoch from '2026-06-26 09:24:11'::timestamp) - extract(epoch from '2026-06-26 09:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049935 -2.799152)', '2026-06-26 09:24:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049894 -2.799044)'), GeomFromEWKT('SRID=4674;POINT (-40.049935 -2.799152)'))) / (select extract(epoch from '2026-06-26 09:24:18'::timestamp) - extract(epoch from '2026-06-26 09:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049894 -2.799044)'), GeomFromEWKT('SRID=4674;POINT (-40.049935 -2.799152)'))) / (select extract(epoch from '2026-06-26 09:24:18'::timestamp) - extract(epoch from '2026-06-26 09:24: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'), 46941, 'SRID=4674;POINT (-40.049973 -2.79928)', '2026-06-26 09:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049935 -2.799152)'), GeomFromEWKT('SRID=4674;POINT (-40.049973 -2.79928)'))) / (select extract(epoch from '2026-06-26 09:24:26'::timestamp) - extract(epoch from '2026-06-26 09:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049935 -2.799152)'), GeomFromEWKT('SRID=4674;POINT (-40.049973 -2.79928)'))) / (select extract(epoch from '2026-06-26 09:24:26'::timestamp) - extract(epoch from '2026-06-26 09:24: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'), 46941, 'SRID=4674;POINT (-40.049968 -2.799371)', '2026-06-26 09:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049973 -2.79928)'), GeomFromEWKT('SRID=4674;POINT (-40.049968 -2.799371)'))) / (select extract(epoch from '2026-06-26 09:24:32'::timestamp) - extract(epoch from '2026-06-26 09:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049973 -2.79928)'), GeomFromEWKT('SRID=4674;POINT (-40.049968 -2.799371)'))) / (select extract(epoch from '2026-06-26 09:24:32'::timestamp) - extract(epoch from '2026-06-26 09:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049948 -2.799481)', '2026-06-26 09:24:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049968 -2.799371)'), GeomFromEWKT('SRID=4674;POINT (-40.049948 -2.799481)'))) / (select extract(epoch from '2026-06-26 09:24:39'::timestamp) - extract(epoch from '2026-06-26 09:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049968 -2.799371)'), GeomFromEWKT('SRID=4674;POINT (-40.049948 -2.799481)'))) / (select extract(epoch from '2026-06-26 09:24:39'::timestamp) - extract(epoch from '2026-06-26 09:24: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'), 46941, 'SRID=4674;POINT (-40.049949 -2.79958)', '2026-06-26 09:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049948 -2.799481)'), GeomFromEWKT('SRID=4674;POINT (-40.049949 -2.79958)'))) / (select extract(epoch from '2026-06-26 09:24:45'::timestamp) - extract(epoch from '2026-06-26 09:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049948 -2.799481)'), GeomFromEWKT('SRID=4674;POINT (-40.049949 -2.79958)'))) / (select extract(epoch from '2026-06-26 09:24:45'::timestamp) - extract(epoch from '2026-06-26 09:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049957 -2.799697)', '2026-06-26 09:24:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049949 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.049957 -2.799697)'))) / (select extract(epoch from '2026-06-26 09:24:52'::timestamp) - extract(epoch from '2026-06-26 09:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049949 -2.79958)'), GeomFromEWKT('SRID=4674;POINT (-40.049957 -2.799697)'))) / (select extract(epoch from '2026-06-26 09:24:52'::timestamp) - extract(epoch from '2026-06-26 09:24: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'), 46941, 'SRID=4674;POINT (-40.04998 -2.799836)', '2026-06-26 09:25:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049957 -2.799697)'), GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.799836)'))) / (select extract(epoch from '2026-06-26 09:25:00'::timestamp) - extract(epoch from '2026-06-26 09:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049957 -2.799697)'), GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.799836)'))) / (select extract(epoch from '2026-06-26 09:25:00'::timestamp) - extract(epoch from '2026-06-26 09:24: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'), 46941, 'SRID=4674;POINT (-40.050006 -2.799994)', '2026-06-26 09:25:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.799836)'), GeomFromEWKT('SRID=4674;POINT (-40.050006 -2.799994)'))) / (select extract(epoch from '2026-06-26 09:25:09'::timestamp) - extract(epoch from '2026-06-26 09:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04998 -2.799836)'), GeomFromEWKT('SRID=4674;POINT (-40.050006 -2.799994)'))) / (select extract(epoch from '2026-06-26 09:25:09'::timestamp) - extract(epoch from '2026-06-26 09:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050031 -2.800102)', '2026-06-26 09:25:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050006 -2.799994)'), GeomFromEWKT('SRID=4674;POINT (-40.050031 -2.800102)'))) / (select extract(epoch from '2026-06-26 09:25:15'::timestamp) - extract(epoch from '2026-06-26 09:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050006 -2.799994)'), GeomFromEWKT('SRID=4674;POINT (-40.050031 -2.800102)'))) / (select extract(epoch from '2026-06-26 09:25:15'::timestamp) - extract(epoch from '2026-06-26 09:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05006 -2.80017)', '2026-06-26 09:25:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050031 -2.800102)'), GeomFromEWKT('SRID=4674;POINT (-40.05006 -2.80017)'))) / (select extract(epoch from '2026-06-26 09:25:19'::timestamp) - extract(epoch from '2026-06-26 09:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050031 -2.800102)'), GeomFromEWKT('SRID=4674;POINT (-40.05006 -2.80017)'))) / (select extract(epoch from '2026-06-26 09:25:19'::timestamp) - extract(epoch from '2026-06-26 09:25:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05008 -2.800201)', '2026-06-26 09:25:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05006 -2.80017)'), GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.800201)'))) / (select extract(epoch from '2026-06-26 09:25:21'::timestamp) - extract(epoch from '2026-06-26 09:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05006 -2.80017)'), GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.800201)'))) / (select extract(epoch from '2026-06-26 09:25:21'::timestamp) - extract(epoch from '2026-06-26 09:25: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'), 46941, 'SRID=4674;POINT (-40.050145 -2.800336)', '2026-06-26 09:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.050145 -2.800336)'))) / (select extract(epoch from '2026-06-26 09:25:30'::timestamp) - extract(epoch from '2026-06-26 09:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05008 -2.800201)'), GeomFromEWKT('SRID=4674;POINT (-40.050145 -2.800336)'))) / (select extract(epoch from '2026-06-26 09:25:30'::timestamp) - extract(epoch from '2026-06-26 09:25: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'), 46941, 'SRID=4674;POINT (-40.050207 -2.800379)', '2026-06-26 09:25:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050145 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.800379)'))) / (select extract(epoch from '2026-06-26 09:25:37'::timestamp) - extract(epoch from '2026-06-26 09:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050145 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.800379)'))) / (select extract(epoch from '2026-06-26 09:25:37'::timestamp) - extract(epoch from '2026-06-26 09:25: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'), 46941, 'SRID=4674;POINT (-40.05027 -2.800376)', '2026-06-26 09:25:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.800379)'), GeomFromEWKT('SRID=4674;POINT (-40.05027 -2.800376)'))) / (select extract(epoch from '2026-06-26 09:25:44'::timestamp) - extract(epoch from '2026-06-26 09:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050207 -2.800379)'), GeomFromEWKT('SRID=4674;POINT (-40.05027 -2.800376)'))) / (select extract(epoch from '2026-06-26 09:25:44'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.05031 -2.800349)', '2026-06-26 09:25:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05027 -2.800376)'), GeomFromEWKT('SRID=4674;POINT (-40.05031 -2.800349)'))) / (select extract(epoch from '2026-06-26 09:25:49'::timestamp) - extract(epoch from '2026-06-26 09:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05027 -2.800376)'), GeomFromEWKT('SRID=4674;POINT (-40.05031 -2.800349)'))) / (select extract(epoch from '2026-06-26 09:25:49'::timestamp) - extract(epoch from '2026-06-26 09:25: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'), 46941, 'SRID=4674;POINT (-40.050343 -2.800305)', '2026-06-26 09:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05031 -2.800349)'), GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.800305)'))) / (select extract(epoch from '2026-06-26 09:25:55'::timestamp) - extract(epoch from '2026-06-26 09:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05031 -2.800349)'), GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.800305)'))) / (select extract(epoch from '2026-06-26 09:25:55'::timestamp) - extract(epoch from '2026-06-26 09:25: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'), 46941, 'SRID=4674;POINT (-40.050359 -2.800249)', '2026-06-26 09:26:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.800305)'), GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.800249)'))) / (select extract(epoch from '2026-06-26 09:26:04'::timestamp) - extract(epoch from '2026-06-26 09:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050343 -2.800305)'), GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.800249)'))) / (select extract(epoch from '2026-06-26 09:26:04'::timestamp) - extract(epoch from '2026-06-26 09:25: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'), 46941, 'SRID=4674;POINT (-40.05033 -2.800205)', '2026-06-26 09:26:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.800249)'), GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.800205)'))) / (select extract(epoch from '2026-06-26 09:26:14'::timestamp) - extract(epoch from '2026-06-26 09:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050359 -2.800249)'), GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.800205)'))) / (select extract(epoch from '2026-06-26 09:26:14'::timestamp) - extract(epoch from '2026-06-26 09:26: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'), 46941, 'SRID=4674;POINT (-40.050238 -2.800197)', '2026-06-26 09:26:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.800205)'), GeomFromEWKT('SRID=4674;POINT (-40.050238 -2.800197)'))) / (select extract(epoch from '2026-06-26 09:26:30'::timestamp) - extract(epoch from '2026-06-26 09:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.800205)'), GeomFromEWKT('SRID=4674;POINT (-40.050238 -2.800197)'))) / (select extract(epoch from '2026-06-26 09:26:30'::timestamp) - extract(epoch from '2026-06-26 09:26: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'), 46941, 'SRID=4674;POINT (-40.050121 -2.800223)', '2026-06-26 09:26:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050238 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.800223)'))) / (select extract(epoch from '2026-06-26 09:26:41'::timestamp) - extract(epoch from '2026-06-26 09:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050238 -2.800197)'), GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.800223)'))) / (select extract(epoch from '2026-06-26 09:26:41'::timestamp) - extract(epoch from '2026-06-26 09:26: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'), 46941, 'SRID=4674;POINT (-40.050011 -2.800262)', '2026-06-26 09:26:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.050011 -2.800262)'))) / (select extract(epoch from '2026-06-26 09:26:50'::timestamp) - extract(epoch from '2026-06-26 09:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.800223)'), GeomFromEWKT('SRID=4674;POINT (-40.050011 -2.800262)'))) / (select extract(epoch from '2026-06-26 09:26:50'::timestamp) - extract(epoch from '2026-06-26 09:26: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'), 46941, 'SRID=4674;POINT (-40.049966 -2.800291)', '2026-06-26 09:26:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050011 -2.800262)'), GeomFromEWKT('SRID=4674;POINT (-40.049966 -2.800291)'))) / (select extract(epoch from '2026-06-26 09:26:57'::timestamp) - extract(epoch from '2026-06-26 09:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050011 -2.800262)'), GeomFromEWKT('SRID=4674;POINT (-40.049966 -2.800291)'))) / (select extract(epoch from '2026-06-26 09:26:57'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.04996 -2.800308)', '2026-06-26 09:27:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049966 -2.800291)'), GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.800308)'))) / (select extract(epoch from '2026-06-26 09:27:07'::timestamp) - extract(epoch from '2026-06-26 09:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049966 -2.800291)'), GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.800308)'))) / (select extract(epoch from '2026-06-26 09:27:07'::timestamp) - extract(epoch from '2026-06-26 09:26: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'), 46941, 'SRID=4674;POINT (-40.049982 -2.800311)', '2026-06-26 09:27:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.800308)'), GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.800311)'))) / (select extract(epoch from '2026-06-26 09:27:16'::timestamp) - extract(epoch from '2026-06-26 09:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04996 -2.800308)'), GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.800311)'))) / (select extract(epoch from '2026-06-26 09:27:16'::timestamp) - extract(epoch from '2026-06-26 09:27:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050041 -2.800298)', '2026-06-26 09:27:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.800311)'), GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.800298)'))) / (select extract(epoch from '2026-06-26 09:27:32'::timestamp) - extract(epoch from '2026-06-26 09:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049982 -2.800311)'), GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.800298)'))) / (select extract(epoch from '2026-06-26 09:27:32'::timestamp) - extract(epoch from '2026-06-26 09:27: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'), 46941, 'SRID=4674;POINT (-40.050114 -2.800276)', '2026-06-26 09:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.050114 -2.800276)'))) / (select extract(epoch from '2026-06-26 09:27:51'::timestamp) - extract(epoch from '2026-06-26 09:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050041 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.050114 -2.800276)'))) / (select extract(epoch from '2026-06-26 09:27:51'::timestamp) - extract(epoch from '2026-06-26 09:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05016 -2.800256)', '2026-06-26 09:28:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050114 -2.800276)'), GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.800256)'))) / (select extract(epoch from '2026-06-26 09:28:12'::timestamp) - extract(epoch from '2026-06-26 09:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050114 -2.800276)'), GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.800256)'))) / (select extract(epoch from '2026-06-26 09:28:12'::timestamp) - extract(epoch from '2026-06-26 09:27: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'), 46941, 'SRID=4674;POINT (-40.050166 -2.800242)', '2026-06-26 09:28:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.800256)'), GeomFromEWKT('SRID=4674;POINT (-40.050166 -2.800242)'))) / (select extract(epoch from '2026-06-26 09:28:33'::timestamp) - extract(epoch from '2026-06-26 09:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05016 -2.800256)'), GeomFromEWKT('SRID=4674;POINT (-40.050166 -2.800242)'))) / (select extract(epoch from '2026-06-26 09:28:33'::timestamp) - extract(epoch from '2026-06-26 09:28: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'), 46941, 'SRID=4674;POINT (-40.050171 -2.800291)', '2026-06-26 09:28:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050166 -2.800242)'), GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.800291)'))) / (select extract(epoch from '2026-06-26 09:28:57'::timestamp) - extract(epoch from '2026-06-26 09:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050166 -2.800242)'), GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.800291)'))) / (select extract(epoch from '2026-06-26 09:28:57'::timestamp) - extract(epoch from '2026-06-26 09:28:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050193 -2.800324)', '2026-06-26 09:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.800291)'), GeomFromEWKT('SRID=4674;POINT (-40.050193 -2.800324)'))) / (select extract(epoch from '2026-06-26 09:29:23'::timestamp) - extract(epoch from '2026-06-26 09:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.800291)'), GeomFromEWKT('SRID=4674;POINT (-40.050193 -2.800324)'))) / (select extract(epoch from '2026-06-26 09:29:23'::timestamp) - extract(epoch from '2026-06-26 09:28: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'), 46941, 'SRID=4674;POINT (-40.050191 -2.800336)', '2026-06-26 09:29:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050193 -2.800324)'), GeomFromEWKT('SRID=4674;POINT (-40.050191 -2.800336)'))) / (select extract(epoch from '2026-06-26 09:29:50'::timestamp) - extract(epoch from '2026-06-26 09:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050193 -2.800324)'), GeomFromEWKT('SRID=4674;POINT (-40.050191 -2.800336)'))) / (select extract(epoch from '2026-06-26 09:29:50'::timestamp) - extract(epoch from '2026-06-26 09:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050185 -2.800338)', '2026-06-26 09:30:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050191 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.800338)'))) / (select extract(epoch from '2026-06-26 09:30:28'::timestamp) - extract(epoch from '2026-06-26 09:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050191 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.800338)'))) / (select extract(epoch from '2026-06-26 09:30:28'::timestamp) - extract(epoch from '2026-06-26 09:29: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'), 46941, 'SRID=4674;POINT (-40.050186 -2.800346)', '2026-06-26 09:31:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.800346)'))) / (select extract(epoch from '2026-06-26 09:31:04'::timestamp) - extract(epoch from '2026-06-26 09:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.800338)'), GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.800346)'))) / (select extract(epoch from '2026-06-26 09:31:04'::timestamp) - extract(epoch from '2026-06-26 09:30: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'), 46941, 'SRID=4674;POINT (-40.050189 -2.800355)', '2026-06-26 09:31:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.050189 -2.800355)'))) / (select extract(epoch from '2026-06-26 09:31:52'::timestamp) - extract(epoch from '2026-06-26 09:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050186 -2.800346)'), GeomFromEWKT('SRID=4674;POINT (-40.050189 -2.800355)'))) / (select extract(epoch from '2026-06-26 09:31:52'::timestamp) - extract(epoch from '2026-06-26 09:31: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'), 46941, 'SRID=4674;POINT (-40.050198 -2.800327)', '2026-06-26 09:32:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050189 -2.800355)'), GeomFromEWKT('SRID=4674;POINT (-40.050198 -2.800327)'))) / (select extract(epoch from '2026-06-26 09:32:23'::timestamp) - extract(epoch from '2026-06-26 09:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050189 -2.800355)'), GeomFromEWKT('SRID=4674;POINT (-40.050198 -2.800327)'))) / (select extract(epoch from '2026-06-26 09:32:23'::timestamp) - extract(epoch from '2026-06-26 09:31: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'), 46941, 'SRID=4674;POINT (-40.050195 -2.800306)', '2026-06-26 09:32:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050198 -2.800327)'), GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.800306)'))) / (select extract(epoch from '2026-06-26 09:32:50'::timestamp) - extract(epoch from '2026-06-26 09:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050198 -2.800327)'), GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.800306)'))) / (select extract(epoch from '2026-06-26 09:32:50'::timestamp) - extract(epoch from '2026-06-26 09:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050187 -2.800316)', '2026-06-26 09:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.800306)'), GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.800316)'))) / (select extract(epoch from '2026-06-26 09:33:15'::timestamp) - extract(epoch from '2026-06-26 09:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.800306)'), GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.800316)'))) / (select extract(epoch from '2026-06-26 09:33:15'::timestamp) - extract(epoch from '2026-06-26 09:32: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'), 46941, 'SRID=4674;POINT (-40.050187 -2.800315)', '2026-06-26 09:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.800316)'), GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.800315)'))) / (select extract(epoch from '2026-06-26 09:33:43'::timestamp) - extract(epoch from '2026-06-26 09:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.800316)'), GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.800315)'))) / (select extract(epoch from '2026-06-26 09:33:43'::timestamp) - extract(epoch from '2026-06-26 09:33:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050182 -2.800323)', '2026-06-26 09:34:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.800315)'), GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.800323)'))) / (select extract(epoch from '2026-06-26 09:34:07'::timestamp) - extract(epoch from '2026-06-26 09:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050187 -2.800315)'), GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.800323)'))) / (select extract(epoch from '2026-06-26 09:34:07'::timestamp) - extract(epoch from '2026-06-26 09:33: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'), 46941, 'SRID=4674;POINT (-40.050151 -2.800356)', '2026-06-26 09:34:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.800323)'), GeomFromEWKT('SRID=4674;POINT (-40.050151 -2.800356)'))) / (select extract(epoch from '2026-06-26 09:34:29'::timestamp) - extract(epoch from '2026-06-26 09:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050182 -2.800323)'), GeomFromEWKT('SRID=4674;POINT (-40.050151 -2.800356)'))) / (select extract(epoch from '2026-06-26 09:34:29'::timestamp) - extract(epoch from '2026-06-26 09:34: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'), 46941, 'SRID=4674;POINT (-40.050063 -2.800318)', '2026-06-26 09:34:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050151 -2.800356)'), GeomFromEWKT('SRID=4674;POINT (-40.050063 -2.800318)'))) / (select extract(epoch from '2026-06-26 09:34:48'::timestamp) - extract(epoch from '2026-06-26 09:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050151 -2.800356)'), GeomFromEWKT('SRID=4674;POINT (-40.050063 -2.800318)'))) / (select extract(epoch from '2026-06-26 09:34:48'::timestamp) - extract(epoch from '2026-06-26 09:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049995 -2.800298)', '2026-06-26 09:34:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050063 -2.800318)'), GeomFromEWKT('SRID=4674;POINT (-40.049995 -2.800298)'))) / (select extract(epoch from '2026-06-26 09:34:57'::timestamp) - extract(epoch from '2026-06-26 09:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050063 -2.800318)'), GeomFromEWKT('SRID=4674;POINT (-40.049995 -2.800298)'))) / (select extract(epoch from '2026-06-26 09:34:57'::timestamp) - extract(epoch from '2026-06-26 09:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049922 -2.800339)', '2026-06-26 09:35:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049995 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.800339)'))) / (select extract(epoch from '2026-06-26 09:35:13'::timestamp) - extract(epoch from '2026-06-26 09:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049995 -2.800298)'), GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.800339)'))) / (select extract(epoch from '2026-06-26 09:35:13'::timestamp) - extract(epoch from '2026-06-26 09:34:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049933 -2.800416)', '2026-06-26 09:35:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.800339)'), GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.800416)'))) / (select extract(epoch from '2026-06-26 09:35:20'::timestamp) - extract(epoch from '2026-06-26 09:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.800339)'), GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.800416)'))) / (select extract(epoch from '2026-06-26 09:35:20'::timestamp) - extract(epoch from '2026-06-26 09:35: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'), 46941, 'SRID=4674;POINT (-40.04994 -2.800429)', '2026-06-26 09:35:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.800416)'), GeomFromEWKT('SRID=4674;POINT (-40.04994 -2.800429)'))) / (select extract(epoch from '2026-06-26 09:35:21'::timestamp) - extract(epoch from '2026-06-26 09:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049933 -2.800416)'), GeomFromEWKT('SRID=4674;POINT (-40.04994 -2.800429)'))) / (select extract(epoch from '2026-06-26 09:35:21'::timestamp) - extract(epoch from '2026-06-26 09:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.049988 -2.800524)', '2026-06-26 09:35:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04994 -2.800429)'), GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.800524)'))) / (select extract(epoch from '2026-06-26 09:35:28'::timestamp) - extract(epoch from '2026-06-26 09:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04994 -2.800429)'), GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.800524)'))) / (select extract(epoch from '2026-06-26 09:35:28'::timestamp) - extract(epoch from '2026-06-26 09:35:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.05003 -2.800598)', '2026-06-26 09:35:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.800524)'), GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.800598)'))) / (select extract(epoch from '2026-06-26 09:35:34'::timestamp) - extract(epoch from '2026-06-26 09:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049988 -2.800524)'), GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.800598)'))) / (select extract(epoch from '2026-06-26 09:35:34'::timestamp) - extract(epoch from '2026-06-26 09:35: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'), 46941, 'SRID=4674;POINT (-40.050095 -2.800705)', '2026-06-26 09:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.800598)'), GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.800705)'))) / (select extract(epoch from '2026-06-26 09:35:41'::timestamp) - extract(epoch from '2026-06-26 09:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05003 -2.800598)'), GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.800705)'))) / (select extract(epoch from '2026-06-26 09:35:41'::timestamp) - extract(epoch from '2026-06-26 09:35:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050111 -2.800738)', '2026-06-26 09:35:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.800705)'), GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.800738)'))) / (select extract(epoch from '2026-06-26 09:35:43'::timestamp) - extract(epoch from '2026-06-26 09:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050095 -2.800705)'), GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.800738)'))) / (select extract(epoch from '2026-06-26 09:35:43'::timestamp) - extract(epoch from '2026-06-26 09:35:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050124 -2.800792)', '2026-06-26 09:35:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.050124 -2.800792)'))) / (select extract(epoch from '2026-06-26 09:35:46'::timestamp) - extract(epoch from '2026-06-26 09:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.800738)'), GeomFromEWKT('SRID=4674;POINT (-40.050124 -2.800792)'))) / (select extract(epoch from '2026-06-26 09:35:46'::timestamp) - extract(epoch from '2026-06-26 09:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050148 -2.800896)', '2026-06-26 09:35:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050124 -2.800792)'), GeomFromEWKT('SRID=4674;POINT (-40.050148 -2.800896)'))) / (select extract(epoch from '2026-06-26 09:35:52'::timestamp) - extract(epoch from '2026-06-26 09:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050124 -2.800792)'), GeomFromEWKT('SRID=4674;POINT (-40.050148 -2.800896)'))) / (select extract(epoch from '2026-06-26 09:35:52'::timestamp) - extract(epoch from '2026-06-26 09:35: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'), 46941, 'SRID=4674;POINT (-40.050185 -2.800984)', '2026-06-26 09:35:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050148 -2.800896)'), GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.800984)'))) / (select extract(epoch from '2026-06-26 09:35:57'::timestamp) - extract(epoch from '2026-06-26 09:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050148 -2.800896)'), GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.800984)'))) / (select extract(epoch from '2026-06-26 09:35:57'::timestamp) - extract(epoch from '2026-06-26 09:35: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'), 46941, 'SRID=4674;POINT (-40.050268 -2.801123)', '2026-06-26 09:36:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.800984)'), GeomFromEWKT('SRID=4674;POINT (-40.050268 -2.801123)'))) / (select extract(epoch from '2026-06-26 09:36:05'::timestamp) - extract(epoch from '2026-06-26 09:35:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050185 -2.800984)'), GeomFromEWKT('SRID=4674;POINT (-40.050268 -2.801123)'))) / (select extract(epoch from '2026-06-26 09:36:05'::timestamp) - extract(epoch from '2026-06-26 09:35:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050336 -2.801226)', '2026-06-26 09:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050268 -2.801123)'), GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.801226)'))) / (select extract(epoch from '2026-06-26 09:36:11'::timestamp) - extract(epoch from '2026-06-26 09:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050268 -2.801123)'), GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.801226)'))) / (select extract(epoch from '2026-06-26 09:36:11'::timestamp) - extract(epoch from '2026-06-26 09:36: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'), 46941, 'SRID=4674;POINT (-40.050415 -2.801349)', '2026-06-26 09:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.801226)'), GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.801349)'))) / (select extract(epoch from '2026-06-26 09:36:18'::timestamp) - extract(epoch from '2026-06-26 09:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050336 -2.801226)'), GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.801349)'))) / (select extract(epoch from '2026-06-26 09:36:18'::timestamp) - extract(epoch from '2026-06-26 09:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050514 -2.801434)', '2026-06-26 09:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.801349)'), GeomFromEWKT('SRID=4674;POINT (-40.050514 -2.801434)'))) / (select extract(epoch from '2026-06-26 09:36:25'::timestamp) - extract(epoch from '2026-06-26 09:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.801349)'), GeomFromEWKT('SRID=4674;POINT (-40.050514 -2.801434)'))) / (select extract(epoch from '2026-06-26 09:36:25'::timestamp) - extract(epoch from '2026-06-26 09:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050599 -2.801494)', '2026-06-26 09:36:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050514 -2.801434)'), GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.801494)'))) / (select extract(epoch from '2026-06-26 09:36:31'::timestamp) - extract(epoch from '2026-06-26 09:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050514 -2.801434)'), GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.801494)'))) / (select extract(epoch from '2026-06-26 09:36:31'::timestamp) - extract(epoch from '2026-06-26 09:36: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'), 46941, 'SRID=4674;POINT (-40.050633 -2.801592)', '2026-06-26 09:36:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.801494)'), GeomFromEWKT('SRID=4674;POINT (-40.050633 -2.801592)'))) / (select extract(epoch from '2026-06-26 09:36:38'::timestamp) - extract(epoch from '2026-06-26 09:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050599 -2.801494)'), GeomFromEWKT('SRID=4674;POINT (-40.050633 -2.801592)'))) / (select extract(epoch from '2026-06-26 09:36:38'::timestamp) - extract(epoch from '2026-06-26 09:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050635 -2.801652)', '2026-06-26 09:36:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050633 -2.801592)'), GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.801652)'))) / (select extract(epoch from '2026-06-26 09:36:47'::timestamp) - extract(epoch from '2026-06-26 09:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050633 -2.801592)'), GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.801652)'))) / (select extract(epoch from '2026-06-26 09:36:47'::timestamp) - extract(epoch from '2026-06-26 09:36: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'), 46941, 'SRID=4674;POINT (-40.050624 -2.801651)', '2026-06-26 09:36:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.801652)'), GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.801651)'))) / (select extract(epoch from '2026-06-26 09:36:57'::timestamp) - extract(epoch from '2026-06-26 09:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050635 -2.801652)'), GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.801651)'))) / (select extract(epoch from '2026-06-26 09:36:57'::timestamp) - extract(epoch from '2026-06-26 09:36: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'), 46941, 'SRID=4674;POINT (-40.050606 -2.801595)', '2026-06-26 09:37:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.801651)'), GeomFromEWKT('SRID=4674;POINT (-40.050606 -2.801595)'))) / (select extract(epoch from '2026-06-26 09:37:15'::timestamp) - extract(epoch from '2026-06-26 09:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.801651)'), GeomFromEWKT('SRID=4674;POINT (-40.050606 -2.801595)'))) / (select extract(epoch from '2026-06-26 09:37:15'::timestamp) - extract(epoch from '2026-06-26 09:36: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'), 46941, 'SRID=4674;POINT (-40.050617 -2.801576)', '2026-06-26 09:37:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050606 -2.801595)'), GeomFromEWKT('SRID=4674;POINT (-40.050617 -2.801576)'))) / (select extract(epoch from '2026-06-26 09:37:22'::timestamp) - extract(epoch from '2026-06-26 09:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050606 -2.801595)'), GeomFromEWKT('SRID=4674;POINT (-40.050617 -2.801576)'))) / (select extract(epoch from '2026-06-26 09:37:22'::timestamp) - extract(epoch from '2026-06-26 09:37: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'), 46941, 'SRID=4674;POINT (-40.050625 -2.801548)', '2026-06-26 09:37:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050617 -2.801576)'), GeomFromEWKT('SRID=4674;POINT (-40.050625 -2.801548)'))) / (select extract(epoch from '2026-06-26 09:37:30'::timestamp) - extract(epoch from '2026-06-26 09:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050617 -2.801576)'), GeomFromEWKT('SRID=4674;POINT (-40.050625 -2.801548)'))) / (select extract(epoch from '2026-06-26 09:37:30'::timestamp) - extract(epoch from '2026-06-26 09:37:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050607 -2.80149)', '2026-06-26 09:37:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050625 -2.801548)'), GeomFromEWKT('SRID=4674;POINT (-40.050607 -2.80149)'))) / (select extract(epoch from '2026-06-26 09:37:40'::timestamp) - extract(epoch from '2026-06-26 09:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050625 -2.801548)'), GeomFromEWKT('SRID=4674;POINT (-40.050607 -2.80149)'))) / (select extract(epoch from '2026-06-26 09:37:40'::timestamp) - extract(epoch from '2026-06-26 09:37:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050536 -2.801494)', '2026-06-26 09:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050607 -2.80149)'), GeomFromEWKT('SRID=4674;POINT (-40.050536 -2.801494)'))) / (select extract(epoch from '2026-06-26 09:37:49'::timestamp) - extract(epoch from '2026-06-26 09:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050607 -2.80149)'), GeomFromEWKT('SRID=4674;POINT (-40.050536 -2.801494)'))) / (select extract(epoch from '2026-06-26 09:37:49'::timestamp) - extract(epoch from '2026-06-26 09:37: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'), 46941, 'SRID=4674;POINT (-40.050514 -2.80152)', '2026-06-26 09:37:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050536 -2.801494)'), GeomFromEWKT('SRID=4674;POINT (-40.050514 -2.80152)'))) / (select extract(epoch from '2026-06-26 09:37:53'::timestamp) - extract(epoch from '2026-06-26 09:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050536 -2.801494)'), GeomFromEWKT('SRID=4674;POINT (-40.050514 -2.80152)'))) / (select extract(epoch from '2026-06-26 09:37:53'::timestamp) - extract(epoch from '2026-06-26 09:37:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.0505 -2.801549)', '2026-06-26 09:37:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050514 -2.80152)'), GeomFromEWKT('SRID=4674;POINT (-40.0505 -2.801549)'))) / (select extract(epoch from '2026-06-26 09:37:56'::timestamp) - extract(epoch from '2026-06-26 09:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050514 -2.80152)'), GeomFromEWKT('SRID=4674;POINT (-40.0505 -2.801549)'))) / (select extract(epoch from '2026-06-26 09:37:56'::timestamp) - extract(epoch from '2026-06-26 09:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050479 -2.801617)', '2026-06-26 09:38:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0505 -2.801549)'), GeomFromEWKT('SRID=4674;POINT (-40.050479 -2.801617)'))) / (select extract(epoch from '2026-06-26 09:38:02'::timestamp) - extract(epoch from '2026-06-26 09:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0505 -2.801549)'), GeomFromEWKT('SRID=4674;POINT (-40.050479 -2.801617)'))) / (select extract(epoch from '2026-06-26 09:38:02'::timestamp) - extract(epoch from '2026-06-26 09:37: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'), 46941, 'SRID=4674;POINT (-40.050443 -2.801716)', '2026-06-26 09:38:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050479 -2.801617)'), GeomFromEWKT('SRID=4674;POINT (-40.050443 -2.801716)'))) / (select extract(epoch from '2026-06-26 09:38:09'::timestamp) - extract(epoch from '2026-06-26 09:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050479 -2.801617)'), GeomFromEWKT('SRID=4674;POINT (-40.050443 -2.801716)'))) / (select extract(epoch from '2026-06-26 09:38:09'::timestamp) - extract(epoch from '2026-06-26 09:38: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'), 46941, 'SRID=4674;POINT (-40.050419 -2.801772)', '2026-06-26 09:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050443 -2.801716)'), GeomFromEWKT('SRID=4674;POINT (-40.050419 -2.801772)'))) / (select extract(epoch from '2026-06-26 09:38:13'::timestamp) - extract(epoch from '2026-06-26 09:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050443 -2.801716)'), GeomFromEWKT('SRID=4674;POINT (-40.050419 -2.801772)'))) / (select extract(epoch from '2026-06-26 09:38:13'::timestamp) - extract(epoch from '2026-06-26 09:38: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'), 46941, 'SRID=4674;POINT (-40.050404 -2.801818)', '2026-06-26 09:38:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050419 -2.801772)'), GeomFromEWKT('SRID=4674;POINT (-40.050404 -2.801818)'))) / (select extract(epoch from '2026-06-26 09:38:16'::timestamp) - extract(epoch from '2026-06-26 09:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050419 -2.801772)'), GeomFromEWKT('SRID=4674;POINT (-40.050404 -2.801818)'))) / (select extract(epoch from '2026-06-26 09:38:16'::timestamp) - extract(epoch from '2026-06-26 09:38:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050407 -2.80192)', '2026-06-26 09:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050404 -2.801818)'), GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.80192)'))) / (select extract(epoch from '2026-06-26 09:38:22'::timestamp) - extract(epoch from '2026-06-26 09:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050404 -2.801818)'), GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.80192)'))) / (select extract(epoch from '2026-06-26 09:38:22'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050422 -2.802068)', '2026-06-26 09:38:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.80192)'), GeomFromEWKT('SRID=4674;POINT (-40.050422 -2.802068)'))) / (select extract(epoch from '2026-06-26 09:38:30'::timestamp) - extract(epoch from '2026-06-26 09:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050407 -2.80192)'), GeomFromEWKT('SRID=4674;POINT (-40.050422 -2.802068)'))) / (select extract(epoch from '2026-06-26 09:38:30'::timestamp) - extract(epoch from '2026-06-26 09:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050421 -2.802181)', '2026-06-26 09:38:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050422 -2.802068)'), GeomFromEWKT('SRID=4674;POINT (-40.050421 -2.802181)'))) / (select extract(epoch from '2026-06-26 09:38:36'::timestamp) - extract(epoch from '2026-06-26 09:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050422 -2.802068)'), GeomFromEWKT('SRID=4674;POINT (-40.050421 -2.802181)'))) / (select extract(epoch from '2026-06-26 09:38:36'::timestamp) - extract(epoch from '2026-06-26 09:38: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'), 46941, 'SRID=4674;POINT (-40.050425 -2.802306)', '2026-06-26 09:38:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050421 -2.802181)'), GeomFromEWKT('SRID=4674;POINT (-40.050425 -2.802306)'))) / (select extract(epoch from '2026-06-26 09:38:43'::timestamp) - extract(epoch from '2026-06-26 09:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050421 -2.802181)'), GeomFromEWKT('SRID=4674;POINT (-40.050425 -2.802306)'))) / (select extract(epoch from '2026-06-26 09:38:43'::timestamp) - extract(epoch from '2026-06-26 09:38: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'), 46941, 'SRID=4674;POINT (-40.050456 -2.802413)', '2026-06-26 09:38:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050425 -2.802306)'), GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.802413)'))) / (select extract(epoch from '2026-06-26 09:38:49'::timestamp) - extract(epoch from '2026-06-26 09:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050425 -2.802306)'), GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.802413)'))) / (select extract(epoch from '2026-06-26 09:38:49'::timestamp) - extract(epoch from '2026-06-26 09:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050461 -2.802528)', '2026-06-26 09:38:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.802413)'), GeomFromEWKT('SRID=4674;POINT (-40.050461 -2.802528)'))) / (select extract(epoch from '2026-06-26 09:38:56'::timestamp) - extract(epoch from '2026-06-26 09:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.802413)'), GeomFromEWKT('SRID=4674;POINT (-40.050461 -2.802528)'))) / (select extract(epoch from '2026-06-26 09:38:56'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050448 -2.802576)', '2026-06-26 09:39:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050461 -2.802528)'), GeomFromEWKT('SRID=4674;POINT (-40.050448 -2.802576)'))) / (select extract(epoch from '2026-06-26 09:39:00'::timestamp) - extract(epoch from '2026-06-26 09:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050461 -2.802528)'), GeomFromEWKT('SRID=4674;POINT (-40.050448 -2.802576)'))) / (select extract(epoch from '2026-06-26 09:39:00'::timestamp) - extract(epoch from '2026-06-26 09:38: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'), 46941, 'SRID=4674;POINT (-40.050448 -2.802597)', '2026-06-26 09:39:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050448 -2.802576)'), GeomFromEWKT('SRID=4674;POINT (-40.050448 -2.802597)'))) / (select extract(epoch from '2026-06-26 09:39:02'::timestamp) - extract(epoch from '2026-06-26 09:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050448 -2.802576)'), GeomFromEWKT('SRID=4674;POINT (-40.050448 -2.802597)'))) / (select extract(epoch from '2026-06-26 09:39:02'::timestamp) - extract(epoch from '2026-06-26 09:39: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'), 46941, 'SRID=4674;POINT (-40.050451 -2.802606)', '2026-06-26 09:39:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050448 -2.802597)'), GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.802606)'))) / (select extract(epoch from '2026-06-26 09:39:03'::timestamp) - extract(epoch from '2026-06-26 09:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050448 -2.802597)'), GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.802606)'))) / (select extract(epoch from '2026-06-26 09:39:03'::timestamp) - extract(epoch from '2026-06-26 09:39: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'), 46941, 'SRID=4674;POINT (-40.050456 -2.802615)', '2026-06-26 09:39:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.802606)'), GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.802615)'))) / (select extract(epoch from '2026-06-26 09:39:04'::timestamp) - extract(epoch from '2026-06-26 09:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050451 -2.802606)'), GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.802615)'))) / (select extract(epoch from '2026-06-26 09:39:04'::timestamp) - extract(epoch from '2026-06-26 09:39: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'), 46941, 'SRID=4674;POINT (-40.050478 -2.802643)', '2026-06-26 09:39:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.802643)'))) / (select extract(epoch from '2026-06-26 09:39:08'::timestamp) - extract(epoch from '2026-06-26 09:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050456 -2.802615)'), GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.802643)'))) / (select extract(epoch from '2026-06-26 09:39:08'::timestamp) - extract(epoch from '2026-06-26 09:39:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050502 -2.802712)', '2026-06-26 09:39:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.802643)'), GeomFromEWKT('SRID=4674;POINT (-40.050502 -2.802712)'))) / (select extract(epoch from '2026-06-26 09:39:18'::timestamp) - extract(epoch from '2026-06-26 09:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050478 -2.802643)'), GeomFromEWKT('SRID=4674;POINT (-40.050502 -2.802712)'))) / (select extract(epoch from '2026-06-26 09:39:18'::timestamp) - extract(epoch from '2026-06-26 09:39: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'), 46941, 'SRID=4674;POINT (-40.050477 -2.802757)', '2026-06-26 09:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050502 -2.802712)'), GeomFromEWKT('SRID=4674;POINT (-40.050477 -2.802757)'))) / (select extract(epoch from '2026-06-26 09:39:27'::timestamp) - extract(epoch from '2026-06-26 09:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050502 -2.802712)'), GeomFromEWKT('SRID=4674;POINT (-40.050477 -2.802757)'))) / (select extract(epoch from '2026-06-26 09:39:27'::timestamp) - extract(epoch from '2026-06-26 09:39: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'), 46941, 'SRID=4674;POINT (-40.05048 -2.802738)', '2026-06-26 09:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050477 -2.802757)'), GeomFromEWKT('SRID=4674;POINT (-40.05048 -2.802738)'))) / (select extract(epoch from '2026-06-26 09:39:38'::timestamp) - extract(epoch from '2026-06-26 09:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050477 -2.802757)'), GeomFromEWKT('SRID=4674;POINT (-40.05048 -2.802738)'))) / (select extract(epoch from '2026-06-26 09:39:38'::timestamp) - extract(epoch from '2026-06-26 09:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050496 -2.802685)', '2026-06-26 09:39:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05048 -2.802738)'), GeomFromEWKT('SRID=4674;POINT (-40.050496 -2.802685)'))) / (select extract(epoch from '2026-06-26 09:39:48'::timestamp) - extract(epoch from '2026-06-26 09:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05048 -2.802738)'), GeomFromEWKT('SRID=4674;POINT (-40.050496 -2.802685)'))) / (select extract(epoch from '2026-06-26 09:39:48'::timestamp) - extract(epoch from '2026-06-26 09:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050507 -2.802595)', '2026-06-26 09:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050496 -2.802685)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.802595)'))) / (select extract(epoch from '2026-06-26 09:40:00'::timestamp) - extract(epoch from '2026-06-26 09:39:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050496 -2.802685)'), GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.802595)'))) / (select extract(epoch from '2026-06-26 09:40:00'::timestamp) - extract(epoch from '2026-06-26 09:39:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050475 -2.802544)', '2026-06-26 09:40:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.802595)'), GeomFromEWKT('SRID=4674;POINT (-40.050475 -2.802544)'))) / (select extract(epoch from '2026-06-26 09:40:08'::timestamp) - extract(epoch from '2026-06-26 09:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050507 -2.802595)'), GeomFromEWKT('SRID=4674;POINT (-40.050475 -2.802544)'))) / (select extract(epoch from '2026-06-26 09:40:08'::timestamp) - extract(epoch from '2026-06-26 09:40: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'), 46941, 'SRID=4674;POINT (-40.050397 -2.80256)', '2026-06-26 09:40:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050475 -2.802544)'), GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.80256)'))) / (select extract(epoch from '2026-06-26 09:40:19'::timestamp) - extract(epoch from '2026-06-26 09:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050475 -2.802544)'), GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.80256)'))) / (select extract(epoch from '2026-06-26 09:40:19'::timestamp) - extract(epoch from '2026-06-26 09:40: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'), 46941, 'SRID=4674;POINT (-40.050352 -2.802648)', '2026-06-26 09:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.80256)'), GeomFromEWKT('SRID=4674;POINT (-40.050352 -2.802648)'))) / (select extract(epoch from '2026-06-26 09:40:27'::timestamp) - extract(epoch from '2026-06-26 09:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050397 -2.80256)'), GeomFromEWKT('SRID=4674;POINT (-40.050352 -2.802648)'))) / (select extract(epoch from '2026-06-26 09:40:27'::timestamp) - extract(epoch from '2026-06-26 09:40: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'), 46941, 'SRID=4674;POINT (-40.05033 -2.802779)', '2026-06-26 09:40:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050352 -2.802648)'), GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.802779)'))) / (select extract(epoch from '2026-06-26 09:40:36'::timestamp) - extract(epoch from '2026-06-26 09:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050352 -2.802648)'), GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.802779)'))) / (select extract(epoch from '2026-06-26 09:40:36'::timestamp) - extract(epoch from '2026-06-26 09:40: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'), 46941, 'SRID=4674;POINT (-40.050298 -2.802869)', '2026-06-26 09:40:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.802779)'), GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.802869)'))) / (select extract(epoch from '2026-06-26 09:40:42'::timestamp) - extract(epoch from '2026-06-26 09:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05033 -2.802779)'), GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.802869)'))) / (select extract(epoch from '2026-06-26 09:40:42'::timestamp) - extract(epoch from '2026-06-26 09: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'), 46941, 'SRID=4674;POINT (-40.050269 -2.802956)', '2026-06-26 09:40:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.802869)'), GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.802956)'))) / (select extract(epoch from '2026-06-26 09:40:48'::timestamp) - extract(epoch from '2026-06-26 09:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050298 -2.802869)'), GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.802956)'))) / (select extract(epoch from '2026-06-26 09:40:48'::timestamp) - extract(epoch from '2026-06-26 09:40: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'), 46941, 'SRID=4674;POINT (-40.050251 -2.803041)', '2026-06-26 09:40:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.802956)'), GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.803041)'))) / (select extract(epoch from '2026-06-26 09:40:54'::timestamp) - extract(epoch from '2026-06-26 09:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050269 -2.802956)'), GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.803041)'))) / (select extract(epoch from '2026-06-26 09:40:54'::timestamp) - extract(epoch from '2026-06-26 09:40: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'), 46941, 'SRID=4674;POINT (-40.050222 -2.803145)', '2026-06-26 09:41:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.803041)'), GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.803145)'))) / (select extract(epoch from '2026-06-26 09:41:01'::timestamp) - extract(epoch from '2026-06-26 09:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050251 -2.803041)'), GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.803145)'))) / (select extract(epoch from '2026-06-26 09:41:01'::timestamp) - extract(epoch from '2026-06-26 09:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050195 -2.803233)', '2026-06-26 09:41:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.803145)'), GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.803233)'))) / (select extract(epoch from '2026-06-26 09:41:07'::timestamp) - extract(epoch from '2026-06-26 09:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.803145)'), GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.803233)'))) / (select extract(epoch from '2026-06-26 09:41:07'::timestamp) - extract(epoch from '2026-06-26 09:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050153 -2.803336)', '2026-06-26 09:41:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.803233)'), GeomFromEWKT('SRID=4674;POINT (-40.050153 -2.803336)'))) / (select extract(epoch from '2026-06-26 09:41:14'::timestamp) - extract(epoch from '2026-06-26 09:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.803233)'), GeomFromEWKT('SRID=4674;POINT (-40.050153 -2.803336)'))) / (select extract(epoch from '2026-06-26 09:41:14'::timestamp) - extract(epoch from '2026-06-26 09:41:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050096 -2.803483)', '2026-06-26 09:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050153 -2.803336)'), GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.803483)'))) / (select extract(epoch from '2026-06-26 09:41:24'::timestamp) - extract(epoch from '2026-06-26 09:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050153 -2.803336)'), GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.803483)'))) / (select extract(epoch from '2026-06-26 09:41:24'::timestamp) - extract(epoch from '2026-06-26 09:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050067 -2.803561)', '2026-06-26 09:41:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.803483)'), GeomFromEWKT('SRID=4674;POINT (-40.050067 -2.803561)'))) / (select extract(epoch from '2026-06-26 09:41:30'::timestamp) - extract(epoch from '2026-06-26 09:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.803483)'), GeomFromEWKT('SRID=4674;POINT (-40.050067 -2.803561)'))) / (select extract(epoch from '2026-06-26 09:41:30'::timestamp) - extract(epoch from '2026-06-26 09:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46941, 'SRID=4674;POINT (-40.050039 -2.803659)', '2026-06-26 09:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050067 -2.803561)'), GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.803659)'))) / (select extract(epoch from '2026-06-26 09:41:37'::timestamp) - extract(epoch from '2026-06-26 09:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050067 -2.803561)'), GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.803659)'))) / (select extract(epoch from '2026-06-26 09:41:37'::timestamp) - extract(epoch from '2026-06-26 09:41: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'), 46941, 'SRID=4674;POINT (-40.050038 -2.803796)', '2026-06-26 09:41:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.803659)'), GeomFromEWKT('SRID=4674;POINT (-40.050038 -2.803796)'))) / (select extract(epoch from '2026-06-26 09:41:46'::timestamp) - extract(epoch from '2026-06-26 09:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050039 -2.803659)'), GeomFromEWKT('SRID=4674;POINT (-40.050038 -2.803796)'))) / (select extract(epoch from '2026-06-26 09:41:46'::timestamp) - extract(epoch from '2026-06-26 09:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
