 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019721 -3.367368)', '2026-07-22 17:03:29', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019686 -3.367397)'), GeomFromEWKT('SRID=4674;POINT (-39.019721 -3.367368)'))) / (select extract(epoch from '2026-07-22 17:03:29'::timestamp) - extract(epoch from '2026-07-22 17:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019686 -3.367397)'), GeomFromEWKT('SRID=4674;POINT (-39.019721 -3.367368)'))) / (select extract(epoch from '2026-07-22 17:03:29'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47445, 'SRID=4674;POINT (-39.019753 -3.367337)', '2026-07-22 17:03:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019721 -3.367368)'), GeomFromEWKT('SRID=4674;POINT (-39.019753 -3.367337)'))) / (select extract(epoch from '2026-07-22 17:03:36'::timestamp) - extract(epoch from '2026-07-22 17:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019721 -3.367368)'), GeomFromEWKT('SRID=4674;POINT (-39.019753 -3.367337)'))) / (select extract(epoch from '2026-07-22 17:03:36'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47445, 'SRID=4674;POINT (-39.019788 -3.367313)', '2026-07-22 17:03:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019753 -3.367337)'), GeomFromEWKT('SRID=4674;POINT (-39.019788 -3.367313)'))) / (select extract(epoch from '2026-07-22 17:03:43'::timestamp) - extract(epoch from '2026-07-22 17:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019753 -3.367337)'), GeomFromEWKT('SRID=4674;POINT (-39.019788 -3.367313)'))) / (select extract(epoch from '2026-07-22 17:03:43'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47445, 'SRID=4674;POINT (-39.019818 -3.36729)', '2026-07-22 17:03:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019788 -3.367313)'), GeomFromEWKT('SRID=4674;POINT (-39.019818 -3.36729)'))) / (select extract(epoch from '2026-07-22 17:03:49'::timestamp) - extract(epoch from '2026-07-22 17:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019788 -3.367313)'), GeomFromEWKT('SRID=4674;POINT (-39.019818 -3.36729)'))) / (select extract(epoch from '2026-07-22 17:03:49'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47445, 'SRID=4674;POINT (-39.019851 -3.367266)', '2026-07-22 17:03:56', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019818 -3.36729)'), GeomFromEWKT('SRID=4674;POINT (-39.019851 -3.367266)'))) / (select extract(epoch from '2026-07-22 17:03:56'::timestamp) - extract(epoch from '2026-07-22 17:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019818 -3.36729)'), GeomFromEWKT('SRID=4674;POINT (-39.019851 -3.367266)'))) / (select extract(epoch from '2026-07-22 17:03:56'::timestamp) - extract(epoch from '2026-07-22 17:03: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'), 47445, 'SRID=4674;POINT (-39.01989 -3.367235)', '2026-07-22 17:04:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019851 -3.367266)'), GeomFromEWKT('SRID=4674;POINT (-39.01989 -3.367235)'))) / (select extract(epoch from '2026-07-22 17:04:04'::timestamp) - extract(epoch from '2026-07-22 17:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019851 -3.367266)'), GeomFromEWKT('SRID=4674;POINT (-39.01989 -3.367235)'))) / (select extract(epoch from '2026-07-22 17:04:04'::timestamp) - extract(epoch from '2026-07-22 17:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019928 -3.367215)', '2026-07-22 17:04:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01989 -3.367235)'), GeomFromEWKT('SRID=4674;POINT (-39.019928 -3.367215)'))) / (select extract(epoch from '2026-07-22 17:04:10'::timestamp) - extract(epoch from '2026-07-22 17:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.01989 -3.367235)'), GeomFromEWKT('SRID=4674;POINT (-39.019928 -3.367215)'))) / (select extract(epoch from '2026-07-22 17:04:10'::timestamp) - extract(epoch from '2026-07-22 17:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.019972 -3.367183)', '2026-07-22 17:04:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019928 -3.367215)'), GeomFromEWKT('SRID=4674;POINT (-39.019972 -3.367183)'))) / (select extract(epoch from '2026-07-22 17:04:19'::timestamp) - extract(epoch from '2026-07-22 17:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019928 -3.367215)'), GeomFromEWKT('SRID=4674;POINT (-39.019972 -3.367183)'))) / (select extract(epoch from '2026-07-22 17:04:19'::timestamp) - extract(epoch from '2026-07-22 17:04: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'), 47445, 'SRID=4674;POINT (-39.020004 -3.367156)', '2026-07-22 17:04:26', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019972 -3.367183)'), GeomFromEWKT('SRID=4674;POINT (-39.020004 -3.367156)'))) / (select extract(epoch from '2026-07-22 17:04:26'::timestamp) - extract(epoch from '2026-07-22 17:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.019972 -3.367183)'), GeomFromEWKT('SRID=4674;POINT (-39.020004 -3.367156)'))) / (select extract(epoch from '2026-07-22 17:04:26'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.020033 -3.367127)', '2026-07-22 17:04:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020004 -3.367156)'), GeomFromEWKT('SRID=4674;POINT (-39.020033 -3.367127)'))) / (select extract(epoch from '2026-07-22 17:04:33'::timestamp) - extract(epoch from '2026-07-22 17:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020004 -3.367156)'), GeomFromEWKT('SRID=4674;POINT (-39.020033 -3.367127)'))) / (select extract(epoch from '2026-07-22 17:04:33'::timestamp) - extract(epoch from '2026-07-22 17:04:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020057 -3.367121)', '2026-07-22 17:04:40', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020033 -3.367127)'), GeomFromEWKT('SRID=4674;POINT (-39.020057 -3.367121)'))) / (select extract(epoch from '2026-07-22 17:04:40'::timestamp) - extract(epoch from '2026-07-22 17:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020033 -3.367127)'), GeomFromEWKT('SRID=4674;POINT (-39.020057 -3.367121)'))) / (select extract(epoch from '2026-07-22 17:04:40'::timestamp) - extract(epoch from '2026-07-22 17:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020084 -3.36711)', '2026-07-22 17:04:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020057 -3.367121)'), GeomFromEWKT('SRID=4674;POINT (-39.020084 -3.36711)'))) / (select extract(epoch from '2026-07-22 17:04:47'::timestamp) - extract(epoch from '2026-07-22 17:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020057 -3.367121)'), GeomFromEWKT('SRID=4674;POINT (-39.020084 -3.36711)'))) / (select extract(epoch from '2026-07-22 17:04:47'::timestamp) - extract(epoch from '2026-07-22 17:04:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020117 -3.367094)', '2026-07-22 17:04:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020084 -3.36711)'), GeomFromEWKT('SRID=4674;POINT (-39.020117 -3.367094)'))) / (select extract(epoch from '2026-07-22 17:04:54'::timestamp) - extract(epoch from '2026-07-22 17:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020084 -3.36711)'), GeomFromEWKT('SRID=4674;POINT (-39.020117 -3.367094)'))) / (select extract(epoch from '2026-07-22 17:04:54'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.020157 -3.367073)', '2026-07-22 17:05:00', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020117 -3.367094)'), GeomFromEWKT('SRID=4674;POINT (-39.020157 -3.367073)'))) / (select extract(epoch from '2026-07-22 17:05:00'::timestamp) - extract(epoch from '2026-07-22 17:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020117 -3.367094)'), GeomFromEWKT('SRID=4674;POINT (-39.020157 -3.367073)'))) / (select extract(epoch from '2026-07-22 17:05:00'::timestamp) - extract(epoch from '2026-07-22 17:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020176 -3.36706)', '2026-07-22 17:05:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020157 -3.367073)'), GeomFromEWKT('SRID=4674;POINT (-39.020176 -3.36706)'))) / (select extract(epoch from '2026-07-22 17:05:04'::timestamp) - extract(epoch from '2026-07-22 17:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020157 -3.367073)'), GeomFromEWKT('SRID=4674;POINT (-39.020176 -3.36706)'))) / (select extract(epoch from '2026-07-22 17:05:04'::timestamp) - extract(epoch from '2026-07-22 17:05:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02021 -3.367038)', '2026-07-22 17:05:12', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020176 -3.36706)'), GeomFromEWKT('SRID=4674;POINT (-39.02021 -3.367038)'))) / (select extract(epoch from '2026-07-22 17:05:12'::timestamp) - extract(epoch from '2026-07-22 17:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020176 -3.36706)'), GeomFromEWKT('SRID=4674;POINT (-39.02021 -3.367038)'))) / (select extract(epoch from '2026-07-22 17:05:12'::timestamp) - extract(epoch from '2026-07-22 17:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020235 -3.367017)', '2026-07-22 17:05:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02021 -3.367038)'), GeomFromEWKT('SRID=4674;POINT (-39.020235 -3.367017)'))) / (select extract(epoch from '2026-07-22 17:05:18'::timestamp) - extract(epoch from '2026-07-22 17:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02021 -3.367038)'), GeomFromEWKT('SRID=4674;POINT (-39.020235 -3.367017)'))) / (select extract(epoch from '2026-07-22 17:05:18'::timestamp) - extract(epoch from '2026-07-22 17:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02024 -3.367011)', '2026-07-22 17:05:19', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020235 -3.367017)'), GeomFromEWKT('SRID=4674;POINT (-39.02024 -3.367011)'))) / (select extract(epoch from '2026-07-22 17:05:19'::timestamp) - extract(epoch from '2026-07-22 17:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020235 -3.367017)'), GeomFromEWKT('SRID=4674;POINT (-39.02024 -3.367011)'))) / (select extract(epoch from '2026-07-22 17:05:19'::timestamp) - extract(epoch from '2026-07-22 17:05: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'), 47445, 'SRID=4674;POINT (-39.020273 -3.366989)', '2026-07-22 17:05:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02024 -3.367011)'), GeomFromEWKT('SRID=4674;POINT (-39.020273 -3.366989)'))) / (select extract(epoch from '2026-07-22 17:05:26'::timestamp) - extract(epoch from '2026-07-22 17:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02024 -3.367011)'), GeomFromEWKT('SRID=4674;POINT (-39.020273 -3.366989)'))) / (select extract(epoch from '2026-07-22 17:05:26'::timestamp) - extract(epoch from '2026-07-22 17:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.0203 -3.366968)', '2026-07-22 17:05:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020273 -3.366989)'), GeomFromEWKT('SRID=4674;POINT (-39.0203 -3.366968)'))) / (select extract(epoch from '2026-07-22 17:05:33'::timestamp) - extract(epoch from '2026-07-22 17:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020273 -3.366989)'), GeomFromEWKT('SRID=4674;POINT (-39.0203 -3.366968)'))) / (select extract(epoch from '2026-07-22 17:05:33'::timestamp) - extract(epoch from '2026-07-22 17:05: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'), 47445, 'SRID=4674;POINT (-39.020346 -3.366929)', '2026-07-22 17:05:42', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0203 -3.366968)'), GeomFromEWKT('SRID=4674;POINT (-39.020346 -3.366929)'))) / (select extract(epoch from '2026-07-22 17:05:42'::timestamp) - extract(epoch from '2026-07-22 17:05:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0203 -3.366968)'), GeomFromEWKT('SRID=4674;POINT (-39.020346 -3.366929)'))) / (select extract(epoch from '2026-07-22 17:05:42'::timestamp) - extract(epoch from '2026-07-22 17:05: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'), 47445, 'SRID=4674;POINT (-39.020378 -3.366899)', '2026-07-22 17:05:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020346 -3.366929)'), GeomFromEWKT('SRID=4674;POINT (-39.020378 -3.366899)'))) / (select extract(epoch from '2026-07-22 17:05:50'::timestamp) - extract(epoch from '2026-07-22 17:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020346 -3.366929)'), GeomFromEWKT('SRID=4674;POINT (-39.020378 -3.366899)'))) / (select extract(epoch from '2026-07-22 17:05:50'::timestamp) - extract(epoch from '2026-07-22 17:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020412 -3.366875)', '2026-07-22 17:05:57', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020378 -3.366899)'), GeomFromEWKT('SRID=4674;POINT (-39.020412 -3.366875)'))) / (select extract(epoch from '2026-07-22 17:05:57'::timestamp) - extract(epoch from '2026-07-22 17:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020378 -3.366899)'), GeomFromEWKT('SRID=4674;POINT (-39.020412 -3.366875)'))) / (select extract(epoch from '2026-07-22 17:05:57'::timestamp) - extract(epoch from '2026-07-22 17:05: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'), 47445, 'SRID=4674;POINT (-39.020427 -3.36687)', '2026-07-22 17:05:59', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020412 -3.366875)'), GeomFromEWKT('SRID=4674;POINT (-39.020427 -3.36687)'))) / (select extract(epoch from '2026-07-22 17:05:59'::timestamp) - extract(epoch from '2026-07-22 17:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020412 -3.366875)'), GeomFromEWKT('SRID=4674;POINT (-39.020427 -3.36687)'))) / (select extract(epoch from '2026-07-22 17:05:59'::timestamp) - extract(epoch from '2026-07-22 17:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020443 -3.366857)', '2026-07-22 17:06:03', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020427 -3.36687)'), GeomFromEWKT('SRID=4674;POINT (-39.020443 -3.366857)'))) / (select extract(epoch from '2026-07-22 17:06:03'::timestamp) - extract(epoch from '2026-07-22 17:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020427 -3.36687)'), GeomFromEWKT('SRID=4674;POINT (-39.020443 -3.366857)'))) / (select extract(epoch from '2026-07-22 17:06:03'::timestamp) - extract(epoch from '2026-07-22 17:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020469 -3.366841)', '2026-07-22 17:06:08', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020443 -3.366857)'), GeomFromEWKT('SRID=4674;POINT (-39.020469 -3.366841)'))) / (select extract(epoch from '2026-07-22 17:06:08'::timestamp) - extract(epoch from '2026-07-22 17:06:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020443 -3.366857)'), GeomFromEWKT('SRID=4674;POINT (-39.020469 -3.366841)'))) / (select extract(epoch from '2026-07-22 17:06:08'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47445, 'SRID=4674;POINT (-39.020501 -3.36682)', '2026-07-22 17:06:14', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020469 -3.366841)'), GeomFromEWKT('SRID=4674;POINT (-39.020501 -3.36682)'))) / (select extract(epoch from '2026-07-22 17:06:14'::timestamp) - extract(epoch from '2026-07-22 17:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020469 -3.366841)'), GeomFromEWKT('SRID=4674;POINT (-39.020501 -3.36682)'))) / (select extract(epoch from '2026-07-22 17:06:14'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47445, 'SRID=4674;POINT (-39.020511 -3.366816)', '2026-07-22 17:06:16', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020501 -3.36682)'), GeomFromEWKT('SRID=4674;POINT (-39.020511 -3.366816)'))) / (select extract(epoch from '2026-07-22 17:06:16'::timestamp) - extract(epoch from '2026-07-22 17:06:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020501 -3.36682)'), GeomFromEWKT('SRID=4674;POINT (-39.020511 -3.366816)'))) / (select extract(epoch from '2026-07-22 17:06:16'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47445, 'SRID=4674;POINT (-39.020527 -3.366801)', '2026-07-22 17:06:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020511 -3.366816)'), GeomFromEWKT('SRID=4674;POINT (-39.020527 -3.366801)'))) / (select extract(epoch from '2026-07-22 17:06:20'::timestamp) - extract(epoch from '2026-07-22 17:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020511 -3.366816)'), GeomFromEWKT('SRID=4674;POINT (-39.020527 -3.366801)'))) / (select extract(epoch from '2026-07-22 17:06:20'::timestamp) - extract(epoch from '2026-07-22 17:06:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020557 -3.366781)', '2026-07-22 17:06:26', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020527 -3.366801)'), GeomFromEWKT('SRID=4674;POINT (-39.020557 -3.366781)'))) / (select extract(epoch from '2026-07-22 17:06:26'::timestamp) - extract(epoch from '2026-07-22 17:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020527 -3.366801)'), GeomFromEWKT('SRID=4674;POINT (-39.020557 -3.366781)'))) / (select extract(epoch from '2026-07-22 17:06:26'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47445, 'SRID=4674;POINT (-39.020583 -3.366766)', '2026-07-22 17:06:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020557 -3.366781)'), GeomFromEWKT('SRID=4674;POINT (-39.020583 -3.366766)'))) / (select extract(epoch from '2026-07-22 17:06:31'::timestamp) - extract(epoch from '2026-07-22 17:06:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020557 -3.366781)'), GeomFromEWKT('SRID=4674;POINT (-39.020583 -3.366766)'))) / (select extract(epoch from '2026-07-22 17:06:31'::timestamp) - extract(epoch from '2026-07-22 17:06:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02061 -3.366748)', '2026-07-22 17:06:37', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020583 -3.366766)'), GeomFromEWKT('SRID=4674;POINT (-39.02061 -3.366748)'))) / (select extract(epoch from '2026-07-22 17:06:37'::timestamp) - extract(epoch from '2026-07-22 17:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020583 -3.366766)'), GeomFromEWKT('SRID=4674;POINT (-39.02061 -3.366748)'))) / (select extract(epoch from '2026-07-22 17:06:37'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47445, 'SRID=4674;POINT (-39.020647 -3.366724)', '2026-07-22 17:06:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02061 -3.366748)'), GeomFromEWKT('SRID=4674;POINT (-39.020647 -3.366724)'))) / (select extract(epoch from '2026-07-22 17:06:46'::timestamp) - extract(epoch from '2026-07-22 17:06:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02061 -3.366748)'), GeomFromEWKT('SRID=4674;POINT (-39.020647 -3.366724)'))) / (select extract(epoch from '2026-07-22 17:06:46'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47445, 'SRID=4674;POINT (-39.020672 -3.366706)', '2026-07-22 17:06:52', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020647 -3.366724)'), GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.366706)'))) / (select extract(epoch from '2026-07-22 17:06:52'::timestamp) - extract(epoch from '2026-07-22 17:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020647 -3.366724)'), GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.366706)'))) / (select extract(epoch from '2026-07-22 17:06:52'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47445, 'SRID=4674;POINT (-39.020702 -3.366688)', '2026-07-22 17:06:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.366706)'), GeomFromEWKT('SRID=4674;POINT (-39.020702 -3.366688)'))) / (select extract(epoch from '2026-07-22 17:06:58'::timestamp) - extract(epoch from '2026-07-22 17:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020672 -3.366706)'), GeomFromEWKT('SRID=4674;POINT (-39.020702 -3.366688)'))) / (select extract(epoch from '2026-07-22 17:06:58'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47445, 'SRID=4674;POINT (-39.020726 -3.366668)', '2026-07-22 17:07:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020702 -3.366688)'), GeomFromEWKT('SRID=4674;POINT (-39.020726 -3.366668)'))) / (select extract(epoch from '2026-07-22 17:07:04'::timestamp) - extract(epoch from '2026-07-22 17:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020702 -3.366688)'), GeomFromEWKT('SRID=4674;POINT (-39.020726 -3.366668)'))) / (select extract(epoch from '2026-07-22 17:07:04'::timestamp) - extract(epoch from '2026-07-22 17:06: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'), 47445, 'SRID=4674;POINT (-39.020757 -3.366641)', '2026-07-22 17:07:11', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020726 -3.366668)'), GeomFromEWKT('SRID=4674;POINT (-39.020757 -3.366641)'))) / (select extract(epoch from '2026-07-22 17:07:11'::timestamp) - extract(epoch from '2026-07-22 17:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020726 -3.366668)'), GeomFromEWKT('SRID=4674;POINT (-39.020757 -3.366641)'))) / (select extract(epoch from '2026-07-22 17:07:11'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47445, 'SRID=4674;POINT (-39.020786 -3.366636)', '2026-07-22 17:07:19', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020757 -3.366641)'), GeomFromEWKT('SRID=4674;POINT (-39.020786 -3.366636)'))) / (select extract(epoch from '2026-07-22 17:07:19'::timestamp) - extract(epoch from '2026-07-22 17:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020757 -3.366641)'), GeomFromEWKT('SRID=4674;POINT (-39.020786 -3.366636)'))) / (select extract(epoch from '2026-07-22 17:07:19'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47445, 'SRID=4674;POINT (-39.020805 -3.366633)', '2026-07-22 17:07:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020786 -3.366636)'), GeomFromEWKT('SRID=4674;POINT (-39.020805 -3.366633)'))) / (select extract(epoch from '2026-07-22 17:07:26'::timestamp) - extract(epoch from '2026-07-22 17:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020786 -3.366636)'), GeomFromEWKT('SRID=4674;POINT (-39.020805 -3.366633)'))) / (select extract(epoch from '2026-07-22 17:07:26'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47445, 'SRID=4674;POINT (-39.020807 -3.366637)', '2026-07-22 17:07:33', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020805 -3.366633)'), GeomFromEWKT('SRID=4674;POINT (-39.020807 -3.366637)'))) / (select extract(epoch from '2026-07-22 17:07:33'::timestamp) - extract(epoch from '2026-07-22 17:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020805 -3.366633)'), GeomFromEWKT('SRID=4674;POINT (-39.020807 -3.366637)'))) / (select extract(epoch from '2026-07-22 17:07:33'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47445, 'SRID=4674;POINT (-39.020808 -3.366646)', '2026-07-22 17:07:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020807 -3.366637)'), GeomFromEWKT('SRID=4674;POINT (-39.020808 -3.366646)'))) / (select extract(epoch from '2026-07-22 17:07:40'::timestamp) - extract(epoch from '2026-07-22 17:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020807 -3.366637)'), GeomFromEWKT('SRID=4674;POINT (-39.020808 -3.366646)'))) / (select extract(epoch from '2026-07-22 17:07:40'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.020828 -3.36667)', '2026-07-22 17:07:53', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020808 -3.366646)'), GeomFromEWKT('SRID=4674;POINT (-39.020828 -3.36667)'))) / (select extract(epoch from '2026-07-22 17:07:53'::timestamp) - extract(epoch from '2026-07-22 17:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020808 -3.366646)'), GeomFromEWKT('SRID=4674;POINT (-39.020828 -3.36667)'))) / (select extract(epoch from '2026-07-22 17:07:53'::timestamp) - extract(epoch from '2026-07-22 17:07:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020832 -3.366682)', '2026-07-22 17:08:00', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020828 -3.36667)'), GeomFromEWKT('SRID=4674;POINT (-39.020832 -3.366682)'))) / (select extract(epoch from '2026-07-22 17:08:00'::timestamp) - extract(epoch from '2026-07-22 17:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020828 -3.36667)'), GeomFromEWKT('SRID=4674;POINT (-39.020832 -3.366682)'))) / (select extract(epoch from '2026-07-22 17:08:00'::timestamp) - extract(epoch from '2026-07-22 17:07: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'), 47445, 'SRID=4674;POINT (-39.020835 -3.366689)', '2026-07-22 17:08:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020832 -3.366682)'), GeomFromEWKT('SRID=4674;POINT (-39.020835 -3.366689)'))) / (select extract(epoch from '2026-07-22 17:08:05'::timestamp) - extract(epoch from '2026-07-22 17:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020832 -3.366682)'), GeomFromEWKT('SRID=4674;POINT (-39.020835 -3.366689)'))) / (select extract(epoch from '2026-07-22 17:08:05'::timestamp) - extract(epoch from '2026-07-22 17:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020846 -3.366694)', '2026-07-22 17:08:16', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020835 -3.366689)'), GeomFromEWKT('SRID=4674;POINT (-39.020846 -3.366694)'))) / (select extract(epoch from '2026-07-22 17:08:16'::timestamp) - extract(epoch from '2026-07-22 17:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020835 -3.366689)'), GeomFromEWKT('SRID=4674;POINT (-39.020846 -3.366694)'))) / (select extract(epoch from '2026-07-22 17:08:16'::timestamp) - extract(epoch from '2026-07-22 17:08:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020872 -3.366695)', '2026-07-22 17:08:24', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020846 -3.366694)'), GeomFromEWKT('SRID=4674;POINT (-39.020872 -3.366695)'))) / (select extract(epoch from '2026-07-22 17:08:24'::timestamp) - extract(epoch from '2026-07-22 17:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020846 -3.366694)'), GeomFromEWKT('SRID=4674;POINT (-39.020872 -3.366695)'))) / (select extract(epoch from '2026-07-22 17:08:24'::timestamp) - extract(epoch from '2026-07-22 17:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020912 -3.36669)', '2026-07-22 17:08:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020872 -3.366695)'), GeomFromEWKT('SRID=4674;POINT (-39.020912 -3.36669)'))) / (select extract(epoch from '2026-07-22 17:08:32'::timestamp) - extract(epoch from '2026-07-22 17:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020872 -3.366695)'), GeomFromEWKT('SRID=4674;POINT (-39.020912 -3.36669)'))) / (select extract(epoch from '2026-07-22 17:08:32'::timestamp) - extract(epoch from '2026-07-22 17:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020943 -3.36669)', '2026-07-22 17:08:39', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020912 -3.36669)'), GeomFromEWKT('SRID=4674;POINT (-39.020943 -3.36669)'))) / (select extract(epoch from '2026-07-22 17:08:39'::timestamp) - extract(epoch from '2026-07-22 17:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020912 -3.36669)'), GeomFromEWKT('SRID=4674;POINT (-39.020943 -3.36669)'))) / (select extract(epoch from '2026-07-22 17:08:39'::timestamp) - extract(epoch from '2026-07-22 17:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.020971 -3.366684)', '2026-07-22 17:08:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020943 -3.36669)'), GeomFromEWKT('SRID=4674;POINT (-39.020971 -3.366684)'))) / (select extract(epoch from '2026-07-22 17:08:44'::timestamp) - extract(epoch from '2026-07-22 17:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020943 -3.36669)'), GeomFromEWKT('SRID=4674;POINT (-39.020971 -3.366684)'))) / (select extract(epoch from '2026-07-22 17:08:44'::timestamp) - extract(epoch from '2026-07-22 17:08: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'), 47445, 'SRID=4674;POINT (-39.020999 -3.366673)', '2026-07-22 17:08:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020971 -3.366684)'), GeomFromEWKT('SRID=4674;POINT (-39.020999 -3.366673)'))) / (select extract(epoch from '2026-07-22 17:08:50'::timestamp) - extract(epoch from '2026-07-22 17:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020971 -3.366684)'), GeomFromEWKT('SRID=4674;POINT (-39.020999 -3.366673)'))) / (select extract(epoch from '2026-07-22 17:08:50'::timestamp) - extract(epoch from '2026-07-22 17:08:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021039 -3.366647)', '2026-07-22 17:08:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020999 -3.366673)'), GeomFromEWKT('SRID=4674;POINT (-39.021039 -3.366647)'))) / (select extract(epoch from '2026-07-22 17:08:57'::timestamp) - extract(epoch from '2026-07-22 17:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.020999 -3.366673)'), GeomFromEWKT('SRID=4674;POINT (-39.021039 -3.366647)'))) / (select extract(epoch from '2026-07-22 17:08:57'::timestamp) - extract(epoch from '2026-07-22 17:08: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'), 47445, 'SRID=4674;POINT (-39.021056 -3.366632)', '2026-07-22 17:09:01', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021039 -3.366647)'), GeomFromEWKT('SRID=4674;POINT (-39.021056 -3.366632)'))) / (select extract(epoch from '2026-07-22 17:09:01'::timestamp) - extract(epoch from '2026-07-22 17:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021039 -3.366647)'), GeomFromEWKT('SRID=4674;POINT (-39.021056 -3.366632)'))) / (select extract(epoch from '2026-07-22 17:09:01'::timestamp) - extract(epoch from '2026-07-22 17:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021063 -3.366629)', '2026-07-22 17:09:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021056 -3.366632)'), GeomFromEWKT('SRID=4674;POINT (-39.021063 -3.366629)'))) / (select extract(epoch from '2026-07-22 17:09:02'::timestamp) - extract(epoch from '2026-07-22 17:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021056 -3.366632)'), GeomFromEWKT('SRID=4674;POINT (-39.021063 -3.366629)'))) / (select extract(epoch from '2026-07-22 17:09:02'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.02109 -3.366611)', '2026-07-22 17:09:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021063 -3.366629)'), GeomFromEWKT('SRID=4674;POINT (-39.02109 -3.366611)'))) / (select extract(epoch from '2026-07-22 17:09:08'::timestamp) - extract(epoch from '2026-07-22 17:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021063 -3.366629)'), GeomFromEWKT('SRID=4674;POINT (-39.02109 -3.366611)'))) / (select extract(epoch from '2026-07-22 17:09:08'::timestamp) - extract(epoch from '2026-07-22 17:09: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'), 47445, 'SRID=4674;POINT (-39.021121 -3.366591)', '2026-07-22 17:09:15', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02109 -3.366611)'), GeomFromEWKT('SRID=4674;POINT (-39.021121 -3.366591)'))) / (select extract(epoch from '2026-07-22 17:09:15'::timestamp) - extract(epoch from '2026-07-22 17:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02109 -3.366611)'), GeomFromEWKT('SRID=4674;POINT (-39.021121 -3.366591)'))) / (select extract(epoch from '2026-07-22 17:09:15'::timestamp) - extract(epoch from '2026-07-22 17:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021168 -3.366568)', '2026-07-22 17:09:24', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021121 -3.366591)'), GeomFromEWKT('SRID=4674;POINT (-39.021168 -3.366568)'))) / (select extract(epoch from '2026-07-22 17:09:24'::timestamp) - extract(epoch from '2026-07-22 17:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021121 -3.366591)'), GeomFromEWKT('SRID=4674;POINT (-39.021168 -3.366568)'))) / (select extract(epoch from '2026-07-22 17:09:24'::timestamp) - extract(epoch from '2026-07-22 17:09: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'), 47445, 'SRID=4674;POINT (-39.021192 -3.36655)', '2026-07-22 17:09:29', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021168 -3.366568)'), GeomFromEWKT('SRID=4674;POINT (-39.021192 -3.36655)'))) / (select extract(epoch from '2026-07-22 17:09:29'::timestamp) - extract(epoch from '2026-07-22 17:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021168 -3.366568)'), GeomFromEWKT('SRID=4674;POINT (-39.021192 -3.36655)'))) / (select extract(epoch from '2026-07-22 17:09:29'::timestamp) - extract(epoch from '2026-07-22 17:09:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021233 -3.366528)', '2026-07-22 17:09:36', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021192 -3.36655)'), GeomFromEWKT('SRID=4674;POINT (-39.021233 -3.366528)'))) / (select extract(epoch from '2026-07-22 17:09:36'::timestamp) - extract(epoch from '2026-07-22 17:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021192 -3.36655)'), GeomFromEWKT('SRID=4674;POINT (-39.021233 -3.366528)'))) / (select extract(epoch from '2026-07-22 17:09:36'::timestamp) - extract(epoch from '2026-07-22 17:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021262 -3.366514)', '2026-07-22 17:09:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021233 -3.366528)'), GeomFromEWKT('SRID=4674;POINT (-39.021262 -3.366514)'))) / (select extract(epoch from '2026-07-22 17:09:41'::timestamp) - extract(epoch from '2026-07-22 17:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021233 -3.366528)'), GeomFromEWKT('SRID=4674;POINT (-39.021262 -3.366514)'))) / (select extract(epoch from '2026-07-22 17:09:41'::timestamp) - extract(epoch from '2026-07-22 17:09: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'), 47445, 'SRID=4674;POINT (-39.021274 -3.366508)', '2026-07-22 17:09:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021262 -3.366514)'), GeomFromEWKT('SRID=4674;POINT (-39.021274 -3.366508)'))) / (select extract(epoch from '2026-07-22 17:09:43'::timestamp) - extract(epoch from '2026-07-22 17:09:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021262 -3.366514)'), GeomFromEWKT('SRID=4674;POINT (-39.021274 -3.366508)'))) / (select extract(epoch from '2026-07-22 17:09:43'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.021305 -3.366485)', '2026-07-22 17:09:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021274 -3.366508)'), GeomFromEWKT('SRID=4674;POINT (-39.021305 -3.366485)'))) / (select extract(epoch from '2026-07-22 17:09:51'::timestamp) - extract(epoch from '2026-07-22 17:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021274 -3.366508)'), GeomFromEWKT('SRID=4674;POINT (-39.021305 -3.366485)'))) / (select extract(epoch from '2026-07-22 17:09:51'::timestamp) - extract(epoch from '2026-07-22 17:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021335 -3.366467)', '2026-07-22 17:09:57', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021305 -3.366485)'), GeomFromEWKT('SRID=4674;POINT (-39.021335 -3.366467)'))) / (select extract(epoch from '2026-07-22 17:09:57'::timestamp) - extract(epoch from '2026-07-22 17:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021305 -3.366485)'), GeomFromEWKT('SRID=4674;POINT (-39.021335 -3.366467)'))) / (select extract(epoch from '2026-07-22 17:09:57'::timestamp) - extract(epoch from '2026-07-22 17:09: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'), 47445, 'SRID=4674;POINT (-39.021376 -3.366448)', '2026-07-22 17:10:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021335 -3.366467)'), GeomFromEWKT('SRID=4674;POINT (-39.021376 -3.366448)'))) / (select extract(epoch from '2026-07-22 17:10:04'::timestamp) - extract(epoch from '2026-07-22 17:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021335 -3.366467)'), GeomFromEWKT('SRID=4674;POINT (-39.021376 -3.366448)'))) / (select extract(epoch from '2026-07-22 17:10:04'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.021404 -3.366424)', '2026-07-22 17:10:11', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021376 -3.366448)'), GeomFromEWKT('SRID=4674;POINT (-39.021404 -3.366424)'))) / (select extract(epoch from '2026-07-22 17:10:11'::timestamp) - extract(epoch from '2026-07-22 17:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021376 -3.366448)'), GeomFromEWKT('SRID=4674;POINT (-39.021404 -3.366424)'))) / (select extract(epoch from '2026-07-22 17:10:11'::timestamp) - extract(epoch from '2026-07-22 17:10: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'), 47445, 'SRID=4674;POINT (-39.021437 -3.366411)', '2026-07-22 17:10:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021404 -3.366424)'), GeomFromEWKT('SRID=4674;POINT (-39.021437 -3.366411)'))) / (select extract(epoch from '2026-07-22 17:10:17'::timestamp) - extract(epoch from '2026-07-22 17:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021404 -3.366424)'), GeomFromEWKT('SRID=4674;POINT (-39.021437 -3.366411)'))) / (select extract(epoch from '2026-07-22 17:10:17'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.02147 -3.366386)', '2026-07-22 17:10:24', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021437 -3.366411)'), GeomFromEWKT('SRID=4674;POINT (-39.02147 -3.366386)'))) / (select extract(epoch from '2026-07-22 17:10:24'::timestamp) - extract(epoch from '2026-07-22 17:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021437 -3.366411)'), GeomFromEWKT('SRID=4674;POINT (-39.02147 -3.366386)'))) / (select extract(epoch from '2026-07-22 17:10:24'::timestamp) - extract(epoch from '2026-07-22 17:10: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'), 47445, 'SRID=4674;POINT (-39.021527 -3.36635)', '2026-07-22 17:10:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02147 -3.366386)'), GeomFromEWKT('SRID=4674;POINT (-39.021527 -3.36635)'))) / (select extract(epoch from '2026-07-22 17:10:35'::timestamp) - extract(epoch from '2026-07-22 17:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02147 -3.366386)'), GeomFromEWKT('SRID=4674;POINT (-39.021527 -3.36635)'))) / (select extract(epoch from '2026-07-22 17:10:35'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.021566 -3.366319)', '2026-07-22 17:10:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021527 -3.36635)'), GeomFromEWKT('SRID=4674;POINT (-39.021566 -3.366319)'))) / (select extract(epoch from '2026-07-22 17:10:44'::timestamp) - extract(epoch from '2026-07-22 17:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021527 -3.36635)'), GeomFromEWKT('SRID=4674;POINT (-39.021566 -3.366319)'))) / (select extract(epoch from '2026-07-22 17:10:44'::timestamp) - extract(epoch from '2026-07-22 17:10: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'), 47445, 'SRID=4674;POINT (-39.021598 -3.366294)', '2026-07-22 17:10:52', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021566 -3.366319)'), GeomFromEWKT('SRID=4674;POINT (-39.021598 -3.366294)'))) / (select extract(epoch from '2026-07-22 17:10:52'::timestamp) - extract(epoch from '2026-07-22 17:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021566 -3.366319)'), GeomFromEWKT('SRID=4674;POINT (-39.021598 -3.366294)'))) / (select extract(epoch from '2026-07-22 17:10:52'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.021625 -3.366265)', '2026-07-22 17:10:59', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021598 -3.366294)'), GeomFromEWKT('SRID=4674;POINT (-39.021625 -3.366265)'))) / (select extract(epoch from '2026-07-22 17:10:59'::timestamp) - extract(epoch from '2026-07-22 17:10:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021598 -3.366294)'), GeomFromEWKT('SRID=4674;POINT (-39.021625 -3.366265)'))) / (select extract(epoch from '2026-07-22 17:10:59'::timestamp) - extract(epoch from '2026-07-22 17:10:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021653 -3.36624)', '2026-07-22 17:11:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021625 -3.366265)'), GeomFromEWKT('SRID=4674;POINT (-39.021653 -3.36624)'))) / (select extract(epoch from '2026-07-22 17:11:06'::timestamp) - extract(epoch from '2026-07-22 17:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021625 -3.366265)'), GeomFromEWKT('SRID=4674;POINT (-39.021653 -3.36624)'))) / (select extract(epoch from '2026-07-22 17:11:06'::timestamp) - extract(epoch from '2026-07-22 17:10: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'), 47445, 'SRID=4674;POINT (-39.021682 -3.366218)', '2026-07-22 17:11:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021653 -3.36624)'), GeomFromEWKT('SRID=4674;POINT (-39.021682 -3.366218)'))) / (select extract(epoch from '2026-07-22 17:11:13'::timestamp) - extract(epoch from '2026-07-22 17:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021653 -3.36624)'), GeomFromEWKT('SRID=4674;POINT (-39.021682 -3.366218)'))) / (select extract(epoch from '2026-07-22 17:11:13'::timestamp) - extract(epoch from '2026-07-22 17:11: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'), 47445, 'SRID=4674;POINT (-39.021688 -3.366212)', '2026-07-22 17:11:14', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021682 -3.366218)'), GeomFromEWKT('SRID=4674;POINT (-39.021688 -3.366212)'))) / (select extract(epoch from '2026-07-22 17:11:14'::timestamp) - extract(epoch from '2026-07-22 17:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021682 -3.366218)'), GeomFromEWKT('SRID=4674;POINT (-39.021688 -3.366212)'))) / (select extract(epoch from '2026-07-22 17:11:14'::timestamp) - extract(epoch from '2026-07-22 17:11: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'), 47445, 'SRID=4674;POINT (-39.02171 -3.366198)', '2026-07-22 17:11:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021688 -3.366212)'), GeomFromEWKT('SRID=4674;POINT (-39.02171 -3.366198)'))) / (select extract(epoch from '2026-07-22 17:11:20'::timestamp) - extract(epoch from '2026-07-22 17:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021688 -3.366212)'), GeomFromEWKT('SRID=4674;POINT (-39.02171 -3.366198)'))) / (select extract(epoch from '2026-07-22 17:11:20'::timestamp) - extract(epoch from '2026-07-22 17:11:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021738 -3.366173)', '2026-07-22 17:11:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02171 -3.366198)'), GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.366173)'))) / (select extract(epoch from '2026-07-22 17:11:27'::timestamp) - extract(epoch from '2026-07-22 17:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02171 -3.366198)'), GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.366173)'))) / (select extract(epoch from '2026-07-22 17:11:27'::timestamp) - extract(epoch from '2026-07-22 17:11: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'), 47445, 'SRID=4674;POINT (-39.021772 -3.366146)', '2026-07-22 17:11:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.366173)'), GeomFromEWKT('SRID=4674;POINT (-39.021772 -3.366146)'))) / (select extract(epoch from '2026-07-22 17:11:34'::timestamp) - extract(epoch from '2026-07-22 17:11:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021738 -3.366173)'), GeomFromEWKT('SRID=4674;POINT (-39.021772 -3.366146)'))) / (select extract(epoch from '2026-07-22 17:11:34'::timestamp) - extract(epoch from '2026-07-22 17:11:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021803 -3.366122)', '2026-07-22 17:11:40', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021772 -3.366146)'), GeomFromEWKT('SRID=4674;POINT (-39.021803 -3.366122)'))) / (select extract(epoch from '2026-07-22 17:11:40'::timestamp) - extract(epoch from '2026-07-22 17:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021772 -3.366146)'), GeomFromEWKT('SRID=4674;POINT (-39.021803 -3.366122)'))) / (select extract(epoch from '2026-07-22 17:11:40'::timestamp) - extract(epoch from '2026-07-22 17:11: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'), 47445, 'SRID=4674;POINT (-39.021826 -3.3661)', '2026-07-22 17:11:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021803 -3.366122)'), GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.3661)'))) / (select extract(epoch from '2026-07-22 17:11:46'::timestamp) - extract(epoch from '2026-07-22 17:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021803 -3.366122)'), GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.3661)'))) / (select extract(epoch from '2026-07-22 17:11:46'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.021847 -3.366077)', '2026-07-22 17:11:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.3661)'), GeomFromEWKT('SRID=4674;POINT (-39.021847 -3.366077)'))) / (select extract(epoch from '2026-07-22 17:11:52'::timestamp) - extract(epoch from '2026-07-22 17:11:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021826 -3.3661)'), GeomFromEWKT('SRID=4674;POINT (-39.021847 -3.366077)'))) / (select extract(epoch from '2026-07-22 17:11:52'::timestamp) - extract(epoch from '2026-07-22 17:11:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02187 -3.366059)', '2026-07-22 17:11:57', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021847 -3.366077)'), GeomFromEWKT('SRID=4674;POINT (-39.02187 -3.366059)'))) / (select extract(epoch from '2026-07-22 17:11:57'::timestamp) - extract(epoch from '2026-07-22 17:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021847 -3.366077)'), GeomFromEWKT('SRID=4674;POINT (-39.02187 -3.366059)'))) / (select extract(epoch from '2026-07-22 17:11:57'::timestamp) - extract(epoch from '2026-07-22 17:11:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021888 -3.36605)', '2026-07-22 17:12:00', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02187 -3.366059)'), GeomFromEWKT('SRID=4674;POINT (-39.021888 -3.36605)'))) / (select extract(epoch from '2026-07-22 17:12:00'::timestamp) - extract(epoch from '2026-07-22 17:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02187 -3.366059)'), GeomFromEWKT('SRID=4674;POINT (-39.021888 -3.36605)'))) / (select extract(epoch from '2026-07-22 17:12:00'::timestamp) - extract(epoch from '2026-07-22 17:11: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'), 47445, 'SRID=4674;POINT (-39.021897 -3.366047)', '2026-07-22 17:12:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021888 -3.36605)'), GeomFromEWKT('SRID=4674;POINT (-39.021897 -3.366047)'))) / (select extract(epoch from '2026-07-22 17:12:02'::timestamp) - extract(epoch from '2026-07-22 17:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021888 -3.36605)'), GeomFromEWKT('SRID=4674;POINT (-39.021897 -3.366047)'))) / (select extract(epoch from '2026-07-22 17:12:02'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47445, 'SRID=4674;POINT (-39.021928 -3.36603)', '2026-07-22 17:12:08', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021897 -3.366047)'), GeomFromEWKT('SRID=4674;POINT (-39.021928 -3.36603)'))) / (select extract(epoch from '2026-07-22 17:12:08'::timestamp) - extract(epoch from '2026-07-22 17:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021897 -3.366047)'), GeomFromEWKT('SRID=4674;POINT (-39.021928 -3.36603)'))) / (select extract(epoch from '2026-07-22 17:12:08'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47445, 'SRID=4674;POINT (-39.021934 -3.366029)', '2026-07-22 17:12:09', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021928 -3.36603)'), GeomFromEWKT('SRID=4674;POINT (-39.021934 -3.366029)'))) / (select extract(epoch from '2026-07-22 17:12:09'::timestamp) - extract(epoch from '2026-07-22 17:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021928 -3.36603)'), GeomFromEWKT('SRID=4674;POINT (-39.021934 -3.366029)'))) / (select extract(epoch from '2026-07-22 17:12:09'::timestamp) - extract(epoch from '2026-07-22 17:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.021965 -3.366007)', '2026-07-22 17:12:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021934 -3.366029)'), GeomFromEWKT('SRID=4674;POINT (-39.021965 -3.366007)'))) / (select extract(epoch from '2026-07-22 17:12:15'::timestamp) - extract(epoch from '2026-07-22 17:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021934 -3.366029)'), GeomFromEWKT('SRID=4674;POINT (-39.021965 -3.366007)'))) / (select extract(epoch from '2026-07-22 17:12:15'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47445, 'SRID=4674;POINT (-39.021986 -3.365987)', '2026-07-22 17:12:20', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021965 -3.366007)'), GeomFromEWKT('SRID=4674;POINT (-39.021986 -3.365987)'))) / (select extract(epoch from '2026-07-22 17:12:20'::timestamp) - extract(epoch from '2026-07-22 17:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021965 -3.366007)'), GeomFromEWKT('SRID=4674;POINT (-39.021986 -3.365987)'))) / (select extract(epoch from '2026-07-22 17:12:20'::timestamp) - extract(epoch from '2026-07-22 17:12:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022014 -3.365969)', '2026-07-22 17:12:25', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021986 -3.365987)'), GeomFromEWKT('SRID=4674;POINT (-39.022014 -3.365969)'))) / (select extract(epoch from '2026-07-22 17:12:25'::timestamp) - extract(epoch from '2026-07-22 17:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021986 -3.365987)'), GeomFromEWKT('SRID=4674;POINT (-39.022014 -3.365969)'))) / (select extract(epoch from '2026-07-22 17:12:25'::timestamp) - extract(epoch from '2026-07-22 17:12:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022059 -3.365945)', '2026-07-22 17:12:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022014 -3.365969)'), GeomFromEWKT('SRID=4674;POINT (-39.022059 -3.365945)'))) / (select extract(epoch from '2026-07-22 17:12:33'::timestamp) - extract(epoch from '2026-07-22 17:12:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022014 -3.365969)'), GeomFromEWKT('SRID=4674;POINT (-39.022059 -3.365945)'))) / (select extract(epoch from '2026-07-22 17:12:33'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47445, 'SRID=4674;POINT (-39.022087 -3.365922)', '2026-07-22 17:12:39', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022059 -3.365945)'), GeomFromEWKT('SRID=4674;POINT (-39.022087 -3.365922)'))) / (select extract(epoch from '2026-07-22 17:12:39'::timestamp) - extract(epoch from '2026-07-22 17:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022059 -3.365945)'), GeomFromEWKT('SRID=4674;POINT (-39.022087 -3.365922)'))) / (select extract(epoch from '2026-07-22 17:12:39'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47445, 'SRID=4674;POINT (-39.022111 -3.365907)', '2026-07-22 17:12:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022087 -3.365922)'), GeomFromEWKT('SRID=4674;POINT (-39.022111 -3.365907)'))) / (select extract(epoch from '2026-07-22 17:12:44'::timestamp) - extract(epoch from '2026-07-22 17:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022087 -3.365922)'), GeomFromEWKT('SRID=4674;POINT (-39.022111 -3.365907)'))) / (select extract(epoch from '2026-07-22 17:12:44'::timestamp) - extract(epoch from '2026-07-22 17:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022149 -3.365884)', '2026-07-22 17:12:52', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022111 -3.365907)'), GeomFromEWKT('SRID=4674;POINT (-39.022149 -3.365884)'))) / (select extract(epoch from '2026-07-22 17:12:52'::timestamp) - extract(epoch from '2026-07-22 17:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022111 -3.365907)'), GeomFromEWKT('SRID=4674;POINT (-39.022149 -3.365884)'))) / (select extract(epoch from '2026-07-22 17:12:52'::timestamp) - extract(epoch from '2026-07-22 17:12:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022169 -3.365869)', '2026-07-22 17:12:58', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022149 -3.365884)'), GeomFromEWKT('SRID=4674;POINT (-39.022169 -3.365869)'))) / (select extract(epoch from '2026-07-22 17:12:58'::timestamp) - extract(epoch from '2026-07-22 17:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022149 -3.365884)'), GeomFromEWKT('SRID=4674;POINT (-39.022169 -3.365869)'))) / (select extract(epoch from '2026-07-22 17:12:58'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47445, 'SRID=4674;POINT (-39.022193 -3.365854)', '2026-07-22 17:13:05', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022169 -3.365869)'), GeomFromEWKT('SRID=4674;POINT (-39.022193 -3.365854)'))) / (select extract(epoch from '2026-07-22 17:13:05'::timestamp) - extract(epoch from '2026-07-22 17:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022169 -3.365869)'), GeomFromEWKT('SRID=4674;POINT (-39.022193 -3.365854)'))) / (select extract(epoch from '2026-07-22 17:13:05'::timestamp) - extract(epoch from '2026-07-22 17:12: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'), 47445, 'SRID=4674;POINT (-39.022231 -3.365827)', '2026-07-22 17:13:13', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022193 -3.365854)'), GeomFromEWKT('SRID=4674;POINT (-39.022231 -3.365827)'))) / (select extract(epoch from '2026-07-22 17:13:13'::timestamp) - extract(epoch from '2026-07-22 17:13:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022193 -3.365854)'), GeomFromEWKT('SRID=4674;POINT (-39.022231 -3.365827)'))) / (select extract(epoch from '2026-07-22 17:13:13'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.022263 -3.3658)', '2026-07-22 17:13:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022231 -3.365827)'), GeomFromEWKT('SRID=4674;POINT (-39.022263 -3.3658)'))) / (select extract(epoch from '2026-07-22 17:13:20'::timestamp) - extract(epoch from '2026-07-22 17:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022231 -3.365827)'), GeomFromEWKT('SRID=4674;POINT (-39.022263 -3.3658)'))) / (select extract(epoch from '2026-07-22 17:13:20'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.022296 -3.36577)', '2026-07-22 17:13:27', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022263 -3.3658)'), GeomFromEWKT('SRID=4674;POINT (-39.022296 -3.36577)'))) / (select extract(epoch from '2026-07-22 17:13:27'::timestamp) - extract(epoch from '2026-07-22 17:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022263 -3.3658)'), GeomFromEWKT('SRID=4674;POINT (-39.022296 -3.36577)'))) / (select extract(epoch from '2026-07-22 17:13:27'::timestamp) - extract(epoch from '2026-07-22 17:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022341 -3.365743)', '2026-07-22 17:13:34', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022296 -3.36577)'), GeomFromEWKT('SRID=4674;POINT (-39.022341 -3.365743)'))) / (select extract(epoch from '2026-07-22 17:13:34'::timestamp) - extract(epoch from '2026-07-22 17:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022296 -3.36577)'), GeomFromEWKT('SRID=4674;POINT (-39.022341 -3.365743)'))) / (select extract(epoch from '2026-07-22 17:13:34'::timestamp) - extract(epoch from '2026-07-22 17:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02238 -3.365721)', '2026-07-22 17:13:41', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022341 -3.365743)'), GeomFromEWKT('SRID=4674;POINT (-39.02238 -3.365721)'))) / (select extract(epoch from '2026-07-22 17:13:41'::timestamp) - extract(epoch from '2026-07-22 17:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022341 -3.365743)'), GeomFromEWKT('SRID=4674;POINT (-39.02238 -3.365721)'))) / (select extract(epoch from '2026-07-22 17:13:41'::timestamp) - extract(epoch from '2026-07-22 17:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022434 -3.365682)', '2026-07-22 17:13:51', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02238 -3.365721)'), GeomFromEWKT('SRID=4674;POINT (-39.022434 -3.365682)'))) / (select extract(epoch from '2026-07-22 17:13:51'::timestamp) - extract(epoch from '2026-07-22 17:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02238 -3.365721)'), GeomFromEWKT('SRID=4674;POINT (-39.022434 -3.365682)'))) / (select extract(epoch from '2026-07-22 17:13:51'::timestamp) - extract(epoch from '2026-07-22 17:13:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02246 -3.365658)', '2026-07-22 17:13:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022434 -3.365682)'), GeomFromEWKT('SRID=4674;POINT (-39.02246 -3.365658)'))) / (select extract(epoch from '2026-07-22 17:13:56'::timestamp) - extract(epoch from '2026-07-22 17:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022434 -3.365682)'), GeomFromEWKT('SRID=4674;POINT (-39.02246 -3.365658)'))) / (select extract(epoch from '2026-07-22 17:13:56'::timestamp) - extract(epoch from '2026-07-22 17:13: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'), 47445, 'SRID=4674;POINT (-39.022496 -3.365625)', '2026-07-22 17:14:04', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02246 -3.365658)'), GeomFromEWKT('SRID=4674;POINT (-39.022496 -3.365625)'))) / (select extract(epoch from '2026-07-22 17:14:04'::timestamp) - extract(epoch from '2026-07-22 17:13:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02246 -3.365658)'), GeomFromEWKT('SRID=4674;POINT (-39.022496 -3.365625)'))) / (select extract(epoch from '2026-07-22 17:14:04'::timestamp) - extract(epoch from '2026-07-22 17:13:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022524 -3.365603)', '2026-07-22 17:14:10', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022496 -3.365625)'), GeomFromEWKT('SRID=4674;POINT (-39.022524 -3.365603)'))) / (select extract(epoch from '2026-07-22 17:14:10'::timestamp) - extract(epoch from '2026-07-22 17:14:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022496 -3.365625)'), GeomFromEWKT('SRID=4674;POINT (-39.022524 -3.365603)'))) / (select extract(epoch from '2026-07-22 17:14:10'::timestamp) - extract(epoch from '2026-07-22 17:14:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022555 -3.365578)', '2026-07-22 17:14:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022524 -3.365603)'), GeomFromEWKT('SRID=4674;POINT (-39.022555 -3.365578)'))) / (select extract(epoch from '2026-07-22 17:14:16'::timestamp) - extract(epoch from '2026-07-22 17:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022524 -3.365603)'), GeomFromEWKT('SRID=4674;POINT (-39.022555 -3.365578)'))) / (select extract(epoch from '2026-07-22 17:14:16'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47445, 'SRID=4674;POINT (-39.022572 -3.365572)', '2026-07-22 17:14:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022555 -3.365578)'), GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.365572)'))) / (select extract(epoch from '2026-07-22 17:14:23'::timestamp) - extract(epoch from '2026-07-22 17:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022555 -3.365578)'), GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.365572)'))) / (select extract(epoch from '2026-07-22 17:14:23'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47445, 'SRID=4674;POINT (-39.022587 -3.365565)', '2026-07-22 17:14:30', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.365572)'), GeomFromEWKT('SRID=4674;POINT (-39.022587 -3.365565)'))) / (select extract(epoch from '2026-07-22 17:14:30'::timestamp) - extract(epoch from '2026-07-22 17:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022572 -3.365572)'), GeomFromEWKT('SRID=4674;POINT (-39.022587 -3.365565)'))) / (select extract(epoch from '2026-07-22 17:14:30'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47445, 'SRID=4674;POINT (-39.022599 -3.365575)', '2026-07-22 17:14:40', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022587 -3.365565)'), GeomFromEWKT('SRID=4674;POINT (-39.022599 -3.365575)'))) / (select extract(epoch from '2026-07-22 17:14:40'::timestamp) - extract(epoch from '2026-07-22 17:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022587 -3.365565)'), GeomFromEWKT('SRID=4674;POINT (-39.022599 -3.365575)'))) / (select extract(epoch from '2026-07-22 17:14:40'::timestamp) - extract(epoch from '2026-07-22 17:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022612 -3.365594)', '2026-07-22 17:14:48', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022599 -3.365575)'), GeomFromEWKT('SRID=4674;POINT (-39.022612 -3.365594)'))) / (select extract(epoch from '2026-07-22 17:14:48'::timestamp) - extract(epoch from '2026-07-22 17:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022599 -3.365575)'), GeomFromEWKT('SRID=4674;POINT (-39.022612 -3.365594)'))) / (select extract(epoch from '2026-07-22 17:14:48'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47445, 'SRID=4674;POINT (-39.022617 -3.365615)', '2026-07-22 17:14:58', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022612 -3.365594)'), GeomFromEWKT('SRID=4674;POINT (-39.022617 -3.365615)'))) / (select extract(epoch from '2026-07-22 17:14:58'::timestamp) - extract(epoch from '2026-07-22 17:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022612 -3.365594)'), GeomFromEWKT('SRID=4674;POINT (-39.022617 -3.365615)'))) / (select extract(epoch from '2026-07-22 17:14:58'::timestamp) - extract(epoch from '2026-07-22 17:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022626 -3.365623)', '2026-07-22 17:15:06', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022617 -3.365615)'), GeomFromEWKT('SRID=4674;POINT (-39.022626 -3.365623)'))) / (select extract(epoch from '2026-07-22 17:15:06'::timestamp) - extract(epoch from '2026-07-22 17:14:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022617 -3.365615)'), GeomFromEWKT('SRID=4674;POINT (-39.022626 -3.365623)'))) / (select extract(epoch from '2026-07-22 17:15:06'::timestamp) - extract(epoch from '2026-07-22 17:14: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'), 47445, 'SRID=4674;POINT (-39.022633 -3.365632)', '2026-07-22 17:15:14', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022626 -3.365623)'), GeomFromEWKT('SRID=4674;POINT (-39.022633 -3.365632)'))) / (select extract(epoch from '2026-07-22 17:15:14'::timestamp) - extract(epoch from '2026-07-22 17:15:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022626 -3.365623)'), GeomFromEWKT('SRID=4674;POINT (-39.022633 -3.365632)'))) / (select extract(epoch from '2026-07-22 17:15:14'::timestamp) - extract(epoch from '2026-07-22 17:15: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'), 47445, 'SRID=4674;POINT (-39.022643 -3.365647)', '2026-07-22 17:15:23', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022633 -3.365632)'), GeomFromEWKT('SRID=4674;POINT (-39.022643 -3.365647)'))) / (select extract(epoch from '2026-07-22 17:15:23'::timestamp) - extract(epoch from '2026-07-22 17:15:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022633 -3.365632)'), GeomFromEWKT('SRID=4674;POINT (-39.022643 -3.365647)'))) / (select extract(epoch from '2026-07-22 17:15:23'::timestamp) - extract(epoch from '2026-07-22 17:15: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'), 47445, 'SRID=4674;POINT (-39.022653 -3.365661)', '2026-07-22 17:15:33', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022643 -3.365647)'), GeomFromEWKT('SRID=4674;POINT (-39.022653 -3.365661)'))) / (select extract(epoch from '2026-07-22 17:15:33'::timestamp) - extract(epoch from '2026-07-22 17:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022643 -3.365647)'), GeomFromEWKT('SRID=4674;POINT (-39.022653 -3.365661)'))) / (select extract(epoch from '2026-07-22 17:15:33'::timestamp) - extract(epoch from '2026-07-22 17:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02266 -3.365675)', '2026-07-22 17:15:44', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022653 -3.365661)'), GeomFromEWKT('SRID=4674;POINT (-39.02266 -3.365675)'))) / (select extract(epoch from '2026-07-22 17:15:44'::timestamp) - extract(epoch from '2026-07-22 17:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022653 -3.365661)'), GeomFromEWKT('SRID=4674;POINT (-39.02266 -3.365675)'))) / (select extract(epoch from '2026-07-22 17:15:44'::timestamp) - extract(epoch from '2026-07-22 17:15: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'), 47445, 'SRID=4674;POINT (-39.022665 -3.365687)', '2026-07-22 17:15:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02266 -3.365675)'), GeomFromEWKT('SRID=4674;POINT (-39.022665 -3.365687)'))) / (select extract(epoch from '2026-07-22 17:15:53'::timestamp) - extract(epoch from '2026-07-22 17:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02266 -3.365675)'), GeomFromEWKT('SRID=4674;POINT (-39.022665 -3.365687)'))) / (select extract(epoch from '2026-07-22 17:15:53'::timestamp) - extract(epoch from '2026-07-22 17:15: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'), 47445, 'SRID=4674;POINT (-39.022668 -3.365696)', '2026-07-22 17:16:02', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022665 -3.365687)'), GeomFromEWKT('SRID=4674;POINT (-39.022668 -3.365696)'))) / (select extract(epoch from '2026-07-22 17:16:02'::timestamp) - extract(epoch from '2026-07-22 17:15:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022665 -3.365687)'), GeomFromEWKT('SRID=4674;POINT (-39.022668 -3.365696)'))) / (select extract(epoch from '2026-07-22 17:16:02'::timestamp) - extract(epoch from '2026-07-22 17:15:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022677 -3.365705)', '2026-07-22 17:16:15', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022668 -3.365696)'), GeomFromEWKT('SRID=4674;POINT (-39.022677 -3.365705)'))) / (select extract(epoch from '2026-07-22 17:16:15'::timestamp) - extract(epoch from '2026-07-22 17:16:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022668 -3.365696)'), GeomFromEWKT('SRID=4674;POINT (-39.022677 -3.365705)'))) / (select extract(epoch from '2026-07-22 17:16:15'::timestamp) - extract(epoch from '2026-07-22 17:16: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'), 47445, 'SRID=4674;POINT (-39.022681 -3.365715)', '2026-07-22 17:16:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022677 -3.365705)'), GeomFromEWKT('SRID=4674;POINT (-39.022681 -3.365715)'))) / (select extract(epoch from '2026-07-22 17:16:25'::timestamp) - extract(epoch from '2026-07-22 17:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022677 -3.365705)'), GeomFromEWKT('SRID=4674;POINT (-39.022681 -3.365715)'))) / (select extract(epoch from '2026-07-22 17:16:25'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.022687 -3.365728)', '2026-07-22 17:16:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022681 -3.365715)'), GeomFromEWKT('SRID=4674;POINT (-39.022687 -3.365728)'))) / (select extract(epoch from '2026-07-22 17:16:40'::timestamp) - extract(epoch from '2026-07-22 17:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022681 -3.365715)'), GeomFromEWKT('SRID=4674;POINT (-39.022687 -3.365728)'))) / (select extract(epoch from '2026-07-22 17:16:40'::timestamp) - extract(epoch from '2026-07-22 17:16: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'), 47445, 'SRID=4674;POINT (-39.022702 -3.365732)', '2026-07-22 17:16:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022687 -3.365728)'), GeomFromEWKT('SRID=4674;POINT (-39.022702 -3.365732)'))) / (select extract(epoch from '2026-07-22 17:16:49'::timestamp) - extract(epoch from '2026-07-22 17:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022687 -3.365728)'), GeomFromEWKT('SRID=4674;POINT (-39.022702 -3.365732)'))) / (select extract(epoch from '2026-07-22 17:16:49'::timestamp) - extract(epoch from '2026-07-22 17:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022703 -3.365734)', '2026-07-22 17:16:54', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022702 -3.365732)'), GeomFromEWKT('SRID=4674;POINT (-39.022703 -3.365734)'))) / (select extract(epoch from '2026-07-22 17:16:54'::timestamp) - extract(epoch from '2026-07-22 17:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022702 -3.365732)'), GeomFromEWKT('SRID=4674;POINT (-39.022703 -3.365734)'))) / (select extract(epoch from '2026-07-22 17:16:54'::timestamp) - extract(epoch from '2026-07-22 17:16: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'), 47445, 'SRID=4674;POINT (-39.022723 -3.365741)', '2026-07-22 17:17:03', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022703 -3.365734)'), GeomFromEWKT('SRID=4674;POINT (-39.022723 -3.365741)'))) / (select extract(epoch from '2026-07-22 17:17:03'::timestamp) - extract(epoch from '2026-07-22 17:16:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022703 -3.365734)'), GeomFromEWKT('SRID=4674;POINT (-39.022723 -3.365741)'))) / (select extract(epoch from '2026-07-22 17:17:03'::timestamp) - extract(epoch from '2026-07-22 17:16:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022737 -3.365743)', '2026-07-22 17:17:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022723 -3.365741)'), GeomFromEWKT('SRID=4674;POINT (-39.022737 -3.365743)'))) / (select extract(epoch from '2026-07-22 17:17:10'::timestamp) - extract(epoch from '2026-07-22 17:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022723 -3.365741)'), GeomFromEWKT('SRID=4674;POINT (-39.022737 -3.365743)'))) / (select extract(epoch from '2026-07-22 17:17:10'::timestamp) - extract(epoch from '2026-07-22 17:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022748 -3.365746)', '2026-07-22 17:17:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022737 -3.365743)'), GeomFromEWKT('SRID=4674;POINT (-39.022748 -3.365746)'))) / (select extract(epoch from '2026-07-22 17:17:18'::timestamp) - extract(epoch from '2026-07-22 17:17:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022737 -3.365743)'), GeomFromEWKT('SRID=4674;POINT (-39.022748 -3.365746)'))) / (select extract(epoch from '2026-07-22 17:17:18'::timestamp) - extract(epoch from '2026-07-22 17:17: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'), 47445, 'SRID=4674;POINT (-39.022777 -3.365751)', '2026-07-22 17:17:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022748 -3.365746)'), GeomFromEWKT('SRID=4674;POINT (-39.022777 -3.365751)'))) / (select extract(epoch from '2026-07-22 17:17:26'::timestamp) - extract(epoch from '2026-07-22 17:17:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022748 -3.365746)'), GeomFromEWKT('SRID=4674;POINT (-39.022777 -3.365751)'))) / (select extract(epoch from '2026-07-22 17:17:26'::timestamp) - extract(epoch from '2026-07-22 17:17: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'), 47445, 'SRID=4674;POINT (-39.022801 -3.365749)', '2026-07-22 17:17:32', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022777 -3.365751)'), GeomFromEWKT('SRID=4674;POINT (-39.022801 -3.365749)'))) / (select extract(epoch from '2026-07-22 17:17:32'::timestamp) - extract(epoch from '2026-07-22 17:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022777 -3.365751)'), GeomFromEWKT('SRID=4674;POINT (-39.022801 -3.365749)'))) / (select extract(epoch from '2026-07-22 17:17:32'::timestamp) - extract(epoch from '2026-07-22 17:17: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'), 47445, 'SRID=4674;POINT (-39.022841 -3.365738)', '2026-07-22 17:17:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022801 -3.365749)'), GeomFromEWKT('SRID=4674;POINT (-39.022841 -3.365738)'))) / (select extract(epoch from '2026-07-22 17:17:40'::timestamp) - extract(epoch from '2026-07-22 17:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022801 -3.365749)'), GeomFromEWKT('SRID=4674;POINT (-39.022841 -3.365738)'))) / (select extract(epoch from '2026-07-22 17:17:40'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.022875 -3.365719)', '2026-07-22 17:17:46', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022841 -3.365738)'), GeomFromEWKT('SRID=4674;POINT (-39.022875 -3.365719)'))) / (select extract(epoch from '2026-07-22 17:17:46'::timestamp) - extract(epoch from '2026-07-22 17:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022841 -3.365738)'), GeomFromEWKT('SRID=4674;POINT (-39.022875 -3.365719)'))) / (select extract(epoch from '2026-07-22 17:17:46'::timestamp) - extract(epoch from '2026-07-22 17:17: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'), 47445, 'SRID=4674;POINT (-39.022908 -3.365696)', '2026-07-22 17:17:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022875 -3.365719)'), GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.365696)'))) / (select extract(epoch from '2026-07-22 17:17:52'::timestamp) - extract(epoch from '2026-07-22 17:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022875 -3.365719)'), GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.365696)'))) / (select extract(epoch from '2026-07-22 17:17:52'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.022938 -3.36567)', '2026-07-22 17:17:58', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.365696)'), GeomFromEWKT('SRID=4674;POINT (-39.022938 -3.36567)'))) / (select extract(epoch from '2026-07-22 17:17:58'::timestamp) - extract(epoch from '2026-07-22 17:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022908 -3.365696)'), GeomFromEWKT('SRID=4674;POINT (-39.022938 -3.36567)'))) / (select extract(epoch from '2026-07-22 17:17:58'::timestamp) - extract(epoch from '2026-07-22 17:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.022966 -3.365652)', '2026-07-22 17:18:03', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022938 -3.36567)'), GeomFromEWKT('SRID=4674;POINT (-39.022966 -3.365652)'))) / (select extract(epoch from '2026-07-22 17:18:03'::timestamp) - extract(epoch from '2026-07-22 17:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022938 -3.36567)'), GeomFromEWKT('SRID=4674;POINT (-39.022966 -3.365652)'))) / (select extract(epoch from '2026-07-22 17:18:03'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.022996 -3.365618)', '2026-07-22 17:18:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022966 -3.365652)'), GeomFromEWKT('SRID=4674;POINT (-39.022996 -3.365618)'))) / (select extract(epoch from '2026-07-22 17:18:10'::timestamp) - extract(epoch from '2026-07-22 17:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022966 -3.365652)'), GeomFromEWKT('SRID=4674;POINT (-39.022996 -3.365618)'))) / (select extract(epoch from '2026-07-22 17:18:10'::timestamp) - extract(epoch from '2026-07-22 17:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023006 -3.36561)', '2026-07-22 17:18:12', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022996 -3.365618)'), GeomFromEWKT('SRID=4674;POINT (-39.023006 -3.36561)'))) / (select extract(epoch from '2026-07-22 17:18:12'::timestamp) - extract(epoch from '2026-07-22 17:18:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022996 -3.365618)'), GeomFromEWKT('SRID=4674;POINT (-39.023006 -3.36561)'))) / (select extract(epoch from '2026-07-22 17:18:12'::timestamp) - extract(epoch from '2026-07-22 17:18:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023032 -3.365582)', '2026-07-22 17:18:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023006 -3.36561)'), GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.365582)'))) / (select extract(epoch from '2026-07-22 17:18:18'::timestamp) - extract(epoch from '2026-07-22 17:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023006 -3.36561)'), GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.365582)'))) / (select extract(epoch from '2026-07-22 17:18:18'::timestamp) - extract(epoch from '2026-07-22 17:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023061 -3.365554)', '2026-07-22 17:18:25', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.365582)'), GeomFromEWKT('SRID=4674;POINT (-39.023061 -3.365554)'))) / (select extract(epoch from '2026-07-22 17:18:25'::timestamp) - extract(epoch from '2026-07-22 17:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023032 -3.365582)'), GeomFromEWKT('SRID=4674;POINT (-39.023061 -3.365554)'))) / (select extract(epoch from '2026-07-22 17:18:25'::timestamp) - extract(epoch from '2026-07-22 17:18: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'), 47445, 'SRID=4674;POINT (-39.023086 -3.365532)', '2026-07-22 17:18:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023061 -3.365554)'), GeomFromEWKT('SRID=4674;POINT (-39.023086 -3.365532)'))) / (select extract(epoch from '2026-07-22 17:18:32'::timestamp) - extract(epoch from '2026-07-22 17:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023061 -3.365554)'), GeomFromEWKT('SRID=4674;POINT (-39.023086 -3.365532)'))) / (select extract(epoch from '2026-07-22 17:18:32'::timestamp) - extract(epoch from '2026-07-22 17:18: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'), 47445, 'SRID=4674;POINT (-39.023118 -3.365503)', '2026-07-22 17:18:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023086 -3.365532)'), GeomFromEWKT('SRID=4674;POINT (-39.023118 -3.365503)'))) / (select extract(epoch from '2026-07-22 17:18:41'::timestamp) - extract(epoch from '2026-07-22 17:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023086 -3.365532)'), GeomFromEWKT('SRID=4674;POINT (-39.023118 -3.365503)'))) / (select extract(epoch from '2026-07-22 17:18:41'::timestamp) - extract(epoch from '2026-07-22 17:18:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023126 -3.3655)', '2026-07-22 17:18:42', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023118 -3.365503)'), GeomFromEWKT('SRID=4674;POINT (-39.023126 -3.3655)'))) / (select extract(epoch from '2026-07-22 17:18:42'::timestamp) - extract(epoch from '2026-07-22 17:18:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023118 -3.365503)'), GeomFromEWKT('SRID=4674;POINT (-39.023126 -3.3655)'))) / (select extract(epoch from '2026-07-22 17:18:42'::timestamp) - extract(epoch from '2026-07-22 17:18:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023142 -3.365491)', '2026-07-22 17:18:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023126 -3.3655)'), GeomFromEWKT('SRID=4674;POINT (-39.023142 -3.365491)'))) / (select extract(epoch from '2026-07-22 17:18:44'::timestamp) - extract(epoch from '2026-07-22 17:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023126 -3.3655)'), GeomFromEWKT('SRID=4674;POINT (-39.023142 -3.365491)'))) / (select extract(epoch from '2026-07-22 17:18:44'::timestamp) - extract(epoch from '2026-07-22 17:18: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'), 47445, 'SRID=4674;POINT (-39.023145 -3.365482)', '2026-07-22 17:18:46', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023142 -3.365491)'), GeomFromEWKT('SRID=4674;POINT (-39.023145 -3.365482)'))) / (select extract(epoch from '2026-07-22 17:18:46'::timestamp) - extract(epoch from '2026-07-22 17:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023142 -3.365491)'), GeomFromEWKT('SRID=4674;POINT (-39.023145 -3.365482)'))) / (select extract(epoch from '2026-07-22 17:18:46'::timestamp) - extract(epoch from '2026-07-22 17:18: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'), 47445, 'SRID=4674;POINT (-39.023177 -3.365457)', '2026-07-22 17:18:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023145 -3.365482)'), GeomFromEWKT('SRID=4674;POINT (-39.023177 -3.365457)'))) / (select extract(epoch from '2026-07-22 17:18:53'::timestamp) - extract(epoch from '2026-07-22 17:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023145 -3.365482)'), GeomFromEWKT('SRID=4674;POINT (-39.023177 -3.365457)'))) / (select extract(epoch from '2026-07-22 17:18:53'::timestamp) - extract(epoch from '2026-07-22 17:18: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'), 47445, 'SRID=4674;POINT (-39.023219 -3.365418)', '2026-07-22 17:19:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023177 -3.365457)'), GeomFromEWKT('SRID=4674;POINT (-39.023219 -3.365418)'))) / (select extract(epoch from '2026-07-22 17:19:03'::timestamp) - extract(epoch from '2026-07-22 17:18:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023177 -3.365457)'), GeomFromEWKT('SRID=4674;POINT (-39.023219 -3.365418)'))) / (select extract(epoch from '2026-07-22 17:19:03'::timestamp) - extract(epoch from '2026-07-22 17:18:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023244 -3.365398)', '2026-07-22 17:19:08', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023219 -3.365418)'), GeomFromEWKT('SRID=4674;POINT (-39.023244 -3.365398)'))) / (select extract(epoch from '2026-07-22 17:19:08'::timestamp) - extract(epoch from '2026-07-22 17:19:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023219 -3.365418)'), GeomFromEWKT('SRID=4674;POINT (-39.023244 -3.365398)'))) / (select extract(epoch from '2026-07-22 17:19:08'::timestamp) - extract(epoch from '2026-07-22 17:19:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023254 -3.365392)', '2026-07-22 17:19:10', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023244 -3.365398)'), GeomFromEWKT('SRID=4674;POINT (-39.023254 -3.365392)'))) / (select extract(epoch from '2026-07-22 17:19:10'::timestamp) - extract(epoch from '2026-07-22 17:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023244 -3.365398)'), GeomFromEWKT('SRID=4674;POINT (-39.023254 -3.365392)'))) / (select extract(epoch from '2026-07-22 17:19:10'::timestamp) - extract(epoch from '2026-07-22 17:19: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'), 47445, 'SRID=4674;POINT (-39.023285 -3.365364)', '2026-07-22 17:19:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023254 -3.365392)'), GeomFromEWKT('SRID=4674;POINT (-39.023285 -3.365364)'))) / (select extract(epoch from '2026-07-22 17:19:17'::timestamp) - extract(epoch from '2026-07-22 17:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023254 -3.365392)'), GeomFromEWKT('SRID=4674;POINT (-39.023285 -3.365364)'))) / (select extract(epoch from '2026-07-22 17:19:17'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.023317 -3.365334)', '2026-07-22 17:19:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023285 -3.365364)'), GeomFromEWKT('SRID=4674;POINT (-39.023317 -3.365334)'))) / (select extract(epoch from '2026-07-22 17:19:24'::timestamp) - extract(epoch from '2026-07-22 17:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023285 -3.365364)'), GeomFromEWKT('SRID=4674;POINT (-39.023317 -3.365334)'))) / (select extract(epoch from '2026-07-22 17:19:24'::timestamp) - extract(epoch from '2026-07-22 17:19: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'), 47445, 'SRID=4674;POINT (-39.023352 -3.365301)', '2026-07-22 17:19:31', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023317 -3.365334)'), GeomFromEWKT('SRID=4674;POINT (-39.023352 -3.365301)'))) / (select extract(epoch from '2026-07-22 17:19:31'::timestamp) - extract(epoch from '2026-07-22 17:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023317 -3.365334)'), GeomFromEWKT('SRID=4674;POINT (-39.023352 -3.365301)'))) / (select extract(epoch from '2026-07-22 17:19:31'::timestamp) - extract(epoch from '2026-07-22 17:19: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'), 47445, 'SRID=4674;POINT (-39.023401 -3.365258)', '2026-07-22 17:19:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023352 -3.365301)'), GeomFromEWKT('SRID=4674;POINT (-39.023401 -3.365258)'))) / (select extract(epoch from '2026-07-22 17:19:41'::timestamp) - extract(epoch from '2026-07-22 17:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023352 -3.365301)'), GeomFromEWKT('SRID=4674;POINT (-39.023401 -3.365258)'))) / (select extract(epoch from '2026-07-22 17:19:41'::timestamp) - extract(epoch from '2026-07-22 17:19: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'), 47445, 'SRID=4674;POINT (-39.023437 -3.365232)', '2026-07-22 17:19:48', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023401 -3.365258)'), GeomFromEWKT('SRID=4674;POINT (-39.023437 -3.365232)'))) / (select extract(epoch from '2026-07-22 17:19:48'::timestamp) - extract(epoch from '2026-07-22 17:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023401 -3.365258)'), GeomFromEWKT('SRID=4674;POINT (-39.023437 -3.365232)'))) / (select extract(epoch from '2026-07-22 17:19:48'::timestamp) - extract(epoch from '2026-07-22 17:19: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'), 47445, 'SRID=4674;POINT (-39.023464 -3.365201)', '2026-07-22 17:19:55', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023437 -3.365232)'), GeomFromEWKT('SRID=4674;POINT (-39.023464 -3.365201)'))) / (select extract(epoch from '2026-07-22 17:19:55'::timestamp) - extract(epoch from '2026-07-22 17:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023437 -3.365232)'), GeomFromEWKT('SRID=4674;POINT (-39.023464 -3.365201)'))) / (select extract(epoch from '2026-07-22 17:19:55'::timestamp) - extract(epoch from '2026-07-22 17:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023494 -3.365173)', '2026-07-22 17:20:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023464 -3.365201)'), GeomFromEWKT('SRID=4674;POINT (-39.023494 -3.365173)'))) / (select extract(epoch from '2026-07-22 17:20:01'::timestamp) - extract(epoch from '2026-07-22 17:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023464 -3.365201)'), GeomFromEWKT('SRID=4674;POINT (-39.023494 -3.365173)'))) / (select extract(epoch from '2026-07-22 17:20:01'::timestamp) - extract(epoch from '2026-07-22 17:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023536 -3.365146)', '2026-07-22 17:20:08', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023494 -3.365173)'), GeomFromEWKT('SRID=4674;POINT (-39.023536 -3.365146)'))) / (select extract(epoch from '2026-07-22 17:20:08'::timestamp) - extract(epoch from '2026-07-22 17:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023494 -3.365173)'), GeomFromEWKT('SRID=4674;POINT (-39.023536 -3.365146)'))) / (select extract(epoch from '2026-07-22 17:20:08'::timestamp) - extract(epoch from '2026-07-22 17:20:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023566 -3.365118)', '2026-07-22 17:20:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023536 -3.365146)'), GeomFromEWKT('SRID=4674;POINT (-39.023566 -3.365118)'))) / (select extract(epoch from '2026-07-22 17:20:15'::timestamp) - extract(epoch from '2026-07-22 17:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023536 -3.365146)'), GeomFromEWKT('SRID=4674;POINT (-39.023566 -3.365118)'))) / (select extract(epoch from '2026-07-22 17:20:15'::timestamp) - extract(epoch from '2026-07-22 17:20: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'), 47445, 'SRID=4674;POINT (-39.023595 -3.365084)', '2026-07-22 17:20:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023566 -3.365118)'), GeomFromEWKT('SRID=4674;POINT (-39.023595 -3.365084)'))) / (select extract(epoch from '2026-07-22 17:20:22'::timestamp) - extract(epoch from '2026-07-22 17:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023566 -3.365118)'), GeomFromEWKT('SRID=4674;POINT (-39.023595 -3.365084)'))) / (select extract(epoch from '2026-07-22 17:20:22'::timestamp) - extract(epoch from '2026-07-22 17:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023623 -3.36506)', '2026-07-22 17:20:28', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023595 -3.365084)'), GeomFromEWKT('SRID=4674;POINT (-39.023623 -3.36506)'))) / (select extract(epoch from '2026-07-22 17:20:28'::timestamp) - extract(epoch from '2026-07-22 17:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023595 -3.365084)'), GeomFromEWKT('SRID=4674;POINT (-39.023623 -3.36506)'))) / (select extract(epoch from '2026-07-22 17:20:28'::timestamp) - extract(epoch from '2026-07-22 17:20: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'), 47445, 'SRID=4674;POINT (-39.023638 -3.365048)', '2026-07-22 17:20:31', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023623 -3.36506)'), GeomFromEWKT('SRID=4674;POINT (-39.023638 -3.365048)'))) / (select extract(epoch from '2026-07-22 17:20:31'::timestamp) - extract(epoch from '2026-07-22 17:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023623 -3.36506)'), GeomFromEWKT('SRID=4674;POINT (-39.023638 -3.365048)'))) / (select extract(epoch from '2026-07-22 17:20:31'::timestamp) - extract(epoch from '2026-07-22 17:20: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'), 47445, 'SRID=4674;POINT (-39.023664 -3.365012)', '2026-07-22 17:20:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023638 -3.365048)'), GeomFromEWKT('SRID=4674;POINT (-39.023664 -3.365012)'))) / (select extract(epoch from '2026-07-22 17:20:39'::timestamp) - extract(epoch from '2026-07-22 17:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023638 -3.365048)'), GeomFromEWKT('SRID=4674;POINT (-39.023664 -3.365012)'))) / (select extract(epoch from '2026-07-22 17:20:39'::timestamp) - extract(epoch from '2026-07-22 17:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023693 -3.364993)', '2026-07-22 17:20:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023664 -3.365012)'), GeomFromEWKT('SRID=4674;POINT (-39.023693 -3.364993)'))) / (select extract(epoch from '2026-07-22 17:20:45'::timestamp) - extract(epoch from '2026-07-22 17:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023664 -3.365012)'), GeomFromEWKT('SRID=4674;POINT (-39.023693 -3.364993)'))) / (select extract(epoch from '2026-07-22 17:20:45'::timestamp) - extract(epoch from '2026-07-22 17:20: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'), 47445, 'SRID=4674;POINT (-39.023731 -3.364953)', '2026-07-22 17:20:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023693 -3.364993)'), GeomFromEWKT('SRID=4674;POINT (-39.023731 -3.364953)'))) / (select extract(epoch from '2026-07-22 17:20:54'::timestamp) - extract(epoch from '2026-07-22 17:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023693 -3.364993)'), GeomFromEWKT('SRID=4674;POINT (-39.023731 -3.364953)'))) / (select extract(epoch from '2026-07-22 17:20:54'::timestamp) - extract(epoch from '2026-07-22 17:20: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'), 47445, 'SRID=4674;POINT (-39.023761 -3.364922)', '2026-07-22 17:21:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023731 -3.364953)'), GeomFromEWKT('SRID=4674;POINT (-39.023761 -3.364922)'))) / (select extract(epoch from '2026-07-22 17:21:02'::timestamp) - extract(epoch from '2026-07-22 17:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023731 -3.364953)'), GeomFromEWKT('SRID=4674;POINT (-39.023761 -3.364922)'))) / (select extract(epoch from '2026-07-22 17:21:02'::timestamp) - extract(epoch from '2026-07-22 17:20: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'), 47445, 'SRID=4674;POINT (-39.023787 -3.3649)', '2026-07-22 17:21:09', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023761 -3.364922)'), GeomFromEWKT('SRID=4674;POINT (-39.023787 -3.3649)'))) / (select extract(epoch from '2026-07-22 17:21:09'::timestamp) - extract(epoch from '2026-07-22 17:21:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023761 -3.364922)'), GeomFromEWKT('SRID=4674;POINT (-39.023787 -3.3649)'))) / (select extract(epoch from '2026-07-22 17:21:09'::timestamp) - extract(epoch from '2026-07-22 17:21: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'), 47445, 'SRID=4674;POINT (-39.023817 -3.364876)', '2026-07-22 17:21:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023787 -3.3649)'), GeomFromEWKT('SRID=4674;POINT (-39.023817 -3.364876)'))) / (select extract(epoch from '2026-07-22 17:21:16'::timestamp) - extract(epoch from '2026-07-22 17:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023787 -3.3649)'), GeomFromEWKT('SRID=4674;POINT (-39.023817 -3.364876)'))) / (select extract(epoch from '2026-07-22 17:21:16'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.023848 -3.364858)', '2026-07-22 17:21:22', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023817 -3.364876)'), GeomFromEWKT('SRID=4674;POINT (-39.023848 -3.364858)'))) / (select extract(epoch from '2026-07-22 17:21:22'::timestamp) - extract(epoch from '2026-07-22 17:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023817 -3.364876)'), GeomFromEWKT('SRID=4674;POINT (-39.023848 -3.364858)'))) / (select extract(epoch from '2026-07-22 17:21:22'::timestamp) - extract(epoch from '2026-07-22 17:21: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'), 47445, 'SRID=4674;POINT (-39.023871 -3.364839)', '2026-07-22 17:21:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023848 -3.364858)'), GeomFromEWKT('SRID=4674;POINT (-39.023871 -3.364839)'))) / (select extract(epoch from '2026-07-22 17:21:28'::timestamp) - extract(epoch from '2026-07-22 17:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023848 -3.364858)'), GeomFromEWKT('SRID=4674;POINT (-39.023871 -3.364839)'))) / (select extract(epoch from '2026-07-22 17:21:28'::timestamp) - extract(epoch from '2026-07-22 17:21:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023903 -3.364809)', '2026-07-22 17:21:34', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023871 -3.364839)'), GeomFromEWKT('SRID=4674;POINT (-39.023903 -3.364809)'))) / (select extract(epoch from '2026-07-22 17:21:34'::timestamp) - extract(epoch from '2026-07-22 17:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023871 -3.364839)'), GeomFromEWKT('SRID=4674;POINT (-39.023903 -3.364809)'))) / (select extract(epoch from '2026-07-22 17:21:34'::timestamp) - extract(epoch from '2026-07-22 17:21:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023929 -3.364775)', '2026-07-22 17:21:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023903 -3.364809)'), GeomFromEWKT('SRID=4674;POINT (-39.023929 -3.364775)'))) / (select extract(epoch from '2026-07-22 17:21:41'::timestamp) - extract(epoch from '2026-07-22 17:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023903 -3.364809)'), GeomFromEWKT('SRID=4674;POINT (-39.023929 -3.364775)'))) / (select extract(epoch from '2026-07-22 17:21:41'::timestamp) - extract(epoch from '2026-07-22 17:21:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023953 -3.364752)', '2026-07-22 17:21:48', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023929 -3.364775)'), GeomFromEWKT('SRID=4674;POINT (-39.023953 -3.364752)'))) / (select extract(epoch from '2026-07-22 17:21:48'::timestamp) - extract(epoch from '2026-07-22 17:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023929 -3.364775)'), GeomFromEWKT('SRID=4674;POINT (-39.023953 -3.364752)'))) / (select extract(epoch from '2026-07-22 17:21:48'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.023974 -3.364738)', '2026-07-22 17:21:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023953 -3.364752)'), GeomFromEWKT('SRID=4674;POINT (-39.023974 -3.364738)'))) / (select extract(epoch from '2026-07-22 17:21:52'::timestamp) - extract(epoch from '2026-07-22 17:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023953 -3.364752)'), GeomFromEWKT('SRID=4674;POINT (-39.023974 -3.364738)'))) / (select extract(epoch from '2026-07-22 17:21:52'::timestamp) - extract(epoch from '2026-07-22 17:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.023985 -3.364729)', '2026-07-22 17:21:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023974 -3.364738)'), GeomFromEWKT('SRID=4674;POINT (-39.023985 -3.364729)'))) / (select extract(epoch from '2026-07-22 17:21:54'::timestamp) - extract(epoch from '2026-07-22 17:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023974 -3.364738)'), GeomFromEWKT('SRID=4674;POINT (-39.023985 -3.364729)'))) / (select extract(epoch from '2026-07-22 17:21:54'::timestamp) - extract(epoch from '2026-07-22 17:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024016 -3.364696)', '2026-07-22 17:22:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023985 -3.364729)'), GeomFromEWKT('SRID=4674;POINT (-39.024016 -3.364696)'))) / (select extract(epoch from '2026-07-22 17:22:01'::timestamp) - extract(epoch from '2026-07-22 17:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023985 -3.364729)'), GeomFromEWKT('SRID=4674;POINT (-39.024016 -3.364696)'))) / (select extract(epoch from '2026-07-22 17:22:01'::timestamp) - extract(epoch from '2026-07-22 17:21: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'), 47445, 'SRID=4674;POINT (-39.024059 -3.364662)', '2026-07-22 17:22:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024016 -3.364696)'), GeomFromEWKT('SRID=4674;POINT (-39.024059 -3.364662)'))) / (select extract(epoch from '2026-07-22 17:22:10'::timestamp) - extract(epoch from '2026-07-22 17:22:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024016 -3.364696)'), GeomFromEWKT('SRID=4674;POINT (-39.024059 -3.364662)'))) / (select extract(epoch from '2026-07-22 17:22:10'::timestamp) - extract(epoch from '2026-07-22 17:22: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'), 47445, 'SRID=4674;POINT (-39.024062 -3.364656)', '2026-07-22 17:22:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024059 -3.364662)'), GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.364656)'))) / (select extract(epoch from '2026-07-22 17:22:11'::timestamp) - extract(epoch from '2026-07-22 17:22:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024059 -3.364662)'), GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.364656)'))) / (select extract(epoch from '2026-07-22 17:22:11'::timestamp) - extract(epoch from '2026-07-22 17:22:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024067 -3.364647)', '2026-07-22 17:22:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.364656)'), GeomFromEWKT('SRID=4674;POINT (-39.024067 -3.364647)'))) / (select extract(epoch from '2026-07-22 17:22:14'::timestamp) - extract(epoch from '2026-07-22 17:22:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024062 -3.364656)'), GeomFromEWKT('SRID=4674;POINT (-39.024067 -3.364647)'))) / (select extract(epoch from '2026-07-22 17:22:14'::timestamp) - extract(epoch from '2026-07-22 17:22:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024084 -3.364639)', '2026-07-22 17:22:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024067 -3.364647)'), GeomFromEWKT('SRID=4674;POINT (-39.024084 -3.364639)'))) / (select extract(epoch from '2026-07-22 17:22:16'::timestamp) - extract(epoch from '2026-07-22 17:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024067 -3.364647)'), GeomFromEWKT('SRID=4674;POINT (-39.024084 -3.364639)'))) / (select extract(epoch from '2026-07-22 17:22:16'::timestamp) - extract(epoch from '2026-07-22 17:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024109 -3.364614)', '2026-07-22 17:22:23', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024084 -3.364639)'), GeomFromEWKT('SRID=4674;POINT (-39.024109 -3.364614)'))) / (select extract(epoch from '2026-07-22 17:22:23'::timestamp) - extract(epoch from '2026-07-22 17:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024084 -3.364639)'), GeomFromEWKT('SRID=4674;POINT (-39.024109 -3.364614)'))) / (select extract(epoch from '2026-07-22 17:22:23'::timestamp) - extract(epoch from '2026-07-22 17:22: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'), 47445, 'SRID=4674;POINT (-39.02414 -3.364582)', '2026-07-22 17:22:30', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024109 -3.364614)'), GeomFromEWKT('SRID=4674;POINT (-39.02414 -3.364582)'))) / (select extract(epoch from '2026-07-22 17:22:30'::timestamp) - extract(epoch from '2026-07-22 17:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024109 -3.364614)'), GeomFromEWKT('SRID=4674;POINT (-39.02414 -3.364582)'))) / (select extract(epoch from '2026-07-22 17:22:30'::timestamp) - extract(epoch from '2026-07-22 17:22: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'), 47445, 'SRID=4674;POINT (-39.024167 -3.364563)', '2026-07-22 17:22:37', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02414 -3.364582)'), GeomFromEWKT('SRID=4674;POINT (-39.024167 -3.364563)'))) / (select extract(epoch from '2026-07-22 17:22:37'::timestamp) - extract(epoch from '2026-07-22 17:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02414 -3.364582)'), GeomFromEWKT('SRID=4674;POINT (-39.024167 -3.364563)'))) / (select extract(epoch from '2026-07-22 17:22:37'::timestamp) - extract(epoch from '2026-07-22 17:22: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'), 47445, 'SRID=4674;POINT (-39.024198 -3.364548)', '2026-07-22 17:22:45', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024167 -3.364563)'), GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.364548)'))) / (select extract(epoch from '2026-07-22 17:22:45'::timestamp) - extract(epoch from '2026-07-22 17:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024167 -3.364563)'), GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.364548)'))) / (select extract(epoch from '2026-07-22 17:22:45'::timestamp) - extract(epoch from '2026-07-22 17:22: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'), 47445, 'SRID=4674;POINT (-39.024221 -3.364534)', '2026-07-22 17:22:51', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.364548)'), GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.364534)'))) / (select extract(epoch from '2026-07-22 17:22:51'::timestamp) - extract(epoch from '2026-07-22 17:22:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024198 -3.364548)'), GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.364534)'))) / (select extract(epoch from '2026-07-22 17:22:51'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.024267 -3.364496)', '2026-07-22 17:23:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.364534)'), GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.364496)'))) / (select extract(epoch from '2026-07-22 17:23:01'::timestamp) - extract(epoch from '2026-07-22 17:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024221 -3.364534)'), GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.364496)'))) / (select extract(epoch from '2026-07-22 17:23:01'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.024304 -3.364477)', '2026-07-22 17:23:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.364496)'), GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.364477)'))) / (select extract(epoch from '2026-07-22 17:23:07'::timestamp) - extract(epoch from '2026-07-22 17:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024267 -3.364496)'), GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.364477)'))) / (select extract(epoch from '2026-07-22 17:23:07'::timestamp) - extract(epoch from '2026-07-22 17:23: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'), 47445, 'SRID=4674;POINT (-39.024334 -3.364459)', '2026-07-22 17:23:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.364477)'), GeomFromEWKT('SRID=4674;POINT (-39.024334 -3.364459)'))) / (select extract(epoch from '2026-07-22 17:23:13'::timestamp) - extract(epoch from '2026-07-22 17:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024304 -3.364477)'), GeomFromEWKT('SRID=4674;POINT (-39.024334 -3.364459)'))) / (select extract(epoch from '2026-07-22 17:23:13'::timestamp) - extract(epoch from '2026-07-22 17:23: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'), 47445, 'SRID=4674;POINT (-39.024363 -3.364434)', '2026-07-22 17:23:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024334 -3.364459)'), GeomFromEWKT('SRID=4674;POINT (-39.024363 -3.364434)'))) / (select extract(epoch from '2026-07-22 17:23:20'::timestamp) - extract(epoch from '2026-07-22 17:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024334 -3.364459)'), GeomFromEWKT('SRID=4674;POINT (-39.024363 -3.364434)'))) / (select extract(epoch from '2026-07-22 17:23:20'::timestamp) - extract(epoch from '2026-07-22 17:23: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'), 47445, 'SRID=4674;POINT (-39.024388 -3.364416)', '2026-07-22 17:23:26', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024363 -3.364434)'), GeomFromEWKT('SRID=4674;POINT (-39.024388 -3.364416)'))) / (select extract(epoch from '2026-07-22 17:23:26'::timestamp) - extract(epoch from '2026-07-22 17:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024363 -3.364434)'), GeomFromEWKT('SRID=4674;POINT (-39.024388 -3.364416)'))) / (select extract(epoch from '2026-07-22 17:23:26'::timestamp) - extract(epoch from '2026-07-22 17:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024417 -3.364394)', '2026-07-22 17:23:33', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024388 -3.364416)'), GeomFromEWKT('SRID=4674;POINT (-39.024417 -3.364394)'))) / (select extract(epoch from '2026-07-22 17:23:33'::timestamp) - extract(epoch from '2026-07-22 17:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024388 -3.364416)'), GeomFromEWKT('SRID=4674;POINT (-39.024417 -3.364394)'))) / (select extract(epoch from '2026-07-22 17:23:33'::timestamp) - extract(epoch from '2026-07-22 17:23: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'), 47445, 'SRID=4674;POINT (-39.024444 -3.364374)', '2026-07-22 17:23:39', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024417 -3.364394)'), GeomFromEWKT('SRID=4674;POINT (-39.024444 -3.364374)'))) / (select extract(epoch from '2026-07-22 17:23:39'::timestamp) - extract(epoch from '2026-07-22 17:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024417 -3.364394)'), GeomFromEWKT('SRID=4674;POINT (-39.024444 -3.364374)'))) / (select extract(epoch from '2026-07-22 17:23:39'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.024472 -3.364354)', '2026-07-22 17:23:47', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024444 -3.364374)'), GeomFromEWKT('SRID=4674;POINT (-39.024472 -3.364354)'))) / (select extract(epoch from '2026-07-22 17:23:47'::timestamp) - extract(epoch from '2026-07-22 17:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024444 -3.364374)'), GeomFromEWKT('SRID=4674;POINT (-39.024472 -3.364354)'))) / (select extract(epoch from '2026-07-22 17:23:47'::timestamp) - extract(epoch from '2026-07-22 17:23: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'), 47445, 'SRID=4674;POINT (-39.024504 -3.36433)', '2026-07-22 17:23:56', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024472 -3.364354)'), GeomFromEWKT('SRID=4674;POINT (-39.024504 -3.36433)'))) / (select extract(epoch from '2026-07-22 17:23:56'::timestamp) - extract(epoch from '2026-07-22 17:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024472 -3.364354)'), GeomFromEWKT('SRID=4674;POINT (-39.024504 -3.36433)'))) / (select extract(epoch from '2026-07-22 17:23:56'::timestamp) - extract(epoch from '2026-07-22 17:23: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'), 47445, 'SRID=4674;POINT (-39.024536 -3.364308)', '2026-07-22 17:24:03', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024504 -3.36433)'), GeomFromEWKT('SRID=4674;POINT (-39.024536 -3.364308)'))) / (select extract(epoch from '2026-07-22 17:24:03'::timestamp) - extract(epoch from '2026-07-22 17:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024504 -3.36433)'), GeomFromEWKT('SRID=4674;POINT (-39.024536 -3.364308)'))) / (select extract(epoch from '2026-07-22 17:24:03'::timestamp) - extract(epoch from '2026-07-22 17:23: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'), 47445, 'SRID=4674;POINT (-39.024567 -3.364291)', '2026-07-22 17:24:09', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024536 -3.364308)'), GeomFromEWKT('SRID=4674;POINT (-39.024567 -3.364291)'))) / (select extract(epoch from '2026-07-22 17:24:09'::timestamp) - extract(epoch from '2026-07-22 17:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024536 -3.364308)'), GeomFromEWKT('SRID=4674;POINT (-39.024567 -3.364291)'))) / (select extract(epoch from '2026-07-22 17:24:09'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47445, 'SRID=4674;POINT (-39.024598 -3.36427)', '2026-07-22 17:24:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024567 -3.364291)'), GeomFromEWKT('SRID=4674;POINT (-39.024598 -3.36427)'))) / (select extract(epoch from '2026-07-22 17:24:16'::timestamp) - extract(epoch from '2026-07-22 17:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024567 -3.364291)'), GeomFromEWKT('SRID=4674;POINT (-39.024598 -3.36427)'))) / (select extract(epoch from '2026-07-22 17:24:16'::timestamp) - extract(epoch from '2026-07-22 17:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024632 -3.364247)', '2026-07-22 17:24:23', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024598 -3.36427)'), GeomFromEWKT('SRID=4674;POINT (-39.024632 -3.364247)'))) / (select extract(epoch from '2026-07-22 17:24:23'::timestamp) - extract(epoch from '2026-07-22 17:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024598 -3.36427)'), GeomFromEWKT('SRID=4674;POINT (-39.024632 -3.364247)'))) / (select extract(epoch from '2026-07-22 17:24:23'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47445, 'SRID=4674;POINT (-39.024662 -3.364223)', '2026-07-22 17:24:30', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024632 -3.364247)'), GeomFromEWKT('SRID=4674;POINT (-39.024662 -3.364223)'))) / (select extract(epoch from '2026-07-22 17:24:30'::timestamp) - extract(epoch from '2026-07-22 17:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024632 -3.364247)'), GeomFromEWKT('SRID=4674;POINT (-39.024662 -3.364223)'))) / (select extract(epoch from '2026-07-22 17:24:30'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47445, 'SRID=4674;POINT (-39.024693 -3.364198)', '2026-07-22 17:24:38', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024662 -3.364223)'), GeomFromEWKT('SRID=4674;POINT (-39.024693 -3.364198)'))) / (select extract(epoch from '2026-07-22 17:24:38'::timestamp) - extract(epoch from '2026-07-22 17:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024662 -3.364223)'), GeomFromEWKT('SRID=4674;POINT (-39.024693 -3.364198)'))) / (select extract(epoch from '2026-07-22 17:24:38'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.024722 -3.364177)', '2026-07-22 17:24:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024693 -3.364198)'), GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.364177)'))) / (select extract(epoch from '2026-07-22 17:24:45'::timestamp) - extract(epoch from '2026-07-22 17:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024693 -3.364198)'), GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.364177)'))) / (select extract(epoch from '2026-07-22 17:24:45'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47445, 'SRID=4674;POINT (-39.024759 -3.364156)', '2026-07-22 17:24:53', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.364177)'), GeomFromEWKT('SRID=4674;POINT (-39.024759 -3.364156)'))) / (select extract(epoch from '2026-07-22 17:24:53'::timestamp) - extract(epoch from '2026-07-22 17:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024722 -3.364177)'), GeomFromEWKT('SRID=4674;POINT (-39.024759 -3.364156)'))) / (select extract(epoch from '2026-07-22 17:24:53'::timestamp) - extract(epoch from '2026-07-22 17:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024808 -3.36412)', '2026-07-22 17:25:03', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024759 -3.364156)'), GeomFromEWKT('SRID=4674;POINT (-39.024808 -3.36412)'))) / (select extract(epoch from '2026-07-22 17:25:03'::timestamp) - extract(epoch from '2026-07-22 17:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024759 -3.364156)'), GeomFromEWKT('SRID=4674;POINT (-39.024808 -3.36412)'))) / (select extract(epoch from '2026-07-22 17:25:03'::timestamp) - extract(epoch from '2026-07-22 17:24: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'), 47445, 'SRID=4674;POINT (-39.024824 -3.36411)', '2026-07-22 17:25:06', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024808 -3.36412)'), GeomFromEWKT('SRID=4674;POINT (-39.024824 -3.36411)'))) / (select extract(epoch from '2026-07-22 17:25:06'::timestamp) - extract(epoch from '2026-07-22 17:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024808 -3.36412)'), GeomFromEWKT('SRID=4674;POINT (-39.024824 -3.36411)'))) / (select extract(epoch from '2026-07-22 17:25:06'::timestamp) - extract(epoch from '2026-07-22 17:25:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024832 -3.3641)', '2026-07-22 17:25:08', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024824 -3.36411)'), GeomFromEWKT('SRID=4674;POINT (-39.024832 -3.3641)'))) / (select extract(epoch from '2026-07-22 17:25:08'::timestamp) - extract(epoch from '2026-07-22 17:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024824 -3.36411)'), GeomFromEWKT('SRID=4674;POINT (-39.024832 -3.3641)'))) / (select extract(epoch from '2026-07-22 17:25:08'::timestamp) - extract(epoch from '2026-07-22 17:25: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'), 47445, 'SRID=4674;POINT (-39.024867 -3.36407)', '2026-07-22 17:25:17', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024832 -3.3641)'), GeomFromEWKT('SRID=4674;POINT (-39.024867 -3.36407)'))) / (select extract(epoch from '2026-07-22 17:25:17'::timestamp) - extract(epoch from '2026-07-22 17:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024832 -3.3641)'), GeomFromEWKT('SRID=4674;POINT (-39.024867 -3.36407)'))) / (select extract(epoch from '2026-07-22 17:25:17'::timestamp) - extract(epoch from '2026-07-22 17:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024897 -3.364039)', '2026-07-22 17:25:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024867 -3.36407)'), GeomFromEWKT('SRID=4674;POINT (-39.024897 -3.364039)'))) / (select extract(epoch from '2026-07-22 17:25:24'::timestamp) - extract(epoch from '2026-07-22 17:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024867 -3.36407)'), GeomFromEWKT('SRID=4674;POINT (-39.024897 -3.364039)'))) / (select extract(epoch from '2026-07-22 17:25:24'::timestamp) - extract(epoch from '2026-07-22 17:25:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024905 -3.364035)', '2026-07-22 17:25:25', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024897 -3.364039)'), GeomFromEWKT('SRID=4674;POINT (-39.024905 -3.364035)'))) / (select extract(epoch from '2026-07-22 17:25:25'::timestamp) - extract(epoch from '2026-07-22 17:25:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024897 -3.364039)'), GeomFromEWKT('SRID=4674;POINT (-39.024905 -3.364035)'))) / (select extract(epoch from '2026-07-22 17:25:25'::timestamp) - extract(epoch from '2026-07-22 17:25:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.024922 -3.364015)', '2026-07-22 17:25:29', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024905 -3.364035)'), GeomFromEWKT('SRID=4674;POINT (-39.024922 -3.364015)'))) / (select extract(epoch from '2026-07-22 17:25:29'::timestamp) - extract(epoch from '2026-07-22 17:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024905 -3.364035)'), GeomFromEWKT('SRID=4674;POINT (-39.024922 -3.364015)'))) / (select extract(epoch from '2026-07-22 17:25:29'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.024952 -3.363992)', '2026-07-22 17:25:35', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024922 -3.364015)'), GeomFromEWKT('SRID=4674;POINT (-39.024952 -3.363992)'))) / (select extract(epoch from '2026-07-22 17:25:35'::timestamp) - extract(epoch from '2026-07-22 17:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024922 -3.364015)'), GeomFromEWKT('SRID=4674;POINT (-39.024952 -3.363992)'))) / (select extract(epoch from '2026-07-22 17:25:35'::timestamp) - extract(epoch from '2026-07-22 17:25: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'), 47445, 'SRID=4674;POINT (-39.025001 -3.363949)', '2026-07-22 17:25:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024952 -3.363992)'), GeomFromEWKT('SRID=4674;POINT (-39.025001 -3.363949)'))) / (select extract(epoch from '2026-07-22 17:25:47'::timestamp) - extract(epoch from '2026-07-22 17:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024952 -3.363992)'), GeomFromEWKT('SRID=4674;POINT (-39.025001 -3.363949)'))) / (select extract(epoch from '2026-07-22 17:25:47'::timestamp) - extract(epoch from '2026-07-22 17:25:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025035 -3.363928)', '2026-07-22 17:25:54', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025001 -3.363949)'), GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.363928)'))) / (select extract(epoch from '2026-07-22 17:25:54'::timestamp) - extract(epoch from '2026-07-22 17:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025001 -3.363949)'), GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.363928)'))) / (select extract(epoch from '2026-07-22 17:25:54'::timestamp) - extract(epoch from '2026-07-22 17:25: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'), 47445, 'SRID=4674;POINT (-39.02506 -3.363905)', '2026-07-22 17:26:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.363928)'), GeomFromEWKT('SRID=4674;POINT (-39.02506 -3.363905)'))) / (select extract(epoch from '2026-07-22 17:26:01'::timestamp) - extract(epoch from '2026-07-22 17:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025035 -3.363928)'), GeomFromEWKT('SRID=4674;POINT (-39.02506 -3.363905)'))) / (select extract(epoch from '2026-07-22 17:26:01'::timestamp) - extract(epoch from '2026-07-22 17:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025091 -3.36388)', '2026-07-22 17:26:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02506 -3.363905)'), GeomFromEWKT('SRID=4674;POINT (-39.025091 -3.36388)'))) / (select extract(epoch from '2026-07-22 17:26:08'::timestamp) - extract(epoch from '2026-07-22 17:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02506 -3.363905)'), GeomFromEWKT('SRID=4674;POINT (-39.025091 -3.36388)'))) / (select extract(epoch from '2026-07-22 17:26:08'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47445, 'SRID=4674;POINT (-39.025129 -3.363859)', '2026-07-22 17:26:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025091 -3.36388)'), GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.363859)'))) / (select extract(epoch from '2026-07-22 17:26:15'::timestamp) - extract(epoch from '2026-07-22 17:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025091 -3.36388)'), GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.363859)'))) / (select extract(epoch from '2026-07-22 17:26:15'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47445, 'SRID=4674;POINT (-39.025156 -3.363842)', '2026-07-22 17:26:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.363859)'), GeomFromEWKT('SRID=4674;POINT (-39.025156 -3.363842)'))) / (select extract(epoch from '2026-07-22 17:26:21'::timestamp) - extract(epoch from '2026-07-22 17:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025129 -3.363859)'), GeomFromEWKT('SRID=4674;POINT (-39.025156 -3.363842)'))) / (select extract(epoch from '2026-07-22 17:26:21'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47445, 'SRID=4674;POINT (-39.0252 -3.363821)', '2026-07-22 17:26:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025156 -3.363842)'), GeomFromEWKT('SRID=4674;POINT (-39.0252 -3.363821)'))) / (select extract(epoch from '2026-07-22 17:26:28'::timestamp) - extract(epoch from '2026-07-22 17:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025156 -3.363842)'), GeomFromEWKT('SRID=4674;POINT (-39.0252 -3.363821)'))) / (select extract(epoch from '2026-07-22 17:26:28'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.025209 -3.363817)', '2026-07-22 17:26:29', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0252 -3.363821)'), GeomFromEWKT('SRID=4674;POINT (-39.025209 -3.363817)'))) / (select extract(epoch from '2026-07-22 17:26:29'::timestamp) - extract(epoch from '2026-07-22 17:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0252 -3.363821)'), GeomFromEWKT('SRID=4674;POINT (-39.025209 -3.363817)'))) / (select extract(epoch from '2026-07-22 17:26:29'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47445, 'SRID=4674;POINT (-39.025234 -3.363794)', '2026-07-22 17:26:35', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025209 -3.363817)'), GeomFromEWKT('SRID=4674;POINT (-39.025234 -3.363794)'))) / (select extract(epoch from '2026-07-22 17:26:35'::timestamp) - extract(epoch from '2026-07-22 17:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025209 -3.363817)'), GeomFromEWKT('SRID=4674;POINT (-39.025234 -3.363794)'))) / (select extract(epoch from '2026-07-22 17:26:35'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47445, 'SRID=4674;POINT (-39.025269 -3.363764)', '2026-07-22 17:26:43', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025234 -3.363794)'), GeomFromEWKT('SRID=4674;POINT (-39.025269 -3.363764)'))) / (select extract(epoch from '2026-07-22 17:26:43'::timestamp) - extract(epoch from '2026-07-22 17:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025234 -3.363794)'), GeomFromEWKT('SRID=4674;POINT (-39.025269 -3.363764)'))) / (select extract(epoch from '2026-07-22 17:26:43'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47445, 'SRID=4674;POINT (-39.025297 -3.363735)', '2026-07-22 17:26:52', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025269 -3.363764)'), GeomFromEWKT('SRID=4674;POINT (-39.025297 -3.363735)'))) / (select extract(epoch from '2026-07-22 17:26:52'::timestamp) - extract(epoch from '2026-07-22 17:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025269 -3.363764)'), GeomFromEWKT('SRID=4674;POINT (-39.025297 -3.363735)'))) / (select extract(epoch from '2026-07-22 17:26:52'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47445, 'SRID=4674;POINT (-39.025323 -3.363712)', '2026-07-22 17:26:58', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025297 -3.363735)'), GeomFromEWKT('SRID=4674;POINT (-39.025323 -3.363712)'))) / (select extract(epoch from '2026-07-22 17:26:58'::timestamp) - extract(epoch from '2026-07-22 17:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025297 -3.363735)'), GeomFromEWKT('SRID=4674;POINT (-39.025323 -3.363712)'))) / (select extract(epoch from '2026-07-22 17:26:58'::timestamp) - extract(epoch from '2026-07-22 17:26: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'), 47445, 'SRID=4674;POINT (-39.025359 -3.363684)', '2026-07-22 17:27:06', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025323 -3.363712)'), GeomFromEWKT('SRID=4674;POINT (-39.025359 -3.363684)'))) / (select extract(epoch from '2026-07-22 17:27:06'::timestamp) - extract(epoch from '2026-07-22 17:26:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025323 -3.363712)'), GeomFromEWKT('SRID=4674;POINT (-39.025359 -3.363684)'))) / (select extract(epoch from '2026-07-22 17:27:06'::timestamp) - extract(epoch from '2026-07-22 17:26:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025397 -3.363653)', '2026-07-22 17:27:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025359 -3.363684)'), GeomFromEWKT('SRID=4674;POINT (-39.025397 -3.363653)'))) / (select extract(epoch from '2026-07-22 17:27:15'::timestamp) - extract(epoch from '2026-07-22 17:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025359 -3.363684)'), GeomFromEWKT('SRID=4674;POINT (-39.025397 -3.363653)'))) / (select extract(epoch from '2026-07-22 17:27:15'::timestamp) - extract(epoch from '2026-07-22 17:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025416 -3.363636)', '2026-07-22 17:27:20', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025397 -3.363653)'), GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.363636)'))) / (select extract(epoch from '2026-07-22 17:27:20'::timestamp) - extract(epoch from '2026-07-22 17:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025397 -3.363653)'), GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.363636)'))) / (select extract(epoch from '2026-07-22 17:27:20'::timestamp) - extract(epoch from '2026-07-22 17:27: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'), 47445, 'SRID=4674;POINT (-39.025452 -3.363614)', '2026-07-22 17:27:27', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.363636)'), GeomFromEWKT('SRID=4674;POINT (-39.025452 -3.363614)'))) / (select extract(epoch from '2026-07-22 17:27:27'::timestamp) - extract(epoch from '2026-07-22 17:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025416 -3.363636)'), GeomFromEWKT('SRID=4674;POINT (-39.025452 -3.363614)'))) / (select extract(epoch from '2026-07-22 17:27:27'::timestamp) - extract(epoch from '2026-07-22 17:27:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025478 -3.363593)', '2026-07-22 17:27:33', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025452 -3.363614)'), GeomFromEWKT('SRID=4674;POINT (-39.025478 -3.363593)'))) / (select extract(epoch from '2026-07-22 17:27:33'::timestamp) - extract(epoch from '2026-07-22 17:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025452 -3.363614)'), GeomFromEWKT('SRID=4674;POINT (-39.025478 -3.363593)'))) / (select extract(epoch from '2026-07-22 17:27:33'::timestamp) - extract(epoch from '2026-07-22 17:27:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025514 -3.363568)', '2026-07-22 17:27:40', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025478 -3.363593)'), GeomFromEWKT('SRID=4674;POINT (-39.025514 -3.363568)'))) / (select extract(epoch from '2026-07-22 17:27:40'::timestamp) - extract(epoch from '2026-07-22 17:27:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025478 -3.363593)'), GeomFromEWKT('SRID=4674;POINT (-39.025514 -3.363568)'))) / (select extract(epoch from '2026-07-22 17:27:40'::timestamp) - extract(epoch from '2026-07-22 17:27:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025551 -3.363538)', '2026-07-22 17:27:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025514 -3.363568)'), GeomFromEWKT('SRID=4674;POINT (-39.025551 -3.363538)'))) / (select extract(epoch from '2026-07-22 17:27:48'::timestamp) - extract(epoch from '2026-07-22 17:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025514 -3.363568)'), GeomFromEWKT('SRID=4674;POINT (-39.025551 -3.363538)'))) / (select extract(epoch from '2026-07-22 17:27:48'::timestamp) - extract(epoch from '2026-07-22 17:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025586 -3.363511)', '2026-07-22 17:27:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025551 -3.363538)'), GeomFromEWKT('SRID=4674;POINT (-39.025586 -3.363511)'))) / (select extract(epoch from '2026-07-22 17:27:56'::timestamp) - extract(epoch from '2026-07-22 17:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025551 -3.363538)'), GeomFromEWKT('SRID=4674;POINT (-39.025586 -3.363511)'))) / (select extract(epoch from '2026-07-22 17:27:56'::timestamp) - extract(epoch from '2026-07-22 17:27: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'), 47445, 'SRID=4674;POINT (-39.025629 -3.363476)', '2026-07-22 17:28:05', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025586 -3.363511)'), GeomFromEWKT('SRID=4674;POINT (-39.025629 -3.363476)'))) / (select extract(epoch from '2026-07-22 17:28:05'::timestamp) - extract(epoch from '2026-07-22 17:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025586 -3.363511)'), GeomFromEWKT('SRID=4674;POINT (-39.025629 -3.363476)'))) / (select extract(epoch from '2026-07-22 17:28:05'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.025665 -3.363444)', '2026-07-22 17:28:12', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025629 -3.363476)'), GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.363444)'))) / (select extract(epoch from '2026-07-22 17:28:12'::timestamp) - extract(epoch from '2026-07-22 17:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025629 -3.363476)'), GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.363444)'))) / (select extract(epoch from '2026-07-22 17:28:12'::timestamp) - extract(epoch from '2026-07-22 17:28:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025709 -3.3634)', '2026-07-22 17:28:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.363444)'), GeomFromEWKT('SRID=4674;POINT (-39.025709 -3.3634)'))) / (select extract(epoch from '2026-07-22 17:28:23'::timestamp) - extract(epoch from '2026-07-22 17:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025665 -3.363444)'), GeomFromEWKT('SRID=4674;POINT (-39.025709 -3.3634)'))) / (select extract(epoch from '2026-07-22 17:28:23'::timestamp) - extract(epoch from '2026-07-22 17:28:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025738 -3.363366)', '2026-07-22 17:28:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025709 -3.3634)'), GeomFromEWKT('SRID=4674;POINT (-39.025738 -3.363366)'))) / (select extract(epoch from '2026-07-22 17:28:32'::timestamp) - extract(epoch from '2026-07-22 17:28:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025709 -3.3634)'), GeomFromEWKT('SRID=4674;POINT (-39.025738 -3.363366)'))) / (select extract(epoch from '2026-07-22 17:28:32'::timestamp) - extract(epoch from '2026-07-22 17:28: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'), 47445, 'SRID=4674;POINT (-39.025764 -3.363341)', '2026-07-22 17:28:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025738 -3.363366)'), GeomFromEWKT('SRID=4674;POINT (-39.025764 -3.363341)'))) / (select extract(epoch from '2026-07-22 17:28:39'::timestamp) - extract(epoch from '2026-07-22 17:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025738 -3.363366)'), GeomFromEWKT('SRID=4674;POINT (-39.025764 -3.363341)'))) / (select extract(epoch from '2026-07-22 17:28:39'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.025787 -3.363325)', '2026-07-22 17:28:45', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025764 -3.363341)'), GeomFromEWKT('SRID=4674;POINT (-39.025787 -3.363325)'))) / (select extract(epoch from '2026-07-22 17:28:45'::timestamp) - extract(epoch from '2026-07-22 17:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025764 -3.363341)'), GeomFromEWKT('SRID=4674;POINT (-39.025787 -3.363325)'))) / (select extract(epoch from '2026-07-22 17:28:45'::timestamp) - extract(epoch from '2026-07-22 17:28:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025819 -3.363299)', '2026-07-22 17:28:52', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025787 -3.363325)'), GeomFromEWKT('SRID=4674;POINT (-39.025819 -3.363299)'))) / (select extract(epoch from '2026-07-22 17:28:52'::timestamp) - extract(epoch from '2026-07-22 17:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025787 -3.363325)'), GeomFromEWKT('SRID=4674;POINT (-39.025819 -3.363299)'))) / (select extract(epoch from '2026-07-22 17:28:52'::timestamp) - extract(epoch from '2026-07-22 17:28:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.025857 -3.36327)', '2026-07-22 17:29:00', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025819 -3.363299)'), GeomFromEWKT('SRID=4674;POINT (-39.025857 -3.36327)'))) / (select extract(epoch from '2026-07-22 17:29:00'::timestamp) - extract(epoch from '2026-07-22 17:28:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025819 -3.363299)'), GeomFromEWKT('SRID=4674;POINT (-39.025857 -3.36327)'))) / (select extract(epoch from '2026-07-22 17:29:00'::timestamp) - extract(epoch from '2026-07-22 17:28: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'), 47445, 'SRID=4674;POINT (-39.025889 -3.363248)', '2026-07-22 17:29:06', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025857 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.025889 -3.363248)'))) / (select extract(epoch from '2026-07-22 17:29:06'::timestamp) - extract(epoch from '2026-07-22 17:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025857 -3.36327)'), GeomFromEWKT('SRID=4674;POINT (-39.025889 -3.363248)'))) / (select extract(epoch from '2026-07-22 17:29:06'::timestamp) - extract(epoch from '2026-07-22 17:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02593 -3.363223)', '2026-07-22 17:29:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025889 -3.363248)'), GeomFromEWKT('SRID=4674;POINT (-39.02593 -3.363223)'))) / (select extract(epoch from '2026-07-22 17:29:13'::timestamp) - extract(epoch from '2026-07-22 17:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025889 -3.363248)'), GeomFromEWKT('SRID=4674;POINT (-39.02593 -3.363223)'))) / (select extract(epoch from '2026-07-22 17:29:13'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47445, 'SRID=4674;POINT (-39.025945 -3.363208)', '2026-07-22 17:29:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02593 -3.363223)'), GeomFromEWKT('SRID=4674;POINT (-39.025945 -3.363208)'))) / (select extract(epoch from '2026-07-22 17:29:17'::timestamp) - extract(epoch from '2026-07-22 17:29:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02593 -3.363223)'), GeomFromEWKT('SRID=4674;POINT (-39.025945 -3.363208)'))) / (select extract(epoch from '2026-07-22 17:29:17'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47445, 'SRID=4674;POINT (-39.025955 -3.363203)', '2026-07-22 17:29:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025945 -3.363208)'), GeomFromEWKT('SRID=4674;POINT (-39.025955 -3.363203)'))) / (select extract(epoch from '2026-07-22 17:29:18'::timestamp) - extract(epoch from '2026-07-22 17:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025945 -3.363208)'), GeomFromEWKT('SRID=4674;POINT (-39.025955 -3.363203)'))) / (select extract(epoch from '2026-07-22 17:29:18'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47445, 'SRID=4674;POINT (-39.025967 -3.363188)', '2026-07-22 17:29:22', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025955 -3.363203)'), GeomFromEWKT('SRID=4674;POINT (-39.025967 -3.363188)'))) / (select extract(epoch from '2026-07-22 17:29:22'::timestamp) - extract(epoch from '2026-07-22 17:29:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025955 -3.363203)'), GeomFromEWKT('SRID=4674;POINT (-39.025967 -3.363188)'))) / (select extract(epoch from '2026-07-22 17:29:22'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47445, 'SRID=4674;POINT (-39.025996 -3.363165)', '2026-07-22 17:29:28', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025967 -3.363188)'), GeomFromEWKT('SRID=4674;POINT (-39.025996 -3.363165)'))) / (select extract(epoch from '2026-07-22 17:29:28'::timestamp) - extract(epoch from '2026-07-22 17:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025967 -3.363188)'), GeomFromEWKT('SRID=4674;POINT (-39.025996 -3.363165)'))) / (select extract(epoch from '2026-07-22 17:29:28'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47445, 'SRID=4674;POINT (-39.026009 -3.363157)', '2026-07-22 17:29:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025996 -3.363165)'), GeomFromEWKT('SRID=4674;POINT (-39.026009 -3.363157)'))) / (select extract(epoch from '2026-07-22 17:29:30'::timestamp) - extract(epoch from '2026-07-22 17:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025996 -3.363165)'), GeomFromEWKT('SRID=4674;POINT (-39.026009 -3.363157)'))) / (select extract(epoch from '2026-07-22 17:29:30'::timestamp) - extract(epoch from '2026-07-22 17:29:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026028 -3.363143)', '2026-07-22 17:29:35', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026009 -3.363157)'), GeomFromEWKT('SRID=4674;POINT (-39.026028 -3.363143)'))) / (select extract(epoch from '2026-07-22 17:29:35'::timestamp) - extract(epoch from '2026-07-22 17:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026009 -3.363157)'), GeomFromEWKT('SRID=4674;POINT (-39.026028 -3.363143)'))) / (select extract(epoch from '2026-07-22 17:29:35'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47445, 'SRID=4674;POINT (-39.026056 -3.363124)', '2026-07-22 17:29:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026028 -3.363143)'), GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.363124)'))) / (select extract(epoch from '2026-07-22 17:29:43'::timestamp) - extract(epoch from '2026-07-22 17:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026028 -3.363143)'), GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.363124)'))) / (select extract(epoch from '2026-07-22 17:29:43'::timestamp) - extract(epoch from '2026-07-22 17:29: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'), 47445, 'SRID=4674;POINT (-39.026079 -3.363105)', '2026-07-22 17:29:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.363124)'), GeomFromEWKT('SRID=4674;POINT (-39.026079 -3.363105)'))) / (select extract(epoch from '2026-07-22 17:29:49'::timestamp) - extract(epoch from '2026-07-22 17:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026056 -3.363124)'), GeomFromEWKT('SRID=4674;POINT (-39.026079 -3.363105)'))) / (select extract(epoch from '2026-07-22 17:29:49'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.026112 -3.363088)', '2026-07-22 17:29:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026079 -3.363105)'), GeomFromEWKT('SRID=4674;POINT (-39.026112 -3.363088)'))) / (select extract(epoch from '2026-07-22 17:29:56'::timestamp) - extract(epoch from '2026-07-22 17:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026079 -3.363105)'), GeomFromEWKT('SRID=4674;POINT (-39.026112 -3.363088)'))) / (select extract(epoch from '2026-07-22 17:29:56'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.026149 -3.363067)', '2026-07-22 17:30:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026112 -3.363088)'), GeomFromEWKT('SRID=4674;POINT (-39.026149 -3.363067)'))) / (select extract(epoch from '2026-07-22 17:30:04'::timestamp) - extract(epoch from '2026-07-22 17:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026112 -3.363088)'), GeomFromEWKT('SRID=4674;POINT (-39.026149 -3.363067)'))) / (select extract(epoch from '2026-07-22 17:30:04'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.02619 -3.363039)', '2026-07-22 17:30:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026149 -3.363067)'), GeomFromEWKT('SRID=4674;POINT (-39.02619 -3.363039)'))) / (select extract(epoch from '2026-07-22 17:30:13'::timestamp) - extract(epoch from '2026-07-22 17:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026149 -3.363067)'), GeomFromEWKT('SRID=4674;POINT (-39.02619 -3.363039)'))) / (select extract(epoch from '2026-07-22 17:30:13'::timestamp) - extract(epoch from '2026-07-22 17:30: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'), 47445, 'SRID=4674;POINT (-39.026229 -3.363013)', '2026-07-22 17:30:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02619 -3.363039)'), GeomFromEWKT('SRID=4674;POINT (-39.026229 -3.363013)'))) / (select extract(epoch from '2026-07-22 17:30:21'::timestamp) - extract(epoch from '2026-07-22 17:30:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02619 -3.363039)'), GeomFromEWKT('SRID=4674;POINT (-39.026229 -3.363013)'))) / (select extract(epoch from '2026-07-22 17:30:21'::timestamp) - extract(epoch from '2026-07-22 17:30:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026261 -3.362996)', '2026-07-22 17:30:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026229 -3.363013)'), GeomFromEWKT('SRID=4674;POINT (-39.026261 -3.362996)'))) / (select extract(epoch from '2026-07-22 17:30:28'::timestamp) - extract(epoch from '2026-07-22 17:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026229 -3.363013)'), GeomFromEWKT('SRID=4674;POINT (-39.026261 -3.362996)'))) / (select extract(epoch from '2026-07-22 17:30:28'::timestamp) - extract(epoch from '2026-07-22 17:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.0263 -3.362972)', '2026-07-22 17:30:36', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026261 -3.362996)'), GeomFromEWKT('SRID=4674;POINT (-39.0263 -3.362972)'))) / (select extract(epoch from '2026-07-22 17:30:36'::timestamp) - extract(epoch from '2026-07-22 17:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026261 -3.362996)'), GeomFromEWKT('SRID=4674;POINT (-39.0263 -3.362972)'))) / (select extract(epoch from '2026-07-22 17:30:36'::timestamp) - extract(epoch from '2026-07-22 17:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026337 -3.362944)', '2026-07-22 17:30:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0263 -3.362972)'), GeomFromEWKT('SRID=4674;POINT (-39.026337 -3.362944)'))) / (select extract(epoch from '2026-07-22 17:30:45'::timestamp) - extract(epoch from '2026-07-22 17:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0263 -3.362972)'), GeomFromEWKT('SRID=4674;POINT (-39.026337 -3.362944)'))) / (select extract(epoch from '2026-07-22 17:30:45'::timestamp) - extract(epoch from '2026-07-22 17:30: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'), 47445, 'SRID=4674;POINT (-39.026361 -3.362926)', '2026-07-22 17:30:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026337 -3.362944)'), GeomFromEWKT('SRID=4674;POINT (-39.026361 -3.362926)'))) / (select extract(epoch from '2026-07-22 17:30:51'::timestamp) - extract(epoch from '2026-07-22 17:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026337 -3.362944)'), GeomFromEWKT('SRID=4674;POINT (-39.026361 -3.362926)'))) / (select extract(epoch from '2026-07-22 17:30:51'::timestamp) - extract(epoch from '2026-07-22 17:30:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026386 -3.362905)', '2026-07-22 17:30:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026361 -3.362926)'), GeomFromEWKT('SRID=4674;POINT (-39.026386 -3.362905)'))) / (select extract(epoch from '2026-07-22 17:30:57'::timestamp) - extract(epoch from '2026-07-22 17:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026361 -3.362926)'), GeomFromEWKT('SRID=4674;POINT (-39.026386 -3.362905)'))) / (select extract(epoch from '2026-07-22 17:30:57'::timestamp) - extract(epoch from '2026-07-22 17:30: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'), 47445, 'SRID=4674;POINT (-39.026418 -3.362881)', '2026-07-22 17:31:04', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026386 -3.362905)'), GeomFromEWKT('SRID=4674;POINT (-39.026418 -3.362881)'))) / (select extract(epoch from '2026-07-22 17:31:04'::timestamp) - extract(epoch from '2026-07-22 17:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026386 -3.362905)'), GeomFromEWKT('SRID=4674;POINT (-39.026418 -3.362881)'))) / (select extract(epoch from '2026-07-22 17:31:04'::timestamp) - extract(epoch from '2026-07-22 17:30: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'), 47445, 'SRID=4674;POINT (-39.026449 -3.362848)', '2026-07-22 17:31:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026418 -3.362881)'), GeomFromEWKT('SRID=4674;POINT (-39.026449 -3.362848)'))) / (select extract(epoch from '2026-07-22 17:31:12'::timestamp) - extract(epoch from '2026-07-22 17:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026418 -3.362881)'), GeomFromEWKT('SRID=4674;POINT (-39.026449 -3.362848)'))) / (select extract(epoch from '2026-07-22 17:31:12'::timestamp) - extract(epoch from '2026-07-22 17:31:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026491 -3.362817)', '2026-07-22 17:31:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026449 -3.362848)'), GeomFromEWKT('SRID=4674;POINT (-39.026491 -3.362817)'))) / (select extract(epoch from '2026-07-22 17:31:21'::timestamp) - extract(epoch from '2026-07-22 17:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026449 -3.362848)'), GeomFromEWKT('SRID=4674;POINT (-39.026491 -3.362817)'))) / (select extract(epoch from '2026-07-22 17:31:21'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.026509 -3.362804)', '2026-07-22 17:31:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026491 -3.362817)'), GeomFromEWKT('SRID=4674;POINT (-39.026509 -3.362804)'))) / (select extract(epoch from '2026-07-22 17:31:25'::timestamp) - extract(epoch from '2026-07-22 17:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026491 -3.362817)'), GeomFromEWKT('SRID=4674;POINT (-39.026509 -3.362804)'))) / (select extract(epoch from '2026-07-22 17:31:25'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.026521 -3.362796)', '2026-07-22 17:31:28', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026509 -3.362804)'), GeomFromEWKT('SRID=4674;POINT (-39.026521 -3.362796)'))) / (select extract(epoch from '2026-07-22 17:31:28'::timestamp) - extract(epoch from '2026-07-22 17:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026509 -3.362804)'), GeomFromEWKT('SRID=4674;POINT (-39.026521 -3.362796)'))) / (select extract(epoch from '2026-07-22 17:31:28'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47445, 'SRID=4674;POINT (-39.026554 -3.362775)', '2026-07-22 17:31:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026521 -3.362796)'), GeomFromEWKT('SRID=4674;POINT (-39.026554 -3.362775)'))) / (select extract(epoch from '2026-07-22 17:31:35'::timestamp) - extract(epoch from '2026-07-22 17:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026521 -3.362796)'), GeomFromEWKT('SRID=4674;POINT (-39.026554 -3.362775)'))) / (select extract(epoch from '2026-07-22 17:31:35'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47445, 'SRID=4674;POINT (-39.026598 -3.362752)', '2026-07-22 17:31:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026554 -3.362775)'), GeomFromEWKT('SRID=4674;POINT (-39.026598 -3.362752)'))) / (select extract(epoch from '2026-07-22 17:31:44'::timestamp) - extract(epoch from '2026-07-22 17:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026554 -3.362775)'), GeomFromEWKT('SRID=4674;POINT (-39.026598 -3.362752)'))) / (select extract(epoch from '2026-07-22 17:31:44'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47445, 'SRID=4674;POINT (-39.026623 -3.362736)', '2026-07-22 17:31:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026598 -3.362752)'), GeomFromEWKT('SRID=4674;POINT (-39.026623 -3.362736)'))) / (select extract(epoch from '2026-07-22 17:31:49'::timestamp) - extract(epoch from '2026-07-22 17:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026598 -3.362752)'), GeomFromEWKT('SRID=4674;POINT (-39.026623 -3.362736)'))) / (select extract(epoch from '2026-07-22 17:31:49'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47445, 'SRID=4674;POINT (-39.026654 -3.36272)', '2026-07-22 17:31:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026623 -3.362736)'), GeomFromEWKT('SRID=4674;POINT (-39.026654 -3.36272)'))) / (select extract(epoch from '2026-07-22 17:31:55'::timestamp) - extract(epoch from '2026-07-22 17:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026623 -3.362736)'), GeomFromEWKT('SRID=4674;POINT (-39.026654 -3.36272)'))) / (select extract(epoch from '2026-07-22 17:31:55'::timestamp) - extract(epoch from '2026-07-22 17:31: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'), 47445, 'SRID=4674;POINT (-39.02668 -3.362706)', '2026-07-22 17:32:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026654 -3.36272)'), GeomFromEWKT('SRID=4674;POINT (-39.02668 -3.362706)'))) / (select extract(epoch from '2026-07-22 17:32:01'::timestamp) - extract(epoch from '2026-07-22 17:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026654 -3.36272)'), GeomFromEWKT('SRID=4674;POINT (-39.02668 -3.362706)'))) / (select extract(epoch from '2026-07-22 17:32:01'::timestamp) - extract(epoch from '2026-07-22 17:31:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026708 -3.362691)', '2026-07-22 17:32:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02668 -3.362706)'), GeomFromEWKT('SRID=4674;POINT (-39.026708 -3.362691)'))) / (select extract(epoch from '2026-07-22 17:32:09'::timestamp) - extract(epoch from '2026-07-22 17:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02668 -3.362706)'), GeomFromEWKT('SRID=4674;POINT (-39.026708 -3.362691)'))) / (select extract(epoch from '2026-07-22 17:32:09'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.026728 -3.362677)', '2026-07-22 17:32:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026708 -3.362691)'), GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.362677)'))) / (select extract(epoch from '2026-07-22 17:32:15'::timestamp) - extract(epoch from '2026-07-22 17:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026708 -3.362691)'), GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.362677)'))) / (select extract(epoch from '2026-07-22 17:32:15'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.026752 -3.362668)', '2026-07-22 17:32:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.362677)'), GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.362668)'))) / (select extract(epoch from '2026-07-22 17:32:21'::timestamp) - extract(epoch from '2026-07-22 17:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.362677)'), GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.362668)'))) / (select extract(epoch from '2026-07-22 17:32:21'::timestamp) - extract(epoch from '2026-07-22 17:32: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'), 47445, 'SRID=4674;POINT (-39.026775 -3.362652)', '2026-07-22 17:32:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.362668)'), GeomFromEWKT('SRID=4674;POINT (-39.026775 -3.362652)'))) / (select extract(epoch from '2026-07-22 17:32:29'::timestamp) - extract(epoch from '2026-07-22 17:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026752 -3.362668)'), GeomFromEWKT('SRID=4674;POINT (-39.026775 -3.362652)'))) / (select extract(epoch from '2026-07-22 17:32:29'::timestamp) - extract(epoch from '2026-07-22 17:32: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'), 47445, 'SRID=4674;POINT (-39.026817 -3.362629)', '2026-07-22 17:32:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026775 -3.362652)'), GeomFromEWKT('SRID=4674;POINT (-39.026817 -3.362629)'))) / (select extract(epoch from '2026-07-22 17:32:38'::timestamp) - extract(epoch from '2026-07-22 17:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026775 -3.362652)'), GeomFromEWKT('SRID=4674;POINT (-39.026817 -3.362629)'))) / (select extract(epoch from '2026-07-22 17:32:38'::timestamp) - extract(epoch from '2026-07-22 17:32: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'), 47445, 'SRID=4674;POINT (-39.026845 -3.362617)', '2026-07-22 17:32:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026817 -3.362629)'), GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.362617)'))) / (select extract(epoch from '2026-07-22 17:32:43'::timestamp) - extract(epoch from '2026-07-22 17:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026817 -3.362629)'), GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.362617)'))) / (select extract(epoch from '2026-07-22 17:32:43'::timestamp) - extract(epoch from '2026-07-22 17:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.026859 -3.362609)', '2026-07-22 17:32:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.362617)'), GeomFromEWKT('SRID=4674;POINT (-39.026859 -3.362609)'))) / (select extract(epoch from '2026-07-22 17:32:45'::timestamp) - extract(epoch from '2026-07-22 17:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026845 -3.362617)'), GeomFromEWKT('SRID=4674;POINT (-39.026859 -3.362609)'))) / (select extract(epoch from '2026-07-22 17:32:45'::timestamp) - extract(epoch from '2026-07-22 17:32: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'), 47445, 'SRID=4674;POINT (-39.026876 -3.362596)', '2026-07-22 17:32:49', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026859 -3.362609)'), GeomFromEWKT('SRID=4674;POINT (-39.026876 -3.362596)'))) / (select extract(epoch from '2026-07-22 17:32:49'::timestamp) - extract(epoch from '2026-07-22 17:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026859 -3.362609)'), GeomFromEWKT('SRID=4674;POINT (-39.026876 -3.362596)'))) / (select extract(epoch from '2026-07-22 17:32:49'::timestamp) - extract(epoch from '2026-07-22 17:32: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'), 47445, 'SRID=4674;POINT (-39.026887 -3.362587)', '2026-07-22 17:32:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026876 -3.362596)'), GeomFromEWKT('SRID=4674;POINT (-39.026887 -3.362587)'))) / (select extract(epoch from '2026-07-22 17:32:51'::timestamp) - extract(epoch from '2026-07-22 17:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026876 -3.362596)'), GeomFromEWKT('SRID=4674;POINT (-39.026887 -3.362587)'))) / (select extract(epoch from '2026-07-22 17:32:51'::timestamp) - extract(epoch from '2026-07-22 17:32: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'), 47445, 'SRID=4674;POINT (-39.026909 -3.362562)', '2026-07-22 17:32:57', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026887 -3.362587)'), GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.362562)'))) / (select extract(epoch from '2026-07-22 17:32:57'::timestamp) - extract(epoch from '2026-07-22 17:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026887 -3.362587)'), GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.362562)'))) / (select extract(epoch from '2026-07-22 17:32:57'::timestamp) - extract(epoch from '2026-07-22 17:32: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'), 47445, 'SRID=4674;POINT (-39.026945 -3.36253)', '2026-07-22 17:33:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.362562)'), GeomFromEWKT('SRID=4674;POINT (-39.026945 -3.36253)'))) / (select extract(epoch from '2026-07-22 17:33:06'::timestamp) - extract(epoch from '2026-07-22 17:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026909 -3.362562)'), GeomFromEWKT('SRID=4674;POINT (-39.026945 -3.36253)'))) / (select extract(epoch from '2026-07-22 17:33:06'::timestamp) - extract(epoch from '2026-07-22 17:32: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'), 47445, 'SRID=4674;POINT (-39.02697 -3.362506)', '2026-07-22 17:33:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026945 -3.36253)'), GeomFromEWKT('SRID=4674;POINT (-39.02697 -3.362506)'))) / (select extract(epoch from '2026-07-22 17:33:12'::timestamp) - extract(epoch from '2026-07-22 17:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026945 -3.36253)'), GeomFromEWKT('SRID=4674;POINT (-39.02697 -3.362506)'))) / (select extract(epoch from '2026-07-22 17:33:12'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47445, 'SRID=4674;POINT (-39.026999 -3.362486)', '2026-07-22 17:33:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02697 -3.362506)'), GeomFromEWKT('SRID=4674;POINT (-39.026999 -3.362486)'))) / (select extract(epoch from '2026-07-22 17:33:18'::timestamp) - extract(epoch from '2026-07-22 17:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02697 -3.362506)'), GeomFromEWKT('SRID=4674;POINT (-39.026999 -3.362486)'))) / (select extract(epoch from '2026-07-22 17:33:18'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.027035 -3.362461)', '2026-07-22 17:33:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026999 -3.362486)'), GeomFromEWKT('SRID=4674;POINT (-39.027035 -3.362461)'))) / (select extract(epoch from '2026-07-22 17:33:26'::timestamp) - extract(epoch from '2026-07-22 17:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026999 -3.362486)'), GeomFromEWKT('SRID=4674;POINT (-39.027035 -3.362461)'))) / (select extract(epoch from '2026-07-22 17:33:26'::timestamp) - extract(epoch from '2026-07-22 17:33:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027058 -3.362444)', '2026-07-22 17:33:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027035 -3.362461)'), GeomFromEWKT('SRID=4674;POINT (-39.027058 -3.362444)'))) / (select extract(epoch from '2026-07-22 17:33:32'::timestamp) - extract(epoch from '2026-07-22 17:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027035 -3.362461)'), GeomFromEWKT('SRID=4674;POINT (-39.027058 -3.362444)'))) / (select extract(epoch from '2026-07-22 17:33:32'::timestamp) - extract(epoch from '2026-07-22 17:33:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027084 -3.362429)', '2026-07-22 17:33:37', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027058 -3.362444)'), GeomFromEWKT('SRID=4674;POINT (-39.027084 -3.362429)'))) / (select extract(epoch from '2026-07-22 17:33:37'::timestamp) - extract(epoch from '2026-07-22 17:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027058 -3.362444)'), GeomFromEWKT('SRID=4674;POINT (-39.027084 -3.362429)'))) / (select extract(epoch from '2026-07-22 17:33:37'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.027116 -3.362406)', '2026-07-22 17:33:44', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027084 -3.362429)'), GeomFromEWKT('SRID=4674;POINT (-39.027116 -3.362406)'))) / (select extract(epoch from '2026-07-22 17:33:44'::timestamp) - extract(epoch from '2026-07-22 17:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027084 -3.362429)'), GeomFromEWKT('SRID=4674;POINT (-39.027116 -3.362406)'))) / (select extract(epoch from '2026-07-22 17:33:44'::timestamp) - extract(epoch from '2026-07-22 17:33:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027132 -3.362398)', '2026-07-22 17:33:47', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027116 -3.362406)'), GeomFromEWKT('SRID=4674;POINT (-39.027132 -3.362398)'))) / (select extract(epoch from '2026-07-22 17:33:47'::timestamp) - extract(epoch from '2026-07-22 17:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027116 -3.362406)'), GeomFromEWKT('SRID=4674;POINT (-39.027132 -3.362398)'))) / (select extract(epoch from '2026-07-22 17:33:47'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47445, 'SRID=4674;POINT (-39.027147 -3.362387)', '2026-07-22 17:33:49', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027132 -3.362398)'), GeomFromEWKT('SRID=4674;POINT (-39.027147 -3.362387)'))) / (select extract(epoch from '2026-07-22 17:33:49'::timestamp) - extract(epoch from '2026-07-22 17:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027132 -3.362398)'), GeomFromEWKT('SRID=4674;POINT (-39.027147 -3.362387)'))) / (select extract(epoch from '2026-07-22 17:33:49'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47445, 'SRID=4674;POINT (-39.027176 -3.362364)', '2026-07-22 17:33:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027147 -3.362387)'), GeomFromEWKT('SRID=4674;POINT (-39.027176 -3.362364)'))) / (select extract(epoch from '2026-07-22 17:33:55'::timestamp) - extract(epoch from '2026-07-22 17:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027147 -3.362387)'), GeomFromEWKT('SRID=4674;POINT (-39.027176 -3.362364)'))) / (select extract(epoch from '2026-07-22 17:33:55'::timestamp) - extract(epoch from '2026-07-22 17:33:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027202 -3.362349)', '2026-07-22 17:33:59', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027176 -3.362364)'), GeomFromEWKT('SRID=4674;POINT (-39.027202 -3.362349)'))) / (select extract(epoch from '2026-07-22 17:33:59'::timestamp) - extract(epoch from '2026-07-22 17:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027176 -3.362364)'), GeomFromEWKT('SRID=4674;POINT (-39.027202 -3.362349)'))) / (select extract(epoch from '2026-07-22 17:33:59'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47445, 'SRID=4674;POINT (-39.027204 -3.36234)', '2026-07-22 17:34:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027202 -3.362349)'), GeomFromEWKT('SRID=4674;POINT (-39.027204 -3.36234)'))) / (select extract(epoch from '2026-07-22 17:34:01'::timestamp) - extract(epoch from '2026-07-22 17:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027202 -3.362349)'), GeomFromEWKT('SRID=4674;POINT (-39.027204 -3.36234)'))) / (select extract(epoch from '2026-07-22 17:34:01'::timestamp) - extract(epoch from '2026-07-22 17:33: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'), 47445, 'SRID=4674;POINT (-39.027243 -3.362316)', '2026-07-22 17:34:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027204 -3.36234)'), GeomFromEWKT('SRID=4674;POINT (-39.027243 -3.362316)'))) / (select extract(epoch from '2026-07-22 17:34:08'::timestamp) - extract(epoch from '2026-07-22 17:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027204 -3.36234)'), GeomFromEWKT('SRID=4674;POINT (-39.027243 -3.362316)'))) / (select extract(epoch from '2026-07-22 17:34:08'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.027276 -3.362289)', '2026-07-22 17:34:15', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027243 -3.362316)'), GeomFromEWKT('SRID=4674;POINT (-39.027276 -3.362289)'))) / (select extract(epoch from '2026-07-22 17:34:15'::timestamp) - extract(epoch from '2026-07-22 17:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027243 -3.362316)'), GeomFromEWKT('SRID=4674;POINT (-39.027276 -3.362289)'))) / (select extract(epoch from '2026-07-22 17:34:15'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47445, 'SRID=4674;POINT (-39.027302 -3.362264)', '2026-07-22 17:34:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027276 -3.362289)'), GeomFromEWKT('SRID=4674;POINT (-39.027302 -3.362264)'))) / (select extract(epoch from '2026-07-22 17:34:22'::timestamp) - extract(epoch from '2026-07-22 17:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027276 -3.362289)'), GeomFromEWKT('SRID=4674;POINT (-39.027302 -3.362264)'))) / (select extract(epoch from '2026-07-22 17:34:22'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47445, 'SRID=4674;POINT (-39.027331 -3.362245)', '2026-07-22 17:34:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027302 -3.362264)'), GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.362245)'))) / (select extract(epoch from '2026-07-22 17:34:28'::timestamp) - extract(epoch from '2026-07-22 17:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027302 -3.362264)'), GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.362245)'))) / (select extract(epoch from '2026-07-22 17:34:28'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47445, 'SRID=4674;POINT (-39.027347 -3.362235)', '2026-07-22 17:34:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.362245)'), GeomFromEWKT('SRID=4674;POINT (-39.027347 -3.362235)'))) / (select extract(epoch from '2026-07-22 17:34:31'::timestamp) - extract(epoch from '2026-07-22 17:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.362245)'), GeomFromEWKT('SRID=4674;POINT (-39.027347 -3.362235)'))) / (select extract(epoch from '2026-07-22 17:34:31'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47445, 'SRID=4674;POINT (-39.027365 -3.362224)', '2026-07-22 17:34:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027347 -3.362235)'), GeomFromEWKT('SRID=4674;POINT (-39.027365 -3.362224)'))) / (select extract(epoch from '2026-07-22 17:34:34'::timestamp) - extract(epoch from '2026-07-22 17:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027347 -3.362235)'), GeomFromEWKT('SRID=4674;POINT (-39.027365 -3.362224)'))) / (select extract(epoch from '2026-07-22 17:34:34'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47445, 'SRID=4674;POINT (-39.027389 -3.362204)', '2026-07-22 17:34:39', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027365 -3.362224)'), GeomFromEWKT('SRID=4674;POINT (-39.027389 -3.362204)'))) / (select extract(epoch from '2026-07-22 17:34:39'::timestamp) - extract(epoch from '2026-07-22 17:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027365 -3.362224)'), GeomFromEWKT('SRID=4674;POINT (-39.027389 -3.362204)'))) / (select extract(epoch from '2026-07-22 17:34:39'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47445, 'SRID=4674;POINT (-39.027398 -3.362199)', '2026-07-22 17:34:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027389 -3.362204)'), GeomFromEWKT('SRID=4674;POINT (-39.027398 -3.362199)'))) / (select extract(epoch from '2026-07-22 17:34:40'::timestamp) - extract(epoch from '2026-07-22 17:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027389 -3.362204)'), GeomFromEWKT('SRID=4674;POINT (-39.027398 -3.362199)'))) / (select extract(epoch from '2026-07-22 17:34:40'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47445, 'SRID=4674;POINT (-39.027418 -3.362182)', '2026-07-22 17:34:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027398 -3.362199)'), GeomFromEWKT('SRID=4674;POINT (-39.027418 -3.362182)'))) / (select extract(epoch from '2026-07-22 17:34:45'::timestamp) - extract(epoch from '2026-07-22 17:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027398 -3.362199)'), GeomFromEWKT('SRID=4674;POINT (-39.027418 -3.362182)'))) / (select extract(epoch from '2026-07-22 17:34:45'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47445, 'SRID=4674;POINT (-39.027453 -3.362154)', '2026-07-22 17:34:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027418 -3.362182)'), GeomFromEWKT('SRID=4674;POINT (-39.027453 -3.362154)'))) / (select extract(epoch from '2026-07-22 17:34:53'::timestamp) - extract(epoch from '2026-07-22 17:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027418 -3.362182)'), GeomFromEWKT('SRID=4674;POINT (-39.027453 -3.362154)'))) / (select extract(epoch from '2026-07-22 17:34:53'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47445, 'SRID=4674;POINT (-39.027485 -3.362129)', '2026-07-22 17:35:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027453 -3.362154)'), GeomFromEWKT('SRID=4674;POINT (-39.027485 -3.362129)'))) / (select extract(epoch from '2026-07-22 17:35:01'::timestamp) - extract(epoch from '2026-07-22 17:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027453 -3.362154)'), GeomFromEWKT('SRID=4674;POINT (-39.027485 -3.362129)'))) / (select extract(epoch from '2026-07-22 17:35:01'::timestamp) - extract(epoch from '2026-07-22 17:34: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'), 47445, 'SRID=4674;POINT (-39.027514 -3.362112)', '2026-07-22 17:35:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027485 -3.362129)'), GeomFromEWKT('SRID=4674;POINT (-39.027514 -3.362112)'))) / (select extract(epoch from '2026-07-22 17:35:07'::timestamp) - extract(epoch from '2026-07-22 17:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027485 -3.362129)'), GeomFromEWKT('SRID=4674;POINT (-39.027514 -3.362112)'))) / (select extract(epoch from '2026-07-22 17:35:07'::timestamp) - extract(epoch from '2026-07-22 17:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027521 -3.362108)', '2026-07-22 17:35:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027514 -3.362112)'), GeomFromEWKT('SRID=4674;POINT (-39.027521 -3.362108)'))) / (select extract(epoch from '2026-07-22 17:35:08'::timestamp) - extract(epoch from '2026-07-22 17:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027514 -3.362112)'), GeomFromEWKT('SRID=4674;POINT (-39.027521 -3.362108)'))) / (select extract(epoch from '2026-07-22 17:35:08'::timestamp) - extract(epoch from '2026-07-22 17:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027556 -3.362079)', '2026-07-22 17:35:16', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027521 -3.362108)'), GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.362079)'))) / (select extract(epoch from '2026-07-22 17:35:16'::timestamp) - extract(epoch from '2026-07-22 17:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027521 -3.362108)'), GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.362079)'))) / (select extract(epoch from '2026-07-22 17:35:16'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.027587 -3.362057)', '2026-07-22 17:35:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.362079)'), GeomFromEWKT('SRID=4674;POINT (-39.027587 -3.362057)'))) / (select extract(epoch from '2026-07-22 17:35:23'::timestamp) - extract(epoch from '2026-07-22 17:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027556 -3.362079)'), GeomFromEWKT('SRID=4674;POINT (-39.027587 -3.362057)'))) / (select extract(epoch from '2026-07-22 17:35:23'::timestamp) - extract(epoch from '2026-07-22 17:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027619 -3.362037)', '2026-07-22 17:35:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027587 -3.362057)'), GeomFromEWKT('SRID=4674;POINT (-39.027619 -3.362037)'))) / (select extract(epoch from '2026-07-22 17:35:29'::timestamp) - extract(epoch from '2026-07-22 17:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027587 -3.362057)'), GeomFromEWKT('SRID=4674;POINT (-39.027619 -3.362037)'))) / (select extract(epoch from '2026-07-22 17:35:29'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47445, 'SRID=4674;POINT (-39.027659 -3.362013)', '2026-07-22 17:35:37', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027619 -3.362037)'), GeomFromEWKT('SRID=4674;POINT (-39.027659 -3.362013)'))) / (select extract(epoch from '2026-07-22 17:35:37'::timestamp) - extract(epoch from '2026-07-22 17:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027619 -3.362037)'), GeomFromEWKT('SRID=4674;POINT (-39.027659 -3.362013)'))) / (select extract(epoch from '2026-07-22 17:35:37'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47445, 'SRID=4674;POINT (-39.027686 -3.361986)', '2026-07-22 17:35:43', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027659 -3.362013)'), GeomFromEWKT('SRID=4674;POINT (-39.027686 -3.361986)'))) / (select extract(epoch from '2026-07-22 17:35:43'::timestamp) - extract(epoch from '2026-07-22 17:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027659 -3.362013)'), GeomFromEWKT('SRID=4674;POINT (-39.027686 -3.361986)'))) / (select extract(epoch from '2026-07-22 17:35:43'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47445, 'SRID=4674;POINT (-39.027725 -3.361957)', '2026-07-22 17:35:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027686 -3.361986)'), GeomFromEWKT('SRID=4674;POINT (-39.027725 -3.361957)'))) / (select extract(epoch from '2026-07-22 17:35:50'::timestamp) - extract(epoch from '2026-07-22 17:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027686 -3.361986)'), GeomFromEWKT('SRID=4674;POINT (-39.027725 -3.361957)'))) / (select extract(epoch from '2026-07-22 17:35:50'::timestamp) - extract(epoch from '2026-07-22 17:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027756 -3.361933)', '2026-07-22 17:35:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027725 -3.361957)'), GeomFromEWKT('SRID=4674;POINT (-39.027756 -3.361933)'))) / (select extract(epoch from '2026-07-22 17:35:56'::timestamp) - extract(epoch from '2026-07-22 17:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027725 -3.361957)'), GeomFromEWKT('SRID=4674;POINT (-39.027756 -3.361933)'))) / (select extract(epoch from '2026-07-22 17:35:56'::timestamp) - extract(epoch from '2026-07-22 17:35: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'), 47445, 'SRID=4674;POINT (-39.02779 -3.361909)', '2026-07-22 17:36:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027756 -3.361933)'), GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.361909)'))) / (select extract(epoch from '2026-07-22 17:36:03'::timestamp) - extract(epoch from '2026-07-22 17:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027756 -3.361933)'), GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.361909)'))) / (select extract(epoch from '2026-07-22 17:36:03'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.027826 -3.361885)', '2026-07-22 17:36:10', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.361909)'), GeomFromEWKT('SRID=4674;POINT (-39.027826 -3.361885)'))) / (select extract(epoch from '2026-07-22 17:36:10'::timestamp) - extract(epoch from '2026-07-22 17:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02779 -3.361909)'), GeomFromEWKT('SRID=4674;POINT (-39.027826 -3.361885)'))) / (select extract(epoch from '2026-07-22 17:36:10'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.027852 -3.361869)', '2026-07-22 17:36:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027826 -3.361885)'), GeomFromEWKT('SRID=4674;POINT (-39.027852 -3.361869)'))) / (select extract(epoch from '2026-07-22 17:36:15'::timestamp) - extract(epoch from '2026-07-22 17:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027826 -3.361885)'), GeomFromEWKT('SRID=4674;POINT (-39.027852 -3.361869)'))) / (select extract(epoch from '2026-07-22 17:36:15'::timestamp) - extract(epoch from '2026-07-22 17:36: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'), 47445, 'SRID=4674;POINT (-39.02788 -3.361842)', '2026-07-22 17:36:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027852 -3.361869)'), GeomFromEWKT('SRID=4674;POINT (-39.02788 -3.361842)'))) / (select extract(epoch from '2026-07-22 17:36:21'::timestamp) - extract(epoch from '2026-07-22 17:36:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027852 -3.361869)'), GeomFromEWKT('SRID=4674;POINT (-39.02788 -3.361842)'))) / (select extract(epoch from '2026-07-22 17:36:21'::timestamp) - extract(epoch from '2026-07-22 17:36: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'), 47445, 'SRID=4674;POINT (-39.027885 -3.361835)', '2026-07-22 17:36:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02788 -3.361842)'), GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.361835)'))) / (select extract(epoch from '2026-07-22 17:36:22'::timestamp) - extract(epoch from '2026-07-22 17:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02788 -3.361842)'), GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.361835)'))) / (select extract(epoch from '2026-07-22 17:36:22'::timestamp) - extract(epoch from '2026-07-22 17:36: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'), 47445, 'SRID=4674;POINT (-39.027902 -3.361819)', '2026-07-22 17:36:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.361835)'), GeomFromEWKT('SRID=4674;POINT (-39.027902 -3.361819)'))) / (select extract(epoch from '2026-07-22 17:36:27'::timestamp) - extract(epoch from '2026-07-22 17:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027885 -3.361835)'), GeomFromEWKT('SRID=4674;POINT (-39.027902 -3.361819)'))) / (select extract(epoch from '2026-07-22 17:36:27'::timestamp) - extract(epoch from '2026-07-22 17:36: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'), 47445, 'SRID=4674;POINT (-39.027909 -3.361816)', '2026-07-22 17:36:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027902 -3.361819)'), GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.361816)'))) / (select extract(epoch from '2026-07-22 17:36:28'::timestamp) - extract(epoch from '2026-07-22 17:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027902 -3.361819)'), GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.361816)'))) / (select extract(epoch from '2026-07-22 17:36:28'::timestamp) - extract(epoch from '2026-07-22 17:36: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'), 47445, 'SRID=4674;POINT (-39.027928 -3.361803)', '2026-07-22 17:36:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.361816)'), GeomFromEWKT('SRID=4674;POINT (-39.027928 -3.361803)'))) / (select extract(epoch from '2026-07-22 17:36:32'::timestamp) - extract(epoch from '2026-07-22 17:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027909 -3.361816)'), GeomFromEWKT('SRID=4674;POINT (-39.027928 -3.361803)'))) / (select extract(epoch from '2026-07-22 17:36:32'::timestamp) - extract(epoch from '2026-07-22 17:36:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027959 -3.361776)', '2026-07-22 17:36:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027928 -3.361803)'), GeomFromEWKT('SRID=4674;POINT (-39.027959 -3.361776)'))) / (select extract(epoch from '2026-07-22 17:36:39'::timestamp) - extract(epoch from '2026-07-22 17:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027928 -3.361803)'), GeomFromEWKT('SRID=4674;POINT (-39.027959 -3.361776)'))) / (select extract(epoch from '2026-07-22 17:36:39'::timestamp) - extract(epoch from '2026-07-22 17:36: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'), 47445, 'SRID=4674;POINT (-39.027983 -3.361755)', '2026-07-22 17:36:44', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027959 -3.361776)'), GeomFromEWKT('SRID=4674;POINT (-39.027983 -3.361755)'))) / (select extract(epoch from '2026-07-22 17:36:44'::timestamp) - extract(epoch from '2026-07-22 17:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027959 -3.361776)'), GeomFromEWKT('SRID=4674;POINT (-39.027983 -3.361755)'))) / (select extract(epoch from '2026-07-22 17:36:44'::timestamp) - extract(epoch from '2026-07-22 17:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.027988 -3.36175)', '2026-07-22 17:36:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027983 -3.361755)'), GeomFromEWKT('SRID=4674;POINT (-39.027988 -3.36175)'))) / (select extract(epoch from '2026-07-22 17:36:45'::timestamp) - extract(epoch from '2026-07-22 17:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027983 -3.361755)'), GeomFromEWKT('SRID=4674;POINT (-39.027988 -3.36175)'))) / (select extract(epoch from '2026-07-22 17:36:45'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.02801 -3.361721)', '2026-07-22 17:36:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027988 -3.36175)'), GeomFromEWKT('SRID=4674;POINT (-39.02801 -3.361721)'))) / (select extract(epoch from '2026-07-22 17:36:52'::timestamp) - extract(epoch from '2026-07-22 17:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027988 -3.36175)'), GeomFromEWKT('SRID=4674;POINT (-39.02801 -3.361721)'))) / (select extract(epoch from '2026-07-22 17:36:52'::timestamp) - extract(epoch from '2026-07-22 17:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02803 -3.361699)', '2026-07-22 17:36:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02801 -3.361721)'), GeomFromEWKT('SRID=4674;POINT (-39.02803 -3.361699)'))) / (select extract(epoch from '2026-07-22 17:36:58'::timestamp) - extract(epoch from '2026-07-22 17:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02801 -3.361721)'), GeomFromEWKT('SRID=4674;POINT (-39.02803 -3.361699)'))) / (select extract(epoch from '2026-07-22 17:36:58'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.028047 -3.361689)', '2026-07-22 17:37:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02803 -3.361699)'), GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.361689)'))) / (select extract(epoch from '2026-07-22 17:37:01'::timestamp) - extract(epoch from '2026-07-22 17:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02803 -3.361699)'), GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.361689)'))) / (select extract(epoch from '2026-07-22 17:37:01'::timestamp) - extract(epoch from '2026-07-22 17:36: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'), 47445, 'SRID=4674;POINT (-39.028053 -3.361681)', '2026-07-22 17:37:03', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.361689)'), GeomFromEWKT('SRID=4674;POINT (-39.028053 -3.361681)'))) / (select extract(epoch from '2026-07-22 17:37:03'::timestamp) - extract(epoch from '2026-07-22 17:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028047 -3.361689)'), GeomFromEWKT('SRID=4674;POINT (-39.028053 -3.361681)'))) / (select extract(epoch from '2026-07-22 17:37:03'::timestamp) - extract(epoch from '2026-07-22 17:37:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028082 -3.361661)', '2026-07-22 17:37:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028053 -3.361681)'), GeomFromEWKT('SRID=4674;POINT (-39.028082 -3.361661)'))) / (select extract(epoch from '2026-07-22 17:37:10'::timestamp) - extract(epoch from '2026-07-22 17:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028053 -3.361681)'), GeomFromEWKT('SRID=4674;POINT (-39.028082 -3.361661)'))) / (select extract(epoch from '2026-07-22 17:37:10'::timestamp) - extract(epoch from '2026-07-22 17:37: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'), 47445, 'SRID=4674;POINT (-39.028125 -3.36163)', '2026-07-22 17:37:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028082 -3.361661)'), GeomFromEWKT('SRID=4674;POINT (-39.028125 -3.36163)'))) / (select extract(epoch from '2026-07-22 17:37:18'::timestamp) - extract(epoch from '2026-07-22 17:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028082 -3.361661)'), GeomFromEWKT('SRID=4674;POINT (-39.028125 -3.36163)'))) / (select extract(epoch from '2026-07-22 17:37:18'::timestamp) - extract(epoch from '2026-07-22 17:37: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'), 47445, 'SRID=4674;POINT (-39.028161 -3.361612)', '2026-07-22 17:37:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028125 -3.36163)'), GeomFromEWKT('SRID=4674;POINT (-39.028161 -3.361612)'))) / (select extract(epoch from '2026-07-22 17:37:24'::timestamp) - extract(epoch from '2026-07-22 17:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028125 -3.36163)'), GeomFromEWKT('SRID=4674;POINT (-39.028161 -3.361612)'))) / (select extract(epoch from '2026-07-22 17:37:24'::timestamp) - extract(epoch from '2026-07-22 17:37:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028183 -3.361592)', '2026-07-22 17:37:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028161 -3.361612)'), GeomFromEWKT('SRID=4674;POINT (-39.028183 -3.361592)'))) / (select extract(epoch from '2026-07-22 17:37:29'::timestamp) - extract(epoch from '2026-07-22 17:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028161 -3.361612)'), GeomFromEWKT('SRID=4674;POINT (-39.028183 -3.361592)'))) / (select extract(epoch from '2026-07-22 17:37:29'::timestamp) - extract(epoch from '2026-07-22 17:37: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'), 47445, 'SRID=4674;POINT (-39.028211 -3.36157)', '2026-07-22 17:37:35', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028183 -3.361592)'), GeomFromEWKT('SRID=4674;POINT (-39.028211 -3.36157)'))) / (select extract(epoch from '2026-07-22 17:37:35'::timestamp) - extract(epoch from '2026-07-22 17:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028183 -3.361592)'), GeomFromEWKT('SRID=4674;POINT (-39.028211 -3.36157)'))) / (select extract(epoch from '2026-07-22 17:37:35'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.028241 -3.361554)', '2026-07-22 17:37:41', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028211 -3.36157)'), GeomFromEWKT('SRID=4674;POINT (-39.028241 -3.361554)'))) / (select extract(epoch from '2026-07-22 17:37:41'::timestamp) - extract(epoch from '2026-07-22 17:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028211 -3.36157)'), GeomFromEWKT('SRID=4674;POINT (-39.028241 -3.361554)'))) / (select extract(epoch from '2026-07-22 17:37:41'::timestamp) - extract(epoch from '2026-07-22 17:37: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'), 47445, 'SRID=4674;POINT (-39.028278 -3.361536)', '2026-07-22 17:37:48', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028241 -3.361554)'), GeomFromEWKT('SRID=4674;POINT (-39.028278 -3.361536)'))) / (select extract(epoch from '2026-07-22 17:37:48'::timestamp) - extract(epoch from '2026-07-22 17:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028241 -3.361554)'), GeomFromEWKT('SRID=4674;POINT (-39.028278 -3.361536)'))) / (select extract(epoch from '2026-07-22 17:37:48'::timestamp) - extract(epoch from '2026-07-22 17:37: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'), 47445, 'SRID=4674;POINT (-39.028314 -3.361515)', '2026-07-22 17:37:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028278 -3.361536)'), GeomFromEWKT('SRID=4674;POINT (-39.028314 -3.361515)'))) / (select extract(epoch from '2026-07-22 17:37:54'::timestamp) - extract(epoch from '2026-07-22 17:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028278 -3.361536)'), GeomFromEWKT('SRID=4674;POINT (-39.028314 -3.361515)'))) / (select extract(epoch from '2026-07-22 17:37:54'::timestamp) - extract(epoch from '2026-07-22 17:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028337 -3.361493)', '2026-07-22 17:37:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028314 -3.361515)'), GeomFromEWKT('SRID=4674;POINT (-39.028337 -3.361493)'))) / (select extract(epoch from '2026-07-22 17:37:59'::timestamp) - extract(epoch from '2026-07-22 17:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028314 -3.361515)'), GeomFromEWKT('SRID=4674;POINT (-39.028337 -3.361493)'))) / (select extract(epoch from '2026-07-22 17:37:59'::timestamp) - extract(epoch from '2026-07-22 17:37: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'), 47445, 'SRID=4674;POINT (-39.028354 -3.361483)', '2026-07-22 17:38:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028337 -3.361493)'), GeomFromEWKT('SRID=4674;POINT (-39.028354 -3.361483)'))) / (select extract(epoch from '2026-07-22 17:38:02'::timestamp) - extract(epoch from '2026-07-22 17:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028337 -3.361493)'), GeomFromEWKT('SRID=4674;POINT (-39.028354 -3.361483)'))) / (select extract(epoch from '2026-07-22 17:38:02'::timestamp) - extract(epoch from '2026-07-22 17:37:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028362 -3.36147)', '2026-07-22 17:38:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028354 -3.361483)'), GeomFromEWKT('SRID=4674;POINT (-39.028362 -3.36147)'))) / (select extract(epoch from '2026-07-22 17:38:04'::timestamp) - extract(epoch from '2026-07-22 17:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028354 -3.361483)'), GeomFromEWKT('SRID=4674;POINT (-39.028362 -3.36147)'))) / (select extract(epoch from '2026-07-22 17:38:04'::timestamp) - extract(epoch from '2026-07-22 17:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028385 -3.361444)', '2026-07-22 17:38:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028362 -3.36147)'), GeomFromEWKT('SRID=4674;POINT (-39.028385 -3.361444)'))) / (select extract(epoch from '2026-07-22 17:38:11'::timestamp) - extract(epoch from '2026-07-22 17:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028362 -3.36147)'), GeomFromEWKT('SRID=4674;POINT (-39.028385 -3.361444)'))) / (select extract(epoch from '2026-07-22 17:38:11'::timestamp) - extract(epoch from '2026-07-22 17:38:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028408 -3.361423)', '2026-07-22 17:38:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028385 -3.361444)'), GeomFromEWKT('SRID=4674;POINT (-39.028408 -3.361423)'))) / (select extract(epoch from '2026-07-22 17:38:18'::timestamp) - extract(epoch from '2026-07-22 17:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028385 -3.361444)'), GeomFromEWKT('SRID=4674;POINT (-39.028408 -3.361423)'))) / (select extract(epoch from '2026-07-22 17:38:18'::timestamp) - extract(epoch from '2026-07-22 17:38: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'), 47445, 'SRID=4674;POINT (-39.028437 -3.361399)', '2026-07-22 17:38:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028408 -3.361423)'), GeomFromEWKT('SRID=4674;POINT (-39.028437 -3.361399)'))) / (select extract(epoch from '2026-07-22 17:38:26'::timestamp) - extract(epoch from '2026-07-22 17:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028408 -3.361423)'), GeomFromEWKT('SRID=4674;POINT (-39.028437 -3.361399)'))) / (select extract(epoch from '2026-07-22 17:38:26'::timestamp) - extract(epoch from '2026-07-22 17:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028475 -3.361377)', '2026-07-22 17:38:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028437 -3.361399)'), GeomFromEWKT('SRID=4674;POINT (-39.028475 -3.361377)'))) / (select extract(epoch from '2026-07-22 17:38:34'::timestamp) - extract(epoch from '2026-07-22 17:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028437 -3.361399)'), GeomFromEWKT('SRID=4674;POINT (-39.028475 -3.361377)'))) / (select extract(epoch from '2026-07-22 17:38:34'::timestamp) - extract(epoch from '2026-07-22 17:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028515 -3.361352)', '2026-07-22 17:38:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028475 -3.361377)'), GeomFromEWKT('SRID=4674;POINT (-39.028515 -3.361352)'))) / (select extract(epoch from '2026-07-22 17:38:42'::timestamp) - extract(epoch from '2026-07-22 17:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028475 -3.361377)'), GeomFromEWKT('SRID=4674;POINT (-39.028515 -3.361352)'))) / (select extract(epoch from '2026-07-22 17:38:42'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.028558 -3.36132)', '2026-07-22 17:38:51', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028515 -3.361352)'), GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.36132)'))) / (select extract(epoch from '2026-07-22 17:38:51'::timestamp) - extract(epoch from '2026-07-22 17:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028515 -3.361352)'), GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.36132)'))) / (select extract(epoch from '2026-07-22 17:38:51'::timestamp) - extract(epoch from '2026-07-22 17:38: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'), 47445, 'SRID=4674;POINT (-39.028595 -3.361293)', '2026-07-22 17:38:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.36132)'), GeomFromEWKT('SRID=4674;POINT (-39.028595 -3.361293)'))) / (select extract(epoch from '2026-07-22 17:38:59'::timestamp) - extract(epoch from '2026-07-22 17:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028558 -3.36132)'), GeomFromEWKT('SRID=4674;POINT (-39.028595 -3.361293)'))) / (select extract(epoch from '2026-07-22 17:38:59'::timestamp) - extract(epoch from '2026-07-22 17:38: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'), 47445, 'SRID=4674;POINT (-39.028614 -3.361271)', '2026-07-22 17:39:05', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028595 -3.361293)'), GeomFromEWKT('SRID=4674;POINT (-39.028614 -3.361271)'))) / (select extract(epoch from '2026-07-22 17:39:05'::timestamp) - extract(epoch from '2026-07-22 17:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028595 -3.361293)'), GeomFromEWKT('SRID=4674;POINT (-39.028614 -3.361271)'))) / (select extract(epoch from '2026-07-22 17:39:05'::timestamp) - extract(epoch from '2026-07-22 17:38:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028657 -3.361249)', '2026-07-22 17:39:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028614 -3.361271)'), GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.361249)'))) / (select extract(epoch from '2026-07-22 17:39:13'::timestamp) - extract(epoch from '2026-07-22 17:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028614 -3.361271)'), GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.361249)'))) / (select extract(epoch from '2026-07-22 17:39:13'::timestamp) - extract(epoch from '2026-07-22 17:39: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'), 47445, 'SRID=4674;POINT (-39.028687 -3.361219)', '2026-07-22 17:39:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.361249)'), GeomFromEWKT('SRID=4674;POINT (-39.028687 -3.361219)'))) / (select extract(epoch from '2026-07-22 17:39:20'::timestamp) - extract(epoch from '2026-07-22 17:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028657 -3.361249)'), GeomFromEWKT('SRID=4674;POINT (-39.028687 -3.361219)'))) / (select extract(epoch from '2026-07-22 17:39:20'::timestamp) - extract(epoch from '2026-07-22 17:39: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'), 47445, 'SRID=4674;POINT (-39.028724 -3.361195)', '2026-07-22 17:39:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028687 -3.361219)'), GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.361195)'))) / (select extract(epoch from '2026-07-22 17:39:28'::timestamp) - extract(epoch from '2026-07-22 17:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028687 -3.361219)'), GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.361195)'))) / (select extract(epoch from '2026-07-22 17:39:28'::timestamp) - extract(epoch from '2026-07-22 17:39: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'), 47445, 'SRID=4674;POINT (-39.028756 -3.361159)', '2026-07-22 17:39:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.361195)'), GeomFromEWKT('SRID=4674;POINT (-39.028756 -3.361159)'))) / (select extract(epoch from '2026-07-22 17:39:37'::timestamp) - extract(epoch from '2026-07-22 17:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028724 -3.361195)'), GeomFromEWKT('SRID=4674;POINT (-39.028756 -3.361159)'))) / (select extract(epoch from '2026-07-22 17:39:37'::timestamp) - extract(epoch from '2026-07-22 17:39:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028767 -3.361149)', '2026-07-22 17:39:39', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028756 -3.361159)'), GeomFromEWKT('SRID=4674;POINT (-39.028767 -3.361149)'))) / (select extract(epoch from '2026-07-22 17:39:39'::timestamp) - extract(epoch from '2026-07-22 17:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028756 -3.361159)'), GeomFromEWKT('SRID=4674;POINT (-39.028767 -3.361149)'))) / (select extract(epoch from '2026-07-22 17:39:39'::timestamp) - extract(epoch from '2026-07-22 17:39: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'), 47445, 'SRID=4674;POINT (-39.02878 -3.361134)', '2026-07-22 17:39:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028767 -3.361149)'), GeomFromEWKT('SRID=4674;POINT (-39.02878 -3.361134)'))) / (select extract(epoch from '2026-07-22 17:39:43'::timestamp) - extract(epoch from '2026-07-22 17:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028767 -3.361149)'), GeomFromEWKT('SRID=4674;POINT (-39.02878 -3.361134)'))) / (select extract(epoch from '2026-07-22 17:39:43'::timestamp) - extract(epoch from '2026-07-22 17:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028808 -3.361098)', '2026-07-22 17:39:50', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02878 -3.361134)'), GeomFromEWKT('SRID=4674;POINT (-39.028808 -3.361098)'))) / (select extract(epoch from '2026-07-22 17:39:50'::timestamp) - extract(epoch from '2026-07-22 17:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02878 -3.361134)'), GeomFromEWKT('SRID=4674;POINT (-39.028808 -3.361098)'))) / (select extract(epoch from '2026-07-22 17:39:50'::timestamp) - extract(epoch from '2026-07-22 17:39: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'), 47445, 'SRID=4674;POINT (-39.028837 -3.361078)', '2026-07-22 17:39:56', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028808 -3.361098)'), GeomFromEWKT('SRID=4674;POINT (-39.028837 -3.361078)'))) / (select extract(epoch from '2026-07-22 17:39:56'::timestamp) - extract(epoch from '2026-07-22 17:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028808 -3.361098)'), GeomFromEWKT('SRID=4674;POINT (-39.028837 -3.361078)'))) / (select extract(epoch from '2026-07-22 17:39:56'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.028869 -3.36106)', '2026-07-22 17:40:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028837 -3.361078)'), GeomFromEWKT('SRID=4674;POINT (-39.028869 -3.36106)'))) / (select extract(epoch from '2026-07-22 17:40:03'::timestamp) - extract(epoch from '2026-07-22 17:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028837 -3.361078)'), GeomFromEWKT('SRID=4674;POINT (-39.028869 -3.36106)'))) / (select extract(epoch from '2026-07-22 17:40:03'::timestamp) - extract(epoch from '2026-07-22 17:39: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'), 47445, 'SRID=4674;POINT (-39.028892 -3.361042)', '2026-07-22 17:40:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028869 -3.36106)'), GeomFromEWKT('SRID=4674;POINT (-39.028892 -3.361042)'))) / (select extract(epoch from '2026-07-22 17:40:09'::timestamp) - extract(epoch from '2026-07-22 17:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028869 -3.36106)'), GeomFromEWKT('SRID=4674;POINT (-39.028892 -3.361042)'))) / (select extract(epoch from '2026-07-22 17:40:09'::timestamp) - extract(epoch from '2026-07-22 17:40: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'), 47445, 'SRID=4674;POINT (-39.028915 -3.361024)', '2026-07-22 17:40:15', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028892 -3.361042)'), GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.361024)'))) / (select extract(epoch from '2026-07-22 17:40:15'::timestamp) - extract(epoch from '2026-07-22 17:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028892 -3.361042)'), GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.361024)'))) / (select extract(epoch from '2026-07-22 17:40:15'::timestamp) - extract(epoch from '2026-07-22 17:40: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'), 47445, 'SRID=4674;POINT (-39.02894 -3.361008)', '2026-07-22 17:40:22', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.361024)'), GeomFromEWKT('SRID=4674;POINT (-39.02894 -3.361008)'))) / (select extract(epoch from '2026-07-22 17:40:22'::timestamp) - extract(epoch from '2026-07-22 17:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028915 -3.361024)'), GeomFromEWKT('SRID=4674;POINT (-39.02894 -3.361008)'))) / (select extract(epoch from '2026-07-22 17:40:22'::timestamp) - extract(epoch from '2026-07-22 17:40: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'), 47445, 'SRID=4674;POINT (-39.028967 -3.360994)', '2026-07-22 17:40:27', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02894 -3.361008)'), GeomFromEWKT('SRID=4674;POINT (-39.028967 -3.360994)'))) / (select extract(epoch from '2026-07-22 17:40:27'::timestamp) - extract(epoch from '2026-07-22 17:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02894 -3.361008)'), GeomFromEWKT('SRID=4674;POINT (-39.028967 -3.360994)'))) / (select extract(epoch from '2026-07-22 17:40:27'::timestamp) - extract(epoch from '2026-07-22 17:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028974 -3.360991)', '2026-07-22 17:40:28', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028967 -3.360994)'), GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.360991)'))) / (select extract(epoch from '2026-07-22 17:40:28'::timestamp) - extract(epoch from '2026-07-22 17:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028967 -3.360994)'), GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.360991)'))) / (select extract(epoch from '2026-07-22 17:40:28'::timestamp) - extract(epoch from '2026-07-22 17:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.028993 -3.360985)', '2026-07-22 17:40:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.360991)'), GeomFromEWKT('SRID=4674;POINT (-39.028993 -3.360985)'))) / (select extract(epoch from '2026-07-22 17:40:31'::timestamp) - extract(epoch from '2026-07-22 17:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028974 -3.360991)'), GeomFromEWKT('SRID=4674;POINT (-39.028993 -3.360985)'))) / (select extract(epoch from '2026-07-22 17:40:31'::timestamp) - extract(epoch from '2026-07-22 17:40: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'), 47445, 'SRID=4674;POINT (-39.029008 -3.360973)', '2026-07-22 17:40:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028993 -3.360985)'), GeomFromEWKT('SRID=4674;POINT (-39.029008 -3.360973)'))) / (select extract(epoch from '2026-07-22 17:40:34'::timestamp) - extract(epoch from '2026-07-22 17:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028993 -3.360985)'), GeomFromEWKT('SRID=4674;POINT (-39.029008 -3.360973)'))) / (select extract(epoch from '2026-07-22 17:40:34'::timestamp) - extract(epoch from '2026-07-22 17:40: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'), 47445, 'SRID=4674;POINT (-39.029043 -3.360958)', '2026-07-22 17:40:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029008 -3.360973)'), GeomFromEWKT('SRID=4674;POINT (-39.029043 -3.360958)'))) / (select extract(epoch from '2026-07-22 17:40:41'::timestamp) - extract(epoch from '2026-07-22 17:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029008 -3.360973)'), GeomFromEWKT('SRID=4674;POINT (-39.029043 -3.360958)'))) / (select extract(epoch from '2026-07-22 17:40:41'::timestamp) - extract(epoch from '2026-07-22 17:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029074 -3.360936)', '2026-07-22 17:40:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029043 -3.360958)'), GeomFromEWKT('SRID=4674;POINT (-39.029074 -3.360936)'))) / (select extract(epoch from '2026-07-22 17:40:49'::timestamp) - extract(epoch from '2026-07-22 17:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029043 -3.360958)'), GeomFromEWKT('SRID=4674;POINT (-39.029074 -3.360936)'))) / (select extract(epoch from '2026-07-22 17:40:49'::timestamp) - extract(epoch from '2026-07-22 17:40: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'), 47445, 'SRID=4674;POINT (-39.029105 -3.360916)', '2026-07-22 17:40:56', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029074 -3.360936)'), GeomFromEWKT('SRID=4674;POINT (-39.029105 -3.360916)'))) / (select extract(epoch from '2026-07-22 17:40:56'::timestamp) - extract(epoch from '2026-07-22 17:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029074 -3.360936)'), GeomFromEWKT('SRID=4674;POINT (-39.029105 -3.360916)'))) / (select extract(epoch from '2026-07-22 17:40:56'::timestamp) - extract(epoch from '2026-07-22 17:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029142 -3.360895)', '2026-07-22 17:41:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029105 -3.360916)'), GeomFromEWKT('SRID=4674;POINT (-39.029142 -3.360895)'))) / (select extract(epoch from '2026-07-22 17:41:04'::timestamp) - extract(epoch from '2026-07-22 17:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029105 -3.360916)'), GeomFromEWKT('SRID=4674;POINT (-39.029142 -3.360895)'))) / (select extract(epoch from '2026-07-22 17:41:04'::timestamp) - extract(epoch from '2026-07-22 17:40: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'), 47445, 'SRID=4674;POINT (-39.029174 -3.360878)', '2026-07-22 17:41:11', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029142 -3.360895)'), GeomFromEWKT('SRID=4674;POINT (-39.029174 -3.360878)'))) / (select extract(epoch from '2026-07-22 17:41:11'::timestamp) - extract(epoch from '2026-07-22 17:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029142 -3.360895)'), GeomFromEWKT('SRID=4674;POINT (-39.029174 -3.360878)'))) / (select extract(epoch from '2026-07-22 17:41:11'::timestamp) - extract(epoch from '2026-07-22 17:41: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'), 47445, 'SRID=4674;POINT (-39.029211 -3.360858)', '2026-07-22 17:41:18', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029174 -3.360878)'), GeomFromEWKT('SRID=4674;POINT (-39.029211 -3.360858)'))) / (select extract(epoch from '2026-07-22 17:41:18'::timestamp) - extract(epoch from '2026-07-22 17:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029174 -3.360878)'), GeomFromEWKT('SRID=4674;POINT (-39.029211 -3.360858)'))) / (select extract(epoch from '2026-07-22 17:41:18'::timestamp) - extract(epoch from '2026-07-22 17:41: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'), 47445, 'SRID=4674;POINT (-39.029248 -3.360836)', '2026-07-22 17:41:26', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029211 -3.360858)'), GeomFromEWKT('SRID=4674;POINT (-39.029248 -3.360836)'))) / (select extract(epoch from '2026-07-22 17:41:26'::timestamp) - extract(epoch from '2026-07-22 17:41:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029211 -3.360858)'), GeomFromEWKT('SRID=4674;POINT (-39.029248 -3.360836)'))) / (select extract(epoch from '2026-07-22 17:41:26'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.029286 -3.360815)', '2026-07-22 17:41:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029248 -3.360836)'), GeomFromEWKT('SRID=4674;POINT (-39.029286 -3.360815)'))) / (select extract(epoch from '2026-07-22 17:41:34'::timestamp) - extract(epoch from '2026-07-22 17:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029248 -3.360836)'), GeomFromEWKT('SRID=4674;POINT (-39.029286 -3.360815)'))) / (select extract(epoch from '2026-07-22 17:41:34'::timestamp) - extract(epoch from '2026-07-22 17:41:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029317 -3.360787)', '2026-07-22 17:41:41', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029286 -3.360815)'), GeomFromEWKT('SRID=4674;POINT (-39.029317 -3.360787)'))) / (select extract(epoch from '2026-07-22 17:41:41'::timestamp) - extract(epoch from '2026-07-22 17:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029286 -3.360815)'), GeomFromEWKT('SRID=4674;POINT (-39.029317 -3.360787)'))) / (select extract(epoch from '2026-07-22 17:41:41'::timestamp) - extract(epoch from '2026-07-22 17:41: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'), 47445, 'SRID=4674;POINT (-39.029349 -3.360757)', '2026-07-22 17:41:48', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029317 -3.360787)'), GeomFromEWKT('SRID=4674;POINT (-39.029349 -3.360757)'))) / (select extract(epoch from '2026-07-22 17:41:48'::timestamp) - extract(epoch from '2026-07-22 17:41:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029317 -3.360787)'), GeomFromEWKT('SRID=4674;POINT (-39.029349 -3.360757)'))) / (select extract(epoch from '2026-07-22 17:41:48'::timestamp) - extract(epoch from '2026-07-22 17:41:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029367 -3.360744)', '2026-07-22 17:41:51', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029349 -3.360757)'), GeomFromEWKT('SRID=4674;POINT (-39.029367 -3.360744)'))) / (select extract(epoch from '2026-07-22 17:41:51'::timestamp) - extract(epoch from '2026-07-22 17:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029349 -3.360757)'), GeomFromEWKT('SRID=4674;POINT (-39.029367 -3.360744)'))) / (select extract(epoch from '2026-07-22 17:41:51'::timestamp) - extract(epoch from '2026-07-22 17:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029374 -3.360735)', '2026-07-22 17:41:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029367 -3.360744)'), GeomFromEWKT('SRID=4674;POINT (-39.029374 -3.360735)'))) / (select extract(epoch from '2026-07-22 17:41:54'::timestamp) - extract(epoch from '2026-07-22 17:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029367 -3.360744)'), GeomFromEWKT('SRID=4674;POINT (-39.029374 -3.360735)'))) / (select extract(epoch from '2026-07-22 17:41:54'::timestamp) - extract(epoch from '2026-07-22 17:41: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'), 47445, 'SRID=4674;POINT (-39.0294 -3.360718)', '2026-07-22 17:42:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029374 -3.360735)'), GeomFromEWKT('SRID=4674;POINT (-39.0294 -3.360718)'))) / (select extract(epoch from '2026-07-22 17:42:00'::timestamp) - extract(epoch from '2026-07-22 17:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029374 -3.360735)'), GeomFromEWKT('SRID=4674;POINT (-39.0294 -3.360718)'))) / (select extract(epoch from '2026-07-22 17:42:00'::timestamp) - extract(epoch from '2026-07-22 17:41: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'), 47445, 'SRID=4674;POINT (-39.029429 -3.360714)', '2026-07-22 17:42:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0294 -3.360718)'), GeomFromEWKT('SRID=4674;POINT (-39.029429 -3.360714)'))) / (select extract(epoch from '2026-07-22 17:42:04'::timestamp) - extract(epoch from '2026-07-22 17:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0294 -3.360718)'), GeomFromEWKT('SRID=4674;POINT (-39.029429 -3.360714)'))) / (select extract(epoch from '2026-07-22 17:42:04'::timestamp) - extract(epoch from '2026-07-22 17:42: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'), 47445, 'SRID=4674;POINT (-39.029435 -3.360706)', '2026-07-22 17:42:06', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029429 -3.360714)'), GeomFromEWKT('SRID=4674;POINT (-39.029435 -3.360706)'))) / (select extract(epoch from '2026-07-22 17:42:06'::timestamp) - extract(epoch from '2026-07-22 17:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029429 -3.360714)'), GeomFromEWKT('SRID=4674;POINT (-39.029435 -3.360706)'))) / (select extract(epoch from '2026-07-22 17:42:06'::timestamp) - extract(epoch from '2026-07-22 17:42: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'), 47445, 'SRID=4674;POINT (-39.029469 -3.360689)', '2026-07-22 17:42:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029435 -3.360706)'), GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.360689)'))) / (select extract(epoch from '2026-07-22 17:42:12'::timestamp) - extract(epoch from '2026-07-22 17:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029435 -3.360706)'), GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.360689)'))) / (select extract(epoch from '2026-07-22 17:42:12'::timestamp) - extract(epoch from '2026-07-22 17:42: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'), 47445, 'SRID=4674;POINT (-39.029503 -3.360667)', '2026-07-22 17:42:19', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.360689)'), GeomFromEWKT('SRID=4674;POINT (-39.029503 -3.360667)'))) / (select extract(epoch from '2026-07-22 17:42:19'::timestamp) - extract(epoch from '2026-07-22 17:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.360689)'), GeomFromEWKT('SRID=4674;POINT (-39.029503 -3.360667)'))) / (select extract(epoch from '2026-07-22 17:42:19'::timestamp) - extract(epoch from '2026-07-22 17:42: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'), 47445, 'SRID=4674;POINT (-39.029541 -3.360643)', '2026-07-22 17:42:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029503 -3.360667)'), GeomFromEWKT('SRID=4674;POINT (-39.029541 -3.360643)'))) / (select extract(epoch from '2026-07-22 17:42:27'::timestamp) - extract(epoch from '2026-07-22 17:42:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029503 -3.360667)'), GeomFromEWKT('SRID=4674;POINT (-39.029541 -3.360643)'))) / (select extract(epoch from '2026-07-22 17:42:27'::timestamp) - extract(epoch from '2026-07-22 17:42: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'), 47445, 'SRID=4674;POINT (-39.029573 -3.360622)', '2026-07-22 17:42:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029541 -3.360643)'), GeomFromEWKT('SRID=4674;POINT (-39.029573 -3.360622)'))) / (select extract(epoch from '2026-07-22 17:42:33'::timestamp) - extract(epoch from '2026-07-22 17:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029541 -3.360643)'), GeomFromEWKT('SRID=4674;POINT (-39.029573 -3.360622)'))) / (select extract(epoch from '2026-07-22 17:42:33'::timestamp) - extract(epoch from '2026-07-22 17:42: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'), 47445, 'SRID=4674;POINT (-39.029582 -3.360618)', '2026-07-22 17:42:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029573 -3.360622)'), GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.360618)'))) / (select extract(epoch from '2026-07-22 17:42:34'::timestamp) - extract(epoch from '2026-07-22 17:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029573 -3.360622)'), GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.360618)'))) / (select extract(epoch from '2026-07-22 17:42:34'::timestamp) - extract(epoch from '2026-07-22 17:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029601 -3.360595)', '2026-07-22 17:42:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.360618)'), GeomFromEWKT('SRID=4674;POINT (-39.029601 -3.360595)'))) / (select extract(epoch from '2026-07-22 17:42:39'::timestamp) - extract(epoch from '2026-07-22 17:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029582 -3.360618)'), GeomFromEWKT('SRID=4674;POINT (-39.029601 -3.360595)'))) / (select extract(epoch from '2026-07-22 17:42:39'::timestamp) - extract(epoch from '2026-07-22 17:42: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'), 47445, 'SRID=4674;POINT (-39.029628 -3.360572)', '2026-07-22 17:42:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029601 -3.360595)'), GeomFromEWKT('SRID=4674;POINT (-39.029628 -3.360572)'))) / (select extract(epoch from '2026-07-22 17:42:45'::timestamp) - extract(epoch from '2026-07-22 17:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029601 -3.360595)'), GeomFromEWKT('SRID=4674;POINT (-39.029628 -3.360572)'))) / (select extract(epoch from '2026-07-22 17:42:45'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.029659 -3.360555)', '2026-07-22 17:42:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029628 -3.360572)'), GeomFromEWKT('SRID=4674;POINT (-39.029659 -3.360555)'))) / (select extract(epoch from '2026-07-22 17:42:51'::timestamp) - extract(epoch from '2026-07-22 17:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029628 -3.360572)'), GeomFromEWKT('SRID=4674;POINT (-39.029659 -3.360555)'))) / (select extract(epoch from '2026-07-22 17:42:51'::timestamp) - extract(epoch from '2026-07-22 17:42: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'), 47445, 'SRID=4674;POINT (-39.029692 -3.360529)', '2026-07-22 17:42:58', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029659 -3.360555)'), GeomFromEWKT('SRID=4674;POINT (-39.029692 -3.360529)'))) / (select extract(epoch from '2026-07-22 17:42:58'::timestamp) - extract(epoch from '2026-07-22 17:42:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029659 -3.360555)'), GeomFromEWKT('SRID=4674;POINT (-39.029692 -3.360529)'))) / (select extract(epoch from '2026-07-22 17:42:58'::timestamp) - extract(epoch from '2026-07-22 17:42:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029718 -3.360499)', '2026-07-22 17:43:05', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029692 -3.360529)'), GeomFromEWKT('SRID=4674;POINT (-39.029718 -3.360499)'))) / (select extract(epoch from '2026-07-22 17:43:05'::timestamp) - extract(epoch from '2026-07-22 17:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029692 -3.360529)'), GeomFromEWKT('SRID=4674;POINT (-39.029718 -3.360499)'))) / (select extract(epoch from '2026-07-22 17:43:05'::timestamp) - extract(epoch from '2026-07-22 17:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029751 -3.360473)', '2026-07-22 17:43:12', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029718 -3.360499)'), GeomFromEWKT('SRID=4674;POINT (-39.029751 -3.360473)'))) / (select extract(epoch from '2026-07-22 17:43:12'::timestamp) - extract(epoch from '2026-07-22 17:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029718 -3.360499)'), GeomFromEWKT('SRID=4674;POINT (-39.029751 -3.360473)'))) / (select extract(epoch from '2026-07-22 17:43:12'::timestamp) - extract(epoch from '2026-07-22 17:43:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.02976 -3.360468)', '2026-07-22 17:43:13', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029751 -3.360473)'), GeomFromEWKT('SRID=4674;POINT (-39.02976 -3.360468)'))) / (select extract(epoch from '2026-07-22 17:43:13'::timestamp) - extract(epoch from '2026-07-22 17:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029751 -3.360473)'), GeomFromEWKT('SRID=4674;POINT (-39.02976 -3.360468)'))) / (select extract(epoch from '2026-07-22 17:43:13'::timestamp) - extract(epoch from '2026-07-22 17:43: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'), 47445, 'SRID=4674;POINT (-39.029779 -3.360447)', '2026-07-22 17:43:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02976 -3.360468)'), GeomFromEWKT('SRID=4674;POINT (-39.029779 -3.360447)'))) / (select extract(epoch from '2026-07-22 17:43:18'::timestamp) - extract(epoch from '2026-07-22 17:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02976 -3.360468)'), GeomFromEWKT('SRID=4674;POINT (-39.029779 -3.360447)'))) / (select extract(epoch from '2026-07-22 17:43:18'::timestamp) - extract(epoch from '2026-07-22 17:43: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'), 47445, 'SRID=4674;POINT (-39.029801 -3.360423)', '2026-07-22 17:43:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029779 -3.360447)'), GeomFromEWKT('SRID=4674;POINT (-39.029801 -3.360423)'))) / (select extract(epoch from '2026-07-22 17:43:24'::timestamp) - extract(epoch from '2026-07-22 17:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029779 -3.360447)'), GeomFromEWKT('SRID=4674;POINT (-39.029801 -3.360423)'))) / (select extract(epoch from '2026-07-22 17:43:24'::timestamp) - extract(epoch from '2026-07-22 17:43: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'), 47445, 'SRID=4674;POINT (-39.029815 -3.360398)', '2026-07-22 17:43:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029801 -3.360423)'), GeomFromEWKT('SRID=4674;POINT (-39.029815 -3.360398)'))) / (select extract(epoch from '2026-07-22 17:43:30'::timestamp) - extract(epoch from '2026-07-22 17:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029801 -3.360423)'), GeomFromEWKT('SRID=4674;POINT (-39.029815 -3.360398)'))) / (select extract(epoch from '2026-07-22 17:43:30'::timestamp) - extract(epoch from '2026-07-22 17:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.029847 -3.360379)', '2026-07-22 17:43:35', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029815 -3.360398)'), GeomFromEWKT('SRID=4674;POINT (-39.029847 -3.360379)'))) / (select extract(epoch from '2026-07-22 17:43:35'::timestamp) - extract(epoch from '2026-07-22 17:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029815 -3.360398)'), GeomFromEWKT('SRID=4674;POINT (-39.029847 -3.360379)'))) / (select extract(epoch from '2026-07-22 17:43:35'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.029852 -3.360373)', '2026-07-22 17:43:36', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029847 -3.360379)'), GeomFromEWKT('SRID=4674;POINT (-39.029852 -3.360373)'))) / (select extract(epoch from '2026-07-22 17:43:36'::timestamp) - extract(epoch from '2026-07-22 17:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029847 -3.360379)'), GeomFromEWKT('SRID=4674;POINT (-39.029852 -3.360373)'))) / (select extract(epoch from '2026-07-22 17:43:36'::timestamp) - extract(epoch from '2026-07-22 17:43: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'), 47445, 'SRID=4674;POINT (-39.029885 -3.360343)', '2026-07-22 17:43:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029852 -3.360373)'), GeomFromEWKT('SRID=4674;POINT (-39.029885 -3.360343)'))) / (select extract(epoch from '2026-07-22 17:43:44'::timestamp) - extract(epoch from '2026-07-22 17:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029852 -3.360373)'), GeomFromEWKT('SRID=4674;POINT (-39.029885 -3.360343)'))) / (select extract(epoch from '2026-07-22 17:43:44'::timestamp) - extract(epoch from '2026-07-22 17:43: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'), 47445, 'SRID=4674;POINT (-39.029918 -3.360304)', '2026-07-22 17:43:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029885 -3.360343)'), GeomFromEWKT('SRID=4674;POINT (-39.029918 -3.360304)'))) / (select extract(epoch from '2026-07-22 17:43:53'::timestamp) - extract(epoch from '2026-07-22 17:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029885 -3.360343)'), GeomFromEWKT('SRID=4674;POINT (-39.029918 -3.360304)'))) / (select extract(epoch from '2026-07-22 17:43:53'::timestamp) - extract(epoch from '2026-07-22 17:43: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'), 47445, 'SRID=4674;POINT (-39.029954 -3.360278)', '2026-07-22 17:44:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029918 -3.360304)'), GeomFromEWKT('SRID=4674;POINT (-39.029954 -3.360278)'))) / (select extract(epoch from '2026-07-22 17:44:01'::timestamp) - extract(epoch from '2026-07-22 17:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029918 -3.360304)'), GeomFromEWKT('SRID=4674;POINT (-39.029954 -3.360278)'))) / (select extract(epoch from '2026-07-22 17:44:01'::timestamp) - extract(epoch from '2026-07-22 17:43: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'), 47445, 'SRID=4674;POINT (-39.029985 -3.360251)', '2026-07-22 17:44:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029954 -3.360278)'), GeomFromEWKT('SRID=4674;POINT (-39.029985 -3.360251)'))) / (select extract(epoch from '2026-07-22 17:44:08'::timestamp) - extract(epoch from '2026-07-22 17:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029954 -3.360278)'), GeomFromEWKT('SRID=4674;POINT (-39.029985 -3.360251)'))) / (select extract(epoch from '2026-07-22 17:44:08'::timestamp) - extract(epoch from '2026-07-22 17:44: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'), 47445, 'SRID=4674;POINT (-39.030015 -3.360226)', '2026-07-22 17:44:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029985 -3.360251)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.360226)'))) / (select extract(epoch from '2026-07-22 17:44:14'::timestamp) - extract(epoch from '2026-07-22 17:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029985 -3.360251)'), GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.360226)'))) / (select extract(epoch from '2026-07-22 17:44:14'::timestamp) - extract(epoch from '2026-07-22 17:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030027 -3.360217)', '2026-07-22 17:44:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.360226)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.360217)'))) / (select extract(epoch from '2026-07-22 17:44:16'::timestamp) - extract(epoch from '2026-07-22 17:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030015 -3.360226)'), GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.360217)'))) / (select extract(epoch from '2026-07-22 17:44:16'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.030061 -3.360189)', '2026-07-22 17:44:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.360217)'), GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.360189)'))) / (select extract(epoch from '2026-07-22 17:44:24'::timestamp) - extract(epoch from '2026-07-22 17:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030027 -3.360217)'), GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.360189)'))) / (select extract(epoch from '2026-07-22 17:44:24'::timestamp) - extract(epoch from '2026-07-22 17:44:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030096 -3.360158)', '2026-07-22 17:44:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.360189)'), GeomFromEWKT('SRID=4674;POINT (-39.030096 -3.360158)'))) / (select extract(epoch from '2026-07-22 17:44:32'::timestamp) - extract(epoch from '2026-07-22 17:44:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030061 -3.360189)'), GeomFromEWKT('SRID=4674;POINT (-39.030096 -3.360158)'))) / (select extract(epoch from '2026-07-22 17:44:32'::timestamp) - extract(epoch from '2026-07-22 17:44: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'), 47445, 'SRID=4674;POINT (-39.030113 -3.360136)', '2026-07-22 17:44:37', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030096 -3.360158)'), GeomFromEWKT('SRID=4674;POINT (-39.030113 -3.360136)'))) / (select extract(epoch from '2026-07-22 17:44:37'::timestamp) - extract(epoch from '2026-07-22 17:44:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030096 -3.360158)'), GeomFromEWKT('SRID=4674;POINT (-39.030113 -3.360136)'))) / (select extract(epoch from '2026-07-22 17:44:37'::timestamp) - extract(epoch from '2026-07-22 17:44: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'), 47445, 'SRID=4674;POINT (-39.03014 -3.360103)', '2026-07-22 17:44:45', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030113 -3.360136)'), GeomFromEWKT('SRID=4674;POINT (-39.03014 -3.360103)'))) / (select extract(epoch from '2026-07-22 17:44:45'::timestamp) - extract(epoch from '2026-07-22 17:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030113 -3.360136)'), GeomFromEWKT('SRID=4674;POINT (-39.03014 -3.360103)'))) / (select extract(epoch from '2026-07-22 17:44:45'::timestamp) - extract(epoch from '2026-07-22 17:44: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'), 47445, 'SRID=4674;POINT (-39.030165 -3.360073)', '2026-07-22 17:44:51', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03014 -3.360103)'), GeomFromEWKT('SRID=4674;POINT (-39.030165 -3.360073)'))) / (select extract(epoch from '2026-07-22 17:44:51'::timestamp) - extract(epoch from '2026-07-22 17:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03014 -3.360103)'), GeomFromEWKT('SRID=4674;POINT (-39.030165 -3.360073)'))) / (select extract(epoch from '2026-07-22 17:44:51'::timestamp) - extract(epoch from '2026-07-22 17:44: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'), 47445, 'SRID=4674;POINT (-39.030183 -3.360049)', '2026-07-22 17:44:55', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030165 -3.360073)'), GeomFromEWKT('SRID=4674;POINT (-39.030183 -3.360049)'))) / (select extract(epoch from '2026-07-22 17:44:55'::timestamp) - extract(epoch from '2026-07-22 17:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030165 -3.360073)'), GeomFromEWKT('SRID=4674;POINT (-39.030183 -3.360049)'))) / (select extract(epoch from '2026-07-22 17:44:55'::timestamp) - extract(epoch from '2026-07-22 17:44: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'), 47445, 'SRID=4674;POINT (-39.030197 -3.360043)', '2026-07-22 17:44:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030183 -3.360049)'), GeomFromEWKT('SRID=4674;POINT (-39.030197 -3.360043)'))) / (select extract(epoch from '2026-07-22 17:44:57'::timestamp) - extract(epoch from '2026-07-22 17:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030183 -3.360049)'), GeomFromEWKT('SRID=4674;POINT (-39.030197 -3.360043)'))) / (select extract(epoch from '2026-07-22 17:44:57'::timestamp) - extract(epoch from '2026-07-22 17:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030226 -3.360016)', '2026-07-22 17:45:03', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030197 -3.360043)'), GeomFromEWKT('SRID=4674;POINT (-39.030226 -3.360016)'))) / (select extract(epoch from '2026-07-22 17:45:03'::timestamp) - extract(epoch from '2026-07-22 17:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030197 -3.360043)'), GeomFromEWKT('SRID=4674;POINT (-39.030226 -3.360016)'))) / (select extract(epoch from '2026-07-22 17:45:03'::timestamp) - extract(epoch from '2026-07-22 17:44: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'), 47445, 'SRID=4674;POINT (-39.030261 -3.359986)', '2026-07-22 17:45:11', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030226 -3.360016)'), GeomFromEWKT('SRID=4674;POINT (-39.030261 -3.359986)'))) / (select extract(epoch from '2026-07-22 17:45:11'::timestamp) - extract(epoch from '2026-07-22 17:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030226 -3.360016)'), GeomFromEWKT('SRID=4674;POINT (-39.030261 -3.359986)'))) / (select extract(epoch from '2026-07-22 17:45:11'::timestamp) - extract(epoch from '2026-07-22 17:45: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'), 47445, 'SRID=4674;POINT (-39.030271 -3.359977)', '2026-07-22 17:45:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030261 -3.359986)'), GeomFromEWKT('SRID=4674;POINT (-39.030271 -3.359977)'))) / (select extract(epoch from '2026-07-22 17:45:13'::timestamp) - extract(epoch from '2026-07-22 17:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030261 -3.359986)'), GeomFromEWKT('SRID=4674;POINT (-39.030271 -3.359977)'))) / (select extract(epoch from '2026-07-22 17:45:13'::timestamp) - extract(epoch from '2026-07-22 17:45: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'), 47445, 'SRID=4674;POINT (-39.030292 -3.359962)', '2026-07-22 17:45:18', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030271 -3.359977)'), GeomFromEWKT('SRID=4674;POINT (-39.030292 -3.359962)'))) / (select extract(epoch from '2026-07-22 17:45:18'::timestamp) - extract(epoch from '2026-07-22 17:45:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030271 -3.359977)'), GeomFromEWKT('SRID=4674;POINT (-39.030292 -3.359962)'))) / (select extract(epoch from '2026-07-22 17:45:18'::timestamp) - extract(epoch from '2026-07-22 17:45:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030316 -3.359941)', '2026-07-22 17:45:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030292 -3.359962)'), GeomFromEWKT('SRID=4674;POINT (-39.030316 -3.359941)'))) / (select extract(epoch from '2026-07-22 17:45:25'::timestamp) - extract(epoch from '2026-07-22 17:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030292 -3.359962)'), GeomFromEWKT('SRID=4674;POINT (-39.030316 -3.359941)'))) / (select extract(epoch from '2026-07-22 17:45:25'::timestamp) - extract(epoch from '2026-07-22 17:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030335 -3.359922)', '2026-07-22 17:45:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030316 -3.359941)'), GeomFromEWKT('SRID=4674;POINT (-39.030335 -3.359922)'))) / (select extract(epoch from '2026-07-22 17:45:31'::timestamp) - extract(epoch from '2026-07-22 17:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030316 -3.359941)'), GeomFromEWKT('SRID=4674;POINT (-39.030335 -3.359922)'))) / (select extract(epoch from '2026-07-22 17:45:31'::timestamp) - extract(epoch from '2026-07-22 17:45: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'), 47445, 'SRID=4674;POINT (-39.030346 -3.359913)', '2026-07-22 17:45:33', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030335 -3.359922)'), GeomFromEWKT('SRID=4674;POINT (-39.030346 -3.359913)'))) / (select extract(epoch from '2026-07-22 17:45:33'::timestamp) - extract(epoch from '2026-07-22 17:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030335 -3.359922)'), GeomFromEWKT('SRID=4674;POINT (-39.030346 -3.359913)'))) / (select extract(epoch from '2026-07-22 17:45:33'::timestamp) - extract(epoch from '2026-07-22 17:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.03038 -3.359885)', '2026-07-22 17:45:41', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030346 -3.359913)'), GeomFromEWKT('SRID=4674;POINT (-39.03038 -3.359885)'))) / (select extract(epoch from '2026-07-22 17:45:41'::timestamp) - extract(epoch from '2026-07-22 17:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030346 -3.359913)'), GeomFromEWKT('SRID=4674;POINT (-39.03038 -3.359885)'))) / (select extract(epoch from '2026-07-22 17:45:41'::timestamp) - extract(epoch from '2026-07-22 17:45:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030416 -3.359859)', '2026-07-22 17:45:49', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03038 -3.359885)'), GeomFromEWKT('SRID=4674;POINT (-39.030416 -3.359859)'))) / (select extract(epoch from '2026-07-22 17:45:49'::timestamp) - extract(epoch from '2026-07-22 17:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03038 -3.359885)'), GeomFromEWKT('SRID=4674;POINT (-39.030416 -3.359859)'))) / (select extract(epoch from '2026-07-22 17:45:49'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.03046 -3.359833)', '2026-07-22 17:45:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030416 -3.359859)'), GeomFromEWKT('SRID=4674;POINT (-39.03046 -3.359833)'))) / (select extract(epoch from '2026-07-22 17:45:58'::timestamp) - extract(epoch from '2026-07-22 17:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030416 -3.359859)'), GeomFromEWKT('SRID=4674;POINT (-39.03046 -3.359833)'))) / (select extract(epoch from '2026-07-22 17:45:58'::timestamp) - extract(epoch from '2026-07-22 17:45: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'), 47445, 'SRID=4674;POINT (-39.030486 -3.359818)', '2026-07-22 17:46:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03046 -3.359833)'), GeomFromEWKT('SRID=4674;POINT (-39.030486 -3.359818)'))) / (select extract(epoch from '2026-07-22 17:46:05'::timestamp) - extract(epoch from '2026-07-22 17:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03046 -3.359833)'), GeomFromEWKT('SRID=4674;POINT (-39.030486 -3.359818)'))) / (select extract(epoch from '2026-07-22 17:46:05'::timestamp) - extract(epoch from '2026-07-22 17:45: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'), 47445, 'SRID=4674;POINT (-39.030507 -3.359799)', '2026-07-22 17:46:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030486 -3.359818)'), GeomFromEWKT('SRID=4674;POINT (-39.030507 -3.359799)'))) / (select extract(epoch from '2026-07-22 17:46:11'::timestamp) - extract(epoch from '2026-07-22 17:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030486 -3.359818)'), GeomFromEWKT('SRID=4674;POINT (-39.030507 -3.359799)'))) / (select extract(epoch from '2026-07-22 17:46:11'::timestamp) - extract(epoch from '2026-07-22 17:46: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'), 47445, 'SRID=4674;POINT (-39.030538 -3.359771)', '2026-07-22 17:46:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030507 -3.359799)'), GeomFromEWKT('SRID=4674;POINT (-39.030538 -3.359771)'))) / (select extract(epoch from '2026-07-22 17:46:20'::timestamp) - extract(epoch from '2026-07-22 17:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030507 -3.359799)'), GeomFromEWKT('SRID=4674;POINT (-39.030538 -3.359771)'))) / (select extract(epoch from '2026-07-22 17:46:20'::timestamp) - extract(epoch from '2026-07-22 17:46: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'), 47445, 'SRID=4674;POINT (-39.030571 -3.359739)', '2026-07-22 17:46:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030538 -3.359771)'), GeomFromEWKT('SRID=4674;POINT (-39.030571 -3.359739)'))) / (select extract(epoch from '2026-07-22 17:46:27'::timestamp) - extract(epoch from '2026-07-22 17:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030538 -3.359771)'), GeomFromEWKT('SRID=4674;POINT (-39.030571 -3.359739)'))) / (select extract(epoch from '2026-07-22 17:46:27'::timestamp) - extract(epoch from '2026-07-22 17:46:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030595 -3.359722)', '2026-07-22 17:46:31', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030571 -3.359739)'), GeomFromEWKT('SRID=4674;POINT (-39.030595 -3.359722)'))) / (select extract(epoch from '2026-07-22 17:46:31'::timestamp) - extract(epoch from '2026-07-22 17:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030571 -3.359739)'), GeomFromEWKT('SRID=4674;POINT (-39.030595 -3.359722)'))) / (select extract(epoch from '2026-07-22 17:46:31'::timestamp) - extract(epoch from '2026-07-22 17:46: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'), 47445, 'SRID=4674;POINT (-39.030626 -3.359688)', '2026-07-22 17:46:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030595 -3.359722)'), GeomFromEWKT('SRID=4674;POINT (-39.030626 -3.359688)'))) / (select extract(epoch from '2026-07-22 17:46:38'::timestamp) - extract(epoch from '2026-07-22 17:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030595 -3.359722)'), GeomFromEWKT('SRID=4674;POINT (-39.030626 -3.359688)'))) / (select extract(epoch from '2026-07-22 17:46:38'::timestamp) - extract(epoch from '2026-07-22 17:46: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'), 47445, 'SRID=4674;POINT (-39.030661 -3.359652)', '2026-07-22 17:46:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030626 -3.359688)'), GeomFromEWKT('SRID=4674;POINT (-39.030661 -3.359652)'))) / (select extract(epoch from '2026-07-22 17:46:47'::timestamp) - extract(epoch from '2026-07-22 17:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030626 -3.359688)'), GeomFromEWKT('SRID=4674;POINT (-39.030661 -3.359652)'))) / (select extract(epoch from '2026-07-22 17:46:47'::timestamp) - extract(epoch from '2026-07-22 17:46: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'), 47445, 'SRID=4674;POINT (-39.030684 -3.359628)', '2026-07-22 17:46:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030661 -3.359652)'), GeomFromEWKT('SRID=4674;POINT (-39.030684 -3.359628)'))) / (select extract(epoch from '2026-07-22 17:46:54'::timestamp) - extract(epoch from '2026-07-22 17:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030661 -3.359652)'), GeomFromEWKT('SRID=4674;POINT (-39.030684 -3.359628)'))) / (select extract(epoch from '2026-07-22 17:46:54'::timestamp) - extract(epoch from '2026-07-22 17:46:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030707 -3.359616)', '2026-07-22 17:46:58', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030684 -3.359628)'), GeomFromEWKT('SRID=4674;POINT (-39.030707 -3.359616)'))) / (select extract(epoch from '2026-07-22 17:46:58'::timestamp) - extract(epoch from '2026-07-22 17:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030684 -3.359628)'), GeomFromEWKT('SRID=4674;POINT (-39.030707 -3.359616)'))) / (select extract(epoch from '2026-07-22 17:46:58'::timestamp) - extract(epoch from '2026-07-22 17:46: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'), 47445, 'SRID=4674;POINT (-39.03072 -3.359607)', '2026-07-22 17:47:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030707 -3.359616)'), GeomFromEWKT('SRID=4674;POINT (-39.03072 -3.359607)'))) / (select extract(epoch from '2026-07-22 17:47:00'::timestamp) - extract(epoch from '2026-07-22 17:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030707 -3.359616)'), GeomFromEWKT('SRID=4674;POINT (-39.03072 -3.359607)'))) / (select extract(epoch from '2026-07-22 17:47:00'::timestamp) - extract(epoch from '2026-07-22 17:46: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'), 47445, 'SRID=4674;POINT (-39.030751 -3.359579)', '2026-07-22 17:47:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03072 -3.359607)'), GeomFromEWKT('SRID=4674;POINT (-39.030751 -3.359579)'))) / (select extract(epoch from '2026-07-22 17:47:07'::timestamp) - extract(epoch from '2026-07-22 17:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03072 -3.359607)'), GeomFromEWKT('SRID=4674;POINT (-39.030751 -3.359579)'))) / (select extract(epoch from '2026-07-22 17:47:07'::timestamp) - extract(epoch from '2026-07-22 17:47: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'), 47445, 'SRID=4674;POINT (-39.030782 -3.359551)', '2026-07-22 17:47:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030751 -3.359579)'), GeomFromEWKT('SRID=4674;POINT (-39.030782 -3.359551)'))) / (select extract(epoch from '2026-07-22 17:47:14'::timestamp) - extract(epoch from '2026-07-22 17:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030751 -3.359579)'), GeomFromEWKT('SRID=4674;POINT (-39.030782 -3.359551)'))) / (select extract(epoch from '2026-07-22 17:47:14'::timestamp) - extract(epoch from '2026-07-22 17:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030809 -3.359535)', '2026-07-22 17:47:19', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030782 -3.359551)'), GeomFromEWKT('SRID=4674;POINT (-39.030809 -3.359535)'))) / (select extract(epoch from '2026-07-22 17:47:19'::timestamp) - extract(epoch from '2026-07-22 17:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030782 -3.359551)'), GeomFromEWKT('SRID=4674;POINT (-39.030809 -3.359535)'))) / (select extract(epoch from '2026-07-22 17:47:19'::timestamp) - extract(epoch from '2026-07-22 17:47: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'), 47445, 'SRID=4674;POINT (-39.030848 -3.359516)', '2026-07-22 17:47:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030809 -3.359535)'), GeomFromEWKT('SRID=4674;POINT (-39.030848 -3.359516)'))) / (select extract(epoch from '2026-07-22 17:47:26'::timestamp) - extract(epoch from '2026-07-22 17:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030809 -3.359535)'), GeomFromEWKT('SRID=4674;POINT (-39.030848 -3.359516)'))) / (select extract(epoch from '2026-07-22 17:47:26'::timestamp) - extract(epoch from '2026-07-22 17:47:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.03087 -3.359501)', '2026-07-22 17:47:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030848 -3.359516)'), GeomFromEWKT('SRID=4674;POINT (-39.03087 -3.359501)'))) / (select extract(epoch from '2026-07-22 17:47:31'::timestamp) - extract(epoch from '2026-07-22 17:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030848 -3.359516)'), GeomFromEWKT('SRID=4674;POINT (-39.03087 -3.359501)'))) / (select extract(epoch from '2026-07-22 17:47:31'::timestamp) - extract(epoch from '2026-07-22 17:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030901 -3.359479)', '2026-07-22 17:47:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03087 -3.359501)'), GeomFromEWKT('SRID=4674;POINT (-39.030901 -3.359479)'))) / (select extract(epoch from '2026-07-22 17:47:38'::timestamp) - extract(epoch from '2026-07-22 17:47:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03087 -3.359501)'), GeomFromEWKT('SRID=4674;POINT (-39.030901 -3.359479)'))) / (select extract(epoch from '2026-07-22 17:47:38'::timestamp) - extract(epoch from '2026-07-22 17:47: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'), 47445, 'SRID=4674;POINT (-39.030927 -3.359457)', '2026-07-22 17:47:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030901 -3.359479)'), GeomFromEWKT('SRID=4674;POINT (-39.030927 -3.359457)'))) / (select extract(epoch from '2026-07-22 17:47:45'::timestamp) - extract(epoch from '2026-07-22 17:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030901 -3.359479)'), GeomFromEWKT('SRID=4674;POINT (-39.030927 -3.359457)'))) / (select extract(epoch from '2026-07-22 17:47:45'::timestamp) - extract(epoch from '2026-07-22 17:47: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'), 47445, 'SRID=4674;POINT (-39.030956 -3.359434)', '2026-07-22 17:47:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030927 -3.359457)'), GeomFromEWKT('SRID=4674;POINT (-39.030956 -3.359434)'))) / (select extract(epoch from '2026-07-22 17:47:52'::timestamp) - extract(epoch from '2026-07-22 17:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030927 -3.359457)'), GeomFromEWKT('SRID=4674;POINT (-39.030956 -3.359434)'))) / (select extract(epoch from '2026-07-22 17:47:52'::timestamp) - extract(epoch from '2026-07-22 17:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.030997 -3.359411)', '2026-07-22 17:48:01', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030956 -3.359434)'), GeomFromEWKT('SRID=4674;POINT (-39.030997 -3.359411)'))) / (select extract(epoch from '2026-07-22 17:48:01'::timestamp) - extract(epoch from '2026-07-22 17:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030956 -3.359434)'), GeomFromEWKT('SRID=4674;POINT (-39.030997 -3.359411)'))) / (select extract(epoch from '2026-07-22 17:48:01'::timestamp) - extract(epoch from '2026-07-22 17:47: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'), 47445, 'SRID=4674;POINT (-39.031037 -3.359392)', '2026-07-22 17:48:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030997 -3.359411)'), GeomFromEWKT('SRID=4674;POINT (-39.031037 -3.359392)'))) / (select extract(epoch from '2026-07-22 17:48:08'::timestamp) - extract(epoch from '2026-07-22 17:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.030997 -3.359411)'), GeomFromEWKT('SRID=4674;POINT (-39.031037 -3.359392)'))) / (select extract(epoch from '2026-07-22 17:48:08'::timestamp) - extract(epoch from '2026-07-22 17:48: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'), 47445, 'SRID=4674;POINT (-39.031068 -3.359381)', '2026-07-22 17:48:15', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031037 -3.359392)'), GeomFromEWKT('SRID=4674;POINT (-39.031068 -3.359381)'))) / (select extract(epoch from '2026-07-22 17:48:15'::timestamp) - extract(epoch from '2026-07-22 17:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031037 -3.359392)'), GeomFromEWKT('SRID=4674;POINT (-39.031068 -3.359381)'))) / (select extract(epoch from '2026-07-22 17:48:15'::timestamp) - extract(epoch from '2026-07-22 17:48: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'), 47445, 'SRID=4674;POINT (-39.031099 -3.359363)', '2026-07-22 17:48:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031068 -3.359381)'), GeomFromEWKT('SRID=4674;POINT (-39.031099 -3.359363)'))) / (select extract(epoch from '2026-07-22 17:48:23'::timestamp) - extract(epoch from '2026-07-22 17:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031068 -3.359381)'), GeomFromEWKT('SRID=4674;POINT (-39.031099 -3.359363)'))) / (select extract(epoch from '2026-07-22 17:48:23'::timestamp) - extract(epoch from '2026-07-22 17:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031141 -3.359341)', '2026-07-22 17:48:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031099 -3.359363)'), GeomFromEWKT('SRID=4674;POINT (-39.031141 -3.359341)'))) / (select extract(epoch from '2026-07-22 17:48:31'::timestamp) - extract(epoch from '2026-07-22 17:48:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031099 -3.359363)'), GeomFromEWKT('SRID=4674;POINT (-39.031141 -3.359341)'))) / (select extract(epoch from '2026-07-22 17:48:31'::timestamp) - extract(epoch from '2026-07-22 17:48: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'), 47445, 'SRID=4674;POINT (-39.031185 -3.359312)', '2026-07-22 17:48:39', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031141 -3.359341)'), GeomFromEWKT('SRID=4674;POINT (-39.031185 -3.359312)'))) / (select extract(epoch from '2026-07-22 17:48:39'::timestamp) - extract(epoch from '2026-07-22 17:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031141 -3.359341)'), GeomFromEWKT('SRID=4674;POINT (-39.031185 -3.359312)'))) / (select extract(epoch from '2026-07-22 17:48:39'::timestamp) - extract(epoch from '2026-07-22 17:48: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'), 47445, 'SRID=4674;POINT (-39.03119 -3.359307)', '2026-07-22 17:48:40', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031185 -3.359312)'), GeomFromEWKT('SRID=4674;POINT (-39.03119 -3.359307)'))) / (select extract(epoch from '2026-07-22 17:48:40'::timestamp) - extract(epoch from '2026-07-22 17:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031185 -3.359312)'), GeomFromEWKT('SRID=4674;POINT (-39.03119 -3.359307)'))) / (select extract(epoch from '2026-07-22 17:48:40'::timestamp) - extract(epoch from '2026-07-22 17:48: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'), 47445, 'SRID=4674;POINT (-39.031224 -3.359275)', '2026-07-22 17:48:49', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03119 -3.359307)'), GeomFromEWKT('SRID=4674;POINT (-39.031224 -3.359275)'))) / (select extract(epoch from '2026-07-22 17:48:49'::timestamp) - extract(epoch from '2026-07-22 17:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03119 -3.359307)'), GeomFromEWKT('SRID=4674;POINT (-39.031224 -3.359275)'))) / (select extract(epoch from '2026-07-22 17:48:49'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.031256 -3.359245)', '2026-07-22 17:48:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031224 -3.359275)'), GeomFromEWKT('SRID=4674;POINT (-39.031256 -3.359245)'))) / (select extract(epoch from '2026-07-22 17:48:57'::timestamp) - extract(epoch from '2026-07-22 17:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031224 -3.359275)'), GeomFromEWKT('SRID=4674;POINT (-39.031256 -3.359245)'))) / (select extract(epoch from '2026-07-22 17:48:57'::timestamp) - extract(epoch from '2026-07-22 17:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031283 -3.359225)', '2026-07-22 17:49:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031256 -3.359245)'), GeomFromEWKT('SRID=4674;POINT (-39.031283 -3.359225)'))) / (select extract(epoch from '2026-07-22 17:49:04'::timestamp) - extract(epoch from '2026-07-22 17:48:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031256 -3.359245)'), GeomFromEWKT('SRID=4674;POINT (-39.031283 -3.359225)'))) / (select extract(epoch from '2026-07-22 17:49:04'::timestamp) - extract(epoch from '2026-07-22 17:48: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'), 47445, 'SRID=4674;POINT (-39.031291 -3.359224)', '2026-07-22 17:49:05', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031283 -3.359225)'), GeomFromEWKT('SRID=4674;POINT (-39.031291 -3.359224)'))) / (select extract(epoch from '2026-07-22 17:49:05'::timestamp) - extract(epoch from '2026-07-22 17:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031283 -3.359225)'), GeomFromEWKT('SRID=4674;POINT (-39.031291 -3.359224)'))) / (select extract(epoch from '2026-07-22 17:49:05'::timestamp) - extract(epoch from '2026-07-22 17:49: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'), 47445, 'SRID=4674;POINT (-39.031318 -3.35921)', '2026-07-22 17:49:10', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031291 -3.359224)'), GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.35921)'))) / (select extract(epoch from '2026-07-22 17:49:10'::timestamp) - extract(epoch from '2026-07-22 17:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031291 -3.359224)'), GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.35921)'))) / (select extract(epoch from '2026-07-22 17:49:10'::timestamp) - extract(epoch from '2026-07-22 17:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031349 -3.359182)', '2026-07-22 17:49:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.35921)'), GeomFromEWKT('SRID=4674;POINT (-39.031349 -3.359182)'))) / (select extract(epoch from '2026-07-22 17:49:18'::timestamp) - extract(epoch from '2026-07-22 17:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031318 -3.35921)'), GeomFromEWKT('SRID=4674;POINT (-39.031349 -3.359182)'))) / (select extract(epoch from '2026-07-22 17:49:18'::timestamp) - extract(epoch from '2026-07-22 17:49: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'), 47445, 'SRID=4674;POINT (-39.03137 -3.359165)', '2026-07-22 17:49:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031349 -3.359182)'), GeomFromEWKT('SRID=4674;POINT (-39.03137 -3.359165)'))) / (select extract(epoch from '2026-07-22 17:49:24'::timestamp) - extract(epoch from '2026-07-22 17:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031349 -3.359182)'), GeomFromEWKT('SRID=4674;POINT (-39.03137 -3.359165)'))) / (select extract(epoch from '2026-07-22 17:49:24'::timestamp) - extract(epoch from '2026-07-22 17:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031394 -3.359146)', '2026-07-22 17:49:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03137 -3.359165)'), GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.359146)'))) / (select extract(epoch from '2026-07-22 17:49:30'::timestamp) - extract(epoch from '2026-07-22 17:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03137 -3.359165)'), GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.359146)'))) / (select extract(epoch from '2026-07-22 17:49:30'::timestamp) - extract(epoch from '2026-07-22 17:49: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'), 47445, 'SRID=4674;POINT (-39.031434 -3.359117)', '2026-07-22 17:49:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.359146)'), GeomFromEWKT('SRID=4674;POINT (-39.031434 -3.359117)'))) / (select extract(epoch from '2026-07-22 17:49:39'::timestamp) - extract(epoch from '2026-07-22 17:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031394 -3.359146)'), GeomFromEWKT('SRID=4674;POINT (-39.031434 -3.359117)'))) / (select extract(epoch from '2026-07-22 17:49:39'::timestamp) - extract(epoch from '2026-07-22 17:49: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'), 47445, 'SRID=4674;POINT (-39.03147 -3.359096)', '2026-07-22 17:49:47', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031434 -3.359117)'), GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.359096)'))) / (select extract(epoch from '2026-07-22 17:49:47'::timestamp) - extract(epoch from '2026-07-22 17:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031434 -3.359117)'), GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.359096)'))) / (select extract(epoch from '2026-07-22 17:49:47'::timestamp) - extract(epoch from '2026-07-22 17:49: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'), 47445, 'SRID=4674;POINT (-39.031497 -3.359086)', '2026-07-22 17:49:53', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.359096)'), GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.359086)'))) / (select extract(epoch from '2026-07-22 17:49:53'::timestamp) - extract(epoch from '2026-07-22 17:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03147 -3.359096)'), GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.359086)'))) / (select extract(epoch from '2026-07-22 17:49:53'::timestamp) - extract(epoch from '2026-07-22 17:49: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'), 47445, 'SRID=4674;POINT (-39.031505 -3.359085)', '2026-07-22 17:49:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.359086)'), GeomFromEWKT('SRID=4674;POINT (-39.031505 -3.359085)'))) / (select extract(epoch from '2026-07-22 17:49:54'::timestamp) - extract(epoch from '2026-07-22 17:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031497 -3.359086)'), GeomFromEWKT('SRID=4674;POINT (-39.031505 -3.359085)'))) / (select extract(epoch from '2026-07-22 17:49:54'::timestamp) - extract(epoch from '2026-07-22 17:49: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'), 47445, 'SRID=4674;POINT (-39.03153 -3.359072)', '2026-07-22 17:50:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031505 -3.359085)'), GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.359072)'))) / (select extract(epoch from '2026-07-22 17:50:00'::timestamp) - extract(epoch from '2026-07-22 17:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031505 -3.359085)'), GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.359072)'))) / (select extract(epoch from '2026-07-22 17:50:00'::timestamp) - extract(epoch from '2026-07-22 17:49: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'), 47445, 'SRID=4674;POINT (-39.031565 -3.359061)', '2026-07-22 17:50:07', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.359072)'), GeomFromEWKT('SRID=4674;POINT (-39.031565 -3.359061)'))) / (select extract(epoch from '2026-07-22 17:50:07'::timestamp) - extract(epoch from '2026-07-22 17:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03153 -3.359072)'), GeomFromEWKT('SRID=4674;POINT (-39.031565 -3.359061)'))) / (select extract(epoch from '2026-07-22 17:50:07'::timestamp) - extract(epoch from '2026-07-22 17:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031597 -3.359046)', '2026-07-22 17:50:14', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031565 -3.359061)'), GeomFromEWKT('SRID=4674;POINT (-39.031597 -3.359046)'))) / (select extract(epoch from '2026-07-22 17:50:14'::timestamp) - extract(epoch from '2026-07-22 17:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031565 -3.359061)'), GeomFromEWKT('SRID=4674;POINT (-39.031597 -3.359046)'))) / (select extract(epoch from '2026-07-22 17:50:14'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.031633 -3.359035)', '2026-07-22 17:50:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031597 -3.359046)'), GeomFromEWKT('SRID=4674;POINT (-39.031633 -3.359035)'))) / (select extract(epoch from '2026-07-22 17:50:22'::timestamp) - extract(epoch from '2026-07-22 17:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031597 -3.359046)'), GeomFromEWKT('SRID=4674;POINT (-39.031633 -3.359035)'))) / (select extract(epoch from '2026-07-22 17:50:22'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.031663 -3.359026)', '2026-07-22 17:50:30', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031633 -3.359035)'), GeomFromEWKT('SRID=4674;POINT (-39.031663 -3.359026)'))) / (select extract(epoch from '2026-07-22 17:50:30'::timestamp) - extract(epoch from '2026-07-22 17:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031633 -3.359035)'), GeomFromEWKT('SRID=4674;POINT (-39.031663 -3.359026)'))) / (select extract(epoch from '2026-07-22 17:50:30'::timestamp) - extract(epoch from '2026-07-22 17:50:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031683 -3.359028)', '2026-07-22 17:50:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031663 -3.359026)'), GeomFromEWKT('SRID=4674;POINT (-39.031683 -3.359028)'))) / (select extract(epoch from '2026-07-22 17:50:37'::timestamp) - extract(epoch from '2026-07-22 17:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031663 -3.359026)'), GeomFromEWKT('SRID=4674;POINT (-39.031683 -3.359028)'))) / (select extract(epoch from '2026-07-22 17:50:37'::timestamp) - extract(epoch from '2026-07-22 17:50: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'), 47445, 'SRID=4674;POINT (-39.031701 -3.359026)', '2026-07-22 17:50:46', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031683 -3.359028)'), GeomFromEWKT('SRID=4674;POINT (-39.031701 -3.359026)'))) / (select extract(epoch from '2026-07-22 17:50:46'::timestamp) - extract(epoch from '2026-07-22 17:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031683 -3.359028)'), GeomFromEWKT('SRID=4674;POINT (-39.031701 -3.359026)'))) / (select extract(epoch from '2026-07-22 17:50:46'::timestamp) - extract(epoch from '2026-07-22 17:50: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'), 47445, 'SRID=4674;POINT (-39.031774 -3.359012)', '2026-07-22 17:51:02', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031701 -3.359026)'), GeomFromEWKT('SRID=4674;POINT (-39.031774 -3.359012)'))) / (select extract(epoch from '2026-07-22 17:51:02'::timestamp) - extract(epoch from '2026-07-22 17:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031701 -3.359026)'), GeomFromEWKT('SRID=4674;POINT (-39.031774 -3.359012)'))) / (select extract(epoch from '2026-07-22 17:51:02'::timestamp) - extract(epoch from '2026-07-22 17:50: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'), 47445, 'SRID=4674;POINT (-39.031806 -3.359005)', '2026-07-22 17:51:10', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031774 -3.359012)'), GeomFromEWKT('SRID=4674;POINT (-39.031806 -3.359005)'))) / (select extract(epoch from '2026-07-22 17:51:10'::timestamp) - extract(epoch from '2026-07-22 17:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031774 -3.359012)'), GeomFromEWKT('SRID=4674;POINT (-39.031806 -3.359005)'))) / (select extract(epoch from '2026-07-22 17:51:10'::timestamp) - extract(epoch from '2026-07-22 17:51: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'), 47445, 'SRID=4674;POINT (-39.03184 -3.358997)', '2026-07-22 17:51:17', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031806 -3.359005)'), GeomFromEWKT('SRID=4674;POINT (-39.03184 -3.358997)'))) / (select extract(epoch from '2026-07-22 17:51:17'::timestamp) - extract(epoch from '2026-07-22 17:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031806 -3.359005)'), GeomFromEWKT('SRID=4674;POINT (-39.03184 -3.358997)'))) / (select extract(epoch from '2026-07-22 17:51:17'::timestamp) - extract(epoch from '2026-07-22 17:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031877 -3.358979)', '2026-07-22 17:51:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03184 -3.358997)'), GeomFromEWKT('SRID=4674;POINT (-39.031877 -3.358979)'))) / (select extract(epoch from '2026-07-22 17:51:25'::timestamp) - extract(epoch from '2026-07-22 17:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03184 -3.358997)'), GeomFromEWKT('SRID=4674;POINT (-39.031877 -3.358979)'))) / (select extract(epoch from '2026-07-22 17:51:25'::timestamp) - extract(epoch from '2026-07-22 17:51: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'), 47445, 'SRID=4674;POINT (-39.031917 -3.358969)', '2026-07-22 17:51:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031877 -3.358979)'), GeomFromEWKT('SRID=4674;POINT (-39.031917 -3.358969)'))) / (select extract(epoch from '2026-07-22 17:51:33'::timestamp) - extract(epoch from '2026-07-22 17:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031877 -3.358979)'), GeomFromEWKT('SRID=4674;POINT (-39.031917 -3.358969)'))) / (select extract(epoch from '2026-07-22 17:51:33'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.031955 -3.358959)', '2026-07-22 17:51:41', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031917 -3.358969)'), GeomFromEWKT('SRID=4674;POINT (-39.031955 -3.358959)'))) / (select extract(epoch from '2026-07-22 17:51:41'::timestamp) - extract(epoch from '2026-07-22 17:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031917 -3.358969)'), GeomFromEWKT('SRID=4674;POINT (-39.031955 -3.358959)'))) / (select extract(epoch from '2026-07-22 17:51:41'::timestamp) - extract(epoch from '2026-07-22 17:51:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.031982 -3.358949)', '2026-07-22 17:51:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031955 -3.358959)'), GeomFromEWKT('SRID=4674;POINT (-39.031982 -3.358949)'))) / (select extract(epoch from '2026-07-22 17:51:48'::timestamp) - extract(epoch from '2026-07-22 17:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031955 -3.358959)'), GeomFromEWKT('SRID=4674;POINT (-39.031982 -3.358949)'))) / (select extract(epoch from '2026-07-22 17:51:48'::timestamp) - extract(epoch from '2026-07-22 17:51:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032021 -3.358943)', '2026-07-22 17:51:56', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031982 -3.358949)'), GeomFromEWKT('SRID=4674;POINT (-39.032021 -3.358943)'))) / (select extract(epoch from '2026-07-22 17:51:56'::timestamp) - extract(epoch from '2026-07-22 17:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.031982 -3.358949)'), GeomFromEWKT('SRID=4674;POINT (-39.032021 -3.358943)'))) / (select extract(epoch from '2026-07-22 17:51:56'::timestamp) - extract(epoch from '2026-07-22 17:51: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'), 47445, 'SRID=4674;POINT (-39.032059 -3.35893)', '2026-07-22 17:52:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032021 -3.358943)'), GeomFromEWKT('SRID=4674;POINT (-39.032059 -3.35893)'))) / (select extract(epoch from '2026-07-22 17:52:04'::timestamp) - extract(epoch from '2026-07-22 17:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032021 -3.358943)'), GeomFromEWKT('SRID=4674;POINT (-39.032059 -3.35893)'))) / (select extract(epoch from '2026-07-22 17:52:04'::timestamp) - extract(epoch from '2026-07-22 17:51:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032102 -3.358915)', '2026-07-22 17:52:12', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032059 -3.35893)'), GeomFromEWKT('SRID=4674;POINT (-39.032102 -3.358915)'))) / (select extract(epoch from '2026-07-22 17:52:12'::timestamp) - extract(epoch from '2026-07-22 17:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032059 -3.35893)'), GeomFromEWKT('SRID=4674;POINT (-39.032102 -3.358915)'))) / (select extract(epoch from '2026-07-22 17:52:12'::timestamp) - extract(epoch from '2026-07-22 17:52: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'), 47445, 'SRID=4674;POINT (-39.032128 -3.358897)', '2026-07-22 17:52:21', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032102 -3.358915)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358897)'))) / (select extract(epoch from '2026-07-22 17:52:21'::timestamp) - extract(epoch from '2026-07-22 17:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032102 -3.358915)'), GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358897)'))) / (select extract(epoch from '2026-07-22 17:52:21'::timestamp) - extract(epoch from '2026-07-22 17:52:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032124 -3.358903)', '2026-07-22 17:52:29', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358897)'), GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358903)'))) / (select extract(epoch from '2026-07-22 17:52:29'::timestamp) - extract(epoch from '2026-07-22 17:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032128 -3.358897)'), GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358903)'))) / (select extract(epoch from '2026-07-22 17:52:29'::timestamp) - extract(epoch from '2026-07-22 17:52:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032123 -3.358906)', '2026-07-22 17:52:34', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358903)'), GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358906)'))) / (select extract(epoch from '2026-07-22 17:52:34'::timestamp) - extract(epoch from '2026-07-22 17:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358903)'), GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358906)'))) / (select extract(epoch from '2026-07-22 17:52:34'::timestamp) - extract(epoch from '2026-07-22 17:52: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'), 47445, 'SRID=4674;POINT (-39.032126 -3.358912)', '2026-07-22 17:52:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358906)'), GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358912)'))) / (select extract(epoch from '2026-07-22 17:52:41'::timestamp) - extract(epoch from '2026-07-22 17:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032123 -3.358906)'), GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358912)'))) / (select extract(epoch from '2026-07-22 17:52:41'::timestamp) - extract(epoch from '2026-07-22 17:52:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032124 -3.358915)', '2026-07-22 17:52:47', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358912)'), GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358915)'))) / (select extract(epoch from '2026-07-22 17:52:47'::timestamp) - extract(epoch from '2026-07-22 17:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032126 -3.358912)'), GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358915)'))) / (select extract(epoch from '2026-07-22 17:52:47'::timestamp) - extract(epoch from '2026-07-22 17:52:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47445, 'SRID=4674;POINT (-39.032129 -3.35892)', '2026-07-22 17:53:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358915)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.35892)'))) / (select extract(epoch from '2026-07-22 17:53:00'::timestamp) - extract(epoch from '2026-07-22 17:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032124 -3.358915)'), GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.35892)'))) / (select extract(epoch from '2026-07-22 17:53:00'::timestamp) - extract(epoch from '2026-07-22 17:52: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'), 47445, 'SRID=4674;POINT (-39.032132 -3.358917)', '2026-07-22 17:53:07', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.35892)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358917)'))) / (select extract(epoch from '2026-07-22 17:53:07'::timestamp) - extract(epoch from '2026-07-22 17:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032129 -3.35892)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358917)'))) / (select extract(epoch from '2026-07-22 17:53:07'::timestamp) - extract(epoch from '2026-07-22 17:53: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'), 47445, 'SRID=4674;POINT (-39.03213 -3.358929)', '2026-07-22 17:53:15', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358917)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358929)'))) / (select extract(epoch from '2026-07-22 17:53:15'::timestamp) - extract(epoch from '2026-07-22 17:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358917)'), GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358929)'))) / (select extract(epoch from '2026-07-22 17:53:15'::timestamp) - extract(epoch from '2026-07-22 17:53: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'), 47445, 'SRID=4674;POINT (-39.032132 -3.358936)', '2026-07-22 17:53:24', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358936)'))) / (select extract(epoch from '2026-07-22 17:53:24'::timestamp) - extract(epoch from '2026-07-22 17:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.03213 -3.358929)'), GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358936)'))) / (select extract(epoch from '2026-07-22 17:53:24'::timestamp) - extract(epoch from '2026-07-22 17: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'), 47445, 'SRID=4674;POINT (-39.032131 -3.358931)', '2026-07-22 17:53:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358936)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358931)'))) / (select extract(epoch from '2026-07-22 17:53:33'::timestamp) - extract(epoch from '2026-07-22 17:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032132 -3.358936)'), GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358931)'))) / (select extract(epoch from '2026-07-22 17:53:33'::timestamp) - extract(epoch from '2026-07-22 17:53: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'), 47445, 'SRID=4674;POINT (-39.032125 -3.358924)', '2026-07-22 17:53:43', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358924)'))) / (select extract(epoch from '2026-07-22 17:53:43'::timestamp) - extract(epoch from '2026-07-22 17:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.032131 -3.358931)'), GeomFromEWKT('SRID=4674;POINT (-39.032125 -3.358924)'))) / (select extract(epoch from '2026-07-22 17:53:43'::timestamp) - extract(epoch from '2026-07-22 17:53:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
