 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021173 -3.382836)', '2026-07-17 19:35:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021105 -3.382699)'), GeomFromEWKT('SRID=4674;POINT (-39.021173 -3.382836)'))) / (select extract(epoch from '2026-07-17 19:35:32'::timestamp) - extract(epoch from '2026-07-17 19:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021105 -3.382699)'), GeomFromEWKT('SRID=4674;POINT (-39.021173 -3.382836)'))) / (select extract(epoch from '2026-07-17 19:35:32'::timestamp) - extract(epoch from '2026-07-17 19:35: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'), 47442, 'SRID=4674;POINT (-39.0212 -3.382914)', '2026-07-17 19:35:36', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021173 -3.382836)'), GeomFromEWKT('SRID=4674;POINT (-39.0212 -3.382914)'))) / (select extract(epoch from '2026-07-17 19:35:36'::timestamp) - extract(epoch from '2026-07-17 19:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021173 -3.382836)'), GeomFromEWKT('SRID=4674;POINT (-39.0212 -3.382914)'))) / (select extract(epoch from '2026-07-17 19:35:36'::timestamp) - extract(epoch from '2026-07-17 19:35: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'), 47442, 'SRID=4674;POINT (-39.021214 -3.382936)', '2026-07-17 19:35:37', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0212 -3.382914)'), GeomFromEWKT('SRID=4674;POINT (-39.021214 -3.382936)'))) / (select extract(epoch from '2026-07-17 19:35:37'::timestamp) - extract(epoch from '2026-07-17 19:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0212 -3.382914)'), GeomFromEWKT('SRID=4674;POINT (-39.021214 -3.382936)'))) / (select extract(epoch from '2026-07-17 19:35:37'::timestamp) - extract(epoch from '2026-07-17 19:35:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021247 -3.383037)', '2026-07-17 19:35:42', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021214 -3.382936)'), GeomFromEWKT('SRID=4674;POINT (-39.021247 -3.383037)'))) / (select extract(epoch from '2026-07-17 19:35:42'::timestamp) - extract(epoch from '2026-07-17 19:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021214 -3.382936)'), GeomFromEWKT('SRID=4674;POINT (-39.021247 -3.383037)'))) / (select extract(epoch from '2026-07-17 19:35:42'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.021293 -3.383155)', '2026-07-17 19:35:48', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021247 -3.383037)'), GeomFromEWKT('SRID=4674;POINT (-39.021293 -3.383155)'))) / (select extract(epoch from '2026-07-17 19:35:48'::timestamp) - extract(epoch from '2026-07-17 19:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021247 -3.383037)'), GeomFromEWKT('SRID=4674;POINT (-39.021293 -3.383155)'))) / (select extract(epoch from '2026-07-17 19:35:48'::timestamp) - extract(epoch from '2026-07-17 19:35: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'), 47442, 'SRID=4674;POINT (-39.021327 -3.383245)', '2026-07-17 19:35:53', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021293 -3.383155)'), GeomFromEWKT('SRID=4674;POINT (-39.021327 -3.383245)'))) / (select extract(epoch from '2026-07-17 19:35:53'::timestamp) - extract(epoch from '2026-07-17 19:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021293 -3.383155)'), GeomFromEWKT('SRID=4674;POINT (-39.021327 -3.383245)'))) / (select extract(epoch from '2026-07-17 19:35:53'::timestamp) - extract(epoch from '2026-07-17 19:35:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021379 -3.383346)', '2026-07-17 19:35:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021327 -3.383245)'), GeomFromEWKT('SRID=4674;POINT (-39.021379 -3.383346)'))) / (select extract(epoch from '2026-07-17 19:35:58'::timestamp) - extract(epoch from '2026-07-17 19:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021327 -3.383245)'), GeomFromEWKT('SRID=4674;POINT (-39.021379 -3.383346)'))) / (select extract(epoch from '2026-07-17 19:35:58'::timestamp) - extract(epoch from '2026-07-17 19:35: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'), 47442, 'SRID=4674;POINT (-39.021433 -3.383458)', '2026-07-17 19:36:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021379 -3.383346)'), GeomFromEWKT('SRID=4674;POINT (-39.021433 -3.383458)'))) / (select extract(epoch from '2026-07-17 19:36:04'::timestamp) - extract(epoch from '2026-07-17 19:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021379 -3.383346)'), GeomFromEWKT('SRID=4674;POINT (-39.021433 -3.383458)'))) / (select extract(epoch from '2026-07-17 19:36:04'::timestamp) - extract(epoch from '2026-07-17 19:35: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'), 47442, 'SRID=4674;POINT (-39.021487 -3.383573)', '2026-07-17 19:36:10', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021433 -3.383458)'), GeomFromEWKT('SRID=4674;POINT (-39.021487 -3.383573)'))) / (select extract(epoch from '2026-07-17 19:36:10'::timestamp) - extract(epoch from '2026-07-17 19:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021433 -3.383458)'), GeomFromEWKT('SRID=4674;POINT (-39.021487 -3.383573)'))) / (select extract(epoch from '2026-07-17 19:36:10'::timestamp) - extract(epoch from '2026-07-17 19:36: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'), 47442, 'SRID=4674;POINT (-39.02154 -3.383687)', '2026-07-17 19:36:16', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021487 -3.383573)'), GeomFromEWKT('SRID=4674;POINT (-39.02154 -3.383687)'))) / (select extract(epoch from '2026-07-17 19:36:16'::timestamp) - extract(epoch from '2026-07-17 19:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021487 -3.383573)'), GeomFromEWKT('SRID=4674;POINT (-39.02154 -3.383687)'))) / (select extract(epoch from '2026-07-17 19:36:16'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.021589 -3.383804)', '2026-07-17 19:36:22', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02154 -3.383687)'), GeomFromEWKT('SRID=4674;POINT (-39.021589 -3.383804)'))) / (select extract(epoch from '2026-07-17 19:36:22'::timestamp) - extract(epoch from '2026-07-17 19:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02154 -3.383687)'), GeomFromEWKT('SRID=4674;POINT (-39.021589 -3.383804)'))) / (select extract(epoch from '2026-07-17 19:36:22'::timestamp) - extract(epoch from '2026-07-17 19:36: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'), 47442, 'SRID=4674;POINT (-39.021633 -3.383905)', '2026-07-17 19:36:27', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021589 -3.383804)'), GeomFromEWKT('SRID=4674;POINT (-39.021633 -3.383905)'))) / (select extract(epoch from '2026-07-17 19:36:27'::timestamp) - extract(epoch from '2026-07-17 19:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021589 -3.383804)'), GeomFromEWKT('SRID=4674;POINT (-39.021633 -3.383905)'))) / (select extract(epoch from '2026-07-17 19:36:27'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.021657 -3.383984)', '2026-07-17 19:36:31', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021633 -3.383905)'), GeomFromEWKT('SRID=4674;POINT (-39.021657 -3.383984)'))) / (select extract(epoch from '2026-07-17 19:36:31'::timestamp) - extract(epoch from '2026-07-17 19:36:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021633 -3.383905)'), GeomFromEWKT('SRID=4674;POINT (-39.021657 -3.383984)'))) / (select extract(epoch from '2026-07-17 19:36:31'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.021709 -3.384096)', '2026-07-17 19:36:37', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021657 -3.383984)'), GeomFromEWKT('SRID=4674;POINT (-39.021709 -3.384096)'))) / (select extract(epoch from '2026-07-17 19:36:37'::timestamp) - extract(epoch from '2026-07-17 19:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021657 -3.383984)'), GeomFromEWKT('SRID=4674;POINT (-39.021709 -3.384096)'))) / (select extract(epoch from '2026-07-17 19:36:37'::timestamp) - extract(epoch from '2026-07-17 19:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021728 -3.384131)', '2026-07-17 19:36:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021709 -3.384096)'), GeomFromEWKT('SRID=4674;POINT (-39.021728 -3.384131)'))) / (select extract(epoch from '2026-07-17 19:36:39'::timestamp) - extract(epoch from '2026-07-17 19:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021709 -3.384096)'), GeomFromEWKT('SRID=4674;POINT (-39.021728 -3.384131)'))) / (select extract(epoch from '2026-07-17 19:36:39'::timestamp) - extract(epoch from '2026-07-17 19:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02176 -3.384187)', '2026-07-17 19:36:42', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021728 -3.384131)'), GeomFromEWKT('SRID=4674;POINT (-39.02176 -3.384187)'))) / (select extract(epoch from '2026-07-17 19:36:42'::timestamp) - extract(epoch from '2026-07-17 19:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021728 -3.384131)'), GeomFromEWKT('SRID=4674;POINT (-39.02176 -3.384187)'))) / (select extract(epoch from '2026-07-17 19:36:42'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.021801 -3.384277)', '2026-07-17 19:36:47', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02176 -3.384187)'), GeomFromEWKT('SRID=4674;POINT (-39.021801 -3.384277)'))) / (select extract(epoch from '2026-07-17 19:36:47'::timestamp) - extract(epoch from '2026-07-17 19:36:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02176 -3.384187)'), GeomFromEWKT('SRID=4674;POINT (-39.021801 -3.384277)'))) / (select extract(epoch from '2026-07-17 19:36:47'::timestamp) - extract(epoch from '2026-07-17 19:36: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'), 47442, 'SRID=4674;POINT (-39.021856 -3.384409)', '2026-07-17 19:36:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021801 -3.384277)'), GeomFromEWKT('SRID=4674;POINT (-39.021856 -3.384409)'))) / (select extract(epoch from '2026-07-17 19:36:54'::timestamp) - extract(epoch from '2026-07-17 19:36:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021801 -3.384277)'), GeomFromEWKT('SRID=4674;POINT (-39.021856 -3.384409)'))) / (select extract(epoch from '2026-07-17 19:36:54'::timestamp) - extract(epoch from '2026-07-17 19:36:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021892 -3.384504)', '2026-07-17 19:36:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021856 -3.384409)'), GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.384504)'))) / (select extract(epoch from '2026-07-17 19:36:59'::timestamp) - extract(epoch from '2026-07-17 19:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021856 -3.384409)'), GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.384504)'))) / (select extract(epoch from '2026-07-17 19:36:59'::timestamp) - extract(epoch from '2026-07-17 19:36:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.021938 -3.384578)', '2026-07-17 19:37:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.384504)'), GeomFromEWKT('SRID=4674;POINT (-39.021938 -3.384578)'))) / (select extract(epoch from '2026-07-17 19:37:03'::timestamp) - extract(epoch from '2026-07-17 19:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021892 -3.384504)'), GeomFromEWKT('SRID=4674;POINT (-39.021938 -3.384578)'))) / (select extract(epoch from '2026-07-17 19:37:03'::timestamp) - extract(epoch from '2026-07-17 19:36: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'), 47442, 'SRID=4674;POINT (-39.021989 -3.384689)', '2026-07-17 19:37:09', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021938 -3.384578)'), GeomFromEWKT('SRID=4674;POINT (-39.021989 -3.384689)'))) / (select extract(epoch from '2026-07-17 19:37:09'::timestamp) - extract(epoch from '2026-07-17 19:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021938 -3.384578)'), GeomFromEWKT('SRID=4674;POINT (-39.021989 -3.384689)'))) / (select extract(epoch from '2026-07-17 19:37:09'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.022031 -3.384788)', '2026-07-17 19:37:14', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021989 -3.384689)'), GeomFromEWKT('SRID=4674;POINT (-39.022031 -3.384788)'))) / (select extract(epoch from '2026-07-17 19:37:14'::timestamp) - extract(epoch from '2026-07-17 19:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.021989 -3.384689)'), GeomFromEWKT('SRID=4674;POINT (-39.022031 -3.384788)'))) / (select extract(epoch from '2026-07-17 19:37:14'::timestamp) - extract(epoch from '2026-07-17 19:37:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022077 -3.384883)', '2026-07-17 19:37:19', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022031 -3.384788)'), GeomFromEWKT('SRID=4674;POINT (-39.022077 -3.384883)'))) / (select extract(epoch from '2026-07-17 19:37:19'::timestamp) - extract(epoch from '2026-07-17 19:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022031 -3.384788)'), GeomFromEWKT('SRID=4674;POINT (-39.022077 -3.384883)'))) / (select extract(epoch from '2026-07-17 19:37:19'::timestamp) - extract(epoch from '2026-07-17 19:37: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'), 47442, 'SRID=4674;POINT (-39.022121 -3.384981)', '2026-07-17 19:37:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022077 -3.384883)'), GeomFromEWKT('SRID=4674;POINT (-39.022121 -3.384981)'))) / (select extract(epoch from '2026-07-17 19:37:24'::timestamp) - extract(epoch from '2026-07-17 19:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022077 -3.384883)'), GeomFromEWKT('SRID=4674;POINT (-39.022121 -3.384981)'))) / (select extract(epoch from '2026-07-17 19:37:24'::timestamp) - extract(epoch from '2026-07-17 19:37: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'), 47442, 'SRID=4674;POINT (-39.022179 -3.385112)', '2026-07-17 19:37:31', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022121 -3.384981)'), GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.385112)'))) / (select extract(epoch from '2026-07-17 19:37:31'::timestamp) - extract(epoch from '2026-07-17 19:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022121 -3.384981)'), GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.385112)'))) / (select extract(epoch from '2026-07-17 19:37:31'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.022228 -3.385209)', '2026-07-17 19:37:36', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.385112)'), GeomFromEWKT('SRID=4674;POINT (-39.022228 -3.385209)'))) / (select extract(epoch from '2026-07-17 19:37:36'::timestamp) - extract(epoch from '2026-07-17 19:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022179 -3.385112)'), GeomFromEWKT('SRID=4674;POINT (-39.022228 -3.385209)'))) / (select extract(epoch from '2026-07-17 19:37:36'::timestamp) - extract(epoch from '2026-07-17 19:37: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'), 47442, 'SRID=4674;POINT (-39.02229 -3.385322)', '2026-07-17 19:37:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022228 -3.385209)'), GeomFromEWKT('SRID=4674;POINT (-39.02229 -3.385322)'))) / (select extract(epoch from '2026-07-17 19:37:42'::timestamp) - extract(epoch from '2026-07-17 19:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022228 -3.385209)'), GeomFromEWKT('SRID=4674;POINT (-39.02229 -3.385322)'))) / (select extract(epoch from '2026-07-17 19:37:42'::timestamp) - extract(epoch from '2026-07-17 19:37: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'), 47442, 'SRID=4674;POINT (-39.022339 -3.385418)', '2026-07-17 19:37:47', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02229 -3.385322)'), GeomFromEWKT('SRID=4674;POINT (-39.022339 -3.385418)'))) / (select extract(epoch from '2026-07-17 19:37:47'::timestamp) - extract(epoch from '2026-07-17 19:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02229 -3.385322)'), GeomFromEWKT('SRID=4674;POINT (-39.022339 -3.385418)'))) / (select extract(epoch from '2026-07-17 19:37:47'::timestamp) - extract(epoch from '2026-07-17 19:37: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'), 47442, 'SRID=4674;POINT (-39.02238 -3.385541)', '2026-07-17 19:37:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022339 -3.385418)'), GeomFromEWKT('SRID=4674;POINT (-39.02238 -3.385541)'))) / (select extract(epoch from '2026-07-17 19:37:53'::timestamp) - extract(epoch from '2026-07-17 19:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022339 -3.385418)'), GeomFromEWKT('SRID=4674;POINT (-39.02238 -3.385541)'))) / (select extract(epoch from '2026-07-17 19:37:53'::timestamp) - extract(epoch from '2026-07-17 19:37: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'), 47442, 'SRID=4674;POINT (-39.022425 -3.385659)', '2026-07-17 19:37:59', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02238 -3.385541)'), GeomFromEWKT('SRID=4674;POINT (-39.022425 -3.385659)'))) / (select extract(epoch from '2026-07-17 19:37:59'::timestamp) - extract(epoch from '2026-07-17 19:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02238 -3.385541)'), GeomFromEWKT('SRID=4674;POINT (-39.022425 -3.385659)'))) / (select extract(epoch from '2026-07-17 19:37:59'::timestamp) - extract(epoch from '2026-07-17 19:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022467 -3.385754)', '2026-07-17 19:38:04', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022425 -3.385659)'), GeomFromEWKT('SRID=4674;POINT (-39.022467 -3.385754)'))) / (select extract(epoch from '2026-07-17 19:38:04'::timestamp) - extract(epoch from '2026-07-17 19:37:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022425 -3.385659)'), GeomFromEWKT('SRID=4674;POINT (-39.022467 -3.385754)'))) / (select extract(epoch from '2026-07-17 19:38:04'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.022522 -3.38589)', '2026-07-17 19:38:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022467 -3.385754)'), GeomFromEWKT('SRID=4674;POINT (-39.022522 -3.38589)'))) / (select extract(epoch from '2026-07-17 19:38:11'::timestamp) - extract(epoch from '2026-07-17 19:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022467 -3.385754)'), GeomFromEWKT('SRID=4674;POINT (-39.022522 -3.38589)'))) / (select extract(epoch from '2026-07-17 19:38:11'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.022565 -3.386024)', '2026-07-17 19:38:18', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022522 -3.38589)'), GeomFromEWKT('SRID=4674;POINT (-39.022565 -3.386024)'))) / (select extract(epoch from '2026-07-17 19:38:18'::timestamp) - extract(epoch from '2026-07-17 19:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022522 -3.38589)'), GeomFromEWKT('SRID=4674;POINT (-39.022565 -3.386024)'))) / (select extract(epoch from '2026-07-17 19:38:18'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.022589 -3.386063)', '2026-07-17 19:38:20', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022565 -3.386024)'), GeomFromEWKT('SRID=4674;POINT (-39.022589 -3.386063)'))) / (select extract(epoch from '2026-07-17 19:38:20'::timestamp) - extract(epoch from '2026-07-17 19:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022565 -3.386024)'), GeomFromEWKT('SRID=4674;POINT (-39.022589 -3.386063)'))) / (select extract(epoch from '2026-07-17 19:38:20'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.022598 -3.386098)', '2026-07-17 19:38:22', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022589 -3.386063)'), GeomFromEWKT('SRID=4674;POINT (-39.022598 -3.386098)'))) / (select extract(epoch from '2026-07-17 19:38:22'::timestamp) - extract(epoch from '2026-07-17 19:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022589 -3.386063)'), GeomFromEWKT('SRID=4674;POINT (-39.022598 -3.386098)'))) / (select extract(epoch from '2026-07-17 19:38:22'::timestamp) - extract(epoch from '2026-07-17 19:38: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'), 47442, 'SRID=4674;POINT (-39.022661 -3.38623)', '2026-07-17 19:38:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022598 -3.386098)'), GeomFromEWKT('SRID=4674;POINT (-39.022661 -3.38623)'))) / (select extract(epoch from '2026-07-17 19:38:29'::timestamp) - extract(epoch from '2026-07-17 19:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022598 -3.386098)'), GeomFromEWKT('SRID=4674;POINT (-39.022661 -3.38623)'))) / (select extract(epoch from '2026-07-17 19:38:29'::timestamp) - extract(epoch from '2026-07-17 19:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022705 -3.386329)', '2026-07-17 19:38:34', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022661 -3.38623)'), GeomFromEWKT('SRID=4674;POINT (-39.022705 -3.386329)'))) / (select extract(epoch from '2026-07-17 19:38:34'::timestamp) - extract(epoch from '2026-07-17 19:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022661 -3.38623)'), GeomFromEWKT('SRID=4674;POINT (-39.022705 -3.386329)'))) / (select extract(epoch from '2026-07-17 19:38:34'::timestamp) - extract(epoch from '2026-07-17 19:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022738 -3.386435)', '2026-07-17 19:38:39', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022705 -3.386329)'), GeomFromEWKT('SRID=4674;POINT (-39.022738 -3.386435)'))) / (select extract(epoch from '2026-07-17 19:38:39'::timestamp) - extract(epoch from '2026-07-17 19:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022705 -3.386329)'), GeomFromEWKT('SRID=4674;POINT (-39.022738 -3.386435)'))) / (select extract(epoch from '2026-07-17 19:38:39'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.022752 -3.386455)', '2026-07-17 19:38:40', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022738 -3.386435)'), GeomFromEWKT('SRID=4674;POINT (-39.022752 -3.386455)'))) / (select extract(epoch from '2026-07-17 19:38:40'::timestamp) - extract(epoch from '2026-07-17 19:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022738 -3.386435)'), GeomFromEWKT('SRID=4674;POINT (-39.022752 -3.386455)'))) / (select extract(epoch from '2026-07-17 19:38:40'::timestamp) - extract(epoch from '2026-07-17 19:38: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'), 47442, 'SRID=4674;POINT (-39.022759 -3.386473)', '2026-07-17 19:38:41', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022752 -3.386455)'), GeomFromEWKT('SRID=4674;POINT (-39.022759 -3.386473)'))) / (select extract(epoch from '2026-07-17 19:38:41'::timestamp) - extract(epoch from '2026-07-17 19:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022752 -3.386455)'), GeomFromEWKT('SRID=4674;POINT (-39.022759 -3.386473)'))) / (select extract(epoch from '2026-07-17 19:38:41'::timestamp) - extract(epoch from '2026-07-17 19:38: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'), 47442, 'SRID=4674;POINT (-39.02278 -3.386529)', '2026-07-17 19:38:44', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022759 -3.386473)'), GeomFromEWKT('SRID=4674;POINT (-39.02278 -3.386529)'))) / (select extract(epoch from '2026-07-17 19:38:44'::timestamp) - extract(epoch from '2026-07-17 19:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022759 -3.386473)'), GeomFromEWKT('SRID=4674;POINT (-39.02278 -3.386529)'))) / (select extract(epoch from '2026-07-17 19:38:44'::timestamp) - extract(epoch from '2026-07-17 19:38: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'), 47442, 'SRID=4674;POINT (-39.022834 -3.386652)', '2026-07-17 19:38:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02278 -3.386529)'), GeomFromEWKT('SRID=4674;POINT (-39.022834 -3.386652)'))) / (select extract(epoch from '2026-07-17 19:38:50'::timestamp) - extract(epoch from '2026-07-17 19:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02278 -3.386529)'), GeomFromEWKT('SRID=4674;POINT (-39.022834 -3.386652)'))) / (select extract(epoch from '2026-07-17 19:38:50'::timestamp) - extract(epoch from '2026-07-17 19:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022855 -3.386689)', '2026-07-17 19:38:52', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022834 -3.386652)'), GeomFromEWKT('SRID=4674;POINT (-39.022855 -3.386689)'))) / (select extract(epoch from '2026-07-17 19:38:52'::timestamp) - extract(epoch from '2026-07-17 19:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022834 -3.386652)'), GeomFromEWKT('SRID=4674;POINT (-39.022855 -3.386689)'))) / (select extract(epoch from '2026-07-17 19:38:52'::timestamp) - extract(epoch from '2026-07-17 19:38: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'), 47442, 'SRID=4674;POINT (-39.022863 -3.386725)', '2026-07-17 19:38:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022855 -3.386689)'), GeomFromEWKT('SRID=4674;POINT (-39.022863 -3.386725)'))) / (select extract(epoch from '2026-07-17 19:38:54'::timestamp) - extract(epoch from '2026-07-17 19:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022855 -3.386689)'), GeomFromEWKT('SRID=4674;POINT (-39.022863 -3.386725)'))) / (select extract(epoch from '2026-07-17 19:38:54'::timestamp) - extract(epoch from '2026-07-17 19:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02291 -3.38684)', '2026-07-17 19:39:00', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022863 -3.386725)'), GeomFromEWKT('SRID=4674;POINT (-39.02291 -3.38684)'))) / (select extract(epoch from '2026-07-17 19:39:00'::timestamp) - extract(epoch from '2026-07-17 19:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022863 -3.386725)'), GeomFromEWKT('SRID=4674;POINT (-39.02291 -3.38684)'))) / (select extract(epoch from '2026-07-17 19:39:00'::timestamp) - extract(epoch from '2026-07-17 19:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022917 -3.38686)', '2026-07-17 19:39:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02291 -3.38684)'), GeomFromEWKT('SRID=4674;POINT (-39.022917 -3.38686)'))) / (select extract(epoch from '2026-07-17 19:39:01'::timestamp) - extract(epoch from '2026-07-17 19:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02291 -3.38684)'), GeomFromEWKT('SRID=4674;POINT (-39.022917 -3.38686)'))) / (select extract(epoch from '2026-07-17 19:39:01'::timestamp) - extract(epoch from '2026-07-17 19:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.022942 -3.386937)', '2026-07-17 19:39:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022917 -3.38686)'), GeomFromEWKT('SRID=4674;POINT (-39.022942 -3.386937)'))) / (select extract(epoch from '2026-07-17 19:39:05'::timestamp) - extract(epoch from '2026-07-17 19:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022917 -3.38686)'), GeomFromEWKT('SRID=4674;POINT (-39.022942 -3.386937)'))) / (select extract(epoch from '2026-07-17 19:39:05'::timestamp) - extract(epoch from '2026-07-17 19:39: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'), 47442, 'SRID=4674;POINT (-39.022949 -3.386957)', '2026-07-17 19:39:06', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022942 -3.386937)'), GeomFromEWKT('SRID=4674;POINT (-39.022949 -3.386957)'))) / (select extract(epoch from '2026-07-17 19:39:06'::timestamp) - extract(epoch from '2026-07-17 19:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022942 -3.386937)'), GeomFromEWKT('SRID=4674;POINT (-39.022949 -3.386957)'))) / (select extract(epoch from '2026-07-17 19:39:06'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.022989 -3.387035)', '2026-07-17 19:39:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022949 -3.386957)'), GeomFromEWKT('SRID=4674;POINT (-39.022989 -3.387035)'))) / (select extract(epoch from '2026-07-17 19:39:10'::timestamp) - extract(epoch from '2026-07-17 19:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022949 -3.386957)'), GeomFromEWKT('SRID=4674;POINT (-39.022989 -3.387035)'))) / (select extract(epoch from '2026-07-17 19:39:10'::timestamp) - extract(epoch from '2026-07-17 19:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023036 -3.387154)', '2026-07-17 19:39:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022989 -3.387035)'), GeomFromEWKT('SRID=4674;POINT (-39.023036 -3.387154)'))) / (select extract(epoch from '2026-07-17 19:39:16'::timestamp) - extract(epoch from '2026-07-17 19:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.022989 -3.387035)'), GeomFromEWKT('SRID=4674;POINT (-39.023036 -3.387154)'))) / (select extract(epoch from '2026-07-17 19:39:16'::timestamp) - extract(epoch from '2026-07-17 19:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023085 -3.387268)', '2026-07-17 19:39:22', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023036 -3.387154)'), GeomFromEWKT('SRID=4674;POINT (-39.023085 -3.387268)'))) / (select extract(epoch from '2026-07-17 19:39:22'::timestamp) - extract(epoch from '2026-07-17 19:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023036 -3.387154)'), GeomFromEWKT('SRID=4674;POINT (-39.023085 -3.387268)'))) / (select extract(epoch from '2026-07-17 19:39:22'::timestamp) - extract(epoch from '2026-07-17 19:39: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'), 47442, 'SRID=4674;POINT (-39.023141 -3.387369)', '2026-07-17 19:39:27', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023085 -3.387268)'), GeomFromEWKT('SRID=4674;POINT (-39.023141 -3.387369)'))) / (select extract(epoch from '2026-07-17 19:39:27'::timestamp) - extract(epoch from '2026-07-17 19:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023085 -3.387268)'), GeomFromEWKT('SRID=4674;POINT (-39.023141 -3.387369)'))) / (select extract(epoch from '2026-07-17 19:39:27'::timestamp) - extract(epoch from '2026-07-17 19:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023185 -3.387471)', '2026-07-17 19:39:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023141 -3.387369)'), GeomFromEWKT('SRID=4674;POINT (-39.023185 -3.387471)'))) / (select extract(epoch from '2026-07-17 19:39:32'::timestamp) - extract(epoch from '2026-07-17 19:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023141 -3.387369)'), GeomFromEWKT('SRID=4674;POINT (-39.023185 -3.387471)'))) / (select extract(epoch from '2026-07-17 19:39:32'::timestamp) - extract(epoch from '2026-07-17 19:39:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023212 -3.38755)', '2026-07-17 19:39:36', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023185 -3.387471)'), GeomFromEWKT('SRID=4674;POINT (-39.023212 -3.38755)'))) / (select extract(epoch from '2026-07-17 19:39:36'::timestamp) - extract(epoch from '2026-07-17 19:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023185 -3.387471)'), GeomFromEWKT('SRID=4674;POINT (-39.023212 -3.38755)'))) / (select extract(epoch from '2026-07-17 19:39:36'::timestamp) - extract(epoch from '2026-07-17 19:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023268 -3.387666)', '2026-07-17 19:39:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023212 -3.38755)'), GeomFromEWKT('SRID=4674;POINT (-39.023268 -3.387666)'))) / (select extract(epoch from '2026-07-17 19:39:42'::timestamp) - extract(epoch from '2026-07-17 19:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023212 -3.38755)'), GeomFromEWKT('SRID=4674;POINT (-39.023268 -3.387666)'))) / (select extract(epoch from '2026-07-17 19:39:42'::timestamp) - extract(epoch from '2026-07-17 19:39: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'), 47442, 'SRID=4674;POINT (-39.023329 -3.387798)', '2026-07-17 19:39:49', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023268 -3.387666)'), GeomFromEWKT('SRID=4674;POINT (-39.023329 -3.387798)'))) / (select extract(epoch from '2026-07-17 19:39:49'::timestamp) - extract(epoch from '2026-07-17 19:39:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023268 -3.387666)'), GeomFromEWKT('SRID=4674;POINT (-39.023329 -3.387798)'))) / (select extract(epoch from '2026-07-17 19:39:49'::timestamp) - extract(epoch from '2026-07-17 19:39:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023376 -3.387913)', '2026-07-17 19:39:55', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023329 -3.387798)'), GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.387913)'))) / (select extract(epoch from '2026-07-17 19:39:55'::timestamp) - extract(epoch from '2026-07-17 19:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023329 -3.387798)'), GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.387913)'))) / (select extract(epoch from '2026-07-17 19:39:55'::timestamp) - extract(epoch from '2026-07-17 19:39:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023434 -3.388047)', '2026-07-17 19:40:02', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.387913)'), GeomFromEWKT('SRID=4674;POINT (-39.023434 -3.388047)'))) / (select extract(epoch from '2026-07-17 19:40:02'::timestamp) - extract(epoch from '2026-07-17 19:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023376 -3.387913)'), GeomFromEWKT('SRID=4674;POINT (-39.023434 -3.388047)'))) / (select extract(epoch from '2026-07-17 19:40:02'::timestamp) - extract(epoch from '2026-07-17 19:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02349 -3.388167)', '2026-07-17 19:40:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023434 -3.388047)'), GeomFromEWKT('SRID=4674;POINT (-39.02349 -3.388167)'))) / (select extract(epoch from '2026-07-17 19:40:08'::timestamp) - extract(epoch from '2026-07-17 19:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023434 -3.388047)'), GeomFromEWKT('SRID=4674;POINT (-39.02349 -3.388167)'))) / (select extract(epoch from '2026-07-17 19:40:08'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47442, 'SRID=4674;POINT (-39.023525 -3.388282)', '2026-07-17 19:40:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02349 -3.388167)'), GeomFromEWKT('SRID=4674;POINT (-39.023525 -3.388282)'))) / (select extract(epoch from '2026-07-17 19:40:14'::timestamp) - extract(epoch from '2026-07-17 19:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02349 -3.388167)'), GeomFromEWKT('SRID=4674;POINT (-39.023525 -3.388282)'))) / (select extract(epoch from '2026-07-17 19:40:14'::timestamp) - extract(epoch from '2026-07-17 19:40:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023566 -3.388342)', '2026-07-17 19:40:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023525 -3.388282)'), GeomFromEWKT('SRID=4674;POINT (-39.023566 -3.388342)'))) / (select extract(epoch from '2026-07-17 19:40:17'::timestamp) - extract(epoch from '2026-07-17 19:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023525 -3.388282)'), GeomFromEWKT('SRID=4674;POINT (-39.023566 -3.388342)'))) / (select extract(epoch from '2026-07-17 19:40:17'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47442, 'SRID=4674;POINT (-39.02358 -3.388376)', '2026-07-17 19:40:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023566 -3.388342)'), GeomFromEWKT('SRID=4674;POINT (-39.02358 -3.388376)'))) / (select extract(epoch from '2026-07-17 19:40:19'::timestamp) - extract(epoch from '2026-07-17 19:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023566 -3.388342)'), GeomFromEWKT('SRID=4674;POINT (-39.02358 -3.388376)'))) / (select extract(epoch from '2026-07-17 19:40:19'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47442, 'SRID=4674;POINT (-39.023625 -3.388472)', '2026-07-17 19:40:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02358 -3.388376)'), GeomFromEWKT('SRID=4674;POINT (-39.023625 -3.388472)'))) / (select extract(epoch from '2026-07-17 19:40:24'::timestamp) - extract(epoch from '2026-07-17 19:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02358 -3.388376)'), GeomFromEWKT('SRID=4674;POINT (-39.023625 -3.388472)'))) / (select extract(epoch from '2026-07-17 19:40:24'::timestamp) - extract(epoch from '2026-07-17 19:40:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023635 -3.388505)', '2026-07-17 19:40:26', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023625 -3.388472)'), GeomFromEWKT('SRID=4674;POINT (-39.023635 -3.388505)'))) / (select extract(epoch from '2026-07-17 19:40:26'::timestamp) - extract(epoch from '2026-07-17 19:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023625 -3.388472)'), GeomFromEWKT('SRID=4674;POINT (-39.023635 -3.388505)'))) / (select extract(epoch from '2026-07-17 19:40:26'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47442, 'SRID=4674;POINT (-39.023673 -3.388585)', '2026-07-17 19:40:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023635 -3.388505)'), GeomFromEWKT('SRID=4674;POINT (-39.023673 -3.388585)'))) / (select extract(epoch from '2026-07-17 19:40:30'::timestamp) - extract(epoch from '2026-07-17 19:40:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023635 -3.388505)'), GeomFromEWKT('SRID=4674;POINT (-39.023673 -3.388585)'))) / (select extract(epoch from '2026-07-17 19:40:30'::timestamp) - extract(epoch from '2026-07-17 19:40:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02372 -3.388691)', '2026-07-17 19:40:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023673 -3.388585)'), GeomFromEWKT('SRID=4674;POINT (-39.02372 -3.388691)'))) / (select extract(epoch from '2026-07-17 19:40:36'::timestamp) - extract(epoch from '2026-07-17 19:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023673 -3.388585)'), GeomFromEWKT('SRID=4674;POINT (-39.02372 -3.388691)'))) / (select extract(epoch from '2026-07-17 19:40:36'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47442, 'SRID=4674;POINT (-39.023742 -3.388734)', '2026-07-17 19:40:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02372 -3.388691)'), GeomFromEWKT('SRID=4674;POINT (-39.023742 -3.388734)'))) / (select extract(epoch from '2026-07-17 19:40:38'::timestamp) - extract(epoch from '2026-07-17 19:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02372 -3.388691)'), GeomFromEWKT('SRID=4674;POINT (-39.023742 -3.388734)'))) / (select extract(epoch from '2026-07-17 19:40:38'::timestamp) - extract(epoch from '2026-07-17 19:40:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023766 -3.388766)', '2026-07-17 19:40:40', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023742 -3.388734)'), GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.388766)'))) / (select extract(epoch from '2026-07-17 19:40:40'::timestamp) - extract(epoch from '2026-07-17 19:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023742 -3.388734)'), GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.388766)'))) / (select extract(epoch from '2026-07-17 19:40:40'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47442, 'SRID=4674;POINT (-39.023822 -3.388888)', '2026-07-17 19:40:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.388766)'), GeomFromEWKT('SRID=4674;POINT (-39.023822 -3.388888)'))) / (select extract(epoch from '2026-07-17 19:40:47'::timestamp) - extract(epoch from '2026-07-17 19:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023766 -3.388766)'), GeomFromEWKT('SRID=4674;POINT (-39.023822 -3.388888)'))) / (select extract(epoch from '2026-07-17 19:40:47'::timestamp) - extract(epoch from '2026-07-17 19:40:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023878 -3.389019)', '2026-07-17 19:40:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023822 -3.388888)'), GeomFromEWKT('SRID=4674;POINT (-39.023878 -3.389019)'))) / (select extract(epoch from '2026-07-17 19:40:54'::timestamp) - extract(epoch from '2026-07-17 19:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023822 -3.388888)'), GeomFromEWKT('SRID=4674;POINT (-39.023878 -3.389019)'))) / (select extract(epoch from '2026-07-17 19:40:54'::timestamp) - extract(epoch from '2026-07-17 19:40:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023921 -3.389114)', '2026-07-17 19:40:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023878 -3.389019)'), GeomFromEWKT('SRID=4674;POINT (-39.023921 -3.389114)'))) / (select extract(epoch from '2026-07-17 19:40:59'::timestamp) - extract(epoch from '2026-07-17 19:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023878 -3.389019)'), GeomFromEWKT('SRID=4674;POINT (-39.023921 -3.389114)'))) / (select extract(epoch from '2026-07-17 19:40:59'::timestamp) - extract(epoch from '2026-07-17 19:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.023965 -3.38923)', '2026-07-17 19:41:05', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023921 -3.389114)'), GeomFromEWKT('SRID=4674;POINT (-39.023965 -3.38923)'))) / (select extract(epoch from '2026-07-17 19:41:05'::timestamp) - extract(epoch from '2026-07-17 19:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023921 -3.389114)'), GeomFromEWKT('SRID=4674;POINT (-39.023965 -3.38923)'))) / (select extract(epoch from '2026-07-17 19:41:05'::timestamp) - extract(epoch from '2026-07-17 19:40: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'), 47442, 'SRID=4674;POINT (-39.024008 -3.389334)', '2026-07-17 19:41:10', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023965 -3.38923)'), GeomFromEWKT('SRID=4674;POINT (-39.024008 -3.389334)'))) / (select extract(epoch from '2026-07-17 19:41:10'::timestamp) - extract(epoch from '2026-07-17 19:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.023965 -3.38923)'), GeomFromEWKT('SRID=4674;POINT (-39.024008 -3.389334)'))) / (select extract(epoch from '2026-07-17 19:41:10'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47442, 'SRID=4674;POINT (-39.024058 -3.389448)', '2026-07-17 19:41:16', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024008 -3.389334)'), GeomFromEWKT('SRID=4674;POINT (-39.024058 -3.389448)'))) / (select extract(epoch from '2026-07-17 19:41:16'::timestamp) - extract(epoch from '2026-07-17 19:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024008 -3.389334)'), GeomFromEWKT('SRID=4674;POINT (-39.024058 -3.389448)'))) / (select extract(epoch from '2026-07-17 19:41:16'::timestamp) - extract(epoch from '2026-07-17 19:41:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02411 -3.389591)', '2026-07-17 19:41:23', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024058 -3.389448)'), GeomFromEWKT('SRID=4674;POINT (-39.02411 -3.389591)'))) / (select extract(epoch from '2026-07-17 19:41:23'::timestamp) - extract(epoch from '2026-07-17 19:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024058 -3.389448)'), GeomFromEWKT('SRID=4674;POINT (-39.02411 -3.389591)'))) / (select extract(epoch from '2026-07-17 19:41:23'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47442, 'SRID=4674;POINT (-39.024154 -3.389718)', '2026-07-17 19:41:29', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02411 -3.389591)'), GeomFromEWKT('SRID=4674;POINT (-39.024154 -3.389718)'))) / (select extract(epoch from '2026-07-17 19:41:29'::timestamp) - extract(epoch from '2026-07-17 19:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02411 -3.389591)'), GeomFromEWKT('SRID=4674;POINT (-39.024154 -3.389718)'))) / (select extract(epoch from '2026-07-17 19:41:29'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47442, 'SRID=4674;POINT (-39.024179 -3.38979)', '2026-07-17 19:41:33', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024154 -3.389718)'), GeomFromEWKT('SRID=4674;POINT (-39.024179 -3.38979)'))) / (select extract(epoch from '2026-07-17 19:41:33'::timestamp) - extract(epoch from '2026-07-17 19:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024154 -3.389718)'), GeomFromEWKT('SRID=4674;POINT (-39.024179 -3.38979)'))) / (select extract(epoch from '2026-07-17 19:41:33'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47442, 'SRID=4674;POINT (-39.024207 -3.389861)', '2026-07-17 19:41:37', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024179 -3.38979)'), GeomFromEWKT('SRID=4674;POINT (-39.024207 -3.389861)'))) / (select extract(epoch from '2026-07-17 19:41:37'::timestamp) - extract(epoch from '2026-07-17 19:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024179 -3.38979)'), GeomFromEWKT('SRID=4674;POINT (-39.024207 -3.389861)'))) / (select extract(epoch from '2026-07-17 19:41:37'::timestamp) - extract(epoch from '2026-07-17 19:41:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.02425 -3.389952)', '2026-07-17 19:41:42', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024207 -3.389861)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.389952)'))) / (select extract(epoch from '2026-07-17 19:41:42'::timestamp) - extract(epoch from '2026-07-17 19:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024207 -3.389861)'), GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.389952)'))) / (select extract(epoch from '2026-07-17 19:41:42'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47442, 'SRID=4674;POINT (-39.024295 -3.390087)', '2026-07-17 19:41:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.389952)'), GeomFromEWKT('SRID=4674;POINT (-39.024295 -3.390087)'))) / (select extract(epoch from '2026-07-17 19:41:49'::timestamp) - extract(epoch from '2026-07-17 19:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02425 -3.389952)'), GeomFromEWKT('SRID=4674;POINT (-39.024295 -3.390087)'))) / (select extract(epoch from '2026-07-17 19:41:49'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47442, 'SRID=4674;POINT (-39.024369 -3.39026)', '2026-07-17 19:41:58', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024295 -3.390087)'), GeomFromEWKT('SRID=4674;POINT (-39.024369 -3.39026)'))) / (select extract(epoch from '2026-07-17 19:41:58'::timestamp) - extract(epoch from '2026-07-17 19:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024295 -3.390087)'), GeomFromEWKT('SRID=4674;POINT (-39.024369 -3.39026)'))) / (select extract(epoch from '2026-07-17 19:41:58'::timestamp) - extract(epoch from '2026-07-17 19:41: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'), 47442, 'SRID=4674;POINT (-39.024419 -3.390372)', '2026-07-17 19:42:04', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024369 -3.39026)'), GeomFromEWKT('SRID=4674;POINT (-39.024419 -3.390372)'))) / (select extract(epoch from '2026-07-17 19:42:04'::timestamp) - extract(epoch from '2026-07-17 19:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024369 -3.39026)'), GeomFromEWKT('SRID=4674;POINT (-39.024419 -3.390372)'))) / (select extract(epoch from '2026-07-17 19:42:04'::timestamp) - extract(epoch from '2026-07-17 19:41:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024469 -3.390491)', '2026-07-17 19:42:10', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024419 -3.390372)'), GeomFromEWKT('SRID=4674;POINT (-39.024469 -3.390491)'))) / (select extract(epoch from '2026-07-17 19:42:10'::timestamp) - extract(epoch from '2026-07-17 19:42:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024419 -3.390372)'), GeomFromEWKT('SRID=4674;POINT (-39.024469 -3.390491)'))) / (select extract(epoch from '2026-07-17 19:42:10'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.024518 -3.390584)', '2026-07-17 19:42:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024469 -3.390491)'), GeomFromEWKT('SRID=4674;POINT (-39.024518 -3.390584)'))) / (select extract(epoch from '2026-07-17 19:42:15'::timestamp) - extract(epoch from '2026-07-17 19:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024469 -3.390491)'), GeomFromEWKT('SRID=4674;POINT (-39.024518 -3.390584)'))) / (select extract(epoch from '2026-07-17 19:42:15'::timestamp) - extract(epoch from '2026-07-17 19:42: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'), 47442, 'SRID=4674;POINT (-39.024558 -3.390722)', '2026-07-17 19:42:22', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024518 -3.390584)'), GeomFromEWKT('SRID=4674;POINT (-39.024558 -3.390722)'))) / (select extract(epoch from '2026-07-17 19:42:22'::timestamp) - extract(epoch from '2026-07-17 19:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024518 -3.390584)'), GeomFromEWKT('SRID=4674;POINT (-39.024558 -3.390722)'))) / (select extract(epoch from '2026-07-17 19:42:22'::timestamp) - extract(epoch from '2026-07-17 19:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024598 -3.390841)', '2026-07-17 19:42:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024558 -3.390722)'), GeomFromEWKT('SRID=4674;POINT (-39.024598 -3.390841)'))) / (select extract(epoch from '2026-07-17 19:42:28'::timestamp) - extract(epoch from '2026-07-17 19:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024558 -3.390722)'), GeomFromEWKT('SRID=4674;POINT (-39.024598 -3.390841)'))) / (select extract(epoch from '2026-07-17 19:42:28'::timestamp) - extract(epoch from '2026-07-17 19:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024639 -3.39096)', '2026-07-17 19:42:34', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024598 -3.390841)'), GeomFromEWKT('SRID=4674;POINT (-39.024639 -3.39096)'))) / (select extract(epoch from '2026-07-17 19:42:34'::timestamp) - extract(epoch from '2026-07-17 19:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024598 -3.390841)'), GeomFromEWKT('SRID=4674;POINT (-39.024639 -3.39096)'))) / (select extract(epoch from '2026-07-17 19:42:34'::timestamp) - extract(epoch from '2026-07-17 19:42: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'), 47442, 'SRID=4674;POINT (-39.024684 -3.391078)', '2026-07-17 19:42:40', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024639 -3.39096)'), GeomFromEWKT('SRID=4674;POINT (-39.024684 -3.391078)'))) / (select extract(epoch from '2026-07-17 19:42:40'::timestamp) - extract(epoch from '2026-07-17 19:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024639 -3.39096)'), GeomFromEWKT('SRID=4674;POINT (-39.024684 -3.391078)'))) / (select extract(epoch from '2026-07-17 19:42:40'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.024739 -3.391225)', '2026-07-17 19:42:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024684 -3.391078)'), GeomFromEWKT('SRID=4674;POINT (-39.024739 -3.391225)'))) / (select extract(epoch from '2026-07-17 19:42:47'::timestamp) - extract(epoch from '2026-07-17 19:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024684 -3.391078)'), GeomFromEWKT('SRID=4674;POINT (-39.024739 -3.391225)'))) / (select extract(epoch from '2026-07-17 19:42:47'::timestamp) - extract(epoch from '2026-07-17 19:42: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'), 47442, 'SRID=4674;POINT (-39.024786 -3.39135)', '2026-07-17 19:42:53', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024739 -3.391225)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.39135)'))) / (select extract(epoch from '2026-07-17 19:42:53'::timestamp) - extract(epoch from '2026-07-17 19:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024739 -3.391225)'), GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.39135)'))) / (select extract(epoch from '2026-07-17 19:42:53'::timestamp) - extract(epoch from '2026-07-17 19:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024828 -3.391462)', '2026-07-17 19:42:59', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.39135)'), GeomFromEWKT('SRID=4674;POINT (-39.024828 -3.391462)'))) / (select extract(epoch from '2026-07-17 19:42:59'::timestamp) - extract(epoch from '2026-07-17 19:42:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024786 -3.39135)'), GeomFromEWKT('SRID=4674;POINT (-39.024828 -3.391462)'))) / (select extract(epoch from '2026-07-17 19:42:59'::timestamp) - extract(epoch from '2026-07-17 19:42: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'), 47442, 'SRID=4674;POINT (-39.024871 -3.391573)', '2026-07-17 19:43:05', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024828 -3.391462)'), GeomFromEWKT('SRID=4674;POINT (-39.024871 -3.391573)'))) / (select extract(epoch from '2026-07-17 19:43:05'::timestamp) - extract(epoch from '2026-07-17 19:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024828 -3.391462)'), GeomFromEWKT('SRID=4674;POINT (-39.024871 -3.391573)'))) / (select extract(epoch from '2026-07-17 19:43:05'::timestamp) - extract(epoch from '2026-07-17 19:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.024908 -3.391674)', '2026-07-17 19:43:10', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024871 -3.391573)'), GeomFromEWKT('SRID=4674;POINT (-39.024908 -3.391674)'))) / (select extract(epoch from '2026-07-17 19:43:10'::timestamp) - extract(epoch from '2026-07-17 19:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024871 -3.391573)'), GeomFromEWKT('SRID=4674;POINT (-39.024908 -3.391674)'))) / (select extract(epoch from '2026-07-17 19:43:10'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.024961 -3.391786)', '2026-07-17 19:43:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024908 -3.391674)'), GeomFromEWKT('SRID=4674;POINT (-39.024961 -3.391786)'))) / (select extract(epoch from '2026-07-17 19:43:16'::timestamp) - extract(epoch from '2026-07-17 19:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024908 -3.391674)'), GeomFromEWKT('SRID=4674;POINT (-39.024961 -3.391786)'))) / (select extract(epoch from '2026-07-17 19:43:16'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47442, 'SRID=4674;POINT (-39.025003 -3.391889)', '2026-07-17 19:43:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024961 -3.391786)'), GeomFromEWKT('SRID=4674;POINT (-39.025003 -3.391889)'))) / (select extract(epoch from '2026-07-17 19:43:21'::timestamp) - extract(epoch from '2026-07-17 19:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.024961 -3.391786)'), GeomFromEWKT('SRID=4674;POINT (-39.025003 -3.391889)'))) / (select extract(epoch from '2026-07-17 19:43:21'::timestamp) - extract(epoch from '2026-07-17 19:43:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025042 -3.392012)', '2026-07-17 19:43:27', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025003 -3.391889)'), GeomFromEWKT('SRID=4674;POINT (-39.025042 -3.392012)'))) / (select extract(epoch from '2026-07-17 19:43:27'::timestamp) - extract(epoch from '2026-07-17 19:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025003 -3.391889)'), GeomFromEWKT('SRID=4674;POINT (-39.025042 -3.392012)'))) / (select extract(epoch from '2026-07-17 19:43:27'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47442, 'SRID=4674;POINT (-39.025061 -3.39211)', '2026-07-17 19:43:32', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025042 -3.392012)'), GeomFromEWKT('SRID=4674;POINT (-39.025061 -3.39211)'))) / (select extract(epoch from '2026-07-17 19:43:32'::timestamp) - extract(epoch from '2026-07-17 19:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025042 -3.392012)'), GeomFromEWKT('SRID=4674;POINT (-39.025061 -3.39211)'))) / (select extract(epoch from '2026-07-17 19:43:32'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47442, 'SRID=4674;POINT (-39.025102 -3.392235)', '2026-07-17 19:43:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025061 -3.39211)'), GeomFromEWKT('SRID=4674;POINT (-39.025102 -3.392235)'))) / (select extract(epoch from '2026-07-17 19:43:38'::timestamp) - extract(epoch from '2026-07-17 19:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025061 -3.39211)'), GeomFromEWKT('SRID=4674;POINT (-39.025102 -3.392235)'))) / (select extract(epoch from '2026-07-17 19:43:38'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47442, 'SRID=4674;POINT (-39.025152 -3.392343)', '2026-07-17 19:43:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025102 -3.392235)'), GeomFromEWKT('SRID=4674;POINT (-39.025152 -3.392343)'))) / (select extract(epoch from '2026-07-17 19:43:43'::timestamp) - extract(epoch from '2026-07-17 19:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025102 -3.392235)'), GeomFromEWKT('SRID=4674;POINT (-39.025152 -3.392343)'))) / (select extract(epoch from '2026-07-17 19:43:43'::timestamp) - extract(epoch from '2026-07-17 19:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025201 -3.392482)', '2026-07-17 19:43:50', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025152 -3.392343)'), GeomFromEWKT('SRID=4674;POINT (-39.025201 -3.392482)'))) / (select extract(epoch from '2026-07-17 19:43:50'::timestamp) - extract(epoch from '2026-07-17 19:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025152 -3.392343)'), GeomFromEWKT('SRID=4674;POINT (-39.025201 -3.392482)'))) / (select extract(epoch from '2026-07-17 19:43:50'::timestamp) - extract(epoch from '2026-07-17 19:43:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025244 -3.392605)', '2026-07-17 19:43:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025201 -3.392482)'), GeomFromEWKT('SRID=4674;POINT (-39.025244 -3.392605)'))) / (select extract(epoch from '2026-07-17 19:43:56'::timestamp) - extract(epoch from '2026-07-17 19:43:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025201 -3.392482)'), GeomFromEWKT('SRID=4674;POINT (-39.025244 -3.392605)'))) / (select extract(epoch from '2026-07-17 19:43:56'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47442, 'SRID=4674;POINT (-39.025273 -3.392701)', '2026-07-17 19:44:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025244 -3.392605)'), GeomFromEWKT('SRID=4674;POINT (-39.025273 -3.392701)'))) / (select extract(epoch from '2026-07-17 19:44:01'::timestamp) - extract(epoch from '2026-07-17 19:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025244 -3.392605)'), GeomFromEWKT('SRID=4674;POINT (-39.025273 -3.392701)'))) / (select extract(epoch from '2026-07-17 19:44:01'::timestamp) - extract(epoch from '2026-07-17 19:43: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'), 47442, 'SRID=4674;POINT (-39.025302 -3.392796)', '2026-07-17 19:44:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025273 -3.392701)'), GeomFromEWKT('SRID=4674;POINT (-39.025302 -3.392796)'))) / (select extract(epoch from '2026-07-17 19:44:06'::timestamp) - extract(epoch from '2026-07-17 19:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025273 -3.392701)'), GeomFromEWKT('SRID=4674;POINT (-39.025302 -3.392796)'))) / (select extract(epoch from '2026-07-17 19:44:06'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.02534 -3.392882)', '2026-07-17 19:44:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025302 -3.392796)'), GeomFromEWKT('SRID=4674;POINT (-39.02534 -3.392882)'))) / (select extract(epoch from '2026-07-17 19:44:10'::timestamp) - extract(epoch from '2026-07-17 19:44:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025302 -3.392796)'), GeomFromEWKT('SRID=4674;POINT (-39.02534 -3.392882)'))) / (select extract(epoch from '2026-07-17 19:44:10'::timestamp) - extract(epoch from '2026-07-17 19:44:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025341 -3.392901)', '2026-07-17 19:44:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02534 -3.392882)'), GeomFromEWKT('SRID=4674;POINT (-39.025341 -3.392901)'))) / (select extract(epoch from '2026-07-17 19:44:11'::timestamp) - extract(epoch from '2026-07-17 19:44:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02534 -3.392882)'), GeomFromEWKT('SRID=4674;POINT (-39.025341 -3.392901)'))) / (select extract(epoch from '2026-07-17 19:44:11'::timestamp) - extract(epoch from '2026-07-17 19:44:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025349 -3.39292)', '2026-07-17 19:44:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025341 -3.392901)'), GeomFromEWKT('SRID=4674;POINT (-39.025349 -3.39292)'))) / (select extract(epoch from '2026-07-17 19:44:12'::timestamp) - extract(epoch from '2026-07-17 19:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025341 -3.392901)'), GeomFromEWKT('SRID=4674;POINT (-39.025349 -3.39292)'))) / (select extract(epoch from '2026-07-17 19:44:12'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47442, 'SRID=4674;POINT (-39.025384 -3.392973)', '2026-07-17 19:44:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025349 -3.39292)'), GeomFromEWKT('SRID=4674;POINT (-39.025384 -3.392973)'))) / (select extract(epoch from '2026-07-17 19:44:15'::timestamp) - extract(epoch from '2026-07-17 19:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025349 -3.39292)'), GeomFromEWKT('SRID=4674;POINT (-39.025384 -3.392973)'))) / (select extract(epoch from '2026-07-17 19:44:15'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47442, 'SRID=4674;POINT (-39.025436 -3.393089)', '2026-07-17 19:44:21', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025384 -3.392973)'), GeomFromEWKT('SRID=4674;POINT (-39.025436 -3.393089)'))) / (select extract(epoch from '2026-07-17 19:44:21'::timestamp) - extract(epoch from '2026-07-17 19:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025384 -3.392973)'), GeomFromEWKT('SRID=4674;POINT (-39.025436 -3.393089)'))) / (select extract(epoch from '2026-07-17 19:44:21'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47442, 'SRID=4674;POINT (-39.025472 -3.39319)', '2026-07-17 19:44:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025436 -3.393089)'), GeomFromEWKT('SRID=4674;POINT (-39.025472 -3.39319)'))) / (select extract(epoch from '2026-07-17 19:44:26'::timestamp) - extract(epoch from '2026-07-17 19:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025436 -3.393089)'), GeomFromEWKT('SRID=4674;POINT (-39.025472 -3.39319)'))) / (select extract(epoch from '2026-07-17 19:44:26'::timestamp) - extract(epoch from '2026-07-17 19:44:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025515 -3.393295)', '2026-07-17 19:44:31', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025472 -3.39319)'), GeomFromEWKT('SRID=4674;POINT (-39.025515 -3.393295)'))) / (select extract(epoch from '2026-07-17 19:44:31'::timestamp) - extract(epoch from '2026-07-17 19:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025472 -3.39319)'), GeomFromEWKT('SRID=4674;POINT (-39.025515 -3.393295)'))) / (select extract(epoch from '2026-07-17 19:44:31'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47442, 'SRID=4674;POINT (-39.025548 -3.393414)', '2026-07-17 19:44:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025515 -3.393295)'), GeomFromEWKT('SRID=4674;POINT (-39.025548 -3.393414)'))) / (select extract(epoch from '2026-07-17 19:44:37'::timestamp) - extract(epoch from '2026-07-17 19:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025515 -3.393295)'), GeomFromEWKT('SRID=4674;POINT (-39.025548 -3.393414)'))) / (select extract(epoch from '2026-07-17 19:44:37'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47442, 'SRID=4674;POINT (-39.025607 -3.393575)', '2026-07-17 19:44:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025548 -3.393414)'), GeomFromEWKT('SRID=4674;POINT (-39.025607 -3.393575)'))) / (select extract(epoch from '2026-07-17 19:44:45'::timestamp) - extract(epoch from '2026-07-17 19:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025548 -3.393414)'), GeomFromEWKT('SRID=4674;POINT (-39.025607 -3.393575)'))) / (select extract(epoch from '2026-07-17 19:44:45'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.025659 -3.393741)', '2026-07-17 19:44:53', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025607 -3.393575)'), GeomFromEWKT('SRID=4674;POINT (-39.025659 -3.393741)'))) / (select extract(epoch from '2026-07-17 19:44:53'::timestamp) - extract(epoch from '2026-07-17 19:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025607 -3.393575)'), GeomFromEWKT('SRID=4674;POINT (-39.025659 -3.393741)'))) / (select extract(epoch from '2026-07-17 19:44:53'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.025708 -3.393867)', '2026-07-17 19:44:59', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025659 -3.393741)'), GeomFromEWKT('SRID=4674;POINT (-39.025708 -3.393867)'))) / (select extract(epoch from '2026-07-17 19:44:59'::timestamp) - extract(epoch from '2026-07-17 19:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025659 -3.393741)'), GeomFromEWKT('SRID=4674;POINT (-39.025708 -3.393867)'))) / (select extract(epoch from '2026-07-17 19:44:59'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47442, 'SRID=4674;POINT (-39.025768 -3.394033)', '2026-07-17 19:45:07', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025708 -3.393867)'), GeomFromEWKT('SRID=4674;POINT (-39.025768 -3.394033)'))) / (select extract(epoch from '2026-07-17 19:45:07'::timestamp) - extract(epoch from '2026-07-17 19:44:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025708 -3.393867)'), GeomFromEWKT('SRID=4674;POINT (-39.025768 -3.394033)'))) / (select extract(epoch from '2026-07-17 19:45:07'::timestamp) - extract(epoch from '2026-07-17 19:44: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'), 47442, 'SRID=4674;POINT (-39.02581 -3.394175)', '2026-07-17 19:45:14', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025768 -3.394033)'), GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.394175)'))) / (select extract(epoch from '2026-07-17 19:45:14'::timestamp) - extract(epoch from '2026-07-17 19:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025768 -3.394033)'), GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.394175)'))) / (select extract(epoch from '2026-07-17 19:45:14'::timestamp) - extract(epoch from '2026-07-17 19:45:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025844 -3.394321)', '2026-07-17 19:45:21', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.394175)'), GeomFromEWKT('SRID=4674;POINT (-39.025844 -3.394321)'))) / (select extract(epoch from '2026-07-17 19:45:21'::timestamp) - extract(epoch from '2026-07-17 19:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02581 -3.394175)'), GeomFromEWKT('SRID=4674;POINT (-39.025844 -3.394321)'))) / (select extract(epoch from '2026-07-17 19:45:21'::timestamp) - extract(epoch from '2026-07-17 19:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025885 -3.394449)', '2026-07-17 19:45:27', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025844 -3.394321)'), GeomFromEWKT('SRID=4674;POINT (-39.025885 -3.394449)'))) / (select extract(epoch from '2026-07-17 19:45:27'::timestamp) - extract(epoch from '2026-07-17 19:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025844 -3.394321)'), GeomFromEWKT('SRID=4674;POINT (-39.025885 -3.394449)'))) / (select extract(epoch from '2026-07-17 19:45:27'::timestamp) - extract(epoch from '2026-07-17 19:45:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025909 -3.394522)', '2026-07-17 19:45:31', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025885 -3.394449)'), GeomFromEWKT('SRID=4674;POINT (-39.025909 -3.394522)'))) / (select extract(epoch from '2026-07-17 19:45:31'::timestamp) - extract(epoch from '2026-07-17 19:45:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025885 -3.394449)'), GeomFromEWKT('SRID=4674;POINT (-39.025909 -3.394522)'))) / (select extract(epoch from '2026-07-17 19:45:31'::timestamp) - extract(epoch from '2026-07-17 19:45:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025917 -3.394542)', '2026-07-17 19:45:32', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025909 -3.394522)'), GeomFromEWKT('SRID=4674;POINT (-39.025917 -3.394542)'))) / (select extract(epoch from '2026-07-17 19:45:32'::timestamp) - extract(epoch from '2026-07-17 19:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025909 -3.394522)'), GeomFromEWKT('SRID=4674;POINT (-39.025917 -3.394542)'))) / (select extract(epoch from '2026-07-17 19:45:32'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.025956 -3.394678)', '2026-07-17 19:45:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025917 -3.394542)'), GeomFromEWKT('SRID=4674;POINT (-39.025956 -3.394678)'))) / (select extract(epoch from '2026-07-17 19:45:39'::timestamp) - extract(epoch from '2026-07-17 19:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025917 -3.394542)'), GeomFromEWKT('SRID=4674;POINT (-39.025956 -3.394678)'))) / (select extract(epoch from '2026-07-17 19:45:39'::timestamp) - extract(epoch from '2026-07-17 19:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.025988 -3.394766)', '2026-07-17 19:45:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025956 -3.394678)'), GeomFromEWKT('SRID=4674;POINT (-39.025988 -3.394766)'))) / (select extract(epoch from '2026-07-17 19:45:43'::timestamp) - extract(epoch from '2026-07-17 19:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025956 -3.394678)'), GeomFromEWKT('SRID=4674;POINT (-39.025988 -3.394766)'))) / (select extract(epoch from '2026-07-17 19:45:43'::timestamp) - extract(epoch from '2026-07-17 19:45:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026031 -3.394908)', '2026-07-17 19:45:50', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025988 -3.394766)'), GeomFromEWKT('SRID=4674;POINT (-39.026031 -3.394908)'))) / (select extract(epoch from '2026-07-17 19:45:50'::timestamp) - extract(epoch from '2026-07-17 19:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.025988 -3.394766)'), GeomFromEWKT('SRID=4674;POINT (-39.026031 -3.394908)'))) / (select extract(epoch from '2026-07-17 19:45:50'::timestamp) - extract(epoch from '2026-07-17 19:45: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'), 47442, 'SRID=4674;POINT (-39.026061 -3.395011)', '2026-07-17 19:45:55', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026031 -3.394908)'), GeomFromEWKT('SRID=4674;POINT (-39.026061 -3.395011)'))) / (select extract(epoch from '2026-07-17 19:45:55'::timestamp) - extract(epoch from '2026-07-17 19:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026031 -3.394908)'), GeomFromEWKT('SRID=4674;POINT (-39.026061 -3.395011)'))) / (select extract(epoch from '2026-07-17 19:45:55'::timestamp) - extract(epoch from '2026-07-17 19:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026104 -3.39513)', '2026-07-17 19:46:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026061 -3.395011)'), GeomFromEWKT('SRID=4674;POINT (-39.026104 -3.39513)'))) / (select extract(epoch from '2026-07-17 19:46:01'::timestamp) - extract(epoch from '2026-07-17 19:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026061 -3.395011)'), GeomFromEWKT('SRID=4674;POINT (-39.026104 -3.39513)'))) / (select extract(epoch from '2026-07-17 19:46:01'::timestamp) - extract(epoch from '2026-07-17 19:45: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'), 47442, 'SRID=4674;POINT (-39.026145 -3.39525)', '2026-07-17 19:46:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026104 -3.39513)'), GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.39525)'))) / (select extract(epoch from '2026-07-17 19:46:07'::timestamp) - extract(epoch from '2026-07-17 19:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026104 -3.39513)'), GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.39525)'))) / (select extract(epoch from '2026-07-17 19:46:07'::timestamp) - extract(epoch from '2026-07-17 19:46:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026169 -3.395369)', '2026-07-17 19:46:13', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.39525)'), GeomFromEWKT('SRID=4674;POINT (-39.026169 -3.395369)'))) / (select extract(epoch from '2026-07-17 19:46:13'::timestamp) - extract(epoch from '2026-07-17 19:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026145 -3.39525)'), GeomFromEWKT('SRID=4674;POINT (-39.026169 -3.395369)'))) / (select extract(epoch from '2026-07-17 19:46:13'::timestamp) - extract(epoch from '2026-07-17 19:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026223 -3.395487)', '2026-07-17 19:46:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026169 -3.395369)'), GeomFromEWKT('SRID=4674;POINT (-39.026223 -3.395487)'))) / (select extract(epoch from '2026-07-17 19:46:19'::timestamp) - extract(epoch from '2026-07-17 19:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026169 -3.395369)'), GeomFromEWKT('SRID=4674;POINT (-39.026223 -3.395487)'))) / (select extract(epoch from '2026-07-17 19:46:19'::timestamp) - extract(epoch from '2026-07-17 19:46: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'), 47442, 'SRID=4674;POINT (-39.026275 -3.395629)', '2026-07-17 19:46:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026223 -3.395487)'), GeomFromEWKT('SRID=4674;POINT (-39.026275 -3.395629)'))) / (select extract(epoch from '2026-07-17 19:46:26'::timestamp) - extract(epoch from '2026-07-17 19:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026223 -3.395487)'), GeomFromEWKT('SRID=4674;POINT (-39.026275 -3.395629)'))) / (select extract(epoch from '2026-07-17 19:46:26'::timestamp) - extract(epoch from '2026-07-17 19:46: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'), 47442, 'SRID=4674;POINT (-39.026324 -3.395764)', '2026-07-17 19:46:33', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026275 -3.395629)'), GeomFromEWKT('SRID=4674;POINT (-39.026324 -3.395764)'))) / (select extract(epoch from '2026-07-17 19:46:33'::timestamp) - extract(epoch from '2026-07-17 19:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026275 -3.395629)'), GeomFromEWKT('SRID=4674;POINT (-39.026324 -3.395764)'))) / (select extract(epoch from '2026-07-17 19:46:33'::timestamp) - extract(epoch from '2026-07-17 19:46: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'), 47442, 'SRID=4674;POINT (-39.026368 -3.395863)', '2026-07-17 19:46:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026324 -3.395764)'), GeomFromEWKT('SRID=4674;POINT (-39.026368 -3.395863)'))) / (select extract(epoch from '2026-07-17 19:46:38'::timestamp) - extract(epoch from '2026-07-17 19:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026324 -3.395764)'), GeomFromEWKT('SRID=4674;POINT (-39.026368 -3.395863)'))) / (select extract(epoch from '2026-07-17 19:46:38'::timestamp) - extract(epoch from '2026-07-17 19:46: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'), 47442, 'SRID=4674;POINT (-39.026403 -3.395961)', '2026-07-17 19:46:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026368 -3.395863)'), GeomFromEWKT('SRID=4674;POINT (-39.026403 -3.395961)'))) / (select extract(epoch from '2026-07-17 19:46:43'::timestamp) - extract(epoch from '2026-07-17 19:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026368 -3.395863)'), GeomFromEWKT('SRID=4674;POINT (-39.026403 -3.395961)'))) / (select extract(epoch from '2026-07-17 19:46:43'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.026468 -3.396098)', '2026-07-17 19:46:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026403 -3.395961)'), GeomFromEWKT('SRID=4674;POINT (-39.026468 -3.396098)'))) / (select extract(epoch from '2026-07-17 19:46:50'::timestamp) - extract(epoch from '2026-07-17 19:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026403 -3.395961)'), GeomFromEWKT('SRID=4674;POINT (-39.026468 -3.396098)'))) / (select extract(epoch from '2026-07-17 19:46:50'::timestamp) - extract(epoch from '2026-07-17 19:46: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'), 47442, 'SRID=4674;POINT (-39.026525 -3.396241)', '2026-07-17 19:46:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026468 -3.396098)'), GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.396241)'))) / (select extract(epoch from '2026-07-17 19:46:57'::timestamp) - extract(epoch from '2026-07-17 19:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026468 -3.396098)'), GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.396241)'))) / (select extract(epoch from '2026-07-17 19:46:57'::timestamp) - extract(epoch from '2026-07-17 19:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026578 -3.396367)', '2026-07-17 19:47:03', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.396241)'), GeomFromEWKT('SRID=4674;POINT (-39.026578 -3.396367)'))) / (select extract(epoch from '2026-07-17 19:47:03'::timestamp) - extract(epoch from '2026-07-17 19:46:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026525 -3.396241)'), GeomFromEWKT('SRID=4674;POINT (-39.026578 -3.396367)'))) / (select extract(epoch from '2026-07-17 19:47:03'::timestamp) - extract(epoch from '2026-07-17 19:46:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026611 -3.396468)', '2026-07-17 19:47:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026578 -3.396367)'), GeomFromEWKT('SRID=4674;POINT (-39.026611 -3.396468)'))) / (select extract(epoch from '2026-07-17 19:47:08'::timestamp) - extract(epoch from '2026-07-17 19:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026578 -3.396367)'), GeomFromEWKT('SRID=4674;POINT (-39.026611 -3.396468)'))) / (select extract(epoch from '2026-07-17 19:47:08'::timestamp) - extract(epoch from '2026-07-17 19:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026663 -3.396591)', '2026-07-17 19:47:14', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026611 -3.396468)'), GeomFromEWKT('SRID=4674;POINT (-39.026663 -3.396591)'))) / (select extract(epoch from '2026-07-17 19:47:14'::timestamp) - extract(epoch from '2026-07-17 19:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026611 -3.396468)'), GeomFromEWKT('SRID=4674;POINT (-39.026663 -3.396591)'))) / (select extract(epoch from '2026-07-17 19:47:14'::timestamp) - extract(epoch from '2026-07-17 19:47: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'), 47442, 'SRID=4674;POINT (-39.02669 -3.396734)', '2026-07-17 19:47:21', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026663 -3.396591)'), GeomFromEWKT('SRID=4674;POINT (-39.02669 -3.396734)'))) / (select extract(epoch from '2026-07-17 19:47:21'::timestamp) - extract(epoch from '2026-07-17 19:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026663 -3.396591)'), GeomFromEWKT('SRID=4674;POINT (-39.02669 -3.396734)'))) / (select extract(epoch from '2026-07-17 19:47:21'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.026728 -3.396882)', '2026-07-17 19:47:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02669 -3.396734)'), GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.396882)'))) / (select extract(epoch from '2026-07-17 19:47:28'::timestamp) - extract(epoch from '2026-07-17 19:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02669 -3.396734)'), GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.396882)'))) / (select extract(epoch from '2026-07-17 19:47:28'::timestamp) - extract(epoch from '2026-07-17 19:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026762 -3.397006)', '2026-07-17 19:47:34', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.396882)'), GeomFromEWKT('SRID=4674;POINT (-39.026762 -3.397006)'))) / (select extract(epoch from '2026-07-17 19:47:34'::timestamp) - extract(epoch from '2026-07-17 19:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026728 -3.396882)'), GeomFromEWKT('SRID=4674;POINT (-39.026762 -3.397006)'))) / (select extract(epoch from '2026-07-17 19:47:34'::timestamp) - extract(epoch from '2026-07-17 19:47: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'), 47442, 'SRID=4674;POINT (-39.026802 -3.397138)', '2026-07-17 19:47:40', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026762 -3.397006)'), GeomFromEWKT('SRID=4674;POINT (-39.026802 -3.397138)'))) / (select extract(epoch from '2026-07-17 19:47:40'::timestamp) - extract(epoch from '2026-07-17 19:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026762 -3.397006)'), GeomFromEWKT('SRID=4674;POINT (-39.026802 -3.397138)'))) / (select extract(epoch from '2026-07-17 19:47:40'::timestamp) - extract(epoch from '2026-07-17 19:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026843 -3.397257)', '2026-07-17 19:47:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026802 -3.397138)'), GeomFromEWKT('SRID=4674;POINT (-39.026843 -3.397257)'))) / (select extract(epoch from '2026-07-17 19:47:47'::timestamp) - extract(epoch from '2026-07-17 19:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026802 -3.397138)'), GeomFromEWKT('SRID=4674;POINT (-39.026843 -3.397257)'))) / (select extract(epoch from '2026-07-17 19:47:47'::timestamp) - extract(epoch from '2026-07-17 19:47:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026876 -3.397385)', '2026-07-17 19:47:53', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026843 -3.397257)'), GeomFromEWKT('SRID=4674;POINT (-39.026876 -3.397385)'))) / (select extract(epoch from '2026-07-17 19:47:53'::timestamp) - extract(epoch from '2026-07-17 19:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026843 -3.397257)'), GeomFromEWKT('SRID=4674;POINT (-39.026876 -3.397385)'))) / (select extract(epoch from '2026-07-17 19:47:53'::timestamp) - extract(epoch from '2026-07-17 19:47: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'), 47442, 'SRID=4674;POINT (-39.02693 -3.397524)', '2026-07-17 19:48:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026876 -3.397385)'), GeomFromEWKT('SRID=4674;POINT (-39.02693 -3.397524)'))) / (select extract(epoch from '2026-07-17 19:48:00'::timestamp) - extract(epoch from '2026-07-17 19:47:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026876 -3.397385)'), GeomFromEWKT('SRID=4674;POINT (-39.02693 -3.397524)'))) / (select extract(epoch from '2026-07-17 19:48:00'::timestamp) - extract(epoch from '2026-07-17 19:47:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.026976 -3.397639)', '2026-07-17 19:48:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02693 -3.397524)'), GeomFromEWKT('SRID=4674;POINT (-39.026976 -3.397639)'))) / (select extract(epoch from '2026-07-17 19:48:06'::timestamp) - extract(epoch from '2026-07-17 19:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02693 -3.397524)'), GeomFromEWKT('SRID=4674;POINT (-39.026976 -3.397639)'))) / (select extract(epoch from '2026-07-17 19:48:06'::timestamp) - extract(epoch from '2026-07-17 19:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027031 -3.397784)', '2026-07-17 19:48:13', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026976 -3.397639)'), GeomFromEWKT('SRID=4674;POINT (-39.027031 -3.397784)'))) / (select extract(epoch from '2026-07-17 19:48:13'::timestamp) - extract(epoch from '2026-07-17 19:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.026976 -3.397639)'), GeomFromEWKT('SRID=4674;POINT (-39.027031 -3.397784)'))) / (select extract(epoch from '2026-07-17 19:48:13'::timestamp) - extract(epoch from '2026-07-17 19:48: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'), 47442, 'SRID=4674;POINT (-39.027069 -3.39791)', '2026-07-17 19:48:19', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027031 -3.397784)'), GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.39791)'))) / (select extract(epoch from '2026-07-17 19:48:19'::timestamp) - extract(epoch from '2026-07-17 19:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027031 -3.397784)'), GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.39791)'))) / (select extract(epoch from '2026-07-17 19:48:19'::timestamp) - extract(epoch from '2026-07-17 19:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027106 -3.398036)', '2026-07-17 19:48:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.39791)'), GeomFromEWKT('SRID=4674;POINT (-39.027106 -3.398036)'))) / (select extract(epoch from '2026-07-17 19:48:25'::timestamp) - extract(epoch from '2026-07-17 19:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027069 -3.39791)'), GeomFromEWKT('SRID=4674;POINT (-39.027106 -3.398036)'))) / (select extract(epoch from '2026-07-17 19:48:25'::timestamp) - extract(epoch from '2026-07-17 19:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027148 -3.398158)', '2026-07-17 19:48:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027106 -3.398036)'), GeomFromEWKT('SRID=4674;POINT (-39.027148 -3.398158)'))) / (select extract(epoch from '2026-07-17 19:48:31'::timestamp) - extract(epoch from '2026-07-17 19:48:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027106 -3.398036)'), GeomFromEWKT('SRID=4674;POINT (-39.027148 -3.398158)'))) / (select extract(epoch from '2026-07-17 19:48:31'::timestamp) - extract(epoch from '2026-07-17 19:48:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027193 -3.398298)', '2026-07-17 19:48:38', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027148 -3.398158)'), GeomFromEWKT('SRID=4674;POINT (-39.027193 -3.398298)'))) / (select extract(epoch from '2026-07-17 19:48:38'::timestamp) - extract(epoch from '2026-07-17 19:48:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027148 -3.398158)'), GeomFromEWKT('SRID=4674;POINT (-39.027193 -3.398298)'))) / (select extract(epoch from '2026-07-17 19:48:38'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.027239 -3.398423)', '2026-07-17 19:48:44', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027193 -3.398298)'), GeomFromEWKT('SRID=4674;POINT (-39.027239 -3.398423)'))) / (select extract(epoch from '2026-07-17 19:48:44'::timestamp) - extract(epoch from '2026-07-17 19:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027193 -3.398298)'), GeomFromEWKT('SRID=4674;POINT (-39.027239 -3.398423)'))) / (select extract(epoch from '2026-07-17 19:48:44'::timestamp) - extract(epoch from '2026-07-17 19:48: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'), 47442, 'SRID=4674;POINT (-39.027265 -3.398516)', '2026-07-17 19:48:49', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027239 -3.398423)'), GeomFromEWKT('SRID=4674;POINT (-39.027265 -3.398516)'))) / (select extract(epoch from '2026-07-17 19:48:49'::timestamp) - extract(epoch from '2026-07-17 19:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027239 -3.398423)'), GeomFromEWKT('SRID=4674;POINT (-39.027265 -3.398516)'))) / (select extract(epoch from '2026-07-17 19:48:49'::timestamp) - extract(epoch from '2026-07-17 19:48: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'), 47442, 'SRID=4674;POINT (-39.027293 -3.398622)', '2026-07-17 19:48:54', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027265 -3.398516)'), GeomFromEWKT('SRID=4674;POINT (-39.027293 -3.398622)'))) / (select extract(epoch from '2026-07-17 19:48:54'::timestamp) - extract(epoch from '2026-07-17 19:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027265 -3.398516)'), GeomFromEWKT('SRID=4674;POINT (-39.027293 -3.398622)'))) / (select extract(epoch from '2026-07-17 19:48:54'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.027331 -3.398735)', '2026-07-17 19:49:00', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027293 -3.398622)'), GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.398735)'))) / (select extract(epoch from '2026-07-17 19:49:00'::timestamp) - extract(epoch from '2026-07-17 19:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027293 -3.398622)'), GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.398735)'))) / (select extract(epoch from '2026-07-17 19:49:00'::timestamp) - extract(epoch from '2026-07-17 19:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027387 -3.398874)', '2026-07-17 19:49:07', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.398735)'), GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.398874)'))) / (select extract(epoch from '2026-07-17 19:49:07'::timestamp) - extract(epoch from '2026-07-17 19:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027331 -3.398735)'), GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.398874)'))) / (select extract(epoch from '2026-07-17 19:49:07'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47442, 'SRID=4674;POINT (-39.02743 -3.398977)', '2026-07-17 19:49:12', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.398874)'), GeomFromEWKT('SRID=4674;POINT (-39.02743 -3.398977)'))) / (select extract(epoch from '2026-07-17 19:49:12'::timestamp) - extract(epoch from '2026-07-17 19:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027387 -3.398874)'), GeomFromEWKT('SRID=4674;POINT (-39.02743 -3.398977)'))) / (select extract(epoch from '2026-07-17 19:49:12'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47442, 'SRID=4674;POINT (-39.027484 -3.399084)', '2026-07-17 19:49:18', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02743 -3.398977)'), GeomFromEWKT('SRID=4674;POINT (-39.027484 -3.399084)'))) / (select extract(epoch from '2026-07-17 19:49:18'::timestamp) - extract(epoch from '2026-07-17 19:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02743 -3.398977)'), GeomFromEWKT('SRID=4674;POINT (-39.027484 -3.399084)'))) / (select extract(epoch from '2026-07-17 19:49:18'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47442, 'SRID=4674;POINT (-39.027557 -3.399239)', '2026-07-17 19:49:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027484 -3.399084)'), GeomFromEWKT('SRID=4674;POINT (-39.027557 -3.399239)'))) / (select extract(epoch from '2026-07-17 19:49:26'::timestamp) - extract(epoch from '2026-07-17 19:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027484 -3.399084)'), GeomFromEWKT('SRID=4674;POINT (-39.027557 -3.399239)'))) / (select extract(epoch from '2026-07-17 19:49:26'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.027599 -3.399362)', '2026-07-17 19:49:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027557 -3.399239)'), GeomFromEWKT('SRID=4674;POINT (-39.027599 -3.399362)'))) / (select extract(epoch from '2026-07-17 19:49:32'::timestamp) - extract(epoch from '2026-07-17 19:49:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027557 -3.399239)'), GeomFromEWKT('SRID=4674;POINT (-39.027599 -3.399362)'))) / (select extract(epoch from '2026-07-17 19:49:32'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47442, 'SRID=4674;POINT (-39.027634 -3.399468)', '2026-07-17 19:49:37', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027599 -3.399362)'), GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.399468)'))) / (select extract(epoch from '2026-07-17 19:49:37'::timestamp) - extract(epoch from '2026-07-17 19:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027599 -3.399362)'), GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.399468)'))) / (select extract(epoch from '2026-07-17 19:49:37'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47442, 'SRID=4674;POINT (-39.02767 -3.39959)', '2026-07-17 19:49:43', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.399468)'), GeomFromEWKT('SRID=4674;POINT (-39.02767 -3.39959)'))) / (select extract(epoch from '2026-07-17 19:49:43'::timestamp) - extract(epoch from '2026-07-17 19:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027634 -3.399468)'), GeomFromEWKT('SRID=4674;POINT (-39.02767 -3.39959)'))) / (select extract(epoch from '2026-07-17 19:49:43'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47442, 'SRID=4674;POINT (-39.027703 -3.399733)', '2026-07-17 19:49:50', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02767 -3.39959)'), GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.399733)'))) / (select extract(epoch from '2026-07-17 19:49:50'::timestamp) - extract(epoch from '2026-07-17 19:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02767 -3.39959)'), GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.399733)'))) / (select extract(epoch from '2026-07-17 19:49:50'::timestamp) - extract(epoch from '2026-07-17 19:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.027738 -3.399861)', '2026-07-17 19:49:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.399733)'), GeomFromEWKT('SRID=4674;POINT (-39.027738 -3.399861)'))) / (select extract(epoch from '2026-07-17 19:49:56'::timestamp) - extract(epoch from '2026-07-17 19:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027703 -3.399733)'), GeomFromEWKT('SRID=4674;POINT (-39.027738 -3.399861)'))) / (select extract(epoch from '2026-07-17 19:49:56'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47442, 'SRID=4674;POINT (-39.027791 -3.400001)', '2026-07-17 19:50:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027738 -3.399861)'), GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.400001)'))) / (select extract(epoch from '2026-07-17 19:50:03'::timestamp) - extract(epoch from '2026-07-17 19:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027738 -3.399861)'), GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.400001)'))) / (select extract(epoch from '2026-07-17 19:50:03'::timestamp) - extract(epoch from '2026-07-17 19:49: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'), 47442, 'SRID=4674;POINT (-39.027815 -3.400125)', '2026-07-17 19:50:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.400001)'), GeomFromEWKT('SRID=4674;POINT (-39.027815 -3.400125)'))) / (select extract(epoch from '2026-07-17 19:50:09'::timestamp) - extract(epoch from '2026-07-17 19:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027791 -3.400001)'), GeomFromEWKT('SRID=4674;POINT (-39.027815 -3.400125)'))) / (select extract(epoch from '2026-07-17 19:50:09'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47442, 'SRID=4674;POINT (-39.027855 -3.400253)', '2026-07-17 19:50:15', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027815 -3.400125)'), GeomFromEWKT('SRID=4674;POINT (-39.027855 -3.400253)'))) / (select extract(epoch from '2026-07-17 19:50:15'::timestamp) - extract(epoch from '2026-07-17 19:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027815 -3.400125)'), GeomFromEWKT('SRID=4674;POINT (-39.027855 -3.400253)'))) / (select extract(epoch from '2026-07-17 19:50:15'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47442, 'SRID=4674;POINT (-39.027918 -3.400368)', '2026-07-17 19:50:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027855 -3.400253)'), GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.400368)'))) / (select extract(epoch from '2026-07-17 19:50:21'::timestamp) - extract(epoch from '2026-07-17 19:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027855 -3.400253)'), GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.400368)'))) / (select extract(epoch from '2026-07-17 19:50:21'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47442, 'SRID=4674;POINT (-39.027968 -3.400533)', '2026-07-17 19:50:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.400368)'), GeomFromEWKT('SRID=4674;POINT (-39.027968 -3.400533)'))) / (select extract(epoch from '2026-07-17 19:50:29'::timestamp) - extract(epoch from '2026-07-17 19:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027918 -3.400368)'), GeomFromEWKT('SRID=4674;POINT (-39.027968 -3.400533)'))) / (select extract(epoch from '2026-07-17 19:50:29'::timestamp) - extract(epoch from '2026-07-17 19:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028015 -3.400654)', '2026-07-17 19:50:35', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027968 -3.400533)'), GeomFromEWKT('SRID=4674;POINT (-39.028015 -3.400654)'))) / (select extract(epoch from '2026-07-17 19:50:35'::timestamp) - extract(epoch from '2026-07-17 19:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.027968 -3.400533)'), GeomFromEWKT('SRID=4674;POINT (-39.028015 -3.400654)'))) / (select extract(epoch from '2026-07-17 19:50:35'::timestamp) - extract(epoch from '2026-07-17 19:50:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028067 -3.400781)', '2026-07-17 19:50:41', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028015 -3.400654)'), GeomFromEWKT('SRID=4674;POINT (-39.028067 -3.400781)'))) / (select extract(epoch from '2026-07-17 19:50:41'::timestamp) - extract(epoch from '2026-07-17 19:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028015 -3.400654)'), GeomFromEWKT('SRID=4674;POINT (-39.028067 -3.400781)'))) / (select extract(epoch from '2026-07-17 19:50:41'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47442, 'SRID=4674;POINT (-39.028102 -3.40088)', '2026-07-17 19:50:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028067 -3.400781)'), GeomFromEWKT('SRID=4674;POINT (-39.028102 -3.40088)'))) / (select extract(epoch from '2026-07-17 19:50:46'::timestamp) - extract(epoch from '2026-07-17 19:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028067 -3.400781)'), GeomFromEWKT('SRID=4674;POINT (-39.028102 -3.40088)'))) / (select extract(epoch from '2026-07-17 19:50:46'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47442, 'SRID=4674;POINT (-39.028144 -3.401012)', '2026-07-17 19:50:52', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028102 -3.40088)'), GeomFromEWKT('SRID=4674;POINT (-39.028144 -3.401012)'))) / (select extract(epoch from '2026-07-17 19:50:52'::timestamp) - extract(epoch from '2026-07-17 19:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028102 -3.40088)'), GeomFromEWKT('SRID=4674;POINT (-39.028144 -3.401012)'))) / (select extract(epoch from '2026-07-17 19:50:52'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.02816 -3.40114)', '2026-07-17 19:50:58', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028144 -3.401012)'), GeomFromEWKT('SRID=4674;POINT (-39.02816 -3.40114)'))) / (select extract(epoch from '2026-07-17 19:50:58'::timestamp) - extract(epoch from '2026-07-17 19:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028144 -3.401012)'), GeomFromEWKT('SRID=4674;POINT (-39.02816 -3.40114)'))) / (select extract(epoch from '2026-07-17 19:50:58'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47442, 'SRID=4674;POINT (-39.02819 -3.401317)', '2026-07-17 19:51:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02816 -3.40114)'), GeomFromEWKT('SRID=4674;POINT (-39.02819 -3.401317)'))) / (select extract(epoch from '2026-07-17 19:51:06'::timestamp) - extract(epoch from '2026-07-17 19:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02816 -3.40114)'), GeomFromEWKT('SRID=4674;POINT (-39.02819 -3.401317)'))) / (select extract(epoch from '2026-07-17 19:51:06'::timestamp) - extract(epoch from '2026-07-17 19:50: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'), 47442, 'SRID=4674;POINT (-39.028213 -3.401448)', '2026-07-17 19:51:12', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02819 -3.401317)'), GeomFromEWKT('SRID=4674;POINT (-39.028213 -3.401448)'))) / (select extract(epoch from '2026-07-17 19:51:12'::timestamp) - extract(epoch from '2026-07-17 19:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02819 -3.401317)'), GeomFromEWKT('SRID=4674;POINT (-39.028213 -3.401448)'))) / (select extract(epoch from '2026-07-17 19:51:12'::timestamp) - extract(epoch from '2026-07-17 19:51: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'), 47442, 'SRID=4674;POINT (-39.028249 -3.401574)', '2026-07-17 19:51:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028213 -3.401448)'), GeomFromEWKT('SRID=4674;POINT (-39.028249 -3.401574)'))) / (select extract(epoch from '2026-07-17 19:51:18'::timestamp) - extract(epoch from '2026-07-17 19:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028213 -3.401448)'), GeomFromEWKT('SRID=4674;POINT (-39.028249 -3.401574)'))) / (select extract(epoch from '2026-07-17 19:51:18'::timestamp) - extract(epoch from '2026-07-17 19:51: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'), 47442, 'SRID=4674;POINT (-39.028271 -3.401698)', '2026-07-17 19:51:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028249 -3.401574)'), GeomFromEWKT('SRID=4674;POINT (-39.028271 -3.401698)'))) / (select extract(epoch from '2026-07-17 19:51:24'::timestamp) - extract(epoch from '2026-07-17 19:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028249 -3.401574)'), GeomFromEWKT('SRID=4674;POINT (-39.028271 -3.401698)'))) / (select extract(epoch from '2026-07-17 19:51:24'::timestamp) - extract(epoch from '2026-07-17 19:51:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028289 -3.401841)', '2026-07-17 19:51:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028271 -3.401698)'), GeomFromEWKT('SRID=4674;POINT (-39.028289 -3.401841)'))) / (select extract(epoch from '2026-07-17 19:51:31'::timestamp) - extract(epoch from '2026-07-17 19:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028271 -3.401698)'), GeomFromEWKT('SRID=4674;POINT (-39.028289 -3.401841)'))) / (select extract(epoch from '2026-07-17 19:51:31'::timestamp) - extract(epoch from '2026-07-17 19:51: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'), 47442, 'SRID=4674;POINT (-39.028347 -3.402003)', '2026-07-17 19:51:39', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028289 -3.401841)'), GeomFromEWKT('SRID=4674;POINT (-39.028347 -3.402003)'))) / (select extract(epoch from '2026-07-17 19:51:39'::timestamp) - extract(epoch from '2026-07-17 19:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028289 -3.401841)'), GeomFromEWKT('SRID=4674;POINT (-39.028347 -3.402003)'))) / (select extract(epoch from '2026-07-17 19:51:39'::timestamp) - extract(epoch from '2026-07-17 19:51: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'), 47442, 'SRID=4674;POINT (-39.028408 -3.402169)', '2026-07-17 19:51:47', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028347 -3.402003)'), GeomFromEWKT('SRID=4674;POINT (-39.028408 -3.402169)'))) / (select extract(epoch from '2026-07-17 19:51:47'::timestamp) - extract(epoch from '2026-07-17 19:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028347 -3.402003)'), GeomFromEWKT('SRID=4674;POINT (-39.028408 -3.402169)'))) / (select extract(epoch from '2026-07-17 19:51:47'::timestamp) - extract(epoch from '2026-07-17 19:51: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'), 47442, 'SRID=4674;POINT (-39.028453 -3.402337)', '2026-07-17 19:51:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028408 -3.402169)'), GeomFromEWKT('SRID=4674;POINT (-39.028453 -3.402337)'))) / (select extract(epoch from '2026-07-17 19:51:55'::timestamp) - extract(epoch from '2026-07-17 19:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028408 -3.402169)'), GeomFromEWKT('SRID=4674;POINT (-39.028453 -3.402337)'))) / (select extract(epoch from '2026-07-17 19:51:55'::timestamp) - extract(epoch from '2026-07-17 19:51: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'), 47442, 'SRID=4674;POINT (-39.02851 -3.402493)', '2026-07-17 19:52:03', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028453 -3.402337)'), GeomFromEWKT('SRID=4674;POINT (-39.02851 -3.402493)'))) / (select extract(epoch from '2026-07-17 19:52:03'::timestamp) - extract(epoch from '2026-07-17 19:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028453 -3.402337)'), GeomFromEWKT('SRID=4674;POINT (-39.02851 -3.402493)'))) / (select extract(epoch from '2026-07-17 19:52:03'::timestamp) - extract(epoch from '2026-07-17 19:51: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'), 47442, 'SRID=4674;POINT (-39.028536 -3.402608)', '2026-07-17 19:52:09', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02851 -3.402493)'), GeomFromEWKT('SRID=4674;POINT (-39.028536 -3.402608)'))) / (select extract(epoch from '2026-07-17 19:52:09'::timestamp) - extract(epoch from '2026-07-17 19:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02851 -3.402493)'), GeomFromEWKT('SRID=4674;POINT (-39.028536 -3.402608)'))) / (select extract(epoch from '2026-07-17 19:52:09'::timestamp) - extract(epoch from '2026-07-17 19:52: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'), 47442, 'SRID=4674;POINT (-39.028596 -3.4028)', '2026-07-17 19:52:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028536 -3.402608)'), GeomFromEWKT('SRID=4674;POINT (-39.028596 -3.4028)'))) / (select extract(epoch from '2026-07-17 19:52:19'::timestamp) - extract(epoch from '2026-07-17 19:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028536 -3.402608)'), GeomFromEWKT('SRID=4674;POINT (-39.028596 -3.4028)'))) / (select extract(epoch from '2026-07-17 19:52:19'::timestamp) - extract(epoch from '2026-07-17 19:52: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'), 47442, 'SRID=4674;POINT (-39.028638 -3.402943)', '2026-07-17 19:52:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028596 -3.4028)'), GeomFromEWKT('SRID=4674;POINT (-39.028638 -3.402943)'))) / (select extract(epoch from '2026-07-17 19:52:26'::timestamp) - extract(epoch from '2026-07-17 19:52:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028596 -3.4028)'), GeomFromEWKT('SRID=4674;POINT (-39.028638 -3.402943)'))) / (select extract(epoch from '2026-07-17 19:52:26'::timestamp) - extract(epoch from '2026-07-17 19:52:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.0287 -3.40305)', '2026-07-17 19:52:32', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028638 -3.402943)'), GeomFromEWKT('SRID=4674;POINT (-39.0287 -3.40305)'))) / (select extract(epoch from '2026-07-17 19:52:32'::timestamp) - extract(epoch from '2026-07-17 19:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028638 -3.402943)'), GeomFromEWKT('SRID=4674;POINT (-39.0287 -3.40305)'))) / (select extract(epoch from '2026-07-17 19:52:32'::timestamp) - extract(epoch from '2026-07-17 19:52: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'), 47442, 'SRID=4674;POINT (-39.028773 -3.40318)', '2026-07-17 19:52:40', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0287 -3.40305)'), GeomFromEWKT('SRID=4674;POINT (-39.028773 -3.40318)'))) / (select extract(epoch from '2026-07-17 19:52:40'::timestamp) - extract(epoch from '2026-07-17 19:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.0287 -3.40305)'), GeomFromEWKT('SRID=4674;POINT (-39.028773 -3.40318)'))) / (select extract(epoch from '2026-07-17 19:52:40'::timestamp) - extract(epoch from '2026-07-17 19:52: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'), 47442, 'SRID=4674;POINT (-39.028826 -3.403269)', '2026-07-17 19:52:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028773 -3.40318)'), GeomFromEWKT('SRID=4674;POINT (-39.028826 -3.403269)'))) / (select extract(epoch from '2026-07-17 19:52:47'::timestamp) - extract(epoch from '2026-07-17 19:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028773 -3.40318)'), GeomFromEWKT('SRID=4674;POINT (-39.028826 -3.403269)'))) / (select extract(epoch from '2026-07-17 19:52:47'::timestamp) - extract(epoch from '2026-07-17 19:52:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.028867 -3.403352)', '2026-07-17 19:52:53', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028826 -3.403269)'), GeomFromEWKT('SRID=4674;POINT (-39.028867 -3.403352)'))) / (select extract(epoch from '2026-07-17 19:52:53'::timestamp) - extract(epoch from '2026-07-17 19:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028826 -3.403269)'), GeomFromEWKT('SRID=4674;POINT (-39.028867 -3.403352)'))) / (select extract(epoch from '2026-07-17 19:52:53'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.028908 -3.403437)', '2026-07-17 19:52:59', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028867 -3.403352)'), GeomFromEWKT('SRID=4674;POINT (-39.028908 -3.403437)'))) / (select extract(epoch from '2026-07-17 19:52:59'::timestamp) - extract(epoch from '2026-07-17 19:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028867 -3.403352)'), GeomFromEWKT('SRID=4674;POINT (-39.028908 -3.403437)'))) / (select extract(epoch from '2026-07-17 19:52:59'::timestamp) - extract(epoch from '2026-07-17 19:52: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'), 47442, 'SRID=4674;POINT (-39.028972 -3.403563)', '2026-07-17 19:53:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028908 -3.403437)'), GeomFromEWKT('SRID=4674;POINT (-39.028972 -3.403563)'))) / (select extract(epoch from '2026-07-17 19:53:07'::timestamp) - extract(epoch from '2026-07-17 19:52:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028908 -3.403437)'), GeomFromEWKT('SRID=4674;POINT (-39.028972 -3.403563)'))) / (select extract(epoch from '2026-07-17 19:53:07'::timestamp) - extract(epoch from '2026-07-17 19:52: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'), 47442, 'SRID=4674;POINT (-39.029045 -3.403671)', '2026-07-17 19:53:14', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028972 -3.403563)'), GeomFromEWKT('SRID=4674;POINT (-39.029045 -3.403671)'))) / (select extract(epoch from '2026-07-17 19:53:14'::timestamp) - extract(epoch from '2026-07-17 19:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.028972 -3.403563)'), GeomFromEWKT('SRID=4674;POINT (-39.029045 -3.403671)'))) / (select extract(epoch from '2026-07-17 19:53:14'::timestamp) - extract(epoch from '2026-07-17 19: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'), 47442, 'SRID=4674;POINT (-39.029114 -3.403772)', '2026-07-17 19:53:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029045 -3.403671)'), GeomFromEWKT('SRID=4674;POINT (-39.029114 -3.403772)'))) / (select extract(epoch from '2026-07-17 19:53:21'::timestamp) - extract(epoch from '2026-07-17 19:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029045 -3.403671)'), GeomFromEWKT('SRID=4674;POINT (-39.029114 -3.403772)'))) / (select extract(epoch from '2026-07-17 19:53:21'::timestamp) - extract(epoch from '2026-07-17 19:53: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'), 47442, 'SRID=4674;POINT (-39.02918 -3.403858)', '2026-07-17 19:53:27', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029114 -3.403772)'), GeomFromEWKT('SRID=4674;POINT (-39.02918 -3.403858)'))) / (select extract(epoch from '2026-07-17 19:53:27'::timestamp) - extract(epoch from '2026-07-17 19:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029114 -3.403772)'), GeomFromEWKT('SRID=4674;POINT (-39.02918 -3.403858)'))) / (select extract(epoch from '2026-07-17 19:53:27'::timestamp) - extract(epoch from '2026-07-17 19:53: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'), 47442, 'SRID=4674;POINT (-39.029232 -3.403919)', '2026-07-17 19:53:32', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02918 -3.403858)'), GeomFromEWKT('SRID=4674;POINT (-39.029232 -3.403919)'))) / (select extract(epoch from '2026-07-17 19:53:32'::timestamp) - extract(epoch from '2026-07-17 19:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.02918 -3.403858)'), GeomFromEWKT('SRID=4674;POINT (-39.029232 -3.403919)'))) / (select extract(epoch from '2026-07-17 19:53:32'::timestamp) - extract(epoch from '2026-07-17 19:53: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'), 47442, 'SRID=4674;POINT (-39.029302 -3.404017)', '2026-07-17 19:53:39', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029232 -3.403919)'), GeomFromEWKT('SRID=4674;POINT (-39.029302 -3.404017)'))) / (select extract(epoch from '2026-07-17 19:53:39'::timestamp) - extract(epoch from '2026-07-17 19:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029232 -3.403919)'), GeomFromEWKT('SRID=4674;POINT (-39.029302 -3.404017)'))) / (select extract(epoch from '2026-07-17 19:53:39'::timestamp) - extract(epoch from '2026-07-17 19:53: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'), 47442, 'SRID=4674;POINT (-39.029358 -3.404098)', '2026-07-17 19:53:45', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029302 -3.404017)'), GeomFromEWKT('SRID=4674;POINT (-39.029358 -3.404098)'))) / (select extract(epoch from '2026-07-17 19:53:45'::timestamp) - extract(epoch from '2026-07-17 19:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029302 -3.404017)'), GeomFromEWKT('SRID=4674;POINT (-39.029358 -3.404098)'))) / (select extract(epoch from '2026-07-17 19:53:45'::timestamp) - extract(epoch from '2026-07-17 19:53: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'), 47442, 'SRID=4674;POINT (-39.029421 -3.40421)', '2026-07-17 19:53:53', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029358 -3.404098)'), GeomFromEWKT('SRID=4674;POINT (-39.029421 -3.40421)'))) / (select extract(epoch from '2026-07-17 19:53:53'::timestamp) - extract(epoch from '2026-07-17 19:53:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029358 -3.404098)'), GeomFromEWKT('SRID=4674;POINT (-39.029421 -3.40421)'))) / (select extract(epoch from '2026-07-17 19:53:53'::timestamp) - extract(epoch from '2026-07-17 19:53:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029469 -3.404315)', '2026-07-17 19:54:00', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029421 -3.40421)'), GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.404315)'))) / (select extract(epoch from '2026-07-17 19:54:00'::timestamp) - extract(epoch from '2026-07-17 19:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029421 -3.40421)'), GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.404315)'))) / (select extract(epoch from '2026-07-17 19:54:00'::timestamp) - extract(epoch from '2026-07-17 19:53: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'), 47442, 'SRID=4674;POINT (-39.029506 -3.404406)', '2026-07-17 19:54:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.404315)'), GeomFromEWKT('SRID=4674;POINT (-39.029506 -3.404406)'))) / (select extract(epoch from '2026-07-17 19:54:06'::timestamp) - extract(epoch from '2026-07-17 19:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029469 -3.404315)'), GeomFromEWKT('SRID=4674;POINT (-39.029506 -3.404406)'))) / (select extract(epoch from '2026-07-17 19:54:06'::timestamp) - extract(epoch from '2026-07-17 19:54:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029569 -3.404511)', '2026-07-17 19:54:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029506 -3.404406)'), GeomFromEWKT('SRID=4674;POINT (-39.029569 -3.404511)'))) / (select extract(epoch from '2026-07-17 19:54:13'::timestamp) - extract(epoch from '2026-07-17 19:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029506 -3.404406)'), GeomFromEWKT('SRID=4674;POINT (-39.029569 -3.404511)'))) / (select extract(epoch from '2026-07-17 19:54:13'::timestamp) - extract(epoch from '2026-07-17 19:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029606 -3.4046)', '2026-07-17 19:54:18', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029569 -3.404511)'), GeomFromEWKT('SRID=4674;POINT (-39.029606 -3.4046)'))) / (select extract(epoch from '2026-07-17 19:54:18'::timestamp) - extract(epoch from '2026-07-17 19:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029569 -3.404511)'), GeomFromEWKT('SRID=4674;POINT (-39.029606 -3.4046)'))) / (select extract(epoch from '2026-07-17 19:54:18'::timestamp) - extract(epoch from '2026-07-17 19:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47442, 'SRID=4674;POINT (-39.029626 -3.404668)', '2026-07-17 19:54:23', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029606 -3.4046)'), GeomFromEWKT('SRID=4674;POINT (-39.029626 -3.404668)'))) / (select extract(epoch from '2026-07-17 19:54:23'::timestamp) - extract(epoch from '2026-07-17 19:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029606 -3.4046)'), GeomFromEWKT('SRID=4674;POINT (-39.029626 -3.404668)'))) / (select extract(epoch from '2026-07-17 19:54:23'::timestamp) - extract(epoch from '2026-07-17 19:54: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'), 47442, 'SRID=4674;POINT (-39.029676 -3.40476)', '2026-07-17 19:54:30', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029626 -3.404668)'), GeomFromEWKT('SRID=4674;POINT (-39.029676 -3.40476)'))) / (select extract(epoch from '2026-07-17 19:54:30'::timestamp) - extract(epoch from '2026-07-17 19:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.029626 -3.404668)'), GeomFromEWKT('SRID=4674;POINT (-39.029676 -3.40476)'))) / (select extract(epoch from '2026-07-17 19:54:30'::timestamp) - extract(epoch from '2026-07-17 19:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
