BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.356516 -2.807004)', '2026-07-06 05:01:12', 2.6, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.356399 -2.806959)', '2026-07-06 05:01:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356516 -2.807004)'), GeomFromEWKT('SRID=4674;POINT (-40.356399 -2.806959)'))) / (select extract(epoch from '2026-07-06 05:01:19'::timestamp) - extract(epoch from '2026-07-06 05:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356516 -2.807004)'), GeomFromEWKT('SRID=4674;POINT (-40.356399 -2.806959)'))) / (select extract(epoch from '2026-07-06 05:01:19'::timestamp) - extract(epoch from '2026-07-06 05:01: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'), 47648, 'SRID=4674;POINT (-40.35628 -2.806889)', '2026-07-06 05:01:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356399 -2.806959)'), GeomFromEWKT('SRID=4674;POINT (-40.35628 -2.806889)'))) / (select extract(epoch from '2026-07-06 05:01:26'::timestamp) - extract(epoch from '2026-07-06 05:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356399 -2.806959)'), GeomFromEWKT('SRID=4674;POINT (-40.35628 -2.806889)'))) / (select extract(epoch from '2026-07-06 05:01:26'::timestamp) - extract(epoch from '2026-07-06 05:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.356153 -2.806809)', '2026-07-06 05:01:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35628 -2.806889)'), GeomFromEWKT('SRID=4674;POINT (-40.356153 -2.806809)'))) / (select extract(epoch from '2026-07-06 05:01:34'::timestamp) - extract(epoch from '2026-07-06 05:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35628 -2.806889)'), GeomFromEWKT('SRID=4674;POINT (-40.356153 -2.806809)'))) / (select extract(epoch from '2026-07-06 05:01:34'::timestamp) - extract(epoch from '2026-07-06 05:01:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.356043 -2.806723)', '2026-07-06 05:01:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356153 -2.806809)'), GeomFromEWKT('SRID=4674;POINT (-40.356043 -2.806723)'))) / (select extract(epoch from '2026-07-06 05:01:42'::timestamp) - extract(epoch from '2026-07-06 05:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356153 -2.806809)'), GeomFromEWKT('SRID=4674;POINT (-40.356043 -2.806723)'))) / (select extract(epoch from '2026-07-06 05:01:42'::timestamp) - extract(epoch from '2026-07-06 05:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.355936 -2.806626)', '2026-07-06 05:01:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356043 -2.806723)'), GeomFromEWKT('SRID=4674;POINT (-40.355936 -2.806626)'))) / (select extract(epoch from '2026-07-06 05:01:50'::timestamp) - extract(epoch from '2026-07-06 05:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.356043 -2.806723)'), GeomFromEWKT('SRID=4674;POINT (-40.355936 -2.806626)'))) / (select extract(epoch from '2026-07-06 05:01:50'::timestamp) - extract(epoch from '2026-07-06 05:01: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'), 47648, 'SRID=4674;POINT (-40.355805 -2.806533)', '2026-07-06 05:01:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355936 -2.806626)'), GeomFromEWKT('SRID=4674;POINT (-40.355805 -2.806533)'))) / (select extract(epoch from '2026-07-06 05:01:58'::timestamp) - extract(epoch from '2026-07-06 05:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355936 -2.806626)'), GeomFromEWKT('SRID=4674;POINT (-40.355805 -2.806533)'))) / (select extract(epoch from '2026-07-06 05:01:58'::timestamp) - extract(epoch from '2026-07-06 05:01:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.355685 -2.80645)', '2026-07-06 05:02:06', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355805 -2.806533)'), GeomFromEWKT('SRID=4674;POINT (-40.355685 -2.80645)'))) / (select extract(epoch from '2026-07-06 05:02:06'::timestamp) - extract(epoch from '2026-07-06 05:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355805 -2.806533)'), GeomFromEWKT('SRID=4674;POINT (-40.355685 -2.80645)'))) / (select extract(epoch from '2026-07-06 05:02:06'::timestamp) - extract(epoch from '2026-07-06 05:01: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'), 47648, 'SRID=4674;POINT (-40.355552 -2.806381)', '2026-07-06 05:02:14', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355685 -2.80645)'), GeomFromEWKT('SRID=4674;POINT (-40.355552 -2.806381)'))) / (select extract(epoch from '2026-07-06 05:02:14'::timestamp) - extract(epoch from '2026-07-06 05:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355685 -2.80645)'), GeomFromEWKT('SRID=4674;POINT (-40.355552 -2.806381)'))) / (select extract(epoch from '2026-07-06 05:02:14'::timestamp) - extract(epoch from '2026-07-06 05:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.355377 -2.806324)', '2026-07-06 05:02:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355552 -2.806381)'), GeomFromEWKT('SRID=4674;POINT (-40.355377 -2.806324)'))) / (select extract(epoch from '2026-07-06 05:02:24'::timestamp) - extract(epoch from '2026-07-06 05:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355552 -2.806381)'), GeomFromEWKT('SRID=4674;POINT (-40.355377 -2.806324)'))) / (select extract(epoch from '2026-07-06 05:02:24'::timestamp) - extract(epoch from '2026-07-06 05:02: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'), 47648, 'SRID=4674;POINT (-40.35524 -2.806278)', '2026-07-06 05:02:32', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355377 -2.806324)'), GeomFromEWKT('SRID=4674;POINT (-40.35524 -2.806278)'))) / (select extract(epoch from '2026-07-06 05:02:32'::timestamp) - extract(epoch from '2026-07-06 05:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355377 -2.806324)'), GeomFromEWKT('SRID=4674;POINT (-40.35524 -2.806278)'))) / (select extract(epoch from '2026-07-06 05:02:32'::timestamp) - extract(epoch from '2026-07-06 05:02: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'), 47648, 'SRID=4674;POINT (-40.355107 -2.806208)', '2026-07-06 05:02:40', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35524 -2.806278)'), GeomFromEWKT('SRID=4674;POINT (-40.355107 -2.806208)'))) / (select extract(epoch from '2026-07-06 05:02:40'::timestamp) - extract(epoch from '2026-07-06 05:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35524 -2.806278)'), GeomFromEWKT('SRID=4674;POINT (-40.355107 -2.806208)'))) / (select extract(epoch from '2026-07-06 05:02:40'::timestamp) - extract(epoch from '2026-07-06 05:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.354989 -2.80615)', '2026-07-06 05:02:47', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355107 -2.806208)'), GeomFromEWKT('SRID=4674;POINT (-40.354989 -2.80615)'))) / (select extract(epoch from '2026-07-06 05:02:47'::timestamp) - extract(epoch from '2026-07-06 05:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.355107 -2.806208)'), GeomFromEWKT('SRID=4674;POINT (-40.354989 -2.80615)'))) / (select extract(epoch from '2026-07-06 05:02:47'::timestamp) - extract(epoch from '2026-07-06 05:02:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.354858 -2.806093)', '2026-07-06 05:02:55', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354989 -2.80615)'), GeomFromEWKT('SRID=4674;POINT (-40.354858 -2.806093)'))) / (select extract(epoch from '2026-07-06 05:02:55'::timestamp) - extract(epoch from '2026-07-06 05:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354989 -2.80615)'), GeomFromEWKT('SRID=4674;POINT (-40.354858 -2.806093)'))) / (select extract(epoch from '2026-07-06 05:02:55'::timestamp) - extract(epoch from '2026-07-06 05:02:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.354732 -2.806048)', '2026-07-06 05:03:02', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354858 -2.806093)'), GeomFromEWKT('SRID=4674;POINT (-40.354732 -2.806048)'))) / (select extract(epoch from '2026-07-06 05:03:02'::timestamp) - extract(epoch from '2026-07-06 05:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354858 -2.806093)'), GeomFromEWKT('SRID=4674;POINT (-40.354732 -2.806048)'))) / (select extract(epoch from '2026-07-06 05:03:02'::timestamp) - extract(epoch from '2026-07-06 05:02:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.354597 -2.805993)', '2026-07-06 05:03:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354732 -2.806048)'), GeomFromEWKT('SRID=4674;POINT (-40.354597 -2.805993)'))) / (select extract(epoch from '2026-07-06 05:03:11'::timestamp) - extract(epoch from '2026-07-06 05:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354732 -2.806048)'), GeomFromEWKT('SRID=4674;POINT (-40.354597 -2.805993)'))) / (select extract(epoch from '2026-07-06 05:03:11'::timestamp) - extract(epoch from '2026-07-06 05:03: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'), 47648, 'SRID=4674;POINT (-40.35444 -2.805936)', '2026-07-06 05:03:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354597 -2.805993)'), GeomFromEWKT('SRID=4674;POINT (-40.35444 -2.805936)'))) / (select extract(epoch from '2026-07-06 05:03:20'::timestamp) - extract(epoch from '2026-07-06 05:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354597 -2.805993)'), GeomFromEWKT('SRID=4674;POINT (-40.35444 -2.805936)'))) / (select extract(epoch from '2026-07-06 05:03:20'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.354272 -2.805875)', '2026-07-06 05:03:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35444 -2.805936)'), GeomFromEWKT('SRID=4674;POINT (-40.354272 -2.805875)'))) / (select extract(epoch from '2026-07-06 05:03:31'::timestamp) - extract(epoch from '2026-07-06 05:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35444 -2.805936)'), GeomFromEWKT('SRID=4674;POINT (-40.354272 -2.805875)'))) / (select extract(epoch from '2026-07-06 05:03:31'::timestamp) - extract(epoch from '2026-07-06 05:03: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'), 47648, 'SRID=4674;POINT (-40.354117 -2.805817)', '2026-07-06 05:03:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354272 -2.805875)'), GeomFromEWKT('SRID=4674;POINT (-40.354117 -2.805817)'))) / (select extract(epoch from '2026-07-06 05:03:40'::timestamp) - extract(epoch from '2026-07-06 05:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354272 -2.805875)'), GeomFromEWKT('SRID=4674;POINT (-40.354117 -2.805817)'))) / (select extract(epoch from '2026-07-06 05:03:40'::timestamp) - extract(epoch from '2026-07-06 05:03: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'), 47648, 'SRID=4674;POINT (-40.353979 -2.805767)', '2026-07-06 05:03:48', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354117 -2.805817)'), GeomFromEWKT('SRID=4674;POINT (-40.353979 -2.805767)'))) / (select extract(epoch from '2026-07-06 05:03:48'::timestamp) - extract(epoch from '2026-07-06 05:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.354117 -2.805817)'), GeomFromEWKT('SRID=4674;POINT (-40.353979 -2.805767)'))) / (select extract(epoch from '2026-07-06 05:03:48'::timestamp) - extract(epoch from '2026-07-06 05:03:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.353843 -2.805715)', '2026-07-06 05:03:56', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353979 -2.805767)'), GeomFromEWKT('SRID=4674;POINT (-40.353843 -2.805715)'))) / (select extract(epoch from '2026-07-06 05:03:56'::timestamp) - extract(epoch from '2026-07-06 05:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353979 -2.805767)'), GeomFromEWKT('SRID=4674;POINT (-40.353843 -2.805715)'))) / (select extract(epoch from '2026-07-06 05:03:56'::timestamp) - extract(epoch from '2026-07-06 05:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.353715 -2.805667)', '2026-07-06 05:04:04', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353843 -2.805715)'), GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.805667)'))) / (select extract(epoch from '2026-07-06 05:04:04'::timestamp) - extract(epoch from '2026-07-06 05:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353843 -2.805715)'), GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.805667)'))) / (select extract(epoch from '2026-07-06 05:04:04'::timestamp) - extract(epoch from '2026-07-06 05:03: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'), 47648, 'SRID=4674;POINT (-40.353583 -2.80562)', '2026-07-06 05:04:11', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.805667)'), GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.80562)'))) / (select extract(epoch from '2026-07-06 05:04:11'::timestamp) - extract(epoch from '2026-07-06 05:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353715 -2.805667)'), GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.80562)'))) / (select extract(epoch from '2026-07-06 05:04:11'::timestamp) - extract(epoch from '2026-07-06 05:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.353459 -2.805571)', '2026-07-06 05:04:18', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.80562)'), GeomFromEWKT('SRID=4674;POINT (-40.353459 -2.805571)'))) / (select extract(epoch from '2026-07-06 05:04:18'::timestamp) - extract(epoch from '2026-07-06 05:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353583 -2.80562)'), GeomFromEWKT('SRID=4674;POINT (-40.353459 -2.805571)'))) / (select extract(epoch from '2026-07-06 05:04:18'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.353332 -2.805517)', '2026-07-06 05:04:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353459 -2.805571)'), GeomFromEWKT('SRID=4674;POINT (-40.353332 -2.805517)'))) / (select extract(epoch from '2026-07-06 05:04:26'::timestamp) - extract(epoch from '2026-07-06 05:04:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353459 -2.805571)'), GeomFromEWKT('SRID=4674;POINT (-40.353332 -2.805517)'))) / (select extract(epoch from '2026-07-06 05:04:26'::timestamp) - extract(epoch from '2026-07-06 05:04:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.35322 -2.805451)', '2026-07-06 05:04:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353332 -2.805517)'), GeomFromEWKT('SRID=4674;POINT (-40.35322 -2.805451)'))) / (select extract(epoch from '2026-07-06 05:04:33'::timestamp) - extract(epoch from '2026-07-06 05:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353332 -2.805517)'), GeomFromEWKT('SRID=4674;POINT (-40.35322 -2.805451)'))) / (select extract(epoch from '2026-07-06 05:04:33'::timestamp) - extract(epoch from '2026-07-06 05:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.353117 -2.805393)', '2026-07-06 05:04:40', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35322 -2.805451)'), GeomFromEWKT('SRID=4674;POINT (-40.353117 -2.805393)'))) / (select extract(epoch from '2026-07-06 05:04:40'::timestamp) - extract(epoch from '2026-07-06 05:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35322 -2.805451)'), GeomFromEWKT('SRID=4674;POINT (-40.353117 -2.805393)'))) / (select extract(epoch from '2026-07-06 05:04:40'::timestamp) - extract(epoch from '2026-07-06 05:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.353007 -2.805339)', '2026-07-06 05:04:47', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353117 -2.805393)'), GeomFromEWKT('SRID=4674;POINT (-40.353007 -2.805339)'))) / (select extract(epoch from '2026-07-06 05:04:47'::timestamp) - extract(epoch from '2026-07-06 05:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353117 -2.805393)'), GeomFromEWKT('SRID=4674;POINT (-40.353007 -2.805339)'))) / (select extract(epoch from '2026-07-06 05:04:47'::timestamp) - extract(epoch from '2026-07-06 05:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.352858 -2.80528)', '2026-07-06 05:04:56', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353007 -2.805339)'), GeomFromEWKT('SRID=4674;POINT (-40.352858 -2.80528)'))) / (select extract(epoch from '2026-07-06 05:04:56'::timestamp) - extract(epoch from '2026-07-06 05:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353007 -2.805339)'), GeomFromEWKT('SRID=4674;POINT (-40.352858 -2.80528)'))) / (select extract(epoch from '2026-07-06 05:04:56'::timestamp) - extract(epoch from '2026-07-06 05:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.352709 -2.805221)', '2026-07-06 05:05:04', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352858 -2.80528)'), GeomFromEWKT('SRID=4674;POINT (-40.352709 -2.805221)'))) / (select extract(epoch from '2026-07-06 05:05:04'::timestamp) - extract(epoch from '2026-07-06 05:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352858 -2.80528)'), GeomFromEWKT('SRID=4674;POINT (-40.352709 -2.805221)'))) / (select extract(epoch from '2026-07-06 05:05:04'::timestamp) - extract(epoch from '2026-07-06 05:04: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'), 47648, 'SRID=4674;POINT (-40.352546 -2.805166)', '2026-07-06 05:05:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352709 -2.805221)'), GeomFromEWKT('SRID=4674;POINT (-40.352546 -2.805166)'))) / (select extract(epoch from '2026-07-06 05:05:13'::timestamp) - extract(epoch from '2026-07-06 05:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352709 -2.805221)'), GeomFromEWKT('SRID=4674;POINT (-40.352546 -2.805166)'))) / (select extract(epoch from '2026-07-06 05:05:13'::timestamp) - extract(epoch from '2026-07-06 05:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.352374 -2.805112)', '2026-07-06 05:05:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352546 -2.805166)'), GeomFromEWKT('SRID=4674;POINT (-40.352374 -2.805112)'))) / (select extract(epoch from '2026-07-06 05:05:21'::timestamp) - extract(epoch from '2026-07-06 05:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352546 -2.805166)'), GeomFromEWKT('SRID=4674;POINT (-40.352374 -2.805112)'))) / (select extract(epoch from '2026-07-06 05:05:21'::timestamp) - extract(epoch from '2026-07-06 05:05: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'), 47648, 'SRID=4674;POINT (-40.352205 -2.805062)', '2026-07-06 05:05:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352374 -2.805112)'), GeomFromEWKT('SRID=4674;POINT (-40.352205 -2.805062)'))) / (select extract(epoch from '2026-07-06 05:05:31'::timestamp) - extract(epoch from '2026-07-06 05:05:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352374 -2.805112)'), GeomFromEWKT('SRID=4674;POINT (-40.352205 -2.805062)'))) / (select extract(epoch from '2026-07-06 05:05:31'::timestamp) - extract(epoch from '2026-07-06 05:05: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'), 47648, 'SRID=4674;POINT (-40.352064 -2.805027)', '2026-07-06 05:05:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352205 -2.805062)'), GeomFromEWKT('SRID=4674;POINT (-40.352064 -2.805027)'))) / (select extract(epoch from '2026-07-06 05:05:39'::timestamp) - extract(epoch from '2026-07-06 05:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352205 -2.805062)'), GeomFromEWKT('SRID=4674;POINT (-40.352064 -2.805027)'))) / (select extract(epoch from '2026-07-06 05:05:39'::timestamp) - extract(epoch from '2026-07-06 05:05: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'), 47648, 'SRID=4674;POINT (-40.351901 -2.805001)', '2026-07-06 05:05:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352064 -2.805027)'), GeomFromEWKT('SRID=4674;POINT (-40.351901 -2.805001)'))) / (select extract(epoch from '2026-07-06 05:05:48'::timestamp) - extract(epoch from '2026-07-06 05:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352064 -2.805027)'), GeomFromEWKT('SRID=4674;POINT (-40.351901 -2.805001)'))) / (select extract(epoch from '2026-07-06 05:05:48'::timestamp) - extract(epoch from '2026-07-06 05:05:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.351733 -2.804969)', '2026-07-06 05:05:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351901 -2.805001)'), GeomFromEWKT('SRID=4674;POINT (-40.351733 -2.804969)'))) / (select extract(epoch from '2026-07-06 05:05:57'::timestamp) - extract(epoch from '2026-07-06 05:05:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351901 -2.805001)'), GeomFromEWKT('SRID=4674;POINT (-40.351733 -2.804969)'))) / (select extract(epoch from '2026-07-06 05:05:57'::timestamp) - extract(epoch from '2026-07-06 05:05: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'), 47648, 'SRID=4674;POINT (-40.351588 -2.804942)', '2026-07-06 05:06:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351733 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.351588 -2.804942)'))) / (select extract(epoch from '2026-07-06 05:06:05'::timestamp) - extract(epoch from '2026-07-06 05:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351733 -2.804969)'), GeomFromEWKT('SRID=4674;POINT (-40.351588 -2.804942)'))) / (select extract(epoch from '2026-07-06 05:06:05'::timestamp) - extract(epoch from '2026-07-06 05:05: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'), 47648, 'SRID=4674;POINT (-40.351404 -2.804889)', '2026-07-06 05:06:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351588 -2.804942)'), GeomFromEWKT('SRID=4674;POINT (-40.351404 -2.804889)'))) / (select extract(epoch from '2026-07-06 05:06:16'::timestamp) - extract(epoch from '2026-07-06 05:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351588 -2.804942)'), GeomFromEWKT('SRID=4674;POINT (-40.351404 -2.804889)'))) / (select extract(epoch from '2026-07-06 05:06:16'::timestamp) - extract(epoch from '2026-07-06 05:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.351247 -2.804815)', '2026-07-06 05:06:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351404 -2.804889)'), GeomFromEWKT('SRID=4674;POINT (-40.351247 -2.804815)'))) / (select extract(epoch from '2026-07-06 05:06:25'::timestamp) - extract(epoch from '2026-07-06 05:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351404 -2.804889)'), GeomFromEWKT('SRID=4674;POINT (-40.351247 -2.804815)'))) / (select extract(epoch from '2026-07-06 05:06:25'::timestamp) - extract(epoch from '2026-07-06 05:06: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'), 47648, 'SRID=4674;POINT (-40.351072 -2.80474)', '2026-07-06 05:06:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351247 -2.804815)'), GeomFromEWKT('SRID=4674;POINT (-40.351072 -2.80474)'))) / (select extract(epoch from '2026-07-06 05:06:36'::timestamp) - extract(epoch from '2026-07-06 05:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351247 -2.804815)'), GeomFromEWKT('SRID=4674;POINT (-40.351072 -2.80474)'))) / (select extract(epoch from '2026-07-06 05:06:36'::timestamp) - extract(epoch from '2026-07-06 05:06: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'), 47648, 'SRID=4674;POINT (-40.350951 -2.804659)', '2026-07-06 05:06:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351072 -2.80474)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.804659)'))) / (select extract(epoch from '2026-07-06 05:06:44'::timestamp) - extract(epoch from '2026-07-06 05:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351072 -2.80474)'), GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.804659)'))) / (select extract(epoch from '2026-07-06 05:06:44'::timestamp) - extract(epoch from '2026-07-06 05:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.350857 -2.804591)', '2026-07-06 05:06:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.804659)'), GeomFromEWKT('SRID=4674;POINT (-40.350857 -2.804591)'))) / (select extract(epoch from '2026-07-06 05:06:51'::timestamp) - extract(epoch from '2026-07-06 05:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350951 -2.804659)'), GeomFromEWKT('SRID=4674;POINT (-40.350857 -2.804591)'))) / (select extract(epoch from '2026-07-06 05:06:51'::timestamp) - extract(epoch from '2026-07-06 05:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.350739 -2.804502)', '2026-07-06 05:06:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350857 -2.804591)'), GeomFromEWKT('SRID=4674;POINT (-40.350739 -2.804502)'))) / (select extract(epoch from '2026-07-06 05:06:59'::timestamp) - extract(epoch from '2026-07-06 05:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350857 -2.804591)'), GeomFromEWKT('SRID=4674;POINT (-40.350739 -2.804502)'))) / (select extract(epoch from '2026-07-06 05:06:59'::timestamp) - extract(epoch from '2026-07-06 05:06:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.350626 -2.804423)', '2026-07-06 05:07:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350739 -2.804502)'), GeomFromEWKT('SRID=4674;POINT (-40.350626 -2.804423)'))) / (select extract(epoch from '2026-07-06 05:07:07'::timestamp) - extract(epoch from '2026-07-06 05:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350739 -2.804502)'), GeomFromEWKT('SRID=4674;POINT (-40.350626 -2.804423)'))) / (select extract(epoch from '2026-07-06 05:07:07'::timestamp) - extract(epoch from '2026-07-06 05:06: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'), 47648, 'SRID=4674;POINT (-40.350499 -2.804345)', '2026-07-06 05:07:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350626 -2.804423)'), GeomFromEWKT('SRID=4674;POINT (-40.350499 -2.804345)'))) / (select extract(epoch from '2026-07-06 05:07:15'::timestamp) - extract(epoch from '2026-07-06 05:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350626 -2.804423)'), GeomFromEWKT('SRID=4674;POINT (-40.350499 -2.804345)'))) / (select extract(epoch from '2026-07-06 05:07:15'::timestamp) - extract(epoch from '2026-07-06 05:07: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'), 47648, 'SRID=4674;POINT (-40.350365 -2.804279)', '2026-07-06 05:07:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350499 -2.804345)'), GeomFromEWKT('SRID=4674;POINT (-40.350365 -2.804279)'))) / (select extract(epoch from '2026-07-06 05:07:23'::timestamp) - extract(epoch from '2026-07-06 05:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350499 -2.804345)'), GeomFromEWKT('SRID=4674;POINT (-40.350365 -2.804279)'))) / (select extract(epoch from '2026-07-06 05:07:23'::timestamp) - extract(epoch from '2026-07-06 05:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.350231 -2.804214)', '2026-07-06 05:07:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350365 -2.804279)'), GeomFromEWKT('SRID=4674;POINT (-40.350231 -2.804214)'))) / (select extract(epoch from '2026-07-06 05:07:31'::timestamp) - extract(epoch from '2026-07-06 05:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350365 -2.804279)'), GeomFromEWKT('SRID=4674;POINT (-40.350231 -2.804214)'))) / (select extract(epoch from '2026-07-06 05:07:31'::timestamp) - extract(epoch from '2026-07-06 05:07:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.350089 -2.804155)', '2026-07-06 05:07:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350231 -2.804214)'), GeomFromEWKT('SRID=4674;POINT (-40.350089 -2.804155)'))) / (select extract(epoch from '2026-07-06 05:07:40'::timestamp) - extract(epoch from '2026-07-06 05:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350231 -2.804214)'), GeomFromEWKT('SRID=4674;POINT (-40.350089 -2.804155)'))) / (select extract(epoch from '2026-07-06 05:07:40'::timestamp) - extract(epoch from '2026-07-06 05:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.349952 -2.804094)', '2026-07-06 05:07:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350089 -2.804155)'), GeomFromEWKT('SRID=4674;POINT (-40.349952 -2.804094)'))) / (select extract(epoch from '2026-07-06 05:07:48'::timestamp) - extract(epoch from '2026-07-06 05:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350089 -2.804155)'), GeomFromEWKT('SRID=4674;POINT (-40.349952 -2.804094)'))) / (select extract(epoch from '2026-07-06 05:07:48'::timestamp) - extract(epoch from '2026-07-06 05:07: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'), 47648, 'SRID=4674;POINT (-40.349785 -2.804014)', '2026-07-06 05:07:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349952 -2.804094)'), GeomFromEWKT('SRID=4674;POINT (-40.349785 -2.804014)'))) / (select extract(epoch from '2026-07-06 05:07:58'::timestamp) - extract(epoch from '2026-07-06 05:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349952 -2.804094)'), GeomFromEWKT('SRID=4674;POINT (-40.349785 -2.804014)'))) / (select extract(epoch from '2026-07-06 05:07:58'::timestamp) - extract(epoch from '2026-07-06 05:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.34965 -2.803942)', '2026-07-06 05:08:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349785 -2.804014)'), GeomFromEWKT('SRID=4674;POINT (-40.34965 -2.803942)'))) / (select extract(epoch from '2026-07-06 05:08:06'::timestamp) - extract(epoch from '2026-07-06 05:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349785 -2.804014)'), GeomFromEWKT('SRID=4674;POINT (-40.34965 -2.803942)'))) / (select extract(epoch from '2026-07-06 05:08:06'::timestamp) - extract(epoch from '2026-07-06 05:07: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'), 47648, 'SRID=4674;POINT (-40.349521 -2.803866)', '2026-07-06 05:08:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34965 -2.803942)'), GeomFromEWKT('SRID=4674;POINT (-40.349521 -2.803866)'))) / (select extract(epoch from '2026-07-06 05:08:14'::timestamp) - extract(epoch from '2026-07-06 05:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34965 -2.803942)'), GeomFromEWKT('SRID=4674;POINT (-40.349521 -2.803866)'))) / (select extract(epoch from '2026-07-06 05:08:14'::timestamp) - extract(epoch from '2026-07-06 05:08: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'), 47648, 'SRID=4674;POINT (-40.349351 -2.803784)', '2026-07-06 05:08:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349521 -2.803866)'), GeomFromEWKT('SRID=4674;POINT (-40.349351 -2.803784)'))) / (select extract(epoch from '2026-07-06 05:08:24'::timestamp) - extract(epoch from '2026-07-06 05:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349521 -2.803866)'), GeomFromEWKT('SRID=4674;POINT (-40.349351 -2.803784)'))) / (select extract(epoch from '2026-07-06 05:08:24'::timestamp) - extract(epoch from '2026-07-06 05:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.349216 -2.80371)', '2026-07-06 05:08:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349351 -2.803784)'), GeomFromEWKT('SRID=4674;POINT (-40.349216 -2.80371)'))) / (select extract(epoch from '2026-07-06 05:08:32'::timestamp) - extract(epoch from '2026-07-06 05:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349351 -2.803784)'), GeomFromEWKT('SRID=4674;POINT (-40.349216 -2.80371)'))) / (select extract(epoch from '2026-07-06 05:08:32'::timestamp) - extract(epoch from '2026-07-06 05:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.349087 -2.803626)', '2026-07-06 05:08:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349216 -2.80371)'), GeomFromEWKT('SRID=4674;POINT (-40.349087 -2.803626)'))) / (select extract(epoch from '2026-07-06 05:08:41'::timestamp) - extract(epoch from '2026-07-06 05:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349216 -2.80371)'), GeomFromEWKT('SRID=4674;POINT (-40.349087 -2.803626)'))) / (select extract(epoch from '2026-07-06 05:08:41'::timestamp) - extract(epoch from '2026-07-06 05:08: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'), 47648, 'SRID=4674;POINT (-40.348985 -2.803551)', '2026-07-06 05:08:49', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349087 -2.803626)'), GeomFromEWKT('SRID=4674;POINT (-40.348985 -2.803551)'))) / (select extract(epoch from '2026-07-06 05:08:49'::timestamp) - extract(epoch from '2026-07-06 05:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349087 -2.803626)'), GeomFromEWKT('SRID=4674;POINT (-40.348985 -2.803551)'))) / (select extract(epoch from '2026-07-06 05:08:49'::timestamp) - extract(epoch from '2026-07-06 05:08:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.348896 -2.80346)', '2026-07-06 05:08:57', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348985 -2.803551)'), GeomFromEWKT('SRID=4674;POINT (-40.348896 -2.80346)'))) / (select extract(epoch from '2026-07-06 05:08:57'::timestamp) - extract(epoch from '2026-07-06 05:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348985 -2.803551)'), GeomFromEWKT('SRID=4674;POINT (-40.348896 -2.80346)'))) / (select extract(epoch from '2026-07-06 05:08:57'::timestamp) - extract(epoch from '2026-07-06 05:08: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'), 47648, 'SRID=4674;POINT (-40.348773 -2.80334)', '2026-07-06 05:09:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348896 -2.80346)'), GeomFromEWKT('SRID=4674;POINT (-40.348773 -2.80334)'))) / (select extract(epoch from '2026-07-06 05:09:06'::timestamp) - extract(epoch from '2026-07-06 05:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348896 -2.80346)'), GeomFromEWKT('SRID=4674;POINT (-40.348773 -2.80334)'))) / (select extract(epoch from '2026-07-06 05:09:06'::timestamp) - extract(epoch from '2026-07-06 05:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.348676 -2.803251)', '2026-07-06 05:09:13', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348773 -2.80334)'), GeomFromEWKT('SRID=4674;POINT (-40.348676 -2.803251)'))) / (select extract(epoch from '2026-07-06 05:09:13'::timestamp) - extract(epoch from '2026-07-06 05:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348773 -2.80334)'), GeomFromEWKT('SRID=4674;POINT (-40.348676 -2.803251)'))) / (select extract(epoch from '2026-07-06 05:09:13'::timestamp) - extract(epoch from '2026-07-06 05:09: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'), 47648, 'SRID=4674;POINT (-40.348546 -2.803139)', '2026-07-06 05:09:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348676 -2.803251)'), GeomFromEWKT('SRID=4674;POINT (-40.348546 -2.803139)'))) / (select extract(epoch from '2026-07-06 05:09:22'::timestamp) - extract(epoch from '2026-07-06 05:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348676 -2.803251)'), GeomFromEWKT('SRID=4674;POINT (-40.348546 -2.803139)'))) / (select extract(epoch from '2026-07-06 05:09:22'::timestamp) - extract(epoch from '2026-07-06 05:09: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'), 47648, 'SRID=4674;POINT (-40.348382 -2.803039)', '2026-07-06 05:09:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348546 -2.803139)'), GeomFromEWKT('SRID=4674;POINT (-40.348382 -2.803039)'))) / (select extract(epoch from '2026-07-06 05:09:32'::timestamp) - extract(epoch from '2026-07-06 05:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348546 -2.803139)'), GeomFromEWKT('SRID=4674;POINT (-40.348382 -2.803039)'))) / (select extract(epoch from '2026-07-06 05:09:32'::timestamp) - extract(epoch from '2026-07-06 05:09: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'), 47648, 'SRID=4674;POINT (-40.348269 -2.802969)', '2026-07-06 05:09:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348382 -2.803039)'), GeomFromEWKT('SRID=4674;POINT (-40.348269 -2.802969)'))) / (select extract(epoch from '2026-07-06 05:09:39'::timestamp) - extract(epoch from '2026-07-06 05:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348382 -2.803039)'), GeomFromEWKT('SRID=4674;POINT (-40.348269 -2.802969)'))) / (select extract(epoch from '2026-07-06 05:09:39'::timestamp) - extract(epoch from '2026-07-06 05:09: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'), 47648, 'SRID=4674;POINT (-40.348127 -2.802883)', '2026-07-06 05:09:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348269 -2.802969)'), GeomFromEWKT('SRID=4674;POINT (-40.348127 -2.802883)'))) / (select extract(epoch from '2026-07-06 05:09:48'::timestamp) - extract(epoch from '2026-07-06 05:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348269 -2.802969)'), GeomFromEWKT('SRID=4674;POINT (-40.348127 -2.802883)'))) / (select extract(epoch from '2026-07-06 05:09:48'::timestamp) - extract(epoch from '2026-07-06 05:09: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'), 47648, 'SRID=4674;POINT (-40.348017 -2.802798)', '2026-07-06 05:09:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348127 -2.802883)'), GeomFromEWKT('SRID=4674;POINT (-40.348017 -2.802798)'))) / (select extract(epoch from '2026-07-06 05:09:56'::timestamp) - extract(epoch from '2026-07-06 05:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348127 -2.802883)'), GeomFromEWKT('SRID=4674;POINT (-40.348017 -2.802798)'))) / (select extract(epoch from '2026-07-06 05:09:56'::timestamp) - extract(epoch from '2026-07-06 05:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.347922 -2.802729)', '2026-07-06 05:10:03', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348017 -2.802798)'), GeomFromEWKT('SRID=4674;POINT (-40.347922 -2.802729)'))) / (select extract(epoch from '2026-07-06 05:10:03'::timestamp) - extract(epoch from '2026-07-06 05:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348017 -2.802798)'), GeomFromEWKT('SRID=4674;POINT (-40.347922 -2.802729)'))) / (select extract(epoch from '2026-07-06 05:10:03'::timestamp) - extract(epoch from '2026-07-06 05:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.347826 -2.80266)', '2026-07-06 05:10:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347922 -2.802729)'), GeomFromEWKT('SRID=4674;POINT (-40.347826 -2.80266)'))) / (select extract(epoch from '2026-07-06 05:10:10'::timestamp) - extract(epoch from '2026-07-06 05:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347922 -2.802729)'), GeomFromEWKT('SRID=4674;POINT (-40.347826 -2.80266)'))) / (select extract(epoch from '2026-07-06 05:10:10'::timestamp) - extract(epoch from '2026-07-06 05:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.347684 -2.802567)', '2026-07-06 05:10:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347826 -2.80266)'), GeomFromEWKT('SRID=4674;POINT (-40.347684 -2.802567)'))) / (select extract(epoch from '2026-07-06 05:10:19'::timestamp) - extract(epoch from '2026-07-06 05:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347826 -2.80266)'), GeomFromEWKT('SRID=4674;POINT (-40.347684 -2.802567)'))) / (select extract(epoch from '2026-07-06 05:10:19'::timestamp) - extract(epoch from '2026-07-06 05:10: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'), 47648, 'SRID=4674;POINT (-40.347529 -2.802461)', '2026-07-06 05:10:28', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347684 -2.802567)'), GeomFromEWKT('SRID=4674;POINT (-40.347529 -2.802461)'))) / (select extract(epoch from '2026-07-06 05:10:28'::timestamp) - extract(epoch from '2026-07-06 05:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347684 -2.802567)'), GeomFromEWKT('SRID=4674;POINT (-40.347529 -2.802461)'))) / (select extract(epoch from '2026-07-06 05:10:28'::timestamp) - extract(epoch from '2026-07-06 05:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.347368 -2.802355)', '2026-07-06 05:10:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347529 -2.802461)'), GeomFromEWKT('SRID=4674;POINT (-40.347368 -2.802355)'))) / (select extract(epoch from '2026-07-06 05:10:39'::timestamp) - extract(epoch from '2026-07-06 05:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347529 -2.802461)'), GeomFromEWKT('SRID=4674;POINT (-40.347368 -2.802355)'))) / (select extract(epoch from '2026-07-06 05:10:39'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.347223 -2.802278)', '2026-07-06 05:10:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347368 -2.802355)'), GeomFromEWKT('SRID=4674;POINT (-40.347223 -2.802278)'))) / (select extract(epoch from '2026-07-06 05:10:48'::timestamp) - extract(epoch from '2026-07-06 05:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347368 -2.802355)'), GeomFromEWKT('SRID=4674;POINT (-40.347223 -2.802278)'))) / (select extract(epoch from '2026-07-06 05:10:48'::timestamp) - extract(epoch from '2026-07-06 05:10: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'), 47648, 'SRID=4674;POINT (-40.347095 -2.802211)', '2026-07-06 05:10:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347223 -2.802278)'), GeomFromEWKT('SRID=4674;POINT (-40.347095 -2.802211)'))) / (select extract(epoch from '2026-07-06 05:10:56'::timestamp) - extract(epoch from '2026-07-06 05:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347223 -2.802278)'), GeomFromEWKT('SRID=4674;POINT (-40.347095 -2.802211)'))) / (select extract(epoch from '2026-07-06 05:10:56'::timestamp) - extract(epoch from '2026-07-06 05:10: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'), 47648, 'SRID=4674;POINT (-40.34691 -2.802127)', '2026-07-06 05:11:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347095 -2.802211)'), GeomFromEWKT('SRID=4674;POINT (-40.34691 -2.802127)'))) / (select extract(epoch from '2026-07-06 05:11:07'::timestamp) - extract(epoch from '2026-07-06 05:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347095 -2.802211)'), GeomFromEWKT('SRID=4674;POINT (-40.34691 -2.802127)'))) / (select extract(epoch from '2026-07-06 05:11:07'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.346772 -2.80207)', '2026-07-06 05:11:15', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34691 -2.802127)'), GeomFromEWKT('SRID=4674;POINT (-40.346772 -2.80207)'))) / (select extract(epoch from '2026-07-06 05:11:15'::timestamp) - extract(epoch from '2026-07-06 05:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34691 -2.802127)'), GeomFromEWKT('SRID=4674;POINT (-40.346772 -2.80207)'))) / (select extract(epoch from '2026-07-06 05:11:15'::timestamp) - extract(epoch from '2026-07-06 05:11: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'), 47648, 'SRID=4674;POINT (-40.346584 -2.801987)', '2026-07-06 05:11:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346772 -2.80207)'), GeomFromEWKT('SRID=4674;POINT (-40.346584 -2.801987)'))) / (select extract(epoch from '2026-07-06 05:11:26'::timestamp) - extract(epoch from '2026-07-06 05:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346772 -2.80207)'), GeomFromEWKT('SRID=4674;POINT (-40.346584 -2.801987)'))) / (select extract(epoch from '2026-07-06 05:11:26'::timestamp) - extract(epoch from '2026-07-06 05:11: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'), 47648, 'SRID=4674;POINT (-40.346402 -2.801893)', '2026-07-06 05:11:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346584 -2.801987)'), GeomFromEWKT('SRID=4674;POINT (-40.346402 -2.801893)'))) / (select extract(epoch from '2026-07-06 05:11:37'::timestamp) - extract(epoch from '2026-07-06 05:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346584 -2.801987)'), GeomFromEWKT('SRID=4674;POINT (-40.346402 -2.801893)'))) / (select extract(epoch from '2026-07-06 05:11:37'::timestamp) - extract(epoch from '2026-07-06 05:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.346306 -2.801854)', '2026-07-06 05:11:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346402 -2.801893)'), GeomFromEWKT('SRID=4674;POINT (-40.346306 -2.801854)'))) / (select extract(epoch from '2026-07-06 05:11:43'::timestamp) - extract(epoch from '2026-07-06 05:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346402 -2.801893)'), GeomFromEWKT('SRID=4674;POINT (-40.346306 -2.801854)'))) / (select extract(epoch from '2026-07-06 05:11:43'::timestamp) - extract(epoch from '2026-07-06 05:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.346189 -2.801803)', '2026-07-06 05:11:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346306 -2.801854)'), GeomFromEWKT('SRID=4674;POINT (-40.346189 -2.801803)'))) / (select extract(epoch from '2026-07-06 05:11:50'::timestamp) - extract(epoch from '2026-07-06 05:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346306 -2.801854)'), GeomFromEWKT('SRID=4674;POINT (-40.346189 -2.801803)'))) / (select extract(epoch from '2026-07-06 05:11:50'::timestamp) - extract(epoch from '2026-07-06 05:11: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'), 47648, 'SRID=4674;POINT (-40.346059 -2.80175)', '2026-07-06 05:11:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346189 -2.801803)'), GeomFromEWKT('SRID=4674;POINT (-40.346059 -2.80175)'))) / (select extract(epoch from '2026-07-06 05:11:58'::timestamp) - extract(epoch from '2026-07-06 05:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346189 -2.801803)'), GeomFromEWKT('SRID=4674;POINT (-40.346059 -2.80175)'))) / (select extract(epoch from '2026-07-06 05:11:58'::timestamp) - extract(epoch from '2026-07-06 05:11: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'), 47648, 'SRID=4674;POINT (-40.34593 -2.801703)', '2026-07-06 05:12:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346059 -2.80175)'), GeomFromEWKT('SRID=4674;POINT (-40.34593 -2.801703)'))) / (select extract(epoch from '2026-07-06 05:12:06'::timestamp) - extract(epoch from '2026-07-06 05:11:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346059 -2.80175)'), GeomFromEWKT('SRID=4674;POINT (-40.34593 -2.801703)'))) / (select extract(epoch from '2026-07-06 05:12:06'::timestamp) - extract(epoch from '2026-07-06 05:11: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'), 47648, 'SRID=4674;POINT (-40.345782 -2.80164)', '2026-07-06 05:12:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34593 -2.801703)'), GeomFromEWKT('SRID=4674;POINT (-40.345782 -2.80164)'))) / (select extract(epoch from '2026-07-06 05:12:15'::timestamp) - extract(epoch from '2026-07-06 05:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34593 -2.801703)'), GeomFromEWKT('SRID=4674;POINT (-40.345782 -2.80164)'))) / (select extract(epoch from '2026-07-06 05:12:15'::timestamp) - extract(epoch from '2026-07-06 05:12:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.34563 -2.80157)', '2026-07-06 05:12:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345782 -2.80164)'), GeomFromEWKT('SRID=4674;POINT (-40.34563 -2.80157)'))) / (select extract(epoch from '2026-07-06 05:12:24'::timestamp) - extract(epoch from '2026-07-06 05:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345782 -2.80164)'), GeomFromEWKT('SRID=4674;POINT (-40.34563 -2.80157)'))) / (select extract(epoch from '2026-07-06 05:12:24'::timestamp) - extract(epoch from '2026-07-06 05:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.345519 -2.801508)', '2026-07-06 05:12:31', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34563 -2.80157)'), GeomFromEWKT('SRID=4674;POINT (-40.345519 -2.801508)'))) / (select extract(epoch from '2026-07-06 05:12:31'::timestamp) - extract(epoch from '2026-07-06 05:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34563 -2.80157)'), GeomFromEWKT('SRID=4674;POINT (-40.345519 -2.801508)'))) / (select extract(epoch from '2026-07-06 05:12:31'::timestamp) - extract(epoch from '2026-07-06 05:12: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'), 47648, 'SRID=4674;POINT (-40.345382 -2.801415)', '2026-07-06 05:12:40', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345519 -2.801508)'), GeomFromEWKT('SRID=4674;POINT (-40.345382 -2.801415)'))) / (select extract(epoch from '2026-07-06 05:12:40'::timestamp) - extract(epoch from '2026-07-06 05:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345519 -2.801508)'), GeomFromEWKT('SRID=4674;POINT (-40.345382 -2.801415)'))) / (select extract(epoch from '2026-07-06 05:12:40'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.345226 -2.801353)', '2026-07-06 05:12:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345382 -2.801415)'), GeomFromEWKT('SRID=4674;POINT (-40.345226 -2.801353)'))) / (select extract(epoch from '2026-07-06 05:12:50'::timestamp) - extract(epoch from '2026-07-06 05:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345382 -2.801415)'), GeomFromEWKT('SRID=4674;POINT (-40.345226 -2.801353)'))) / (select extract(epoch from '2026-07-06 05:12:50'::timestamp) - extract(epoch from '2026-07-06 05:12: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'), 47648, 'SRID=4674;POINT (-40.345113 -2.801292)', '2026-07-06 05:12:57', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345226 -2.801353)'), GeomFromEWKT('SRID=4674;POINT (-40.345113 -2.801292)'))) / (select extract(epoch from '2026-07-06 05:12:57'::timestamp) - extract(epoch from '2026-07-06 05:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345226 -2.801353)'), GeomFromEWKT('SRID=4674;POINT (-40.345113 -2.801292)'))) / (select extract(epoch from '2026-07-06 05:12:57'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.344971 -2.801221)', '2026-07-06 05:13:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345113 -2.801292)'), GeomFromEWKT('SRID=4674;POINT (-40.344971 -2.801221)'))) / (select extract(epoch from '2026-07-06 05:13:06'::timestamp) - extract(epoch from '2026-07-06 05:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345113 -2.801292)'), GeomFromEWKT('SRID=4674;POINT (-40.344971 -2.801221)'))) / (select extract(epoch from '2026-07-06 05:13:06'::timestamp) - extract(epoch from '2026-07-06 05:12: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'), 47648, 'SRID=4674;POINT (-40.344862 -2.80115)', '2026-07-06 05:13:15', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344971 -2.801221)'), GeomFromEWKT('SRID=4674;POINT (-40.344862 -2.80115)'))) / (select extract(epoch from '2026-07-06 05:13:15'::timestamp) - extract(epoch from '2026-07-06 05:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344971 -2.801221)'), GeomFromEWKT('SRID=4674;POINT (-40.344862 -2.80115)'))) / (select extract(epoch from '2026-07-06 05:13:15'::timestamp) - extract(epoch from '2026-07-06 05:13: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'), 47648, 'SRID=4674;POINT (-40.344776 -2.801059)', '2026-07-06 05:13:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344862 -2.80115)'), GeomFromEWKT('SRID=4674;POINT (-40.344776 -2.801059)'))) / (select extract(epoch from '2026-07-06 05:13:24'::timestamp) - extract(epoch from '2026-07-06 05:13:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344862 -2.80115)'), GeomFromEWKT('SRID=4674;POINT (-40.344776 -2.801059)'))) / (select extract(epoch from '2026-07-06 05:13:24'::timestamp) - extract(epoch from '2026-07-06 05:13: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'), 47648, 'SRID=4674;POINT (-40.344633 -2.800971)', '2026-07-06 05:13:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344776 -2.801059)'), GeomFromEWKT('SRID=4674;POINT (-40.344633 -2.800971)'))) / (select extract(epoch from '2026-07-06 05:13:33'::timestamp) - extract(epoch from '2026-07-06 05:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344776 -2.801059)'), GeomFromEWKT('SRID=4674;POINT (-40.344633 -2.800971)'))) / (select extract(epoch from '2026-07-06 05:13:33'::timestamp) - extract(epoch from '2026-07-06 05:13: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'), 47648, 'SRID=4674;POINT (-40.344468 -2.800861)', '2026-07-06 05:13:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344633 -2.800971)'), GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.800861)'))) / (select extract(epoch from '2026-07-06 05:13:43'::timestamp) - extract(epoch from '2026-07-06 05:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344633 -2.800971)'), GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.800861)'))) / (select extract(epoch from '2026-07-06 05:13:43'::timestamp) - extract(epoch from '2026-07-06 05:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.344328 -2.800772)', '2026-07-06 05:13:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.344328 -2.800772)'))) / (select extract(epoch from '2026-07-06 05:13:52'::timestamp) - extract(epoch from '2026-07-06 05:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.800861)'), GeomFromEWKT('SRID=4674;POINT (-40.344328 -2.800772)'))) / (select extract(epoch from '2026-07-06 05:13:52'::timestamp) - extract(epoch from '2026-07-06 05:13: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'), 47648, 'SRID=4674;POINT (-40.344207 -2.800688)', '2026-07-06 05:14:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344328 -2.800772)'), GeomFromEWKT('SRID=4674;POINT (-40.344207 -2.800688)'))) / (select extract(epoch from '2026-07-06 05:14:00'::timestamp) - extract(epoch from '2026-07-06 05:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344328 -2.800772)'), GeomFromEWKT('SRID=4674;POINT (-40.344207 -2.800688)'))) / (select extract(epoch from '2026-07-06 05:14:00'::timestamp) - extract(epoch from '2026-07-06 05:13: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'), 47648, 'SRID=4674;POINT (-40.34408 -2.800606)', '2026-07-06 05:14:08', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344207 -2.800688)'), GeomFromEWKT('SRID=4674;POINT (-40.34408 -2.800606)'))) / (select extract(epoch from '2026-07-06 05:14:08'::timestamp) - extract(epoch from '2026-07-06 05:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344207 -2.800688)'), GeomFromEWKT('SRID=4674;POINT (-40.34408 -2.800606)'))) / (select extract(epoch from '2026-07-06 05:14:08'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.343942 -2.800506)', '2026-07-06 05:14:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34408 -2.800606)'), GeomFromEWKT('SRID=4674;POINT (-40.343942 -2.800506)'))) / (select extract(epoch from '2026-07-06 05:14:17'::timestamp) - extract(epoch from '2026-07-06 05:14:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34408 -2.800606)'), GeomFromEWKT('SRID=4674;POINT (-40.343942 -2.800506)'))) / (select extract(epoch from '2026-07-06 05:14:17'::timestamp) - extract(epoch from '2026-07-06 05:14:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.343836 -2.800398)', '2026-07-06 05:14:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343942 -2.800506)'), GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.800398)'))) / (select extract(epoch from '2026-07-06 05:14:26'::timestamp) - extract(epoch from '2026-07-06 05:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343942 -2.800506)'), GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.800398)'))) / (select extract(epoch from '2026-07-06 05:14:26'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.343709 -2.800274)', '2026-07-06 05:14:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.800398)'), GeomFromEWKT('SRID=4674;POINT (-40.343709 -2.800274)'))) / (select extract(epoch from '2026-07-06 05:14:36'::timestamp) - extract(epoch from '2026-07-06 05:14:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343836 -2.800398)'), GeomFromEWKT('SRID=4674;POINT (-40.343709 -2.800274)'))) / (select extract(epoch from '2026-07-06 05:14:36'::timestamp) - extract(epoch from '2026-07-06 05:14: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'), 47648, 'SRID=4674;POINT (-40.343596 -2.800125)', '2026-07-06 05:14:47', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343709 -2.800274)'), GeomFromEWKT('SRID=4674;POINT (-40.343596 -2.800125)'))) / (select extract(epoch from '2026-07-06 05:14:47'::timestamp) - extract(epoch from '2026-07-06 05:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343709 -2.800274)'), GeomFromEWKT('SRID=4674;POINT (-40.343596 -2.800125)'))) / (select extract(epoch from '2026-07-06 05:14:47'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.343477 -2.800043)', '2026-07-06 05:14:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343596 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.343477 -2.800043)'))) / (select extract(epoch from '2026-07-06 05:14:55'::timestamp) - extract(epoch from '2026-07-06 05:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343596 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.343477 -2.800043)'))) / (select extract(epoch from '2026-07-06 05:14:55'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.343337 -2.799947)', '2026-07-06 05:15:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343477 -2.800043)'), GeomFromEWKT('SRID=4674;POINT (-40.343337 -2.799947)'))) / (select extract(epoch from '2026-07-06 05:15:04'::timestamp) - extract(epoch from '2026-07-06 05:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343477 -2.800043)'), GeomFromEWKT('SRID=4674;POINT (-40.343337 -2.799947)'))) / (select extract(epoch from '2026-07-06 05:15:04'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.343214 -2.799842)', '2026-07-06 05:15:13', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343337 -2.799947)'), GeomFromEWKT('SRID=4674;POINT (-40.343214 -2.799842)'))) / (select extract(epoch from '2026-07-06 05:15:13'::timestamp) - extract(epoch from '2026-07-06 05:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343337 -2.799947)'), GeomFromEWKT('SRID=4674;POINT (-40.343214 -2.799842)'))) / (select extract(epoch from '2026-07-06 05:15:13'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.3431 -2.799726)', '2026-07-06 05:15:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343214 -2.799842)'), GeomFromEWKT('SRID=4674;POINT (-40.3431 -2.799726)'))) / (select extract(epoch from '2026-07-06 05:15:23'::timestamp) - extract(epoch from '2026-07-06 05:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343214 -2.799842)'), GeomFromEWKT('SRID=4674;POINT (-40.3431 -2.799726)'))) / (select extract(epoch from '2026-07-06 05:15:23'::timestamp) - extract(epoch from '2026-07-06 05:15: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'), 47648, 'SRID=4674;POINT (-40.342992 -2.799616)', '2026-07-06 05:15:32', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3431 -2.799726)'), GeomFromEWKT('SRID=4674;POINT (-40.342992 -2.799616)'))) / (select extract(epoch from '2026-07-06 05:15:32'::timestamp) - extract(epoch from '2026-07-06 05:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3431 -2.799726)'), GeomFromEWKT('SRID=4674;POINT (-40.342992 -2.799616)'))) / (select extract(epoch from '2026-07-06 05:15:32'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.342894 -2.799501)', '2026-07-06 05:15:40', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342992 -2.799616)'), GeomFromEWKT('SRID=4674;POINT (-40.342894 -2.799501)'))) / (select extract(epoch from '2026-07-06 05:15:40'::timestamp) - extract(epoch from '2026-07-06 05:15:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342992 -2.799616)'), GeomFromEWKT('SRID=4674;POINT (-40.342894 -2.799501)'))) / (select extract(epoch from '2026-07-06 05:15:40'::timestamp) - extract(epoch from '2026-07-06 05:15: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'), 47648, 'SRID=4674;POINT (-40.342782 -2.799357)', '2026-07-06 05:15:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342894 -2.799501)'), GeomFromEWKT('SRID=4674;POINT (-40.342782 -2.799357)'))) / (select extract(epoch from '2026-07-06 05:15:49'::timestamp) - extract(epoch from '2026-07-06 05:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342894 -2.799501)'), GeomFromEWKT('SRID=4674;POINT (-40.342782 -2.799357)'))) / (select extract(epoch from '2026-07-06 05:15:49'::timestamp) - extract(epoch from '2026-07-06 05:15: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'), 47648, 'SRID=4674;POINT (-40.342695 -2.799168)', '2026-07-06 05:16:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342782 -2.799357)'), GeomFromEWKT('SRID=4674;POINT (-40.342695 -2.799168)'))) / (select extract(epoch from '2026-07-06 05:16:00'::timestamp) - extract(epoch from '2026-07-06 05:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342782 -2.799357)'), GeomFromEWKT('SRID=4674;POINT (-40.342695 -2.799168)'))) / (select extract(epoch from '2026-07-06 05:16:00'::timestamp) - extract(epoch from '2026-07-06 05:15: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'), 47648, 'SRID=4674;POINT (-40.342614 -2.799055)', '2026-07-06 05:16:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342695 -2.799168)'), GeomFromEWKT('SRID=4674;POINT (-40.342614 -2.799055)'))) / (select extract(epoch from '2026-07-06 05:16:08'::timestamp) - extract(epoch from '2026-07-06 05:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342695 -2.799168)'), GeomFromEWKT('SRID=4674;POINT (-40.342614 -2.799055)'))) / (select extract(epoch from '2026-07-06 05:16:08'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.342499 -2.798926)', '2026-07-06 05:16:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342614 -2.799055)'), GeomFromEWKT('SRID=4674;POINT (-40.342499 -2.798926)'))) / (select extract(epoch from '2026-07-06 05:16:18'::timestamp) - extract(epoch from '2026-07-06 05:16:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342614 -2.799055)'), GeomFromEWKT('SRID=4674;POINT (-40.342499 -2.798926)'))) / (select extract(epoch from '2026-07-06 05:16:18'::timestamp) - extract(epoch from '2026-07-06 05:16: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'), 47648, 'SRID=4674;POINT (-40.342416 -2.798816)', '2026-07-06 05:16:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342499 -2.798926)'), GeomFromEWKT('SRID=4674;POINT (-40.342416 -2.798816)'))) / (select extract(epoch from '2026-07-06 05:16:26'::timestamp) - extract(epoch from '2026-07-06 05:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342499 -2.798926)'), GeomFromEWKT('SRID=4674;POINT (-40.342416 -2.798816)'))) / (select extract(epoch from '2026-07-06 05:16:26'::timestamp) - extract(epoch from '2026-07-06 05:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.342317 -2.7987)', '2026-07-06 05:16:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342416 -2.798816)'), GeomFromEWKT('SRID=4674;POINT (-40.342317 -2.7987)'))) / (select extract(epoch from '2026-07-06 05:16:35'::timestamp) - extract(epoch from '2026-07-06 05:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342416 -2.798816)'), GeomFromEWKT('SRID=4674;POINT (-40.342317 -2.7987)'))) / (select extract(epoch from '2026-07-06 05:16:35'::timestamp) - extract(epoch from '2026-07-06 05:16: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'), 47648, 'SRID=4674;POINT (-40.342208 -2.798569)', '2026-07-06 05:16:45', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342317 -2.7987)'), GeomFromEWKT('SRID=4674;POINT (-40.342208 -2.798569)'))) / (select extract(epoch from '2026-07-06 05:16:45'::timestamp) - extract(epoch from '2026-07-06 05:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342317 -2.7987)'), GeomFromEWKT('SRID=4674;POINT (-40.342208 -2.798569)'))) / (select extract(epoch from '2026-07-06 05:16:45'::timestamp) - extract(epoch from '2026-07-06 05:16: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'), 47648, 'SRID=4674;POINT (-40.342138 -2.798468)', '2026-07-06 05:16:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342208 -2.798569)'), GeomFromEWKT('SRID=4674;POINT (-40.342138 -2.798468)'))) / (select extract(epoch from '2026-07-06 05:16:53'::timestamp) - extract(epoch from '2026-07-06 05:16:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342208 -2.798569)'), GeomFromEWKT('SRID=4674;POINT (-40.342138 -2.798468)'))) / (select extract(epoch from '2026-07-06 05:16:53'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.342053 -2.798379)', '2026-07-06 05:17:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342138 -2.798468)'), GeomFromEWKT('SRID=4674;POINT (-40.342053 -2.798379)'))) / (select extract(epoch from '2026-07-06 05:17:01'::timestamp) - extract(epoch from '2026-07-06 05:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342138 -2.798468)'), GeomFromEWKT('SRID=4674;POINT (-40.342053 -2.798379)'))) / (select extract(epoch from '2026-07-06 05:17:01'::timestamp) - extract(epoch from '2026-07-06 05:16: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'), 47648, 'SRID=4674;POINT (-40.341954 -2.798275)', '2026-07-06 05:17:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342053 -2.798379)'), GeomFromEWKT('SRID=4674;POINT (-40.341954 -2.798275)'))) / (select extract(epoch from '2026-07-06 05:17:09'::timestamp) - extract(epoch from '2026-07-06 05:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342053 -2.798379)'), GeomFromEWKT('SRID=4674;POINT (-40.341954 -2.798275)'))) / (select extract(epoch from '2026-07-06 05:17:09'::timestamp) - extract(epoch from '2026-07-06 05:17: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'), 47648, 'SRID=4674;POINT (-40.341802 -2.798136)', '2026-07-06 05:17:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341954 -2.798275)'), GeomFromEWKT('SRID=4674;POINT (-40.341802 -2.798136)'))) / (select extract(epoch from '2026-07-06 05:17:20'::timestamp) - extract(epoch from '2026-07-06 05:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341954 -2.798275)'), GeomFromEWKT('SRID=4674;POINT (-40.341802 -2.798136)'))) / (select extract(epoch from '2026-07-06 05:17:20'::timestamp) - extract(epoch from '2026-07-06 05:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.341712 -2.798053)', '2026-07-06 05:17:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341802 -2.798136)'), GeomFromEWKT('SRID=4674;POINT (-40.341712 -2.798053)'))) / (select extract(epoch from '2026-07-06 05:17:27'::timestamp) - extract(epoch from '2026-07-06 05:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341802 -2.798136)'), GeomFromEWKT('SRID=4674;POINT (-40.341712 -2.798053)'))) / (select extract(epoch from '2026-07-06 05:17:27'::timestamp) - extract(epoch from '2026-07-06 05:17: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'), 47648, 'SRID=4674;POINT (-40.341567 -2.797958)', '2026-07-06 05:17:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341712 -2.798053)'), GeomFromEWKT('SRID=4674;POINT (-40.341567 -2.797958)'))) / (select extract(epoch from '2026-07-06 05:17:36'::timestamp) - extract(epoch from '2026-07-06 05:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341712 -2.798053)'), GeomFromEWKT('SRID=4674;POINT (-40.341567 -2.797958)'))) / (select extract(epoch from '2026-07-06 05:17:36'::timestamp) - extract(epoch from '2026-07-06 05:17: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'), 47648, 'SRID=4674;POINT (-40.341426 -2.797865)', '2026-07-06 05:17:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341567 -2.797958)'), GeomFromEWKT('SRID=4674;POINT (-40.341426 -2.797865)'))) / (select extract(epoch from '2026-07-06 05:17:45'::timestamp) - extract(epoch from '2026-07-06 05:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341567 -2.797958)'), GeomFromEWKT('SRID=4674;POINT (-40.341426 -2.797865)'))) / (select extract(epoch from '2026-07-06 05:17:45'::timestamp) - extract(epoch from '2026-07-06 05:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.341273 -2.797786)', '2026-07-06 05:17:54', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341426 -2.797865)'), GeomFromEWKT('SRID=4674;POINT (-40.341273 -2.797786)'))) / (select extract(epoch from '2026-07-06 05:17:54'::timestamp) - extract(epoch from '2026-07-06 05:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341426 -2.797865)'), GeomFromEWKT('SRID=4674;POINT (-40.341273 -2.797786)'))) / (select extract(epoch from '2026-07-06 05:17:54'::timestamp) - extract(epoch from '2026-07-06 05:17: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'), 47648, 'SRID=4674;POINT (-40.34112 -2.797709)', '2026-07-06 05:18:03', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341273 -2.797786)'), GeomFromEWKT('SRID=4674;POINT (-40.34112 -2.797709)'))) / (select extract(epoch from '2026-07-06 05:18:03'::timestamp) - extract(epoch from '2026-07-06 05:17:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341273 -2.797786)'), GeomFromEWKT('SRID=4674;POINT (-40.34112 -2.797709)'))) / (select extract(epoch from '2026-07-06 05:18:03'::timestamp) - extract(epoch from '2026-07-06 05:17:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.340977 -2.797647)', '2026-07-06 05:18:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34112 -2.797709)'), GeomFromEWKT('SRID=4674;POINT (-40.340977 -2.797647)'))) / (select extract(epoch from '2026-07-06 05:18:12'::timestamp) - extract(epoch from '2026-07-06 05:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34112 -2.797709)'), GeomFromEWKT('SRID=4674;POINT (-40.340977 -2.797647)'))) / (select extract(epoch from '2026-07-06 05:18:12'::timestamp) - extract(epoch from '2026-07-06 05:18: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'), 47648, 'SRID=4674;POINT (-40.340849 -2.797559)', '2026-07-06 05:18:21', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340977 -2.797647)'), GeomFromEWKT('SRID=4674;POINT (-40.340849 -2.797559)'))) / (select extract(epoch from '2026-07-06 05:18:21'::timestamp) - extract(epoch from '2026-07-06 05:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340977 -2.797647)'), GeomFromEWKT('SRID=4674;POINT (-40.340849 -2.797559)'))) / (select extract(epoch from '2026-07-06 05:18:21'::timestamp) - extract(epoch from '2026-07-06 05:18: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'), 47648, 'SRID=4674;POINT (-40.340697 -2.797464)', '2026-07-06 05:18:31', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340849 -2.797559)'), GeomFromEWKT('SRID=4674;POINT (-40.340697 -2.797464)'))) / (select extract(epoch from '2026-07-06 05:18:31'::timestamp) - extract(epoch from '2026-07-06 05:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340849 -2.797559)'), GeomFromEWKT('SRID=4674;POINT (-40.340697 -2.797464)'))) / (select extract(epoch from '2026-07-06 05:18:31'::timestamp) - extract(epoch from '2026-07-06 05:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.340593 -2.797395)', '2026-07-06 05:18:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340697 -2.797464)'), GeomFromEWKT('SRID=4674;POINT (-40.340593 -2.797395)'))) / (select extract(epoch from '2026-07-06 05:18:38'::timestamp) - extract(epoch from '2026-07-06 05:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340697 -2.797464)'), GeomFromEWKT('SRID=4674;POINT (-40.340593 -2.797395)'))) / (select extract(epoch from '2026-07-06 05:18:38'::timestamp) - extract(epoch from '2026-07-06 05:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.340461 -2.797308)', '2026-07-06 05:18:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340593 -2.797395)'), GeomFromEWKT('SRID=4674;POINT (-40.340461 -2.797308)'))) / (select extract(epoch from '2026-07-06 05:18:47'::timestamp) - extract(epoch from '2026-07-06 05:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340593 -2.797395)'), GeomFromEWKT('SRID=4674;POINT (-40.340461 -2.797308)'))) / (select extract(epoch from '2026-07-06 05:18:47'::timestamp) - extract(epoch from '2026-07-06 05:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.340356 -2.797237)', '2026-07-06 05:18:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340461 -2.797308)'), GeomFromEWKT('SRID=4674;POINT (-40.340356 -2.797237)'))) / (select extract(epoch from '2026-07-06 05:18:55'::timestamp) - extract(epoch from '2026-07-06 05:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340461 -2.797308)'), GeomFromEWKT('SRID=4674;POINT (-40.340356 -2.797237)'))) / (select extract(epoch from '2026-07-06 05:18:55'::timestamp) - extract(epoch from '2026-07-06 05:18: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'), 47648, 'SRID=4674;POINT (-40.340247 -2.797155)', '2026-07-06 05:19:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340356 -2.797237)'), GeomFromEWKT('SRID=4674;POINT (-40.340247 -2.797155)'))) / (select extract(epoch from '2026-07-06 05:19:03'::timestamp) - extract(epoch from '2026-07-06 05:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340356 -2.797237)'), GeomFromEWKT('SRID=4674;POINT (-40.340247 -2.797155)'))) / (select extract(epoch from '2026-07-06 05:19:03'::timestamp) - extract(epoch from '2026-07-06 05:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.340122 -2.797059)', '2026-07-06 05:19:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340247 -2.797155)'), GeomFromEWKT('SRID=4674;POINT (-40.340122 -2.797059)'))) / (select extract(epoch from '2026-07-06 05:19:12'::timestamp) - extract(epoch from '2026-07-06 05:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340247 -2.797155)'), GeomFromEWKT('SRID=4674;POINT (-40.340122 -2.797059)'))) / (select extract(epoch from '2026-07-06 05:19:12'::timestamp) - extract(epoch from '2026-07-06 05:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.340034 -2.79697)', '2026-07-06 05:19:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340122 -2.797059)'), GeomFromEWKT('SRID=4674;POINT (-40.340034 -2.79697)'))) / (select extract(epoch from '2026-07-06 05:19:19'::timestamp) - extract(epoch from '2026-07-06 05:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340122 -2.797059)'), GeomFromEWKT('SRID=4674;POINT (-40.340034 -2.79697)'))) / (select extract(epoch from '2026-07-06 05:19:19'::timestamp) - extract(epoch from '2026-07-06 05:19: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'), 47648, 'SRID=4674;POINT (-40.339924 -2.796863)', '2026-07-06 05:19:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340034 -2.79697)'), GeomFromEWKT('SRID=4674;POINT (-40.339924 -2.796863)'))) / (select extract(epoch from '2026-07-06 05:19:28'::timestamp) - extract(epoch from '2026-07-06 05:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340034 -2.79697)'), GeomFromEWKT('SRID=4674;POINT (-40.339924 -2.796863)'))) / (select extract(epoch from '2026-07-06 05:19:28'::timestamp) - extract(epoch from '2026-07-06 05:19: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'), 47648, 'SRID=4674;POINT (-40.339782 -2.796742)', '2026-07-06 05:19:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339924 -2.796863)'), GeomFromEWKT('SRID=4674;POINT (-40.339782 -2.796742)'))) / (select extract(epoch from '2026-07-06 05:19:38'::timestamp) - extract(epoch from '2026-07-06 05:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339924 -2.796863)'), GeomFromEWKT('SRID=4674;POINT (-40.339782 -2.796742)'))) / (select extract(epoch from '2026-07-06 05:19:38'::timestamp) - extract(epoch from '2026-07-06 05:19:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.339652 -2.796637)', '2026-07-06 05:19:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339782 -2.796742)'), GeomFromEWKT('SRID=4674;POINT (-40.339652 -2.796637)'))) / (select extract(epoch from '2026-07-06 05:19:47'::timestamp) - extract(epoch from '2026-07-06 05:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339782 -2.796742)'), GeomFromEWKT('SRID=4674;POINT (-40.339652 -2.796637)'))) / (select extract(epoch from '2026-07-06 05:19:47'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.339549 -2.796547)', '2026-07-06 05:19:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339652 -2.796637)'), GeomFromEWKT('SRID=4674;POINT (-40.339549 -2.796547)'))) / (select extract(epoch from '2026-07-06 05:19:55'::timestamp) - extract(epoch from '2026-07-06 05:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339652 -2.796637)'), GeomFromEWKT('SRID=4674;POINT (-40.339549 -2.796547)'))) / (select extract(epoch from '2026-07-06 05:19:55'::timestamp) - extract(epoch from '2026-07-06 05:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.339453 -2.796436)', '2026-07-06 05:20:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339549 -2.796547)'), GeomFromEWKT('SRID=4674;POINT (-40.339453 -2.796436)'))) / (select extract(epoch from '2026-07-06 05:20:04'::timestamp) - extract(epoch from '2026-07-06 05:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339549 -2.796547)'), GeomFromEWKT('SRID=4674;POINT (-40.339453 -2.796436)'))) / (select extract(epoch from '2026-07-06 05:20:04'::timestamp) - extract(epoch from '2026-07-06 05:19: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'), 47648, 'SRID=4674;POINT (-40.339333 -2.796324)', '2026-07-06 05:20:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339453 -2.796436)'), GeomFromEWKT('SRID=4674;POINT (-40.339333 -2.796324)'))) / (select extract(epoch from '2026-07-06 05:20:13'::timestamp) - extract(epoch from '2026-07-06 05:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339453 -2.796436)'), GeomFromEWKT('SRID=4674;POINT (-40.339333 -2.796324)'))) / (select extract(epoch from '2026-07-06 05:20:13'::timestamp) - extract(epoch from '2026-07-06 05:20: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'), 47648, 'SRID=4674;POINT (-40.339195 -2.796184)', '2026-07-06 05:20:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339333 -2.796324)'), GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.796184)'))) / (select extract(epoch from '2026-07-06 05:20:23'::timestamp) - extract(epoch from '2026-07-06 05:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339333 -2.796324)'), GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.796184)'))) / (select extract(epoch from '2026-07-06 05:20:23'::timestamp) - extract(epoch from '2026-07-06 05:20: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'), 47648, 'SRID=4674;POINT (-40.339073 -2.796052)', '2026-07-06 05:20:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.796184)'), GeomFromEWKT('SRID=4674;POINT (-40.339073 -2.796052)'))) / (select extract(epoch from '2026-07-06 05:20:32'::timestamp) - extract(epoch from '2026-07-06 05:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339195 -2.796184)'), GeomFromEWKT('SRID=4674;POINT (-40.339073 -2.796052)'))) / (select extract(epoch from '2026-07-06 05:20:32'::timestamp) - extract(epoch from '2026-07-06 05:20: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'), 47648, 'SRID=4674;POINT (-40.338999 -2.795937)', '2026-07-06 05:20:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339073 -2.796052)'), GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.795937)'))) / (select extract(epoch from '2026-07-06 05:20:40'::timestamp) - extract(epoch from '2026-07-06 05:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339073 -2.796052)'), GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.795937)'))) / (select extract(epoch from '2026-07-06 05:20:40'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.338936 -2.795802)', '2026-07-06 05:20:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.795937)'), GeomFromEWKT('SRID=4674;POINT (-40.338936 -2.795802)'))) / (select extract(epoch from '2026-07-06 05:20:49'::timestamp) - extract(epoch from '2026-07-06 05:20:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338999 -2.795937)'), GeomFromEWKT('SRID=4674;POINT (-40.338936 -2.795802)'))) / (select extract(epoch from '2026-07-06 05:20:49'::timestamp) - extract(epoch from '2026-07-06 05:20: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'), 47648, 'SRID=4674;POINT (-40.338846 -2.795644)', '2026-07-06 05:20:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338936 -2.795802)'), GeomFromEWKT('SRID=4674;POINT (-40.338846 -2.795644)'))) / (select extract(epoch from '2026-07-06 05:20:59'::timestamp) - extract(epoch from '2026-07-06 05:20:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338936 -2.795802)'), GeomFromEWKT('SRID=4674;POINT (-40.338846 -2.795644)'))) / (select extract(epoch from '2026-07-06 05:20:59'::timestamp) - extract(epoch from '2026-07-06 05:20: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'), 47648, 'SRID=4674;POINT (-40.338791 -2.795538)', '2026-07-06 05:21:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338846 -2.795644)'), GeomFromEWKT('SRID=4674;POINT (-40.338791 -2.795538)'))) / (select extract(epoch from '2026-07-06 05:21:06'::timestamp) - extract(epoch from '2026-07-06 05:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338846 -2.795644)'), GeomFromEWKT('SRID=4674;POINT (-40.338791 -2.795538)'))) / (select extract(epoch from '2026-07-06 05:21:06'::timestamp) - extract(epoch from '2026-07-06 05:20: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'), 47648, 'SRID=4674;POINT (-40.338697 -2.795416)', '2026-07-06 05:21:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338791 -2.795538)'), GeomFromEWKT('SRID=4674;POINT (-40.338697 -2.795416)'))) / (select extract(epoch from '2026-07-06 05:21:15'::timestamp) - extract(epoch from '2026-07-06 05:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338791 -2.795538)'), GeomFromEWKT('SRID=4674;POINT (-40.338697 -2.795416)'))) / (select extract(epoch from '2026-07-06 05:21:15'::timestamp) - extract(epoch from '2026-07-06 05:21: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'), 47648, 'SRID=4674;POINT (-40.338606 -2.79528)', '2026-07-06 05:21:24', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338697 -2.795416)'), GeomFromEWKT('SRID=4674;POINT (-40.338606 -2.79528)'))) / (select extract(epoch from '2026-07-06 05:21:24'::timestamp) - extract(epoch from '2026-07-06 05:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338697 -2.795416)'), GeomFromEWKT('SRID=4674;POINT (-40.338606 -2.79528)'))) / (select extract(epoch from '2026-07-06 05:21:24'::timestamp) - extract(epoch from '2026-07-06 05:21:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.338483 -2.795179)', '2026-07-06 05:21:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338606 -2.79528)'), GeomFromEWKT('SRID=4674;POINT (-40.338483 -2.795179)'))) / (select extract(epoch from '2026-07-06 05:21:33'::timestamp) - extract(epoch from '2026-07-06 05:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338606 -2.79528)'), GeomFromEWKT('SRID=4674;POINT (-40.338483 -2.795179)'))) / (select extract(epoch from '2026-07-06 05:21:33'::timestamp) - extract(epoch from '2026-07-06 05:21: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'), 47648, 'SRID=4674;POINT (-40.3384 -2.795117)', '2026-07-06 05:21:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338483 -2.795179)'), GeomFromEWKT('SRID=4674;POINT (-40.3384 -2.795117)'))) / (select extract(epoch from '2026-07-06 05:21:39'::timestamp) - extract(epoch from '2026-07-06 05:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338483 -2.795179)'), GeomFromEWKT('SRID=4674;POINT (-40.3384 -2.795117)'))) / (select extract(epoch from '2026-07-06 05:21:39'::timestamp) - extract(epoch from '2026-07-06 05:21: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'), 47648, 'SRID=4674;POINT (-40.338276 -2.795014)', '2026-07-06 05:21:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3384 -2.795117)'), GeomFromEWKT('SRID=4674;POINT (-40.338276 -2.795014)'))) / (select extract(epoch from '2026-07-06 05:21:48'::timestamp) - extract(epoch from '2026-07-06 05:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3384 -2.795117)'), GeomFromEWKT('SRID=4674;POINT (-40.338276 -2.795014)'))) / (select extract(epoch from '2026-07-06 05:21:48'::timestamp) - extract(epoch from '2026-07-06 05:21:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.33816 -2.794933)', '2026-07-06 05:21:56', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338276 -2.795014)'), GeomFromEWKT('SRID=4674;POINT (-40.33816 -2.794933)'))) / (select extract(epoch from '2026-07-06 05:21:56'::timestamp) - extract(epoch from '2026-07-06 05:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338276 -2.795014)'), GeomFromEWKT('SRID=4674;POINT (-40.33816 -2.794933)'))) / (select extract(epoch from '2026-07-06 05:21:56'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.338038 -2.794837)', '2026-07-06 05:22:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33816 -2.794933)'), GeomFromEWKT('SRID=4674;POINT (-40.338038 -2.794837)'))) / (select extract(epoch from '2026-07-06 05:22:05'::timestamp) - extract(epoch from '2026-07-06 05:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33816 -2.794933)'), GeomFromEWKT('SRID=4674;POINT (-40.338038 -2.794837)'))) / (select extract(epoch from '2026-07-06 05:22:05'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.337912 -2.794739)', '2026-07-06 05:22:14', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338038 -2.794837)'), GeomFromEWKT('SRID=4674;POINT (-40.337912 -2.794739)'))) / (select extract(epoch from '2026-07-06 05:22:14'::timestamp) - extract(epoch from '2026-07-06 05:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338038 -2.794837)'), GeomFromEWKT('SRID=4674;POINT (-40.337912 -2.794739)'))) / (select extract(epoch from '2026-07-06 05:22:14'::timestamp) - extract(epoch from '2026-07-06 05:22: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'), 47648, 'SRID=4674;POINT (-40.337807 -2.794658)', '2026-07-06 05:22:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337912 -2.794739)'), GeomFromEWKT('SRID=4674;POINT (-40.337807 -2.794658)'))) / (select extract(epoch from '2026-07-06 05:22:22'::timestamp) - extract(epoch from '2026-07-06 05:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337912 -2.794739)'), GeomFromEWKT('SRID=4674;POINT (-40.337807 -2.794658)'))) / (select extract(epoch from '2026-07-06 05:22:22'::timestamp) - extract(epoch from '2026-07-06 05:22: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'), 47648, 'SRID=4674;POINT (-40.33767 -2.794585)', '2026-07-06 05:22:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337807 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.33767 -2.794585)'))) / (select extract(epoch from '2026-07-06 05:22:31'::timestamp) - extract(epoch from '2026-07-06 05:22:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337807 -2.794658)'), GeomFromEWKT('SRID=4674;POINT (-40.33767 -2.794585)'))) / (select extract(epoch from '2026-07-06 05:22:31'::timestamp) - extract(epoch from '2026-07-06 05:22:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.337542 -2.794534)', '2026-07-06 05:22:39', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33767 -2.794585)'), GeomFromEWKT('SRID=4674;POINT (-40.337542 -2.794534)'))) / (select extract(epoch from '2026-07-06 05:22:39'::timestamp) - extract(epoch from '2026-07-06 05:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33767 -2.794585)'), GeomFromEWKT('SRID=4674;POINT (-40.337542 -2.794534)'))) / (select extract(epoch from '2026-07-06 05:22:39'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.337415 -2.794453)', '2026-07-06 05:22:48', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337542 -2.794534)'), GeomFromEWKT('SRID=4674;POINT (-40.337415 -2.794453)'))) / (select extract(epoch from '2026-07-06 05:22:48'::timestamp) - extract(epoch from '2026-07-06 05:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337542 -2.794534)'), GeomFromEWKT('SRID=4674;POINT (-40.337415 -2.794453)'))) / (select extract(epoch from '2026-07-06 05:22:48'::timestamp) - extract(epoch from '2026-07-06 05:22: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'), 47648, 'SRID=4674;POINT (-40.33731 -2.794384)', '2026-07-06 05:22:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337415 -2.794453)'), GeomFromEWKT('SRID=4674;POINT (-40.33731 -2.794384)'))) / (select extract(epoch from '2026-07-06 05:22:55'::timestamp) - extract(epoch from '2026-07-06 05:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337415 -2.794453)'), GeomFromEWKT('SRID=4674;POINT (-40.33731 -2.794384)'))) / (select extract(epoch from '2026-07-06 05:22:55'::timestamp) - extract(epoch from '2026-07-06 05:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.337189 -2.7943)', '2026-07-06 05:23:03', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33731 -2.794384)'), GeomFromEWKT('SRID=4674;POINT (-40.337189 -2.7943)'))) / (select extract(epoch from '2026-07-06 05:23:03'::timestamp) - extract(epoch from '2026-07-06 05:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33731 -2.794384)'), GeomFromEWKT('SRID=4674;POINT (-40.337189 -2.7943)'))) / (select extract(epoch from '2026-07-06 05:23:03'::timestamp) - extract(epoch from '2026-07-06 05:22: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'), 47648, 'SRID=4674;POINT (-40.337079 -2.794218)', '2026-07-06 05:23:11', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337189 -2.7943)'), GeomFromEWKT('SRID=4674;POINT (-40.337079 -2.794218)'))) / (select extract(epoch from '2026-07-06 05:23:11'::timestamp) - extract(epoch from '2026-07-06 05:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337189 -2.7943)'), GeomFromEWKT('SRID=4674;POINT (-40.337079 -2.794218)'))) / (select extract(epoch from '2026-07-06 05:23:11'::timestamp) - extract(epoch from '2026-07-06 05:23: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'), 47648, 'SRID=4674;POINT (-40.336949 -2.794111)', '2026-07-06 05:23:21', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337079 -2.794218)'), GeomFromEWKT('SRID=4674;POINT (-40.336949 -2.794111)'))) / (select extract(epoch from '2026-07-06 05:23:21'::timestamp) - extract(epoch from '2026-07-06 05:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337079 -2.794218)'), GeomFromEWKT('SRID=4674;POINT (-40.336949 -2.794111)'))) / (select extract(epoch from '2026-07-06 05:23:21'::timestamp) - extract(epoch from '2026-07-06 05:23: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'), 47648, 'SRID=4674;POINT (-40.336858 -2.794034)', '2026-07-06 05:23:28', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336949 -2.794111)'), GeomFromEWKT('SRID=4674;POINT (-40.336858 -2.794034)'))) / (select extract(epoch from '2026-07-06 05:23:28'::timestamp) - extract(epoch from '2026-07-06 05:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336949 -2.794111)'), GeomFromEWKT('SRID=4674;POINT (-40.336858 -2.794034)'))) / (select extract(epoch from '2026-07-06 05:23:28'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.336737 -2.793935)', '2026-07-06 05:23:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336858 -2.794034)'), GeomFromEWKT('SRID=4674;POINT (-40.336737 -2.793935)'))) / (select extract(epoch from '2026-07-06 05:23:38'::timestamp) - extract(epoch from '2026-07-06 05:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336858 -2.794034)'), GeomFromEWKT('SRID=4674;POINT (-40.336737 -2.793935)'))) / (select extract(epoch from '2026-07-06 05:23:38'::timestamp) - extract(epoch from '2026-07-06 05:23: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'), 47648, 'SRID=4674;POINT (-40.336615 -2.793839)', '2026-07-06 05:23:46', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336737 -2.793935)'), GeomFromEWKT('SRID=4674;POINT (-40.336615 -2.793839)'))) / (select extract(epoch from '2026-07-06 05:23:46'::timestamp) - extract(epoch from '2026-07-06 05:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336737 -2.793935)'), GeomFromEWKT('SRID=4674;POINT (-40.336615 -2.793839)'))) / (select extract(epoch from '2026-07-06 05:23:46'::timestamp) - extract(epoch from '2026-07-06 05:23: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'), 47648, 'SRID=4674;POINT (-40.33651 -2.793749)', '2026-07-06 05:23:54', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336615 -2.793839)'), GeomFromEWKT('SRID=4674;POINT (-40.33651 -2.793749)'))) / (select extract(epoch from '2026-07-06 05:23:54'::timestamp) - extract(epoch from '2026-07-06 05:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336615 -2.793839)'), GeomFromEWKT('SRID=4674;POINT (-40.33651 -2.793749)'))) / (select extract(epoch from '2026-07-06 05:23:54'::timestamp) - extract(epoch from '2026-07-06 05:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.336396 -2.793649)', '2026-07-06 05:24:02', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33651 -2.793749)'), GeomFromEWKT('SRID=4674;POINT (-40.336396 -2.793649)'))) / (select extract(epoch from '2026-07-06 05:24:02'::timestamp) - extract(epoch from '2026-07-06 05:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33651 -2.793749)'), GeomFromEWKT('SRID=4674;POINT (-40.336396 -2.793649)'))) / (select extract(epoch from '2026-07-06 05:24:02'::timestamp) - extract(epoch from '2026-07-06 05:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.336271 -2.793495)', '2026-07-06 05:24:12', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336396 -2.793649)'), GeomFromEWKT('SRID=4674;POINT (-40.336271 -2.793495)'))) / (select extract(epoch from '2026-07-06 05:24:12'::timestamp) - extract(epoch from '2026-07-06 05:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336396 -2.793649)'), GeomFromEWKT('SRID=4674;POINT (-40.336271 -2.793495)'))) / (select extract(epoch from '2026-07-06 05:24:12'::timestamp) - extract(epoch from '2026-07-06 05:24: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'), 47648, 'SRID=4674;POINT (-40.336195 -2.793377)', '2026-07-06 05:24:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336271 -2.793495)'), GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.793377)'))) / (select extract(epoch from '2026-07-06 05:24:20'::timestamp) - extract(epoch from '2026-07-06 05:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336271 -2.793495)'), GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.793377)'))) / (select extract(epoch from '2026-07-06 05:24:20'::timestamp) - extract(epoch from '2026-07-06 05:24:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.336132 -2.793246)', '2026-07-06 05:24:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.793377)'), GeomFromEWKT('SRID=4674;POINT (-40.336132 -2.793246)'))) / (select extract(epoch from '2026-07-06 05:24:28'::timestamp) - extract(epoch from '2026-07-06 05:24:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336195 -2.793377)'), GeomFromEWKT('SRID=4674;POINT (-40.336132 -2.793246)'))) / (select extract(epoch from '2026-07-06 05:24:28'::timestamp) - extract(epoch from '2026-07-06 05:24:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.336047 -2.793079)', '2026-07-06 05:24:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336132 -2.793246)'), GeomFromEWKT('SRID=4674;POINT (-40.336047 -2.793079)'))) / (select extract(epoch from '2026-07-06 05:24:39'::timestamp) - extract(epoch from '2026-07-06 05:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336132 -2.793246)'), GeomFromEWKT('SRID=4674;POINT (-40.336047 -2.793079)'))) / (select extract(epoch from '2026-07-06 05:24:39'::timestamp) - extract(epoch from '2026-07-06 05:24: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'), 47648, 'SRID=4674;POINT (-40.335968 -2.792932)', '2026-07-06 05:24:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336047 -2.793079)'), GeomFromEWKT('SRID=4674;POINT (-40.335968 -2.792932)'))) / (select extract(epoch from '2026-07-06 05:24:48'::timestamp) - extract(epoch from '2026-07-06 05:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336047 -2.793079)'), GeomFromEWKT('SRID=4674;POINT (-40.335968 -2.792932)'))) / (select extract(epoch from '2026-07-06 05:24:48'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.335903 -2.792818)', '2026-07-06 05:24:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335968 -2.792932)'), GeomFromEWKT('SRID=4674;POINT (-40.335903 -2.792818)'))) / (select extract(epoch from '2026-07-06 05:24:55'::timestamp) - extract(epoch from '2026-07-06 05:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335968 -2.792932)'), GeomFromEWKT('SRID=4674;POINT (-40.335903 -2.792818)'))) / (select extract(epoch from '2026-07-06 05:24:55'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.335827 -2.792698)', '2026-07-06 05:25:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335903 -2.792818)'), GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.792698)'))) / (select extract(epoch from '2026-07-06 05:25:03'::timestamp) - extract(epoch from '2026-07-06 05:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335903 -2.792818)'), GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.792698)'))) / (select extract(epoch from '2026-07-06 05:25:03'::timestamp) - extract(epoch from '2026-07-06 05:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.335746 -2.792569)', '2026-07-06 05:25:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.792698)'), GeomFromEWKT('SRID=4674;POINT (-40.335746 -2.792569)'))) / (select extract(epoch from '2026-07-06 05:25:12'::timestamp) - extract(epoch from '2026-07-06 05:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335827 -2.792698)'), GeomFromEWKT('SRID=4674;POINT (-40.335746 -2.792569)'))) / (select extract(epoch from '2026-07-06 05:25:12'::timestamp) - extract(epoch from '2026-07-06 05:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.335662 -2.792461)', '2026-07-06 05:25:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335746 -2.792569)'), GeomFromEWKT('SRID=4674;POINT (-40.335662 -2.792461)'))) / (select extract(epoch from '2026-07-06 05:25:21'::timestamp) - extract(epoch from '2026-07-06 05:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335746 -2.792569)'), GeomFromEWKT('SRID=4674;POINT (-40.335662 -2.792461)'))) / (select extract(epoch from '2026-07-06 05:25:21'::timestamp) - extract(epoch from '2026-07-06 05:25: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'), 47648, 'SRID=4674;POINT (-40.335555 -2.792315)', '2026-07-06 05:25:31', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335662 -2.792461)'), GeomFromEWKT('SRID=4674;POINT (-40.335555 -2.792315)'))) / (select extract(epoch from '2026-07-06 05:25:31'::timestamp) - extract(epoch from '2026-07-06 05:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335662 -2.792461)'), GeomFromEWKT('SRID=4674;POINT (-40.335555 -2.792315)'))) / (select extract(epoch from '2026-07-06 05:25:31'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.335468 -2.792173)', '2026-07-06 05:25:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335555 -2.792315)'), GeomFromEWKT('SRID=4674;POINT (-40.335468 -2.792173)'))) / (select extract(epoch from '2026-07-06 05:25:40'::timestamp) - extract(epoch from '2026-07-06 05:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335555 -2.792315)'), GeomFromEWKT('SRID=4674;POINT (-40.335468 -2.792173)'))) / (select extract(epoch from '2026-07-06 05:25:40'::timestamp) - extract(epoch from '2026-07-06 05:25: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'), 47648, 'SRID=4674;POINT (-40.335379 -2.792031)', '2026-07-06 05:25:49', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335468 -2.792173)'), GeomFromEWKT('SRID=4674;POINT (-40.335379 -2.792031)'))) / (select extract(epoch from '2026-07-06 05:25:49'::timestamp) - extract(epoch from '2026-07-06 05:25:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335468 -2.792173)'), GeomFromEWKT('SRID=4674;POINT (-40.335379 -2.792031)'))) / (select extract(epoch from '2026-07-06 05:25:49'::timestamp) - extract(epoch from '2026-07-06 05:25: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'), 47648, 'SRID=4674;POINT (-40.335314 -2.791912)', '2026-07-06 05:25:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335379 -2.792031)'), GeomFromEWKT('SRID=4674;POINT (-40.335314 -2.791912)'))) / (select extract(epoch from '2026-07-06 05:25:57'::timestamp) - extract(epoch from '2026-07-06 05:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335379 -2.792031)'), GeomFromEWKT('SRID=4674;POINT (-40.335314 -2.791912)'))) / (select extract(epoch from '2026-07-06 05:25:57'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.335225 -2.791793)', '2026-07-06 05:26:06', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335314 -2.791912)'), GeomFromEWKT('SRID=4674;POINT (-40.335225 -2.791793)'))) / (select extract(epoch from '2026-07-06 05:26:06'::timestamp) - extract(epoch from '2026-07-06 05:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335314 -2.791912)'), GeomFromEWKT('SRID=4674;POINT (-40.335225 -2.791793)'))) / (select extract(epoch from '2026-07-06 05:26:06'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.335137 -2.791666)', '2026-07-06 05:26:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335225 -2.791793)'), GeomFromEWKT('SRID=4674;POINT (-40.335137 -2.791666)'))) / (select extract(epoch from '2026-07-06 05:26:16'::timestamp) - extract(epoch from '2026-07-06 05:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335225 -2.791793)'), GeomFromEWKT('SRID=4674;POINT (-40.335137 -2.791666)'))) / (select extract(epoch from '2026-07-06 05:26:16'::timestamp) - extract(epoch from '2026-07-06 05:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.335077 -2.79156)', '2026-07-06 05:26:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335137 -2.791666)'), GeomFromEWKT('SRID=4674;POINT (-40.335077 -2.79156)'))) / (select extract(epoch from '2026-07-06 05:26:23'::timestamp) - extract(epoch from '2026-07-06 05:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335137 -2.791666)'), GeomFromEWKT('SRID=4674;POINT (-40.335077 -2.79156)'))) / (select extract(epoch from '2026-07-06 05:26:23'::timestamp) - extract(epoch from '2026-07-06 05:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.334994 -2.791434)', '2026-07-06 05:26:32', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335077 -2.79156)'), GeomFromEWKT('SRID=4674;POINT (-40.334994 -2.791434)'))) / (select extract(epoch from '2026-07-06 05:26:32'::timestamp) - extract(epoch from '2026-07-06 05:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335077 -2.79156)'), GeomFromEWKT('SRID=4674;POINT (-40.334994 -2.791434)'))) / (select extract(epoch from '2026-07-06 05:26:32'::timestamp) - extract(epoch from '2026-07-06 05:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.334917 -2.791319)', '2026-07-06 05:26:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334994 -2.791434)'), GeomFromEWKT('SRID=4674;POINT (-40.334917 -2.791319)'))) / (select extract(epoch from '2026-07-06 05:26:40'::timestamp) - extract(epoch from '2026-07-06 05:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334994 -2.791434)'), GeomFromEWKT('SRID=4674;POINT (-40.334917 -2.791319)'))) / (select extract(epoch from '2026-07-06 05:26:40'::timestamp) - extract(epoch from '2026-07-06 05:26:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.334825 -2.791176)', '2026-07-06 05:26:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334917 -2.791319)'), GeomFromEWKT('SRID=4674;POINT (-40.334825 -2.791176)'))) / (select extract(epoch from '2026-07-06 05:26:50'::timestamp) - extract(epoch from '2026-07-06 05:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334917 -2.791319)'), GeomFromEWKT('SRID=4674;POINT (-40.334825 -2.791176)'))) / (select extract(epoch from '2026-07-06 05:26:50'::timestamp) - extract(epoch from '2026-07-06 05:26: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'), 47648, 'SRID=4674;POINT (-40.334729 -2.79107)', '2026-07-06 05:26:58', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334825 -2.791176)'), GeomFromEWKT('SRID=4674;POINT (-40.334729 -2.79107)'))) / (select extract(epoch from '2026-07-06 05:26:58'::timestamp) - extract(epoch from '2026-07-06 05:26:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334825 -2.791176)'), GeomFromEWKT('SRID=4674;POINT (-40.334729 -2.79107)'))) / (select extract(epoch from '2026-07-06 05:26:58'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.334643 -2.790966)', '2026-07-06 05:27:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334729 -2.79107)'), GeomFromEWKT('SRID=4674;POINT (-40.334643 -2.790966)'))) / (select extract(epoch from '2026-07-06 05:27:06'::timestamp) - extract(epoch from '2026-07-06 05:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334729 -2.79107)'), GeomFromEWKT('SRID=4674;POINT (-40.334643 -2.790966)'))) / (select extract(epoch from '2026-07-06 05:27:06'::timestamp) - extract(epoch from '2026-07-06 05:26: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'), 47648, 'SRID=4674;POINT (-40.334585 -2.790869)', '2026-07-06 05:27:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334643 -2.790966)'), GeomFromEWKT('SRID=4674;POINT (-40.334585 -2.790869)'))) / (select extract(epoch from '2026-07-06 05:27:13'::timestamp) - extract(epoch from '2026-07-06 05:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334643 -2.790966)'), GeomFromEWKT('SRID=4674;POINT (-40.334585 -2.790869)'))) / (select extract(epoch from '2026-07-06 05:27:13'::timestamp) - extract(epoch from '2026-07-06 05:27: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'), 47648, 'SRID=4674;POINT (-40.334537 -2.790761)', '2026-07-06 05:27:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334585 -2.790869)'), GeomFromEWKT('SRID=4674;POINT (-40.334537 -2.790761)'))) / (select extract(epoch from '2026-07-06 05:27:20'::timestamp) - extract(epoch from '2026-07-06 05:27:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334585 -2.790869)'), GeomFromEWKT('SRID=4674;POINT (-40.334537 -2.790761)'))) / (select extract(epoch from '2026-07-06 05:27:20'::timestamp) - extract(epoch from '2026-07-06 05:27:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.334484 -2.790652)', '2026-07-06 05:27:27', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334537 -2.790761)'), GeomFromEWKT('SRID=4674;POINT (-40.334484 -2.790652)'))) / (select extract(epoch from '2026-07-06 05:27:27'::timestamp) - extract(epoch from '2026-07-06 05:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334537 -2.790761)'), GeomFromEWKT('SRID=4674;POINT (-40.334484 -2.790652)'))) / (select extract(epoch from '2026-07-06 05:27:27'::timestamp) - extract(epoch from '2026-07-06 05:27: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'), 47648, 'SRID=4674;POINT (-40.334438 -2.790559)', '2026-07-06 05:27:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334484 -2.790652)'), GeomFromEWKT('SRID=4674;POINT (-40.334438 -2.790559)'))) / (select extract(epoch from '2026-07-06 05:27:33'::timestamp) - extract(epoch from '2026-07-06 05:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334484 -2.790652)'), GeomFromEWKT('SRID=4674;POINT (-40.334438 -2.790559)'))) / (select extract(epoch from '2026-07-06 05:27:33'::timestamp) - extract(epoch from '2026-07-06 05:27: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'), 47648, 'SRID=4674;POINT (-40.334372 -2.790465)', '2026-07-06 05:27:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334438 -2.790559)'), GeomFromEWKT('SRID=4674;POINT (-40.334372 -2.790465)'))) / (select extract(epoch from '2026-07-06 05:27:40'::timestamp) - extract(epoch from '2026-07-06 05:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334438 -2.790559)'), GeomFromEWKT('SRID=4674;POINT (-40.334372 -2.790465)'))) / (select extract(epoch from '2026-07-06 05:27:40'::timestamp) - extract(epoch from '2026-07-06 05:27: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'), 47648, 'SRID=4674;POINT (-40.334291 -2.790339)', '2026-07-06 05:27:49', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334372 -2.790465)'), GeomFromEWKT('SRID=4674;POINT (-40.334291 -2.790339)'))) / (select extract(epoch from '2026-07-06 05:27:49'::timestamp) - extract(epoch from '2026-07-06 05:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334372 -2.790465)'), GeomFromEWKT('SRID=4674;POINT (-40.334291 -2.790339)'))) / (select extract(epoch from '2026-07-06 05:27:49'::timestamp) - extract(epoch from '2026-07-06 05:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.334221 -2.790216)', '2026-07-06 05:27:57', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334291 -2.790339)'), GeomFromEWKT('SRID=4674;POINT (-40.334221 -2.790216)'))) / (select extract(epoch from '2026-07-06 05:27:57'::timestamp) - extract(epoch from '2026-07-06 05:27:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334291 -2.790339)'), GeomFromEWKT('SRID=4674;POINT (-40.334221 -2.790216)'))) / (select extract(epoch from '2026-07-06 05:27:57'::timestamp) - extract(epoch from '2026-07-06 05:27: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'), 47648, 'SRID=4674;POINT (-40.334151 -2.790096)', '2026-07-06 05:28:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334221 -2.790216)'), GeomFromEWKT('SRID=4674;POINT (-40.334151 -2.790096)'))) / (select extract(epoch from '2026-07-06 05:28:05'::timestamp) - extract(epoch from '2026-07-06 05:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334221 -2.790216)'), GeomFromEWKT('SRID=4674;POINT (-40.334151 -2.790096)'))) / (select extract(epoch from '2026-07-06 05:28:05'::timestamp) - extract(epoch from '2026-07-06 05:27: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'), 47648, 'SRID=4674;POINT (-40.334089 -2.789999)', '2026-07-06 05:28:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334151 -2.790096)'), GeomFromEWKT('SRID=4674;POINT (-40.334089 -2.789999)'))) / (select extract(epoch from '2026-07-06 05:28:12'::timestamp) - extract(epoch from '2026-07-06 05:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334151 -2.790096)'), GeomFromEWKT('SRID=4674;POINT (-40.334089 -2.789999)'))) / (select extract(epoch from '2026-07-06 05:28:12'::timestamp) - extract(epoch from '2026-07-06 05:28: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'), 47648, 'SRID=4674;POINT (-40.334006 -2.789872)', '2026-07-06 05:28:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334089 -2.789999)'), GeomFromEWKT('SRID=4674;POINT (-40.334006 -2.789872)'))) / (select extract(epoch from '2026-07-06 05:28:21'::timestamp) - extract(epoch from '2026-07-06 05:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334089 -2.789999)'), GeomFromEWKT('SRID=4674;POINT (-40.334006 -2.789872)'))) / (select extract(epoch from '2026-07-06 05:28:21'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.333917 -2.789765)', '2026-07-06 05:28:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334006 -2.789872)'), GeomFromEWKT('SRID=4674;POINT (-40.333917 -2.789765)'))) / (select extract(epoch from '2026-07-06 05:28:29'::timestamp) - extract(epoch from '2026-07-06 05:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334006 -2.789872)'), GeomFromEWKT('SRID=4674;POINT (-40.333917 -2.789765)'))) / (select extract(epoch from '2026-07-06 05:28:29'::timestamp) - extract(epoch from '2026-07-06 05:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.333793 -2.789668)', '2026-07-06 05:28:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333917 -2.789765)'), GeomFromEWKT('SRID=4674;POINT (-40.333793 -2.789668)'))) / (select extract(epoch from '2026-07-06 05:28:38'::timestamp) - extract(epoch from '2026-07-06 05:28:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333917 -2.789765)'), GeomFromEWKT('SRID=4674;POINT (-40.333793 -2.789668)'))) / (select extract(epoch from '2026-07-06 05:28:38'::timestamp) - extract(epoch from '2026-07-06 05:28: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'), 47648, 'SRID=4674;POINT (-40.333654 -2.789574)', '2026-07-06 05:28:47', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333793 -2.789668)'), GeomFromEWKT('SRID=4674;POINT (-40.333654 -2.789574)'))) / (select extract(epoch from '2026-07-06 05:28:47'::timestamp) - extract(epoch from '2026-07-06 05:28:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333793 -2.789668)'), GeomFromEWKT('SRID=4674;POINT (-40.333654 -2.789574)'))) / (select extract(epoch from '2026-07-06 05:28:47'::timestamp) - extract(epoch from '2026-07-06 05:28: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'), 47648, 'SRID=4674;POINT (-40.333561 -2.789511)', '2026-07-06 05:28:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333654 -2.789574)'), GeomFromEWKT('SRID=4674;POINT (-40.333561 -2.789511)'))) / (select extract(epoch from '2026-07-06 05:28:54'::timestamp) - extract(epoch from '2026-07-06 05:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333654 -2.789574)'), GeomFromEWKT('SRID=4674;POINT (-40.333561 -2.789511)'))) / (select extract(epoch from '2026-07-06 05:28:54'::timestamp) - extract(epoch from '2026-07-06 05:28: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'), 47648, 'SRID=4674;POINT (-40.333458 -2.789417)', '2026-07-06 05:29:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333561 -2.789511)'), GeomFromEWKT('SRID=4674;POINT (-40.333458 -2.789417)'))) / (select extract(epoch from '2026-07-06 05:29:02'::timestamp) - extract(epoch from '2026-07-06 05:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333561 -2.789511)'), GeomFromEWKT('SRID=4674;POINT (-40.333458 -2.789417)'))) / (select extract(epoch from '2026-07-06 05:29:02'::timestamp) - extract(epoch from '2026-07-06 05:28: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'), 47648, 'SRID=4674;POINT (-40.333337 -2.789347)', '2026-07-06 05:29:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333458 -2.789417)'), GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.789347)'))) / (select extract(epoch from '2026-07-06 05:29:10'::timestamp) - extract(epoch from '2026-07-06 05:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333458 -2.789417)'), GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.789347)'))) / (select extract(epoch from '2026-07-06 05:29:10'::timestamp) - extract(epoch from '2026-07-06 05:29:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.333283 -2.789277)', '2026-07-06 05:29:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.789347)'), GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.789277)'))) / (select extract(epoch from '2026-07-06 05:29:16'::timestamp) - extract(epoch from '2026-07-06 05:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333337 -2.789347)'), GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.789277)'))) / (select extract(epoch from '2026-07-06 05:29:16'::timestamp) - extract(epoch from '2026-07-06 05:29: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'), 47648, 'SRID=4674;POINT (-40.33323 -2.789135)', '2026-07-06 05:29:25', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.789277)'), GeomFromEWKT('SRID=4674;POINT (-40.33323 -2.789135)'))) / (select extract(epoch from '2026-07-06 05:29:25'::timestamp) - extract(epoch from '2026-07-06 05:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333283 -2.789277)'), GeomFromEWKT('SRID=4674;POINT (-40.33323 -2.789135)'))) / (select extract(epoch from '2026-07-06 05:29:25'::timestamp) - extract(epoch from '2026-07-06 05:29: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'), 47648, 'SRID=4674;POINT (-40.333169 -2.788998)', '2026-07-06 05:29:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33323 -2.789135)'), GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.788998)'))) / (select extract(epoch from '2026-07-06 05:29:34'::timestamp) - extract(epoch from '2026-07-06 05:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33323 -2.789135)'), GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.788998)'))) / (select extract(epoch from '2026-07-06 05:29:34'::timestamp) - extract(epoch from '2026-07-06 05:29: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'), 47648, 'SRID=4674;POINT (-40.333101 -2.788815)', '2026-07-06 05:29:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.788998)'), GeomFromEWKT('SRID=4674;POINT (-40.333101 -2.788815)'))) / (select extract(epoch from '2026-07-06 05:29:45'::timestamp) - extract(epoch from '2026-07-06 05:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333169 -2.788998)'), GeomFromEWKT('SRID=4674;POINT (-40.333101 -2.788815)'))) / (select extract(epoch from '2026-07-06 05:29:45'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.333066 -2.788663)', '2026-07-06 05:29:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333101 -2.788815)'), GeomFromEWKT('SRID=4674;POINT (-40.333066 -2.788663)'))) / (select extract(epoch from '2026-07-06 05:29:53'::timestamp) - extract(epoch from '2026-07-06 05:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333101 -2.788815)'), GeomFromEWKT('SRID=4674;POINT (-40.333066 -2.788663)'))) / (select extract(epoch from '2026-07-06 05:29:53'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.333039 -2.788521)', '2026-07-06 05:30:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333066 -2.788663)'), GeomFromEWKT('SRID=4674;POINT (-40.333039 -2.788521)'))) / (select extract(epoch from '2026-07-06 05:30:01'::timestamp) - extract(epoch from '2026-07-06 05:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333066 -2.788663)'), GeomFromEWKT('SRID=4674;POINT (-40.333039 -2.788521)'))) / (select extract(epoch from '2026-07-06 05:30:01'::timestamp) - extract(epoch from '2026-07-06 05:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.332962 -2.788407)', '2026-07-06 05:30:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333039 -2.788521)'), GeomFromEWKT('SRID=4674;POINT (-40.332962 -2.788407)'))) / (select extract(epoch from '2026-07-06 05:30:09'::timestamp) - extract(epoch from '2026-07-06 05:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333039 -2.788521)'), GeomFromEWKT('SRID=4674;POINT (-40.332962 -2.788407)'))) / (select extract(epoch from '2026-07-06 05:30:09'::timestamp) - extract(epoch from '2026-07-06 05:30:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.332853 -2.788299)', '2026-07-06 05:30:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332962 -2.788407)'), GeomFromEWKT('SRID=4674;POINT (-40.332853 -2.788299)'))) / (select extract(epoch from '2026-07-06 05:30:18'::timestamp) - extract(epoch from '2026-07-06 05:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332962 -2.788407)'), GeomFromEWKT('SRID=4674;POINT (-40.332853 -2.788299)'))) / (select extract(epoch from '2026-07-06 05:30:18'::timestamp) - extract(epoch from '2026-07-06 05:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.332758 -2.788216)', '2026-07-06 05:30:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332853 -2.788299)'), GeomFromEWKT('SRID=4674;POINT (-40.332758 -2.788216)'))) / (select extract(epoch from '2026-07-06 05:30:26'::timestamp) - extract(epoch from '2026-07-06 05:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332853 -2.788299)'), GeomFromEWKT('SRID=4674;POINT (-40.332758 -2.788216)'))) / (select extract(epoch from '2026-07-06 05:30:26'::timestamp) - extract(epoch from '2026-07-06 05:30: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'), 47648, 'SRID=4674;POINT (-40.332676 -2.788129)', '2026-07-06 05:30:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332758 -2.788216)'), GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.788129)'))) / (select extract(epoch from '2026-07-06 05:30:34'::timestamp) - extract(epoch from '2026-07-06 05:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332758 -2.788216)'), GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.788129)'))) / (select extract(epoch from '2026-07-06 05:30:34'::timestamp) - extract(epoch from '2026-07-06 05:30: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'), 47648, 'SRID=4674;POINT (-40.332576 -2.788025)', '2026-07-06 05:30:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.788129)'), GeomFromEWKT('SRID=4674;POINT (-40.332576 -2.788025)'))) / (select extract(epoch from '2026-07-06 05:30:42'::timestamp) - extract(epoch from '2026-07-06 05:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332676 -2.788129)'), GeomFromEWKT('SRID=4674;POINT (-40.332576 -2.788025)'))) / (select extract(epoch from '2026-07-06 05:30:42'::timestamp) - extract(epoch from '2026-07-06 05:30: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'), 47648, 'SRID=4674;POINT (-40.332464 -2.787916)', '2026-07-06 05:30:52', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332576 -2.788025)'), GeomFromEWKT('SRID=4674;POINT (-40.332464 -2.787916)'))) / (select extract(epoch from '2026-07-06 05:30:52'::timestamp) - extract(epoch from '2026-07-06 05:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332576 -2.788025)'), GeomFromEWKT('SRID=4674;POINT (-40.332464 -2.787916)'))) / (select extract(epoch from '2026-07-06 05:30:52'::timestamp) - extract(epoch from '2026-07-06 05:30: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'), 47648, 'SRID=4674;POINT (-40.332358 -2.787791)', '2026-07-06 05:31:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332464 -2.787916)'), GeomFromEWKT('SRID=4674;POINT (-40.332358 -2.787791)'))) / (select extract(epoch from '2026-07-06 05:31:01'::timestamp) - extract(epoch from '2026-07-06 05:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332464 -2.787916)'), GeomFromEWKT('SRID=4674;POINT (-40.332358 -2.787791)'))) / (select extract(epoch from '2026-07-06 05:31:01'::timestamp) - extract(epoch from '2026-07-06 05:30: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'), 47648, 'SRID=4674;POINT (-40.332265 -2.787685)', '2026-07-06 05:31:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332358 -2.787791)'), GeomFromEWKT('SRID=4674;POINT (-40.332265 -2.787685)'))) / (select extract(epoch from '2026-07-06 05:31:10'::timestamp) - extract(epoch from '2026-07-06 05:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332358 -2.787791)'), GeomFromEWKT('SRID=4674;POINT (-40.332265 -2.787685)'))) / (select extract(epoch from '2026-07-06 05:31:10'::timestamp) - extract(epoch from '2026-07-06 05:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.332186 -2.78761)', '2026-07-06 05:31:17', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332265 -2.787685)'), GeomFromEWKT('SRID=4674;POINT (-40.332186 -2.78761)'))) / (select extract(epoch from '2026-07-06 05:31:17'::timestamp) - extract(epoch from '2026-07-06 05:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332265 -2.787685)'), GeomFromEWKT('SRID=4674;POINT (-40.332186 -2.78761)'))) / (select extract(epoch from '2026-07-06 05:31:17'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.332065 -2.787523)', '2026-07-06 05:31:26', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332186 -2.78761)'), GeomFromEWKT('SRID=4674;POINT (-40.332065 -2.787523)'))) / (select extract(epoch from '2026-07-06 05:31:26'::timestamp) - extract(epoch from '2026-07-06 05:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332186 -2.78761)'), GeomFromEWKT('SRID=4674;POINT (-40.332065 -2.787523)'))) / (select extract(epoch from '2026-07-06 05:31:26'::timestamp) - extract(epoch from '2026-07-06 05:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.33196 -2.787443)', '2026-07-06 05:31:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332065 -2.787523)'), GeomFromEWKT('SRID=4674;POINT (-40.33196 -2.787443)'))) / (select extract(epoch from '2026-07-06 05:31:34'::timestamp) - extract(epoch from '2026-07-06 05:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332065 -2.787523)'), GeomFromEWKT('SRID=4674;POINT (-40.33196 -2.787443)'))) / (select extract(epoch from '2026-07-06 05:31:34'::timestamp) - extract(epoch from '2026-07-06 05:31: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'), 47648, 'SRID=4674;POINT (-40.331875 -2.78736)', '2026-07-06 05:31:42', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33196 -2.787443)'), GeomFromEWKT('SRID=4674;POINT (-40.331875 -2.78736)'))) / (select extract(epoch from '2026-07-06 05:31:42'::timestamp) - extract(epoch from '2026-07-06 05:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33196 -2.787443)'), GeomFromEWKT('SRID=4674;POINT (-40.331875 -2.78736)'))) / (select extract(epoch from '2026-07-06 05:31:42'::timestamp) - extract(epoch from '2026-07-06 05:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.331764 -2.787262)', '2026-07-06 05:31:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331875 -2.78736)'), GeomFromEWKT('SRID=4674;POINT (-40.331764 -2.787262)'))) / (select extract(epoch from '2026-07-06 05:31:51'::timestamp) - extract(epoch from '2026-07-06 05:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331875 -2.78736)'), GeomFromEWKT('SRID=4674;POINT (-40.331764 -2.787262)'))) / (select extract(epoch from '2026-07-06 05:31:51'::timestamp) - extract(epoch from '2026-07-06 05:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.331657 -2.787179)', '2026-07-06 05:32:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331764 -2.787262)'), GeomFromEWKT('SRID=4674;POINT (-40.331657 -2.787179)'))) / (select extract(epoch from '2026-07-06 05:32:00'::timestamp) - extract(epoch from '2026-07-06 05:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331764 -2.787262)'), GeomFromEWKT('SRID=4674;POINT (-40.331657 -2.787179)'))) / (select extract(epoch from '2026-07-06 05:32:00'::timestamp) - extract(epoch from '2026-07-06 05:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.331554 -2.787083)', '2026-07-06 05:32:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331657 -2.787179)'), GeomFromEWKT('SRID=4674;POINT (-40.331554 -2.787083)'))) / (select extract(epoch from '2026-07-06 05:32:09'::timestamp) - extract(epoch from '2026-07-06 05:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331657 -2.787179)'), GeomFromEWKT('SRID=4674;POINT (-40.331554 -2.787083)'))) / (select extract(epoch from '2026-07-06 05:32:09'::timestamp) - extract(epoch from '2026-07-06 05:32: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'), 47648, 'SRID=4674;POINT (-40.331433 -2.786966)', '2026-07-06 05:32:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331554 -2.787083)'), GeomFromEWKT('SRID=4674;POINT (-40.331433 -2.786966)'))) / (select extract(epoch from '2026-07-06 05:32:19'::timestamp) - extract(epoch from '2026-07-06 05:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331554 -2.787083)'), GeomFromEWKT('SRID=4674;POINT (-40.331433 -2.786966)'))) / (select extract(epoch from '2026-07-06 05:32:19'::timestamp) - extract(epoch from '2026-07-06 05:32:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.331336 -2.786874)', '2026-07-06 05:32:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331433 -2.786966)'), GeomFromEWKT('SRID=4674;POINT (-40.331336 -2.786874)'))) / (select extract(epoch from '2026-07-06 05:32:27'::timestamp) - extract(epoch from '2026-07-06 05:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331433 -2.786966)'), GeomFromEWKT('SRID=4674;POINT (-40.331336 -2.786874)'))) / (select extract(epoch from '2026-07-06 05:32:27'::timestamp) - extract(epoch from '2026-07-06 05:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.331226 -2.786778)', '2026-07-06 05:32:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331336 -2.786874)'), GeomFromEWKT('SRID=4674;POINT (-40.331226 -2.786778)'))) / (select extract(epoch from '2026-07-06 05:32:35'::timestamp) - extract(epoch from '2026-07-06 05:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331336 -2.786874)'), GeomFromEWKT('SRID=4674;POINT (-40.331226 -2.786778)'))) / (select extract(epoch from '2026-07-06 05:32:35'::timestamp) - extract(epoch from '2026-07-06 05:32: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'), 47648, 'SRID=4674;POINT (-40.331128 -2.786673)', '2026-07-06 05:32:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331226 -2.786778)'), GeomFromEWKT('SRID=4674;POINT (-40.331128 -2.786673)'))) / (select extract(epoch from '2026-07-06 05:32:44'::timestamp) - extract(epoch from '2026-07-06 05:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331226 -2.786778)'), GeomFromEWKT('SRID=4674;POINT (-40.331128 -2.786673)'))) / (select extract(epoch from '2026-07-06 05:32:44'::timestamp) - extract(epoch from '2026-07-06 05:32: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'), 47648, 'SRID=4674;POINT (-40.331054 -2.786581)', '2026-07-06 05:32:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331128 -2.786673)'), GeomFromEWKT('SRID=4674;POINT (-40.331054 -2.786581)'))) / (select extract(epoch from '2026-07-06 05:32:52'::timestamp) - extract(epoch from '2026-07-06 05:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331128 -2.786673)'), GeomFromEWKT('SRID=4674;POINT (-40.331054 -2.786581)'))) / (select extract(epoch from '2026-07-06 05:32:52'::timestamp) - extract(epoch from '2026-07-06 05:32: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'), 47648, 'SRID=4674;POINT (-40.330975 -2.786479)', '2026-07-06 05:33:00', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331054 -2.786581)'), GeomFromEWKT('SRID=4674;POINT (-40.330975 -2.786479)'))) / (select extract(epoch from '2026-07-06 05:33:00'::timestamp) - extract(epoch from '2026-07-06 05:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331054 -2.786581)'), GeomFromEWKT('SRID=4674;POINT (-40.330975 -2.786479)'))) / (select extract(epoch from '2026-07-06 05:33:00'::timestamp) - extract(epoch from '2026-07-06 05:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.33084 -2.786351)', '2026-07-06 05:33:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330975 -2.786479)'), GeomFromEWKT('SRID=4674;POINT (-40.33084 -2.786351)'))) / (select extract(epoch from '2026-07-06 05:33:10'::timestamp) - extract(epoch from '2026-07-06 05:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330975 -2.786479)'), GeomFromEWKT('SRID=4674;POINT (-40.33084 -2.786351)'))) / (select extract(epoch from '2026-07-06 05:33:10'::timestamp) - extract(epoch from '2026-07-06 05:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.330725 -2.786266)', '2026-07-06 05:33:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33084 -2.786351)'), GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.786266)'))) / (select extract(epoch from '2026-07-06 05:33:18'::timestamp) - extract(epoch from '2026-07-06 05:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33084 -2.786351)'), GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.786266)'))) / (select extract(epoch from '2026-07-06 05:33:18'::timestamp) - extract(epoch from '2026-07-06 05:33:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.330624 -2.78617)', '2026-07-06 05:33:26', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.786266)'), GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.78617)'))) / (select extract(epoch from '2026-07-06 05:33:26'::timestamp) - extract(epoch from '2026-07-06 05:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330725 -2.786266)'), GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.78617)'))) / (select extract(epoch from '2026-07-06 05:33:26'::timestamp) - extract(epoch from '2026-07-06 05:33: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'), 47648, 'SRID=4674;POINT (-40.330535 -2.786063)', '2026-07-06 05:33:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.78617)'), GeomFromEWKT('SRID=4674;POINT (-40.330535 -2.786063)'))) / (select extract(epoch from '2026-07-06 05:33:34'::timestamp) - extract(epoch from '2026-07-06 05:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330624 -2.78617)'), GeomFromEWKT('SRID=4674;POINT (-40.330535 -2.786063)'))) / (select extract(epoch from '2026-07-06 05:33:34'::timestamp) - extract(epoch from '2026-07-06 05:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.330468 -2.785968)', '2026-07-06 05:33:41', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330535 -2.786063)'), GeomFromEWKT('SRID=4674;POINT (-40.330468 -2.785968)'))) / (select extract(epoch from '2026-07-06 05:33:41'::timestamp) - extract(epoch from '2026-07-06 05:33:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330535 -2.786063)'), GeomFromEWKT('SRID=4674;POINT (-40.330468 -2.785968)'))) / (select extract(epoch from '2026-07-06 05:33:41'::timestamp) - extract(epoch from '2026-07-06 05:33:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.330389 -2.78586)', '2026-07-06 05:33:49', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330468 -2.785968)'), GeomFromEWKT('SRID=4674;POINT (-40.330389 -2.78586)'))) / (select extract(epoch from '2026-07-06 05:33:49'::timestamp) - extract(epoch from '2026-07-06 05:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330468 -2.785968)'), GeomFromEWKT('SRID=4674;POINT (-40.330389 -2.78586)'))) / (select extract(epoch from '2026-07-06 05:33:49'::timestamp) - extract(epoch from '2026-07-06 05:33: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'), 47648, 'SRID=4674;POINT (-40.330322 -2.785788)', '2026-07-06 05:33:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330389 -2.78586)'), GeomFromEWKT('SRID=4674;POINT (-40.330322 -2.785788)'))) / (select extract(epoch from '2026-07-06 05:33:56'::timestamp) - extract(epoch from '2026-07-06 05:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330389 -2.78586)'), GeomFromEWKT('SRID=4674;POINT (-40.330322 -2.785788)'))) / (select extract(epoch from '2026-07-06 05:33:56'::timestamp) - extract(epoch from '2026-07-06 05:33: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'), 47648, 'SRID=4674;POINT (-40.330242 -2.785669)', '2026-07-06 05:34:05', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330322 -2.785788)'), GeomFromEWKT('SRID=4674;POINT (-40.330242 -2.785669)'))) / (select extract(epoch from '2026-07-06 05:34:05'::timestamp) - extract(epoch from '2026-07-06 05:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330322 -2.785788)'), GeomFromEWKT('SRID=4674;POINT (-40.330242 -2.785669)'))) / (select extract(epoch from '2026-07-06 05:34:05'::timestamp) - extract(epoch from '2026-07-06 05:33: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'), 47648, 'SRID=4674;POINT (-40.330188 -2.785591)', '2026-07-06 05:34:11', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330242 -2.785669)'), GeomFromEWKT('SRID=4674;POINT (-40.330188 -2.785591)'))) / (select extract(epoch from '2026-07-06 05:34:11'::timestamp) - extract(epoch from '2026-07-06 05:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330242 -2.785669)'), GeomFromEWKT('SRID=4674;POINT (-40.330188 -2.785591)'))) / (select extract(epoch from '2026-07-06 05:34:11'::timestamp) - extract(epoch from '2026-07-06 05:34:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.330102 -2.785464)', '2026-07-06 05:34:20', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330188 -2.785591)'), GeomFromEWKT('SRID=4674;POINT (-40.330102 -2.785464)'))) / (select extract(epoch from '2026-07-06 05:34:20'::timestamp) - extract(epoch from '2026-07-06 05:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330188 -2.785591)'), GeomFromEWKT('SRID=4674;POINT (-40.330102 -2.785464)'))) / (select extract(epoch from '2026-07-06 05:34:20'::timestamp) - extract(epoch from '2026-07-06 05:34:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.330011 -2.785338)', '2026-07-06 05:34:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330102 -2.785464)'), GeomFromEWKT('SRID=4674;POINT (-40.330011 -2.785338)'))) / (select extract(epoch from '2026-07-06 05:34:29'::timestamp) - extract(epoch from '2026-07-06 05:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330102 -2.785464)'), GeomFromEWKT('SRID=4674;POINT (-40.330011 -2.785338)'))) / (select extract(epoch from '2026-07-06 05:34:29'::timestamp) - extract(epoch from '2026-07-06 05:34:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.329935 -2.785204)', '2026-07-06 05:34:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330011 -2.785338)'), GeomFromEWKT('SRID=4674;POINT (-40.329935 -2.785204)'))) / (select extract(epoch from '2026-07-06 05:34:37'::timestamp) - extract(epoch from '2026-07-06 05:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330011 -2.785338)'), GeomFromEWKT('SRID=4674;POINT (-40.329935 -2.785204)'))) / (select extract(epoch from '2026-07-06 05:34:37'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.329847 -2.785072)', '2026-07-06 05:34:46', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329935 -2.785204)'), GeomFromEWKT('SRID=4674;POINT (-40.329847 -2.785072)'))) / (select extract(epoch from '2026-07-06 05:34:46'::timestamp) - extract(epoch from '2026-07-06 05:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329935 -2.785204)'), GeomFromEWKT('SRID=4674;POINT (-40.329847 -2.785072)'))) / (select extract(epoch from '2026-07-06 05:34:46'::timestamp) - extract(epoch from '2026-07-06 05:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.329721 -2.784991)', '2026-07-06 05:34:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329847 -2.785072)'), GeomFromEWKT('SRID=4674;POINT (-40.329721 -2.784991)'))) / (select extract(epoch from '2026-07-06 05:34:54'::timestamp) - extract(epoch from '2026-07-06 05:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329847 -2.785072)'), GeomFromEWKT('SRID=4674;POINT (-40.329721 -2.784991)'))) / (select extract(epoch from '2026-07-06 05:34:54'::timestamp) - extract(epoch from '2026-07-06 05:34: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'), 47648, 'SRID=4674;POINT (-40.329632 -2.784903)', '2026-07-06 05:35:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329721 -2.784991)'), GeomFromEWKT('SRID=4674;POINT (-40.329632 -2.784903)'))) / (select extract(epoch from '2026-07-06 05:35:02'::timestamp) - extract(epoch from '2026-07-06 05:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329721 -2.784991)'), GeomFromEWKT('SRID=4674;POINT (-40.329632 -2.784903)'))) / (select extract(epoch from '2026-07-06 05:35:02'::timestamp) - extract(epoch from '2026-07-06 05:34:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.329545 -2.784789)', '2026-07-06 05:35:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329632 -2.784903)'), GeomFromEWKT('SRID=4674;POINT (-40.329545 -2.784789)'))) / (select extract(epoch from '2026-07-06 05:35:12'::timestamp) - extract(epoch from '2026-07-06 05:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329632 -2.784903)'), GeomFromEWKT('SRID=4674;POINT (-40.329545 -2.784789)'))) / (select extract(epoch from '2026-07-06 05:35:12'::timestamp) - extract(epoch from '2026-07-06 05:35: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'), 47648, 'SRID=4674;POINT (-40.329444 -2.784686)', '2026-07-06 05:35:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329545 -2.784789)'), GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.784686)'))) / (select extract(epoch from '2026-07-06 05:35:20'::timestamp) - extract(epoch from '2026-07-06 05:35:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329545 -2.784789)'), GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.784686)'))) / (select extract(epoch from '2026-07-06 05:35:20'::timestamp) - extract(epoch from '2026-07-06 05:35:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.329325 -2.784603)', '2026-07-06 05:35:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.784686)'), GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.784603)'))) / (select extract(epoch from '2026-07-06 05:35:28'::timestamp) - extract(epoch from '2026-07-06 05:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.784686)'), GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.784603)'))) / (select extract(epoch from '2026-07-06 05:35:28'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.329215 -2.784521)', '2026-07-06 05:35:36', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.784603)'), GeomFromEWKT('SRID=4674;POINT (-40.329215 -2.784521)'))) / (select extract(epoch from '2026-07-06 05:35:36'::timestamp) - extract(epoch from '2026-07-06 05:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.784603)'), GeomFromEWKT('SRID=4674;POINT (-40.329215 -2.784521)'))) / (select extract(epoch from '2026-07-06 05:35:36'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.329128 -2.784426)', '2026-07-06 05:35:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329215 -2.784521)'), GeomFromEWKT('SRID=4674;POINT (-40.329128 -2.784426)'))) / (select extract(epoch from '2026-07-06 05:35:44'::timestamp) - extract(epoch from '2026-07-06 05:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329215 -2.784521)'), GeomFromEWKT('SRID=4674;POINT (-40.329128 -2.784426)'))) / (select extract(epoch from '2026-07-06 05:35:44'::timestamp) - extract(epoch from '2026-07-06 05:35: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'), 47648, 'SRID=4674;POINT (-40.32905 -2.784335)', '2026-07-06 05:35:51', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329128 -2.784426)'), GeomFromEWKT('SRID=4674;POINT (-40.32905 -2.784335)'))) / (select extract(epoch from '2026-07-06 05:35:51'::timestamp) - extract(epoch from '2026-07-06 05:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329128 -2.784426)'), GeomFromEWKT('SRID=4674;POINT (-40.32905 -2.784335)'))) / (select extract(epoch from '2026-07-06 05:35:51'::timestamp) - extract(epoch from '2026-07-06 05:35:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.328959 -2.784232)', '2026-07-06 05:35:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32905 -2.784335)'), GeomFromEWKT('SRID=4674;POINT (-40.328959 -2.784232)'))) / (select extract(epoch from '2026-07-06 05:35:59'::timestamp) - extract(epoch from '2026-07-06 05:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32905 -2.784335)'), GeomFromEWKT('SRID=4674;POINT (-40.328959 -2.784232)'))) / (select extract(epoch from '2026-07-06 05:35:59'::timestamp) - extract(epoch from '2026-07-06 05:35: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'), 47648, 'SRID=4674;POINT (-40.328841 -2.784129)', '2026-07-06 05:36:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328959 -2.784232)'), GeomFromEWKT('SRID=4674;POINT (-40.328841 -2.784129)'))) / (select extract(epoch from '2026-07-06 05:36:09'::timestamp) - extract(epoch from '2026-07-06 05:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328959 -2.784232)'), GeomFromEWKT('SRID=4674;POINT (-40.328841 -2.784129)'))) / (select extract(epoch from '2026-07-06 05:36:09'::timestamp) - extract(epoch from '2026-07-06 05:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.328743 -2.784011)', '2026-07-06 05:36:18', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328841 -2.784129)'), GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.784011)'))) / (select extract(epoch from '2026-07-06 05:36:18'::timestamp) - extract(epoch from '2026-07-06 05:36:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328841 -2.784129)'), GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.784011)'))) / (select extract(epoch from '2026-07-06 05:36:18'::timestamp) - extract(epoch from '2026-07-06 05:36:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.328613 -2.783885)', '2026-07-06 05:36:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.784011)'), GeomFromEWKT('SRID=4674;POINT (-40.328613 -2.783885)'))) / (select extract(epoch from '2026-07-06 05:36:28'::timestamp) - extract(epoch from '2026-07-06 05:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328743 -2.784011)'), GeomFromEWKT('SRID=4674;POINT (-40.328613 -2.783885)'))) / (select extract(epoch from '2026-07-06 05:36:28'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.328507 -2.783786)', '2026-07-06 05:36:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328613 -2.783885)'), GeomFromEWKT('SRID=4674;POINT (-40.328507 -2.783786)'))) / (select extract(epoch from '2026-07-06 05:36:36'::timestamp) - extract(epoch from '2026-07-06 05:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328613 -2.783885)'), GeomFromEWKT('SRID=4674;POINT (-40.328507 -2.783786)'))) / (select extract(epoch from '2026-07-06 05:36:36'::timestamp) - extract(epoch from '2026-07-06 05:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.328401 -2.783674)', '2026-07-06 05:36:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328507 -2.783786)'), GeomFromEWKT('SRID=4674;POINT (-40.328401 -2.783674)'))) / (select extract(epoch from '2026-07-06 05:36:45'::timestamp) - extract(epoch from '2026-07-06 05:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328507 -2.783786)'), GeomFromEWKT('SRID=4674;POINT (-40.328401 -2.783674)'))) / (select extract(epoch from '2026-07-06 05:36:45'::timestamp) - extract(epoch from '2026-07-06 05:36: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'), 47648, 'SRID=4674;POINT (-40.328326 -2.78356)', '2026-07-06 05:36:54', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328401 -2.783674)'), GeomFromEWKT('SRID=4674;POINT (-40.328326 -2.78356)'))) / (select extract(epoch from '2026-07-06 05:36:54'::timestamp) - extract(epoch from '2026-07-06 05:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328401 -2.783674)'), GeomFromEWKT('SRID=4674;POINT (-40.328326 -2.78356)'))) / (select extract(epoch from '2026-07-06 05:36:54'::timestamp) - extract(epoch from '2026-07-06 05:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.328254 -2.783482)', '2026-07-06 05:37:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328326 -2.78356)'), GeomFromEWKT('SRID=4674;POINT (-40.328254 -2.783482)'))) / (select extract(epoch from '2026-07-06 05:37:01'::timestamp) - extract(epoch from '2026-07-06 05:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328326 -2.78356)'), GeomFromEWKT('SRID=4674;POINT (-40.328254 -2.783482)'))) / (select extract(epoch from '2026-07-06 05:37:01'::timestamp) - extract(epoch from '2026-07-06 05:36: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'), 47648, 'SRID=4674;POINT (-40.328166 -2.7834)', '2026-07-06 05:37:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328254 -2.783482)'), GeomFromEWKT('SRID=4674;POINT (-40.328166 -2.7834)'))) / (select extract(epoch from '2026-07-06 05:37:09'::timestamp) - extract(epoch from '2026-07-06 05:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328254 -2.783482)'), GeomFromEWKT('SRID=4674;POINT (-40.328166 -2.7834)'))) / (select extract(epoch from '2026-07-06 05:37:09'::timestamp) - extract(epoch from '2026-07-06 05:37: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'), 47648, 'SRID=4674;POINT (-40.328065 -2.783296)', '2026-07-06 05:37:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328166 -2.7834)'), GeomFromEWKT('SRID=4674;POINT (-40.328065 -2.783296)'))) / (select extract(epoch from '2026-07-06 05:37:17'::timestamp) - extract(epoch from '2026-07-06 05:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328166 -2.7834)'), GeomFromEWKT('SRID=4674;POINT (-40.328065 -2.783296)'))) / (select extract(epoch from '2026-07-06 05:37:17'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.327976 -2.783202)', '2026-07-06 05:37:25', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328065 -2.783296)'), GeomFromEWKT('SRID=4674;POINT (-40.327976 -2.783202)'))) / (select extract(epoch from '2026-07-06 05:37:25'::timestamp) - extract(epoch from '2026-07-06 05:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328065 -2.783296)'), GeomFromEWKT('SRID=4674;POINT (-40.327976 -2.783202)'))) / (select extract(epoch from '2026-07-06 05:37:25'::timestamp) - extract(epoch from '2026-07-06 05:37:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.327896 -2.783124)', '2026-07-06 05:37:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327976 -2.783202)'), GeomFromEWKT('SRID=4674;POINT (-40.327896 -2.783124)'))) / (select extract(epoch from '2026-07-06 05:37:32'::timestamp) - extract(epoch from '2026-07-06 05:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327976 -2.783202)'), GeomFromEWKT('SRID=4674;POINT (-40.327896 -2.783124)'))) / (select extract(epoch from '2026-07-06 05:37:32'::timestamp) - extract(epoch from '2026-07-06 05:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.327808 -2.783028)', '2026-07-06 05:37:39', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327896 -2.783124)'), GeomFromEWKT('SRID=4674;POINT (-40.327808 -2.783028)'))) / (select extract(epoch from '2026-07-06 05:37:39'::timestamp) - extract(epoch from '2026-07-06 05:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327896 -2.783124)'), GeomFromEWKT('SRID=4674;POINT (-40.327808 -2.783028)'))) / (select extract(epoch from '2026-07-06 05:37:39'::timestamp) - extract(epoch from '2026-07-06 05:37:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.32769 -2.782915)', '2026-07-06 05:37:48', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327808 -2.783028)'), GeomFromEWKT('SRID=4674;POINT (-40.32769 -2.782915)'))) / (select extract(epoch from '2026-07-06 05:37:48'::timestamp) - extract(epoch from '2026-07-06 05:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327808 -2.783028)'), GeomFromEWKT('SRID=4674;POINT (-40.32769 -2.782915)'))) / (select extract(epoch from '2026-07-06 05:37:48'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.327594 -2.782823)', '2026-07-06 05:37:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32769 -2.782915)'), GeomFromEWKT('SRID=4674;POINT (-40.327594 -2.782823)'))) / (select extract(epoch from '2026-07-06 05:37:56'::timestamp) - extract(epoch from '2026-07-06 05:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32769 -2.782915)'), GeomFromEWKT('SRID=4674;POINT (-40.327594 -2.782823)'))) / (select extract(epoch from '2026-07-06 05:37:56'::timestamp) - extract(epoch from '2026-07-06 05:37: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'), 47648, 'SRID=4674;POINT (-40.327536 -2.782758)', '2026-07-06 05:38:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327594 -2.782823)'), GeomFromEWKT('SRID=4674;POINT (-40.327536 -2.782758)'))) / (select extract(epoch from '2026-07-06 05:38:02'::timestamp) - extract(epoch from '2026-07-06 05:37:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327594 -2.782823)'), GeomFromEWKT('SRID=4674;POINT (-40.327536 -2.782758)'))) / (select extract(epoch from '2026-07-06 05:38:02'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.327452 -2.782659)', '2026-07-06 05:38:10', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327536 -2.782758)'), GeomFromEWKT('SRID=4674;POINT (-40.327452 -2.782659)'))) / (select extract(epoch from '2026-07-06 05:38:10'::timestamp) - extract(epoch from '2026-07-06 05:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327536 -2.782758)'), GeomFromEWKT('SRID=4674;POINT (-40.327452 -2.782659)'))) / (select extract(epoch from '2026-07-06 05:38:10'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.327366 -2.782562)', '2026-07-06 05:38:18', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327452 -2.782659)'), GeomFromEWKT('SRID=4674;POINT (-40.327366 -2.782562)'))) / (select extract(epoch from '2026-07-06 05:38:18'::timestamp) - extract(epoch from '2026-07-06 05:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327452 -2.782659)'), GeomFromEWKT('SRID=4674;POINT (-40.327366 -2.782562)'))) / (select extract(epoch from '2026-07-06 05:38:18'::timestamp) - extract(epoch from '2026-07-06 05:38: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'), 47648, 'SRID=4674;POINT (-40.327296 -2.782456)', '2026-07-06 05:38:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327366 -2.782562)'), GeomFromEWKT('SRID=4674;POINT (-40.327296 -2.782456)'))) / (select extract(epoch from '2026-07-06 05:38:26'::timestamp) - extract(epoch from '2026-07-06 05:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327366 -2.782562)'), GeomFromEWKT('SRID=4674;POINT (-40.327296 -2.782456)'))) / (select extract(epoch from '2026-07-06 05:38:26'::timestamp) - extract(epoch from '2026-07-06 05:38: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'), 47648, 'SRID=4674;POINT (-40.327198 -2.78236)', '2026-07-06 05:38:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327296 -2.782456)'), GeomFromEWKT('SRID=4674;POINT (-40.327198 -2.78236)'))) / (select extract(epoch from '2026-07-06 05:38:35'::timestamp) - extract(epoch from '2026-07-06 05:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327296 -2.782456)'), GeomFromEWKT('SRID=4674;POINT (-40.327198 -2.78236)'))) / (select extract(epoch from '2026-07-06 05:38:35'::timestamp) - extract(epoch from '2026-07-06 05:38: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'), 47648, 'SRID=4674;POINT (-40.327109 -2.782258)', '2026-07-06 05:38:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327198 -2.78236)'), GeomFromEWKT('SRID=4674;POINT (-40.327109 -2.782258)'))) / (select extract(epoch from '2026-07-06 05:38:44'::timestamp) - extract(epoch from '2026-07-06 05:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327198 -2.78236)'), GeomFromEWKT('SRID=4674;POINT (-40.327109 -2.782258)'))) / (select extract(epoch from '2026-07-06 05:38:44'::timestamp) - extract(epoch from '2026-07-06 05:38: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'), 47648, 'SRID=4674;POINT (-40.327021 -2.782142)', '2026-07-06 05:38:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327109 -2.782258)'), GeomFromEWKT('SRID=4674;POINT (-40.327021 -2.782142)'))) / (select extract(epoch from '2026-07-06 05:38:52'::timestamp) - extract(epoch from '2026-07-06 05:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327109 -2.782258)'), GeomFromEWKT('SRID=4674;POINT (-40.327021 -2.782142)'))) / (select extract(epoch from '2026-07-06 05:38:52'::timestamp) - extract(epoch from '2026-07-06 05:38: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'), 47648, 'SRID=4674;POINT (-40.326907 -2.782)', '2026-07-06 05:39:02', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327021 -2.782142)'), GeomFromEWKT('SRID=4674;POINT (-40.326907 -2.782)'))) / (select extract(epoch from '2026-07-06 05:39:02'::timestamp) - extract(epoch from '2026-07-06 05:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327021 -2.782142)'), GeomFromEWKT('SRID=4674;POINT (-40.326907 -2.782)'))) / (select extract(epoch from '2026-07-06 05:39:02'::timestamp) - extract(epoch from '2026-07-06 05:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.326853 -2.781895)', '2026-07-06 05:39:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326907 -2.782)'), GeomFromEWKT('SRID=4674;POINT (-40.326853 -2.781895)'))) / (select extract(epoch from '2026-07-06 05:39:09'::timestamp) - extract(epoch from '2026-07-06 05:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326907 -2.782)'), GeomFromEWKT('SRID=4674;POINT (-40.326853 -2.781895)'))) / (select extract(epoch from '2026-07-06 05:39:09'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.32679 -2.781781)', '2026-07-06 05:39:18', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326853 -2.781895)'), GeomFromEWKT('SRID=4674;POINT (-40.32679 -2.781781)'))) / (select extract(epoch from '2026-07-06 05:39:18'::timestamp) - extract(epoch from '2026-07-06 05:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326853 -2.781895)'), GeomFromEWKT('SRID=4674;POINT (-40.32679 -2.781781)'))) / (select extract(epoch from '2026-07-06 05:39:18'::timestamp) - extract(epoch from '2026-07-06 05:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.326744 -2.781702)', '2026-07-06 05:39:24', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32679 -2.781781)'), GeomFromEWKT('SRID=4674;POINT (-40.326744 -2.781702)'))) / (select extract(epoch from '2026-07-06 05:39:24'::timestamp) - extract(epoch from '2026-07-06 05:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32679 -2.781781)'), GeomFromEWKT('SRID=4674;POINT (-40.326744 -2.781702)'))) / (select extract(epoch from '2026-07-06 05:39:24'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.326712 -2.78158)', '2026-07-06 05:39:32', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326744 -2.781702)'), GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.78158)'))) / (select extract(epoch from '2026-07-06 05:39:32'::timestamp) - extract(epoch from '2026-07-06 05:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326744 -2.781702)'), GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.78158)'))) / (select extract(epoch from '2026-07-06 05:39:32'::timestamp) - extract(epoch from '2026-07-06 05:39: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'), 47648, 'SRID=4674;POINT (-40.326689 -2.781451)', '2026-07-06 05:39:39', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.78158)'), GeomFromEWKT('SRID=4674;POINT (-40.326689 -2.781451)'))) / (select extract(epoch from '2026-07-06 05:39:39'::timestamp) - extract(epoch from '2026-07-06 05:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326712 -2.78158)'), GeomFromEWKT('SRID=4674;POINT (-40.326689 -2.781451)'))) / (select extract(epoch from '2026-07-06 05:39:39'::timestamp) - extract(epoch from '2026-07-06 05:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.326635 -2.781337)', '2026-07-06 05:39:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326689 -2.781451)'), GeomFromEWKT('SRID=4674;POINT (-40.326635 -2.781337)'))) / (select extract(epoch from '2026-07-06 05:39:46'::timestamp) - extract(epoch from '2026-07-06 05:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326689 -2.781451)'), GeomFromEWKT('SRID=4674;POINT (-40.326635 -2.781337)'))) / (select extract(epoch from '2026-07-06 05:39:46'::timestamp) - extract(epoch from '2026-07-06 05:39: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'), 47648, 'SRID=4674;POINT (-40.326587 -2.781188)', '2026-07-06 05:39:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326635 -2.781337)'), GeomFromEWKT('SRID=4674;POINT (-40.326587 -2.781188)'))) / (select extract(epoch from '2026-07-06 05:39:55'::timestamp) - extract(epoch from '2026-07-06 05:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326635 -2.781337)'), GeomFromEWKT('SRID=4674;POINT (-40.326587 -2.781188)'))) / (select extract(epoch from '2026-07-06 05:39:55'::timestamp) - extract(epoch from '2026-07-06 05:39: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'), 47648, 'SRID=4674;POINT (-40.326506 -2.781041)', '2026-07-06 05:40:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326587 -2.781188)'), GeomFromEWKT('SRID=4674;POINT (-40.326506 -2.781041)'))) / (select extract(epoch from '2026-07-06 05:40:05'::timestamp) - extract(epoch from '2026-07-06 05:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326587 -2.781188)'), GeomFromEWKT('SRID=4674;POINT (-40.326506 -2.781041)'))) / (select extract(epoch from '2026-07-06 05:40:05'::timestamp) - extract(epoch from '2026-07-06 05:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.326399 -2.780974)', '2026-07-06 05:40:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326506 -2.781041)'), GeomFromEWKT('SRID=4674;POINT (-40.326399 -2.780974)'))) / (select extract(epoch from '2026-07-06 05:40:12'::timestamp) - extract(epoch from '2026-07-06 05:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326506 -2.781041)'), GeomFromEWKT('SRID=4674;POINT (-40.326399 -2.780974)'))) / (select extract(epoch from '2026-07-06 05:40:12'::timestamp) - extract(epoch from '2026-07-06 05:40: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'), 47648, 'SRID=4674;POINT (-40.326291 -2.780896)', '2026-07-06 05:40:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326399 -2.780974)'), GeomFromEWKT('SRID=4674;POINT (-40.326291 -2.780896)'))) / (select extract(epoch from '2026-07-06 05:40:20'::timestamp) - extract(epoch from '2026-07-06 05:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326399 -2.780974)'), GeomFromEWKT('SRID=4674;POINT (-40.326291 -2.780896)'))) / (select extract(epoch from '2026-07-06 05:40:20'::timestamp) - extract(epoch from '2026-07-06 05:40: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'), 47648, 'SRID=4674;POINT (-40.326238 -2.780804)', '2026-07-06 05:40:27', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326291 -2.780896)'), GeomFromEWKT('SRID=4674;POINT (-40.326238 -2.780804)'))) / (select extract(epoch from '2026-07-06 05:40:27'::timestamp) - extract(epoch from '2026-07-06 05:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326291 -2.780896)'), GeomFromEWKT('SRID=4674;POINT (-40.326238 -2.780804)'))) / (select extract(epoch from '2026-07-06 05:40:27'::timestamp) - extract(epoch from '2026-07-06 05:40: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'), 47648, 'SRID=4674;POINT (-40.326169 -2.780723)', '2026-07-06 05:40:33', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326238 -2.780804)'), GeomFromEWKT('SRID=4674;POINT (-40.326169 -2.780723)'))) / (select extract(epoch from '2026-07-06 05:40:33'::timestamp) - extract(epoch from '2026-07-06 05:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326238 -2.780804)'), GeomFromEWKT('SRID=4674;POINT (-40.326169 -2.780723)'))) / (select extract(epoch from '2026-07-06 05:40:33'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.326154 -2.780713)', '2026-07-06 05:40:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326169 -2.780723)'), GeomFromEWKT('SRID=4674;POINT (-40.326154 -2.780713)'))) / (select extract(epoch from '2026-07-06 05:40:34'::timestamp) - extract(epoch from '2026-07-06 05:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326169 -2.780723)'), GeomFromEWKT('SRID=4674;POINT (-40.326154 -2.780713)'))) / (select extract(epoch from '2026-07-06 05:40:34'::timestamp) - extract(epoch from '2026-07-06 05:40: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'), 47648, 'SRID=4674;POINT (-40.326034 -2.780585)', '2026-07-06 05:40:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326154 -2.780713)'), GeomFromEWKT('SRID=4674;POINT (-40.326034 -2.780585)'))) / (select extract(epoch from '2026-07-06 05:40:44'::timestamp) - extract(epoch from '2026-07-06 05:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326154 -2.780713)'), GeomFromEWKT('SRID=4674;POINT (-40.326034 -2.780585)'))) / (select extract(epoch from '2026-07-06 05:40:44'::timestamp) - extract(epoch from '2026-07-06 05:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.325946 -2.78049)', '2026-07-06 05:40:52', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326034 -2.780585)'), GeomFromEWKT('SRID=4674;POINT (-40.325946 -2.78049)'))) / (select extract(epoch from '2026-07-06 05:40:52'::timestamp) - extract(epoch from '2026-07-06 05:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326034 -2.780585)'), GeomFromEWKT('SRID=4674;POINT (-40.325946 -2.78049)'))) / (select extract(epoch from '2026-07-06 05:40:52'::timestamp) - extract(epoch from '2026-07-06 05:40:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.325869 -2.780399)', '2026-07-06 05:41:00', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325946 -2.78049)'), GeomFromEWKT('SRID=4674;POINT (-40.325869 -2.780399)'))) / (select extract(epoch from '2026-07-06 05:41:00'::timestamp) - extract(epoch from '2026-07-06 05:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325946 -2.78049)'), GeomFromEWKT('SRID=4674;POINT (-40.325869 -2.780399)'))) / (select extract(epoch from '2026-07-06 05:41:00'::timestamp) - extract(epoch from '2026-07-06 05:40: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'), 47648, 'SRID=4674;POINT (-40.325803 -2.780313)', '2026-07-06 05:41:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325869 -2.780399)'), GeomFromEWKT('SRID=4674;POINT (-40.325803 -2.780313)'))) / (select extract(epoch from '2026-07-06 05:41:07'::timestamp) - extract(epoch from '2026-07-06 05:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325869 -2.780399)'), GeomFromEWKT('SRID=4674;POINT (-40.325803 -2.780313)'))) / (select extract(epoch from '2026-07-06 05:41:07'::timestamp) - extract(epoch from '2026-07-06 05:41:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.325736 -2.7802)', '2026-07-06 05:41:15', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325803 -2.780313)'), GeomFromEWKT('SRID=4674;POINT (-40.325736 -2.7802)'))) / (select extract(epoch from '2026-07-06 05:41:15'::timestamp) - extract(epoch from '2026-07-06 05:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325803 -2.780313)'), GeomFromEWKT('SRID=4674;POINT (-40.325736 -2.7802)'))) / (select extract(epoch from '2026-07-06 05:41:15'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.325694 -2.780099)', '2026-07-06 05:41:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325736 -2.7802)'), GeomFromEWKT('SRID=4674;POINT (-40.325694 -2.780099)'))) / (select extract(epoch from '2026-07-06 05:41:22'::timestamp) - extract(epoch from '2026-07-06 05:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325736 -2.7802)'), GeomFromEWKT('SRID=4674;POINT (-40.325694 -2.780099)'))) / (select extract(epoch from '2026-07-06 05:41:22'::timestamp) - extract(epoch from '2026-07-06 05:41: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'), 47648, 'SRID=4674;POINT (-40.325615 -2.779969)', '2026-07-06 05:41:31', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325694 -2.780099)'), GeomFromEWKT('SRID=4674;POINT (-40.325615 -2.779969)'))) / (select extract(epoch from '2026-07-06 05:41:31'::timestamp) - extract(epoch from '2026-07-06 05:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325694 -2.780099)'), GeomFromEWKT('SRID=4674;POINT (-40.325615 -2.779969)'))) / (select extract(epoch from '2026-07-06 05:41:31'::timestamp) - extract(epoch from '2026-07-06 05:41: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'), 47648, 'SRID=4674;POINT (-40.325545 -2.779837)', '2026-07-06 05:41:40', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325615 -2.779969)'), GeomFromEWKT('SRID=4674;POINT (-40.325545 -2.779837)'))) / (select extract(epoch from '2026-07-06 05:41:40'::timestamp) - extract(epoch from '2026-07-06 05:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325615 -2.779969)'), GeomFromEWKT('SRID=4674;POINT (-40.325545 -2.779837)'))) / (select extract(epoch from '2026-07-06 05:41:40'::timestamp) - extract(epoch from '2026-07-06 05:41:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.325497 -2.779708)', '2026-07-06 05:41:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325545 -2.779837)'), GeomFromEWKT('SRID=4674;POINT (-40.325497 -2.779708)'))) / (select extract(epoch from '2026-07-06 05:41:48'::timestamp) - extract(epoch from '2026-07-06 05:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325545 -2.779837)'), GeomFromEWKT('SRID=4674;POINT (-40.325497 -2.779708)'))) / (select extract(epoch from '2026-07-06 05:41:48'::timestamp) - extract(epoch from '2026-07-06 05:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.325433 -2.779583)', '2026-07-06 05:41:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325497 -2.779708)'), GeomFromEWKT('SRID=4674;POINT (-40.325433 -2.779583)'))) / (select extract(epoch from '2026-07-06 05:41:57'::timestamp) - extract(epoch from '2026-07-06 05:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325497 -2.779708)'), GeomFromEWKT('SRID=4674;POINT (-40.325433 -2.779583)'))) / (select extract(epoch from '2026-07-06 05:41:57'::timestamp) - extract(epoch from '2026-07-06 05:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.32537 -2.779458)', '2026-07-06 05:42:05', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325433 -2.779583)'), GeomFromEWKT('SRID=4674;POINT (-40.32537 -2.779458)'))) / (select extract(epoch from '2026-07-06 05:42:05'::timestamp) - extract(epoch from '2026-07-06 05:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325433 -2.779583)'), GeomFromEWKT('SRID=4674;POINT (-40.32537 -2.779458)'))) / (select extract(epoch from '2026-07-06 05:42:05'::timestamp) - extract(epoch from '2026-07-06 05:41:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.325312 -2.779337)', '2026-07-06 05:42:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32537 -2.779458)'), GeomFromEWKT('SRID=4674;POINT (-40.325312 -2.779337)'))) / (select extract(epoch from '2026-07-06 05:42:13'::timestamp) - extract(epoch from '2026-07-06 05:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32537 -2.779458)'), GeomFromEWKT('SRID=4674;POINT (-40.325312 -2.779337)'))) / (select extract(epoch from '2026-07-06 05:42:13'::timestamp) - extract(epoch from '2026-07-06 05:42:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.325239 -2.779176)', '2026-07-06 05:42:22', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325312 -2.779337)'), GeomFromEWKT('SRID=4674;POINT (-40.325239 -2.779176)'))) / (select extract(epoch from '2026-07-06 05:42:22'::timestamp) - extract(epoch from '2026-07-06 05:42:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325312 -2.779337)'), GeomFromEWKT('SRID=4674;POINT (-40.325239 -2.779176)'))) / (select extract(epoch from '2026-07-06 05:42:22'::timestamp) - extract(epoch from '2026-07-06 05:42: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'), 47648, 'SRID=4674;POINT (-40.325193 -2.779059)', '2026-07-06 05:42:29', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325239 -2.779176)'), GeomFromEWKT('SRID=4674;POINT (-40.325193 -2.779059)'))) / (select extract(epoch from '2026-07-06 05:42:29'::timestamp) - extract(epoch from '2026-07-06 05:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325239 -2.779176)'), GeomFromEWKT('SRID=4674;POINT (-40.325193 -2.779059)'))) / (select extract(epoch from '2026-07-06 05:42:29'::timestamp) - extract(epoch from '2026-07-06 05:42: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'), 47648, 'SRID=4674;POINT (-40.325131 -2.778972)', '2026-07-06 05:42:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325193 -2.779059)'), GeomFromEWKT('SRID=4674;POINT (-40.325131 -2.778972)'))) / (select extract(epoch from '2026-07-06 05:42:35'::timestamp) - extract(epoch from '2026-07-06 05:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325193 -2.779059)'), GeomFromEWKT('SRID=4674;POINT (-40.325131 -2.778972)'))) / (select extract(epoch from '2026-07-06 05:42:35'::timestamp) - extract(epoch from '2026-07-06 05:42:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.325061 -2.778855)', '2026-07-06 05:42:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325131 -2.778972)'), GeomFromEWKT('SRID=4674;POINT (-40.325061 -2.778855)'))) / (select extract(epoch from '2026-07-06 05:42:43'::timestamp) - extract(epoch from '2026-07-06 05:42:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325131 -2.778972)'), GeomFromEWKT('SRID=4674;POINT (-40.325061 -2.778855)'))) / (select extract(epoch from '2026-07-06 05:42:43'::timestamp) - extract(epoch from '2026-07-06 05:42:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.325006 -2.778768)', '2026-07-06 05:42:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325061 -2.778855)'), GeomFromEWKT('SRID=4674;POINT (-40.325006 -2.778768)'))) / (select extract(epoch from '2026-07-06 05:42:50'::timestamp) - extract(epoch from '2026-07-06 05:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325061 -2.778855)'), GeomFromEWKT('SRID=4674;POINT (-40.325006 -2.778768)'))) / (select extract(epoch from '2026-07-06 05:42:50'::timestamp) - extract(epoch from '2026-07-06 05:42: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'), 47648, 'SRID=4674;POINT (-40.324943 -2.778642)', '2026-07-06 05:42:58', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325006 -2.778768)'), GeomFromEWKT('SRID=4674;POINT (-40.324943 -2.778642)'))) / (select extract(epoch from '2026-07-06 05:42:58'::timestamp) - extract(epoch from '2026-07-06 05:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325006 -2.778768)'), GeomFromEWKT('SRID=4674;POINT (-40.324943 -2.778642)'))) / (select extract(epoch from '2026-07-06 05:42:58'::timestamp) - extract(epoch from '2026-07-06 05:42: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'), 47648, 'SRID=4674;POINT (-40.324869 -2.778501)', '2026-07-06 05:43:07', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324943 -2.778642)'), GeomFromEWKT('SRID=4674;POINT (-40.324869 -2.778501)'))) / (select extract(epoch from '2026-07-06 05:43:07'::timestamp) - extract(epoch from '2026-07-06 05:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324943 -2.778642)'), GeomFromEWKT('SRID=4674;POINT (-40.324869 -2.778501)'))) / (select extract(epoch from '2026-07-06 05:43:07'::timestamp) - extract(epoch from '2026-07-06 05:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.324815 -2.778354)', '2026-07-06 05:43:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324869 -2.778501)'), GeomFromEWKT('SRID=4674;POINT (-40.324815 -2.778354)'))) / (select extract(epoch from '2026-07-06 05:43:16'::timestamp) - extract(epoch from '2026-07-06 05:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324869 -2.778501)'), GeomFromEWKT('SRID=4674;POINT (-40.324815 -2.778354)'))) / (select extract(epoch from '2026-07-06 05:43:16'::timestamp) - extract(epoch from '2026-07-06 05:43: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'), 47648, 'SRID=4674;POINT (-40.324763 -2.778226)', '2026-07-06 05:43:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324815 -2.778354)'), GeomFromEWKT('SRID=4674;POINT (-40.324763 -2.778226)'))) / (select extract(epoch from '2026-07-06 05:43:24'::timestamp) - extract(epoch from '2026-07-06 05:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324815 -2.778354)'), GeomFromEWKT('SRID=4674;POINT (-40.324763 -2.778226)'))) / (select extract(epoch from '2026-07-06 05:43:24'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.324706 -2.778132)', '2026-07-06 05:43:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324763 -2.778226)'), GeomFromEWKT('SRID=4674;POINT (-40.324706 -2.778132)'))) / (select extract(epoch from '2026-07-06 05:43:31'::timestamp) - extract(epoch from '2026-07-06 05:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324763 -2.778226)'), GeomFromEWKT('SRID=4674;POINT (-40.324706 -2.778132)'))) / (select extract(epoch from '2026-07-06 05:43:31'::timestamp) - extract(epoch from '2026-07-06 05:43: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'), 47648, 'SRID=4674;POINT (-40.324622 -2.778004)', '2026-07-06 05:43:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324706 -2.778132)'), GeomFromEWKT('SRID=4674;POINT (-40.324622 -2.778004)'))) / (select extract(epoch from '2026-07-06 05:43:40'::timestamp) - extract(epoch from '2026-07-06 05:43:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324706 -2.778132)'), GeomFromEWKT('SRID=4674;POINT (-40.324622 -2.778004)'))) / (select extract(epoch from '2026-07-06 05:43:40'::timestamp) - extract(epoch from '2026-07-06 05:43:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.324587 -2.777872)', '2026-07-06 05:43:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324622 -2.778004)'), GeomFromEWKT('SRID=4674;POINT (-40.324587 -2.777872)'))) / (select extract(epoch from '2026-07-06 05:43:47'::timestamp) - extract(epoch from '2026-07-06 05:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324622 -2.778004)'), GeomFromEWKT('SRID=4674;POINT (-40.324587 -2.777872)'))) / (select extract(epoch from '2026-07-06 05:43:47'::timestamp) - extract(epoch from '2026-07-06 05:43: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'), 47648, 'SRID=4674;POINT (-40.324566 -2.77774)', '2026-07-06 05:43:55', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324587 -2.777872)'), GeomFromEWKT('SRID=4674;POINT (-40.324566 -2.77774)'))) / (select extract(epoch from '2026-07-06 05:43:55'::timestamp) - extract(epoch from '2026-07-06 05:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324587 -2.777872)'), GeomFromEWKT('SRID=4674;POINT (-40.324566 -2.77774)'))) / (select extract(epoch from '2026-07-06 05:43:55'::timestamp) - extract(epoch from '2026-07-06 05:43: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'), 47648, 'SRID=4674;POINT (-40.324543 -2.777565)', '2026-07-06 05:44:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324566 -2.77774)'), GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.777565)'))) / (select extract(epoch from '2026-07-06 05:44:05'::timestamp) - extract(epoch from '2026-07-06 05:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324566 -2.77774)'), GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.777565)'))) / (select extract(epoch from '2026-07-06 05:44:05'::timestamp) - extract(epoch from '2026-07-06 05:43: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'), 47648, 'SRID=4674;POINT (-40.324486 -2.777427)', '2026-07-06 05:44:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.777565)'), GeomFromEWKT('SRID=4674;POINT (-40.324486 -2.777427)'))) / (select extract(epoch from '2026-07-06 05:44:13'::timestamp) - extract(epoch from '2026-07-06 05:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.777565)'), GeomFromEWKT('SRID=4674;POINT (-40.324486 -2.777427)'))) / (select extract(epoch from '2026-07-06 05:44:13'::timestamp) - extract(epoch from '2026-07-06 05:44: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'), 47648, 'SRID=4674;POINT (-40.324436 -2.777309)', '2026-07-06 05:44:21', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324486 -2.777427)'), GeomFromEWKT('SRID=4674;POINT (-40.324436 -2.777309)'))) / (select extract(epoch from '2026-07-06 05:44:21'::timestamp) - extract(epoch from '2026-07-06 05:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324486 -2.777427)'), GeomFromEWKT('SRID=4674;POINT (-40.324436 -2.777309)'))) / (select extract(epoch from '2026-07-06 05:44:21'::timestamp) - extract(epoch from '2026-07-06 05:44: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'), 47648, 'SRID=4674;POINT (-40.324377 -2.777156)', '2026-07-06 05:44:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324436 -2.777309)'), GeomFromEWKT('SRID=4674;POINT (-40.324377 -2.777156)'))) / (select extract(epoch from '2026-07-06 05:44:30'::timestamp) - extract(epoch from '2026-07-06 05:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324436 -2.777309)'), GeomFromEWKT('SRID=4674;POINT (-40.324377 -2.777156)'))) / (select extract(epoch from '2026-07-06 05:44:30'::timestamp) - extract(epoch from '2026-07-06 05:44:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.324301 -2.777017)', '2026-07-06 05:44:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324377 -2.777156)'), GeomFromEWKT('SRID=4674;POINT (-40.324301 -2.777017)'))) / (select extract(epoch from '2026-07-06 05:44:39'::timestamp) - extract(epoch from '2026-07-06 05:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324377 -2.777156)'), GeomFromEWKT('SRID=4674;POINT (-40.324301 -2.777017)'))) / (select extract(epoch from '2026-07-06 05:44:39'::timestamp) - extract(epoch from '2026-07-06 05:44: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'), 47648, 'SRID=4674;POINT (-40.324247 -2.776886)', '2026-07-06 05:44:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324301 -2.777017)'), GeomFromEWKT('SRID=4674;POINT (-40.324247 -2.776886)'))) / (select extract(epoch from '2026-07-06 05:44:47'::timestamp) - extract(epoch from '2026-07-06 05:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324301 -2.777017)'), GeomFromEWKT('SRID=4674;POINT (-40.324247 -2.776886)'))) / (select extract(epoch from '2026-07-06 05:44:47'::timestamp) - extract(epoch from '2026-07-06 05:44: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'), 47648, 'SRID=4674;POINT (-40.324207 -2.77676)', '2026-07-06 05:44:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324247 -2.776886)'), GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.77676)'))) / (select extract(epoch from '2026-07-06 05:44:55'::timestamp) - extract(epoch from '2026-07-06 05:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324247 -2.776886)'), GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.77676)'))) / (select extract(epoch from '2026-07-06 05:44:55'::timestamp) - extract(epoch from '2026-07-06 05:44:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.324142 -2.776585)', '2026-07-06 05:45:05', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.77676)'), GeomFromEWKT('SRID=4674;POINT (-40.324142 -2.776585)'))) / (select extract(epoch from '2026-07-06 05:45:05'::timestamp) - extract(epoch from '2026-07-06 05:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324207 -2.77676)'), GeomFromEWKT('SRID=4674;POINT (-40.324142 -2.776585)'))) / (select extract(epoch from '2026-07-06 05:45:05'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.324089 -2.776447)', '2026-07-06 05:45:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324142 -2.776585)'), GeomFromEWKT('SRID=4674;POINT (-40.324089 -2.776447)'))) / (select extract(epoch from '2026-07-06 05:45:13'::timestamp) - extract(epoch from '2026-07-06 05:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324142 -2.776585)'), GeomFromEWKT('SRID=4674;POINT (-40.324089 -2.776447)'))) / (select extract(epoch from '2026-07-06 05:45:13'::timestamp) - extract(epoch from '2026-07-06 05:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.324027 -2.7763)', '2026-07-06 05:45:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324089 -2.776447)'), GeomFromEWKT('SRID=4674;POINT (-40.324027 -2.7763)'))) / (select extract(epoch from '2026-07-06 05:45:22'::timestamp) - extract(epoch from '2026-07-06 05:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324089 -2.776447)'), GeomFromEWKT('SRID=4674;POINT (-40.324027 -2.7763)'))) / (select extract(epoch from '2026-07-06 05:45:22'::timestamp) - extract(epoch from '2026-07-06 05:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.32395 -2.776138)', '2026-07-06 05:45:32', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324027 -2.7763)'), GeomFromEWKT('SRID=4674;POINT (-40.32395 -2.776138)'))) / (select extract(epoch from '2026-07-06 05:45:32'::timestamp) - extract(epoch from '2026-07-06 05:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324027 -2.7763)'), GeomFromEWKT('SRID=4674;POINT (-40.32395 -2.776138)'))) / (select extract(epoch from '2026-07-06 05:45:32'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.323907 -2.775998)', '2026-07-06 05:45:40', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32395 -2.776138)'), GeomFromEWKT('SRID=4674;POINT (-40.323907 -2.775998)'))) / (select extract(epoch from '2026-07-06 05:45:40'::timestamp) - extract(epoch from '2026-07-06 05:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32395 -2.776138)'), GeomFromEWKT('SRID=4674;POINT (-40.323907 -2.775998)'))) / (select extract(epoch from '2026-07-06 05:45:40'::timestamp) - extract(epoch from '2026-07-06 05:45: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'), 47648, 'SRID=4674;POINT (-40.323859 -2.775874)', '2026-07-06 05:45:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323907 -2.775998)'), GeomFromEWKT('SRID=4674;POINT (-40.323859 -2.775874)'))) / (select extract(epoch from '2026-07-06 05:45:48'::timestamp) - extract(epoch from '2026-07-06 05:45:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323907 -2.775998)'), GeomFromEWKT('SRID=4674;POINT (-40.323859 -2.775874)'))) / (select extract(epoch from '2026-07-06 05:45:48'::timestamp) - extract(epoch from '2026-07-06 05:45: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'), 47648, 'SRID=4674;POINT (-40.323794 -2.775734)', '2026-07-06 05:45:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323859 -2.775874)'), GeomFromEWKT('SRID=4674;POINT (-40.323794 -2.775734)'))) / (select extract(epoch from '2026-07-06 05:45:57'::timestamp) - extract(epoch from '2026-07-06 05:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323859 -2.775874)'), GeomFromEWKT('SRID=4674;POINT (-40.323794 -2.775734)'))) / (select extract(epoch from '2026-07-06 05:45:57'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.323744 -2.775585)', '2026-07-06 05:46:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323794 -2.775734)'), GeomFromEWKT('SRID=4674;POINT (-40.323744 -2.775585)'))) / (select extract(epoch from '2026-07-06 05:46:06'::timestamp) - extract(epoch from '2026-07-06 05:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323794 -2.775734)'), GeomFromEWKT('SRID=4674;POINT (-40.323744 -2.775585)'))) / (select extract(epoch from '2026-07-06 05:46:06'::timestamp) - extract(epoch from '2026-07-06 05:45: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'), 47648, 'SRID=4674;POINT (-40.323691 -2.775461)', '2026-07-06 05:46:14', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323744 -2.775585)'), GeomFromEWKT('SRID=4674;POINT (-40.323691 -2.775461)'))) / (select extract(epoch from '2026-07-06 05:46:14'::timestamp) - extract(epoch from '2026-07-06 05:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323744 -2.775585)'), GeomFromEWKT('SRID=4674;POINT (-40.323691 -2.775461)'))) / (select extract(epoch from '2026-07-06 05:46:14'::timestamp) - extract(epoch from '2026-07-06 05:46: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'), 47648, 'SRID=4674;POINT (-40.323657 -2.775347)', '2026-07-06 05:46:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323691 -2.775461)'), GeomFromEWKT('SRID=4674;POINT (-40.323657 -2.775347)'))) / (select extract(epoch from '2026-07-06 05:46:21'::timestamp) - extract(epoch from '2026-07-06 05:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323691 -2.775461)'), GeomFromEWKT('SRID=4674;POINT (-40.323657 -2.775347)'))) / (select extract(epoch from '2026-07-06 05:46:21'::timestamp) - extract(epoch from '2026-07-06 05:46:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.323626 -2.775193)', '2026-07-06 05:46:30', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323657 -2.775347)'), GeomFromEWKT('SRID=4674;POINT (-40.323626 -2.775193)'))) / (select extract(epoch from '2026-07-06 05:46:30'::timestamp) - extract(epoch from '2026-07-06 05:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323657 -2.775347)'), GeomFromEWKT('SRID=4674;POINT (-40.323626 -2.775193)'))) / (select extract(epoch from '2026-07-06 05:46:30'::timestamp) - extract(epoch from '2026-07-06 05:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.323575 -2.77505)', '2026-07-06 05:46:39', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323626 -2.775193)'), GeomFromEWKT('SRID=4674;POINT (-40.323575 -2.77505)'))) / (select extract(epoch from '2026-07-06 05:46:39'::timestamp) - extract(epoch from '2026-07-06 05:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323626 -2.775193)'), GeomFromEWKT('SRID=4674;POINT (-40.323575 -2.77505)'))) / (select extract(epoch from '2026-07-06 05:46:39'::timestamp) - extract(epoch from '2026-07-06 05:46: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'), 47648, 'SRID=4674;POINT (-40.323511 -2.774921)', '2026-07-06 05:46:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323575 -2.77505)'), GeomFromEWKT('SRID=4674;POINT (-40.323511 -2.774921)'))) / (select extract(epoch from '2026-07-06 05:46:47'::timestamp) - extract(epoch from '2026-07-06 05:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323575 -2.77505)'), GeomFromEWKT('SRID=4674;POINT (-40.323511 -2.774921)'))) / (select extract(epoch from '2026-07-06 05:46:47'::timestamp) - extract(epoch from '2026-07-06 05:46:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.323469 -2.774766)', '2026-07-06 05:46:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323511 -2.774921)'), GeomFromEWKT('SRID=4674;POINT (-40.323469 -2.774766)'))) / (select extract(epoch from '2026-07-06 05:46:56'::timestamp) - extract(epoch from '2026-07-06 05:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323511 -2.774921)'), GeomFromEWKT('SRID=4674;POINT (-40.323469 -2.774766)'))) / (select extract(epoch from '2026-07-06 05:46:56'::timestamp) - extract(epoch from '2026-07-06 05:46: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'), 47648, 'SRID=4674;POINT (-40.323428 -2.774643)', '2026-07-06 05:47:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323469 -2.774766)'), GeomFromEWKT('SRID=4674;POINT (-40.323428 -2.774643)'))) / (select extract(epoch from '2026-07-06 05:47:04'::timestamp) - extract(epoch from '2026-07-06 05:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323469 -2.774766)'), GeomFromEWKT('SRID=4674;POINT (-40.323428 -2.774643)'))) / (select extract(epoch from '2026-07-06 05:47:04'::timestamp) - extract(epoch from '2026-07-06 05:46: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'), 47648, 'SRID=4674;POINT (-40.323388 -2.774492)', '2026-07-06 05:47:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323428 -2.774643)'), GeomFromEWKT('SRID=4674;POINT (-40.323388 -2.774492)'))) / (select extract(epoch from '2026-07-06 05:47:13'::timestamp) - extract(epoch from '2026-07-06 05:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323428 -2.774643)'), GeomFromEWKT('SRID=4674;POINT (-40.323388 -2.774492)'))) / (select extract(epoch from '2026-07-06 05:47:13'::timestamp) - extract(epoch from '2026-07-06 05:47:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.323362 -2.774352)', '2026-07-06 05:47:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323388 -2.774492)'), GeomFromEWKT('SRID=4674;POINT (-40.323362 -2.774352)'))) / (select extract(epoch from '2026-07-06 05:47:21'::timestamp) - extract(epoch from '2026-07-06 05:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323388 -2.774492)'), GeomFromEWKT('SRID=4674;POINT (-40.323362 -2.774352)'))) / (select extract(epoch from '2026-07-06 05:47:21'::timestamp) - extract(epoch from '2026-07-06 05:47: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'), 47648, 'SRID=4674;POINT (-40.323336 -2.774253)', '2026-07-06 05:47:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323362 -2.774352)'), GeomFromEWKT('SRID=4674;POINT (-40.323336 -2.774253)'))) / (select extract(epoch from '2026-07-06 05:47:27'::timestamp) - extract(epoch from '2026-07-06 05:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323362 -2.774352)'), GeomFromEWKT('SRID=4674;POINT (-40.323336 -2.774253)'))) / (select extract(epoch from '2026-07-06 05:47:27'::timestamp) - extract(epoch from '2026-07-06 05:47: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'), 47648, 'SRID=4674;POINT (-40.323278 -2.774134)', '2026-07-06 05:47:35', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323336 -2.774253)'), GeomFromEWKT('SRID=4674;POINT (-40.323278 -2.774134)'))) / (select extract(epoch from '2026-07-06 05:47:35'::timestamp) - extract(epoch from '2026-07-06 05:47:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323336 -2.774253)'), GeomFromEWKT('SRID=4674;POINT (-40.323278 -2.774134)'))) / (select extract(epoch from '2026-07-06 05:47:35'::timestamp) - extract(epoch from '2026-07-06 05:47: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'), 47648, 'SRID=4674;POINT (-40.323222 -2.774025)', '2026-07-06 05:47:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323278 -2.774134)'), GeomFromEWKT('SRID=4674;POINT (-40.323222 -2.774025)'))) / (select extract(epoch from '2026-07-06 05:47:42'::timestamp) - extract(epoch from '2026-07-06 05:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323278 -2.774134)'), GeomFromEWKT('SRID=4674;POINT (-40.323222 -2.774025)'))) / (select extract(epoch from '2026-07-06 05:47:42'::timestamp) - extract(epoch from '2026-07-06 05:47: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'), 47648, 'SRID=4674;POINT (-40.323177 -2.773929)', '2026-07-06 05:47:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323222 -2.774025)'), GeomFromEWKT('SRID=4674;POINT (-40.323177 -2.773929)'))) / (select extract(epoch from '2026-07-06 05:47:49'::timestamp) - extract(epoch from '2026-07-06 05:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323222 -2.774025)'), GeomFromEWKT('SRID=4674;POINT (-40.323177 -2.773929)'))) / (select extract(epoch from '2026-07-06 05:47:49'::timestamp) - extract(epoch from '2026-07-06 05:47:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.323142 -2.773794)', '2026-07-06 05:47:57', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323177 -2.773929)'), GeomFromEWKT('SRID=4674;POINT (-40.323142 -2.773794)'))) / (select extract(epoch from '2026-07-06 05:47:57'::timestamp) - extract(epoch from '2026-07-06 05:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323177 -2.773929)'), GeomFromEWKT('SRID=4674;POINT (-40.323142 -2.773794)'))) / (select extract(epoch from '2026-07-06 05:47:57'::timestamp) - extract(epoch from '2026-07-06 05:47: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'), 47648, 'SRID=4674;POINT (-40.323124 -2.773666)', '2026-07-06 05:48:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323142 -2.773794)'), GeomFromEWKT('SRID=4674;POINT (-40.323124 -2.773666)'))) / (select extract(epoch from '2026-07-06 05:48:05'::timestamp) - extract(epoch from '2026-07-06 05:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323142 -2.773794)'), GeomFromEWKT('SRID=4674;POINT (-40.323124 -2.773666)'))) / (select extract(epoch from '2026-07-06 05:48:05'::timestamp) - extract(epoch from '2026-07-06 05:47: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'), 47648, 'SRID=4674;POINT (-40.323079 -2.773529)', '2026-07-06 05:48:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323124 -2.773666)'), GeomFromEWKT('SRID=4674;POINT (-40.323079 -2.773529)'))) / (select extract(epoch from '2026-07-06 05:48:13'::timestamp) - extract(epoch from '2026-07-06 05:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323124 -2.773666)'), GeomFromEWKT('SRID=4674;POINT (-40.323079 -2.773529)'))) / (select extract(epoch from '2026-07-06 05:48:13'::timestamp) - extract(epoch from '2026-07-06 05:48:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.323066 -2.773406)', '2026-07-06 05:48:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323079 -2.773529)'), GeomFromEWKT('SRID=4674;POINT (-40.323066 -2.773406)'))) / (select extract(epoch from '2026-07-06 05:48:20'::timestamp) - extract(epoch from '2026-07-06 05:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323079 -2.773529)'), GeomFromEWKT('SRID=4674;POINT (-40.323066 -2.773406)'))) / (select extract(epoch from '2026-07-06 05:48:20'::timestamp) - extract(epoch from '2026-07-06 05:48: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'), 47648, 'SRID=4674;POINT (-40.323022 -2.773313)', '2026-07-06 05:48:26', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323066 -2.773406)'), GeomFromEWKT('SRID=4674;POINT (-40.323022 -2.773313)'))) / (select extract(epoch from '2026-07-06 05:48:26'::timestamp) - extract(epoch from '2026-07-06 05:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323066 -2.773406)'), GeomFromEWKT('SRID=4674;POINT (-40.323022 -2.773313)'))) / (select extract(epoch from '2026-07-06 05:48:26'::timestamp) - extract(epoch from '2026-07-06 05:48: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'), 47648, 'SRID=4674;POINT (-40.322921 -2.773185)', '2026-07-06 05:48:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323022 -2.773313)'), GeomFromEWKT('SRID=4674;POINT (-40.322921 -2.773185)'))) / (select extract(epoch from '2026-07-06 05:48:35'::timestamp) - extract(epoch from '2026-07-06 05:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323022 -2.773313)'), GeomFromEWKT('SRID=4674;POINT (-40.322921 -2.773185)'))) / (select extract(epoch from '2026-07-06 05:48:35'::timestamp) - extract(epoch from '2026-07-06 05:48: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'), 47648, 'SRID=4674;POINT (-40.32291 -2.773086)', '2026-07-06 05:48:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322921 -2.773185)'), GeomFromEWKT('SRID=4674;POINT (-40.32291 -2.773086)'))) / (select extract(epoch from '2026-07-06 05:48:41'::timestamp) - extract(epoch from '2026-07-06 05:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322921 -2.773185)'), GeomFromEWKT('SRID=4674;POINT (-40.32291 -2.773086)'))) / (select extract(epoch from '2026-07-06 05:48:41'::timestamp) - extract(epoch from '2026-07-06 05:48: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'), 47648, 'SRID=4674;POINT (-40.322873 -2.772931)', '2026-07-06 05:48:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32291 -2.773086)'), GeomFromEWKT('SRID=4674;POINT (-40.322873 -2.772931)'))) / (select extract(epoch from '2026-07-06 05:48:50'::timestamp) - extract(epoch from '2026-07-06 05:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32291 -2.773086)'), GeomFromEWKT('SRID=4674;POINT (-40.322873 -2.772931)'))) / (select extract(epoch from '2026-07-06 05:48:50'::timestamp) - extract(epoch from '2026-07-06 05:48:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322844 -2.772792)', '2026-07-06 05:48:58', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322873 -2.772931)'), GeomFromEWKT('SRID=4674;POINT (-40.322844 -2.772792)'))) / (select extract(epoch from '2026-07-06 05:48:58'::timestamp) - extract(epoch from '2026-07-06 05:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322873 -2.772931)'), GeomFromEWKT('SRID=4674;POINT (-40.322844 -2.772792)'))) / (select extract(epoch from '2026-07-06 05:48:58'::timestamp) - extract(epoch from '2026-07-06 05:48:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322811 -2.772653)', '2026-07-06 05:49:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322844 -2.772792)'), GeomFromEWKT('SRID=4674;POINT (-40.322811 -2.772653)'))) / (select extract(epoch from '2026-07-06 05:49:06'::timestamp) - extract(epoch from '2026-07-06 05:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322844 -2.772792)'), GeomFromEWKT('SRID=4674;POINT (-40.322811 -2.772653)'))) / (select extract(epoch from '2026-07-06 05:49:06'::timestamp) - extract(epoch from '2026-07-06 05:48: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'), 47648, 'SRID=4674;POINT (-40.322783 -2.772528)', '2026-07-06 05:49:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322811 -2.772653)'), GeomFromEWKT('SRID=4674;POINT (-40.322783 -2.772528)'))) / (select extract(epoch from '2026-07-06 05:49:14'::timestamp) - extract(epoch from '2026-07-06 05:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322811 -2.772653)'), GeomFromEWKT('SRID=4674;POINT (-40.322783 -2.772528)'))) / (select extract(epoch from '2026-07-06 05:49:14'::timestamp) - extract(epoch from '2026-07-06 05:49: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'), 47648, 'SRID=4674;POINT (-40.322754 -2.772409)', '2026-07-06 05:49:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322783 -2.772528)'), GeomFromEWKT('SRID=4674;POINT (-40.322754 -2.772409)'))) / (select extract(epoch from '2026-07-06 05:49:21'::timestamp) - extract(epoch from '2026-07-06 05:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322783 -2.772528)'), GeomFromEWKT('SRID=4674;POINT (-40.322754 -2.772409)'))) / (select extract(epoch from '2026-07-06 05:49:21'::timestamp) - extract(epoch from '2026-07-06 05:49: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'), 47648, 'SRID=4674;POINT (-40.322704 -2.772289)', '2026-07-06 05:49:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322754 -2.772409)'), GeomFromEWKT('SRID=4674;POINT (-40.322704 -2.772289)'))) / (select extract(epoch from '2026-07-06 05:49:28'::timestamp) - extract(epoch from '2026-07-06 05:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322754 -2.772409)'), GeomFromEWKT('SRID=4674;POINT (-40.322704 -2.772289)'))) / (select extract(epoch from '2026-07-06 05:49:28'::timestamp) - extract(epoch from '2026-07-06 05:49: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'), 47648, 'SRID=4674;POINT (-40.322663 -2.772156)', '2026-07-06 05:49:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322704 -2.772289)'), GeomFromEWKT('SRID=4674;POINT (-40.322663 -2.772156)'))) / (select extract(epoch from '2026-07-06 05:49:36'::timestamp) - extract(epoch from '2026-07-06 05:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322704 -2.772289)'), GeomFromEWKT('SRID=4674;POINT (-40.322663 -2.772156)'))) / (select extract(epoch from '2026-07-06 05:49:36'::timestamp) - extract(epoch from '2026-07-06 05:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322613 -2.772017)', '2026-07-06 05:49:44', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322663 -2.772156)'), GeomFromEWKT('SRID=4674;POINT (-40.322613 -2.772017)'))) / (select extract(epoch from '2026-07-06 05:49:44'::timestamp) - extract(epoch from '2026-07-06 05:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322663 -2.772156)'), GeomFromEWKT('SRID=4674;POINT (-40.322613 -2.772017)'))) / (select extract(epoch from '2026-07-06 05:49:44'::timestamp) - extract(epoch from '2026-07-06 05:49: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'), 47648, 'SRID=4674;POINT (-40.32259 -2.771908)', '2026-07-06 05:49:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322613 -2.772017)'), GeomFromEWKT('SRID=4674;POINT (-40.32259 -2.771908)'))) / (select extract(epoch from '2026-07-06 05:49:51'::timestamp) - extract(epoch from '2026-07-06 05:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322613 -2.772017)'), GeomFromEWKT('SRID=4674;POINT (-40.32259 -2.771908)'))) / (select extract(epoch from '2026-07-06 05:49:51'::timestamp) - extract(epoch from '2026-07-06 05:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322559 -2.771814)', '2026-07-06 05:49:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32259 -2.771908)'), GeomFromEWKT('SRID=4674;POINT (-40.322559 -2.771814)'))) / (select extract(epoch from '2026-07-06 05:49:57'::timestamp) - extract(epoch from '2026-07-06 05:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32259 -2.771908)'), GeomFromEWKT('SRID=4674;POINT (-40.322559 -2.771814)'))) / (select extract(epoch from '2026-07-06 05:49:57'::timestamp) - extract(epoch from '2026-07-06 05:49:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322543 -2.771701)', '2026-07-06 05:50:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322559 -2.771814)'), GeomFromEWKT('SRID=4674;POINT (-40.322543 -2.771701)'))) / (select extract(epoch from '2026-07-06 05:50:04'::timestamp) - extract(epoch from '2026-07-06 05:49:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322559 -2.771814)'), GeomFromEWKT('SRID=4674;POINT (-40.322543 -2.771701)'))) / (select extract(epoch from '2026-07-06 05:50:04'::timestamp) - extract(epoch from '2026-07-06 05:49: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'), 47648, 'SRID=4674;POINT (-40.322537 -2.771555)', '2026-07-06 05:50:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322543 -2.771701)'), GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.771555)'))) / (select extract(epoch from '2026-07-06 05:50:12'::timestamp) - extract(epoch from '2026-07-06 05:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322543 -2.771701)'), GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.771555)'))) / (select extract(epoch from '2026-07-06 05:50:12'::timestamp) - extract(epoch from '2026-07-06 05:50: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'), 47648, 'SRID=4674;POINT (-40.322555 -2.771426)', '2026-07-06 05:50:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.771555)'), GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.771426)'))) / (select extract(epoch from '2026-07-06 05:50:19'::timestamp) - extract(epoch from '2026-07-06 05:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322537 -2.771555)'), GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.771426)'))) / (select extract(epoch from '2026-07-06 05:50:19'::timestamp) - extract(epoch from '2026-07-06 05:50: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'), 47648, 'SRID=4674;POINT (-40.322574 -2.771308)', '2026-07-06 05:50:26', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.771426)'), GeomFromEWKT('SRID=4674;POINT (-40.322574 -2.771308)'))) / (select extract(epoch from '2026-07-06 05:50:26'::timestamp) - extract(epoch from '2026-07-06 05:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322555 -2.771426)'), GeomFromEWKT('SRID=4674;POINT (-40.322574 -2.771308)'))) / (select extract(epoch from '2026-07-06 05:50:26'::timestamp) - extract(epoch from '2026-07-06 05:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322576 -2.771177)', '2026-07-06 05:50:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322574 -2.771308)'), GeomFromEWKT('SRID=4674;POINT (-40.322576 -2.771177)'))) / (select extract(epoch from '2026-07-06 05:50:33'::timestamp) - extract(epoch from '2026-07-06 05:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322574 -2.771308)'), GeomFromEWKT('SRID=4674;POINT (-40.322576 -2.771177)'))) / (select extract(epoch from '2026-07-06 05:50:33'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.3226 -2.771011)', '2026-07-06 05:50:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322576 -2.771177)'), GeomFromEWKT('SRID=4674;POINT (-40.3226 -2.771011)'))) / (select extract(epoch from '2026-07-06 05:50:42'::timestamp) - extract(epoch from '2026-07-06 05:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322576 -2.771177)'), GeomFromEWKT('SRID=4674;POINT (-40.3226 -2.771011)'))) / (select extract(epoch from '2026-07-06 05:50:42'::timestamp) - extract(epoch from '2026-07-06 05:50: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'), 47648, 'SRID=4674;POINT (-40.322605 -2.770899)', '2026-07-06 05:50:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3226 -2.771011)'), GeomFromEWKT('SRID=4674;POINT (-40.322605 -2.770899)'))) / (select extract(epoch from '2026-07-06 05:50:49'::timestamp) - extract(epoch from '2026-07-06 05:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3226 -2.771011)'), GeomFromEWKT('SRID=4674;POINT (-40.322605 -2.770899)'))) / (select extract(epoch from '2026-07-06 05:50:49'::timestamp) - extract(epoch from '2026-07-06 05:50: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'), 47648, 'SRID=4674;POINT (-40.322519 -2.770793)', '2026-07-06 05:50:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322605 -2.770899)'), GeomFromEWKT('SRID=4674;POINT (-40.322519 -2.770793)'))) / (select extract(epoch from '2026-07-06 05:50:57'::timestamp) - extract(epoch from '2026-07-06 05:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322605 -2.770899)'), GeomFromEWKT('SRID=4674;POINT (-40.322519 -2.770793)'))) / (select extract(epoch from '2026-07-06 05:50:57'::timestamp) - extract(epoch from '2026-07-06 05:50:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322399 -2.770718)', '2026-07-06 05:51:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322519 -2.770793)'), GeomFromEWKT('SRID=4674;POINT (-40.322399 -2.770718)'))) / (select extract(epoch from '2026-07-06 05:51:05'::timestamp) - extract(epoch from '2026-07-06 05:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322519 -2.770793)'), GeomFromEWKT('SRID=4674;POINT (-40.322399 -2.770718)'))) / (select extract(epoch from '2026-07-06 05:51:05'::timestamp) - extract(epoch from '2026-07-06 05:50: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'), 47648, 'SRID=4674;POINT (-40.322299 -2.770649)', '2026-07-06 05:51:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322399 -2.770718)'), GeomFromEWKT('SRID=4674;POINT (-40.322299 -2.770649)'))) / (select extract(epoch from '2026-07-06 05:51:13'::timestamp) - extract(epoch from '2026-07-06 05:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322399 -2.770718)'), GeomFromEWKT('SRID=4674;POINT (-40.322299 -2.770649)'))) / (select extract(epoch from '2026-07-06 05:51:13'::timestamp) - extract(epoch from '2026-07-06 05:51: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'), 47648, 'SRID=4674;POINT (-40.322183 -2.770587)', '2026-07-06 05:51:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322299 -2.770649)'), GeomFromEWKT('SRID=4674;POINT (-40.322183 -2.770587)'))) / (select extract(epoch from '2026-07-06 05:51:21'::timestamp) - extract(epoch from '2026-07-06 05:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322299 -2.770649)'), GeomFromEWKT('SRID=4674;POINT (-40.322183 -2.770587)'))) / (select extract(epoch from '2026-07-06 05:51:21'::timestamp) - extract(epoch from '2026-07-06 05:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322151 -2.770497)', '2026-07-06 05:51:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322183 -2.770587)'), GeomFromEWKT('SRID=4674;POINT (-40.322151 -2.770497)'))) / (select extract(epoch from '2026-07-06 05:51:27'::timestamp) - extract(epoch from '2026-07-06 05:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322183 -2.770587)'), GeomFromEWKT('SRID=4674;POINT (-40.322151 -2.770497)'))) / (select extract(epoch from '2026-07-06 05:51:27'::timestamp) - extract(epoch from '2026-07-06 05:51:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322135 -2.770356)', '2026-07-06 05:51:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322151 -2.770497)'), GeomFromEWKT('SRID=4674;POINT (-40.322135 -2.770356)'))) / (select extract(epoch from '2026-07-06 05:51:35'::timestamp) - extract(epoch from '2026-07-06 05:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322151 -2.770497)'), GeomFromEWKT('SRID=4674;POINT (-40.322135 -2.770356)'))) / (select extract(epoch from '2026-07-06 05:51:35'::timestamp) - extract(epoch from '2026-07-06 05:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322113 -2.770251)', '2026-07-06 05:51:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322135 -2.770356)'), GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.770251)'))) / (select extract(epoch from '2026-07-06 05:51:41'::timestamp) - extract(epoch from '2026-07-06 05:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322135 -2.770356)'), GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.770251)'))) / (select extract(epoch from '2026-07-06 05:51:41'::timestamp) - extract(epoch from '2026-07-06 05:51: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'), 47648, 'SRID=4674;POINT (-40.322078 -2.770092)', '2026-07-06 05:51:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.770251)'), GeomFromEWKT('SRID=4674;POINT (-40.322078 -2.770092)'))) / (select extract(epoch from '2026-07-06 05:51:50'::timestamp) - extract(epoch from '2026-07-06 05:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322113 -2.770251)'), GeomFromEWKT('SRID=4674;POINT (-40.322078 -2.770092)'))) / (select extract(epoch from '2026-07-06 05:51:50'::timestamp) - extract(epoch from '2026-07-06 05:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322057 -2.769972)', '2026-07-06 05:51:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322078 -2.770092)'), GeomFromEWKT('SRID=4674;POINT (-40.322057 -2.769972)'))) / (select extract(epoch from '2026-07-06 05:51:57'::timestamp) - extract(epoch from '2026-07-06 05:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322078 -2.770092)'), GeomFromEWKT('SRID=4674;POINT (-40.322057 -2.769972)'))) / (select extract(epoch from '2026-07-06 05:51:57'::timestamp) - extract(epoch from '2026-07-06 05:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.322022 -2.769838)', '2026-07-06 05:52:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322057 -2.769972)'), GeomFromEWKT('SRID=4674;POINT (-40.322022 -2.769838)'))) / (select extract(epoch from '2026-07-06 05:52:05'::timestamp) - extract(epoch from '2026-07-06 05:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322057 -2.769972)'), GeomFromEWKT('SRID=4674;POINT (-40.322022 -2.769838)'))) / (select extract(epoch from '2026-07-06 05:52:05'::timestamp) - extract(epoch from '2026-07-06 05:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321989 -2.769719)', '2026-07-06 05:52:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322022 -2.769838)'), GeomFromEWKT('SRID=4674;POINT (-40.321989 -2.769719)'))) / (select extract(epoch from '2026-07-06 05:52:12'::timestamp) - extract(epoch from '2026-07-06 05:52:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322022 -2.769838)'), GeomFromEWKT('SRID=4674;POINT (-40.321989 -2.769719)'))) / (select extract(epoch from '2026-07-06 05:52:12'::timestamp) - extract(epoch from '2026-07-06 05:52:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321977 -2.769604)', '2026-07-06 05:52:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321989 -2.769719)'), GeomFromEWKT('SRID=4674;POINT (-40.321977 -2.769604)'))) / (select extract(epoch from '2026-07-06 05:52:19'::timestamp) - extract(epoch from '2026-07-06 05:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321989 -2.769719)'), GeomFromEWKT('SRID=4674;POINT (-40.321977 -2.769604)'))) / (select extract(epoch from '2026-07-06 05:52:19'::timestamp) - extract(epoch from '2026-07-06 05:52:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321985 -2.769461)', '2026-07-06 05:52:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321977 -2.769604)'), GeomFromEWKT('SRID=4674;POINT (-40.321985 -2.769461)'))) / (select extract(epoch from '2026-07-06 05:52:27'::timestamp) - extract(epoch from '2026-07-06 05:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321977 -2.769604)'), GeomFromEWKT('SRID=4674;POINT (-40.321985 -2.769461)'))) / (select extract(epoch from '2026-07-06 05:52:27'::timestamp) - extract(epoch from '2026-07-06 05:52: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'), 47648, 'SRID=4674;POINT (-40.321995 -2.769331)', '2026-07-06 05:52:34', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321985 -2.769461)'), GeomFromEWKT('SRID=4674;POINT (-40.321995 -2.769331)'))) / (select extract(epoch from '2026-07-06 05:52:34'::timestamp) - extract(epoch from '2026-07-06 05:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321985 -2.769461)'), GeomFromEWKT('SRID=4674;POINT (-40.321995 -2.769331)'))) / (select extract(epoch from '2026-07-06 05:52:34'::timestamp) - extract(epoch from '2026-07-06 05:52: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'), 47648, 'SRID=4674;POINT (-40.321981 -2.7692)', '2026-07-06 05:52:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321995 -2.769331)'), GeomFromEWKT('SRID=4674;POINT (-40.321981 -2.7692)'))) / (select extract(epoch from '2026-07-06 05:52:41'::timestamp) - extract(epoch from '2026-07-06 05:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321995 -2.769331)'), GeomFromEWKT('SRID=4674;POINT (-40.321981 -2.7692)'))) / (select extract(epoch from '2026-07-06 05:52:41'::timestamp) - extract(epoch from '2026-07-06 05:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321984 -2.769058)', '2026-07-06 05:52:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321981 -2.7692)'), GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769058)'))) / (select extract(epoch from '2026-07-06 05:52:48'::timestamp) - extract(epoch from '2026-07-06 05:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321981 -2.7692)'), GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769058)'))) / (select extract(epoch from '2026-07-06 05:52:48'::timestamp) - extract(epoch from '2026-07-06 05:52:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321957 -2.768925)', '2026-07-06 05:52:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769058)'), GeomFromEWKT('SRID=4674;POINT (-40.321957 -2.768925)'))) / (select extract(epoch from '2026-07-06 05:52:55'::timestamp) - extract(epoch from '2026-07-06 05:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.769058)'), GeomFromEWKT('SRID=4674;POINT (-40.321957 -2.768925)'))) / (select extract(epoch from '2026-07-06 05:52:55'::timestamp) - extract(epoch from '2026-07-06 05:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321929 -2.768786)', '2026-07-06 05:53:03', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321957 -2.768925)'), GeomFromEWKT('SRID=4674;POINT (-40.321929 -2.768786)'))) / (select extract(epoch from '2026-07-06 05:53:03'::timestamp) - extract(epoch from '2026-07-06 05:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321957 -2.768925)'), GeomFromEWKT('SRID=4674;POINT (-40.321929 -2.768786)'))) / (select extract(epoch from '2026-07-06 05:53:03'::timestamp) - extract(epoch from '2026-07-06 05:52: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'), 47648, 'SRID=4674;POINT (-40.321878 -2.768701)', '2026-07-06 05:53:09', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321929 -2.768786)'), GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768701)'))) / (select extract(epoch from '2026-07-06 05:53:09'::timestamp) - extract(epoch from '2026-07-06 05:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321929 -2.768786)'), GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768701)'))) / (select extract(epoch from '2026-07-06 05:53:09'::timestamp) - extract(epoch from '2026-07-06 05:53:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321836 -2.7686)', '2026-07-06 05:53:16', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768701)'), GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.7686)'))) / (select extract(epoch from '2026-07-06 05:53:16'::timestamp) - extract(epoch from '2026-07-06 05:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768701)'), GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.7686)'))) / (select extract(epoch from '2026-07-06 05:53:16'::timestamp) - extract(epoch from '2026-07-06 05:53: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'), 47648, 'SRID=4674;POINT (-40.321781 -2.768509)', '2026-07-06 05:53:23', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.7686)'), GeomFromEWKT('SRID=4674;POINT (-40.321781 -2.768509)'))) / (select extract(epoch from '2026-07-06 05:53:23'::timestamp) - extract(epoch from '2026-07-06 05:53:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321836 -2.7686)'), GeomFromEWKT('SRID=4674;POINT (-40.321781 -2.768509)'))) / (select extract(epoch from '2026-07-06 05:53:23'::timestamp) - extract(epoch from '2026-07-06 05:53:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321731 -2.768407)', '2026-07-06 05:53:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321781 -2.768509)'), GeomFromEWKT('SRID=4674;POINT (-40.321731 -2.768407)'))) / (select extract(epoch from '2026-07-06 05:53:30'::timestamp) - extract(epoch from '2026-07-06 05:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321781 -2.768509)'), GeomFromEWKT('SRID=4674;POINT (-40.321731 -2.768407)'))) / (select extract(epoch from '2026-07-06 05:53:30'::timestamp) - extract(epoch from '2026-07-06 05:53:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321687 -2.768304)', '2026-07-06 05:53:36', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321731 -2.768407)'), GeomFromEWKT('SRID=4674;POINT (-40.321687 -2.768304)'))) / (select extract(epoch from '2026-07-06 05:53:36'::timestamp) - extract(epoch from '2026-07-06 05:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321731 -2.768407)'), GeomFromEWKT('SRID=4674;POINT (-40.321687 -2.768304)'))) / (select extract(epoch from '2026-07-06 05:53:36'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.321636 -2.768169)', '2026-07-06 05:53:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321687 -2.768304)'), GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768169)'))) / (select extract(epoch from '2026-07-06 05:53:44'::timestamp) - extract(epoch from '2026-07-06 05:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321687 -2.768304)'), GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768169)'))) / (select extract(epoch from '2026-07-06 05:53:44'::timestamp) - extract(epoch from '2026-07-06 05:53:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321649 -2.768041)', '2026-07-06 05:53:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768169)'), GeomFromEWKT('SRID=4674;POINT (-40.321649 -2.768041)'))) / (select extract(epoch from '2026-07-06 05:53:51'::timestamp) - extract(epoch from '2026-07-06 05:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768169)'), GeomFromEWKT('SRID=4674;POINT (-40.321649 -2.768041)'))) / (select extract(epoch from '2026-07-06 05:53:51'::timestamp) - extract(epoch from '2026-07-06 05:53: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'), 47648, 'SRID=4674;POINT (-40.321706 -2.767952)', '2026-07-06 05:53:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321649 -2.768041)'), GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.767952)'))) / (select extract(epoch from '2026-07-06 05:53:57'::timestamp) - extract(epoch from '2026-07-06 05:53:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321649 -2.768041)'), GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.767952)'))) / (select extract(epoch from '2026-07-06 05:53:57'::timestamp) - extract(epoch from '2026-07-06 05:53: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'), 47648, 'SRID=4674;POINT (-40.321804 -2.767804)', '2026-07-06 05:54:06', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.767952)'), GeomFromEWKT('SRID=4674;POINT (-40.321804 -2.767804)'))) / (select extract(epoch from '2026-07-06 05:54:06'::timestamp) - extract(epoch from '2026-07-06 05:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.767952)'), GeomFromEWKT('SRID=4674;POINT (-40.321804 -2.767804)'))) / (select extract(epoch from '2026-07-06 05:54:06'::timestamp) - extract(epoch from '2026-07-06 05:53:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.3219 -2.767755)', '2026-07-06 05:54:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321804 -2.767804)'), GeomFromEWKT('SRID=4674;POINT (-40.3219 -2.767755)'))) / (select extract(epoch from '2026-07-06 05:54:12'::timestamp) - extract(epoch from '2026-07-06 05:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321804 -2.767804)'), GeomFromEWKT('SRID=4674;POINT (-40.3219 -2.767755)'))) / (select extract(epoch from '2026-07-06 05:54:12'::timestamp) - extract(epoch from '2026-07-06 05:54: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'), 47648, 'SRID=4674;POINT (-40.321984 -2.767816)', '2026-07-06 05:54:19', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3219 -2.767755)'), GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.767816)'))) / (select extract(epoch from '2026-07-06 05:54:19'::timestamp) - extract(epoch from '2026-07-06 05:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3219 -2.767755)'), GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.767816)'))) / (select extract(epoch from '2026-07-06 05:54:19'::timestamp) - extract(epoch from '2026-07-06 05:54: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'), 47648, 'SRID=4674;POINT (-40.321989 -2.767895)', '2026-07-06 05:54:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.767816)'), GeomFromEWKT('SRID=4674;POINT (-40.321989 -2.767895)'))) / (select extract(epoch from '2026-07-06 05:54:25'::timestamp) - extract(epoch from '2026-07-06 05:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321984 -2.767816)'), GeomFromEWKT('SRID=4674;POINT (-40.321989 -2.767895)'))) / (select extract(epoch from '2026-07-06 05:54:25'::timestamp) - extract(epoch from '2026-07-06 05:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321981 -2.767903)', '2026-07-06 05:54:26', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321989 -2.767895)'), GeomFromEWKT('SRID=4674;POINT (-40.321981 -2.767903)'))) / (select extract(epoch from '2026-07-06 05:54:26'::timestamp) - extract(epoch from '2026-07-06 05:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321989 -2.767895)'), GeomFromEWKT('SRID=4674;POINT (-40.321981 -2.767903)'))) / (select extract(epoch from '2026-07-06 05:54:26'::timestamp) - extract(epoch from '2026-07-06 05:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.32187 -2.767942)', '2026-07-06 05:54:34', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321981 -2.767903)'), GeomFromEWKT('SRID=4674;POINT (-40.32187 -2.767942)'))) / (select extract(epoch from '2026-07-06 05:54:34'::timestamp) - extract(epoch from '2026-07-06 05:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321981 -2.767903)'), GeomFromEWKT('SRID=4674;POINT (-40.32187 -2.767942)'))) / (select extract(epoch from '2026-07-06 05:54:34'::timestamp) - extract(epoch from '2026-07-06 05:54:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321821 -2.768009)', '2026-07-06 05:54:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32187 -2.767942)'), GeomFromEWKT('SRID=4674;POINT (-40.321821 -2.768009)'))) / (select extract(epoch from '2026-07-06 05:54:40'::timestamp) - extract(epoch from '2026-07-06 05:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32187 -2.767942)'), GeomFromEWKT('SRID=4674;POINT (-40.321821 -2.768009)'))) / (select extract(epoch from '2026-07-06 05:54:40'::timestamp) - extract(epoch from '2026-07-06 05:54: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'), 47648, 'SRID=4674;POINT (-40.32177 -2.768083)', '2026-07-06 05:54:48', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321821 -2.768009)'), GeomFromEWKT('SRID=4674;POINT (-40.32177 -2.768083)'))) / (select extract(epoch from '2026-07-06 05:54:48'::timestamp) - extract(epoch from '2026-07-06 05:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321821 -2.768009)'), GeomFromEWKT('SRID=4674;POINT (-40.32177 -2.768083)'))) / (select extract(epoch from '2026-07-06 05:54:48'::timestamp) - extract(epoch from '2026-07-06 05:54: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'), 47648, 'SRID=4674;POINT (-40.321705 -2.768098)', '2026-07-06 05:54:55', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32177 -2.768083)'), GeomFromEWKT('SRID=4674;POINT (-40.321705 -2.768098)'))) / (select extract(epoch from '2026-07-06 05:54:55'::timestamp) - extract(epoch from '2026-07-06 05:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32177 -2.768083)'), GeomFromEWKT('SRID=4674;POINT (-40.321705 -2.768098)'))) / (select extract(epoch from '2026-07-06 05:54:55'::timestamp) - extract(epoch from '2026-07-06 05:54:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321684 -2.768106)', '2026-07-06 05:54:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321705 -2.768098)'), GeomFromEWKT('SRID=4674;POINT (-40.321684 -2.768106)'))) / (select extract(epoch from '2026-07-06 05:54:57'::timestamp) - extract(epoch from '2026-07-06 05:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321705 -2.768098)'), GeomFromEWKT('SRID=4674;POINT (-40.321684 -2.768106)'))) / (select extract(epoch from '2026-07-06 05:54:57'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.321673 -2.768149)', '2026-07-06 05:55:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321684 -2.768106)'), GeomFromEWKT('SRID=4674;POINT (-40.321673 -2.768149)'))) / (select extract(epoch from '2026-07-06 05:55:00'::timestamp) - extract(epoch from '2026-07-06 05:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321684 -2.768106)'), GeomFromEWKT('SRID=4674;POINT (-40.321673 -2.768149)'))) / (select extract(epoch from '2026-07-06 05:55:00'::timestamp) - extract(epoch from '2026-07-06 05:54: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'), 47648, 'SRID=4674;POINT (-40.321675 -2.768164)', '2026-07-06 05:55:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321673 -2.768149)'), GeomFromEWKT('SRID=4674;POINT (-40.321675 -2.768164)'))) / (select extract(epoch from '2026-07-06 05:55:01'::timestamp) - extract(epoch from '2026-07-06 05:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321673 -2.768149)'), GeomFromEWKT('SRID=4674;POINT (-40.321675 -2.768164)'))) / (select extract(epoch from '2026-07-06 05:55:01'::timestamp) - extract(epoch from '2026-07-06 05:55: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'), 47648, 'SRID=4674;POINT (-40.321706 -2.768219)', '2026-07-06 05:55:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321675 -2.768164)'), GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.768219)'))) / (select extract(epoch from '2026-07-06 05:55:05'::timestamp) - extract(epoch from '2026-07-06 05:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321675 -2.768164)'), GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.768219)'))) / (select extract(epoch from '2026-07-06 05:55:05'::timestamp) - extract(epoch from '2026-07-06 05:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321794 -2.768245)', '2026-07-06 05:55:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.768219)'), GeomFromEWKT('SRID=4674;POINT (-40.321794 -2.768245)'))) / (select extract(epoch from '2026-07-06 05:55:11'::timestamp) - extract(epoch from '2026-07-06 05:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321706 -2.768219)'), GeomFromEWKT('SRID=4674;POINT (-40.321794 -2.768245)'))) / (select extract(epoch from '2026-07-06 05:55:11'::timestamp) - extract(epoch from '2026-07-06 05:55:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321868 -2.768176)', '2026-07-06 05:55:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321794 -2.768245)'), GeomFromEWKT('SRID=4674;POINT (-40.321868 -2.768176)'))) / (select extract(epoch from '2026-07-06 05:55:17'::timestamp) - extract(epoch from '2026-07-06 05:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321794 -2.768245)'), GeomFromEWKT('SRID=4674;POINT (-40.321868 -2.768176)'))) / (select extract(epoch from '2026-07-06 05:55:17'::timestamp) - extract(epoch from '2026-07-06 05:55: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'), 47648, 'SRID=4674;POINT (-40.321878 -2.768102)', '2026-07-06 05:55:23', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321868 -2.768176)'), GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768102)'))) / (select extract(epoch from '2026-07-06 05:55:23'::timestamp) - extract(epoch from '2026-07-06 05:55:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321868 -2.768176)'), GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768102)'))) / (select extract(epoch from '2026-07-06 05:55:23'::timestamp) - extract(epoch from '2026-07-06 05:55: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'), 47648, 'SRID=4674;POINT (-40.321826 -2.768052)', '2026-07-06 05:55:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768102)'), GeomFromEWKT('SRID=4674;POINT (-40.321826 -2.768052)'))) / (select extract(epoch from '2026-07-06 05:55:32'::timestamp) - extract(epoch from '2026-07-06 05:55:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321878 -2.768102)'), GeomFromEWKT('SRID=4674;POINT (-40.321826 -2.768052)'))) / (select extract(epoch from '2026-07-06 05:55:32'::timestamp) - extract(epoch from '2026-07-06 05:55: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'), 47648, 'SRID=4674;POINT (-40.321755 -2.768027)', '2026-07-06 05:55:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321826 -2.768052)'), GeomFromEWKT('SRID=4674;POINT (-40.321755 -2.768027)'))) / (select extract(epoch from '2026-07-06 05:55:43'::timestamp) - extract(epoch from '2026-07-06 05:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321826 -2.768052)'), GeomFromEWKT('SRID=4674;POINT (-40.321755 -2.768027)'))) / (select extract(epoch from '2026-07-06 05:55:43'::timestamp) - extract(epoch from '2026-07-06 05:55:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321756 -2.768023)', '2026-07-06 05:55:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321755 -2.768027)'), GeomFromEWKT('SRID=4674;POINT (-40.321756 -2.768023)'))) / (select extract(epoch from '2026-07-06 05:55:55'::timestamp) - extract(epoch from '2026-07-06 05:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321755 -2.768027)'), GeomFromEWKT('SRID=4674;POINT (-40.321756 -2.768023)'))) / (select extract(epoch from '2026-07-06 05:55:55'::timestamp) - extract(epoch from '2026-07-06 05:55: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'), 47648, 'SRID=4674;POINT (-40.321766 -2.768007)', '2026-07-06 05:56:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321756 -2.768023)'), GeomFromEWKT('SRID=4674;POINT (-40.321766 -2.768007)'))) / (select extract(epoch from '2026-07-06 05:56:05'::timestamp) - extract(epoch from '2026-07-06 05:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321756 -2.768023)'), GeomFromEWKT('SRID=4674;POINT (-40.321766 -2.768007)'))) / (select extract(epoch from '2026-07-06 05:56:05'::timestamp) - extract(epoch from '2026-07-06 05:55: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'), 47648, 'SRID=4674;POINT (-40.321785 -2.767995)', '2026-07-06 05:56:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321766 -2.768007)'), GeomFromEWKT('SRID=4674;POINT (-40.321785 -2.767995)'))) / (select extract(epoch from '2026-07-06 05:56:15'::timestamp) - extract(epoch from '2026-07-06 05:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321766 -2.768007)'), GeomFromEWKT('SRID=4674;POINT (-40.321785 -2.767995)'))) / (select extract(epoch from '2026-07-06 05:56:15'::timestamp) - extract(epoch from '2026-07-06 05:56: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'), 47648, 'SRID=4674;POINT (-40.321813 -2.767972)', '2026-07-06 05:56:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321785 -2.767995)'), GeomFromEWKT('SRID=4674;POINT (-40.321813 -2.767972)'))) / (select extract(epoch from '2026-07-06 05:56:32'::timestamp) - extract(epoch from '2026-07-06 05:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321785 -2.767995)'), GeomFromEWKT('SRID=4674;POINT (-40.321813 -2.767972)'))) / (select extract(epoch from '2026-07-06 05:56:32'::timestamp) - extract(epoch from '2026-07-06 05:56: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'), 47648, 'SRID=4674;POINT (-40.321777 -2.767935)', '2026-07-06 05:56:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321813 -2.767972)'), GeomFromEWKT('SRID=4674;POINT (-40.321777 -2.767935)'))) / (select extract(epoch from '2026-07-06 05:56:46'::timestamp) - extract(epoch from '2026-07-06 05:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321813 -2.767972)'), GeomFromEWKT('SRID=4674;POINT (-40.321777 -2.767935)'))) / (select extract(epoch from '2026-07-06 05:56:46'::timestamp) - extract(epoch from '2026-07-06 05:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.32177 -2.767937)', '2026-07-06 05:57:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321777 -2.767935)'), GeomFromEWKT('SRID=4674;POINT (-40.32177 -2.767937)'))) / (select extract(epoch from '2026-07-06 05:57:00'::timestamp) - extract(epoch from '2026-07-06 05:56:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321777 -2.767935)'), GeomFromEWKT('SRID=4674;POINT (-40.32177 -2.767937)'))) / (select extract(epoch from '2026-07-06 05:57:00'::timestamp) - extract(epoch from '2026-07-06 05:56: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'), 47648, 'SRID=4674;POINT (-40.321727 -2.767955)', '2026-07-06 05:57:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32177 -2.767937)'), GeomFromEWKT('SRID=4674;POINT (-40.321727 -2.767955)'))) / (select extract(epoch from '2026-07-06 05:57:15'::timestamp) - extract(epoch from '2026-07-06 05:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32177 -2.767937)'), GeomFromEWKT('SRID=4674;POINT (-40.321727 -2.767955)'))) / (select extract(epoch from '2026-07-06 05:57:15'::timestamp) - extract(epoch from '2026-07-06 05:57:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.32172 -2.767965)', '2026-07-06 05:57:31', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321727 -2.767955)'), GeomFromEWKT('SRID=4674;POINT (-40.32172 -2.767965)'))) / (select extract(epoch from '2026-07-06 05:57:31'::timestamp) - extract(epoch from '2026-07-06 05:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321727 -2.767955)'), GeomFromEWKT('SRID=4674;POINT (-40.32172 -2.767965)'))) / (select extract(epoch from '2026-07-06 05:57:31'::timestamp) - extract(epoch from '2026-07-06 05:57:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321738 -2.767976)', '2026-07-06 05:57:46', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32172 -2.767965)'), GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.767976)'))) / (select extract(epoch from '2026-07-06 05:57:46'::timestamp) - extract(epoch from '2026-07-06 05:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32172 -2.767965)'), GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.767976)'))) / (select extract(epoch from '2026-07-06 05:57:46'::timestamp) - extract(epoch from '2026-07-06 05:57:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321737 -2.767995)', '2026-07-06 05:57:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.767976)'), GeomFromEWKT('SRID=4674;POINT (-40.321737 -2.767995)'))) / (select extract(epoch from '2026-07-06 05:57:57'::timestamp) - extract(epoch from '2026-07-06 05:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.767976)'), GeomFromEWKT('SRID=4674;POINT (-40.321737 -2.767995)'))) / (select extract(epoch from '2026-07-06 05:57:57'::timestamp) - extract(epoch from '2026-07-06 05: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'), 47648, 'SRID=4674;POINT (-40.321738 -2.768003)', '2026-07-06 05:58:12', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321737 -2.767995)'), GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.768003)'))) / (select extract(epoch from '2026-07-06 05:58:12'::timestamp) - extract(epoch from '2026-07-06 05:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321737 -2.767995)'), GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.768003)'))) / (select extract(epoch from '2026-07-06 05:58:12'::timestamp) - extract(epoch from '2026-07-06 05:57: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'), 47648, 'SRID=4674;POINT (-40.321743 -2.767993)', '2026-07-06 05:58:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.768003)'), GeomFromEWKT('SRID=4674;POINT (-40.321743 -2.767993)'))) / (select extract(epoch from '2026-07-06 05:58:33'::timestamp) - extract(epoch from '2026-07-06 05:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.768003)'), GeomFromEWKT('SRID=4674;POINT (-40.321743 -2.767993)'))) / (select extract(epoch from '2026-07-06 05:58:33'::timestamp) - extract(epoch from '2026-07-06 05:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321736 -2.767984)', '2026-07-06 05:58:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321743 -2.767993)'), GeomFromEWKT('SRID=4674;POINT (-40.321736 -2.767984)'))) / (select extract(epoch from '2026-07-06 05:58:47'::timestamp) - extract(epoch from '2026-07-06 05:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321743 -2.767993)'), GeomFromEWKT('SRID=4674;POINT (-40.321736 -2.767984)'))) / (select extract(epoch from '2026-07-06 05:58:47'::timestamp) - extract(epoch from '2026-07-06 05:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321738 -2.767979)', '2026-07-06 05:59:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321736 -2.767984)'), GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.767979)'))) / (select extract(epoch from '2026-07-06 05:59:01'::timestamp) - extract(epoch from '2026-07-06 05:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321736 -2.767984)'), GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.767979)'))) / (select extract(epoch from '2026-07-06 05:59:01'::timestamp) - extract(epoch from '2026-07-06 05:58: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'), 47648, 'SRID=4674;POINT (-40.321746 -2.767977)', '2026-07-06 05:59:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.767979)'), GeomFromEWKT('SRID=4674;POINT (-40.321746 -2.767977)'))) / (select extract(epoch from '2026-07-06 05:59:24'::timestamp) - extract(epoch from '2026-07-06 05:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321738 -2.767979)'), GeomFromEWKT('SRID=4674;POINT (-40.321746 -2.767977)'))) / (select extract(epoch from '2026-07-06 05:59:24'::timestamp) - extract(epoch from '2026-07-06 05:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.32173 -2.767974)', '2026-07-06 05:59:45', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321746 -2.767977)'), GeomFromEWKT('SRID=4674;POINT (-40.32173 -2.767974)'))) / (select extract(epoch from '2026-07-06 05:59:45'::timestamp) - extract(epoch from '2026-07-06 05:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321746 -2.767977)'), GeomFromEWKT('SRID=4674;POINT (-40.32173 -2.767974)'))) / (select extract(epoch from '2026-07-06 05:59:45'::timestamp) - extract(epoch from '2026-07-06 05:59: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'), 47648, 'SRID=4674;POINT (-40.321728 -2.767972)', '2026-07-06 06:00:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32173 -2.767974)'), GeomFromEWKT('SRID=4674;POINT (-40.321728 -2.767972)'))) / (select extract(epoch from '2026-07-06 06:00:00'::timestamp) - extract(epoch from '2026-07-06 05:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32173 -2.767974)'), GeomFromEWKT('SRID=4674;POINT (-40.321728 -2.767972)'))) / (select extract(epoch from '2026-07-06 06:00:00'::timestamp) - extract(epoch from '2026-07-06 05:59: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'), 47648, 'SRID=4674;POINT (-40.321726 -2.767974)', '2026-07-06 06:00:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321728 -2.767972)'), GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.767974)'))) / (select extract(epoch from '2026-07-06 06:00:11'::timestamp) - extract(epoch from '2026-07-06 06:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321728 -2.767972)'), GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.767974)'))) / (select extract(epoch from '2026-07-06 06:00:11'::timestamp) - extract(epoch from '2026-07-06 06:00:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.32172 -2.767964)', '2026-07-06 06:00:24', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.767974)'), GeomFromEWKT('SRID=4674;POINT (-40.32172 -2.767964)'))) / (select extract(epoch from '2026-07-06 06:00:24'::timestamp) - extract(epoch from '2026-07-06 06:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321726 -2.767974)'), GeomFromEWKT('SRID=4674;POINT (-40.32172 -2.767964)'))) / (select extract(epoch from '2026-07-06 06:00:24'::timestamp) - extract(epoch from '2026-07-06 06:00: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'), 47648, 'SRID=4674;POINT (-40.321718 -2.767977)', '2026-07-06 06:00:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32172 -2.767964)'), GeomFromEWKT('SRID=4674;POINT (-40.321718 -2.767977)'))) / (select extract(epoch from '2026-07-06 06:00:38'::timestamp) - extract(epoch from '2026-07-06 06:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32172 -2.767964)'), GeomFromEWKT('SRID=4674;POINT (-40.321718 -2.767977)'))) / (select extract(epoch from '2026-07-06 06:00:38'::timestamp) - extract(epoch from '2026-07-06 06:00: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'), 47648, 'SRID=4674;POINT (-40.321695 -2.767994)', '2026-07-06 06:00:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321718 -2.767977)'), GeomFromEWKT('SRID=4674;POINT (-40.321695 -2.767994)'))) / (select extract(epoch from '2026-07-06 06:00:49'::timestamp) - extract(epoch from '2026-07-06 06:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321718 -2.767977)'), GeomFromEWKT('SRID=4674;POINT (-40.321695 -2.767994)'))) / (select extract(epoch from '2026-07-06 06:00:49'::timestamp) - extract(epoch from '2026-07-06 06:00:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321636 -2.768038)', '2026-07-06 06:01:03', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321695 -2.767994)'), GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768038)'))) / (select extract(epoch from '2026-07-06 06:01:03'::timestamp) - extract(epoch from '2026-07-06 06:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321695 -2.767994)'), GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768038)'))) / (select extract(epoch from '2026-07-06 06:01:03'::timestamp) - extract(epoch from '2026-07-06 06:00: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'), 47648, 'SRID=4674;POINT (-40.321562 -2.768051)', '2026-07-06 06:01:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768038)'), GeomFromEWKT('SRID=4674;POINT (-40.321562 -2.768051)'))) / (select extract(epoch from '2026-07-06 06:01:17'::timestamp) - extract(epoch from '2026-07-06 06:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768038)'), GeomFromEWKT('SRID=4674;POINT (-40.321562 -2.768051)'))) / (select extract(epoch from '2026-07-06 06:01:17'::timestamp) - extract(epoch from '2026-07-06 06:01:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321534 -2.768071)', '2026-07-06 06:01:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321562 -2.768051)'), GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768071)'))) / (select extract(epoch from '2026-07-06 06:01:28'::timestamp) - extract(epoch from '2026-07-06 06:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321562 -2.768051)'), GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768071)'))) / (select extract(epoch from '2026-07-06 06:01:28'::timestamp) - extract(epoch from '2026-07-06 06:01: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'), 47648, 'SRID=4674;POINT (-40.321549 -2.76809)', '2026-07-06 06:01:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768071)'), GeomFromEWKT('SRID=4674;POINT (-40.321549 -2.76809)'))) / (select extract(epoch from '2026-07-06 06:01:43'::timestamp) - extract(epoch from '2026-07-06 06:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768071)'), GeomFromEWKT('SRID=4674;POINT (-40.321549 -2.76809)'))) / (select extract(epoch from '2026-07-06 06:01:43'::timestamp) - extract(epoch from '2026-07-06 06:01:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321552 -2.768101)', '2026-07-06 06:01:59', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321549 -2.76809)'), GeomFromEWKT('SRID=4674;POINT (-40.321552 -2.768101)'))) / (select extract(epoch from '2026-07-06 06:01:59'::timestamp) - extract(epoch from '2026-07-06 06:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321549 -2.76809)'), GeomFromEWKT('SRID=4674;POINT (-40.321552 -2.768101)'))) / (select extract(epoch from '2026-07-06 06:01:59'::timestamp) - extract(epoch from '2026-07-06 06:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321564 -2.768119)', '2026-07-06 06:02:17', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321552 -2.768101)'), GeomFromEWKT('SRID=4674;POINT (-40.321564 -2.768119)'))) / (select extract(epoch from '2026-07-06 06:02:17'::timestamp) - extract(epoch from '2026-07-06 06:01:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321552 -2.768101)'), GeomFromEWKT('SRID=4674;POINT (-40.321564 -2.768119)'))) / (select extract(epoch from '2026-07-06 06:02:17'::timestamp) - extract(epoch from '2026-07-06 06:01: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'), 47648, 'SRID=4674;POINT (-40.321568 -2.768135)', '2026-07-06 06:02:24', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321564 -2.768119)'), GeomFromEWKT('SRID=4674;POINT (-40.321568 -2.768135)'))) / (select extract(epoch from '2026-07-06 06:02:24'::timestamp) - extract(epoch from '2026-07-06 06:02:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321564 -2.768119)'), GeomFromEWKT('SRID=4674;POINT (-40.321568 -2.768135)'))) / (select extract(epoch from '2026-07-06 06:02:24'::timestamp) - extract(epoch from '2026-07-06 06:02: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'), 47648, 'SRID=4674;POINT (-40.321563 -2.768147)', '2026-07-06 06:02:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321568 -2.768135)'), GeomFromEWKT('SRID=4674;POINT (-40.321563 -2.768147)'))) / (select extract(epoch from '2026-07-06 06:02:38'::timestamp) - extract(epoch from '2026-07-06 06:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321568 -2.768135)'), GeomFromEWKT('SRID=4674;POINT (-40.321563 -2.768147)'))) / (select extract(epoch from '2026-07-06 06:02:38'::timestamp) - extract(epoch from '2026-07-06 06:02: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'), 47648, 'SRID=4674;POINT (-40.321537 -2.768144)', '2026-07-06 06:02:58', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321563 -2.768147)'), GeomFromEWKT('SRID=4674;POINT (-40.321537 -2.768144)'))) / (select extract(epoch from '2026-07-06 06:02:58'::timestamp) - extract(epoch from '2026-07-06 06:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321563 -2.768147)'), GeomFromEWKT('SRID=4674;POINT (-40.321537 -2.768144)'))) / (select extract(epoch from '2026-07-06 06:02:58'::timestamp) - extract(epoch from '2026-07-06 06: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'), 47648, 'SRID=4674;POINT (-40.32154 -2.768143)', '2026-07-06 06:03:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321537 -2.768144)'), GeomFromEWKT('SRID=4674;POINT (-40.32154 -2.768143)'))) / (select extract(epoch from '2026-07-06 06:03:13'::timestamp) - extract(epoch from '2026-07-06 06:02:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321537 -2.768144)'), GeomFromEWKT('SRID=4674;POINT (-40.32154 -2.768143)'))) / (select extract(epoch from '2026-07-06 06:03:13'::timestamp) - extract(epoch from '2026-07-06 06:02:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321531 -2.768139)', '2026-07-06 06:03:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32154 -2.768143)'), GeomFromEWKT('SRID=4674;POINT (-40.321531 -2.768139)'))) / (select extract(epoch from '2026-07-06 06:03:33'::timestamp) - extract(epoch from '2026-07-06 06:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32154 -2.768143)'), GeomFromEWKT('SRID=4674;POINT (-40.321531 -2.768139)'))) / (select extract(epoch from '2026-07-06 06:03:33'::timestamp) - extract(epoch from '2026-07-06 06:03:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321532 -2.768125)', '2026-07-06 06:03:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321531 -2.768139)'), GeomFromEWKT('SRID=4674;POINT (-40.321532 -2.768125)'))) / (select extract(epoch from '2026-07-06 06:03:44'::timestamp) - extract(epoch from '2026-07-06 06:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321531 -2.768139)'), GeomFromEWKT('SRID=4674;POINT (-40.321532 -2.768125)'))) / (select extract(epoch from '2026-07-06 06:03:44'::timestamp) - extract(epoch from '2026-07-06 06:03: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'), 47648, 'SRID=4674;POINT (-40.321534 -2.768119)', '2026-07-06 06:03:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321532 -2.768125)'), GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768119)'))) / (select extract(epoch from '2026-07-06 06:03:59'::timestamp) - extract(epoch from '2026-07-06 06:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321532 -2.768125)'), GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768119)'))) / (select extract(epoch from '2026-07-06 06:03:59'::timestamp) - extract(epoch from '2026-07-06 06: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'), 47648, 'SRID=4674;POINT (-40.321541 -2.768115)', '2026-07-06 06:04:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768119)'), GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768115)'))) / (select extract(epoch from '2026-07-06 06:04:19'::timestamp) - extract(epoch from '2026-07-06 06:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321534 -2.768119)'), GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768115)'))) / (select extract(epoch from '2026-07-06 06:04:19'::timestamp) - extract(epoch from '2026-07-06 06: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'), 47648, 'SRID=4674;POINT (-40.321536 -2.768117)', '2026-07-06 06:04:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768115)'), GeomFromEWKT('SRID=4674;POINT (-40.321536 -2.768117)'))) / (select extract(epoch from '2026-07-06 06:04:32'::timestamp) - extract(epoch from '2026-07-06 06:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321541 -2.768115)'), GeomFromEWKT('SRID=4674;POINT (-40.321536 -2.768117)'))) / (select extract(epoch from '2026-07-06 06:04:32'::timestamp) - extract(epoch from '2026-07-06 06:04: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'), 47648, 'SRID=4674;POINT (-40.321546 -2.768133)', '2026-07-06 06:04:44', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321536 -2.768117)'), GeomFromEWKT('SRID=4674;POINT (-40.321546 -2.768133)'))) / (select extract(epoch from '2026-07-06 06:04:44'::timestamp) - extract(epoch from '2026-07-06 06:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321536 -2.768117)'), GeomFromEWKT('SRID=4674;POINT (-40.321546 -2.768133)'))) / (select extract(epoch from '2026-07-06 06:04:44'::timestamp) - extract(epoch from '2026-07-06 06:04: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'), 47648, 'SRID=4674;POINT (-40.321521 -2.768139)', '2026-07-06 06:04:54', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321546 -2.768133)'), GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.768139)'))) / (select extract(epoch from '2026-07-06 06:04:54'::timestamp) - extract(epoch from '2026-07-06 06:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321546 -2.768133)'), GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.768139)'))) / (select extract(epoch from '2026-07-06 06:04:54'::timestamp) - extract(epoch from '2026-07-06 06:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321446 -2.768161)', '2026-07-06 06:05:12', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.768139)'), GeomFromEWKT('SRID=4674;POINT (-40.321446 -2.768161)'))) / (select extract(epoch from '2026-07-06 06:05:12'::timestamp) - extract(epoch from '2026-07-06 06:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321521 -2.768139)'), GeomFromEWKT('SRID=4674;POINT (-40.321446 -2.768161)'))) / (select extract(epoch from '2026-07-06 06:05:12'::timestamp) - extract(epoch from '2026-07-06 06:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321435 -2.768165)', '2026-07-06 06:05:25', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321446 -2.768161)'), GeomFromEWKT('SRID=4674;POINT (-40.321435 -2.768165)'))) / (select extract(epoch from '2026-07-06 06:05:25'::timestamp) - extract(epoch from '2026-07-06 06:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321446 -2.768161)'), GeomFromEWKT('SRID=4674;POINT (-40.321435 -2.768165)'))) / (select extract(epoch from '2026-07-06 06:05:25'::timestamp) - extract(epoch from '2026-07-06 06:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321447 -2.768164)', '2026-07-06 06:05:41', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321435 -2.768165)'), GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.768164)'))) / (select extract(epoch from '2026-07-06 06:05:41'::timestamp) - extract(epoch from '2026-07-06 06:05:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321435 -2.768165)'), GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.768164)'))) / (select extract(epoch from '2026-07-06 06:05:41'::timestamp) - extract(epoch from '2026-07-06 06:05: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'), 47648, 'SRID=4674;POINT (-40.321478 -2.76815)', '2026-07-06 06:05:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.768164)'), GeomFromEWKT('SRID=4674;POINT (-40.321478 -2.76815)'))) / (select extract(epoch from '2026-07-06 06:05:53'::timestamp) - extract(epoch from '2026-07-06 06:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321447 -2.768164)'), GeomFromEWKT('SRID=4674;POINT (-40.321478 -2.76815)'))) / (select extract(epoch from '2026-07-06 06:05:53'::timestamp) - extract(epoch from '2026-07-06 06:05: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'), 47648, 'SRID=4674;POINT (-40.321535 -2.768122)', '2026-07-06 06:06:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321478 -2.76815)'), GeomFromEWKT('SRID=4674;POINT (-40.321535 -2.768122)'))) / (select extract(epoch from '2026-07-06 06:06:07'::timestamp) - extract(epoch from '2026-07-06 06:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321478 -2.76815)'), GeomFromEWKT('SRID=4674;POINT (-40.321535 -2.768122)'))) / (select extract(epoch from '2026-07-06 06:06:07'::timestamp) - extract(epoch from '2026-07-06 06:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.32157 -2.768106)', '2026-07-06 06:06:21', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321535 -2.768122)'), GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.768106)'))) / (select extract(epoch from '2026-07-06 06:06:21'::timestamp) - extract(epoch from '2026-07-06 06:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321535 -2.768122)'), GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.768106)'))) / (select extract(epoch from '2026-07-06 06:06:21'::timestamp) - extract(epoch from '2026-07-06 06:06: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'), 47648, 'SRID=4674;POINT (-40.321598 -2.768098)', '2026-07-06 06:06:34', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.768106)'), GeomFromEWKT('SRID=4674;POINT (-40.321598 -2.768098)'))) / (select extract(epoch from '2026-07-06 06:06:34'::timestamp) - extract(epoch from '2026-07-06 06:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32157 -2.768106)'), GeomFromEWKT('SRID=4674;POINT (-40.321598 -2.768098)'))) / (select extract(epoch from '2026-07-06 06:06:34'::timestamp) - extract(epoch from '2026-07-06 06:06: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'), 47648, 'SRID=4674;POINT (-40.321636 -2.768118)', '2026-07-06 06:06:47', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321598 -2.768098)'), GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768118)'))) / (select extract(epoch from '2026-07-06 06:06:47'::timestamp) - extract(epoch from '2026-07-06 06:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321598 -2.768098)'), GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768118)'))) / (select extract(epoch from '2026-07-06 06:06:47'::timestamp) - extract(epoch from '2026-07-06 06:06:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321727 -2.76812)', '2026-07-06 06:06:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768118)'), GeomFromEWKT('SRID=4674;POINT (-40.321727 -2.76812)'))) / (select extract(epoch from '2026-07-06 06:06:55'::timestamp) - extract(epoch from '2026-07-06 06:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321636 -2.768118)'), GeomFromEWKT('SRID=4674;POINT (-40.321727 -2.76812)'))) / (select extract(epoch from '2026-07-06 06:06:55'::timestamp) - extract(epoch from '2026-07-06 06:06: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'), 47648, 'SRID=4674;POINT (-40.321747 -2.768021)', '2026-07-06 06:07:02', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321727 -2.76812)'), GeomFromEWKT('SRID=4674;POINT (-40.321747 -2.768021)'))) / (select extract(epoch from '2026-07-06 06:07:02'::timestamp) - extract(epoch from '2026-07-06 06:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321727 -2.76812)'), GeomFromEWKT('SRID=4674;POINT (-40.321747 -2.768021)'))) / (select extract(epoch from '2026-07-06 06:07:02'::timestamp) - extract(epoch from '2026-07-06 06: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'), 47648, 'SRID=4674;POINT (-40.321688 -2.767961)', '2026-07-06 06:07:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321747 -2.768021)'), GeomFromEWKT('SRID=4674;POINT (-40.321688 -2.767961)'))) / (select extract(epoch from '2026-07-06 06:07:08'::timestamp) - extract(epoch from '2026-07-06 06:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321747 -2.768021)'), GeomFromEWKT('SRID=4674;POINT (-40.321688 -2.767961)'))) / (select extract(epoch from '2026-07-06 06:07:08'::timestamp) - extract(epoch from '2026-07-06 06: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'), 47648, 'SRID=4674;POINT (-40.321583 -2.767933)', '2026-07-06 06:07:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321688 -2.767961)'), GeomFromEWKT('SRID=4674;POINT (-40.321583 -2.767933)'))) / (select extract(epoch from '2026-07-06 06:07:16'::timestamp) - extract(epoch from '2026-07-06 06:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321688 -2.767961)'), GeomFromEWKT('SRID=4674;POINT (-40.321583 -2.767933)'))) / (select extract(epoch from '2026-07-06 06:07:16'::timestamp) - extract(epoch from '2026-07-06 06:07: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'), 47648, 'SRID=4674;POINT (-40.321477 -2.767927)', '2026-07-06 06:07:23', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321583 -2.767933)'), GeomFromEWKT('SRID=4674;POINT (-40.321477 -2.767927)'))) / (select extract(epoch from '2026-07-06 06:07:23'::timestamp) - extract(epoch from '2026-07-06 06:07:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321583 -2.767933)'), GeomFromEWKT('SRID=4674;POINT (-40.321477 -2.767927)'))) / (select extract(epoch from '2026-07-06 06:07:23'::timestamp) - extract(epoch from '2026-07-06 06:07:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.32136 -2.767932)', '2026-07-06 06:07:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321477 -2.767927)'), GeomFromEWKT('SRID=4674;POINT (-40.32136 -2.767932)'))) / (select extract(epoch from '2026-07-06 06:07:31'::timestamp) - extract(epoch from '2026-07-06 06:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321477 -2.767927)'), GeomFromEWKT('SRID=4674;POINT (-40.32136 -2.767932)'))) / (select extract(epoch from '2026-07-06 06:07:31'::timestamp) - extract(epoch from '2026-07-06 06:07:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321201 -2.767959)', '2026-07-06 06:07:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32136 -2.767932)'), GeomFromEWKT('SRID=4674;POINT (-40.321201 -2.767959)'))) / (select extract(epoch from '2026-07-06 06:07:41'::timestamp) - extract(epoch from '2026-07-06 06:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32136 -2.767932)'), GeomFromEWKT('SRID=4674;POINT (-40.321201 -2.767959)'))) / (select extract(epoch from '2026-07-06 06:07:41'::timestamp) - extract(epoch from '2026-07-06 06:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.321042 -2.76799)', '2026-07-06 06:07:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321201 -2.767959)'), GeomFromEWKT('SRID=4674;POINT (-40.321042 -2.76799)'))) / (select extract(epoch from '2026-07-06 06:07:50'::timestamp) - extract(epoch from '2026-07-06 06:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321201 -2.767959)'), GeomFromEWKT('SRID=4674;POINT (-40.321042 -2.76799)'))) / (select extract(epoch from '2026-07-06 06:07:50'::timestamp) - extract(epoch from '2026-07-06 06: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'), 47648, 'SRID=4674;POINT (-40.320914 -2.768012)', '2026-07-06 06:07:58', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321042 -2.76799)'), GeomFromEWKT('SRID=4674;POINT (-40.320914 -2.768012)'))) / (select extract(epoch from '2026-07-06 06:07:58'::timestamp) - extract(epoch from '2026-07-06 06:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321042 -2.76799)'), GeomFromEWKT('SRID=4674;POINT (-40.320914 -2.768012)'))) / (select extract(epoch from '2026-07-06 06:07:58'::timestamp) - extract(epoch from '2026-07-06 06:07: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'), 47648, 'SRID=4674;POINT (-40.320802 -2.768055)', '2026-07-06 06:08:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320914 -2.768012)'), GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.768055)'))) / (select extract(epoch from '2026-07-06 06:08:06'::timestamp) - extract(epoch from '2026-07-06 06:07:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320914 -2.768012)'), GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.768055)'))) / (select extract(epoch from '2026-07-06 06:08:06'::timestamp) - extract(epoch from '2026-07-06 06:07: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'), 47648, 'SRID=4674;POINT (-40.320701 -2.768083)', '2026-07-06 06:08:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.768055)'), GeomFromEWKT('SRID=4674;POINT (-40.320701 -2.768083)'))) / (select extract(epoch from '2026-07-06 06:08:13'::timestamp) - extract(epoch from '2026-07-06 06:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320802 -2.768055)'), GeomFromEWKT('SRID=4674;POINT (-40.320701 -2.768083)'))) / (select extract(epoch from '2026-07-06 06:08:13'::timestamp) - extract(epoch from '2026-07-06 06:08: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'), 47648, 'SRID=4674;POINT (-40.320596 -2.768098)', '2026-07-06 06:08:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320701 -2.768083)'), GeomFromEWKT('SRID=4674;POINT (-40.320596 -2.768098)'))) / (select extract(epoch from '2026-07-06 06:08:21'::timestamp) - extract(epoch from '2026-07-06 06:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320701 -2.768083)'), GeomFromEWKT('SRID=4674;POINT (-40.320596 -2.768098)'))) / (select extract(epoch from '2026-07-06 06:08:21'::timestamp) - extract(epoch from '2026-07-06 06:08:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.320488 -2.768122)', '2026-07-06 06:08:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320596 -2.768098)'), GeomFromEWKT('SRID=4674;POINT (-40.320488 -2.768122)'))) / (select extract(epoch from '2026-07-06 06:08:29'::timestamp) - extract(epoch from '2026-07-06 06:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320596 -2.768098)'), GeomFromEWKT('SRID=4674;POINT (-40.320488 -2.768122)'))) / (select extract(epoch from '2026-07-06 06:08:29'::timestamp) - extract(epoch from '2026-07-06 06:08: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'), 47648, 'SRID=4674;POINT (-40.320343 -2.768139)', '2026-07-06 06:08:38', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320488 -2.768122)'), GeomFromEWKT('SRID=4674;POINT (-40.320343 -2.768139)'))) / (select extract(epoch from '2026-07-06 06:08:38'::timestamp) - extract(epoch from '2026-07-06 06:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320488 -2.768122)'), GeomFromEWKT('SRID=4674;POINT (-40.320343 -2.768139)'))) / (select extract(epoch from '2026-07-06 06:08:38'::timestamp) - extract(epoch from '2026-07-06 06:08: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'), 47648, 'SRID=4674;POINT (-40.320201 -2.768163)', '2026-07-06 06:08:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320343 -2.768139)'), GeomFromEWKT('SRID=4674;POINT (-40.320201 -2.768163)'))) / (select extract(epoch from '2026-07-06 06:08:47'::timestamp) - extract(epoch from '2026-07-06 06:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320343 -2.768139)'), GeomFromEWKT('SRID=4674;POINT (-40.320201 -2.768163)'))) / (select extract(epoch from '2026-07-06 06:08:47'::timestamp) - extract(epoch from '2026-07-06 06:08: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'), 47648, 'SRID=4674;POINT (-40.320078 -2.768179)', '2026-07-06 06:08:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320201 -2.768163)'), GeomFromEWKT('SRID=4674;POINT (-40.320078 -2.768179)'))) / (select extract(epoch from '2026-07-06 06:08:55'::timestamp) - extract(epoch from '2026-07-06 06:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320201 -2.768163)'), GeomFromEWKT('SRID=4674;POINT (-40.320078 -2.768179)'))) / (select extract(epoch from '2026-07-06 06:08:55'::timestamp) - extract(epoch from '2026-07-06 06:08: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'), 47648, 'SRID=4674;POINT (-40.319951 -2.768239)', '2026-07-06 06:09:03', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320078 -2.768179)'), GeomFromEWKT('SRID=4674;POINT (-40.319951 -2.768239)'))) / (select extract(epoch from '2026-07-06 06:09:03'::timestamp) - extract(epoch from '2026-07-06 06:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320078 -2.768179)'), GeomFromEWKT('SRID=4674;POINT (-40.319951 -2.768239)'))) / (select extract(epoch from '2026-07-06 06:09:03'::timestamp) - extract(epoch from '2026-07-06 06:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.319849 -2.768259)', '2026-07-06 06:09:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319951 -2.768239)'), GeomFromEWKT('SRID=4674;POINT (-40.319849 -2.768259)'))) / (select extract(epoch from '2026-07-06 06:09:10'::timestamp) - extract(epoch from '2026-07-06 06:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319951 -2.768239)'), GeomFromEWKT('SRID=4674;POINT (-40.319849 -2.768259)'))) / (select extract(epoch from '2026-07-06 06:09:10'::timestamp) - extract(epoch from '2026-07-06 06:09: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'), 47648, 'SRID=4674;POINT (-40.319674 -2.768306)', '2026-07-06 06:09:21', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319849 -2.768259)'), GeomFromEWKT('SRID=4674;POINT (-40.319674 -2.768306)'))) / (select extract(epoch from '2026-07-06 06:09:21'::timestamp) - extract(epoch from '2026-07-06 06:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319849 -2.768259)'), GeomFromEWKT('SRID=4674;POINT (-40.319674 -2.768306)'))) / (select extract(epoch from '2026-07-06 06:09:21'::timestamp) - extract(epoch from '2026-07-06 06:09:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.319562 -2.768356)', '2026-07-06 06:09:29', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319674 -2.768306)'), GeomFromEWKT('SRID=4674;POINT (-40.319562 -2.768356)'))) / (select extract(epoch from '2026-07-06 06:09:29'::timestamp) - extract(epoch from '2026-07-06 06:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319674 -2.768306)'), GeomFromEWKT('SRID=4674;POINT (-40.319562 -2.768356)'))) / (select extract(epoch from '2026-07-06 06:09:29'::timestamp) - extract(epoch from '2026-07-06 06:09:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.319434 -2.768369)', '2026-07-06 06:09:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319562 -2.768356)'), GeomFromEWKT('SRID=4674;POINT (-40.319434 -2.768369)'))) / (select extract(epoch from '2026-07-06 06:09:37'::timestamp) - extract(epoch from '2026-07-06 06:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319562 -2.768356)'), GeomFromEWKT('SRID=4674;POINT (-40.319434 -2.768369)'))) / (select extract(epoch from '2026-07-06 06:09:37'::timestamp) - extract(epoch from '2026-07-06 06:09: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'), 47648, 'SRID=4674;POINT (-40.319319 -2.7684)', '2026-07-06 06:09:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319434 -2.768369)'), GeomFromEWKT('SRID=4674;POINT (-40.319319 -2.7684)'))) / (select extract(epoch from '2026-07-06 06:09:44'::timestamp) - extract(epoch from '2026-07-06 06:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319434 -2.768369)'), GeomFromEWKT('SRID=4674;POINT (-40.319319 -2.7684)'))) / (select extract(epoch from '2026-07-06 06:09:44'::timestamp) - extract(epoch from '2026-07-06 06:09: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'), 47648, 'SRID=4674;POINT (-40.319215 -2.768406)', '2026-07-06 06:09:51', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319319 -2.7684)'), GeomFromEWKT('SRID=4674;POINT (-40.319215 -2.768406)'))) / (select extract(epoch from '2026-07-06 06:09:51'::timestamp) - extract(epoch from '2026-07-06 06:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319319 -2.7684)'), GeomFromEWKT('SRID=4674;POINT (-40.319215 -2.768406)'))) / (select extract(epoch from '2026-07-06 06:09:51'::timestamp) - extract(epoch from '2026-07-06 06:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47648, 'SRID=4674;POINT (-40.319063 -2.768371)', '2026-07-06 06:10:01', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319215 -2.768406)'), GeomFromEWKT('SRID=4674;POINT (-40.319063 -2.768371)'))) / (select extract(epoch from '2026-07-06 06:10:01'::timestamp) - extract(epoch from '2026-07-06 06:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319215 -2.768406)'), GeomFromEWKT('SRID=4674;POINT (-40.319063 -2.768371)'))) / (select extract(epoch from '2026-07-06 06:10:01'::timestamp) - extract(epoch from '2026-07-06 06:09:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
