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'), 47493, 'SRID=4674;POINT (-38.827265 -3.545745)', '2026-07-31 04:29:38', 10.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'), 47493, 'SRID=4674;POINT (-38.827237 -3.54574)', '2026-07-31 04:29:41', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827265 -3.545745)'), GeomFromEWKT('SRID=4674;POINT (-38.827237 -3.54574)'))) / (select extract(epoch from '2026-07-31 04:29:41'::timestamp) - extract(epoch from '2026-07-31 04:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827265 -3.545745)'), GeomFromEWKT('SRID=4674;POINT (-38.827237 -3.54574)'))) / (select extract(epoch from '2026-07-31 04:29:41'::timestamp) - extract(epoch from '2026-07-31 04:29: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'), 47493, 'SRID=4674;POINT (-38.827204 -3.545742)', '2026-07-31 04:29:46', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827237 -3.54574)'), GeomFromEWKT('SRID=4674;POINT (-38.827204 -3.545742)'))) / (select extract(epoch from '2026-07-31 04:29:46'::timestamp) - extract(epoch from '2026-07-31 04:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827237 -3.54574)'), GeomFromEWKT('SRID=4674;POINT (-38.827204 -3.545742)'))) / (select extract(epoch from '2026-07-31 04:29:46'::timestamp) - extract(epoch from '2026-07-31 04:29: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'), 47493, 'SRID=4674;POINT (-38.827175 -3.545737)', '2026-07-31 04:29:49', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827204 -3.545742)'), GeomFromEWKT('SRID=4674;POINT (-38.827175 -3.545737)'))) / (select extract(epoch from '2026-07-31 04:29:49'::timestamp) - extract(epoch from '2026-07-31 04:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827204 -3.545742)'), GeomFromEWKT('SRID=4674;POINT (-38.827175 -3.545737)'))) / (select extract(epoch from '2026-07-31 04:29:49'::timestamp) - extract(epoch from '2026-07-31 04:29: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'), 47493, 'SRID=4674;POINT (-38.827161 -3.545724)', '2026-07-31 04:29:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827175 -3.545737)'), GeomFromEWKT('SRID=4674;POINT (-38.827161 -3.545724)'))) / (select extract(epoch from '2026-07-31 04:29:51'::timestamp) - extract(epoch from '2026-07-31 04:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827175 -3.545737)'), GeomFromEWKT('SRID=4674;POINT (-38.827161 -3.545724)'))) / (select extract(epoch from '2026-07-31 04:29:51'::timestamp) - extract(epoch from '2026-07-31 04:29: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'), 47493, 'SRID=4674;POINT (-38.827094 -3.545673)', '2026-07-31 04:30:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827161 -3.545724)'), GeomFromEWKT('SRID=4674;POINT (-38.827094 -3.545673)'))) / (select extract(epoch from '2026-07-31 04:30:00'::timestamp) - extract(epoch from '2026-07-31 04:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827161 -3.545724)'), GeomFromEWKT('SRID=4674;POINT (-38.827094 -3.545673)'))) / (select extract(epoch from '2026-07-31 04:30:00'::timestamp) - extract(epoch from '2026-07-31 04:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.827086 -3.545634)', '2026-07-31 04:30:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827094 -3.545673)'), GeomFromEWKT('SRID=4674;POINT (-38.827086 -3.545634)'))) / (select extract(epoch from '2026-07-31 04:30:06'::timestamp) - extract(epoch from '2026-07-31 04:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827094 -3.545673)'), GeomFromEWKT('SRID=4674;POINT (-38.827086 -3.545634)'))) / (select extract(epoch from '2026-07-31 04:30:06'::timestamp) - extract(epoch from '2026-07-31 04:30: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'), 47493, 'SRID=4674;POINT (-38.827093 -3.545561)', '2026-07-31 04:30:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827086 -3.545634)'), GeomFromEWKT('SRID=4674;POINT (-38.827093 -3.545561)'))) / (select extract(epoch from '2026-07-31 04:30:12'::timestamp) - extract(epoch from '2026-07-31 04:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827086 -3.545634)'), GeomFromEWKT('SRID=4674;POINT (-38.827093 -3.545561)'))) / (select extract(epoch from '2026-07-31 04:30:12'::timestamp) - extract(epoch from '2026-07-31 04:30: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'), 47493, 'SRID=4674;POINT (-38.827099 -3.545538)', '2026-07-31 04:30:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827093 -3.545561)'), GeomFromEWKT('SRID=4674;POINT (-38.827099 -3.545538)'))) / (select extract(epoch from '2026-07-31 04:30:16'::timestamp) - extract(epoch from '2026-07-31 04:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827093 -3.545561)'), GeomFromEWKT('SRID=4674;POINT (-38.827099 -3.545538)'))) / (select extract(epoch from '2026-07-31 04:30:16'::timestamp) - extract(epoch from '2026-07-31 04:30: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'), 47493, 'SRID=4674;POINT (-38.827113 -3.545489)', '2026-07-31 04:30:23', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827099 -3.545538)'), GeomFromEWKT('SRID=4674;POINT (-38.827113 -3.545489)'))) / (select extract(epoch from '2026-07-31 04:30:23'::timestamp) - extract(epoch from '2026-07-31 04:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827099 -3.545538)'), GeomFromEWKT('SRID=4674;POINT (-38.827113 -3.545489)'))) / (select extract(epoch from '2026-07-31 04:30:23'::timestamp) - extract(epoch from '2026-07-31 04:30: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'), 47493, 'SRID=4674;POINT (-38.827133 -3.545442)', '2026-07-31 04:30:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827113 -3.545489)'), GeomFromEWKT('SRID=4674;POINT (-38.827133 -3.545442)'))) / (select extract(epoch from '2026-07-31 04:30:31'::timestamp) - extract(epoch from '2026-07-31 04:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827113 -3.545489)'), GeomFromEWKT('SRID=4674;POINT (-38.827133 -3.545442)'))) / (select extract(epoch from '2026-07-31 04:30:31'::timestamp) - extract(epoch from '2026-07-31 04:30: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'), 47493, 'SRID=4674;POINT (-38.827149 -3.545397)', '2026-07-31 04:30:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827133 -3.545442)'), GeomFromEWKT('SRID=4674;POINT (-38.827149 -3.545397)'))) / (select extract(epoch from '2026-07-31 04:30:40'::timestamp) - extract(epoch from '2026-07-31 04:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827133 -3.545442)'), GeomFromEWKT('SRID=4674;POINT (-38.827149 -3.545397)'))) / (select extract(epoch from '2026-07-31 04:30:40'::timestamp) - extract(epoch from '2026-07-31 04:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.827141 -3.545345)', '2026-07-31 04:30:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827149 -3.545397)'), GeomFromEWKT('SRID=4674;POINT (-38.827141 -3.545345)'))) / (select extract(epoch from '2026-07-31 04:30:50'::timestamp) - extract(epoch from '2026-07-31 04:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827149 -3.545397)'), GeomFromEWKT('SRID=4674;POINT (-38.827141 -3.545345)'))) / (select extract(epoch from '2026-07-31 04:30:50'::timestamp) - extract(epoch from '2026-07-31 04:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.827154 -3.545284)', '2026-07-31 04:31:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827141 -3.545345)'), GeomFromEWKT('SRID=4674;POINT (-38.827154 -3.545284)'))) / (select extract(epoch from '2026-07-31 04:31:03'::timestamp) - extract(epoch from '2026-07-31 04:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827141 -3.545345)'), GeomFromEWKT('SRID=4674;POINT (-38.827154 -3.545284)'))) / (select extract(epoch from '2026-07-31 04:31:03'::timestamp) - extract(epoch from '2026-07-31 04:30: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'), 47493, 'SRID=4674;POINT (-38.827171 -3.545251)', '2026-07-31 04:31:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827154 -3.545284)'), GeomFromEWKT('SRID=4674;POINT (-38.827171 -3.545251)'))) / (select extract(epoch from '2026-07-31 04:31:12'::timestamp) - extract(epoch from '2026-07-31 04:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827154 -3.545284)'), GeomFromEWKT('SRID=4674;POINT (-38.827171 -3.545251)'))) / (select extract(epoch from '2026-07-31 04:31:12'::timestamp) - extract(epoch from '2026-07-31 04:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.827176 -3.54522)', '2026-07-31 04:31:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827171 -3.545251)'), GeomFromEWKT('SRID=4674;POINT (-38.827176 -3.54522)'))) / (select extract(epoch from '2026-07-31 04:31:21'::timestamp) - extract(epoch from '2026-07-31 04:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827171 -3.545251)'), GeomFromEWKT('SRID=4674;POINT (-38.827176 -3.54522)'))) / (select extract(epoch from '2026-07-31 04:31:21'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 47493, 'SRID=4674;POINT (-38.827186 -3.545166)', '2026-07-31 04:31:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827176 -3.54522)'), GeomFromEWKT('SRID=4674;POINT (-38.827186 -3.545166)'))) / (select extract(epoch from '2026-07-31 04:31:32'::timestamp) - extract(epoch from '2026-07-31 04:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827176 -3.54522)'), GeomFromEWKT('SRID=4674;POINT (-38.827186 -3.545166)'))) / (select extract(epoch from '2026-07-31 04:31:32'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 47493, 'SRID=4674;POINT (-38.827196 -3.545125)', '2026-07-31 04:31:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827186 -3.545166)'), GeomFromEWKT('SRID=4674;POINT (-38.827196 -3.545125)'))) / (select extract(epoch from '2026-07-31 04:31:40'::timestamp) - extract(epoch from '2026-07-31 04:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827186 -3.545166)'), GeomFromEWKT('SRID=4674;POINT (-38.827196 -3.545125)'))) / (select extract(epoch from '2026-07-31 04:31:40'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 47493, 'SRID=4674;POINT (-38.827206 -3.545102)', '2026-07-31 04:31:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827196 -3.545125)'), GeomFromEWKT('SRID=4674;POINT (-38.827206 -3.545102)'))) / (select extract(epoch from '2026-07-31 04:31:46'::timestamp) - extract(epoch from '2026-07-31 04:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827196 -3.545125)'), GeomFromEWKT('SRID=4674;POINT (-38.827206 -3.545102)'))) / (select extract(epoch from '2026-07-31 04:31:46'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 47493, 'SRID=4674;POINT (-38.827218 -3.545068)', '2026-07-31 04:31:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827206 -3.545102)'), GeomFromEWKT('SRID=4674;POINT (-38.827218 -3.545068)'))) / (select extract(epoch from '2026-07-31 04:31:54'::timestamp) - extract(epoch from '2026-07-31 04:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827206 -3.545102)'), GeomFromEWKT('SRID=4674;POINT (-38.827218 -3.545068)'))) / (select extract(epoch from '2026-07-31 04:31:54'::timestamp) - extract(epoch from '2026-07-31 04:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.827235 -3.545032)', '2026-07-31 04:32:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827218 -3.545068)'), GeomFromEWKT('SRID=4674;POINT (-38.827235 -3.545032)'))) / (select extract(epoch from '2026-07-31 04:32:01'::timestamp) - extract(epoch from '2026-07-31 04:31:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827218 -3.545068)'), GeomFromEWKT('SRID=4674;POINT (-38.827235 -3.545032)'))) / (select extract(epoch from '2026-07-31 04:32:01'::timestamp) - extract(epoch from '2026-07-31 04:31: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'), 47493, 'SRID=4674;POINT (-38.827255 -3.544982)', '2026-07-31 04:32:14', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827235 -3.545032)'), GeomFromEWKT('SRID=4674;POINT (-38.827255 -3.544982)'))) / (select extract(epoch from '2026-07-31 04:32:14'::timestamp) - extract(epoch from '2026-07-31 04:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827235 -3.545032)'), GeomFromEWKT('SRID=4674;POINT (-38.827255 -3.544982)'))) / (select extract(epoch from '2026-07-31 04:32:14'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 47493, 'SRID=4674;POINT (-38.827264 -3.544947)', '2026-07-31 04:32:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827255 -3.544982)'), GeomFromEWKT('SRID=4674;POINT (-38.827264 -3.544947)'))) / (select extract(epoch from '2026-07-31 04:32:23'::timestamp) - extract(epoch from '2026-07-31 04:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827255 -3.544982)'), GeomFromEWKT('SRID=4674;POINT (-38.827264 -3.544947)'))) / (select extract(epoch from '2026-07-31 04:32:23'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 47493, 'SRID=4674;POINT (-38.827267 -3.544908)', '2026-07-31 04:32:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827264 -3.544947)'), GeomFromEWKT('SRID=4674;POINT (-38.827267 -3.544908)'))) / (select extract(epoch from '2026-07-31 04:32:32'::timestamp) - extract(epoch from '2026-07-31 04:32:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827264 -3.544947)'), GeomFromEWKT('SRID=4674;POINT (-38.827267 -3.544908)'))) / (select extract(epoch from '2026-07-31 04:32:32'::timestamp) - extract(epoch from '2026-07-31 04:32:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.827278 -3.54491)', '2026-07-31 04:32:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827267 -3.544908)'), GeomFromEWKT('SRID=4674;POINT (-38.827278 -3.54491)'))) / (select extract(epoch from '2026-07-31 04:32:41'::timestamp) - extract(epoch from '2026-07-31 04:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827267 -3.544908)'), GeomFromEWKT('SRID=4674;POINT (-38.827278 -3.54491)'))) / (select extract(epoch from '2026-07-31 04:32:41'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 47493, 'SRID=4674;POINT (-38.827285 -3.544907)', '2026-07-31 04:32:47', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827278 -3.54491)'), GeomFromEWKT('SRID=4674;POINT (-38.827285 -3.544907)'))) / (select extract(epoch from '2026-07-31 04:32:47'::timestamp) - extract(epoch from '2026-07-31 04:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827278 -3.54491)'), GeomFromEWKT('SRID=4674;POINT (-38.827285 -3.544907)'))) / (select extract(epoch from '2026-07-31 04:32:47'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 47493, 'SRID=4674;POINT (-38.827274 -3.544916)', '2026-07-31 04:33:00', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827285 -3.544907)'), GeomFromEWKT('SRID=4674;POINT (-38.827274 -3.544916)'))) / (select extract(epoch from '2026-07-31 04:33:00'::timestamp) - extract(epoch from '2026-07-31 04:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827285 -3.544907)'), GeomFromEWKT('SRID=4674;POINT (-38.827274 -3.544916)'))) / (select extract(epoch from '2026-07-31 04:33:00'::timestamp) - extract(epoch from '2026-07-31 04:32: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'), 47493, 'SRID=4674;POINT (-38.827274 -3.544912)', '2026-07-31 04:33:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827274 -3.544916)'), GeomFromEWKT('SRID=4674;POINT (-38.827274 -3.544912)'))) / (select extract(epoch from '2026-07-31 04:33:12'::timestamp) - extract(epoch from '2026-07-31 04:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827274 -3.544916)'), GeomFromEWKT('SRID=4674;POINT (-38.827274 -3.544912)'))) / (select extract(epoch from '2026-07-31 04:33:12'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.827259 -3.54492)', '2026-07-31 04:33:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827274 -3.544912)'), GeomFromEWKT('SRID=4674;POINT (-38.827259 -3.54492)'))) / (select extract(epoch from '2026-07-31 04:33:21'::timestamp) - extract(epoch from '2026-07-31 04:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827274 -3.544912)'), GeomFromEWKT('SRID=4674;POINT (-38.827259 -3.54492)'))) / (select extract(epoch from '2026-07-31 04:33:21'::timestamp) - extract(epoch from '2026-07-31 04:33: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'), 47493, 'SRID=4674;POINT (-38.82727 -3.544913)', '2026-07-31 04:33:32', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827259 -3.54492)'), GeomFromEWKT('SRID=4674;POINT (-38.82727 -3.544913)'))) / (select extract(epoch from '2026-07-31 04:33:32'::timestamp) - extract(epoch from '2026-07-31 04:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827259 -3.54492)'), GeomFromEWKT('SRID=4674;POINT (-38.82727 -3.544913)'))) / (select extract(epoch from '2026-07-31 04:33:32'::timestamp) - extract(epoch from '2026-07-31 04:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.827295 -3.544914)', '2026-07-31 04:33:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82727 -3.544913)'), GeomFromEWKT('SRID=4674;POINT (-38.827295 -3.544914)'))) / (select extract(epoch from '2026-07-31 04:33:40'::timestamp) - extract(epoch from '2026-07-31 04:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82727 -3.544913)'), GeomFromEWKT('SRID=4674;POINT (-38.827295 -3.544914)'))) / (select extract(epoch from '2026-07-31 04:33:40'::timestamp) - extract(epoch from '2026-07-31 04:33: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'), 47493, 'SRID=4674;POINT (-38.827289 -3.544921)', '2026-07-31 04:33:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827295 -3.544914)'), GeomFromEWKT('SRID=4674;POINT (-38.827289 -3.544921)'))) / (select extract(epoch from '2026-07-31 04:33:50'::timestamp) - extract(epoch from '2026-07-31 04:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827295 -3.544914)'), GeomFromEWKT('SRID=4674;POINT (-38.827289 -3.544921)'))) / (select extract(epoch from '2026-07-31 04:33:50'::timestamp) - extract(epoch from '2026-07-31 04:33:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.827249 -3.544928)', '2026-07-31 04:34:01', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827289 -3.544921)'), GeomFromEWKT('SRID=4674;POINT (-38.827249 -3.544928)'))) / (select extract(epoch from '2026-07-31 04:34:01'::timestamp) - extract(epoch from '2026-07-31 04:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827289 -3.544921)'), GeomFromEWKT('SRID=4674;POINT (-38.827249 -3.544928)'))) / (select extract(epoch from '2026-07-31 04:34:01'::timestamp) - extract(epoch from '2026-07-31 04:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.827212 -3.544931)', '2026-07-31 04:34:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827249 -3.544928)'), GeomFromEWKT('SRID=4674;POINT (-38.827212 -3.544931)'))) / (select extract(epoch from '2026-07-31 04:34:09'::timestamp) - extract(epoch from '2026-07-31 04:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827249 -3.544928)'), GeomFromEWKT('SRID=4674;POINT (-38.827212 -3.544931)'))) / (select extract(epoch from '2026-07-31 04:34:09'::timestamp) - extract(epoch from '2026-07-31 04:34:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.827156 -3.544945)', '2026-07-31 04:34:17', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827212 -3.544931)'), GeomFromEWKT('SRID=4674;POINT (-38.827156 -3.544945)'))) / (select extract(epoch from '2026-07-31 04:34:17'::timestamp) - extract(epoch from '2026-07-31 04:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827212 -3.544931)'), GeomFromEWKT('SRID=4674;POINT (-38.827156 -3.544945)'))) / (select extract(epoch from '2026-07-31 04:34:17'::timestamp) - extract(epoch from '2026-07-31 04:34: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'), 47493, 'SRID=4674;POINT (-38.827094 -3.54494)', '2026-07-31 04:34:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827156 -3.544945)'), GeomFromEWKT('SRID=4674;POINT (-38.827094 -3.54494)'))) / (select extract(epoch from '2026-07-31 04:34:26'::timestamp) - extract(epoch from '2026-07-31 04:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827156 -3.544945)'), GeomFromEWKT('SRID=4674;POINT (-38.827094 -3.54494)'))) / (select extract(epoch from '2026-07-31 04:34:26'::timestamp) - extract(epoch from '2026-07-31 04:34: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'), 47493, 'SRID=4674;POINT (-38.827068 -3.544933)', '2026-07-31 04:34:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827094 -3.54494)'), GeomFromEWKT('SRID=4674;POINT (-38.827068 -3.544933)'))) / (select extract(epoch from '2026-07-31 04:34:33'::timestamp) - extract(epoch from '2026-07-31 04:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827094 -3.54494)'), GeomFromEWKT('SRID=4674;POINT (-38.827068 -3.544933)'))) / (select extract(epoch from '2026-07-31 04:34:33'::timestamp) - extract(epoch from '2026-07-31 04:34: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'), 47493, 'SRID=4674;POINT (-38.827059 -3.544944)', '2026-07-31 04:34:43', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827068 -3.544933)'), GeomFromEWKT('SRID=4674;POINT (-38.827059 -3.544944)'))) / (select extract(epoch from '2026-07-31 04:34:43'::timestamp) - extract(epoch from '2026-07-31 04:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827068 -3.544933)'), GeomFromEWKT('SRID=4674;POINT (-38.827059 -3.544944)'))) / (select extract(epoch from '2026-07-31 04:34:43'::timestamp) - extract(epoch from '2026-07-31 04:34:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.826999 -3.544993)', '2026-07-31 04:34:48', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827059 -3.544944)'), GeomFromEWKT('SRID=4674;POINT (-38.826999 -3.544993)'))) / (select extract(epoch from '2026-07-31 04:34:48'::timestamp) - extract(epoch from '2026-07-31 04:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.827059 -3.544944)'), GeomFromEWKT('SRID=4674;POINT (-38.826999 -3.544993)'))) / (select extract(epoch from '2026-07-31 04:34:48'::timestamp) - extract(epoch from '2026-07-31 04:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.826925 -3.545074)', '2026-07-31 04:34:54', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826999 -3.544993)'), GeomFromEWKT('SRID=4674;POINT (-38.826925 -3.545074)'))) / (select extract(epoch from '2026-07-31 04:34:54'::timestamp) - extract(epoch from '2026-07-31 04:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826999 -3.544993)'), GeomFromEWKT('SRID=4674;POINT (-38.826925 -3.545074)'))) / (select extract(epoch from '2026-07-31 04:34:54'::timestamp) - extract(epoch from '2026-07-31 04:34:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.826834 -3.545149)', '2026-07-31 04:35:00', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826925 -3.545074)'), GeomFromEWKT('SRID=4674;POINT (-38.826834 -3.545149)'))) / (select extract(epoch from '2026-07-31 04:35:00'::timestamp) - extract(epoch from '2026-07-31 04:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826925 -3.545074)'), GeomFromEWKT('SRID=4674;POINT (-38.826834 -3.545149)'))) / (select extract(epoch from '2026-07-31 04:35:00'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.826677 -3.545192)', '2026-07-31 04:35:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826834 -3.545149)'), GeomFromEWKT('SRID=4674;POINT (-38.826677 -3.545192)'))) / (select extract(epoch from '2026-07-31 04:35:08'::timestamp) - extract(epoch from '2026-07-31 04:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826834 -3.545149)'), GeomFromEWKT('SRID=4674;POINT (-38.826677 -3.545192)'))) / (select extract(epoch from '2026-07-31 04:35:08'::timestamp) - extract(epoch from '2026-07-31 04:35: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'), 47493, 'SRID=4674;POINT (-38.826541 -3.545232)', '2026-07-31 04:35:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826677 -3.545192)'), GeomFromEWKT('SRID=4674;POINT (-38.826541 -3.545232)'))) / (select extract(epoch from '2026-07-31 04:35:15'::timestamp) - extract(epoch from '2026-07-31 04:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826677 -3.545192)'), GeomFromEWKT('SRID=4674;POINT (-38.826541 -3.545232)'))) / (select extract(epoch from '2026-07-31 04:35:15'::timestamp) - extract(epoch from '2026-07-31 04:35: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'), 47493, 'SRID=4674;POINT (-38.826395 -3.545243)', '2026-07-31 04:35:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826541 -3.545232)'), GeomFromEWKT('SRID=4674;POINT (-38.826395 -3.545243)'))) / (select extract(epoch from '2026-07-31 04:35:22'::timestamp) - extract(epoch from '2026-07-31 04:35:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826541 -3.545232)'), GeomFromEWKT('SRID=4674;POINT (-38.826395 -3.545243)'))) / (select extract(epoch from '2026-07-31 04:35:22'::timestamp) - extract(epoch from '2026-07-31 04:35: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'), 47493, 'SRID=4674;POINT (-38.82627 -3.545252)', '2026-07-31 04:35:28', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826395 -3.545243)'), GeomFromEWKT('SRID=4674;POINT (-38.82627 -3.545252)'))) / (select extract(epoch from '2026-07-31 04:35:28'::timestamp) - extract(epoch from '2026-07-31 04:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826395 -3.545243)'), GeomFromEWKT('SRID=4674;POINT (-38.82627 -3.545252)'))) / (select extract(epoch from '2026-07-31 04:35:28'::timestamp) - extract(epoch from '2026-07-31 04:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.826162 -3.545252)', '2026-07-31 04:35:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82627 -3.545252)'), GeomFromEWKT('SRID=4674;POINT (-38.826162 -3.545252)'))) / (select extract(epoch from '2026-07-31 04:35:33'::timestamp) - extract(epoch from '2026-07-31 04:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82627 -3.545252)'), GeomFromEWKT('SRID=4674;POINT (-38.826162 -3.545252)'))) / (select extract(epoch from '2026-07-31 04:35:33'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.826141 -3.545256)', '2026-07-31 04:35:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826162 -3.545252)'), GeomFromEWKT('SRID=4674;POINT (-38.826141 -3.545256)'))) / (select extract(epoch from '2026-07-31 04:35:34'::timestamp) - extract(epoch from '2026-07-31 04:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826162 -3.545252)'), GeomFromEWKT('SRID=4674;POINT (-38.826141 -3.545256)'))) / (select extract(epoch from '2026-07-31 04:35:34'::timestamp) - extract(epoch from '2026-07-31 04:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.825995 -3.545271)', '2026-07-31 04:35:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826141 -3.545256)'), GeomFromEWKT('SRID=4674;POINT (-38.825995 -3.545271)'))) / (select extract(epoch from '2026-07-31 04:35:41'::timestamp) - extract(epoch from '2026-07-31 04:35:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.826141 -3.545256)'), GeomFromEWKT('SRID=4674;POINT (-38.825995 -3.545271)'))) / (select extract(epoch from '2026-07-31 04:35:41'::timestamp) - extract(epoch from '2026-07-31 04:35:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.825848 -3.545262)', '2026-07-31 04:35:48', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825995 -3.545271)'), GeomFromEWKT('SRID=4674;POINT (-38.825848 -3.545262)'))) / (select extract(epoch from '2026-07-31 04:35:48'::timestamp) - extract(epoch from '2026-07-31 04:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825995 -3.545271)'), GeomFromEWKT('SRID=4674;POINT (-38.825848 -3.545262)'))) / (select extract(epoch from '2026-07-31 04:35:48'::timestamp) - extract(epoch from '2026-07-31 04:35:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.82568 -3.545235)', '2026-07-31 04:35:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825848 -3.545262)'), GeomFromEWKT('SRID=4674;POINT (-38.82568 -3.545235)'))) / (select extract(epoch from '2026-07-31 04:35:56'::timestamp) - extract(epoch from '2026-07-31 04:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825848 -3.545262)'), GeomFromEWKT('SRID=4674;POINT (-38.82568 -3.545235)'))) / (select extract(epoch from '2026-07-31 04:35:56'::timestamp) - extract(epoch from '2026-07-31 04:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.825536 -3.545202)', '2026-07-31 04:36:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82568 -3.545235)'), GeomFromEWKT('SRID=4674;POINT (-38.825536 -3.545202)'))) / (select extract(epoch from '2026-07-31 04:36:03'::timestamp) - extract(epoch from '2026-07-31 04:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82568 -3.545235)'), GeomFromEWKT('SRID=4674;POINT (-38.825536 -3.545202)'))) / (select extract(epoch from '2026-07-31 04:36:03'::timestamp) - extract(epoch from '2026-07-31 04:35: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'), 47493, 'SRID=4674;POINT (-38.825376 -3.545182)', '2026-07-31 04:36:11', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825536 -3.545202)'), GeomFromEWKT('SRID=4674;POINT (-38.825376 -3.545182)'))) / (select extract(epoch from '2026-07-31 04:36:11'::timestamp) - extract(epoch from '2026-07-31 04:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825536 -3.545202)'), GeomFromEWKT('SRID=4674;POINT (-38.825376 -3.545182)'))) / (select extract(epoch from '2026-07-31 04:36:11'::timestamp) - extract(epoch from '2026-07-31 04:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.825253 -3.545186)', '2026-07-31 04:36:17', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825376 -3.545182)'), GeomFromEWKT('SRID=4674;POINT (-38.825253 -3.545186)'))) / (select extract(epoch from '2026-07-31 04:36:17'::timestamp) - extract(epoch from '2026-07-31 04:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825376 -3.545182)'), GeomFromEWKT('SRID=4674;POINT (-38.825253 -3.545186)'))) / (select extract(epoch from '2026-07-31 04:36:17'::timestamp) - extract(epoch from '2026-07-31 04:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.825102 -3.545168)', '2026-07-31 04:36:24', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825253 -3.545186)'), GeomFromEWKT('SRID=4674;POINT (-38.825102 -3.545168)'))) / (select extract(epoch from '2026-07-31 04:36:24'::timestamp) - extract(epoch from '2026-07-31 04:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825253 -3.545186)'), GeomFromEWKT('SRID=4674;POINT (-38.825102 -3.545168)'))) / (select extract(epoch from '2026-07-31 04:36:24'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 47493, 'SRID=4674;POINT (-38.824948 -3.545146)', '2026-07-31 04:36:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825102 -3.545168)'), GeomFromEWKT('SRID=4674;POINT (-38.824948 -3.545146)'))) / (select extract(epoch from '2026-07-31 04:36:31'::timestamp) - extract(epoch from '2026-07-31 04:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825102 -3.545168)'), GeomFromEWKT('SRID=4674;POINT (-38.824948 -3.545146)'))) / (select extract(epoch from '2026-07-31 04:36:31'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 47493, 'SRID=4674;POINT (-38.824812 -3.545127)', '2026-07-31 04:36:37', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824948 -3.545146)'), GeomFromEWKT('SRID=4674;POINT (-38.824812 -3.545127)'))) / (select extract(epoch from '2026-07-31 04:36:37'::timestamp) - extract(epoch from '2026-07-31 04:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824948 -3.545146)'), GeomFromEWKT('SRID=4674;POINT (-38.824812 -3.545127)'))) / (select extract(epoch from '2026-07-31 04:36:37'::timestamp) - extract(epoch from '2026-07-31 04:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.82466 -3.5451)', '2026-07-31 04:36:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824812 -3.545127)'), GeomFromEWKT('SRID=4674;POINT (-38.82466 -3.5451)'))) / (select extract(epoch from '2026-07-31 04:36:44'::timestamp) - extract(epoch from '2026-07-31 04:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824812 -3.545127)'), GeomFromEWKT('SRID=4674;POINT (-38.82466 -3.5451)'))) / (select extract(epoch from '2026-07-31 04:36:44'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 47493, 'SRID=4674;POINT (-38.824487 -3.54505)', '2026-07-31 04:36:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82466 -3.5451)'), GeomFromEWKT('SRID=4674;POINT (-38.824487 -3.54505)'))) / (select extract(epoch from '2026-07-31 04:36:52'::timestamp) - extract(epoch from '2026-07-31 04:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82466 -3.5451)'), GeomFromEWKT('SRID=4674;POINT (-38.824487 -3.54505)'))) / (select extract(epoch from '2026-07-31 04:36:52'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 47493, 'SRID=4674;POINT (-38.824315 -3.545002)', '2026-07-31 04:37:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824487 -3.54505)'), GeomFromEWKT('SRID=4674;POINT (-38.824315 -3.545002)'))) / (select extract(epoch from '2026-07-31 04:37:00'::timestamp) - extract(epoch from '2026-07-31 04:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824487 -3.54505)'), GeomFromEWKT('SRID=4674;POINT (-38.824315 -3.545002)'))) / (select extract(epoch from '2026-07-31 04:37:00'::timestamp) - extract(epoch from '2026-07-31 04:36: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'), 47493, 'SRID=4674;POINT (-38.824145 -3.54497)', '2026-07-31 04:37:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824315 -3.545002)'), GeomFromEWKT('SRID=4674;POINT (-38.824145 -3.54497)'))) / (select extract(epoch from '2026-07-31 04:37:08'::timestamp) - extract(epoch from '2026-07-31 04:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824315 -3.545002)'), GeomFromEWKT('SRID=4674;POINT (-38.824145 -3.54497)'))) / (select extract(epoch from '2026-07-31 04:37:08'::timestamp) - extract(epoch from '2026-07-31 04:37: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'), 47493, 'SRID=4674;POINT (-38.823973 -3.544957)', '2026-07-31 04:37:16', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824145 -3.54497)'), GeomFromEWKT('SRID=4674;POINT (-38.823973 -3.544957)'))) / (select extract(epoch from '2026-07-31 04:37:16'::timestamp) - extract(epoch from '2026-07-31 04:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824145 -3.54497)'), GeomFromEWKT('SRID=4674;POINT (-38.823973 -3.544957)'))) / (select extract(epoch from '2026-07-31 04:37:16'::timestamp) - extract(epoch from '2026-07-31 04:37: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'), 47493, 'SRID=4674;POINT (-38.82384 -3.544954)', '2026-07-31 04:37:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823973 -3.544957)'), GeomFromEWKT('SRID=4674;POINT (-38.82384 -3.544954)'))) / (select extract(epoch from '2026-07-31 04:37:22'::timestamp) - extract(epoch from '2026-07-31 04:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823973 -3.544957)'), GeomFromEWKT('SRID=4674;POINT (-38.82384 -3.544954)'))) / (select extract(epoch from '2026-07-31 04:37:22'::timestamp) - extract(epoch from '2026-07-31 04:37: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'), 47493, 'SRID=4674;POINT (-38.823686 -3.544935)', '2026-07-31 04:37:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82384 -3.544954)'), GeomFromEWKT('SRID=4674;POINT (-38.823686 -3.544935)'))) / (select extract(epoch from '2026-07-31 04:37:29'::timestamp) - extract(epoch from '2026-07-31 04:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82384 -3.544954)'), GeomFromEWKT('SRID=4674;POINT (-38.823686 -3.544935)'))) / (select extract(epoch from '2026-07-31 04:37:29'::timestamp) - extract(epoch from '2026-07-31 04:37:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.823509 -3.544902)', '2026-07-31 04:37:37', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823686 -3.544935)'), GeomFromEWKT('SRID=4674;POINT (-38.823509 -3.544902)'))) / (select extract(epoch from '2026-07-31 04:37:37'::timestamp) - extract(epoch from '2026-07-31 04:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823686 -3.544935)'), GeomFromEWKT('SRID=4674;POINT (-38.823509 -3.544902)'))) / (select extract(epoch from '2026-07-31 04:37:37'::timestamp) - extract(epoch from '2026-07-31 04:37: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'), 47493, 'SRID=4674;POINT (-38.823357 -3.544887)', '2026-07-31 04:37:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823509 -3.544902)'), GeomFromEWKT('SRID=4674;POINT (-38.823357 -3.544887)'))) / (select extract(epoch from '2026-07-31 04:37:44'::timestamp) - extract(epoch from '2026-07-31 04:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823509 -3.544902)'), GeomFromEWKT('SRID=4674;POINT (-38.823357 -3.544887)'))) / (select extract(epoch from '2026-07-31 04:37:44'::timestamp) - extract(epoch from '2026-07-31 04:37:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.823162 -3.544855)', '2026-07-31 04:37:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823357 -3.544887)'), GeomFromEWKT('SRID=4674;POINT (-38.823162 -3.544855)'))) / (select extract(epoch from '2026-07-31 04:37:53'::timestamp) - extract(epoch from '2026-07-31 04:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823357 -3.544887)'), GeomFromEWKT('SRID=4674;POINT (-38.823162 -3.544855)'))) / (select extract(epoch from '2026-07-31 04:37:53'::timestamp) - extract(epoch from '2026-07-31 04:37:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.82299 -3.544817)', '2026-07-31 04:38:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823162 -3.544855)'), GeomFromEWKT('SRID=4674;POINT (-38.82299 -3.544817)'))) / (select extract(epoch from '2026-07-31 04:38:01'::timestamp) - extract(epoch from '2026-07-31 04:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823162 -3.544855)'), GeomFromEWKT('SRID=4674;POINT (-38.82299 -3.544817)'))) / (select extract(epoch from '2026-07-31 04:38:01'::timestamp) - extract(epoch from '2026-07-31 04:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.82282 -3.544773)', '2026-07-31 04:38:09', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82299 -3.544817)'), GeomFromEWKT('SRID=4674;POINT (-38.82282 -3.544773)'))) / (select extract(epoch from '2026-07-31 04:38:09'::timestamp) - extract(epoch from '2026-07-31 04:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82299 -3.544817)'), GeomFromEWKT('SRID=4674;POINT (-38.82282 -3.544773)'))) / (select extract(epoch from '2026-07-31 04:38:09'::timestamp) - extract(epoch from '2026-07-31 04:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.82265 -3.54474)', '2026-07-31 04:38:17', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82282 -3.544773)'), GeomFromEWKT('SRID=4674;POINT (-38.82265 -3.54474)'))) / (select extract(epoch from '2026-07-31 04:38:17'::timestamp) - extract(epoch from '2026-07-31 04:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82282 -3.544773)'), GeomFromEWKT('SRID=4674;POINT (-38.82265 -3.54474)'))) / (select extract(epoch from '2026-07-31 04:38:17'::timestamp) - extract(epoch from '2026-07-31 04:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.822442 -3.544694)', '2026-07-31 04:38:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82265 -3.54474)'), GeomFromEWKT('SRID=4674;POINT (-38.822442 -3.544694)'))) / (select extract(epoch from '2026-07-31 04:38:27'::timestamp) - extract(epoch from '2026-07-31 04:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82265 -3.54474)'), GeomFromEWKT('SRID=4674;POINT (-38.822442 -3.544694)'))) / (select extract(epoch from '2026-07-31 04:38:27'::timestamp) - extract(epoch from '2026-07-31 04:38:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.822296 -3.544656)', '2026-07-31 04:38:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822442 -3.544694)'), GeomFromEWKT('SRID=4674;POINT (-38.822296 -3.544656)'))) / (select extract(epoch from '2026-07-31 04:38:34'::timestamp) - extract(epoch from '2026-07-31 04:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822442 -3.544694)'), GeomFromEWKT('SRID=4674;POINT (-38.822296 -3.544656)'))) / (select extract(epoch from '2026-07-31 04:38:34'::timestamp) - extract(epoch from '2026-07-31 04:38: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'), 47493, 'SRID=4674;POINT (-38.822109 -3.544603)', '2026-07-31 04:38:43', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822296 -3.544656)'), GeomFromEWKT('SRID=4674;POINT (-38.822109 -3.544603)'))) / (select extract(epoch from '2026-07-31 04:38:43'::timestamp) - extract(epoch from '2026-07-31 04:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822296 -3.544656)'), GeomFromEWKT('SRID=4674;POINT (-38.822109 -3.544603)'))) / (select extract(epoch from '2026-07-31 04:38:43'::timestamp) - extract(epoch from '2026-07-31 04:38:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.821923 -3.544546)', '2026-07-31 04:38:52', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822109 -3.544603)'), GeomFromEWKT('SRID=4674;POINT (-38.821923 -3.544546)'))) / (select extract(epoch from '2026-07-31 04:38:52'::timestamp) - extract(epoch from '2026-07-31 04:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822109 -3.544603)'), GeomFromEWKT('SRID=4674;POINT (-38.821923 -3.544546)'))) / (select extract(epoch from '2026-07-31 04:38:52'::timestamp) - extract(epoch from '2026-07-31 04:38:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.821708 -3.544486)', '2026-07-31 04:39:02', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821923 -3.544546)'), GeomFromEWKT('SRID=4674;POINT (-38.821708 -3.544486)'))) / (select extract(epoch from '2026-07-31 04:39:02'::timestamp) - extract(epoch from '2026-07-31 04:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821923 -3.544546)'), GeomFromEWKT('SRID=4674;POINT (-38.821708 -3.544486)'))) / (select extract(epoch from '2026-07-31 04:39:02'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.821537 -3.544441)', '2026-07-31 04:39:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821708 -3.544486)'), GeomFromEWKT('SRID=4674;POINT (-38.821537 -3.544441)'))) / (select extract(epoch from '2026-07-31 04:39:10'::timestamp) - extract(epoch from '2026-07-31 04:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821708 -3.544486)'), GeomFromEWKT('SRID=4674;POINT (-38.821537 -3.544441)'))) / (select extract(epoch from '2026-07-31 04:39:10'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.821366 -3.54438)', '2026-07-31 04:39:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821537 -3.544441)'), GeomFromEWKT('SRID=4674;POINT (-38.821366 -3.54438)'))) / (select extract(epoch from '2026-07-31 04:39:18'::timestamp) - extract(epoch from '2026-07-31 04:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821537 -3.544441)'), GeomFromEWKT('SRID=4674;POINT (-38.821366 -3.54438)'))) / (select extract(epoch from '2026-07-31 04:39:18'::timestamp) - extract(epoch from '2026-07-31 04:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.821222 -3.544328)', '2026-07-31 04:39:25', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821366 -3.54438)'), GeomFromEWKT('SRID=4674;POINT (-38.821222 -3.544328)'))) / (select extract(epoch from '2026-07-31 04:39:25'::timestamp) - extract(epoch from '2026-07-31 04:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821366 -3.54438)'), GeomFromEWKT('SRID=4674;POINT (-38.821222 -3.544328)'))) / (select extract(epoch from '2026-07-31 04:39:25'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.821013 -3.544254)', '2026-07-31 04:39:35', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821222 -3.544328)'), GeomFromEWKT('SRID=4674;POINT (-38.821013 -3.544254)'))) / (select extract(epoch from '2026-07-31 04:39:35'::timestamp) - extract(epoch from '2026-07-31 04:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821222 -3.544328)'), GeomFromEWKT('SRID=4674;POINT (-38.821013 -3.544254)'))) / (select extract(epoch from '2026-07-31 04:39:35'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 47493, 'SRID=4674;POINT (-38.820866 -3.544203)', '2026-07-31 04:39:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821013 -3.544254)'), GeomFromEWKT('SRID=4674;POINT (-38.820866 -3.544203)'))) / (select extract(epoch from '2026-07-31 04:39:42'::timestamp) - extract(epoch from '2026-07-31 04:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821013 -3.544254)'), GeomFromEWKT('SRID=4674;POINT (-38.820866 -3.544203)'))) / (select extract(epoch from '2026-07-31 04:39:42'::timestamp) - extract(epoch from '2026-07-31 04:39:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.820695 -3.544148)', '2026-07-31 04:39:50', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820866 -3.544203)'), GeomFromEWKT('SRID=4674;POINT (-38.820695 -3.544148)'))) / (select extract(epoch from '2026-07-31 04:39:50'::timestamp) - extract(epoch from '2026-07-31 04:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820866 -3.544203)'), GeomFromEWKT('SRID=4674;POINT (-38.820695 -3.544148)'))) / (select extract(epoch from '2026-07-31 04:39:50'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 47493, 'SRID=4674;POINT (-38.820527 -3.544091)', '2026-07-31 04:39:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820695 -3.544148)'), GeomFromEWKT('SRID=4674;POINT (-38.820527 -3.544091)'))) / (select extract(epoch from '2026-07-31 04:39:58'::timestamp) - extract(epoch from '2026-07-31 04:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820695 -3.544148)'), GeomFromEWKT('SRID=4674;POINT (-38.820527 -3.544091)'))) / (select extract(epoch from '2026-07-31 04:39:58'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 47493, 'SRID=4674;POINT (-38.820377 -3.544042)', '2026-07-31 04:40:05', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820527 -3.544091)'), GeomFromEWKT('SRID=4674;POINT (-38.820377 -3.544042)'))) / (select extract(epoch from '2026-07-31 04:40:05'::timestamp) - extract(epoch from '2026-07-31 04:39:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820527 -3.544091)'), GeomFromEWKT('SRID=4674;POINT (-38.820377 -3.544042)'))) / (select extract(epoch from '2026-07-31 04:40:05'::timestamp) - extract(epoch from '2026-07-31 04:39: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'), 47493, 'SRID=4674;POINT (-38.820278 -3.543989)', '2026-07-31 04:40:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820377 -3.544042)'), GeomFromEWKT('SRID=4674;POINT (-38.820278 -3.543989)'))) / (select extract(epoch from '2026-07-31 04:40:10'::timestamp) - extract(epoch from '2026-07-31 04:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820377 -3.544042)'), GeomFromEWKT('SRID=4674;POINT (-38.820278 -3.543989)'))) / (select extract(epoch from '2026-07-31 04:40:10'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.820121 -3.543927)', '2026-07-31 04:40:18', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820278 -3.543989)'), GeomFromEWKT('SRID=4674;POINT (-38.820121 -3.543927)'))) / (select extract(epoch from '2026-07-31 04:40:18'::timestamp) - extract(epoch from '2026-07-31 04:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820278 -3.543989)'), GeomFromEWKT('SRID=4674;POINT (-38.820121 -3.543927)'))) / (select extract(epoch from '2026-07-31 04:40:18'::timestamp) - extract(epoch from '2026-07-31 04:40: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'), 47493, 'SRID=4674;POINT (-38.819951 -3.543866)', '2026-07-31 04:40:26', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820121 -3.543927)'), GeomFromEWKT('SRID=4674;POINT (-38.819951 -3.543866)'))) / (select extract(epoch from '2026-07-31 04:40:26'::timestamp) - extract(epoch from '2026-07-31 04:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820121 -3.543927)'), GeomFromEWKT('SRID=4674;POINT (-38.819951 -3.543866)'))) / (select extract(epoch from '2026-07-31 04:40:26'::timestamp) - extract(epoch from '2026-07-31 04:40: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'), 47493, 'SRID=4674;POINT (-38.819801 -3.543807)', '2026-07-31 04:40:33', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819951 -3.543866)'), GeomFromEWKT('SRID=4674;POINT (-38.819801 -3.543807)'))) / (select extract(epoch from '2026-07-31 04:40:33'::timestamp) - extract(epoch from '2026-07-31 04:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819951 -3.543866)'), GeomFromEWKT('SRID=4674;POINT (-38.819801 -3.543807)'))) / (select extract(epoch from '2026-07-31 04:40:33'::timestamp) - extract(epoch from '2026-07-31 04:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.819655 -3.543751)', '2026-07-31 04:40:40', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819801 -3.543807)'), GeomFromEWKT('SRID=4674;POINT (-38.819655 -3.543751)'))) / (select extract(epoch from '2026-07-31 04:40:40'::timestamp) - extract(epoch from '2026-07-31 04:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819801 -3.543807)'), GeomFromEWKT('SRID=4674;POINT (-38.819655 -3.543751)'))) / (select extract(epoch from '2026-07-31 04:40:40'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.819516 -3.54369)', '2026-07-31 04:40:47', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819655 -3.543751)'), GeomFromEWKT('SRID=4674;POINT (-38.819516 -3.54369)'))) / (select extract(epoch from '2026-07-31 04:40:47'::timestamp) - extract(epoch from '2026-07-31 04:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819655 -3.543751)'), GeomFromEWKT('SRID=4674;POINT (-38.819516 -3.54369)'))) / (select extract(epoch from '2026-07-31 04:40:47'::timestamp) - extract(epoch from '2026-07-31 04:40: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'), 47493, 'SRID=4674;POINT (-38.819369 -3.543632)', '2026-07-31 04:40:54', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819516 -3.54369)'), GeomFromEWKT('SRID=4674;POINT (-38.819369 -3.543632)'))) / (select extract(epoch from '2026-07-31 04:40:54'::timestamp) - extract(epoch from '2026-07-31 04:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819516 -3.54369)'), GeomFromEWKT('SRID=4674;POINT (-38.819369 -3.543632)'))) / (select extract(epoch from '2026-07-31 04:40:54'::timestamp) - extract(epoch from '2026-07-31 04:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.819183 -3.543551)', '2026-07-31 04:41:03', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819369 -3.543632)'), GeomFromEWKT('SRID=4674;POINT (-38.819183 -3.543551)'))) / (select extract(epoch from '2026-07-31 04:41:03'::timestamp) - extract(epoch from '2026-07-31 04:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819369 -3.543632)'), GeomFromEWKT('SRID=4674;POINT (-38.819183 -3.543551)'))) / (select extract(epoch from '2026-07-31 04:41:03'::timestamp) - extract(epoch from '2026-07-31 04:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.819038 -3.543485)', '2026-07-31 04:41:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819183 -3.543551)'), GeomFromEWKT('SRID=4674;POINT (-38.819038 -3.543485)'))) / (select extract(epoch from '2026-07-31 04:41:10'::timestamp) - extract(epoch from '2026-07-31 04:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819183 -3.543551)'), GeomFromEWKT('SRID=4674;POINT (-38.819038 -3.543485)'))) / (select extract(epoch from '2026-07-31 04:41:10'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 47493, 'SRID=4674;POINT (-38.81887 -3.543409)', '2026-07-31 04:41:18', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819038 -3.543485)'), GeomFromEWKT('SRID=4674;POINT (-38.81887 -3.543409)'))) / (select extract(epoch from '2026-07-31 04:41:18'::timestamp) - extract(epoch from '2026-07-31 04:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819038 -3.543485)'), GeomFromEWKT('SRID=4674;POINT (-38.81887 -3.543409)'))) / (select extract(epoch from '2026-07-31 04:41:18'::timestamp) - extract(epoch from '2026-07-31 04:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.81873 -3.54335)', '2026-07-31 04:41:25', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81887 -3.543409)'), GeomFromEWKT('SRID=4674;POINT (-38.81873 -3.54335)'))) / (select extract(epoch from '2026-07-31 04:41:25'::timestamp) - extract(epoch from '2026-07-31 04:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81887 -3.543409)'), GeomFromEWKT('SRID=4674;POINT (-38.81873 -3.54335)'))) / (select extract(epoch from '2026-07-31 04:41:25'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 47493, 'SRID=4674;POINT (-38.81857 -3.543271)', '2026-07-31 04:41:33', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81873 -3.54335)'), GeomFromEWKT('SRID=4674;POINT (-38.81857 -3.543271)'))) / (select extract(epoch from '2026-07-31 04:41:33'::timestamp) - extract(epoch from '2026-07-31 04:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81873 -3.54335)'), GeomFromEWKT('SRID=4674;POINT (-38.81857 -3.543271)'))) / (select extract(epoch from '2026-07-31 04:41:33'::timestamp) - extract(epoch from '2026-07-31 04:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.81843 -3.543197)', '2026-07-31 04:41:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81857 -3.543271)'), GeomFromEWKT('SRID=4674;POINT (-38.81843 -3.543197)'))) / (select extract(epoch from '2026-07-31 04:41:40'::timestamp) - extract(epoch from '2026-07-31 04:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81857 -3.543271)'), GeomFromEWKT('SRID=4674;POINT (-38.81843 -3.543197)'))) / (select extract(epoch from '2026-07-31 04:41:40'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 47493, 'SRID=4674;POINT (-38.818289 -3.543127)', '2026-07-31 04:41:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81843 -3.543197)'), GeomFromEWKT('SRID=4674;POINT (-38.818289 -3.543127)'))) / (select extract(epoch from '2026-07-31 04:41:47'::timestamp) - extract(epoch from '2026-07-31 04:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81843 -3.543197)'), GeomFromEWKT('SRID=4674;POINT (-38.818289 -3.543127)'))) / (select extract(epoch from '2026-07-31 04:41:47'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.818114 -3.543054)', '2026-07-31 04:41:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818289 -3.543127)'), GeomFromEWKT('SRID=4674;POINT (-38.818114 -3.543054)'))) / (select extract(epoch from '2026-07-31 04:41:55'::timestamp) - extract(epoch from '2026-07-31 04:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818289 -3.543127)'), GeomFromEWKT('SRID=4674;POINT (-38.818114 -3.543054)'))) / (select extract(epoch from '2026-07-31 04:41:55'::timestamp) - extract(epoch from '2026-07-31 04:41: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'), 47493, 'SRID=4674;POINT (-38.818005 -3.542993)', '2026-07-31 04:42:01', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818114 -3.543054)'), GeomFromEWKT('SRID=4674;POINT (-38.818005 -3.542993)'))) / (select extract(epoch from '2026-07-31 04:42:01'::timestamp) - extract(epoch from '2026-07-31 04:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818114 -3.543054)'), GeomFromEWKT('SRID=4674;POINT (-38.818005 -3.542993)'))) / (select extract(epoch from '2026-07-31 04:42:01'::timestamp) - extract(epoch from '2026-07-31 04:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.817838 -3.542917)', '2026-07-31 04:42:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818005 -3.542993)'), GeomFromEWKT('SRID=4674;POINT (-38.817838 -3.542917)'))) / (select extract(epoch from '2026-07-31 04:42:09'::timestamp) - extract(epoch from '2026-07-31 04:42:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.818005 -3.542993)'), GeomFromEWKT('SRID=4674;POINT (-38.817838 -3.542917)'))) / (select extract(epoch from '2026-07-31 04:42:09'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 47493, 'SRID=4674;POINT (-38.817712 -3.542836)', '2026-07-31 04:42:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817838 -3.542917)'), GeomFromEWKT('SRID=4674;POINT (-38.817712 -3.542836)'))) / (select extract(epoch from '2026-07-31 04:42:16'::timestamp) - extract(epoch from '2026-07-31 04:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817838 -3.542917)'), GeomFromEWKT('SRID=4674;POINT (-38.817712 -3.542836)'))) / (select extract(epoch from '2026-07-31 04:42:16'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 47493, 'SRID=4674;POINT (-38.817569 -3.542736)', '2026-07-31 04:42:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817712 -3.542836)'), GeomFromEWKT('SRID=4674;POINT (-38.817569 -3.542736)'))) / (select extract(epoch from '2026-07-31 04:42:24'::timestamp) - extract(epoch from '2026-07-31 04:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817712 -3.542836)'), GeomFromEWKT('SRID=4674;POINT (-38.817569 -3.542736)'))) / (select extract(epoch from '2026-07-31 04:42:24'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 47493, 'SRID=4674;POINT (-38.817423 -3.542634)', '2026-07-31 04:42:32', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817569 -3.542736)'), GeomFromEWKT('SRID=4674;POINT (-38.817423 -3.542634)'))) / (select extract(epoch from '2026-07-31 04:42:32'::timestamp) - extract(epoch from '2026-07-31 04:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817569 -3.542736)'), GeomFromEWKT('SRID=4674;POINT (-38.817423 -3.542634)'))) / (select extract(epoch from '2026-07-31 04:42:32'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 47493, 'SRID=4674;POINT (-38.817296 -3.542562)', '2026-07-31 04:42:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817423 -3.542634)'), GeomFromEWKT('SRID=4674;POINT (-38.817296 -3.542562)'))) / (select extract(epoch from '2026-07-31 04:42:39'::timestamp) - extract(epoch from '2026-07-31 04:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817423 -3.542634)'), GeomFromEWKT('SRID=4674;POINT (-38.817296 -3.542562)'))) / (select extract(epoch from '2026-07-31 04:42:39'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 47493, 'SRID=4674;POINT (-38.817151 -3.542467)', '2026-07-31 04:42:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817296 -3.542562)'), GeomFromEWKT('SRID=4674;POINT (-38.817151 -3.542467)'))) / (select extract(epoch from '2026-07-31 04:42:47'::timestamp) - extract(epoch from '2026-07-31 04:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817296 -3.542562)'), GeomFromEWKT('SRID=4674;POINT (-38.817151 -3.542467)'))) / (select extract(epoch from '2026-07-31 04:42:47'::timestamp) - extract(epoch from '2026-07-31 04:42: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'), 47493, 'SRID=4674;POINT (-38.817035 -3.542372)', '2026-07-31 04:42:54', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817151 -3.542467)'), GeomFromEWKT('SRID=4674;POINT (-38.817035 -3.542372)'))) / (select extract(epoch from '2026-07-31 04:42:54'::timestamp) - extract(epoch from '2026-07-31 04:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817151 -3.542467)'), GeomFromEWKT('SRID=4674;POINT (-38.817035 -3.542372)'))) / (select extract(epoch from '2026-07-31 04:42:54'::timestamp) - extract(epoch from '2026-07-31 04:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.816915 -3.542281)', '2026-07-31 04:43:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817035 -3.542372)'), GeomFromEWKT('SRID=4674;POINT (-38.816915 -3.542281)'))) / (select extract(epoch from '2026-07-31 04:43:01'::timestamp) - extract(epoch from '2026-07-31 04:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.817035 -3.542372)'), GeomFromEWKT('SRID=4674;POINT (-38.816915 -3.542281)'))) / (select extract(epoch from '2026-07-31 04:43:01'::timestamp) - extract(epoch from '2026-07-31 04:42:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.816797 -3.542185)', '2026-07-31 04:43:08', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816915 -3.542281)'), GeomFromEWKT('SRID=4674;POINT (-38.816797 -3.542185)'))) / (select extract(epoch from '2026-07-31 04:43:08'::timestamp) - extract(epoch from '2026-07-31 04:43:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816915 -3.542281)'), GeomFromEWKT('SRID=4674;POINT (-38.816797 -3.542185)'))) / (select extract(epoch from '2026-07-31 04:43:08'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 47493, 'SRID=4674;POINT (-38.816686 -3.542079)', '2026-07-31 04:43:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816797 -3.542185)'), GeomFromEWKT('SRID=4674;POINT (-38.816686 -3.542079)'))) / (select extract(epoch from '2026-07-31 04:43:15'::timestamp) - extract(epoch from '2026-07-31 04:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816797 -3.542185)'), GeomFromEWKT('SRID=4674;POINT (-38.816686 -3.542079)'))) / (select extract(epoch from '2026-07-31 04:43:15'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 47493, 'SRID=4674;POINT (-38.816564 -3.541986)', '2026-07-31 04:43:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816686 -3.542079)'), GeomFromEWKT('SRID=4674;POINT (-38.816564 -3.541986)'))) / (select extract(epoch from '2026-07-31 04:43:22'::timestamp) - extract(epoch from '2026-07-31 04:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816686 -3.542079)'), GeomFromEWKT('SRID=4674;POINT (-38.816564 -3.541986)'))) / (select extract(epoch from '2026-07-31 04:43:22'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 47493, 'SRID=4674;POINT (-38.816421 -3.541881)', '2026-07-31 04:43:30', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816564 -3.541986)'), GeomFromEWKT('SRID=4674;POINT (-38.816421 -3.541881)'))) / (select extract(epoch from '2026-07-31 04:43:30'::timestamp) - extract(epoch from '2026-07-31 04:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816564 -3.541986)'), GeomFromEWKT('SRID=4674;POINT (-38.816421 -3.541881)'))) / (select extract(epoch from '2026-07-31 04:43:30'::timestamp) - extract(epoch from '2026-07-31 04:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.816268 -3.54179)', '2026-07-31 04:43:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816421 -3.541881)'), GeomFromEWKT('SRID=4674;POINT (-38.816268 -3.54179)'))) / (select extract(epoch from '2026-07-31 04:43:38'::timestamp) - extract(epoch from '2026-07-31 04:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816421 -3.541881)'), GeomFromEWKT('SRID=4674;POINT (-38.816268 -3.54179)'))) / (select extract(epoch from '2026-07-31 04:43:38'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 47493, 'SRID=4674;POINT (-38.81614 -3.541709)', '2026-07-31 04:43:45', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816268 -3.54179)'), GeomFromEWKT('SRID=4674;POINT (-38.81614 -3.541709)'))) / (select extract(epoch from '2026-07-31 04:43:45'::timestamp) - extract(epoch from '2026-07-31 04:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816268 -3.54179)'), GeomFromEWKT('SRID=4674;POINT (-38.81614 -3.541709)'))) / (select extract(epoch from '2026-07-31 04:43:45'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 47493, 'SRID=4674;POINT (-38.816029 -3.541641)', '2026-07-31 04:43:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81614 -3.541709)'), GeomFromEWKT('SRID=4674;POINT (-38.816029 -3.541641)'))) / (select extract(epoch from '2026-07-31 04:43:51'::timestamp) - extract(epoch from '2026-07-31 04:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81614 -3.541709)'), GeomFromEWKT('SRID=4674;POINT (-38.816029 -3.541641)'))) / (select extract(epoch from '2026-07-31 04:43:51'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 47493, 'SRID=4674;POINT (-38.815904 -3.541552)', '2026-07-31 04:43:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816029 -3.541641)'), GeomFromEWKT('SRID=4674;POINT (-38.815904 -3.541552)'))) / (select extract(epoch from '2026-07-31 04:43:58'::timestamp) - extract(epoch from '2026-07-31 04:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.816029 -3.541641)'), GeomFromEWKT('SRID=4674;POINT (-38.815904 -3.541552)'))) / (select extract(epoch from '2026-07-31 04:43:58'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 47493, 'SRID=4674;POINT (-38.815769 -3.541441)', '2026-07-31 04:44:06', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815904 -3.541552)'), GeomFromEWKT('SRID=4674;POINT (-38.815769 -3.541441)'))) / (select extract(epoch from '2026-07-31 04:44:06'::timestamp) - extract(epoch from '2026-07-31 04:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815904 -3.541552)'), GeomFromEWKT('SRID=4674;POINT (-38.815769 -3.541441)'))) / (select extract(epoch from '2026-07-31 04:44:06'::timestamp) - extract(epoch from '2026-07-31 04:43: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'), 47493, 'SRID=4674;POINT (-38.815627 -3.541333)', '2026-07-31 04:44:14', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815769 -3.541441)'), GeomFromEWKT('SRID=4674;POINT (-38.815627 -3.541333)'))) / (select extract(epoch from '2026-07-31 04:44:14'::timestamp) - extract(epoch from '2026-07-31 04:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815769 -3.541441)'), GeomFromEWKT('SRID=4674;POINT (-38.815627 -3.541333)'))) / (select extract(epoch from '2026-07-31 04:44:14'::timestamp) - extract(epoch from '2026-07-31 04:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.815483 -3.541221)', '2026-07-31 04:44:22', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815627 -3.541333)'), GeomFromEWKT('SRID=4674;POINT (-38.815483 -3.541221)'))) / (select extract(epoch from '2026-07-31 04:44:22'::timestamp) - extract(epoch from '2026-07-31 04:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815627 -3.541333)'), GeomFromEWKT('SRID=4674;POINT (-38.815483 -3.541221)'))) / (select extract(epoch from '2026-07-31 04:44:22'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 47493, 'SRID=4674;POINT (-38.81535 -3.541131)', '2026-07-31 04:44:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815483 -3.541221)'), GeomFromEWKT('SRID=4674;POINT (-38.81535 -3.541131)'))) / (select extract(epoch from '2026-07-31 04:44:29'::timestamp) - extract(epoch from '2026-07-31 04:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815483 -3.541221)'), GeomFromEWKT('SRID=4674;POINT (-38.81535 -3.541131)'))) / (select extract(epoch from '2026-07-31 04:44:29'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 47493, 'SRID=4674;POINT (-38.815164 -3.541044)', '2026-07-31 04:44:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81535 -3.541131)'), GeomFromEWKT('SRID=4674;POINT (-38.815164 -3.541044)'))) / (select extract(epoch from '2026-07-31 04:44:38'::timestamp) - extract(epoch from '2026-07-31 04:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81535 -3.541131)'), GeomFromEWKT('SRID=4674;POINT (-38.815164 -3.541044)'))) / (select extract(epoch from '2026-07-31 04:44:38'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 47493, 'SRID=4674;POINT (-38.815005 -3.540972)', '2026-07-31 04:44:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815164 -3.541044)'), GeomFromEWKT('SRID=4674;POINT (-38.815005 -3.540972)'))) / (select extract(epoch from '2026-07-31 04:44:46'::timestamp) - extract(epoch from '2026-07-31 04:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815164 -3.541044)'), GeomFromEWKT('SRID=4674;POINT (-38.815005 -3.540972)'))) / (select extract(epoch from '2026-07-31 04:44:46'::timestamp) - extract(epoch from '2026-07-31 04:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.814851 -3.5409)', '2026-07-31 04:44:54', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815005 -3.540972)'), GeomFromEWKT('SRID=4674;POINT (-38.814851 -3.5409)'))) / (select extract(epoch from '2026-07-31 04:44:54'::timestamp) - extract(epoch from '2026-07-31 04:44:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.815005 -3.540972)'), GeomFromEWKT('SRID=4674;POINT (-38.814851 -3.5409)'))) / (select extract(epoch from '2026-07-31 04:44:54'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 47493, 'SRID=4674;POINT (-38.814705 -3.540838)', '2026-07-31 04:45:01', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814851 -3.5409)'), GeomFromEWKT('SRID=4674;POINT (-38.814705 -3.540838)'))) / (select extract(epoch from '2026-07-31 04:45:01'::timestamp) - extract(epoch from '2026-07-31 04:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814851 -3.5409)'), GeomFromEWKT('SRID=4674;POINT (-38.814705 -3.540838)'))) / (select extract(epoch from '2026-07-31 04:45:01'::timestamp) - extract(epoch from '2026-07-31 04:44: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'), 47493, 'SRID=4674;POINT (-38.814559 -3.540777)', '2026-07-31 04:45:08', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814705 -3.540838)'), GeomFromEWKT('SRID=4674;POINT (-38.814559 -3.540777)'))) / (select extract(epoch from '2026-07-31 04:45:08'::timestamp) - extract(epoch from '2026-07-31 04:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814705 -3.540838)'), GeomFromEWKT('SRID=4674;POINT (-38.814559 -3.540777)'))) / (select extract(epoch from '2026-07-31 04:45:08'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 47493, 'SRID=4674;POINT (-38.814421 -3.540714)', '2026-07-31 04:45:15', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814559 -3.540777)'), GeomFromEWKT('SRID=4674;POINT (-38.814421 -3.540714)'))) / (select extract(epoch from '2026-07-31 04:45:15'::timestamp) - extract(epoch from '2026-07-31 04:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814559 -3.540777)'), GeomFromEWKT('SRID=4674;POINT (-38.814421 -3.540714)'))) / (select extract(epoch from '2026-07-31 04:45:15'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 47493, 'SRID=4674;POINT (-38.814307 -3.540654)', '2026-07-31 04:45:21', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814421 -3.540714)'), GeomFromEWKT('SRID=4674;POINT (-38.814307 -3.540654)'))) / (select extract(epoch from '2026-07-31 04:45:21'::timestamp) - extract(epoch from '2026-07-31 04:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814421 -3.540714)'), GeomFromEWKT('SRID=4674;POINT (-38.814307 -3.540654)'))) / (select extract(epoch from '2026-07-31 04:45:21'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 47493, 'SRID=4674;POINT (-38.814197 -3.5406)', '2026-07-31 04:45:27', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814307 -3.540654)'), GeomFromEWKT('SRID=4674;POINT (-38.814197 -3.5406)'))) / (select extract(epoch from '2026-07-31 04:45:27'::timestamp) - extract(epoch from '2026-07-31 04:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814307 -3.540654)'), GeomFromEWKT('SRID=4674;POINT (-38.814197 -3.5406)'))) / (select extract(epoch from '2026-07-31 04:45:27'::timestamp) - extract(epoch from '2026-07-31 04:45:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.814051 -3.540545)', '2026-07-31 04:45:34', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814197 -3.5406)'), GeomFromEWKT('SRID=4674;POINT (-38.814051 -3.540545)'))) / (select extract(epoch from '2026-07-31 04:45:34'::timestamp) - extract(epoch from '2026-07-31 04:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814197 -3.5406)'), GeomFromEWKT('SRID=4674;POINT (-38.814051 -3.540545)'))) / (select extract(epoch from '2026-07-31 04:45:34'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 47493, 'SRID=4674;POINT (-38.813907 -3.540498)', '2026-07-31 04:45:41', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814051 -3.540545)'), GeomFromEWKT('SRID=4674;POINT (-38.813907 -3.540498)'))) / (select extract(epoch from '2026-07-31 04:45:41'::timestamp) - extract(epoch from '2026-07-31 04:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.814051 -3.540545)'), GeomFromEWKT('SRID=4674;POINT (-38.813907 -3.540498)'))) / (select extract(epoch from '2026-07-31 04:45:41'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 47493, 'SRID=4674;POINT (-38.813762 -3.540461)', '2026-07-31 04:45:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813907 -3.540498)'), GeomFromEWKT('SRID=4674;POINT (-38.813762 -3.540461)'))) / (select extract(epoch from '2026-07-31 04:45:48'::timestamp) - extract(epoch from '2026-07-31 04:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813907 -3.540498)'), GeomFromEWKT('SRID=4674;POINT (-38.813762 -3.540461)'))) / (select extract(epoch from '2026-07-31 04:45:48'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 47493, 'SRID=4674;POINT (-38.813633 -3.54043)', '2026-07-31 04:45:54', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813762 -3.540461)'), GeomFromEWKT('SRID=4674;POINT (-38.813633 -3.54043)'))) / (select extract(epoch from '2026-07-31 04:45:54'::timestamp) - extract(epoch from '2026-07-31 04:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813762 -3.540461)'), GeomFromEWKT('SRID=4674;POINT (-38.813633 -3.54043)'))) / (select extract(epoch from '2026-07-31 04:45:54'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.813486 -3.540394)', '2026-07-31 04:46:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813633 -3.54043)'), GeomFromEWKT('SRID=4674;POINT (-38.813486 -3.540394)'))) / (select extract(epoch from '2026-07-31 04:46:01'::timestamp) - extract(epoch from '2026-07-31 04:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813633 -3.54043)'), GeomFromEWKT('SRID=4674;POINT (-38.813486 -3.540394)'))) / (select extract(epoch from '2026-07-31 04:46:01'::timestamp) - extract(epoch from '2026-07-31 04:45: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'), 47493, 'SRID=4674;POINT (-38.813342 -3.54036)', '2026-07-31 04:46:08', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813486 -3.540394)'), GeomFromEWKT('SRID=4674;POINT (-38.813342 -3.54036)'))) / (select extract(epoch from '2026-07-31 04:46:08'::timestamp) - extract(epoch from '2026-07-31 04:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813486 -3.540394)'), GeomFromEWKT('SRID=4674;POINT (-38.813342 -3.54036)'))) / (select extract(epoch from '2026-07-31 04:46:08'::timestamp) - extract(epoch from '2026-07-31 04:46: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'), 47493, 'SRID=4674;POINT (-38.813218 -3.540337)', '2026-07-31 04:46:14', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813342 -3.54036)'), GeomFromEWKT('SRID=4674;POINT (-38.813218 -3.540337)'))) / (select extract(epoch from '2026-07-31 04:46:14'::timestamp) - extract(epoch from '2026-07-31 04:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813342 -3.54036)'), GeomFromEWKT('SRID=4674;POINT (-38.813218 -3.540337)'))) / (select extract(epoch from '2026-07-31 04:46:14'::timestamp) - extract(epoch from '2026-07-31 04:46:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.813079 -3.540299)', '2026-07-31 04:46:21', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813218 -3.540337)'), GeomFromEWKT('SRID=4674;POINT (-38.813079 -3.540299)'))) / (select extract(epoch from '2026-07-31 04:46:21'::timestamp) - extract(epoch from '2026-07-31 04:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813218 -3.540337)'), GeomFromEWKT('SRID=4674;POINT (-38.813079 -3.540299)'))) / (select extract(epoch from '2026-07-31 04:46:21'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.81293 -3.540257)', '2026-07-31 04:46:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813079 -3.540299)'), GeomFromEWKT('SRID=4674;POINT (-38.81293 -3.540257)'))) / (select extract(epoch from '2026-07-31 04:46:28'::timestamp) - extract(epoch from '2026-07-31 04:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.813079 -3.540299)'), GeomFromEWKT('SRID=4674;POINT (-38.81293 -3.540257)'))) / (select extract(epoch from '2026-07-31 04:46:28'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.812754 -3.540229)', '2026-07-31 04:46:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81293 -3.540257)'), GeomFromEWKT('SRID=4674;POINT (-38.812754 -3.540229)'))) / (select extract(epoch from '2026-07-31 04:46:36'::timestamp) - extract(epoch from '2026-07-31 04:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81293 -3.540257)'), GeomFromEWKT('SRID=4674;POINT (-38.812754 -3.540229)'))) / (select extract(epoch from '2026-07-31 04:46:36'::timestamp) - extract(epoch from '2026-07-31 04:46: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'), 47493, 'SRID=4674;POINT (-38.81259 -3.540196)', '2026-07-31 04:46:44', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812754 -3.540229)'), GeomFromEWKT('SRID=4674;POINT (-38.81259 -3.540196)'))) / (select extract(epoch from '2026-07-31 04:46:44'::timestamp) - extract(epoch from '2026-07-31 04:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812754 -3.540229)'), GeomFromEWKT('SRID=4674;POINT (-38.81259 -3.540196)'))) / (select extract(epoch from '2026-07-31 04:46:44'::timestamp) - extract(epoch from '2026-07-31 04:46: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'), 47493, 'SRID=4674;POINT (-38.812464 -3.540178)', '2026-07-31 04:46:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81259 -3.540196)'), GeomFromEWKT('SRID=4674;POINT (-38.812464 -3.540178)'))) / (select extract(epoch from '2026-07-31 04:46:50'::timestamp) - extract(epoch from '2026-07-31 04:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81259 -3.540196)'), GeomFromEWKT('SRID=4674;POINT (-38.812464 -3.540178)'))) / (select extract(epoch from '2026-07-31 04:46:50'::timestamp) - extract(epoch from '2026-07-31 04:46:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.81232 -3.540146)', '2026-07-31 04:46:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812464 -3.540178)'), GeomFromEWKT('SRID=4674;POINT (-38.81232 -3.540146)'))) / (select extract(epoch from '2026-07-31 04:46:57'::timestamp) - extract(epoch from '2026-07-31 04:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812464 -3.540178)'), GeomFromEWKT('SRID=4674;POINT (-38.81232 -3.540146)'))) / (select extract(epoch from '2026-07-31 04:46:57'::timestamp) - extract(epoch from '2026-07-31 04:46: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'), 47493, 'SRID=4674;POINT (-38.812196 -3.540108)', '2026-07-31 04:47:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81232 -3.540146)'), GeomFromEWKT('SRID=4674;POINT (-38.812196 -3.540108)'))) / (select extract(epoch from '2026-07-31 04:47:03'::timestamp) - extract(epoch from '2026-07-31 04:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81232 -3.540146)'), GeomFromEWKT('SRID=4674;POINT (-38.812196 -3.540108)'))) / (select extract(epoch from '2026-07-31 04:47:03'::timestamp) - extract(epoch from '2026-07-31 04:46: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'), 47493, 'SRID=4674;POINT (-38.812052 -3.540089)', '2026-07-31 04:47:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812196 -3.540108)'), GeomFromEWKT('SRID=4674;POINT (-38.812052 -3.540089)'))) / (select extract(epoch from '2026-07-31 04:47:10'::timestamp) - extract(epoch from '2026-07-31 04:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812196 -3.540108)'), GeomFromEWKT('SRID=4674;POINT (-38.812052 -3.540089)'))) / (select extract(epoch from '2026-07-31 04:47:10'::timestamp) - extract(epoch from '2026-07-31 04:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.811904 -3.540085)', '2026-07-31 04:47:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812052 -3.540089)'), GeomFromEWKT('SRID=4674;POINT (-38.811904 -3.540085)'))) / (select extract(epoch from '2026-07-31 04:47:17'::timestamp) - extract(epoch from '2026-07-31 04:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.812052 -3.540089)'), GeomFromEWKT('SRID=4674;POINT (-38.811904 -3.540085)'))) / (select extract(epoch from '2026-07-31 04:47:17'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 47493, 'SRID=4674;POINT (-38.81178 -3.540098)', '2026-07-31 04:47:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811904 -3.540085)'), GeomFromEWKT('SRID=4674;POINT (-38.81178 -3.540098)'))) / (select extract(epoch from '2026-07-31 04:47:23'::timestamp) - extract(epoch from '2026-07-31 04:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811904 -3.540085)'), GeomFromEWKT('SRID=4674;POINT (-38.81178 -3.540098)'))) / (select extract(epoch from '2026-07-31 04:47:23'::timestamp) - extract(epoch from '2026-07-31 04:47:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.811659 -3.54014)', '2026-07-31 04:47:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81178 -3.540098)'), GeomFromEWKT('SRID=4674;POINT (-38.811659 -3.54014)'))) / (select extract(epoch from '2026-07-31 04:47:30'::timestamp) - extract(epoch from '2026-07-31 04:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81178 -3.540098)'), GeomFromEWKT('SRID=4674;POINT (-38.811659 -3.54014)'))) / (select extract(epoch from '2026-07-31 04:47:30'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 47493, 'SRID=4674;POINT (-38.811562 -3.540211)', '2026-07-31 04:47:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811659 -3.54014)'), GeomFromEWKT('SRID=4674;POINT (-38.811562 -3.540211)'))) / (select extract(epoch from '2026-07-31 04:47:37'::timestamp) - extract(epoch from '2026-07-31 04:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811659 -3.54014)'), GeomFromEWKT('SRID=4674;POINT (-38.811562 -3.540211)'))) / (select extract(epoch from '2026-07-31 04:47:37'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 47493, 'SRID=4674;POINT (-38.811534 -3.540247)', '2026-07-31 04:47:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811562 -3.540211)'), GeomFromEWKT('SRID=4674;POINT (-38.811534 -3.540247)'))) / (select extract(epoch from '2026-07-31 04:47:40'::timestamp) - extract(epoch from '2026-07-31 04:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811562 -3.540211)'), GeomFromEWKT('SRID=4674;POINT (-38.811534 -3.540247)'))) / (select extract(epoch from '2026-07-31 04:47:40'::timestamp) - extract(epoch from '2026-07-31 04:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.811511 -3.540262)', '2026-07-31 04:47:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811534 -3.540247)'), GeomFromEWKT('SRID=4674;POINT (-38.811511 -3.540262)'))) / (select extract(epoch from '2026-07-31 04:47:42'::timestamp) - extract(epoch from '2026-07-31 04:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811534 -3.540247)'), GeomFromEWKT('SRID=4674;POINT (-38.811511 -3.540262)'))) / (select extract(epoch from '2026-07-31 04:47:42'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 47493, 'SRID=4674;POINT (-38.811453 -3.540257)', '2026-07-31 04:47:48', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811511 -3.540262)'), GeomFromEWKT('SRID=4674;POINT (-38.811453 -3.540257)'))) / (select extract(epoch from '2026-07-31 04:47:48'::timestamp) - extract(epoch from '2026-07-31 04:47:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811511 -3.540262)'), GeomFromEWKT('SRID=4674;POINT (-38.811453 -3.540257)'))) / (select extract(epoch from '2026-07-31 04:47:48'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.811405 -3.540225)', '2026-07-31 04:47:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811453 -3.540257)'), GeomFromEWKT('SRID=4674;POINT (-38.811405 -3.540225)'))) / (select extract(epoch from '2026-07-31 04:47:55'::timestamp) - extract(epoch from '2026-07-31 04:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811453 -3.540257)'), GeomFromEWKT('SRID=4674;POINT (-38.811405 -3.540225)'))) / (select extract(epoch from '2026-07-31 04:47:55'::timestamp) - extract(epoch from '2026-07-31 04:47:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.811373 -3.540209)', '2026-07-31 04:48:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811405 -3.540225)'), GeomFromEWKT('SRID=4674;POINT (-38.811373 -3.540209)'))) / (select extract(epoch from '2026-07-31 04:48:03'::timestamp) - extract(epoch from '2026-07-31 04:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811405 -3.540225)'), GeomFromEWKT('SRID=4674;POINT (-38.811373 -3.540209)'))) / (select extract(epoch from '2026-07-31 04:48:03'::timestamp) - extract(epoch from '2026-07-31 04:47: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'), 47493, 'SRID=4674;POINT (-38.811392 -3.540199)', '2026-07-31 04:48:12', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811373 -3.540209)'), GeomFromEWKT('SRID=4674;POINT (-38.811392 -3.540199)'))) / (select extract(epoch from '2026-07-31 04:48:12'::timestamp) - extract(epoch from '2026-07-31 04:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811373 -3.540209)'), GeomFromEWKT('SRID=4674;POINT (-38.811392 -3.540199)'))) / (select extract(epoch from '2026-07-31 04:48:12'::timestamp) - extract(epoch from '2026-07-31 04:48: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'), 47493, 'SRID=4674;POINT (-38.811362 -3.540234)', '2026-07-31 04:48:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811392 -3.540199)'), GeomFromEWKT('SRID=4674;POINT (-38.811362 -3.540234)'))) / (select extract(epoch from '2026-07-31 04:48:18'::timestamp) - extract(epoch from '2026-07-31 04:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811392 -3.540199)'), GeomFromEWKT('SRID=4674;POINT (-38.811362 -3.540234)'))) / (select extract(epoch from '2026-07-31 04:48:18'::timestamp) - extract(epoch from '2026-07-31 04:48:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.811347 -3.540242)', '2026-07-31 04:48:19', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811362 -3.540234)'), GeomFromEWKT('SRID=4674;POINT (-38.811347 -3.540242)'))) / (select extract(epoch from '2026-07-31 04:48:19'::timestamp) - extract(epoch from '2026-07-31 04:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811362 -3.540234)'), GeomFromEWKT('SRID=4674;POINT (-38.811347 -3.540242)'))) / (select extract(epoch from '2026-07-31 04:48:19'::timestamp) - extract(epoch from '2026-07-31 04:48:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.811232 -3.540217)', '2026-07-31 04:48:25', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811347 -3.540242)'), GeomFromEWKT('SRID=4674;POINT (-38.811232 -3.540217)'))) / (select extract(epoch from '2026-07-31 04:48:25'::timestamp) - extract(epoch from '2026-07-31 04:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811347 -3.540242)'), GeomFromEWKT('SRID=4674;POINT (-38.811232 -3.540217)'))) / (select extract(epoch from '2026-07-31 04:48:25'::timestamp) - extract(epoch from '2026-07-31 04:48: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'), 47493, 'SRID=4674;POINT (-38.811032 -3.540126)', '2026-07-31 04:48:35', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811232 -3.540217)'), GeomFromEWKT('SRID=4674;POINT (-38.811032 -3.540126)'))) / (select extract(epoch from '2026-07-31 04:48:35'::timestamp) - extract(epoch from '2026-07-31 04:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811232 -3.540217)'), GeomFromEWKT('SRID=4674;POINT (-38.811032 -3.540126)'))) / (select extract(epoch from '2026-07-31 04:48:35'::timestamp) - extract(epoch from '2026-07-31 04:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.810934 -3.540085)', '2026-07-31 04:48:40', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811032 -3.540126)'), GeomFromEWKT('SRID=4674;POINT (-38.810934 -3.540085)'))) / (select extract(epoch from '2026-07-31 04:48:40'::timestamp) - extract(epoch from '2026-07-31 04:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.811032 -3.540126)'), GeomFromEWKT('SRID=4674;POINT (-38.810934 -3.540085)'))) / (select extract(epoch from '2026-07-31 04:48:40'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.81083 -3.54005)', '2026-07-31 04:48:45', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810934 -3.540085)'), GeomFromEWKT('SRID=4674;POINT (-38.81083 -3.54005)'))) / (select extract(epoch from '2026-07-31 04:48:45'::timestamp) - extract(epoch from '2026-07-31 04:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810934 -3.540085)'), GeomFromEWKT('SRID=4674;POINT (-38.81083 -3.54005)'))) / (select extract(epoch from '2026-07-31 04:48:45'::timestamp) - extract(epoch from '2026-07-31 04:48:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.810696 -3.539997)', '2026-07-31 04:48:52', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81083 -3.54005)'), GeomFromEWKT('SRID=4674;POINT (-38.810696 -3.539997)'))) / (select extract(epoch from '2026-07-31 04:48:52'::timestamp) - extract(epoch from '2026-07-31 04:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81083 -3.54005)'), GeomFromEWKT('SRID=4674;POINT (-38.810696 -3.539997)'))) / (select extract(epoch from '2026-07-31 04:48:52'::timestamp) - extract(epoch from '2026-07-31 04:48:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.810562 -3.539938)', '2026-07-31 04:48:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810696 -3.539997)'), GeomFromEWKT('SRID=4674;POINT (-38.810562 -3.539938)'))) / (select extract(epoch from '2026-07-31 04:48:59'::timestamp) - extract(epoch from '2026-07-31 04:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810696 -3.539997)'), GeomFromEWKT('SRID=4674;POINT (-38.810562 -3.539938)'))) / (select extract(epoch from '2026-07-31 04:48:59'::timestamp) - extract(epoch from '2026-07-31 04:48: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'), 47493, 'SRID=4674;POINT (-38.810428 -3.539891)', '2026-07-31 04:49:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810562 -3.539938)'), GeomFromEWKT('SRID=4674;POINT (-38.810428 -3.539891)'))) / (select extract(epoch from '2026-07-31 04:49:06'::timestamp) - extract(epoch from '2026-07-31 04:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810562 -3.539938)'), GeomFromEWKT('SRID=4674;POINT (-38.810428 -3.539891)'))) / (select extract(epoch from '2026-07-31 04:49:06'::timestamp) - extract(epoch from '2026-07-31 04:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.81026 -3.539847)', '2026-07-31 04:49:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810428 -3.539891)'), GeomFromEWKT('SRID=4674;POINT (-38.81026 -3.539847)'))) / (select extract(epoch from '2026-07-31 04:49:14'::timestamp) - extract(epoch from '2026-07-31 04:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810428 -3.539891)'), GeomFromEWKT('SRID=4674;POINT (-38.81026 -3.539847)'))) / (select extract(epoch from '2026-07-31 04:49:14'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.810123 -3.539818)', '2026-07-31 04:49:21', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81026 -3.539847)'), GeomFromEWKT('SRID=4674;POINT (-38.810123 -3.539818)'))) / (select extract(epoch from '2026-07-31 04:49:21'::timestamp) - extract(epoch from '2026-07-31 04:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81026 -3.539847)'), GeomFromEWKT('SRID=4674;POINT (-38.810123 -3.539818)'))) / (select extract(epoch from '2026-07-31 04:49:21'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.810002 -3.539803)', '2026-07-31 04:49:27', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810123 -3.539818)'), GeomFromEWKT('SRID=4674;POINT (-38.810002 -3.539803)'))) / (select extract(epoch from '2026-07-31 04:49:27'::timestamp) - extract(epoch from '2026-07-31 04:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810123 -3.539818)'), GeomFromEWKT('SRID=4674;POINT (-38.810002 -3.539803)'))) / (select extract(epoch from '2026-07-31 04:49:27'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.809838 -3.53979)', '2026-07-31 04:49:35', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810002 -3.539803)'), GeomFromEWKT('SRID=4674;POINT (-38.809838 -3.53979)'))) / (select extract(epoch from '2026-07-31 04:49:35'::timestamp) - extract(epoch from '2026-07-31 04:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.810002 -3.539803)'), GeomFromEWKT('SRID=4674;POINT (-38.809838 -3.53979)'))) / (select extract(epoch from '2026-07-31 04:49:35'::timestamp) - extract(epoch from '2026-07-31 04:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.809671 -3.539767)', '2026-07-31 04:49:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809838 -3.53979)'), GeomFromEWKT('SRID=4674;POINT (-38.809671 -3.539767)'))) / (select extract(epoch from '2026-07-31 04:49:43'::timestamp) - extract(epoch from '2026-07-31 04:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809838 -3.53979)'), GeomFromEWKT('SRID=4674;POINT (-38.809671 -3.539767)'))) / (select extract(epoch from '2026-07-31 04:49:43'::timestamp) - extract(epoch from '2026-07-31 04:49: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'), 47493, 'SRID=4674;POINT (-38.809551 -3.539731)', '2026-07-31 04:49:49', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809671 -3.539767)'), GeomFromEWKT('SRID=4674;POINT (-38.809551 -3.539731)'))) / (select extract(epoch from '2026-07-31 04:49:49'::timestamp) - extract(epoch from '2026-07-31 04:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809671 -3.539767)'), GeomFromEWKT('SRID=4674;POINT (-38.809551 -3.539731)'))) / (select extract(epoch from '2026-07-31 04:49:49'::timestamp) - extract(epoch from '2026-07-31 04:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.809436 -3.53968)', '2026-07-31 04:49:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809551 -3.539731)'), GeomFromEWKT('SRID=4674;POINT (-38.809436 -3.53968)'))) / (select extract(epoch from '2026-07-31 04:49:55'::timestamp) - extract(epoch from '2026-07-31 04:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809551 -3.539731)'), GeomFromEWKT('SRID=4674;POINT (-38.809436 -3.53968)'))) / (select extract(epoch from '2026-07-31 04:49:55'::timestamp) - extract(epoch from '2026-07-31 04:49: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'), 47493, 'SRID=4674;POINT (-38.809316 -3.539622)', '2026-07-31 04:50:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809436 -3.53968)'), GeomFromEWKT('SRID=4674;POINT (-38.809316 -3.539622)'))) / (select extract(epoch from '2026-07-31 04:50:01'::timestamp) - extract(epoch from '2026-07-31 04:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809436 -3.53968)'), GeomFromEWKT('SRID=4674;POINT (-38.809316 -3.539622)'))) / (select extract(epoch from '2026-07-31 04:50:01'::timestamp) - extract(epoch from '2026-07-31 04:49: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'), 47493, 'SRID=4674;POINT (-38.809201 -3.539565)', '2026-07-31 04:50:07', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809316 -3.539622)'), GeomFromEWKT('SRID=4674;POINT (-38.809201 -3.539565)'))) / (select extract(epoch from '2026-07-31 04:50:07'::timestamp) - extract(epoch from '2026-07-31 04:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809316 -3.539622)'), GeomFromEWKT('SRID=4674;POINT (-38.809201 -3.539565)'))) / (select extract(epoch from '2026-07-31 04:50:07'::timestamp) - extract(epoch from '2026-07-31 04:50: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'), 47493, 'SRID=4674;POINT (-38.809071 -3.539494)', '2026-07-31 04:50:14', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809201 -3.539565)'), GeomFromEWKT('SRID=4674;POINT (-38.809071 -3.539494)'))) / (select extract(epoch from '2026-07-31 04:50:14'::timestamp) - extract(epoch from '2026-07-31 04:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809201 -3.539565)'), GeomFromEWKT('SRID=4674;POINT (-38.809071 -3.539494)'))) / (select extract(epoch from '2026-07-31 04:50:14'::timestamp) - extract(epoch from '2026-07-31 04:50:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.808929 -3.539432)', '2026-07-31 04:50:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809071 -3.539494)'), GeomFromEWKT('SRID=4674;POINT (-38.808929 -3.539432)'))) / (select extract(epoch from '2026-07-31 04:50:21'::timestamp) - extract(epoch from '2026-07-31 04:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.809071 -3.539494)'), GeomFromEWKT('SRID=4674;POINT (-38.808929 -3.539432)'))) / (select extract(epoch from '2026-07-31 04:50:21'::timestamp) - extract(epoch from '2026-07-31 04:50: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'), 47493, 'SRID=4674;POINT (-38.808763 -3.539377)', '2026-07-31 04:50:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808929 -3.539432)'), GeomFromEWKT('SRID=4674;POINT (-38.808763 -3.539377)'))) / (select extract(epoch from '2026-07-31 04:50:29'::timestamp) - extract(epoch from '2026-07-31 04:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808929 -3.539432)'), GeomFromEWKT('SRID=4674;POINT (-38.808763 -3.539377)'))) / (select extract(epoch from '2026-07-31 04:50:29'::timestamp) - extract(epoch from '2026-07-31 04:50: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'), 47493, 'SRID=4674;POINT (-38.808621 -3.539346)', '2026-07-31 04:50:36', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808763 -3.539377)'), GeomFromEWKT('SRID=4674;POINT (-38.808621 -3.539346)'))) / (select extract(epoch from '2026-07-31 04:50:36'::timestamp) - extract(epoch from '2026-07-31 04:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808763 -3.539377)'), GeomFromEWKT('SRID=4674;POINT (-38.808621 -3.539346)'))) / (select extract(epoch from '2026-07-31 04:50:36'::timestamp) - extract(epoch from '2026-07-31 04:50: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'), 47493, 'SRID=4674;POINT (-38.808473 -3.539315)', '2026-07-31 04:50:43', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808621 -3.539346)'), GeomFromEWKT('SRID=4674;POINT (-38.808473 -3.539315)'))) / (select extract(epoch from '2026-07-31 04:50:43'::timestamp) - extract(epoch from '2026-07-31 04:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808621 -3.539346)'), GeomFromEWKT('SRID=4674;POINT (-38.808473 -3.539315)'))) / (select extract(epoch from '2026-07-31 04:50:43'::timestamp) - extract(epoch from '2026-07-31 04:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.808329 -3.539266)', '2026-07-31 04:50:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808473 -3.539315)'), GeomFromEWKT('SRID=4674;POINT (-38.808329 -3.539266)'))) / (select extract(epoch from '2026-07-31 04:50:50'::timestamp) - extract(epoch from '2026-07-31 04:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808473 -3.539315)'), GeomFromEWKT('SRID=4674;POINT (-38.808329 -3.539266)'))) / (select extract(epoch from '2026-07-31 04:50:50'::timestamp) - extract(epoch from '2026-07-31 04:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.808193 -3.539207)', '2026-07-31 04:50:57', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808329 -3.539266)'), GeomFromEWKT('SRID=4674;POINT (-38.808193 -3.539207)'))) / (select extract(epoch from '2026-07-31 04:50:57'::timestamp) - extract(epoch from '2026-07-31 04:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808329 -3.539266)'), GeomFromEWKT('SRID=4674;POINT (-38.808193 -3.539207)'))) / (select extract(epoch from '2026-07-31 04:50:57'::timestamp) - extract(epoch from '2026-07-31 04:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.808074 -3.539152)', '2026-07-31 04:51:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808193 -3.539207)'), GeomFromEWKT('SRID=4674;POINT (-38.808074 -3.539152)'))) / (select extract(epoch from '2026-07-31 04:51:03'::timestamp) - extract(epoch from '2026-07-31 04:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808193 -3.539207)'), GeomFromEWKT('SRID=4674;POINT (-38.808074 -3.539152)'))) / (select extract(epoch from '2026-07-31 04:51:03'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.80791 -3.539096)', '2026-07-31 04:51:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808074 -3.539152)'), GeomFromEWKT('SRID=4674;POINT (-38.80791 -3.539096)'))) / (select extract(epoch from '2026-07-31 04:51:11'::timestamp) - extract(epoch from '2026-07-31 04:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.808074 -3.539152)'), GeomFromEWKT('SRID=4674;POINT (-38.80791 -3.539096)'))) / (select extract(epoch from '2026-07-31 04:51:11'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 47493, 'SRID=4674;POINT (-38.807762 -3.539071)', '2026-07-31 04:51:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80791 -3.539096)'), GeomFromEWKT('SRID=4674;POINT (-38.807762 -3.539071)'))) / (select extract(epoch from '2026-07-31 04:51:18'::timestamp) - extract(epoch from '2026-07-31 04:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80791 -3.539096)'), GeomFromEWKT('SRID=4674;POINT (-38.807762 -3.539071)'))) / (select extract(epoch from '2026-07-31 04:51:18'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 47493, 'SRID=4674;POINT (-38.807616 -3.539057)', '2026-07-31 04:51:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807762 -3.539071)'), GeomFromEWKT('SRID=4674;POINT (-38.807616 -3.539057)'))) / (select extract(epoch from '2026-07-31 04:51:25'::timestamp) - extract(epoch from '2026-07-31 04:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807762 -3.539071)'), GeomFromEWKT('SRID=4674;POINT (-38.807616 -3.539057)'))) / (select extract(epoch from '2026-07-31 04:51:25'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 47493, 'SRID=4674;POINT (-38.807467 -3.539029)', '2026-07-31 04:51:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807616 -3.539057)'), GeomFromEWKT('SRID=4674;POINT (-38.807467 -3.539029)'))) / (select extract(epoch from '2026-07-31 04:51:32'::timestamp) - extract(epoch from '2026-07-31 04:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807616 -3.539057)'), GeomFromEWKT('SRID=4674;POINT (-38.807467 -3.539029)'))) / (select extract(epoch from '2026-07-31 04:51:32'::timestamp) - extract(epoch from '2026-07-31 04:51:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.807343 -3.538995)', '2026-07-31 04:51:38', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807467 -3.539029)'), GeomFromEWKT('SRID=4674;POINT (-38.807343 -3.538995)'))) / (select extract(epoch from '2026-07-31 04:51:38'::timestamp) - extract(epoch from '2026-07-31 04:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807467 -3.539029)'), GeomFromEWKT('SRID=4674;POINT (-38.807343 -3.538995)'))) / (select extract(epoch from '2026-07-31 04:51:38'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 47493, 'SRID=4674;POINT (-38.807199 -3.538943)', '2026-07-31 04:51:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807343 -3.538995)'), GeomFromEWKT('SRID=4674;POINT (-38.807199 -3.538943)'))) / (select extract(epoch from '2026-07-31 04:51:45'::timestamp) - extract(epoch from '2026-07-31 04:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807343 -3.538995)'), GeomFromEWKT('SRID=4674;POINT (-38.807199 -3.538943)'))) / (select extract(epoch from '2026-07-31 04:51:45'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 47493, 'SRID=4674;POINT (-38.807054 -3.538889)', '2026-07-31 04:51:52', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807199 -3.538943)'), GeomFromEWKT('SRID=4674;POINT (-38.807054 -3.538889)'))) / (select extract(epoch from '2026-07-31 04:51:52'::timestamp) - extract(epoch from '2026-07-31 04:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807199 -3.538943)'), GeomFromEWKT('SRID=4674;POINT (-38.807054 -3.538889)'))) / (select extract(epoch from '2026-07-31 04:51:52'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 47493, 'SRID=4674;POINT (-38.806911 -3.538854)', '2026-07-31 04:51:59', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807054 -3.538889)'), GeomFromEWKT('SRID=4674;POINT (-38.806911 -3.538854)'))) / (select extract(epoch from '2026-07-31 04:51:59'::timestamp) - extract(epoch from '2026-07-31 04:51:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.807054 -3.538889)'), GeomFromEWKT('SRID=4674;POINT (-38.806911 -3.538854)'))) / (select extract(epoch from '2026-07-31 04:51:59'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 47493, 'SRID=4674;POINT (-38.80676 -3.538837)', '2026-07-31 04:52:06', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806911 -3.538854)'), GeomFromEWKT('SRID=4674;POINT (-38.80676 -3.538837)'))) / (select extract(epoch from '2026-07-31 04:52:06'::timestamp) - extract(epoch from '2026-07-31 04:51:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806911 -3.538854)'), GeomFromEWKT('SRID=4674;POINT (-38.80676 -3.538837)'))) / (select extract(epoch from '2026-07-31 04:52:06'::timestamp) - extract(epoch from '2026-07-31 04:51: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'), 47493, 'SRID=4674;POINT (-38.806614 -3.538817)', '2026-07-31 04:52:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80676 -3.538837)'), GeomFromEWKT('SRID=4674;POINT (-38.806614 -3.538817)'))) / (select extract(epoch from '2026-07-31 04:52:13'::timestamp) - extract(epoch from '2026-07-31 04:52:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80676 -3.538837)'), GeomFromEWKT('SRID=4674;POINT (-38.806614 -3.538817)'))) / (select extract(epoch from '2026-07-31 04:52:13'::timestamp) - extract(epoch from '2026-07-31 04:52: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'), 47493, 'SRID=4674;POINT (-38.80649 -3.538798)', '2026-07-31 04:52:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806614 -3.538817)'), GeomFromEWKT('SRID=4674;POINT (-38.80649 -3.538798)'))) / (select extract(epoch from '2026-07-31 04:52:19'::timestamp) - extract(epoch from '2026-07-31 04:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806614 -3.538817)'), GeomFromEWKT('SRID=4674;POINT (-38.80649 -3.538798)'))) / (select extract(epoch from '2026-07-31 04:52:19'::timestamp) - extract(epoch from '2026-07-31 04:52: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'), 47493, 'SRID=4674;POINT (-38.80637 -3.53876)', '2026-07-31 04:52:25', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80649 -3.538798)'), GeomFromEWKT('SRID=4674;POINT (-38.80637 -3.53876)'))) / (select extract(epoch from '2026-07-31 04:52:25'::timestamp) - extract(epoch from '2026-07-31 04:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80649 -3.538798)'), GeomFromEWKT('SRID=4674;POINT (-38.80637 -3.53876)'))) / (select extract(epoch from '2026-07-31 04:52:25'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.806205 -3.53871)', '2026-07-31 04:52:33', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80637 -3.53876)'), GeomFromEWKT('SRID=4674;POINT (-38.806205 -3.53871)'))) / (select extract(epoch from '2026-07-31 04:52:33'::timestamp) - extract(epoch from '2026-07-31 04:52:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80637 -3.53876)'), GeomFromEWKT('SRID=4674;POINT (-38.806205 -3.53871)'))) / (select extract(epoch from '2026-07-31 04:52:33'::timestamp) - extract(epoch from '2026-07-31 04:52:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.806055 -3.538691)', '2026-07-31 04:52:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806205 -3.53871)'), GeomFromEWKT('SRID=4674;POINT (-38.806055 -3.538691)'))) / (select extract(epoch from '2026-07-31 04:52:40'::timestamp) - extract(epoch from '2026-07-31 04:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806205 -3.53871)'), GeomFromEWKT('SRID=4674;POINT (-38.806055 -3.538691)'))) / (select extract(epoch from '2026-07-31 04:52:40'::timestamp) - extract(epoch from '2026-07-31 04:52: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'), 47493, 'SRID=4674;POINT (-38.805888 -3.538658)', '2026-07-31 04:52:48', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806055 -3.538691)'), GeomFromEWKT('SRID=4674;POINT (-38.805888 -3.538658)'))) / (select extract(epoch from '2026-07-31 04:52:48'::timestamp) - extract(epoch from '2026-07-31 04:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.806055 -3.538691)'), GeomFromEWKT('SRID=4674;POINT (-38.805888 -3.538658)'))) / (select extract(epoch from '2026-07-31 04:52:48'::timestamp) - extract(epoch from '2026-07-31 04:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.80569 -3.538621)', '2026-07-31 04:52:57', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805888 -3.538658)'), GeomFromEWKT('SRID=4674;POINT (-38.80569 -3.538621)'))) / (select extract(epoch from '2026-07-31 04:52:57'::timestamp) - extract(epoch from '2026-07-31 04:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805888 -3.538658)'), GeomFromEWKT('SRID=4674;POINT (-38.80569 -3.538621)'))) / (select extract(epoch from '2026-07-31 04:52:57'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.805589 -3.53859)', '2026-07-31 04:53:02', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80569 -3.538621)'), GeomFromEWKT('SRID=4674;POINT (-38.805589 -3.53859)'))) / (select extract(epoch from '2026-07-31 04:53:02'::timestamp) - extract(epoch from '2026-07-31 04:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80569 -3.538621)'), GeomFromEWKT('SRID=4674;POINT (-38.805589 -3.53859)'))) / (select extract(epoch from '2026-07-31 04:53:02'::timestamp) - extract(epoch from '2026-07-31 04:52: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'), 47493, 'SRID=4674;POINT (-38.805441 -3.538567)', '2026-07-31 04:53:09', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805589 -3.53859)'), GeomFromEWKT('SRID=4674;POINT (-38.805441 -3.538567)'))) / (select extract(epoch from '2026-07-31 04:53:09'::timestamp) - extract(epoch from '2026-07-31 04:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805589 -3.53859)'), GeomFromEWKT('SRID=4674;POINT (-38.805441 -3.538567)'))) / (select extract(epoch from '2026-07-31 04:53:09'::timestamp) - extract(epoch from '2026-07-31 04:53:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.805316 -3.538567)', '2026-07-31 04:53:15', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805441 -3.538567)'), GeomFromEWKT('SRID=4674;POINT (-38.805316 -3.538567)'))) / (select extract(epoch from '2026-07-31 04:53:15'::timestamp) - extract(epoch from '2026-07-31 04:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805441 -3.538567)'), GeomFromEWKT('SRID=4674;POINT (-38.805316 -3.538567)'))) / (select extract(epoch from '2026-07-31 04:53:15'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.805147 -3.538553)', '2026-07-31 04:53:23', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805316 -3.538567)'), GeomFromEWKT('SRID=4674;POINT (-38.805147 -3.538553)'))) / (select extract(epoch from '2026-07-31 04:53:23'::timestamp) - extract(epoch from '2026-07-31 04:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805316 -3.538567)'), GeomFromEWKT('SRID=4674;POINT (-38.805147 -3.538553)'))) / (select extract(epoch from '2026-07-31 04:53:23'::timestamp) - extract(epoch from '2026-07-31 04:53: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'), 47493, 'SRID=4674;POINT (-38.804977 -3.538542)', '2026-07-31 04:53:31', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805147 -3.538553)'), GeomFromEWKT('SRID=4674;POINT (-38.804977 -3.538542)'))) / (select extract(epoch from '2026-07-31 04:53:31'::timestamp) - extract(epoch from '2026-07-31 04:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.805147 -3.538553)'), GeomFromEWKT('SRID=4674;POINT (-38.804977 -3.538542)'))) / (select extract(epoch from '2026-07-31 04:53:31'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.804828 -3.538521)', '2026-07-31 04:53:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804977 -3.538542)'), GeomFromEWKT('SRID=4674;POINT (-38.804828 -3.538521)'))) / (select extract(epoch from '2026-07-31 04:53:38'::timestamp) - extract(epoch from '2026-07-31 04:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804977 -3.538542)'), GeomFromEWKT('SRID=4674;POINT (-38.804828 -3.538521)'))) / (select extract(epoch from '2026-07-31 04:53:38'::timestamp) - extract(epoch from '2026-07-31 04:53: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'), 47493, 'SRID=4674;POINT (-38.8047 -3.538494)', '2026-07-31 04:53:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804828 -3.538521)'), GeomFromEWKT('SRID=4674;POINT (-38.8047 -3.538494)'))) / (select extract(epoch from '2026-07-31 04:53:44'::timestamp) - extract(epoch from '2026-07-31 04:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804828 -3.538521)'), GeomFromEWKT('SRID=4674;POINT (-38.8047 -3.538494)'))) / (select extract(epoch from '2026-07-31 04:53:44'::timestamp) - extract(epoch from '2026-07-31 04:53: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'), 47493, 'SRID=4674;POINT (-38.804574 -3.538468)', '2026-07-31 04:53:50', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8047 -3.538494)'), GeomFromEWKT('SRID=4674;POINT (-38.804574 -3.538468)'))) / (select extract(epoch from '2026-07-31 04:53:50'::timestamp) - extract(epoch from '2026-07-31 04:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8047 -3.538494)'), GeomFromEWKT('SRID=4674;POINT (-38.804574 -3.538468)'))) / (select extract(epoch from '2026-07-31 04:53:50'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.804428 -3.538456)', '2026-07-31 04:53:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804574 -3.538468)'), GeomFromEWKT('SRID=4674;POINT (-38.804428 -3.538456)'))) / (select extract(epoch from '2026-07-31 04:53:57'::timestamp) - extract(epoch from '2026-07-31 04:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804574 -3.538468)'), GeomFromEWKT('SRID=4674;POINT (-38.804428 -3.538456)'))) / (select extract(epoch from '2026-07-31 04:53:57'::timestamp) - extract(epoch from '2026-07-31 04:53: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'), 47493, 'SRID=4674;POINT (-38.804306 -3.538453)', '2026-07-31 04:54:03', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804428 -3.538456)'), GeomFromEWKT('SRID=4674;POINT (-38.804306 -3.538453)'))) / (select extract(epoch from '2026-07-31 04:54:03'::timestamp) - extract(epoch from '2026-07-31 04:53:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804428 -3.538456)'), GeomFromEWKT('SRID=4674;POINT (-38.804306 -3.538453)'))) / (select extract(epoch from '2026-07-31 04:54:03'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.804168 -3.538467)', '2026-07-31 04:54:10', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804306 -3.538453)'), GeomFromEWKT('SRID=4674;POINT (-38.804168 -3.538467)'))) / (select extract(epoch from '2026-07-31 04:54:10'::timestamp) - extract(epoch from '2026-07-31 04:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804306 -3.538453)'), GeomFromEWKT('SRID=4674;POINT (-38.804168 -3.538467)'))) / (select extract(epoch from '2026-07-31 04:54:10'::timestamp) - extract(epoch from '2026-07-31 04:54: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'), 47493, 'SRID=4674;POINT (-38.804024 -3.538463)', '2026-07-31 04:54:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804168 -3.538467)'), GeomFromEWKT('SRID=4674;POINT (-38.804024 -3.538463)'))) / (select extract(epoch from '2026-07-31 04:54:17'::timestamp) - extract(epoch from '2026-07-31 04:54:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804168 -3.538467)'), GeomFromEWKT('SRID=4674;POINT (-38.804024 -3.538463)'))) / (select extract(epoch from '2026-07-31 04:54:17'::timestamp) - extract(epoch from '2026-07-31 04:54:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.803848 -3.538423)', '2026-07-31 04:54:25', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804024 -3.538463)'), GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.538423)'))) / (select extract(epoch from '2026-07-31 04:54:25'::timestamp) - extract(epoch from '2026-07-31 04:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.804024 -3.538463)'), GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.538423)'))) / (select extract(epoch from '2026-07-31 04:54:25'::timestamp) - extract(epoch from '2026-07-31 04:54: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'), 47493, 'SRID=4674;POINT (-38.803722 -3.538403)', '2026-07-31 04:54:31', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.538423)'), GeomFromEWKT('SRID=4674;POINT (-38.803722 -3.538403)'))) / (select extract(epoch from '2026-07-31 04:54:31'::timestamp) - extract(epoch from '2026-07-31 04:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803848 -3.538423)'), GeomFromEWKT('SRID=4674;POINT (-38.803722 -3.538403)'))) / (select extract(epoch from '2026-07-31 04:54:31'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.803519 -3.53843)', '2026-07-31 04:54:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803722 -3.538403)'), GeomFromEWKT('SRID=4674;POINT (-38.803519 -3.53843)'))) / (select extract(epoch from '2026-07-31 04:54:41'::timestamp) - extract(epoch from '2026-07-31 04:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803722 -3.538403)'), GeomFromEWKT('SRID=4674;POINT (-38.803519 -3.53843)'))) / (select extract(epoch from '2026-07-31 04:54:41'::timestamp) - extract(epoch from '2026-07-31 04:54: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'), 47493, 'SRID=4674;POINT (-38.803375 -3.538421)', '2026-07-31 04:54:48', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803519 -3.53843)'), GeomFromEWKT('SRID=4674;POINT (-38.803375 -3.538421)'))) / (select extract(epoch from '2026-07-31 04:54:48'::timestamp) - extract(epoch from '2026-07-31 04:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803519 -3.53843)'), GeomFromEWKT('SRID=4674;POINT (-38.803375 -3.538421)'))) / (select extract(epoch from '2026-07-31 04:54:48'::timestamp) - extract(epoch from '2026-07-31 04:54: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'), 47493, 'SRID=4674;POINT (-38.803225 -3.538407)', '2026-07-31 04:54:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803375 -3.538421)'), GeomFromEWKT('SRID=4674;POINT (-38.803225 -3.538407)'))) / (select extract(epoch from '2026-07-31 04:54:55'::timestamp) - extract(epoch from '2026-07-31 04:54:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803375 -3.538421)'), GeomFromEWKT('SRID=4674;POINT (-38.803225 -3.538407)'))) / (select extract(epoch from '2026-07-31 04:54:55'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.8031 -3.538396)', '2026-07-31 04:55:01', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803225 -3.538407)'), GeomFromEWKT('SRID=4674;POINT (-38.8031 -3.538396)'))) / (select extract(epoch from '2026-07-31 04:55:01'::timestamp) - extract(epoch from '2026-07-31 04:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.803225 -3.538407)'), GeomFromEWKT('SRID=4674;POINT (-38.8031 -3.538396)'))) / (select extract(epoch from '2026-07-31 04:55:01'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.802953 -3.538383)', '2026-07-31 04:55:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8031 -3.538396)'), GeomFromEWKT('SRID=4674;POINT (-38.802953 -3.538383)'))) / (select extract(epoch from '2026-07-31 04:55:08'::timestamp) - extract(epoch from '2026-07-31 04:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8031 -3.538396)'), GeomFromEWKT('SRID=4674;POINT (-38.802953 -3.538383)'))) / (select extract(epoch from '2026-07-31 04:55:08'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.802808 -3.538368)', '2026-07-31 04:55:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802953 -3.538383)'), GeomFromEWKT('SRID=4674;POINT (-38.802808 -3.538368)'))) / (select extract(epoch from '2026-07-31 04:55:15'::timestamp) - extract(epoch from '2026-07-31 04:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802953 -3.538383)'), GeomFromEWKT('SRID=4674;POINT (-38.802808 -3.538368)'))) / (select extract(epoch from '2026-07-31 04:55:15'::timestamp) - extract(epoch from '2026-07-31 04:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.802663 -3.538352)', '2026-07-31 04:55:22', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802808 -3.538368)'), GeomFromEWKT('SRID=4674;POINT (-38.802663 -3.538352)'))) / (select extract(epoch from '2026-07-31 04:55:22'::timestamp) - extract(epoch from '2026-07-31 04:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802808 -3.538368)'), GeomFromEWKT('SRID=4674;POINT (-38.802663 -3.538352)'))) / (select extract(epoch from '2026-07-31 04:55:22'::timestamp) - extract(epoch from '2026-07-31 04:55:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.802521 -3.538351)', '2026-07-31 04:55:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802663 -3.538352)'), GeomFromEWKT('SRID=4674;POINT (-38.802521 -3.538351)'))) / (select extract(epoch from '2026-07-31 04:55:29'::timestamp) - extract(epoch from '2026-07-31 04:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802663 -3.538352)'), GeomFromEWKT('SRID=4674;POINT (-38.802521 -3.538351)'))) / (select extract(epoch from '2026-07-31 04:55:29'::timestamp) - extract(epoch from '2026-07-31 04:55: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'), 47493, 'SRID=4674;POINT (-38.80239 -3.538376)', '2026-07-31 04:55:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802521 -3.538351)'), GeomFromEWKT('SRID=4674;POINT (-38.80239 -3.538376)'))) / (select extract(epoch from '2026-07-31 04:55:36'::timestamp) - extract(epoch from '2026-07-31 04:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802521 -3.538351)'), GeomFromEWKT('SRID=4674;POINT (-38.80239 -3.538376)'))) / (select extract(epoch from '2026-07-31 04:55:36'::timestamp) - extract(epoch from '2026-07-31 04:55: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'), 47493, 'SRID=4674;POINT (-38.802282 -3.538423)', '2026-07-31 04:55:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80239 -3.538376)'), GeomFromEWKT('SRID=4674;POINT (-38.802282 -3.538423)'))) / (select extract(epoch from '2026-07-31 04:55:42'::timestamp) - extract(epoch from '2026-07-31 04:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80239 -3.538376)'), GeomFromEWKT('SRID=4674;POINT (-38.802282 -3.538423)'))) / (select extract(epoch from '2026-07-31 04:55:42'::timestamp) - extract(epoch from '2026-07-31 04:55: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'), 47493, 'SRID=4674;POINT (-38.802164 -3.538478)', '2026-07-31 04:55:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802282 -3.538423)'), GeomFromEWKT('SRID=4674;POINT (-38.802164 -3.538478)'))) / (select extract(epoch from '2026-07-31 04:55:49'::timestamp) - extract(epoch from '2026-07-31 04:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802282 -3.538423)'), GeomFromEWKT('SRID=4674;POINT (-38.802164 -3.538478)'))) / (select extract(epoch from '2026-07-31 04:55:49'::timestamp) - extract(epoch from '2026-07-31 04:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.802064 -3.538538)', '2026-07-31 04:55:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802164 -3.538478)'), GeomFromEWKT('SRID=4674;POINT (-38.802064 -3.538538)'))) / (select extract(epoch from '2026-07-31 04:55:55'::timestamp) - extract(epoch from '2026-07-31 04:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802164 -3.538478)'), GeomFromEWKT('SRID=4674;POINT (-38.802064 -3.538538)'))) / (select extract(epoch from '2026-07-31 04:55:55'::timestamp) - extract(epoch from '2026-07-31 04:55: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'), 47493, 'SRID=4674;POINT (-38.802 -3.53857)', '2026-07-31 04:56:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802064 -3.538538)'), GeomFromEWKT('SRID=4674;POINT (-38.802 -3.53857)'))) / (select extract(epoch from '2026-07-31 04:56:00'::timestamp) - extract(epoch from '2026-07-31 04:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802064 -3.538538)'), GeomFromEWKT('SRID=4674;POINT (-38.802 -3.53857)'))) / (select extract(epoch from '2026-07-31 04:56:00'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.801919 -3.538619)', '2026-07-31 04:56:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802 -3.53857)'), GeomFromEWKT('SRID=4674;POINT (-38.801919 -3.538619)'))) / (select extract(epoch from '2026-07-31 04:56:06'::timestamp) - extract(epoch from '2026-07-31 04:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.802 -3.53857)'), GeomFromEWKT('SRID=4674;POINT (-38.801919 -3.538619)'))) / (select extract(epoch from '2026-07-31 04:56:06'::timestamp) - extract(epoch from '2026-07-31 04:56: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'), 47493, 'SRID=4674;POINT (-38.801796 -3.538643)', '2026-07-31 04:56:13', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801919 -3.538619)'), GeomFromEWKT('SRID=4674;POINT (-38.801796 -3.538643)'))) / (select extract(epoch from '2026-07-31 04:56:13'::timestamp) - extract(epoch from '2026-07-31 04:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801919 -3.538619)'), GeomFromEWKT('SRID=4674;POINT (-38.801796 -3.538643)'))) / (select extract(epoch from '2026-07-31 04:56:13'::timestamp) - extract(epoch from '2026-07-31 04:56: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'), 47493, 'SRID=4674;POINT (-38.80166 -3.538643)', '2026-07-31 04:56:20', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801796 -3.538643)'), GeomFromEWKT('SRID=4674;POINT (-38.80166 -3.538643)'))) / (select extract(epoch from '2026-07-31 04:56:20'::timestamp) - extract(epoch from '2026-07-31 04:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801796 -3.538643)'), GeomFromEWKT('SRID=4674;POINT (-38.80166 -3.538643)'))) / (select extract(epoch from '2026-07-31 04:56:20'::timestamp) - extract(epoch from '2026-07-31 04:56: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'), 47493, 'SRID=4674;POINT (-38.80151 -3.538645)', '2026-07-31 04:56:28', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80166 -3.538643)'), GeomFromEWKT('SRID=4674;POINT (-38.80151 -3.538645)'))) / (select extract(epoch from '2026-07-31 04:56:28'::timestamp) - extract(epoch from '2026-07-31 04:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80166 -3.538643)'), GeomFromEWKT('SRID=4674;POINT (-38.80151 -3.538645)'))) / (select extract(epoch from '2026-07-31 04:56:28'::timestamp) - extract(epoch from '2026-07-31 04:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.801379 -3.538607)', '2026-07-31 04:56:35', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80151 -3.538645)'), GeomFromEWKT('SRID=4674;POINT (-38.801379 -3.538607)'))) / (select extract(epoch from '2026-07-31 04:56:35'::timestamp) - extract(epoch from '2026-07-31 04:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.80151 -3.538645)'), GeomFromEWKT('SRID=4674;POINT (-38.801379 -3.538607)'))) / (select extract(epoch from '2026-07-31 04:56:35'::timestamp) - extract(epoch from '2026-07-31 04:56: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'), 47493, 'SRID=4674;POINT (-38.801255 -3.538553)', '2026-07-31 04:56:42', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801379 -3.538607)'), GeomFromEWKT('SRID=4674;POINT (-38.801255 -3.538553)'))) / (select extract(epoch from '2026-07-31 04:56:42'::timestamp) - extract(epoch from '2026-07-31 04:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801379 -3.538607)'), GeomFromEWKT('SRID=4674;POINT (-38.801255 -3.538553)'))) / (select extract(epoch from '2026-07-31 04:56:42'::timestamp) - extract(epoch from '2026-07-31 04:56: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'), 47493, 'SRID=4674;POINT (-38.801139 -3.538515)', '2026-07-31 04:56:48', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801255 -3.538553)'), GeomFromEWKT('SRID=4674;POINT (-38.801139 -3.538515)'))) / (select extract(epoch from '2026-07-31 04:56:48'::timestamp) - extract(epoch from '2026-07-31 04:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801255 -3.538553)'), GeomFromEWKT('SRID=4674;POINT (-38.801139 -3.538515)'))) / (select extract(epoch from '2026-07-31 04:56:48'::timestamp) - extract(epoch from '2026-07-31 04:56:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.801016 -3.538468)', '2026-07-31 04:56:55', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801139 -3.538515)'), GeomFromEWKT('SRID=4674;POINT (-38.801016 -3.538468)'))) / (select extract(epoch from '2026-07-31 04:56:55'::timestamp) - extract(epoch from '2026-07-31 04:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801139 -3.538515)'), GeomFromEWKT('SRID=4674;POINT (-38.801016 -3.538468)'))) / (select extract(epoch from '2026-07-31 04:56:55'::timestamp) - extract(epoch from '2026-07-31 04:56: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'), 47493, 'SRID=4674;POINT (-38.800868 -3.538409)', '2026-07-31 04:57:03', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801016 -3.538468)'), GeomFromEWKT('SRID=4674;POINT (-38.800868 -3.538409)'))) / (select extract(epoch from '2026-07-31 04:57:03'::timestamp) - extract(epoch from '2026-07-31 04:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.801016 -3.538468)'), GeomFromEWKT('SRID=4674;POINT (-38.800868 -3.538409)'))) / (select extract(epoch from '2026-07-31 04:57:03'::timestamp) - extract(epoch from '2026-07-31 04:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.800741 -3.538361)', '2026-07-31 04:57:10', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800868 -3.538409)'), GeomFromEWKT('SRID=4674;POINT (-38.800741 -3.538361)'))) / (select extract(epoch from '2026-07-31 04:57:10'::timestamp) - extract(epoch from '2026-07-31 04:57:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800868 -3.538409)'), GeomFromEWKT('SRID=4674;POINT (-38.800741 -3.538361)'))) / (select extract(epoch from '2026-07-31 04:57:10'::timestamp) - extract(epoch from '2026-07-31 04:57: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'), 47493, 'SRID=4674;POINT (-38.800649 -3.538327)', '2026-07-31 04:57:15', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800741 -3.538361)'), GeomFromEWKT('SRID=4674;POINT (-38.800649 -3.538327)'))) / (select extract(epoch from '2026-07-31 04:57:15'::timestamp) - extract(epoch from '2026-07-31 04:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800741 -3.538361)'), GeomFromEWKT('SRID=4674;POINT (-38.800649 -3.538327)'))) / (select extract(epoch from '2026-07-31 04:57:15'::timestamp) - extract(epoch from '2026-07-31 04:57: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'), 47493, 'SRID=4674;POINT (-38.800526 -3.538277)', '2026-07-31 04:57:22', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800649 -3.538327)'), GeomFromEWKT('SRID=4674;POINT (-38.800526 -3.538277)'))) / (select extract(epoch from '2026-07-31 04:57:22'::timestamp) - extract(epoch from '2026-07-31 04:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800649 -3.538327)'), GeomFromEWKT('SRID=4674;POINT (-38.800526 -3.538277)'))) / (select extract(epoch from '2026-07-31 04:57:22'::timestamp) - extract(epoch from '2026-07-31 04: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'), 47493, 'SRID=4674;POINT (-38.8004 -3.53821)', '2026-07-31 04:57:29', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800526 -3.538277)'), GeomFromEWKT('SRID=4674;POINT (-38.8004 -3.53821)'))) / (select extract(epoch from '2026-07-31 04:57:29'::timestamp) - extract(epoch from '2026-07-31 04:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800526 -3.538277)'), GeomFromEWKT('SRID=4674;POINT (-38.8004 -3.53821)'))) / (select extract(epoch from '2026-07-31 04:57:29'::timestamp) - extract(epoch from '2026-07-31 04:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.800275 -3.538097)', '2026-07-31 04:57:37', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8004 -3.53821)'), GeomFromEWKT('SRID=4674;POINT (-38.800275 -3.538097)'))) / (select extract(epoch from '2026-07-31 04:57:37'::timestamp) - extract(epoch from '2026-07-31 04:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.8004 -3.53821)'), GeomFromEWKT('SRID=4674;POINT (-38.800275 -3.538097)'))) / (select extract(epoch from '2026-07-31 04:57:37'::timestamp) - extract(epoch from '2026-07-31 04:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.800187 -3.538005)', '2026-07-31 04:57:43', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800275 -3.538097)'), GeomFromEWKT('SRID=4674;POINT (-38.800187 -3.538005)'))) / (select extract(epoch from '2026-07-31 04:57:43'::timestamp) - extract(epoch from '2026-07-31 04:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800275 -3.538097)'), GeomFromEWKT('SRID=4674;POINT (-38.800187 -3.538005)'))) / (select extract(epoch from '2026-07-31 04:57:43'::timestamp) - extract(epoch from '2026-07-31 04:57: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'), 47493, 'SRID=4674;POINT (-38.800073 -3.537921)', '2026-07-31 04:57:50', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800187 -3.538005)'), GeomFromEWKT('SRID=4674;POINT (-38.800073 -3.537921)'))) / (select extract(epoch from '2026-07-31 04:57:50'::timestamp) - extract(epoch from '2026-07-31 04:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800187 -3.538005)'), GeomFromEWKT('SRID=4674;POINT (-38.800073 -3.537921)'))) / (select extract(epoch from '2026-07-31 04:57:50'::timestamp) - extract(epoch from '2026-07-31 04:57: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'), 47493, 'SRID=4674;POINT (-38.799959 -3.537859)', '2026-07-31 04:57:56', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800073 -3.537921)'), GeomFromEWKT('SRID=4674;POINT (-38.799959 -3.537859)'))) / (select extract(epoch from '2026-07-31 04:57:56'::timestamp) - extract(epoch from '2026-07-31 04:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.800073 -3.537921)'), GeomFromEWKT('SRID=4674;POINT (-38.799959 -3.537859)'))) / (select extract(epoch from '2026-07-31 04:57:56'::timestamp) - extract(epoch from '2026-07-31 04:57: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'), 47493, 'SRID=4674;POINT (-38.799851 -3.537857)', '2026-07-31 04:58:02', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799959 -3.537859)'), GeomFromEWKT('SRID=4674;POINT (-38.799851 -3.537857)'))) / (select extract(epoch from '2026-07-31 04:58:02'::timestamp) - extract(epoch from '2026-07-31 04:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799959 -3.537859)'), GeomFromEWKT('SRID=4674;POINT (-38.799851 -3.537857)'))) / (select extract(epoch from '2026-07-31 04:58:02'::timestamp) - extract(epoch from '2026-07-31 04:57: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'), 47493, 'SRID=4674;POINT (-38.799739 -3.537878)', '2026-07-31 04:58:09', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799851 -3.537857)'), GeomFromEWKT('SRID=4674;POINT (-38.799739 -3.537878)'))) / (select extract(epoch from '2026-07-31 04:58:09'::timestamp) - extract(epoch from '2026-07-31 04:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799851 -3.537857)'), GeomFromEWKT('SRID=4674;POINT (-38.799739 -3.537878)'))) / (select extract(epoch from '2026-07-31 04:58:09'::timestamp) - extract(epoch from '2026-07-31 04:58: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'), 47493, 'SRID=4674;POINT (-38.799625 -3.537892)', '2026-07-31 04:58:16', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799739 -3.537878)'), GeomFromEWKT('SRID=4674;POINT (-38.799625 -3.537892)'))) / (select extract(epoch from '2026-07-31 04:58:16'::timestamp) - extract(epoch from '2026-07-31 04:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799739 -3.537878)'), GeomFromEWKT('SRID=4674;POINT (-38.799625 -3.537892)'))) / (select extract(epoch from '2026-07-31 04:58:16'::timestamp) - extract(epoch from '2026-07-31 04:58: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'), 47493, 'SRID=4674;POINT (-38.79946 -3.537912)', '2026-07-31 04:58:24', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799625 -3.537892)'), GeomFromEWKT('SRID=4674;POINT (-38.79946 -3.537912)'))) / (select extract(epoch from '2026-07-31 04:58:24'::timestamp) - extract(epoch from '2026-07-31 04:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799625 -3.537892)'), GeomFromEWKT('SRID=4674;POINT (-38.79946 -3.537912)'))) / (select extract(epoch from '2026-07-31 04:58:24'::timestamp) - extract(epoch from '2026-07-31 04:58: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'), 47493, 'SRID=4674;POINT (-38.799346 -3.537919)', '2026-07-31 04:58:30', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79946 -3.537912)'), GeomFromEWKT('SRID=4674;POINT (-38.799346 -3.537919)'))) / (select extract(epoch from '2026-07-31 04:58:30'::timestamp) - extract(epoch from '2026-07-31 04:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79946 -3.537912)'), GeomFromEWKT('SRID=4674;POINT (-38.799346 -3.537919)'))) / (select extract(epoch from '2026-07-31 04:58:30'::timestamp) - extract(epoch from '2026-07-31 04:58: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'), 47493, 'SRID=4674;POINT (-38.799215 -3.537927)', '2026-07-31 04:58:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799346 -3.537919)'), GeomFromEWKT('SRID=4674;POINT (-38.799215 -3.537927)'))) / (select extract(epoch from '2026-07-31 04:58:37'::timestamp) - extract(epoch from '2026-07-31 04:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799346 -3.537919)'), GeomFromEWKT('SRID=4674;POINT (-38.799215 -3.537927)'))) / (select extract(epoch from '2026-07-31 04:58:37'::timestamp) - extract(epoch from '2026-07-31 04:58: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'), 47493, 'SRID=4674;POINT (-38.799127 -3.537936)', '2026-07-31 04:58:42', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799215 -3.537927)'), GeomFromEWKT('SRID=4674;POINT (-38.799127 -3.537936)'))) / (select extract(epoch from '2026-07-31 04:58:42'::timestamp) - extract(epoch from '2026-07-31 04:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799215 -3.537927)'), GeomFromEWKT('SRID=4674;POINT (-38.799127 -3.537936)'))) / (select extract(epoch from '2026-07-31 04:58:42'::timestamp) - extract(epoch from '2026-07-31 04:58: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'), 47493, 'SRID=4674;POINT (-38.799032 -3.537956)', '2026-07-31 04:58:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799127 -3.537936)'), GeomFromEWKT('SRID=4674;POINT (-38.799032 -3.537956)'))) / (select extract(epoch from '2026-07-31 04:58:48'::timestamp) - extract(epoch from '2026-07-31 04:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799127 -3.537936)'), GeomFromEWKT('SRID=4674;POINT (-38.799032 -3.537956)'))) / (select extract(epoch from '2026-07-31 04:58:48'::timestamp) - extract(epoch from '2026-07-31 04:58:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.798968 -3.537977)', '2026-07-31 04:58:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799032 -3.537956)'), GeomFromEWKT('SRID=4674;POINT (-38.798968 -3.537977)'))) / (select extract(epoch from '2026-07-31 04:58:52'::timestamp) - extract(epoch from '2026-07-31 04:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799032 -3.537956)'), GeomFromEWKT('SRID=4674;POINT (-38.798968 -3.537977)'))) / (select extract(epoch from '2026-07-31 04:58:52'::timestamp) - extract(epoch from '2026-07-31 04:58: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'), 47493, 'SRID=4674;POINT (-38.798863 -3.538013)', '2026-07-31 04:58:58', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798968 -3.537977)'), GeomFromEWKT('SRID=4674;POINT (-38.798863 -3.538013)'))) / (select extract(epoch from '2026-07-31 04:58:58'::timestamp) - extract(epoch from '2026-07-31 04:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798968 -3.537977)'), GeomFromEWKT('SRID=4674;POINT (-38.798863 -3.538013)'))) / (select extract(epoch from '2026-07-31 04:58:58'::timestamp) - extract(epoch from '2026-07-31 04:58: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'), 47493, 'SRID=4674;POINT (-38.798753 -3.53803)', '2026-07-31 04:59:04', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798863 -3.538013)'), GeomFromEWKT('SRID=4674;POINT (-38.798753 -3.53803)'))) / (select extract(epoch from '2026-07-31 04:59:04'::timestamp) - extract(epoch from '2026-07-31 04:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798863 -3.538013)'), GeomFromEWKT('SRID=4674;POINT (-38.798753 -3.53803)'))) / (select extract(epoch from '2026-07-31 04:59:04'::timestamp) - extract(epoch from '2026-07-31 04:58: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'), 47493, 'SRID=4674;POINT (-38.798652 -3.538014)', '2026-07-31 04:59:10', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798753 -3.53803)'), GeomFromEWKT('SRID=4674;POINT (-38.798652 -3.538014)'))) / (select extract(epoch from '2026-07-31 04:59:10'::timestamp) - extract(epoch from '2026-07-31 04:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798753 -3.53803)'), GeomFromEWKT('SRID=4674;POINT (-38.798652 -3.538014)'))) / (select extract(epoch from '2026-07-31 04:59:10'::timestamp) - extract(epoch from '2026-07-31 04:59: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'), 47493, 'SRID=4674;POINT (-38.798584 -3.538032)', '2026-07-31 04:59:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798652 -3.538014)'), GeomFromEWKT('SRID=4674;POINT (-38.798584 -3.538032)'))) / (select extract(epoch from '2026-07-31 04:59:16'::timestamp) - extract(epoch from '2026-07-31 04:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798652 -3.538014)'), GeomFromEWKT('SRID=4674;POINT (-38.798584 -3.538032)'))) / (select extract(epoch from '2026-07-31 04:59:16'::timestamp) - extract(epoch from '2026-07-31 04:59: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'), 47493, 'SRID=4674;POINT (-38.798563 -3.538034)', '2026-07-31 04:59:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798584 -3.538032)'), GeomFromEWKT('SRID=4674;POINT (-38.798563 -3.538034)'))) / (select extract(epoch from '2026-07-31 04:59:26'::timestamp) - extract(epoch from '2026-07-31 04:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798584 -3.538032)'), GeomFromEWKT('SRID=4674;POINT (-38.798563 -3.538034)'))) / (select extract(epoch from '2026-07-31 04:59:26'::timestamp) - extract(epoch from '2026-07-31 04:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.798572 -3.538029)', '2026-07-31 04:59:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798563 -3.538034)'), GeomFromEWKT('SRID=4674;POINT (-38.798572 -3.538029)'))) / (select extract(epoch from '2026-07-31 04:59:33'::timestamp) - extract(epoch from '2026-07-31 04:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798563 -3.538034)'), GeomFromEWKT('SRID=4674;POINT (-38.798572 -3.538029)'))) / (select extract(epoch from '2026-07-31 04:59:33'::timestamp) - extract(epoch from '2026-07-31 04:59:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.798618 -3.538018)', '2026-07-31 04:59:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798572 -3.538029)'), GeomFromEWKT('SRID=4674;POINT (-38.798618 -3.538018)'))) / (select extract(epoch from '2026-07-31 04:59:42'::timestamp) - extract(epoch from '2026-07-31 04:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798572 -3.538029)'), GeomFromEWKT('SRID=4674;POINT (-38.798618 -3.538018)'))) / (select extract(epoch from '2026-07-31 04:59:42'::timestamp) - extract(epoch from '2026-07-31 04:59: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'), 47493, 'SRID=4674;POINT (-38.798658 -3.53801)', '2026-07-31 04:59:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798618 -3.538018)'), GeomFromEWKT('SRID=4674;POINT (-38.798658 -3.53801)'))) / (select extract(epoch from '2026-07-31 04:59:49'::timestamp) - extract(epoch from '2026-07-31 04:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798618 -3.538018)'), GeomFromEWKT('SRID=4674;POINT (-38.798658 -3.53801)'))) / (select extract(epoch from '2026-07-31 04:59:49'::timestamp) - extract(epoch from '2026-07-31 04:59:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.798719 -3.537981)', '2026-07-31 04:59:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798658 -3.53801)'), GeomFromEWKT('SRID=4674;POINT (-38.798719 -3.537981)'))) / (select extract(epoch from '2026-07-31 04:59:59'::timestamp) - extract(epoch from '2026-07-31 04:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798658 -3.53801)'), GeomFromEWKT('SRID=4674;POINT (-38.798719 -3.537981)'))) / (select extract(epoch from '2026-07-31 04:59:59'::timestamp) - extract(epoch from '2026-07-31 04:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.79876 -3.53798)', '2026-07-31 05:00:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798719 -3.537981)'), GeomFromEWKT('SRID=4674;POINT (-38.79876 -3.53798)'))) / (select extract(epoch from '2026-07-31 05:00:09'::timestamp) - extract(epoch from '2026-07-31 04:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798719 -3.537981)'), GeomFromEWKT('SRID=4674;POINT (-38.79876 -3.53798)'))) / (select extract(epoch from '2026-07-31 05:00:09'::timestamp) - extract(epoch from '2026-07-31 04:59: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'), 47493, 'SRID=4674;POINT (-38.798803 -3.53798)', '2026-07-31 05:00:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79876 -3.53798)'), GeomFromEWKT('SRID=4674;POINT (-38.798803 -3.53798)'))) / (select extract(epoch from '2026-07-31 05:00:18'::timestamp) - extract(epoch from '2026-07-31 05:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79876 -3.53798)'), GeomFromEWKT('SRID=4674;POINT (-38.798803 -3.53798)'))) / (select extract(epoch from '2026-07-31 05:00:18'::timestamp) - extract(epoch from '2026-07-31 05:00: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'), 47493, 'SRID=4674;POINT (-38.79884 -3.537986)', '2026-07-31 05:00:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798803 -3.53798)'), GeomFromEWKT('SRID=4674;POINT (-38.79884 -3.537986)'))) / (select extract(epoch from '2026-07-31 05:00:25'::timestamp) - extract(epoch from '2026-07-31 05:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798803 -3.53798)'), GeomFromEWKT('SRID=4674;POINT (-38.79884 -3.537986)'))) / (select extract(epoch from '2026-07-31 05:00:25'::timestamp) - extract(epoch from '2026-07-31 05:00: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'), 47493, 'SRID=4674;POINT (-38.798887 -3.537984)', '2026-07-31 05:00:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79884 -3.537986)'), GeomFromEWKT('SRID=4674;POINT (-38.798887 -3.537984)'))) / (select extract(epoch from '2026-07-31 05:00:32'::timestamp) - extract(epoch from '2026-07-31 05:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79884 -3.537986)'), GeomFromEWKT('SRID=4674;POINT (-38.798887 -3.537984)'))) / (select extract(epoch from '2026-07-31 05:00:32'::timestamp) - extract(epoch from '2026-07-31 05:00:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.798937 -3.537987)', '2026-07-31 05:00:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798887 -3.537984)'), GeomFromEWKT('SRID=4674;POINT (-38.798937 -3.537987)'))) / (select extract(epoch from '2026-07-31 05:00:40'::timestamp) - extract(epoch from '2026-07-31 05:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798887 -3.537984)'), GeomFromEWKT('SRID=4674;POINT (-38.798937 -3.537987)'))) / (select extract(epoch from '2026-07-31 05:00:40'::timestamp) - extract(epoch from '2026-07-31 05:00: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'), 47493, 'SRID=4674;POINT (-38.798979 -3.538001)', '2026-07-31 05:00:48', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798937 -3.537987)'), GeomFromEWKT('SRID=4674;POINT (-38.798979 -3.538001)'))) / (select extract(epoch from '2026-07-31 05:00:48'::timestamp) - extract(epoch from '2026-07-31 05:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798937 -3.537987)'), GeomFromEWKT('SRID=4674;POINT (-38.798979 -3.538001)'))) / (select extract(epoch from '2026-07-31 05:00:48'::timestamp) - extract(epoch from '2026-07-31 05:00:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799015 -3.538012)', '2026-07-31 05:00:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798979 -3.538001)'), GeomFromEWKT('SRID=4674;POINT (-38.799015 -3.538012)'))) / (select extract(epoch from '2026-07-31 05:00:55'::timestamp) - extract(epoch from '2026-07-31 05:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.798979 -3.538001)'), GeomFromEWKT('SRID=4674;POINT (-38.799015 -3.538012)'))) / (select extract(epoch from '2026-07-31 05:00:55'::timestamp) - extract(epoch from '2026-07-31 05:00: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'), 47493, 'SRID=4674;POINT (-38.799065 -3.538005)', '2026-07-31 05:01:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799015 -3.538012)'), GeomFromEWKT('SRID=4674;POINT (-38.799065 -3.538005)'))) / (select extract(epoch from '2026-07-31 05:01:02'::timestamp) - extract(epoch from '2026-07-31 05:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799015 -3.538012)'), GeomFromEWKT('SRID=4674;POINT (-38.799065 -3.538005)'))) / (select extract(epoch from '2026-07-31 05:01:02'::timestamp) - extract(epoch from '2026-07-31 05:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799096 -3.537998)', '2026-07-31 05:01:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799065 -3.538005)'), GeomFromEWKT('SRID=4674;POINT (-38.799096 -3.537998)'))) / (select extract(epoch from '2026-07-31 05:01:08'::timestamp) - extract(epoch from '2026-07-31 05:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799065 -3.538005)'), GeomFromEWKT('SRID=4674;POINT (-38.799096 -3.537998)'))) / (select extract(epoch from '2026-07-31 05:01:08'::timestamp) - extract(epoch from '2026-07-31 05:01:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799108 -3.537998)', '2026-07-31 05:01:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799096 -3.537998)'), GeomFromEWKT('SRID=4674;POINT (-38.799108 -3.537998)'))) / (select extract(epoch from '2026-07-31 05:01:11'::timestamp) - extract(epoch from '2026-07-31 05:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799096 -3.537998)'), GeomFromEWKT('SRID=4674;POINT (-38.799108 -3.537998)'))) / (select extract(epoch from '2026-07-31 05:01:11'::timestamp) - extract(epoch from '2026-07-31 05:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799129 -3.537995)', '2026-07-31 05:01:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799108 -3.537998)'), GeomFromEWKT('SRID=4674;POINT (-38.799129 -3.537995)'))) / (select extract(epoch from '2026-07-31 05:01:14'::timestamp) - extract(epoch from '2026-07-31 05:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799108 -3.537998)'), GeomFromEWKT('SRID=4674;POINT (-38.799129 -3.537995)'))) / (select extract(epoch from '2026-07-31 05:01:14'::timestamp) - extract(epoch from '2026-07-31 05:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799163 -3.537998)', '2026-07-31 05:01:20', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799129 -3.537995)'), GeomFromEWKT('SRID=4674;POINT (-38.799163 -3.537998)'))) / (select extract(epoch from '2026-07-31 05:01:20'::timestamp) - extract(epoch from '2026-07-31 05:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799129 -3.537995)'), GeomFromEWKT('SRID=4674;POINT (-38.799163 -3.537998)'))) / (select extract(epoch from '2026-07-31 05:01:20'::timestamp) - extract(epoch from '2026-07-31 05:01: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'), 47493, 'SRID=4674;POINT (-38.799199 -3.538001)', '2026-07-31 05:01:26', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799163 -3.537998)'), GeomFromEWKT('SRID=4674;POINT (-38.799199 -3.538001)'))) / (select extract(epoch from '2026-07-31 05:01:26'::timestamp) - extract(epoch from '2026-07-31 05:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799163 -3.537998)'), GeomFromEWKT('SRID=4674;POINT (-38.799199 -3.538001)'))) / (select extract(epoch from '2026-07-31 05:01:26'::timestamp) - extract(epoch from '2026-07-31 05:01:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799208 -3.538015)', '2026-07-31 05:01:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799199 -3.538001)'), GeomFromEWKT('SRID=4674;POINT (-38.799208 -3.538015)'))) / (select extract(epoch from '2026-07-31 05:01:38'::timestamp) - extract(epoch from '2026-07-31 05:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799199 -3.538001)'), GeomFromEWKT('SRID=4674;POINT (-38.799208 -3.538015)'))) / (select extract(epoch from '2026-07-31 05:01:38'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799191 -3.538015)', '2026-07-31 05:01:46', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799208 -3.538015)'), GeomFromEWKT('SRID=4674;POINT (-38.799191 -3.538015)'))) / (select extract(epoch from '2026-07-31 05:01:46'::timestamp) - extract(epoch from '2026-07-31 05:01:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799208 -3.538015)'), GeomFromEWKT('SRID=4674;POINT (-38.799191 -3.538015)'))) / (select extract(epoch from '2026-07-31 05:01:46'::timestamp) - extract(epoch from '2026-07-31 05:01:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799197 -3.538014)', '2026-07-31 05:01:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799191 -3.538015)'), GeomFromEWKT('SRID=4674;POINT (-38.799197 -3.538014)'))) / (select extract(epoch from '2026-07-31 05:01:53'::timestamp) - extract(epoch from '2026-07-31 05:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799191 -3.538015)'), GeomFromEWKT('SRID=4674;POINT (-38.799197 -3.538014)'))) / (select extract(epoch from '2026-07-31 05:01:53'::timestamp) - extract(epoch from '2026-07-31 05:01:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799221 -3.538014)', '2026-07-31 05:02:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799197 -3.538014)'), GeomFromEWKT('SRID=4674;POINT (-38.799221 -3.538014)'))) / (select extract(epoch from '2026-07-31 05:02:00'::timestamp) - extract(epoch from '2026-07-31 05:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799197 -3.538014)'), GeomFromEWKT('SRID=4674;POINT (-38.799221 -3.538014)'))) / (select extract(epoch from '2026-07-31 05:02:00'::timestamp) - extract(epoch from '2026-07-31 05:01: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'), 47493, 'SRID=4674;POINT (-38.799271 -3.53801)', '2026-07-31 05:02:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799221 -3.538014)'), GeomFromEWKT('SRID=4674;POINT (-38.799271 -3.53801)'))) / (select extract(epoch from '2026-07-31 05:02:09'::timestamp) - extract(epoch from '2026-07-31 05:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799221 -3.538014)'), GeomFromEWKT('SRID=4674;POINT (-38.799271 -3.53801)'))) / (select extract(epoch from '2026-07-31 05:02:09'::timestamp) - extract(epoch from '2026-07-31 05:02: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'), 47493, 'SRID=4674;POINT (-38.799329 -3.538006)', '2026-07-31 05:02:21', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799271 -3.53801)'), GeomFromEWKT('SRID=4674;POINT (-38.799329 -3.538006)'))) / (select extract(epoch from '2026-07-31 05:02:21'::timestamp) - extract(epoch from '2026-07-31 05:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799271 -3.53801)'), GeomFromEWKT('SRID=4674;POINT (-38.799329 -3.538006)'))) / (select extract(epoch from '2026-07-31 05:02:21'::timestamp) - extract(epoch from '2026-07-31 05:02: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'), 47493, 'SRID=4674;POINT (-38.799376 -3.538019)', '2026-07-31 05:02:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799329 -3.538006)'), GeomFromEWKT('SRID=4674;POINT (-38.799376 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:02:34'::timestamp) - extract(epoch from '2026-07-31 05:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799329 -3.538006)'), GeomFromEWKT('SRID=4674;POINT (-38.799376 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:02:34'::timestamp) - extract(epoch from '2026-07-31 05:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799365 -3.538039)', '2026-07-31 05:02:42', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799376 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799365 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:02:42'::timestamp) - extract(epoch from '2026-07-31 05:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799376 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799365 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:02:42'::timestamp) - extract(epoch from '2026-07-31 05:02: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'), 47493, 'SRID=4674;POINT (-38.79937 -3.53804)', '2026-07-31 05:02:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799365 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.79937 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:02:49'::timestamp) - extract(epoch from '2026-07-31 05:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799365 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.79937 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:02:49'::timestamp) - extract(epoch from '2026-07-31 05:02: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'), 47493, 'SRID=4674;POINT (-38.799371 -3.538043)', '2026-07-31 05:03:02', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79937 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799371 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:03:02'::timestamp) - extract(epoch from '2026-07-31 05:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79937 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799371 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:03:02'::timestamp) - extract(epoch from '2026-07-31 05:02: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'), 47493, 'SRID=4674;POINT (-38.799374 -3.538049)', '2026-07-31 05:03:12', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799371 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799374 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:03:12'::timestamp) - extract(epoch from '2026-07-31 05:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799371 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799374 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:03:12'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799379 -3.538046)', '2026-07-31 05:03:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799374 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:03:25'::timestamp) - extract(epoch from '2026-07-31 05:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799374 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:03:25'::timestamp) - extract(epoch from '2026-07-31 05:03: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'), 47493, 'SRID=4674;POINT (-38.799377 -3.538049)', '2026-07-31 05:03:39', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:03:39'::timestamp) - extract(epoch from '2026-07-31 05:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:03:39'::timestamp) - extract(epoch from '2026-07-31 05:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.79938 -3.538055)', '2026-07-31 05:03:53', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538055)'))) / (select extract(epoch from '2026-07-31 05:03:53'::timestamp) - extract(epoch from '2026-07-31 05:03:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538055)'))) / (select extract(epoch from '2026-07-31 05:03:53'::timestamp) - extract(epoch from '2026-07-31 05:03:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799383 -3.538057)', '2026-07-31 05:04:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538055)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538057)'))) / (select extract(epoch from '2026-07-31 05:04:01'::timestamp) - extract(epoch from '2026-07-31 05:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538055)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538057)'))) / (select extract(epoch from '2026-07-31 05:04:01'::timestamp) - extract(epoch from '2026-07-31 05:03:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799373 -3.538044)', '2026-07-31 05:04:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538057)'), GeomFromEWKT('SRID=4674;POINT (-38.799373 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:04:19'::timestamp) - extract(epoch from '2026-07-31 05:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538057)'), GeomFromEWKT('SRID=4674;POINT (-38.799373 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:04:19'::timestamp) - extract(epoch from '2026-07-31 05:04:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799375 -3.538042)', '2026-07-31 05:04:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799373 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:04:30'::timestamp) - extract(epoch from '2026-07-31 05:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799373 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:04:30'::timestamp) - extract(epoch from '2026-07-31 05: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'), 47493, 'SRID=4674;POINT (-38.799375 -3.538034)', '2026-07-31 05:04:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538034)'))) / (select extract(epoch from '2026-07-31 05:04:47'::timestamp) - extract(epoch from '2026-07-31 05:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538034)'))) / (select extract(epoch from '2026-07-31 05:04:47'::timestamp) - extract(epoch from '2026-07-31 05:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799374 -3.538035)', '2026-07-31 05:04:53', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538034)'), GeomFromEWKT('SRID=4674;POINT (-38.799374 -3.538035)'))) / (select extract(epoch from '2026-07-31 05:04:53'::timestamp) - extract(epoch from '2026-07-31 05:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538034)'), GeomFromEWKT('SRID=4674;POINT (-38.799374 -3.538035)'))) / (select extract(epoch from '2026-07-31 05:04:53'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799375 -3.538038)', '2026-07-31 05:05:03', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799374 -3.538035)'), GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:05:03'::timestamp) - extract(epoch from '2026-07-31 05:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799374 -3.538035)'), GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:05:03'::timestamp) - extract(epoch from '2026-07-31 05:04: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'), 47493, 'SRID=4674;POINT (-38.799382 -3.538036)', '2026-07-31 05:05:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538036)'))) / (select extract(epoch from '2026-07-31 05:05:10'::timestamp) - extract(epoch from '2026-07-31 05:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538036)'))) / (select extract(epoch from '2026-07-31 05:05:10'::timestamp) - extract(epoch from '2026-07-31 05:05: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'), 47493, 'SRID=4674;POINT (-38.799384 -3.538032)', '2026-07-31 05:05:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538036)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538032)'))) / (select extract(epoch from '2026-07-31 05:05:16'::timestamp) - extract(epoch from '2026-07-31 05:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538036)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538032)'))) / (select extract(epoch from '2026-07-31 05:05:16'::timestamp) - extract(epoch from '2026-07-31 05:05:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799382 -3.53804)', '2026-07-31 05:05:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538032)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:05:28'::timestamp) - extract(epoch from '2026-07-31 05:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538032)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:05:28'::timestamp) - extract(epoch from '2026-07-31 05:05:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799387 -3.538047)', '2026-07-31 05:05:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538047)'))) / (select extract(epoch from '2026-07-31 05:05:39'::timestamp) - extract(epoch from '2026-07-31 05:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538047)'))) / (select extract(epoch from '2026-07-31 05:05:39'::timestamp) - extract(epoch from '2026-07-31 05:05: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'), 47493, 'SRID=4674;POINT (-38.79938 -3.538054)', '2026-07-31 05:05:47', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538047)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538054)'))) / (select extract(epoch from '2026-07-31 05:05:47'::timestamp) - extract(epoch from '2026-07-31 05:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538047)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538054)'))) / (select extract(epoch from '2026-07-31 05:05:47'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799382 -3.538051)', '2026-07-31 05:05:58', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538054)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538051)'))) / (select extract(epoch from '2026-07-31 05:05:58'::timestamp) - extract(epoch from '2026-07-31 05:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538054)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538051)'))) / (select extract(epoch from '2026-07-31 05:05:58'::timestamp) - extract(epoch from '2026-07-31 05:05: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'), 47493, 'SRID=4674;POINT (-38.799387 -3.538045)', '2026-07-31 05:06:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538051)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538045)'))) / (select extract(epoch from '2026-07-31 05:06:05'::timestamp) - extract(epoch from '2026-07-31 05:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538051)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538045)'))) / (select extract(epoch from '2026-07-31 05:06:05'::timestamp) - extract(epoch from '2026-07-31 05:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799388 -3.538043)', '2026-07-31 05:06:23', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538045)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:06:23'::timestamp) - extract(epoch from '2026-07-31 05:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538045)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:06:23'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799389 -3.538042)', '2026-07-31 05:06:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:06:32'::timestamp) - extract(epoch from '2026-07-31 05:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:06:32'::timestamp) - extract(epoch from '2026-07-31 05:06:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799391 -3.538042)', '2026-07-31 05:06:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:06:41'::timestamp) - extract(epoch from '2026-07-31 05:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:06:41'::timestamp) - extract(epoch from '2026-07-31 05:06:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799391 -3.538039)', '2026-07-31 05:06:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:06:49'::timestamp) - extract(epoch from '2026-07-31 05:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:06:49'::timestamp) - extract(epoch from '2026-07-31 05:06: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'), 47493, 'SRID=4674;POINT (-38.799393 -3.538032)', '2026-07-31 05:06:55', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538032)'))) / (select extract(epoch from '2026-07-31 05:06:55'::timestamp) - extract(epoch from '2026-07-31 05:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538032)'))) / (select extract(epoch from '2026-07-31 05:06:55'::timestamp) - extract(epoch from '2026-07-31 05:06: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'), 47493, 'SRID=4674;POINT (-38.799392 -3.538028)', '2026-07-31 05:07:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538032)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538028)'))) / (select extract(epoch from '2026-07-31 05:07:01'::timestamp) - extract(epoch from '2026-07-31 05:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538032)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538028)'))) / (select extract(epoch from '2026-07-31 05:07:01'::timestamp) - extract(epoch from '2026-07-31 05: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'), 47493, 'SRID=4674;POINT (-38.799396 -3.538028)', '2026-07-31 05:07:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538028)'), GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538028)'))) / (select extract(epoch from '2026-07-31 05:07:08'::timestamp) - extract(epoch from '2026-07-31 05:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538028)'), GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538028)'))) / (select extract(epoch from '2026-07-31 05:07:08'::timestamp) - extract(epoch from '2026-07-31 05:07: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'), 47493, 'SRID=4674;POINT (-38.799404 -3.538022)', '2026-07-31 05:07:20', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538028)'), GeomFromEWKT('SRID=4674;POINT (-38.799404 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:07:20'::timestamp) - extract(epoch from '2026-07-31 05:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538028)'), GeomFromEWKT('SRID=4674;POINT (-38.799404 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:07:20'::timestamp) - extract(epoch from '2026-07-31 05: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'), 47493, 'SRID=4674;POINT (-38.799392 -3.538031)', '2026-07-31 05:07:33', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799404 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538031)'))) / (select extract(epoch from '2026-07-31 05:07:33'::timestamp) - extract(epoch from '2026-07-31 05:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799404 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538031)'))) / (select extract(epoch from '2026-07-31 05:07:33'::timestamp) - extract(epoch from '2026-07-31 05:07: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'), 47493, 'SRID=4674;POINT (-38.799389 -3.538031)', '2026-07-31 05:07:43', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538031)'))) / (select extract(epoch from '2026-07-31 05:07:43'::timestamp) - extract(epoch from '2026-07-31 05:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538031)'))) / (select extract(epoch from '2026-07-31 05:07:43'::timestamp) - extract(epoch from '2026-07-31 05:07:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799377 -3.538034)', '2026-07-31 05:07:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538034)'))) / (select extract(epoch from '2026-07-31 05:07:54'::timestamp) - extract(epoch from '2026-07-31 05:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538034)'))) / (select extract(epoch from '2026-07-31 05:07:54'::timestamp) - extract(epoch from '2026-07-31 05:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.79938 -3.538028)', '2026-07-31 05:08:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538034)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538028)'))) / (select extract(epoch from '2026-07-31 05:08:03'::timestamp) - extract(epoch from '2026-07-31 05:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538034)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538028)'))) / (select extract(epoch from '2026-07-31 05:08:03'::timestamp) - extract(epoch from '2026-07-31 05:07: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'), 47493, 'SRID=4674;POINT (-38.799378 -3.538025)', '2026-07-31 05:08:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538028)'), GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:08:10'::timestamp) - extract(epoch from '2026-07-31 05:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538028)'), GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:08:10'::timestamp) - extract(epoch from '2026-07-31 05:08:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799375 -3.538019)', '2026-07-31 05:08:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538025)'), GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:08:28'::timestamp) - extract(epoch from '2026-07-31 05:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538025)'), GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:08:28'::timestamp) - extract(epoch from '2026-07-31 05:08:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799381 -3.53802)', '2026-07-31 05:08:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.53802)'))) / (select extract(epoch from '2026-07-31 05:08:43'::timestamp) - extract(epoch from '2026-07-31 05:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799375 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.53802)'))) / (select extract(epoch from '2026-07-31 05:08:43'::timestamp) - extract(epoch from '2026-07-31 05:08: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'), 47493, 'SRID=4674;POINT (-38.799387 -3.538019)', '2026-07-31 05:08:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.53802)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:08:53'::timestamp) - extract(epoch from '2026-07-31 05:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.53802)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:08:53'::timestamp) - extract(epoch from '2026-07-31 05:08: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'), 47493, 'SRID=4674;POINT (-38.799382 -3.538025)', '2026-07-31 05:09:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:09:01'::timestamp) - extract(epoch from '2026-07-31 05:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:09:01'::timestamp) - extract(epoch from '2026-07-31 05:08:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.79938 -3.538024)', '2026-07-31 05:09:09', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538025)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538024)'))) / (select extract(epoch from '2026-07-31 05:09:09'::timestamp) - extract(epoch from '2026-07-31 05:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538025)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538024)'))) / (select extract(epoch from '2026-07-31 05:09:09'::timestamp) - extract(epoch from '2026-07-31 05:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799377 -3.538022)', '2026-07-31 05:09:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538024)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:09:21'::timestamp) - extract(epoch from '2026-07-31 05:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538024)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:09:21'::timestamp) - extract(epoch from '2026-07-31 05:09: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'), 47493, 'SRID=4674;POINT (-38.799376 -3.538022)', '2026-07-31 05:09:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799376 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:09:33'::timestamp) - extract(epoch from '2026-07-31 05:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799376 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:09:33'::timestamp) - extract(epoch from '2026-07-31 05: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'), 47493, 'SRID=4674;POINT (-38.799383 -3.538016)', '2026-07-31 05:09:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799376 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538016)'))) / (select extract(epoch from '2026-07-31 05:09:41'::timestamp) - extract(epoch from '2026-07-31 05:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799376 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538016)'))) / (select extract(epoch from '2026-07-31 05:09:41'::timestamp) - extract(epoch from '2026-07-31 05:09: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'), 47493, 'SRID=4674;POINT (-38.799381 -3.538019)', '2026-07-31 05:09:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538016)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:09:49'::timestamp) - extract(epoch from '2026-07-31 05:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538016)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:09:49'::timestamp) - extract(epoch from '2026-07-31 05:09: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'), 47493, 'SRID=4674;POINT (-38.799383 -3.538013)', '2026-07-31 05:09:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538013)'))) / (select extract(epoch from '2026-07-31 05:09:57'::timestamp) - extract(epoch from '2026-07-31 05:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538013)'))) / (select extract(epoch from '2026-07-31 05:09:57'::timestamp) - extract(epoch from '2026-07-31 05:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799384 -3.538017)', '2026-07-31 05:10:02', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538013)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538017)'))) / (select extract(epoch from '2026-07-31 05:10:02'::timestamp) - extract(epoch from '2026-07-31 05:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538013)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538017)'))) / (select extract(epoch from '2026-07-31 05:10:02'::timestamp) - extract(epoch from '2026-07-31 05:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799386 -3.538022)', '2026-07-31 05:10:11', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538017)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:10:11'::timestamp) - extract(epoch from '2026-07-31 05:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538017)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:10:11'::timestamp) - extract(epoch from '2026-07-31 05:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799383 -3.538022)', '2026-07-31 05:10:24', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:10:24'::timestamp) - extract(epoch from '2026-07-31 05:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:10:24'::timestamp) - extract(epoch from '2026-07-31 05:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799379 -3.53802)', '2026-07-31 05:10:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.53802)'))) / (select extract(epoch from '2026-07-31 05:10:34'::timestamp) - extract(epoch from '2026-07-31 05:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.53802)'))) / (select extract(epoch from '2026-07-31 05:10:34'::timestamp) - extract(epoch from '2026-07-31 05:10: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'), 47493, 'SRID=4674;POINT (-38.799387 -3.53802)', '2026-07-31 05:10:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.53802)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.53802)'))) / (select extract(epoch from '2026-07-31 05:10:44'::timestamp) - extract(epoch from '2026-07-31 05:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.53802)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.53802)'))) / (select extract(epoch from '2026-07-31 05:10:44'::timestamp) - extract(epoch from '2026-07-31 05:10: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'), 47493, 'SRID=4674;POINT (-38.799384 -3.538023)', '2026-07-31 05:10:50', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.53802)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538023)'))) / (select extract(epoch from '2026-07-31 05:10:50'::timestamp) - extract(epoch from '2026-07-31 05:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.53802)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538023)'))) / (select extract(epoch from '2026-07-31 05:10:50'::timestamp) - extract(epoch from '2026-07-31 05:10: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'), 47493, 'SRID=4674;POINT (-38.799385 -3.538016)', '2026-07-31 05:11:00', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538023)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538016)'))) / (select extract(epoch from '2026-07-31 05:11:00'::timestamp) - extract(epoch from '2026-07-31 05:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538023)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538016)'))) / (select extract(epoch from '2026-07-31 05:11:00'::timestamp) - extract(epoch from '2026-07-31 05:10:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799389 -3.538015)', '2026-07-31 05:11:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538016)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538015)'))) / (select extract(epoch from '2026-07-31 05:11:08'::timestamp) - extract(epoch from '2026-07-31 05:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538016)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538015)'))) / (select extract(epoch from '2026-07-31 05:11:08'::timestamp) - extract(epoch from '2026-07-31 05:11:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799389 -3.538021)', '2026-07-31 05:11:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538015)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538021)'))) / (select extract(epoch from '2026-07-31 05:11:16'::timestamp) - extract(epoch from '2026-07-31 05:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538015)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538021)'))) / (select extract(epoch from '2026-07-31 05:11:16'::timestamp) - extract(epoch from '2026-07-31 05:11: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'), 47493, 'SRID=4674;POINT (-38.799386 -3.538028)', '2026-07-31 05:11:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538021)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538028)'))) / (select extract(epoch from '2026-07-31 05:11:26'::timestamp) - extract(epoch from '2026-07-31 05:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538021)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538028)'))) / (select extract(epoch from '2026-07-31 05:11:26'::timestamp) - extract(epoch from '2026-07-31 05:11: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'), 47493, 'SRID=4674;POINT (-38.79938 -3.538031)', '2026-07-31 05:11:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538028)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538031)'))) / (select extract(epoch from '2026-07-31 05:11:33'::timestamp) - extract(epoch from '2026-07-31 05:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538028)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538031)'))) / (select extract(epoch from '2026-07-31 05:11:33'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799387 -3.538031)', '2026-07-31 05:11:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538031)'))) / (select extract(epoch from '2026-07-31 05:11:40'::timestamp) - extract(epoch from '2026-07-31 05:11:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538031)'))) / (select extract(epoch from '2026-07-31 05:11:40'::timestamp) - extract(epoch from '2026-07-31 05:11: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'), 47493, 'SRID=4674;POINT (-38.799393 -3.53803)', '2026-07-31 05:11:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53803)'))) / (select extract(epoch from '2026-07-31 05:11:49'::timestamp) - extract(epoch from '2026-07-31 05:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53803)'))) / (select extract(epoch from '2026-07-31 05:11:49'::timestamp) - extract(epoch from '2026-07-31 05:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799383 -3.53803)', '2026-07-31 05:11:55', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53803)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53803)'))) / (select extract(epoch from '2026-07-31 05:11:55'::timestamp) - extract(epoch from '2026-07-31 05:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53803)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53803)'))) / (select extract(epoch from '2026-07-31 05:11:55'::timestamp) - extract(epoch from '2026-07-31 05:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799389 -3.538029)', '2026-07-31 05:12:01', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53803)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538029)'))) / (select extract(epoch from '2026-07-31 05:12:01'::timestamp) - extract(epoch from '2026-07-31 05:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53803)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538029)'))) / (select extract(epoch from '2026-07-31 05:12:01'::timestamp) - extract(epoch from '2026-07-31 05:11: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'), 47493, 'SRID=4674;POINT (-38.799392 -3.538025)', '2026-07-31 05:12:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538029)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:12:10'::timestamp) - extract(epoch from '2026-07-31 05:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538029)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:12:10'::timestamp) - extract(epoch from '2026-07-31 05:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799388 -3.538025)', '2026-07-31 05:12:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538025)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:12:22'::timestamp) - extract(epoch from '2026-07-31 05:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538025)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:12:22'::timestamp) - extract(epoch from '2026-07-31 05:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799395 -3.538028)', '2026-07-31 05:12:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538025)'), GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538028)'))) / (select extract(epoch from '2026-07-31 05:12:35'::timestamp) - extract(epoch from '2026-07-31 05:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538025)'), GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538028)'))) / (select extract(epoch from '2026-07-31 05:12:35'::timestamp) - extract(epoch from '2026-07-31 05:12:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799395 -3.538023)', '2026-07-31 05:12:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538028)'), GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538023)'))) / (select extract(epoch from '2026-07-31 05:12:48'::timestamp) - extract(epoch from '2026-07-31 05:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538028)'), GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538023)'))) / (select extract(epoch from '2026-07-31 05:12:48'::timestamp) - extract(epoch from '2026-07-31 05:12: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'), 47493, 'SRID=4674;POINT (-38.799396 -3.538018)', '2026-07-31 05:12:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538023)'), GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538018)'))) / (select extract(epoch from '2026-07-31 05:12:57'::timestamp) - extract(epoch from '2026-07-31 05:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538023)'), GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538018)'))) / (select extract(epoch from '2026-07-31 05:12:57'::timestamp) - extract(epoch from '2026-07-31 05:12: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'), 47493, 'SRID=4674;POINT (-38.799386 -3.53802)', '2026-07-31 05:13:05', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538018)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53802)'))) / (select extract(epoch from '2026-07-31 05:13:05'::timestamp) - extract(epoch from '2026-07-31 05:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538018)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53802)'))) / (select extract(epoch from '2026-07-31 05:13:05'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799385 -3.538024)', '2026-07-31 05:13:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53802)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538024)'))) / (select extract(epoch from '2026-07-31 05:13:13'::timestamp) - extract(epoch from '2026-07-31 05:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53802)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538024)'))) / (select extract(epoch from '2026-07-31 05:13:13'::timestamp) - extract(epoch from '2026-07-31 05:13: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'), 47493, 'SRID=4674;POINT (-38.799387 -3.538019)', '2026-07-31 05:13:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538024)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:13:26'::timestamp) - extract(epoch from '2026-07-31 05:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538024)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:13:26'::timestamp) - extract(epoch from '2026-07-31 05:13: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'), 47493, 'SRID=4674;POINT (-38.799397 -3.538022)', '2026-07-31 05:13:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:13:37'::timestamp) - extract(epoch from '2026-07-31 05:13:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:13:37'::timestamp) - extract(epoch from '2026-07-31 05:13:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799393 -3.538016)', '2026-07-31 05:13:48', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538016)'))) / (select extract(epoch from '2026-07-31 05:13:48'::timestamp) - extract(epoch from '2026-07-31 05:13:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538016)'))) / (select extract(epoch from '2026-07-31 05:13:48'::timestamp) - extract(epoch from '2026-07-31 05:13:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799382 -3.538016)', '2026-07-31 05:13:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538016)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538016)'))) / (select extract(epoch from '2026-07-31 05:13:59'::timestamp) - extract(epoch from '2026-07-31 05:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538016)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538016)'))) / (select extract(epoch from '2026-07-31 05:13:59'::timestamp) - extract(epoch from '2026-07-31 05:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.79938 -3.538019)', '2026-07-31 05:14:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538016)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:14:07'::timestamp) - extract(epoch from '2026-07-31 05:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538016)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538019)'))) / (select extract(epoch from '2026-07-31 05:14:07'::timestamp) - extract(epoch from '2026-07-31 05:13: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'), 47493, 'SRID=4674;POINT (-38.799388 -3.538018)', '2026-07-31 05:14:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538018)'))) / (select extract(epoch from '2026-07-31 05:14:17'::timestamp) - extract(epoch from '2026-07-31 05:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538019)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538018)'))) / (select extract(epoch from '2026-07-31 05:14:17'::timestamp) - extract(epoch from '2026-07-31 05:14: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'), 47493, 'SRID=4674;POINT (-38.799388 -3.538022)', '2026-07-31 05:14:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538018)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:14:25'::timestamp) - extract(epoch from '2026-07-31 05:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538018)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538022)'))) / (select extract(epoch from '2026-07-31 05:14:25'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799382 -3.538029)', '2026-07-31 05:14:34', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538029)'))) / (select extract(epoch from '2026-07-31 05:14:34'::timestamp) - extract(epoch from '2026-07-31 05:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538022)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538029)'))) / (select extract(epoch from '2026-07-31 05:14:34'::timestamp) - extract(epoch from '2026-07-31 05:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.79939 -3.538033)', '2026-07-31 05:14:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538029)'), GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538033)'))) / (select extract(epoch from '2026-07-31 05:14:41'::timestamp) - extract(epoch from '2026-07-31 05:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538029)'), GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538033)'))) / (select extract(epoch from '2026-07-31 05:14:41'::timestamp) - extract(epoch from '2026-07-31 05:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799393 -3.538037)', '2026-07-31 05:14:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538033)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:14:46'::timestamp) - extract(epoch from '2026-07-31 05:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538033)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:14:46'::timestamp) - extract(epoch from '2026-07-31 05:14: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'), 47493, 'SRID=4674;POINT (-38.799395 -3.538033)', '2026-07-31 05:14:55', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538033)'))) / (select extract(epoch from '2026-07-31 05:14:55'::timestamp) - extract(epoch from '2026-07-31 05:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538033)'))) / (select extract(epoch from '2026-07-31 05:14:55'::timestamp) - extract(epoch from '2026-07-31 05:14: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'), 47493, 'SRID=4674;POINT (-38.799397 -3.538036)', '2026-07-31 05:15:03', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538033)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538036)'))) / (select extract(epoch from '2026-07-31 05:15:03'::timestamp) - extract(epoch from '2026-07-31 05:14:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538033)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538036)'))) / (select extract(epoch from '2026-07-31 05:15:03'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799405 -3.538041)', '2026-07-31 05:15:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538036)'), GeomFromEWKT('SRID=4674;POINT (-38.799405 -3.538041)'))) / (select extract(epoch from '2026-07-31 05:15:15'::timestamp) - extract(epoch from '2026-07-31 05:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538036)'), GeomFromEWKT('SRID=4674;POINT (-38.799405 -3.538041)'))) / (select extract(epoch from '2026-07-31 05:15:15'::timestamp) - extract(epoch from '2026-07-31 05:15: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'), 47493, 'SRID=4674;POINT (-38.799399 -3.538038)', '2026-07-31 05:15:26', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799405 -3.538041)'), GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:15:26'::timestamp) - extract(epoch from '2026-07-31 05:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799405 -3.538041)'), GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:15:26'::timestamp) - extract(epoch from '2026-07-31 05:15:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799392 -3.538042)', '2026-07-31 05:15:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:15:40'::timestamp) - extract(epoch from '2026-07-31 05:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:15:40'::timestamp) - extract(epoch from '2026-07-31 05:15:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.79939 -3.538042)', '2026-07-31 05:15:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:15:47'::timestamp) - extract(epoch from '2026-07-31 05:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:15:47'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799393 -3.538049)', '2026-07-31 05:15:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:15:58'::timestamp) - extract(epoch from '2026-07-31 05:15:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:15:58'::timestamp) - extract(epoch from '2026-07-31 05:15: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'), 47493, 'SRID=4674;POINT (-38.799391 -3.538052)', '2026-07-31 05:16:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538052)'))) / (select extract(epoch from '2026-07-31 05:16:05'::timestamp) - extract(epoch from '2026-07-31 05:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538052)'))) / (select extract(epoch from '2026-07-31 05:16:05'::timestamp) - extract(epoch from '2026-07-31 05:15: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'), 47493, 'SRID=4674;POINT (-38.799381 -3.538047)', '2026-07-31 05:16:15', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538052)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538047)'))) / (select extract(epoch from '2026-07-31 05:16:15'::timestamp) - extract(epoch from '2026-07-31 05:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538052)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538047)'))) / (select extract(epoch from '2026-07-31 05:16:15'::timestamp) - extract(epoch from '2026-07-31 05:16: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'), 47493, 'SRID=4674;POINT (-38.799379 -3.538043)', '2026-07-31 05:16:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538047)'), GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:16:22'::timestamp) - extract(epoch from '2026-07-31 05:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538047)'), GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:16:22'::timestamp) - extract(epoch from '2026-07-31 05:16: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'), 47493, 'SRID=4674;POINT (-38.799385 -3.538044)', '2026-07-31 05:16:29', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:16:29'::timestamp) - extract(epoch from '2026-07-31 05:16:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:16:29'::timestamp) - extract(epoch from '2026-07-31 05:16: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'), 47493, 'SRID=4674;POINT (-38.799379 -3.538044)', '2026-07-31 05:16:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:16:30'::timestamp) - extract(epoch from '2026-07-31 05:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:16:30'::timestamp) - extract(epoch from '2026-07-31 05:16: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'), 47493, 'SRID=4674;POINT (-38.799386 -3.538044)', '2026-07-31 05:16:39', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:16:39'::timestamp) - extract(epoch from '2026-07-31 05:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:16:39'::timestamp) - extract(epoch from '2026-07-31 05:16: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'), 47493, 'SRID=4674;POINT (-38.799392 -3.538044)', '2026-07-31 05:16:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:16:47'::timestamp) - extract(epoch from '2026-07-31 05:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:16:47'::timestamp) - extract(epoch from '2026-07-31 05:16: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'), 47493, 'SRID=4674;POINT (-38.799391 -3.538046)', '2026-07-31 05:16:57', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:16:57'::timestamp) - extract(epoch from '2026-07-31 05:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:16:57'::timestamp) - extract(epoch from '2026-07-31 05:16:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799394 -3.538056)', '2026-07-31 05:17:13', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538056)'))) / (select extract(epoch from '2026-07-31 05:17:13'::timestamp) - extract(epoch from '2026-07-31 05:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538056)'))) / (select extract(epoch from '2026-07-31 05:17:13'::timestamp) - extract(epoch from '2026-07-31 05:16: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'), 47493, 'SRID=4674;POINT (-38.799398 -3.538056)', '2026-07-31 05:17:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538056)'), GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538056)'))) / (select extract(epoch from '2026-07-31 05:17:19'::timestamp) - extract(epoch from '2026-07-31 05:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538056)'), GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538056)'))) / (select extract(epoch from '2026-07-31 05:17:19'::timestamp) - extract(epoch from '2026-07-31 05:17:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799386 -3.538059)', '2026-07-31 05:17:25', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538056)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:17:25'::timestamp) - extract(epoch from '2026-07-31 05:17:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538056)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:17:25'::timestamp) - extract(epoch from '2026-07-31 05:17:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799385 -3.538057)', '2026-07-31 05:17:32', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538057)'))) / (select extract(epoch from '2026-07-31 05:17:32'::timestamp) - extract(epoch from '2026-07-31 05:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538057)'))) / (select extract(epoch from '2026-07-31 05:17:32'::timestamp) - extract(epoch from '2026-07-31 05:17: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'), 47493, 'SRID=4674;POINT (-38.799382 -3.538055)', '2026-07-31 05:17:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538057)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538055)'))) / (select extract(epoch from '2026-07-31 05:17:38'::timestamp) - extract(epoch from '2026-07-31 05:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538057)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538055)'))) / (select extract(epoch from '2026-07-31 05:17:38'::timestamp) - extract(epoch from '2026-07-31 05:17: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'), 47493, 'SRID=4674;POINT (-38.799385 -3.538047)', '2026-07-31 05:17:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538055)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538047)'))) / (select extract(epoch from '2026-07-31 05:17:46'::timestamp) - extract(epoch from '2026-07-31 05:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538055)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538047)'))) / (select extract(epoch from '2026-07-31 05:17:46'::timestamp) - extract(epoch from '2026-07-31 05:17: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'), 47493, 'SRID=4674;POINT (-38.799391 -3.538042)', '2026-07-31 05:17:58', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538047)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:17:58'::timestamp) - extract(epoch from '2026-07-31 05:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538047)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:17:58'::timestamp) - extract(epoch from '2026-07-31 05:17: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'), 47493, 'SRID=4674;POINT (-38.799384 -3.538047)', '2026-07-31 05:18:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538047)'))) / (select extract(epoch from '2026-07-31 05:18:07'::timestamp) - extract(epoch from '2026-07-31 05:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538047)'))) / (select extract(epoch from '2026-07-31 05:18:07'::timestamp) - extract(epoch from '2026-07-31 05:17: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'), 47493, 'SRID=4674;POINT (-38.799383 -3.538042)', '2026-07-31 05:18:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538047)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:18:19'::timestamp) - extract(epoch from '2026-07-31 05:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538047)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:18:19'::timestamp) - extract(epoch from '2026-07-31 05:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799385 -3.538042)', '2026-07-31 05:18:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:18:31'::timestamp) - extract(epoch from '2026-07-31 05:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:18:31'::timestamp) - extract(epoch from '2026-07-31 05:18: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'), 47493, 'SRID=4674;POINT (-38.799387 -3.538039)', '2026-07-31 05:18:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:18:40'::timestamp) - extract(epoch from '2026-07-31 05:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:18:40'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799393 -3.53803)', '2026-07-31 05:18:49', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53803)'))) / (select extract(epoch from '2026-07-31 05:18:49'::timestamp) - extract(epoch from '2026-07-31 05:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53803)'))) / (select extract(epoch from '2026-07-31 05:18:49'::timestamp) - extract(epoch from '2026-07-31 05:18: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'), 47493, 'SRID=4674;POINT (-38.799398 -3.538037)', '2026-07-31 05:18:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53803)'), GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:18:58'::timestamp) - extract(epoch from '2026-07-31 05:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53803)'), GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:18:58'::timestamp) - extract(epoch from '2026-07-31 05:18: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'), 47493, 'SRID=4674;POINT (-38.799397 -3.53804)', '2026-07-31 05:19:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:19:10'::timestamp) - extract(epoch from '2026-07-31 05:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:19:10'::timestamp) - extract(epoch from '2026-07-31 05:18: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'), 47493, 'SRID=4674;POINT (-38.799388 -3.538038)', '2026-07-31 05:19:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:19:16'::timestamp) - extract(epoch from '2026-07-31 05:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:19:16'::timestamp) - extract(epoch from '2026-07-31 05:19: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'), 47493, 'SRID=4674;POINT (-38.799394 -3.538041)', '2026-07-31 05:19:26', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538041)'))) / (select extract(epoch from '2026-07-31 05:19:26'::timestamp) - extract(epoch from '2026-07-31 05:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538041)'))) / (select extract(epoch from '2026-07-31 05:19:26'::timestamp) - extract(epoch from '2026-07-31 05:19: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'), 47493, 'SRID=4674;POINT (-38.799389 -3.538041)', '2026-07-31 05:19:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538041)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538041)'))) / (select extract(epoch from '2026-07-31 05:19:36'::timestamp) - extract(epoch from '2026-07-31 05:19:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538041)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538041)'))) / (select extract(epoch from '2026-07-31 05:19:36'::timestamp) - extract(epoch from '2026-07-31 05:19:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799398 -3.538036)', '2026-07-31 05:19:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538041)'), GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538036)'))) / (select extract(epoch from '2026-07-31 05:19:45'::timestamp) - extract(epoch from '2026-07-31 05:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538041)'), GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538036)'))) / (select extract(epoch from '2026-07-31 05:19:45'::timestamp) - extract(epoch from '2026-07-31 05:19: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'), 47493, 'SRID=4674;POINT (-38.799393 -3.538034)', '2026-07-31 05:19:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538036)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538034)'))) / (select extract(epoch from '2026-07-31 05:19:50'::timestamp) - extract(epoch from '2026-07-31 05:19:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538036)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538034)'))) / (select extract(epoch from '2026-07-31 05:19:50'::timestamp) - extract(epoch from '2026-07-31 05:19: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'), 47493, 'SRID=4674;POINT (-38.799392 -3.538038)', '2026-07-31 05:19:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538034)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:19:57'::timestamp) - extract(epoch from '2026-07-31 05:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538034)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:19:57'::timestamp) - extract(epoch from '2026-07-31 05:19: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'), 47493, 'SRID=4674;POINT (-38.799389 -3.538036)', '2026-07-31 05:20:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538036)'))) / (select extract(epoch from '2026-07-31 05:20:03'::timestamp) - extract(epoch from '2026-07-31 05:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538036)'))) / (select extract(epoch from '2026-07-31 05:20:03'::timestamp) - extract(epoch from '2026-07-31 05:19: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'), 47493, 'SRID=4674;POINT (-38.79939 -3.53804)', '2026-07-31 05:20:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538036)'), GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:20:12'::timestamp) - extract(epoch from '2026-07-31 05:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538036)'), GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:20:12'::timestamp) - extract(epoch from '2026-07-31 05:20:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799386 -3.53804)', '2026-07-31 05:20:19', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:20:19'::timestamp) - extract(epoch from '2026-07-31 05:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:20:19'::timestamp) - extract(epoch from '2026-07-31 05:20:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799386 -3.538037)', '2026-07-31 05:20:27', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:20:27'::timestamp) - extract(epoch from '2026-07-31 05:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:20:27'::timestamp) - extract(epoch from '2026-07-31 05:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799388 -3.538039)', '2026-07-31 05:20:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:20:34'::timestamp) - extract(epoch from '2026-07-31 05:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:20:34'::timestamp) - extract(epoch from '2026-07-31 05:20: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'), 47493, 'SRID=4674;POINT (-38.799397 -3.538039)', '2026-07-31 05:20:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:20:41'::timestamp) - extract(epoch from '2026-07-31 05:20:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:20:41'::timestamp) - extract(epoch from '2026-07-31 05:20: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'), 47493, 'SRID=4674;POINT (-38.799391 -3.538033)', '2026-07-31 05:20:47', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538033)'))) / (select extract(epoch from '2026-07-31 05:20:47'::timestamp) - extract(epoch from '2026-07-31 05:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538033)'))) / (select extract(epoch from '2026-07-31 05:20:47'::timestamp) - extract(epoch from '2026-07-31 05:20: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'), 47493, 'SRID=4674;POINT (-38.799387 -3.538025)', '2026-07-31 05:20:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538033)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:20:52'::timestamp) - extract(epoch from '2026-07-31 05:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538033)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:20:52'::timestamp) - extract(epoch from '2026-07-31 05:20:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799392 -3.538031)', '2026-07-31 05:20:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538025)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538031)'))) / (select extract(epoch from '2026-07-31 05:20:59'::timestamp) - extract(epoch from '2026-07-31 05:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538025)'), GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538031)'))) / (select extract(epoch from '2026-07-31 05:20:59'::timestamp) - extract(epoch from '2026-07-31 05:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799388 -3.538033)', '2026-07-31 05:21:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538033)'))) / (select extract(epoch from '2026-07-31 05:21:09'::timestamp) - extract(epoch from '2026-07-31 05:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799392 -3.538031)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538033)'))) / (select extract(epoch from '2026-07-31 05:21:09'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799401 -3.538036)', '2026-07-31 05:21:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538033)'), GeomFromEWKT('SRID=4674;POINT (-38.799401 -3.538036)'))) / (select extract(epoch from '2026-07-31 05:21:18'::timestamp) - extract(epoch from '2026-07-31 05:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538033)'), GeomFromEWKT('SRID=4674;POINT (-38.799401 -3.538036)'))) / (select extract(epoch from '2026-07-31 05:21:18'::timestamp) - extract(epoch from '2026-07-31 05:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799397 -3.538041)', '2026-07-31 05:21:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799401 -3.538036)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538041)'))) / (select extract(epoch from '2026-07-31 05:21:30'::timestamp) - extract(epoch from '2026-07-31 05:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799401 -3.538036)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538041)'))) / (select extract(epoch from '2026-07-31 05:21:30'::timestamp) - extract(epoch from '2026-07-31 05:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799403 -3.538046)', '2026-07-31 05:21:41', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538041)'), GeomFromEWKT('SRID=4674;POINT (-38.799403 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:21:41'::timestamp) - extract(epoch from '2026-07-31 05:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.538041)'), GeomFromEWKT('SRID=4674;POINT (-38.799403 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:21:41'::timestamp) - extract(epoch from '2026-07-31 05:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799402 -3.538046)', '2026-07-31 05:21:49', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799403 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799402 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:21:49'::timestamp) - extract(epoch from '2026-07-31 05:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799403 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799402 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:21:49'::timestamp) - extract(epoch from '2026-07-31 05:21: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'), 47493, 'SRID=4674;POINT (-38.799396 -3.538042)', '2026-07-31 05:21:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799402 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:21:59'::timestamp) - extract(epoch from '2026-07-31 05:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799402 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:21:59'::timestamp) - extract(epoch from '2026-07-31 05:21: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'), 47493, 'SRID=4674;POINT (-38.799394 -3.538043)', '2026-07-31 05:22:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:22:08'::timestamp) - extract(epoch from '2026-07-31 05:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799396 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:22:08'::timestamp) - extract(epoch from '2026-07-31 05:21: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'), 47493, 'SRID=4674;POINT (-38.799395 -3.538055)', '2026-07-31 05:22:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538055)'))) / (select extract(epoch from '2026-07-31 05:22:19'::timestamp) - extract(epoch from '2026-07-31 05:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538055)'))) / (select extract(epoch from '2026-07-31 05:22:19'::timestamp) - extract(epoch from '2026-07-31 05:22: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'), 47493, 'SRID=4674;POINT (-38.799399 -3.538058)', '2026-07-31 05:22:29', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538055)'), GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:22:29'::timestamp) - extract(epoch from '2026-07-31 05:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799395 -3.538055)'), GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:22:29'::timestamp) - extract(epoch from '2026-07-31 05:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799403 -3.53806)', '2026-07-31 05:22:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799403 -3.53806)'))) / (select extract(epoch from '2026-07-31 05:22:38'::timestamp) - extract(epoch from '2026-07-31 05:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799403 -3.53806)'))) / (select extract(epoch from '2026-07-31 05:22:38'::timestamp) - extract(epoch from '2026-07-31 05:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799399 -3.538059)', '2026-07-31 05:22:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799403 -3.53806)'), GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:22:45'::timestamp) - extract(epoch from '2026-07-31 05:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799403 -3.53806)'), GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:22:45'::timestamp) - extract(epoch from '2026-07-31 05:22:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799398 -3.538056)', '2026-07-31 05:22:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538056)'))) / (select extract(epoch from '2026-07-31 05:22:51'::timestamp) - extract(epoch from '2026-07-31 05:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799399 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538056)'))) / (select extract(epoch from '2026-07-31 05:22:51'::timestamp) - extract(epoch from '2026-07-31 05:22:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799407 -3.538055)', '2026-07-31 05:22:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538056)'), GeomFromEWKT('SRID=4674;POINT (-38.799407 -3.538055)'))) / (select extract(epoch from '2026-07-31 05:22:59'::timestamp) - extract(epoch from '2026-07-31 05:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799398 -3.538056)'), GeomFromEWKT('SRID=4674;POINT (-38.799407 -3.538055)'))) / (select extract(epoch from '2026-07-31 05:22:59'::timestamp) - extract(epoch from '2026-07-31 05:22: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'), 47493, 'SRID=4674;POINT (-38.799405 -3.538059)', '2026-07-31 05:23:06', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799407 -3.538055)'), GeomFromEWKT('SRID=4674;POINT (-38.799405 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:23:06'::timestamp) - extract(epoch from '2026-07-31 05:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799407 -3.538055)'), GeomFromEWKT('SRID=4674;POINT (-38.799405 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:23:06'::timestamp) - extract(epoch from '2026-07-31 05:22: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'), 47493, 'SRID=4674;POINT (-38.799401 -3.538058)', '2026-07-31 05:23:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799405 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799401 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:23:19'::timestamp) - extract(epoch from '2026-07-31 05:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799405 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799401 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:23:19'::timestamp) - extract(epoch from '2026-07-31 05:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799391 -3.538064)', '2026-07-31 05:23:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799401 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538064)'))) / (select extract(epoch from '2026-07-31 05:23:28'::timestamp) - extract(epoch from '2026-07-31 05:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799401 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538064)'))) / (select extract(epoch from '2026-07-31 05:23:28'::timestamp) - extract(epoch from '2026-07-31 05:23:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799387 -3.538062)', '2026-07-31 05:23:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538064)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538062)'))) / (select extract(epoch from '2026-07-31 05:23:33'::timestamp) - extract(epoch from '2026-07-31 05:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.538064)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538062)'))) / (select extract(epoch from '2026-07-31 05:23:33'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799388 -3.538059)', '2026-07-31 05:23:38', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538062)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:23:38'::timestamp) - extract(epoch from '2026-07-31 05:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538062)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:23:38'::timestamp) - extract(epoch from '2026-07-31 05:23: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'), 47493, 'SRID=4674;POINT (-38.799387 -3.538067)', '2026-07-31 05:23:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538067)'))) / (select extract(epoch from '2026-07-31 05:23:43'::timestamp) - extract(epoch from '2026-07-31 05:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538067)'))) / (select extract(epoch from '2026-07-31 05:23:43'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799384 -3.538063)', '2026-07-31 05:23:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538067)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538063)'))) / (select extract(epoch from '2026-07-31 05:23:55'::timestamp) - extract(epoch from '2026-07-31 05:23:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538067)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538063)'))) / (select extract(epoch from '2026-07-31 05:23:55'::timestamp) - extract(epoch from '2026-07-31 05:23: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'), 47493, 'SRID=4674;POINT (-38.799379 -3.538059)', '2026-07-31 05:24:06', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538063)'), GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:24:06'::timestamp) - extract(epoch from '2026-07-31 05:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538063)'), GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:24:06'::timestamp) - extract(epoch from '2026-07-31 05:23: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'), 47493, 'SRID=4674;POINT (-38.799386 -3.538063)', '2026-07-31 05:24:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538063)'))) / (select extract(epoch from '2026-07-31 05:24:17'::timestamp) - extract(epoch from '2026-07-31 05:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799379 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538063)'))) / (select extract(epoch from '2026-07-31 05:24:17'::timestamp) - extract(epoch from '2026-07-31 05:24:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799387 -3.538062)', '2026-07-31 05:24:30', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538063)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538062)'))) / (select extract(epoch from '2026-07-31 05:24:30'::timestamp) - extract(epoch from '2026-07-31 05:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538063)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538062)'))) / (select extract(epoch from '2026-07-31 05:24:30'::timestamp) - extract(epoch from '2026-07-31 05:24: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'), 47493, 'SRID=4674;POINT (-38.799387 -3.538057)', '2026-07-31 05:24:42', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538062)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538057)'))) / (select extract(epoch from '2026-07-31 05:24:42'::timestamp) - extract(epoch from '2026-07-31 05:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538062)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538057)'))) / (select extract(epoch from '2026-07-31 05:24:42'::timestamp) - extract(epoch from '2026-07-31 05:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799386 -3.538058)', '2026-07-31 05:24:52', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538057)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:24:52'::timestamp) - extract(epoch from '2026-07-31 05:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538057)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:24:52'::timestamp) - extract(epoch from '2026-07-31 05:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799377 -3.538057)', '2026-07-31 05:24:59', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538057)'))) / (select extract(epoch from '2026-07-31 05:24:59'::timestamp) - extract(epoch from '2026-07-31 05:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538057)'))) / (select extract(epoch from '2026-07-31 05:24:59'::timestamp) - extract(epoch from '2026-07-31 05:24:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799384 -3.538055)', '2026-07-31 05:25:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538057)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538055)'))) / (select extract(epoch from '2026-07-31 05:25:09'::timestamp) - extract(epoch from '2026-07-31 05:24:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538057)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538055)'))) / (select extract(epoch from '2026-07-31 05:25:09'::timestamp) - extract(epoch from '2026-07-31 05:24:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799384 -3.538057)', '2026-07-31 05:25:16', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538055)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538057)'))) / (select extract(epoch from '2026-07-31 05:25:16'::timestamp) - extract(epoch from '2026-07-31 05:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538055)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538057)'))) / (select extract(epoch from '2026-07-31 05:25:16'::timestamp) - extract(epoch from '2026-07-31 05:25:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799378 -3.538054)', '2026-07-31 05:25:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538057)'), GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538054)'))) / (select extract(epoch from '2026-07-31 05:25:25'::timestamp) - extract(epoch from '2026-07-31 05:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538057)'), GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538054)'))) / (select extract(epoch from '2026-07-31 05:25:25'::timestamp) - extract(epoch from '2026-07-31 05:25: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'), 47493, 'SRID=4674;POINT (-38.799385 -3.538061)', '2026-07-31 05:25:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538054)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538061)'))) / (select extract(epoch from '2026-07-31 05:25:38'::timestamp) - extract(epoch from '2026-07-31 05:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538054)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538061)'))) / (select extract(epoch from '2026-07-31 05:25:38'::timestamp) - extract(epoch from '2026-07-31 05:25: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'), 47493, 'SRID=4674;POINT (-38.799381 -3.538058)', '2026-07-31 05:25:46', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538061)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:25:46'::timestamp) - extract(epoch from '2026-07-31 05:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538061)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:25:46'::timestamp) - extract(epoch from '2026-07-31 05:25: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'), 47493, 'SRID=4674;POINT (-38.799387 -3.538061)', '2026-07-31 05:25:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538061)'))) / (select extract(epoch from '2026-07-31 05:25:57'::timestamp) - extract(epoch from '2026-07-31 05:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538061)'))) / (select extract(epoch from '2026-07-31 05:25:57'::timestamp) - extract(epoch from '2026-07-31 05:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799383 -3.538056)', '2026-07-31 05:26:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538061)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538056)'))) / (select extract(epoch from '2026-07-31 05:26:07'::timestamp) - extract(epoch from '2026-07-31 05:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538061)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538056)'))) / (select extract(epoch from '2026-07-31 05:26:07'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799387 -3.538059)', '2026-07-31 05:26:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538056)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:26:12'::timestamp) - extract(epoch from '2026-07-31 05:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538056)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:26:12'::timestamp) - extract(epoch from '2026-07-31 05:26: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'), 47493, 'SRID=4674;POINT (-38.799389 -3.538058)', '2026-07-31 05:26:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:26:21'::timestamp) - extract(epoch from '2026-07-31 05:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:26:21'::timestamp) - extract(epoch from '2026-07-31 05:26: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'), 47493, 'SRID=4674;POINT (-38.799388 -3.538058)', '2026-07-31 05:26:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:26:31'::timestamp) - extract(epoch from '2026-07-31 05:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538058)'))) / (select extract(epoch from '2026-07-31 05:26:31'::timestamp) - extract(epoch from '2026-07-31 05:26:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799391 -3.53806)', '2026-07-31 05:26:41', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.53806)'))) / (select extract(epoch from '2026-07-31 05:26:41'::timestamp) - extract(epoch from '2026-07-31 05:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.538058)'), GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.53806)'))) / (select extract(epoch from '2026-07-31 05:26:41'::timestamp) - extract(epoch from '2026-07-31 05:26: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'), 47493, 'SRID=4674;POINT (-38.799389 -3.538066)', '2026-07-31 05:26:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.53806)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538066)'))) / (select extract(epoch from '2026-07-31 05:26:47'::timestamp) - extract(epoch from '2026-07-31 05:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799391 -3.53806)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538066)'))) / (select extract(epoch from '2026-07-31 05:26:47'::timestamp) - extract(epoch from '2026-07-31 05:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799387 -3.538072)', '2026-07-31 05:26:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538066)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538072)'))) / (select extract(epoch from '2026-07-31 05:26:55'::timestamp) - extract(epoch from '2026-07-31 05:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538066)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538072)'))) / (select extract(epoch from '2026-07-31 05:26:55'::timestamp) - extract(epoch from '2026-07-31 05:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.79938 -3.538067)', '2026-07-31 05:27:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538072)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538067)'))) / (select extract(epoch from '2026-07-31 05:27:03'::timestamp) - extract(epoch from '2026-07-31 05:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538072)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538067)'))) / (select extract(epoch from '2026-07-31 05:27:03'::timestamp) - extract(epoch from '2026-07-31 05:26: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'), 47493, 'SRID=4674;POINT (-38.799385 -3.538059)', '2026-07-31 05:27:17', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538067)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:27:17'::timestamp) - extract(epoch from '2026-07-31 05:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538067)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:27:17'::timestamp) - extract(epoch from '2026-07-31 05:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799386 -3.538059)', '2026-07-31 05:27:24', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:27:24'::timestamp) - extract(epoch from '2026-07-31 05:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538059)'))) / (select extract(epoch from '2026-07-31 05:27:24'::timestamp) - extract(epoch from '2026-07-31 05:27:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799393 -3.538053)', '2026-07-31 05:27:35', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538053)'))) / (select extract(epoch from '2026-07-31 05:27:35'::timestamp) - extract(epoch from '2026-07-31 05:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538059)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538053)'))) / (select extract(epoch from '2026-07-31 05:27:35'::timestamp) - extract(epoch from '2026-07-31 05:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799388 -3.53805)', '2026-07-31 05:27:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538053)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.53805)'))) / (select extract(epoch from '2026-07-31 05:27:42'::timestamp) - extract(epoch from '2026-07-31 05:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.538053)'), GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.53805)'))) / (select extract(epoch from '2026-07-31 05:27:42'::timestamp) - extract(epoch from '2026-07-31 05:27:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799386 -3.538049)', '2026-07-31 05:27:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.53805)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:27:51'::timestamp) - extract(epoch from '2026-07-31 05:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799388 -3.53805)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:27:51'::timestamp) - extract(epoch from '2026-07-31 05:27: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'), 47493, 'SRID=4674;POINT (-38.799384 -3.538049)', '2026-07-31 05:27:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:27:56'::timestamp) - extract(epoch from '2026-07-31 05:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:27:56'::timestamp) - extract(epoch from '2026-07-31 05:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799386 -3.538048)', '2026-07-31 05:28:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538048)'))) / (select extract(epoch from '2026-07-31 05:28:02'::timestamp) - extract(epoch from '2026-07-31 05:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538048)'))) / (select extract(epoch from '2026-07-31 05:28:02'::timestamp) - extract(epoch from '2026-07-31 05:27: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'), 47493, 'SRID=4674;POINT (-38.799384 -3.538051)', '2026-07-31 05:28:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538048)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538051)'))) / (select extract(epoch from '2026-07-31 05:28:07'::timestamp) - extract(epoch from '2026-07-31 05:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538048)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538051)'))) / (select extract(epoch from '2026-07-31 05:28:07'::timestamp) - extract(epoch from '2026-07-31 05:28:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.79939 -3.538048)', '2026-07-31 05:28:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538051)'), GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538048)'))) / (select extract(epoch from '2026-07-31 05:28:14'::timestamp) - extract(epoch from '2026-07-31 05:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538051)'), GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538048)'))) / (select extract(epoch from '2026-07-31 05:28:14'::timestamp) - extract(epoch from '2026-07-31 05:28: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'), 47493, 'SRID=4674;POINT (-38.799377 -3.538045)', '2026-07-31 05:28:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538048)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538045)'))) / (select extract(epoch from '2026-07-31 05:28:20'::timestamp) - extract(epoch from '2026-07-31 05:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79939 -3.538048)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538045)'))) / (select extract(epoch from '2026-07-31 05:28:20'::timestamp) - extract(epoch from '2026-07-31 05:28:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799381 -3.538049)', '2026-07-31 05:28:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538045)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:28:32'::timestamp) - extract(epoch from '2026-07-31 05:28:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538045)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538049)'))) / (select extract(epoch from '2026-07-31 05:28:32'::timestamp) - extract(epoch from '2026-07-31 05:28:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799386 -3.538045)', '2026-07-31 05:28:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538045)'))) / (select extract(epoch from '2026-07-31 05:28:43'::timestamp) - extract(epoch from '2026-07-31 05:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538049)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538045)'))) / (select extract(epoch from '2026-07-31 05:28:43'::timestamp) - extract(epoch from '2026-07-31 05:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.79938 -3.538043)', '2026-07-31 05:28:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538045)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:28:50'::timestamp) - extract(epoch from '2026-07-31 05:28:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538045)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:28:50'::timestamp) - extract(epoch from '2026-07-31 05:28: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'), 47493, 'SRID=4674;POINT (-38.799381 -3.538044)', '2026-07-31 05:29:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:29:01'::timestamp) - extract(epoch from '2026-07-31 05:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:29:01'::timestamp) - extract(epoch from '2026-07-31 05:28: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'), 47493, 'SRID=4674;POINT (-38.799387 -3.538046)', '2026-07-31 05:29:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:29:15'::timestamp) - extract(epoch from '2026-07-31 05:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:29:15'::timestamp) - extract(epoch from '2026-07-31 05:29: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'), 47493, 'SRID=4674;POINT (-38.799386 -3.538044)', '2026-07-31 05:29:26', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:29:26'::timestamp) - extract(epoch from '2026-07-31 05:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799387 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538044)'))) / (select extract(epoch from '2026-07-31 05:29:26'::timestamp) - extract(epoch from '2026-07-31 05:29: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'), 47493, 'SRID=4674;POINT (-38.799386 -3.53804)', '2026-07-31 05:29:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:29:34'::timestamp) - extract(epoch from '2026-07-31 05:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538044)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:29:34'::timestamp) - extract(epoch from '2026-07-31 05:29: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'), 47493, 'SRID=4674;POINT (-38.799383 -3.53804)', '2026-07-31 05:29:43', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:29:43'::timestamp) - extract(epoch from '2026-07-31 05:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:29:43'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799378 -3.538037)', '2026-07-31 05:29:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:29:56'::timestamp) - extract(epoch from '2026-07-31 05:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:29:56'::timestamp) - extract(epoch from '2026-07-31 05:29: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'), 47493, 'SRID=4674;POINT (-38.799377 -3.538039)', '2026-07-31 05:30:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:30:08'::timestamp) - extract(epoch from '2026-07-31 05:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799378 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538039)'))) / (select extract(epoch from '2026-07-31 05:30:08'::timestamp) - extract(epoch from '2026-07-31 05:29: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'), 47493, 'SRID=4674;POINT (-38.799385 -3.538045)', '2026-07-31 05:30:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538045)'))) / (select extract(epoch from '2026-07-31 05:30:17'::timestamp) - extract(epoch from '2026-07-31 05:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799377 -3.538039)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538045)'))) / (select extract(epoch from '2026-07-31 05:30:17'::timestamp) - extract(epoch from '2026-07-31 05:30: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'), 47493, 'SRID=4674;POINT (-38.799385 -3.538046)', '2026-07-31 05:30:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538045)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:30:30'::timestamp) - extract(epoch from '2026-07-31 05:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538045)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538046)'))) / (select extract(epoch from '2026-07-31 05:30:30'::timestamp) - extract(epoch from '2026-07-31 05:30:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799382 -3.538037)', '2026-07-31 05:30:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:30:40'::timestamp) - extract(epoch from '2026-07-31 05:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538046)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:30:40'::timestamp) - extract(epoch from '2026-07-31 05:30: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'), 47493, 'SRID=4674;POINT (-38.799383 -3.538034)', '2026-07-31 05:30:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538034)'))) / (select extract(epoch from '2026-07-31 05:30:49'::timestamp) - extract(epoch from '2026-07-31 05:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538034)'))) / (select extract(epoch from '2026-07-31 05:30:49'::timestamp) - extract(epoch from '2026-07-31 05:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799386 -3.538033)', '2026-07-31 05:30:56', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538034)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538033)'))) / (select extract(epoch from '2026-07-31 05:30:56'::timestamp) - extract(epoch from '2026-07-31 05:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.538034)'), GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538033)'))) / (select extract(epoch from '2026-07-31 05:30:56'::timestamp) - extract(epoch from '2026-07-31 05:30:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.79938 -3.538032)', '2026-07-31 05:31:05', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538033)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538032)'))) / (select extract(epoch from '2026-07-31 05:31:05'::timestamp) - extract(epoch from '2026-07-31 05:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799386 -3.538033)'), GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538032)'))) / (select extract(epoch from '2026-07-31 05:31:05'::timestamp) - extract(epoch from '2026-07-31 05:30: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'), 47493, 'SRID=4674;POINT (-38.799381 -3.538037)', '2026-07-31 05:31:16', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538032)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:31:16'::timestamp) - extract(epoch from '2026-07-31 05:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.79938 -3.538032)'), GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538037)'))) / (select extract(epoch from '2026-07-31 05:31:16'::timestamp) - extract(epoch from '2026-07-31 05:31: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'), 47493, 'SRID=4674;POINT (-38.799382 -3.53804)', '2026-07-31 05:31:23', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:31:23'::timestamp) - extract(epoch from '2026-07-31 05:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799381 -3.538037)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:31:23'::timestamp) - extract(epoch from '2026-07-31 05:31: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'), 47493, 'SRID=4674;POINT (-38.799389 -3.538043)', '2026-07-31 05:31:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:31:32'::timestamp) - extract(epoch from '2026-07-31 05:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538043)'))) / (select extract(epoch from '2026-07-31 05:31:32'::timestamp) - extract(epoch from '2026-07-31 05:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47493, 'SRID=4674;POINT (-38.799385 -3.538042)', '2026-07-31 05:31:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:31:37'::timestamp) - extract(epoch from '2026-07-31 05:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538043)'), GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:31:37'::timestamp) - extract(epoch from '2026-07-31 05:31: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'), 47493, 'SRID=4674;POINT (-38.799382 -3.538042)', '2026-07-31 05:31:43', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:31:43'::timestamp) - extract(epoch from '2026-07-31 05:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799385 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538042)'))) / (select extract(epoch from '2026-07-31 05:31:43'::timestamp) - extract(epoch from '2026-07-31 05:31: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'), 47493, 'SRID=4674;POINT (-38.799383 -3.53804)', '2026-07-31 05:31:50', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:31:50'::timestamp) - extract(epoch from '2026-07-31 05:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799382 -3.538042)'), GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:31:50'::timestamp) - extract(epoch from '2026-07-31 05:31: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'), 47493, 'SRID=4674;POINT (-38.799389 -3.538045)', '2026-07-31 05:31:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538045)'))) / (select extract(epoch from '2026-07-31 05:31:59'::timestamp) - extract(epoch from '2026-07-31 05:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799383 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538045)'))) / (select extract(epoch from '2026-07-31 05:31:59'::timestamp) - extract(epoch from '2026-07-31 05:31: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'), 47493, 'SRID=4674;POINT (-38.799393 -3.53804)', '2026-07-31 05:32:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538045)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:32:09'::timestamp) - extract(epoch from '2026-07-31 05:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538045)'), GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:32:09'::timestamp) - extract(epoch from '2026-07-31 05:31: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'), 47493, 'SRID=4674;POINT (-38.799394 -3.538038)', '2026-07-31 05:32:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:32:20'::timestamp) - extract(epoch from '2026-07-31 05:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799393 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:32:20'::timestamp) - extract(epoch from '2026-07-31 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'), 47493, 'SRID=4674;POINT (-38.799397 -3.53804)', '2026-07-31 05:32:28', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:32:28'::timestamp) - extract(epoch from '2026-07-31 05:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799394 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.53804)'))) / (select extract(epoch from '2026-07-31 05:32:28'::timestamp) - extract(epoch from '2026-07-31 05:32: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'), 47493, 'SRID=4674;POINT (-38.799389 -3.538038)', '2026-07-31 05:32:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:32:39'::timestamp) - extract(epoch from '2026-07-31 05:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799397 -3.53804)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538038)'))) / (select extract(epoch from '2026-07-31 05:32:39'::timestamp) - extract(epoch from '2026-07-31 05:32: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'), 47493, 'SRID=4674;POINT (-38.799389 -3.538032)', '2026-07-31 05:32:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538032)'))) / (select extract(epoch from '2026-07-31 05:32:51'::timestamp) - extract(epoch from '2026-07-31 05:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538038)'), GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538032)'))) / (select extract(epoch from '2026-07-31 05:32:51'::timestamp) - extract(epoch from '2026-07-31 05:32: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'), 47493, 'SRID=4674;POINT (-38.799384 -3.538025)', '2026-07-31 05:32:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538032)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:32:58'::timestamp) - extract(epoch from '2026-07-31 05:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.799389 -3.538032)'), GeomFromEWKT('SRID=4674;POINT (-38.799384 -3.538025)'))) / (select extract(epoch from '2026-07-31 05:32:58'::timestamp) - extract(epoch from '2026-07-31 05:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
