 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797237 -2.609096)', '2026-07-22 11:53:30', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797242 -2.609086)'), GeomFromEWKT('SRID=4674;POINT (-39.797237 -2.609096)'))) / (select extract(epoch from '2026-07-22 11:53:30'::timestamp) - extract(epoch from '2026-07-22 11:53:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797242 -2.609086)'), GeomFromEWKT('SRID=4674;POINT (-39.797237 -2.609096)'))) / (select extract(epoch from '2026-07-22 11:53:30'::timestamp) - extract(epoch from '2026-07-22 11:53: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'), 47870, 'SRID=4674;POINT (-39.797219 -2.609135)', '2026-07-22 11:53:34', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797237 -2.609096)'), GeomFromEWKT('SRID=4674;POINT (-39.797219 -2.609135)'))) / (select extract(epoch from '2026-07-22 11:53:34'::timestamp) - extract(epoch from '2026-07-22 11:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797237 -2.609096)'), GeomFromEWKT('SRID=4674;POINT (-39.797219 -2.609135)'))) / (select extract(epoch from '2026-07-22 11:53:34'::timestamp) - extract(epoch from '2026-07-22 11:53:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797208 -2.609154)', '2026-07-22 11:53:36', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797219 -2.609135)'), GeomFromEWKT('SRID=4674;POINT (-39.797208 -2.609154)'))) / (select extract(epoch from '2026-07-22 11:53:36'::timestamp) - extract(epoch from '2026-07-22 11:53:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797219 -2.609135)'), GeomFromEWKT('SRID=4674;POINT (-39.797208 -2.609154)'))) / (select extract(epoch from '2026-07-22 11:53:36'::timestamp) - extract(epoch from '2026-07-22 11:53: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'), 47870, 'SRID=4674;POINT (-39.797168 -2.609197)', '2026-07-22 11:53:40', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797208 -2.609154)'), GeomFromEWKT('SRID=4674;POINT (-39.797168 -2.609197)'))) / (select extract(epoch from '2026-07-22 11:53:40'::timestamp) - extract(epoch from '2026-07-22 11:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797208 -2.609154)'), GeomFromEWKT('SRID=4674;POINT (-39.797168 -2.609197)'))) / (select extract(epoch from '2026-07-22 11:53:40'::timestamp) - extract(epoch from '2026-07-22 11:53:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.797105 -2.609279)', '2026-07-22 11:53:47', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797168 -2.609197)'), GeomFromEWKT('SRID=4674;POINT (-39.797105 -2.609279)'))) / (select extract(epoch from '2026-07-22 11:53:47'::timestamp) - extract(epoch from '2026-07-22 11:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797168 -2.609197)'), GeomFromEWKT('SRID=4674;POINT (-39.797105 -2.609279)'))) / (select extract(epoch from '2026-07-22 11:53:47'::timestamp) - extract(epoch from '2026-07-22 11:53: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'), 47870, 'SRID=4674;POINT (-39.79705 -2.609356)', '2026-07-22 11:53:55', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797105 -2.609279)'), GeomFromEWKT('SRID=4674;POINT (-39.79705 -2.609356)'))) / (select extract(epoch from '2026-07-22 11:53:55'::timestamp) - extract(epoch from '2026-07-22 11:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.797105 -2.609279)'), GeomFromEWKT('SRID=4674;POINT (-39.79705 -2.609356)'))) / (select extract(epoch from '2026-07-22 11:53:55'::timestamp) - extract(epoch from '2026-07-22 11:53: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'), 47870, 'SRID=4674;POINT (-39.796975 -2.609422)', '2026-07-22 11:54:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79705 -2.609356)'), GeomFromEWKT('SRID=4674;POINT (-39.796975 -2.609422)'))) / (select extract(epoch from '2026-07-22 11:54:02'::timestamp) - extract(epoch from '2026-07-22 11:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79705 -2.609356)'), GeomFromEWKT('SRID=4674;POINT (-39.796975 -2.609422)'))) / (select extract(epoch from '2026-07-22 11:54:02'::timestamp) - extract(epoch from '2026-07-22 11:53:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796912 -2.609475)', '2026-07-22 11:54:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796975 -2.609422)'), GeomFromEWKT('SRID=4674;POINT (-39.796912 -2.609475)'))) / (select extract(epoch from '2026-07-22 11:54:08'::timestamp) - extract(epoch from '2026-07-22 11:54:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796975 -2.609422)'), GeomFromEWKT('SRID=4674;POINT (-39.796912 -2.609475)'))) / (select extract(epoch from '2026-07-22 11:54:08'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796865 -2.609546)', '2026-07-22 11:54:14', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796912 -2.609475)'), GeomFromEWKT('SRID=4674;POINT (-39.796865 -2.609546)'))) / (select extract(epoch from '2026-07-22 11:54:14'::timestamp) - extract(epoch from '2026-07-22 11:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796912 -2.609475)'), GeomFromEWKT('SRID=4674;POINT (-39.796865 -2.609546)'))) / (select extract(epoch from '2026-07-22 11:54:14'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796803 -2.609626)', '2026-07-22 11:54:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796865 -2.609546)'), GeomFromEWKT('SRID=4674;POINT (-39.796803 -2.609626)'))) / (select extract(epoch from '2026-07-22 11:54:20'::timestamp) - extract(epoch from '2026-07-22 11:54:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796865 -2.609546)'), GeomFromEWKT('SRID=4674;POINT (-39.796803 -2.609626)'))) / (select extract(epoch from '2026-07-22 11:54:20'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796754 -2.609693)', '2026-07-22 11:54:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796803 -2.609626)'), GeomFromEWKT('SRID=4674;POINT (-39.796754 -2.609693)'))) / (select extract(epoch from '2026-07-22 11:54:25'::timestamp) - extract(epoch from '2026-07-22 11:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796803 -2.609626)'), GeomFromEWKT('SRID=4674;POINT (-39.796754 -2.609693)'))) / (select extract(epoch from '2026-07-22 11:54:25'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796705 -2.60978)', '2026-07-22 11:54:32', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796754 -2.609693)'), GeomFromEWKT('SRID=4674;POINT (-39.796705 -2.60978)'))) / (select extract(epoch from '2026-07-22 11:54:32'::timestamp) - extract(epoch from '2026-07-22 11:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796754 -2.609693)'), GeomFromEWKT('SRID=4674;POINT (-39.796705 -2.60978)'))) / (select extract(epoch from '2026-07-22 11:54:32'::timestamp) - extract(epoch from '2026-07-22 11:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796665 -2.609857)', '2026-07-22 11:54:39', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796705 -2.60978)'), GeomFromEWKT('SRID=4674;POINT (-39.796665 -2.609857)'))) / (select extract(epoch from '2026-07-22 11:54:39'::timestamp) - extract(epoch from '2026-07-22 11:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796705 -2.60978)'), GeomFromEWKT('SRID=4674;POINT (-39.796665 -2.609857)'))) / (select extract(epoch from '2026-07-22 11:54:39'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796654 -2.609895)', '2026-07-22 11:54:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796665 -2.609857)'), GeomFromEWKT('SRID=4674;POINT (-39.796654 -2.609895)'))) / (select extract(epoch from '2026-07-22 11:54:42'::timestamp) - extract(epoch from '2026-07-22 11:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796665 -2.609857)'), GeomFromEWKT('SRID=4674;POINT (-39.796654 -2.609895)'))) / (select extract(epoch from '2026-07-22 11:54:42'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796641 -2.609917)', '2026-07-22 11:54:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796654 -2.609895)'), GeomFromEWKT('SRID=4674;POINT (-39.796641 -2.609917)'))) / (select extract(epoch from '2026-07-22 11:54:44'::timestamp) - extract(epoch from '2026-07-22 11:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796654 -2.609895)'), GeomFromEWKT('SRID=4674;POINT (-39.796641 -2.609917)'))) / (select extract(epoch from '2026-07-22 11:54:44'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796636 -2.609928)', '2026-07-22 11:54:45', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796641 -2.609917)'), GeomFromEWKT('SRID=4674;POINT (-39.796636 -2.609928)'))) / (select extract(epoch from '2026-07-22 11:54:45'::timestamp) - extract(epoch from '2026-07-22 11:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796641 -2.609917)'), GeomFromEWKT('SRID=4674;POINT (-39.796636 -2.609928)'))) / (select extract(epoch from '2026-07-22 11:54:45'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796612 -2.609985)', '2026-07-22 11:54:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796636 -2.609928)'), GeomFromEWKT('SRID=4674;POINT (-39.796612 -2.609985)'))) / (select extract(epoch from '2026-07-22 11:54:50'::timestamp) - extract(epoch from '2026-07-22 11:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796636 -2.609928)'), GeomFromEWKT('SRID=4674;POINT (-39.796612 -2.609985)'))) / (select extract(epoch from '2026-07-22 11:54:50'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796592 -2.610006)', '2026-07-22 11:54:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796612 -2.609985)'), GeomFromEWKT('SRID=4674;POINT (-39.796592 -2.610006)'))) / (select extract(epoch from '2026-07-22 11:54:52'::timestamp) - extract(epoch from '2026-07-22 11:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796612 -2.609985)'), GeomFromEWKT('SRID=4674;POINT (-39.796592 -2.610006)'))) / (select extract(epoch from '2026-07-22 11:54:52'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796552 -2.610059)', '2026-07-22 11:54:56', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796592 -2.610006)'), GeomFromEWKT('SRID=4674;POINT (-39.796552 -2.610059)'))) / (select extract(epoch from '2026-07-22 11:54:56'::timestamp) - extract(epoch from '2026-07-22 11:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796592 -2.610006)'), GeomFromEWKT('SRID=4674;POINT (-39.796552 -2.610059)'))) / (select extract(epoch from '2026-07-22 11:54:56'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796493 -2.610129)', '2026-07-22 11:55:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796552 -2.610059)'), GeomFromEWKT('SRID=4674;POINT (-39.796493 -2.610129)'))) / (select extract(epoch from '2026-07-22 11:55:01'::timestamp) - extract(epoch from '2026-07-22 11:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796552 -2.610059)'), GeomFromEWKT('SRID=4674;POINT (-39.796493 -2.610129)'))) / (select extract(epoch from '2026-07-22 11:55:01'::timestamp) - extract(epoch from '2026-07-22 11:54: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'), 47870, 'SRID=4674;POINT (-39.796413 -2.610198)', '2026-07-22 11:55:07', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796493 -2.610129)'), GeomFromEWKT('SRID=4674;POINT (-39.796413 -2.610198)'))) / (select extract(epoch from '2026-07-22 11:55:07'::timestamp) - extract(epoch from '2026-07-22 11:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796493 -2.610129)'), GeomFromEWKT('SRID=4674;POINT (-39.796413 -2.610198)'))) / (select extract(epoch from '2026-07-22 11:55:07'::timestamp) - extract(epoch from '2026-07-22 11:55:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796355 -2.610257)', '2026-07-22 11:55:13', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796413 -2.610198)'), GeomFromEWKT('SRID=4674;POINT (-39.796355 -2.610257)'))) / (select extract(epoch from '2026-07-22 11:55:13'::timestamp) - extract(epoch from '2026-07-22 11:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796413 -2.610198)'), GeomFromEWKT('SRID=4674;POINT (-39.796355 -2.610257)'))) / (select extract(epoch from '2026-07-22 11:55:13'::timestamp) - extract(epoch from '2026-07-22 11:55: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'), 47870, 'SRID=4674;POINT (-39.796269 -2.610308)', '2026-07-22 11:55:20', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796355 -2.610257)'), GeomFromEWKT('SRID=4674;POINT (-39.796269 -2.610308)'))) / (select extract(epoch from '2026-07-22 11:55:20'::timestamp) - extract(epoch from '2026-07-22 11:55:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796355 -2.610257)'), GeomFromEWKT('SRID=4674;POINT (-39.796269 -2.610308)'))) / (select extract(epoch from '2026-07-22 11:55:20'::timestamp) - extract(epoch from '2026-07-22 11:55: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'), 47870, 'SRID=4674;POINT (-39.796222 -2.610355)', '2026-07-22 11:55:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796269 -2.610308)'), GeomFromEWKT('SRID=4674;POINT (-39.796222 -2.610355)'))) / (select extract(epoch from '2026-07-22 11:55:25'::timestamp) - extract(epoch from '2026-07-22 11:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796269 -2.610308)'), GeomFromEWKT('SRID=4674;POINT (-39.796222 -2.610355)'))) / (select extract(epoch from '2026-07-22 11:55:25'::timestamp) - extract(epoch from '2026-07-22 11:55: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'), 47870, 'SRID=4674;POINT (-39.796199 -2.610406)', '2026-07-22 11:55:30', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796222 -2.610355)'), GeomFromEWKT('SRID=4674;POINT (-39.796199 -2.610406)'))) / (select extract(epoch from '2026-07-22 11:55:30'::timestamp) - extract(epoch from '2026-07-22 11:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796222 -2.610355)'), GeomFromEWKT('SRID=4674;POINT (-39.796199 -2.610406)'))) / (select extract(epoch from '2026-07-22 11:55:30'::timestamp) - extract(epoch from '2026-07-22 11:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.796177 -2.610456)', '2026-07-22 11:55:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796199 -2.610406)'), GeomFromEWKT('SRID=4674;POINT (-39.796177 -2.610456)'))) / (select extract(epoch from '2026-07-22 11:55:34'::timestamp) - extract(epoch from '2026-07-22 11:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796199 -2.610406)'), GeomFromEWKT('SRID=4674;POINT (-39.796177 -2.610456)'))) / (select extract(epoch from '2026-07-22 11:55:34'::timestamp) - extract(epoch from '2026-07-22 11:55: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'), 47870, 'SRID=4674;POINT (-39.796176 -2.610471)', '2026-07-22 11:55:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796177 -2.610456)'), GeomFromEWKT('SRID=4674;POINT (-39.796176 -2.610471)'))) / (select extract(epoch from '2026-07-22 11:55:35'::timestamp) - extract(epoch from '2026-07-22 11:55:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796177 -2.610456)'), GeomFromEWKT('SRID=4674;POINT (-39.796176 -2.610471)'))) / (select extract(epoch from '2026-07-22 11:55:35'::timestamp) - extract(epoch from '2026-07-22 11:55: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'), 47870, 'SRID=4674;POINT (-39.796148 -2.610536)', '2026-07-22 11:55:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796176 -2.610471)'), GeomFromEWKT('SRID=4674;POINT (-39.796148 -2.610536)'))) / (select extract(epoch from '2026-07-22 11:55:40'::timestamp) - extract(epoch from '2026-07-22 11:55:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796176 -2.610471)'), GeomFromEWKT('SRID=4674;POINT (-39.796148 -2.610536)'))) / (select extract(epoch from '2026-07-22 11:55:40'::timestamp) - extract(epoch from '2026-07-22 11:55: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'), 47870, 'SRID=4674;POINT (-39.796146 -2.61057)', '2026-07-22 11:55:42', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796148 -2.610536)'), GeomFromEWKT('SRID=4674;POINT (-39.796146 -2.61057)'))) / (select extract(epoch from '2026-07-22 11:55:42'::timestamp) - extract(epoch from '2026-07-22 11:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796148 -2.610536)'), GeomFromEWKT('SRID=4674;POINT (-39.796146 -2.61057)'))) / (select extract(epoch from '2026-07-22 11:55:42'::timestamp) - extract(epoch from '2026-07-22 11:55: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'), 47870, 'SRID=4674;POINT (-39.796133 -2.610606)', '2026-07-22 11:55:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796146 -2.61057)'), GeomFromEWKT('SRID=4674;POINT (-39.796133 -2.610606)'))) / (select extract(epoch from '2026-07-22 11:55:45'::timestamp) - extract(epoch from '2026-07-22 11:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796146 -2.61057)'), GeomFromEWKT('SRID=4674;POINT (-39.796133 -2.610606)'))) / (select extract(epoch from '2026-07-22 11:55:45'::timestamp) - extract(epoch from '2026-07-22 11:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79613 -2.61062)', '2026-07-22 11:55:46', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796133 -2.610606)'), GeomFromEWKT('SRID=4674;POINT (-39.79613 -2.61062)'))) / (select extract(epoch from '2026-07-22 11:55:46'::timestamp) - extract(epoch from '2026-07-22 11:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796133 -2.610606)'), GeomFromEWKT('SRID=4674;POINT (-39.79613 -2.61062)'))) / (select extract(epoch from '2026-07-22 11:55:46'::timestamp) - extract(epoch from '2026-07-22 11:55: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'), 47870, 'SRID=4674;POINT (-39.796101 -2.610692)', '2026-07-22 11:55:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79613 -2.61062)'), GeomFromEWKT('SRID=4674;POINT (-39.796101 -2.610692)'))) / (select extract(epoch from '2026-07-22 11:55:52'::timestamp) - extract(epoch from '2026-07-22 11:55:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79613 -2.61062)'), GeomFromEWKT('SRID=4674;POINT (-39.796101 -2.610692)'))) / (select extract(epoch from '2026-07-22 11:55:52'::timestamp) - extract(epoch from '2026-07-22 11:55: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'), 47870, 'SRID=4674;POINT (-39.796064 -2.610755)', '2026-07-22 11:55:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796101 -2.610692)'), GeomFromEWKT('SRID=4674;POINT (-39.796064 -2.610755)'))) / (select extract(epoch from '2026-07-22 11:55:57'::timestamp) - extract(epoch from '2026-07-22 11:55:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796101 -2.610692)'), GeomFromEWKT('SRID=4674;POINT (-39.796064 -2.610755)'))) / (select extract(epoch from '2026-07-22 11:55:57'::timestamp) - extract(epoch from '2026-07-22 11:55: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'), 47870, 'SRID=4674;POINT (-39.79601 -2.610805)', '2026-07-22 11:56:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796064 -2.610755)'), GeomFromEWKT('SRID=4674;POINT (-39.79601 -2.610805)'))) / (select extract(epoch from '2026-07-22 11:56:02'::timestamp) - extract(epoch from '2026-07-22 11:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.796064 -2.610755)'), GeomFromEWKT('SRID=4674;POINT (-39.79601 -2.610805)'))) / (select extract(epoch from '2026-07-22 11:56:02'::timestamp) - extract(epoch from '2026-07-22 11:55: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'), 47870, 'SRID=4674;POINT (-39.795936 -2.610834)', '2026-07-22 11:56:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79601 -2.610805)'), GeomFromEWKT('SRID=4674;POINT (-39.795936 -2.610834)'))) / (select extract(epoch from '2026-07-22 11:56:07'::timestamp) - extract(epoch from '2026-07-22 11:56:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79601 -2.610805)'), GeomFromEWKT('SRID=4674;POINT (-39.795936 -2.610834)'))) / (select extract(epoch from '2026-07-22 11:56:07'::timestamp) - extract(epoch from '2026-07-22 11:56:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795846 -2.61089)', '2026-07-22 11:56:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795936 -2.610834)'), GeomFromEWKT('SRID=4674;POINT (-39.795846 -2.61089)'))) / (select extract(epoch from '2026-07-22 11:56:14'::timestamp) - extract(epoch from '2026-07-22 11:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795936 -2.610834)'), GeomFromEWKT('SRID=4674;POINT (-39.795846 -2.61089)'))) / (select extract(epoch from '2026-07-22 11:56:14'::timestamp) - extract(epoch from '2026-07-22 11:56: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'), 47870, 'SRID=4674;POINT (-39.795779 -2.61095)', '2026-07-22 11:56:20', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795846 -2.61089)'), GeomFromEWKT('SRID=4674;POINT (-39.795779 -2.61095)'))) / (select extract(epoch from '2026-07-22 11:56:20'::timestamp) - extract(epoch from '2026-07-22 11:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795846 -2.61089)'), GeomFromEWKT('SRID=4674;POINT (-39.795779 -2.61095)'))) / (select extract(epoch from '2026-07-22 11:56:20'::timestamp) - extract(epoch from '2026-07-22 11:56:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79572 -2.61101)', '2026-07-22 11:56:26', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795779 -2.61095)'), GeomFromEWKT('SRID=4674;POINT (-39.79572 -2.61101)'))) / (select extract(epoch from '2026-07-22 11:56:26'::timestamp) - extract(epoch from '2026-07-22 11:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795779 -2.61095)'), GeomFromEWKT('SRID=4674;POINT (-39.79572 -2.61101)'))) / (select extract(epoch from '2026-07-22 11:56:26'::timestamp) - extract(epoch from '2026-07-22 11:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795672 -2.611077)', '2026-07-22 11:56:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79572 -2.61101)'), GeomFromEWKT('SRID=4674;POINT (-39.795672 -2.611077)'))) / (select extract(epoch from '2026-07-22 11:56:32'::timestamp) - extract(epoch from '2026-07-22 11:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79572 -2.61101)'), GeomFromEWKT('SRID=4674;POINT (-39.795672 -2.611077)'))) / (select extract(epoch from '2026-07-22 11:56:32'::timestamp) - extract(epoch from '2026-07-22 11:56: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'), 47870, 'SRID=4674;POINT (-39.795626 -2.611142)', '2026-07-22 11:56:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795672 -2.611077)'), GeomFromEWKT('SRID=4674;POINT (-39.795626 -2.611142)'))) / (select extract(epoch from '2026-07-22 11:56:38'::timestamp) - extract(epoch from '2026-07-22 11:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795672 -2.611077)'), GeomFromEWKT('SRID=4674;POINT (-39.795626 -2.611142)'))) / (select extract(epoch from '2026-07-22 11:56:38'::timestamp) - extract(epoch from '2026-07-22 11:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.795552 -2.611201)', '2026-07-22 11:56:45', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795626 -2.611142)'), GeomFromEWKT('SRID=4674;POINT (-39.795552 -2.611201)'))) / (select extract(epoch from '2026-07-22 11:56:45'::timestamp) - extract(epoch from '2026-07-22 11:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795626 -2.611142)'), GeomFromEWKT('SRID=4674;POINT (-39.795552 -2.611201)'))) / (select extract(epoch from '2026-07-22 11:56:45'::timestamp) - extract(epoch from '2026-07-22 11:56: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'), 47870, 'SRID=4674;POINT (-39.795459 -2.611233)', '2026-07-22 11:56:52', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795552 -2.611201)'), GeomFromEWKT('SRID=4674;POINT (-39.795459 -2.611233)'))) / (select extract(epoch from '2026-07-22 11:56:52'::timestamp) - extract(epoch from '2026-07-22 11:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795552 -2.611201)'), GeomFromEWKT('SRID=4674;POINT (-39.795459 -2.611233)'))) / (select extract(epoch from '2026-07-22 11:56:52'::timestamp) - extract(epoch from '2026-07-22 11:56: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'), 47870, 'SRID=4674;POINT (-39.795337 -2.611273)', '2026-07-22 11:57:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795459 -2.611233)'), GeomFromEWKT('SRID=4674;POINT (-39.795337 -2.611273)'))) / (select extract(epoch from '2026-07-22 11:57:01'::timestamp) - extract(epoch from '2026-07-22 11:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795459 -2.611233)'), GeomFromEWKT('SRID=4674;POINT (-39.795337 -2.611273)'))) / (select extract(epoch from '2026-07-22 11:57:01'::timestamp) - extract(epoch from '2026-07-22 11:56: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'), 47870, 'SRID=4674;POINT (-39.795263 -2.611276)', '2026-07-22 11:57:06', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795337 -2.611273)'), GeomFromEWKT('SRID=4674;POINT (-39.795263 -2.611276)'))) / (select extract(epoch from '2026-07-22 11:57:06'::timestamp) - extract(epoch from '2026-07-22 11:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795337 -2.611273)'), GeomFromEWKT('SRID=4674;POINT (-39.795263 -2.611276)'))) / (select extract(epoch from '2026-07-22 11:57:06'::timestamp) - extract(epoch from '2026-07-22 11:57: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'), 47870, 'SRID=4674;POINT (-39.795153 -2.611265)', '2026-07-22 11:57:13', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795263 -2.611276)'), GeomFromEWKT('SRID=4674;POINT (-39.795153 -2.611265)'))) / (select extract(epoch from '2026-07-22 11:57:13'::timestamp) - extract(epoch from '2026-07-22 11:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795263 -2.611276)'), GeomFromEWKT('SRID=4674;POINT (-39.795153 -2.611265)'))) / (select extract(epoch from '2026-07-22 11:57:13'::timestamp) - extract(epoch from '2026-07-22 11:57: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'), 47870, 'SRID=4674;POINT (-39.794998 -2.611236)', '2026-07-22 11:57:22', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795153 -2.611265)'), GeomFromEWKT('SRID=4674;POINT (-39.794998 -2.611236)'))) / (select extract(epoch from '2026-07-22 11:57:22'::timestamp) - extract(epoch from '2026-07-22 11:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.795153 -2.611265)'), GeomFromEWKT('SRID=4674;POINT (-39.794998 -2.611236)'))) / (select extract(epoch from '2026-07-22 11:57:22'::timestamp) - extract(epoch from '2026-07-22 11:57:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794894 -2.611215)', '2026-07-22 11:57:29', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794998 -2.611236)'), GeomFromEWKT('SRID=4674;POINT (-39.794894 -2.611215)'))) / (select extract(epoch from '2026-07-22 11:57:29'::timestamp) - extract(epoch from '2026-07-22 11:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794998 -2.611236)'), GeomFromEWKT('SRID=4674;POINT (-39.794894 -2.611215)'))) / (select extract(epoch from '2026-07-22 11:57:29'::timestamp) - extract(epoch from '2026-07-22 11:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794862 -2.611208)', '2026-07-22 11:57:32', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794894 -2.611215)'), GeomFromEWKT('SRID=4674;POINT (-39.794862 -2.611208)'))) / (select extract(epoch from '2026-07-22 11:57:32'::timestamp) - extract(epoch from '2026-07-22 11:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794894 -2.611215)'), GeomFromEWKT('SRID=4674;POINT (-39.794862 -2.611208)'))) / (select extract(epoch from '2026-07-22 11:57:32'::timestamp) - extract(epoch from '2026-07-22 11:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794842 -2.611212)', '2026-07-22 11:57:34', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794862 -2.611208)'), GeomFromEWKT('SRID=4674;POINT (-39.794842 -2.611212)'))) / (select extract(epoch from '2026-07-22 11:57:34'::timestamp) - extract(epoch from '2026-07-22 11:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794862 -2.611208)'), GeomFromEWKT('SRID=4674;POINT (-39.794842 -2.611212)'))) / (select extract(epoch from '2026-07-22 11:57:34'::timestamp) - extract(epoch from '2026-07-22 11:57: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'), 47870, 'SRID=4674;POINT (-39.794787 -2.611264)', '2026-07-22 11:57:41', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794842 -2.611212)'), GeomFromEWKT('SRID=4674;POINT (-39.794787 -2.611264)'))) / (select extract(epoch from '2026-07-22 11:57:41'::timestamp) - extract(epoch from '2026-07-22 11:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794842 -2.611212)'), GeomFromEWKT('SRID=4674;POINT (-39.794787 -2.611264)'))) / (select extract(epoch from '2026-07-22 11:57:41'::timestamp) - extract(epoch from '2026-07-22 11:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794776 -2.611316)', '2026-07-22 11:57:46', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794787 -2.611264)'), GeomFromEWKT('SRID=4674;POINT (-39.794776 -2.611316)'))) / (select extract(epoch from '2026-07-22 11:57:46'::timestamp) - extract(epoch from '2026-07-22 11:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794787 -2.611264)'), GeomFromEWKT('SRID=4674;POINT (-39.794776 -2.611316)'))) / (select extract(epoch from '2026-07-22 11:57:46'::timestamp) - extract(epoch from '2026-07-22 11:57: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'), 47870, 'SRID=4674;POINT (-39.794757 -2.611412)', '2026-07-22 11:57:53', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794776 -2.611316)'), GeomFromEWKT('SRID=4674;POINT (-39.794757 -2.611412)'))) / (select extract(epoch from '2026-07-22 11:57:53'::timestamp) - extract(epoch from '2026-07-22 11:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794776 -2.611316)'), GeomFromEWKT('SRID=4674;POINT (-39.794757 -2.611412)'))) / (select extract(epoch from '2026-07-22 11:57:53'::timestamp) - extract(epoch from '2026-07-22 11:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794725 -2.611514)', '2026-07-22 11:58:00', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794757 -2.611412)'), GeomFromEWKT('SRID=4674;POINT (-39.794725 -2.611514)'))) / (select extract(epoch from '2026-07-22 11:58:00'::timestamp) - extract(epoch from '2026-07-22 11:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794757 -2.611412)'), GeomFromEWKT('SRID=4674;POINT (-39.794725 -2.611514)'))) / (select extract(epoch from '2026-07-22 11:58:00'::timestamp) - extract(epoch from '2026-07-22 11:57: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'), 47870, 'SRID=4674;POINT (-39.794688 -2.611605)', '2026-07-22 11:58:06', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794725 -2.611514)'), GeomFromEWKT('SRID=4674;POINT (-39.794688 -2.611605)'))) / (select extract(epoch from '2026-07-22 11:58:06'::timestamp) - extract(epoch from '2026-07-22 11:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794725 -2.611514)'), GeomFromEWKT('SRID=4674;POINT (-39.794688 -2.611605)'))) / (select extract(epoch from '2026-07-22 11:58:06'::timestamp) - extract(epoch from '2026-07-22 11:58: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'), 47870, 'SRID=4674;POINT (-39.794668 -2.611679)', '2026-07-22 11:58:11', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794688 -2.611605)'), GeomFromEWKT('SRID=4674;POINT (-39.794668 -2.611679)'))) / (select extract(epoch from '2026-07-22 11:58:11'::timestamp) - extract(epoch from '2026-07-22 11:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794688 -2.611605)'), GeomFromEWKT('SRID=4674;POINT (-39.794668 -2.611679)'))) / (select extract(epoch from '2026-07-22 11:58:11'::timestamp) - extract(epoch from '2026-07-22 11:58: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'), 47870, 'SRID=4674;POINT (-39.794662 -2.611693)', '2026-07-22 11:58:12', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794668 -2.611679)'), GeomFromEWKT('SRID=4674;POINT (-39.794662 -2.611693)'))) / (select extract(epoch from '2026-07-22 11:58:12'::timestamp) - extract(epoch from '2026-07-22 11:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794668 -2.611679)'), GeomFromEWKT('SRID=4674;POINT (-39.794662 -2.611693)'))) / (select extract(epoch from '2026-07-22 11:58:12'::timestamp) - extract(epoch from '2026-07-22 11:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794632 -2.611758)', '2026-07-22 11:58:17', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794662 -2.611693)'), GeomFromEWKT('SRID=4674;POINT (-39.794632 -2.611758)'))) / (select extract(epoch from '2026-07-22 11:58:17'::timestamp) - extract(epoch from '2026-07-22 11:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794662 -2.611693)'), GeomFromEWKT('SRID=4674;POINT (-39.794632 -2.611758)'))) / (select extract(epoch from '2026-07-22 11:58:17'::timestamp) - extract(epoch from '2026-07-22 11:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794563 -2.6118)', '2026-07-22 11:58:23', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794632 -2.611758)'), GeomFromEWKT('SRID=4674;POINT (-39.794563 -2.6118)'))) / (select extract(epoch from '2026-07-22 11:58:23'::timestamp) - extract(epoch from '2026-07-22 11:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794632 -2.611758)'), GeomFromEWKT('SRID=4674;POINT (-39.794563 -2.6118)'))) / (select extract(epoch from '2026-07-22 11:58:23'::timestamp) - extract(epoch from '2026-07-22 11:58: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'), 47870, 'SRID=4674;POINT (-39.794501 -2.611808)', '2026-07-22 11:58:29', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794563 -2.6118)'), GeomFromEWKT('SRID=4674;POINT (-39.794501 -2.611808)'))) / (select extract(epoch from '2026-07-22 11:58:29'::timestamp) - extract(epoch from '2026-07-22 11:58:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794563 -2.6118)'), GeomFromEWKT('SRID=4674;POINT (-39.794501 -2.611808)'))) / (select extract(epoch from '2026-07-22 11:58:29'::timestamp) - extract(epoch from '2026-07-22 11:58: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'), 47870, 'SRID=4674;POINT (-39.794415 -2.611804)', '2026-07-22 11:58:35', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794501 -2.611808)'), GeomFromEWKT('SRID=4674;POINT (-39.794415 -2.611804)'))) / (select extract(epoch from '2026-07-22 11:58:35'::timestamp) - extract(epoch from '2026-07-22 11:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794501 -2.611808)'), GeomFromEWKT('SRID=4674;POINT (-39.794415 -2.611804)'))) / (select extract(epoch from '2026-07-22 11:58:35'::timestamp) - extract(epoch from '2026-07-22 11:58: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'), 47870, 'SRID=4674;POINT (-39.794346 -2.611786)', '2026-07-22 11:58:40', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794415 -2.611804)'), GeomFromEWKT('SRID=4674;POINT (-39.794346 -2.611786)'))) / (select extract(epoch from '2026-07-22 11:58:40'::timestamp) - extract(epoch from '2026-07-22 11:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794415 -2.611804)'), GeomFromEWKT('SRID=4674;POINT (-39.794346 -2.611786)'))) / (select extract(epoch from '2026-07-22 11:58:40'::timestamp) - extract(epoch from '2026-07-22 11:58: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'), 47870, 'SRID=4674;POINT (-39.794303 -2.611785)', '2026-07-22 11:58:43', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794346 -2.611786)'), GeomFromEWKT('SRID=4674;POINT (-39.794303 -2.611785)'))) / (select extract(epoch from '2026-07-22 11:58:43'::timestamp) - extract(epoch from '2026-07-22 11:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794346 -2.611786)'), GeomFromEWKT('SRID=4674;POINT (-39.794303 -2.611785)'))) / (select extract(epoch from '2026-07-22 11:58:43'::timestamp) - extract(epoch from '2026-07-22 11:58: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'), 47870, 'SRID=4674;POINT (-39.794272 -2.61181)', '2026-07-22 11:58:46', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794303 -2.611785)'), GeomFromEWKT('SRID=4674;POINT (-39.794272 -2.61181)'))) / (select extract(epoch from '2026-07-22 11:58:46'::timestamp) - extract(epoch from '2026-07-22 11:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794303 -2.611785)'), GeomFromEWKT('SRID=4674;POINT (-39.794272 -2.61181)'))) / (select extract(epoch from '2026-07-22 11:58:46'::timestamp) - extract(epoch from '2026-07-22 11:58: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'), 47870, 'SRID=4674;POINT (-39.794255 -2.611836)', '2026-07-22 11:58:49', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794272 -2.61181)'), GeomFromEWKT('SRID=4674;POINT (-39.794255 -2.611836)'))) / (select extract(epoch from '2026-07-22 11:58:49'::timestamp) - extract(epoch from '2026-07-22 11:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794272 -2.61181)'), GeomFromEWKT('SRID=4674;POINT (-39.794255 -2.611836)'))) / (select extract(epoch from '2026-07-22 11:58:49'::timestamp) - extract(epoch from '2026-07-22 11:58: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'), 47870, 'SRID=4674;POINT (-39.794239 -2.611864)', '2026-07-22 11:58:52', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794255 -2.611836)'), GeomFromEWKT('SRID=4674;POINT (-39.794239 -2.611864)'))) / (select extract(epoch from '2026-07-22 11:58:52'::timestamp) - extract(epoch from '2026-07-22 11:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794255 -2.611836)'), GeomFromEWKT('SRID=4674;POINT (-39.794239 -2.611864)'))) / (select extract(epoch from '2026-07-22 11:58:52'::timestamp) - extract(epoch from '2026-07-22 11:58: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'), 47870, 'SRID=4674;POINT (-39.794203 -2.611941)', '2026-07-22 11:58:58', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794239 -2.611864)'), GeomFromEWKT('SRID=4674;POINT (-39.794203 -2.611941)'))) / (select extract(epoch from '2026-07-22 11:58:58'::timestamp) - extract(epoch from '2026-07-22 11:58:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794239 -2.611864)'), GeomFromEWKT('SRID=4674;POINT (-39.794203 -2.611941)'))) / (select extract(epoch from '2026-07-22 11:58:58'::timestamp) - extract(epoch from '2026-07-22 11:58:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794171 -2.612029)', '2026-07-22 11:59:04', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794203 -2.611941)'), GeomFromEWKT('SRID=4674;POINT (-39.794171 -2.612029)'))) / (select extract(epoch from '2026-07-22 11:59:04'::timestamp) - extract(epoch from '2026-07-22 11:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794203 -2.611941)'), GeomFromEWKT('SRID=4674;POINT (-39.794171 -2.612029)'))) / (select extract(epoch from '2026-07-22 11:59:04'::timestamp) - extract(epoch from '2026-07-22 11:58:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794142 -2.612126)', '2026-07-22 11:59:11', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794171 -2.612029)'), GeomFromEWKT('SRID=4674;POINT (-39.794142 -2.612126)'))) / (select extract(epoch from '2026-07-22 11:59:11'::timestamp) - extract(epoch from '2026-07-22 11:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794171 -2.612029)'), GeomFromEWKT('SRID=4674;POINT (-39.794142 -2.612126)'))) / (select extract(epoch from '2026-07-22 11:59:11'::timestamp) - extract(epoch from '2026-07-22 11:59:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794099 -2.6122)', '2026-07-22 11:59:16', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794142 -2.612126)'), GeomFromEWKT('SRID=4674;POINT (-39.794099 -2.6122)'))) / (select extract(epoch from '2026-07-22 11:59:16'::timestamp) - extract(epoch from '2026-07-22 11:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794142 -2.612126)'), GeomFromEWKT('SRID=4674;POINT (-39.794099 -2.6122)'))) / (select extract(epoch from '2026-07-22 11:59:16'::timestamp) - extract(epoch from '2026-07-22 11:59: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'), 47870, 'SRID=4674;POINT (-39.794082 -2.612298)', '2026-07-22 11:59:23', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794099 -2.6122)'), GeomFromEWKT('SRID=4674;POINT (-39.794082 -2.612298)'))) / (select extract(epoch from '2026-07-22 11:59:23'::timestamp) - extract(epoch from '2026-07-22 11:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794099 -2.6122)'), GeomFromEWKT('SRID=4674;POINT (-39.794082 -2.612298)'))) / (select extract(epoch from '2026-07-22 11:59:23'::timestamp) - extract(epoch from '2026-07-22 11:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.794063 -2.612415)', '2026-07-22 11:59:30', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794082 -2.612298)'), GeomFromEWKT('SRID=4674;POINT (-39.794063 -2.612415)'))) / (select extract(epoch from '2026-07-22 11:59:30'::timestamp) - extract(epoch from '2026-07-22 11:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794082 -2.612298)'), GeomFromEWKT('SRID=4674;POINT (-39.794063 -2.612415)'))) / (select extract(epoch from '2026-07-22 11:59:30'::timestamp) - extract(epoch from '2026-07-22 11:59: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'), 47870, 'SRID=4674;POINT (-39.79404 -2.612506)', '2026-07-22 11:59:37', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794063 -2.612415)'), GeomFromEWKT('SRID=4674;POINT (-39.79404 -2.612506)'))) / (select extract(epoch from '2026-07-22 11:59:37'::timestamp) - extract(epoch from '2026-07-22 11:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794063 -2.612415)'), GeomFromEWKT('SRID=4674;POINT (-39.79404 -2.612506)'))) / (select extract(epoch from '2026-07-22 11:59:37'::timestamp) - extract(epoch from '2026-07-22 11:59: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'), 47870, 'SRID=4674;POINT (-39.79401 -2.612591)', '2026-07-22 11:59:44', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79404 -2.612506)'), GeomFromEWKT('SRID=4674;POINT (-39.79401 -2.612591)'))) / (select extract(epoch from '2026-07-22 11:59:44'::timestamp) - extract(epoch from '2026-07-22 11:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79404 -2.612506)'), GeomFromEWKT('SRID=4674;POINT (-39.79401 -2.612591)'))) / (select extract(epoch from '2026-07-22 11:59:44'::timestamp) - extract(epoch from '2026-07-22 11:59: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'), 47870, 'SRID=4674;POINT (-39.794006 -2.612606)', '2026-07-22 11:59:45', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79401 -2.612591)'), GeomFromEWKT('SRID=4674;POINT (-39.794006 -2.612606)'))) / (select extract(epoch from '2026-07-22 11:59:45'::timestamp) - extract(epoch from '2026-07-22 11:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79401 -2.612591)'), GeomFromEWKT('SRID=4674;POINT (-39.794006 -2.612606)'))) / (select extract(epoch from '2026-07-22 11:59:45'::timestamp) - extract(epoch from '2026-07-22 11:59: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'), 47870, 'SRID=4674;POINT (-39.793978 -2.612669)', '2026-07-22 11:59:50', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794006 -2.612606)'), GeomFromEWKT('SRID=4674;POINT (-39.793978 -2.612669)'))) / (select extract(epoch from '2026-07-22 11:59:50'::timestamp) - extract(epoch from '2026-07-22 11:59:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.794006 -2.612606)'), GeomFromEWKT('SRID=4674;POINT (-39.793978 -2.612669)'))) / (select extract(epoch from '2026-07-22 11:59:50'::timestamp) - extract(epoch from '2026-07-22 11:59:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793948 -2.61276)', '2026-07-22 11:59:57', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793978 -2.612669)'), GeomFromEWKT('SRID=4674;POINT (-39.793948 -2.61276)'))) / (select extract(epoch from '2026-07-22 11:59:57'::timestamp) - extract(epoch from '2026-07-22 11:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793978 -2.612669)'), GeomFromEWKT('SRID=4674;POINT (-39.793948 -2.61276)'))) / (select extract(epoch from '2026-07-22 11:59:57'::timestamp) - extract(epoch from '2026-07-22 11:59: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'), 47870, 'SRID=4674;POINT (-39.793924 -2.612838)', '2026-07-22 12:00:03', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793948 -2.61276)'), GeomFromEWKT('SRID=4674;POINT (-39.793924 -2.612838)'))) / (select extract(epoch from '2026-07-22 12:00:03'::timestamp) - extract(epoch from '2026-07-22 11:59:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793948 -2.61276)'), GeomFromEWKT('SRID=4674;POINT (-39.793924 -2.612838)'))) / (select extract(epoch from '2026-07-22 12:00:03'::timestamp) - extract(epoch from '2026-07-22 11:59: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'), 47870, 'SRID=4674;POINT (-39.793899 -2.6129)', '2026-07-22 12:00:08', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793924 -2.612838)'), GeomFromEWKT('SRID=4674;POINT (-39.793899 -2.6129)'))) / (select extract(epoch from '2026-07-22 12:00:08'::timestamp) - extract(epoch from '2026-07-22 12:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793924 -2.612838)'), GeomFromEWKT('SRID=4674;POINT (-39.793899 -2.6129)'))) / (select extract(epoch from '2026-07-22 12:00:08'::timestamp) - extract(epoch from '2026-07-22 12:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793897 -2.612912)', '2026-07-22 12:00:09', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793899 -2.6129)'), GeomFromEWKT('SRID=4674;POINT (-39.793897 -2.612912)'))) / (select extract(epoch from '2026-07-22 12:00:09'::timestamp) - extract(epoch from '2026-07-22 12:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793899 -2.6129)'), GeomFromEWKT('SRID=4674;POINT (-39.793897 -2.612912)'))) / (select extract(epoch from '2026-07-22 12:00:09'::timestamp) - extract(epoch from '2026-07-22 12:00: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'), 47870, 'SRID=4674;POINT (-39.793876 -2.612962)', '2026-07-22 12:00:13', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793897 -2.612912)'), GeomFromEWKT('SRID=4674;POINT (-39.793876 -2.612962)'))) / (select extract(epoch from '2026-07-22 12:00:13'::timestamp) - extract(epoch from '2026-07-22 12:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793897 -2.612912)'), GeomFromEWKT('SRID=4674;POINT (-39.793876 -2.612962)'))) / (select extract(epoch from '2026-07-22 12:00:13'::timestamp) - extract(epoch from '2026-07-22 12:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793851 -2.613022)', '2026-07-22 12:00:18', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793876 -2.612962)'), GeomFromEWKT('SRID=4674;POINT (-39.793851 -2.613022)'))) / (select extract(epoch from '2026-07-22 12:00:18'::timestamp) - extract(epoch from '2026-07-22 12:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793876 -2.612962)'), GeomFromEWKT('SRID=4674;POINT (-39.793851 -2.613022)'))) / (select extract(epoch from '2026-07-22 12:00:18'::timestamp) - extract(epoch from '2026-07-22 12:00: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'), 47870, 'SRID=4674;POINT (-39.793834 -2.613091)', '2026-07-22 12:00:23', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793851 -2.613022)'), GeomFromEWKT('SRID=4674;POINT (-39.793834 -2.613091)'))) / (select extract(epoch from '2026-07-22 12:00:23'::timestamp) - extract(epoch from '2026-07-22 12:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793851 -2.613022)'), GeomFromEWKT('SRID=4674;POINT (-39.793834 -2.613091)'))) / (select extract(epoch from '2026-07-22 12:00:23'::timestamp) - extract(epoch from '2026-07-22 12:00:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793832 -2.613103)', '2026-07-22 12:00:24', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793834 -2.613091)'), GeomFromEWKT('SRID=4674;POINT (-39.793832 -2.613103)'))) / (select extract(epoch from '2026-07-22 12:00:24'::timestamp) - extract(epoch from '2026-07-22 12:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793834 -2.613091)'), GeomFromEWKT('SRID=4674;POINT (-39.793832 -2.613103)'))) / (select extract(epoch from '2026-07-22 12:00:24'::timestamp) - extract(epoch from '2026-07-22 12:00: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'), 47870, 'SRID=4674;POINT (-39.793818 -2.613202)', '2026-07-22 12:00:30', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793832 -2.613103)'), GeomFromEWKT('SRID=4674;POINT (-39.793818 -2.613202)'))) / (select extract(epoch from '2026-07-22 12:00:30'::timestamp) - extract(epoch from '2026-07-22 12:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793832 -2.613103)'), GeomFromEWKT('SRID=4674;POINT (-39.793818 -2.613202)'))) / (select extract(epoch from '2026-07-22 12:00:30'::timestamp) - extract(epoch from '2026-07-22 12:00:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793782 -2.613283)', '2026-07-22 12:00:36', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793818 -2.613202)'), GeomFromEWKT('SRID=4674;POINT (-39.793782 -2.613283)'))) / (select extract(epoch from '2026-07-22 12:00:36'::timestamp) - extract(epoch from '2026-07-22 12:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793818 -2.613202)'), GeomFromEWKT('SRID=4674;POINT (-39.793782 -2.613283)'))) / (select extract(epoch from '2026-07-22 12:00:36'::timestamp) - extract(epoch from '2026-07-22 12:00:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793775 -2.613294)', '2026-07-22 12:00:37', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793782 -2.613283)'), GeomFromEWKT('SRID=4674;POINT (-39.793775 -2.613294)'))) / (select extract(epoch from '2026-07-22 12:00:37'::timestamp) - extract(epoch from '2026-07-22 12:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793782 -2.613283)'), GeomFromEWKT('SRID=4674;POINT (-39.793775 -2.613294)'))) / (select extract(epoch from '2026-07-22 12:00:37'::timestamp) - extract(epoch from '2026-07-22 12:00: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'), 47870, 'SRID=4674;POINT (-39.793729 -2.613346)', '2026-07-22 12:00:42', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793775 -2.613294)'), GeomFromEWKT('SRID=4674;POINT (-39.793729 -2.613346)'))) / (select extract(epoch from '2026-07-22 12:00:42'::timestamp) - extract(epoch from '2026-07-22 12:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793775 -2.613294)'), GeomFromEWKT('SRID=4674;POINT (-39.793729 -2.613346)'))) / (select extract(epoch from '2026-07-22 12:00:42'::timestamp) - extract(epoch from '2026-07-22 12:00: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'), 47870, 'SRID=4674;POINT (-39.793686 -2.613386)', '2026-07-22 12:00:47', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793729 -2.613346)'), GeomFromEWKT('SRID=4674;POINT (-39.793686 -2.613386)'))) / (select extract(epoch from '2026-07-22 12:00:47'::timestamp) - extract(epoch from '2026-07-22 12:00:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793729 -2.613346)'), GeomFromEWKT('SRID=4674;POINT (-39.793686 -2.613386)'))) / (select extract(epoch from '2026-07-22 12:00:47'::timestamp) - extract(epoch from '2026-07-22 12:00: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'), 47870, 'SRID=4674;POINT (-39.793674 -2.613401)', '2026-07-22 12:00:49', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793686 -2.613386)'), GeomFromEWKT('SRID=4674;POINT (-39.793674 -2.613401)'))) / (select extract(epoch from '2026-07-22 12:00:49'::timestamp) - extract(epoch from '2026-07-22 12:00:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793686 -2.613386)'), GeomFromEWKT('SRID=4674;POINT (-39.793674 -2.613401)'))) / (select extract(epoch from '2026-07-22 12:00:49'::timestamp) - extract(epoch from '2026-07-22 12:00: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'), 47870, 'SRID=4674;POINT (-39.793642 -2.613444)', '2026-07-22 12:00:54', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793674 -2.613401)'), GeomFromEWKT('SRID=4674;POINT (-39.793642 -2.613444)'))) / (select extract(epoch from '2026-07-22 12:00:54'::timestamp) - extract(epoch from '2026-07-22 12:00:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793674 -2.613401)'), GeomFromEWKT('SRID=4674;POINT (-39.793642 -2.613444)'))) / (select extract(epoch from '2026-07-22 12:00:54'::timestamp) - extract(epoch from '2026-07-22 12:00:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793636 -2.613457)', '2026-07-22 12:00:55', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793642 -2.613444)'), GeomFromEWKT('SRID=4674;POINT (-39.793636 -2.613457)'))) / (select extract(epoch from '2026-07-22 12:00:55'::timestamp) - extract(epoch from '2026-07-22 12:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793642 -2.613444)'), GeomFromEWKT('SRID=4674;POINT (-39.793636 -2.613457)'))) / (select extract(epoch from '2026-07-22 12:00:55'::timestamp) - extract(epoch from '2026-07-22 12:00:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793631 -2.613488)', '2026-07-22 12:00:58', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793636 -2.613457)'), GeomFromEWKT('SRID=4674;POINT (-39.793631 -2.613488)'))) / (select extract(epoch from '2026-07-22 12:00:58'::timestamp) - extract(epoch from '2026-07-22 12:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793636 -2.613457)'), GeomFromEWKT('SRID=4674;POINT (-39.793631 -2.613488)'))) / (select extract(epoch from '2026-07-22 12:00:58'::timestamp) - extract(epoch from '2026-07-22 12:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793632 -2.613514)', '2026-07-22 12:01:00', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793631 -2.613488)'), GeomFromEWKT('SRID=4674;POINT (-39.793632 -2.613514)'))) / (select extract(epoch from '2026-07-22 12:01:00'::timestamp) - extract(epoch from '2026-07-22 12:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793631 -2.613488)'), GeomFromEWKT('SRID=4674;POINT (-39.793632 -2.613514)'))) / (select extract(epoch from '2026-07-22 12:01:00'::timestamp) - extract(epoch from '2026-07-22 12:00: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'), 47870, 'SRID=4674;POINT (-39.793606 -2.613625)', '2026-07-22 12:01:08', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793632 -2.613514)'), GeomFromEWKT('SRID=4674;POINT (-39.793606 -2.613625)'))) / (select extract(epoch from '2026-07-22 12:01:08'::timestamp) - extract(epoch from '2026-07-22 12:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793632 -2.613514)'), GeomFromEWKT('SRID=4674;POINT (-39.793606 -2.613625)'))) / (select extract(epoch from '2026-07-22 12:01:08'::timestamp) - extract(epoch from '2026-07-22 12:01: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'), 47870, 'SRID=4674;POINT (-39.79361 -2.613638)', '2026-07-22 12:01:09', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793606 -2.613625)'), GeomFromEWKT('SRID=4674;POINT (-39.79361 -2.613638)'))) / (select extract(epoch from '2026-07-22 12:01:09'::timestamp) - extract(epoch from '2026-07-22 12:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793606 -2.613625)'), GeomFromEWKT('SRID=4674;POINT (-39.79361 -2.613638)'))) / (select extract(epoch from '2026-07-22 12:01:09'::timestamp) - extract(epoch from '2026-07-22 12:01:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793615 -2.613704)', '2026-07-22 12:01:13', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79361 -2.613638)'), GeomFromEWKT('SRID=4674;POINT (-39.793615 -2.613704)'))) / (select extract(epoch from '2026-07-22 12:01:13'::timestamp) - extract(epoch from '2026-07-22 12:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79361 -2.613638)'), GeomFromEWKT('SRID=4674;POINT (-39.793615 -2.613704)'))) / (select extract(epoch from '2026-07-22 12:01:13'::timestamp) - extract(epoch from '2026-07-22 12:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793617 -2.613841)', '2026-07-22 12:01:21', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793615 -2.613704)'), GeomFromEWKT('SRID=4674;POINT (-39.793617 -2.613841)'))) / (select extract(epoch from '2026-07-22 12:01:21'::timestamp) - extract(epoch from '2026-07-22 12:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793615 -2.613704)'), GeomFromEWKT('SRID=4674;POINT (-39.793617 -2.613841)'))) / (select extract(epoch from '2026-07-22 12:01:21'::timestamp) - extract(epoch from '2026-07-22 12:01: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'), 47870, 'SRID=4674;POINT (-39.793611 -2.613899)', '2026-07-22 12:01:26', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793617 -2.613841)'), GeomFromEWKT('SRID=4674;POINT (-39.793611 -2.613899)'))) / (select extract(epoch from '2026-07-22 12:01:26'::timestamp) - extract(epoch from '2026-07-22 12:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793617 -2.613841)'), GeomFromEWKT('SRID=4674;POINT (-39.793611 -2.613899)'))) / (select extract(epoch from '2026-07-22 12:01:26'::timestamp) - extract(epoch from '2026-07-22 12:01: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'), 47870, 'SRID=4674;POINT (-39.793603 -2.613909)', '2026-07-22 12:01:27', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793611 -2.613899)'), GeomFromEWKT('SRID=4674;POINT (-39.793603 -2.613909)'))) / (select extract(epoch from '2026-07-22 12:01:27'::timestamp) - extract(epoch from '2026-07-22 12:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793611 -2.613899)'), GeomFromEWKT('SRID=4674;POINT (-39.793603 -2.613909)'))) / (select extract(epoch from '2026-07-22 12:01:27'::timestamp) - extract(epoch from '2026-07-22 12:01:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793583 -2.613949)', '2026-07-22 12:01:31', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793603 -2.613909)'), GeomFromEWKT('SRID=4674;POINT (-39.793583 -2.613949)'))) / (select extract(epoch from '2026-07-22 12:01:31'::timestamp) - extract(epoch from '2026-07-22 12:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793603 -2.613909)'), GeomFromEWKT('SRID=4674;POINT (-39.793583 -2.613949)'))) / (select extract(epoch from '2026-07-22 12:01:31'::timestamp) - extract(epoch from '2026-07-22 12:01: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'), 47870, 'SRID=4674;POINT (-39.793575 -2.613958)', '2026-07-22 12:01:32', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793583 -2.613949)'), GeomFromEWKT('SRID=4674;POINT (-39.793575 -2.613958)'))) / (select extract(epoch from '2026-07-22 12:01:32'::timestamp) - extract(epoch from '2026-07-22 12:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793583 -2.613949)'), GeomFromEWKT('SRID=4674;POINT (-39.793575 -2.613958)'))) / (select extract(epoch from '2026-07-22 12:01:32'::timestamp) - extract(epoch from '2026-07-22 12:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793495 -2.614039)', '2026-07-22 12:01:41', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793575 -2.613958)'), GeomFromEWKT('SRID=4674;POINT (-39.793495 -2.614039)'))) / (select extract(epoch from '2026-07-22 12:01:41'::timestamp) - extract(epoch from '2026-07-22 12:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793575 -2.613958)'), GeomFromEWKT('SRID=4674;POINT (-39.793495 -2.614039)'))) / (select extract(epoch from '2026-07-22 12:01:41'::timestamp) - extract(epoch from '2026-07-22 12:01: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'), 47870, 'SRID=4674;POINT (-39.793417 -2.614101)', '2026-07-22 12:01:48', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793495 -2.614039)'), GeomFromEWKT('SRID=4674;POINT (-39.793417 -2.614101)'))) / (select extract(epoch from '2026-07-22 12:01:48'::timestamp) - extract(epoch from '2026-07-22 12:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793495 -2.614039)'), GeomFromEWKT('SRID=4674;POINT (-39.793417 -2.614101)'))) / (select extract(epoch from '2026-07-22 12:01:48'::timestamp) - extract(epoch from '2026-07-22 12:01: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'), 47870, 'SRID=4674;POINT (-39.793404 -2.614104)', '2026-07-22 12:01:49', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793417 -2.614101)'), GeomFromEWKT('SRID=4674;POINT (-39.793404 -2.614104)'))) / (select extract(epoch from '2026-07-22 12:01:49'::timestamp) - extract(epoch from '2026-07-22 12:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793417 -2.614101)'), GeomFromEWKT('SRID=4674;POINT (-39.793404 -2.614104)'))) / (select extract(epoch from '2026-07-22 12:01:49'::timestamp) - extract(epoch from '2026-07-22 12:01: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'), 47870, 'SRID=4674;POINT (-39.793381 -2.614115)', '2026-07-22 12:01:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793404 -2.614104)'), GeomFromEWKT('SRID=4674;POINT (-39.793381 -2.614115)'))) / (select extract(epoch from '2026-07-22 12:01:51'::timestamp) - extract(epoch from '2026-07-22 12:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793404 -2.614104)'), GeomFromEWKT('SRID=4674;POINT (-39.793381 -2.614115)'))) / (select extract(epoch from '2026-07-22 12:01:51'::timestamp) - extract(epoch from '2026-07-22 12:01: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'), 47870, 'SRID=4674;POINT (-39.793349 -2.61412)', '2026-07-22 12:01:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793381 -2.614115)'), GeomFromEWKT('SRID=4674;POINT (-39.793349 -2.61412)'))) / (select extract(epoch from '2026-07-22 12:01:53'::timestamp) - extract(epoch from '2026-07-22 12:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793381 -2.614115)'), GeomFromEWKT('SRID=4674;POINT (-39.793349 -2.61412)'))) / (select extract(epoch from '2026-07-22 12:01:53'::timestamp) - extract(epoch from '2026-07-22 12:01:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793226 -2.614185)', '2026-07-22 12:02:01', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793349 -2.61412)'), GeomFromEWKT('SRID=4674;POINT (-39.793226 -2.614185)'))) / (select extract(epoch from '2026-07-22 12:02:01'::timestamp) - extract(epoch from '2026-07-22 12:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793349 -2.61412)'), GeomFromEWKT('SRID=4674;POINT (-39.793226 -2.614185)'))) / (select extract(epoch from '2026-07-22 12:02:01'::timestamp) - extract(epoch from '2026-07-22 12:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.793175 -2.61424)', '2026-07-22 12:02:07', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793226 -2.614185)'), GeomFromEWKT('SRID=4674;POINT (-39.793175 -2.61424)'))) / (select extract(epoch from '2026-07-22 12:02:07'::timestamp) - extract(epoch from '2026-07-22 12:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793226 -2.614185)'), GeomFromEWKT('SRID=4674;POINT (-39.793175 -2.61424)'))) / (select extract(epoch from '2026-07-22 12:02:07'::timestamp) - extract(epoch from '2026-07-22 12:02: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'), 47870, 'SRID=4674;POINT (-39.793113 -2.614327)', '2026-07-22 12:02:13', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793175 -2.61424)'), GeomFromEWKT('SRID=4674;POINT (-39.793113 -2.614327)'))) / (select extract(epoch from '2026-07-22 12:02:13'::timestamp) - extract(epoch from '2026-07-22 12:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793175 -2.61424)'), GeomFromEWKT('SRID=4674;POINT (-39.793113 -2.614327)'))) / (select extract(epoch from '2026-07-22 12:02:13'::timestamp) - extract(epoch from '2026-07-22 12:02: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'), 47870, 'SRID=4674;POINT (-39.793075 -2.614382)', '2026-07-22 12:02:18', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793113 -2.614327)'), GeomFromEWKT('SRID=4674;POINT (-39.793075 -2.614382)'))) / (select extract(epoch from '2026-07-22 12:02:18'::timestamp) - extract(epoch from '2026-07-22 12:02:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793113 -2.614327)'), GeomFromEWKT('SRID=4674;POINT (-39.793075 -2.614382)'))) / (select extract(epoch from '2026-07-22 12:02:18'::timestamp) - extract(epoch from '2026-07-22 12:02: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'), 47870, 'SRID=4674;POINT (-39.793064 -2.614397)', '2026-07-22 12:02:20', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793075 -2.614382)'), GeomFromEWKT('SRID=4674;POINT (-39.793064 -2.614397)'))) / (select extract(epoch from '2026-07-22 12:02:20'::timestamp) - extract(epoch from '2026-07-22 12:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793075 -2.614382)'), GeomFromEWKT('SRID=4674;POINT (-39.793064 -2.614397)'))) / (select extract(epoch from '2026-07-22 12:02:20'::timestamp) - extract(epoch from '2026-07-22 12:02: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'), 47870, 'SRID=4674;POINT (-39.793025 -2.614413)', '2026-07-22 12:02:23', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793064 -2.614397)'), GeomFromEWKT('SRID=4674;POINT (-39.793025 -2.614413)'))) / (select extract(epoch from '2026-07-22 12:02:23'::timestamp) - extract(epoch from '2026-07-22 12:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793064 -2.614397)'), GeomFromEWKT('SRID=4674;POINT (-39.793025 -2.614413)'))) / (select extract(epoch from '2026-07-22 12:02:23'::timestamp) - extract(epoch from '2026-07-22 12:02: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'), 47870, 'SRID=4674;POINT (-39.792969 -2.614426)', '2026-07-22 12:02:29', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793025 -2.614413)'), GeomFromEWKT('SRID=4674;POINT (-39.792969 -2.614426)'))) / (select extract(epoch from '2026-07-22 12:02:29'::timestamp) - extract(epoch from '2026-07-22 12:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.793025 -2.614413)'), GeomFromEWKT('SRID=4674;POINT (-39.792969 -2.614426)'))) / (select extract(epoch from '2026-07-22 12:02:29'::timestamp) - extract(epoch from '2026-07-22 12:02: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'), 47870, 'SRID=4674;POINT (-39.792888 -2.614437)', '2026-07-22 12:02:36', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792969 -2.614426)'), GeomFromEWKT('SRID=4674;POINT (-39.792888 -2.614437)'))) / (select extract(epoch from '2026-07-22 12:02:36'::timestamp) - extract(epoch from '2026-07-22 12:02:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792969 -2.614426)'), GeomFromEWKT('SRID=4674;POINT (-39.792888 -2.614437)'))) / (select extract(epoch from '2026-07-22 12:02:36'::timestamp) - extract(epoch from '2026-07-22 12:02: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'), 47870, 'SRID=4674;POINT (-39.792785 -2.614459)', '2026-07-22 12:02:43', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792888 -2.614437)'), GeomFromEWKT('SRID=4674;POINT (-39.792785 -2.614459)'))) / (select extract(epoch from '2026-07-22 12:02:43'::timestamp) - extract(epoch from '2026-07-22 12:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792888 -2.614437)'), GeomFromEWKT('SRID=4674;POINT (-39.792785 -2.614459)'))) / (select extract(epoch from '2026-07-22 12:02:43'::timestamp) - extract(epoch from '2026-07-22 12:02: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'), 47870, 'SRID=4674;POINT (-39.792713 -2.614501)', '2026-07-22 12:02:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792785 -2.614459)'), GeomFromEWKT('SRID=4674;POINT (-39.792713 -2.614501)'))) / (select extract(epoch from '2026-07-22 12:02:50'::timestamp) - extract(epoch from '2026-07-22 12:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792785 -2.614459)'), GeomFromEWKT('SRID=4674;POINT (-39.792713 -2.614501)'))) / (select extract(epoch from '2026-07-22 12:02:50'::timestamp) - extract(epoch from '2026-07-22 12:02: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'), 47870, 'SRID=4674;POINT (-39.792584 -2.614542)', '2026-07-22 12:02:59', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792713 -2.614501)'), GeomFromEWKT('SRID=4674;POINT (-39.792584 -2.614542)'))) / (select extract(epoch from '2026-07-22 12:02:59'::timestamp) - extract(epoch from '2026-07-22 12:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792713 -2.614501)'), GeomFromEWKT('SRID=4674;POINT (-39.792584 -2.614542)'))) / (select extract(epoch from '2026-07-22 12:02:59'::timestamp) - extract(epoch from '2026-07-22 12:02: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'), 47870, 'SRID=4674;POINT (-39.792498 -2.614579)', '2026-07-22 12:03:06', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792584 -2.614542)'), GeomFromEWKT('SRID=4674;POINT (-39.792498 -2.614579)'))) / (select extract(epoch from '2026-07-22 12:03:06'::timestamp) - extract(epoch from '2026-07-22 12:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792584 -2.614542)'), GeomFromEWKT('SRID=4674;POINT (-39.792498 -2.614579)'))) / (select extract(epoch from '2026-07-22 12:03:06'::timestamp) - extract(epoch from '2026-07-22 12:02: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'), 47870, 'SRID=4674;POINT (-39.792439 -2.614613)', '2026-07-22 12:03:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792498 -2.614579)'), GeomFromEWKT('SRID=4674;POINT (-39.792439 -2.614613)'))) / (select extract(epoch from '2026-07-22 12:03:12'::timestamp) - extract(epoch from '2026-07-22 12:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792498 -2.614579)'), GeomFromEWKT('SRID=4674;POINT (-39.792439 -2.614613)'))) / (select extract(epoch from '2026-07-22 12:03:12'::timestamp) - extract(epoch from '2026-07-22 12:03: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'), 47870, 'SRID=4674;POINT (-39.792361 -2.614675)', '2026-07-22 12:03:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792439 -2.614613)'), GeomFromEWKT('SRID=4674;POINT (-39.792361 -2.614675)'))) / (select extract(epoch from '2026-07-22 12:03:19'::timestamp) - extract(epoch from '2026-07-22 12:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792439 -2.614613)'), GeomFromEWKT('SRID=4674;POINT (-39.792361 -2.614675)'))) / (select extract(epoch from '2026-07-22 12:03:19'::timestamp) - extract(epoch from '2026-07-22 12:03:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792304 -2.614727)', '2026-07-22 12:03:25', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792361 -2.614675)'), GeomFromEWKT('SRID=4674;POINT (-39.792304 -2.614727)'))) / (select extract(epoch from '2026-07-22 12:03:25'::timestamp) - extract(epoch from '2026-07-22 12:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792361 -2.614675)'), GeomFromEWKT('SRID=4674;POINT (-39.792304 -2.614727)'))) / (select extract(epoch from '2026-07-22 12:03:25'::timestamp) - extract(epoch from '2026-07-22 12:03: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'), 47870, 'SRID=4674;POINT (-39.792236 -2.614786)', '2026-07-22 12:03:31', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792304 -2.614727)'), GeomFromEWKT('SRID=4674;POINT (-39.792236 -2.614786)'))) / (select extract(epoch from '2026-07-22 12:03:31'::timestamp) - extract(epoch from '2026-07-22 12:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792304 -2.614727)'), GeomFromEWKT('SRID=4674;POINT (-39.792236 -2.614786)'))) / (select extract(epoch from '2026-07-22 12:03:31'::timestamp) - extract(epoch from '2026-07-22 12:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792206 -2.614832)', '2026-07-22 12:03:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792236 -2.614786)'), GeomFromEWKT('SRID=4674;POINT (-39.792206 -2.614832)'))) / (select extract(epoch from '2026-07-22 12:03:35'::timestamp) - extract(epoch from '2026-07-22 12:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792236 -2.614786)'), GeomFromEWKT('SRID=4674;POINT (-39.792206 -2.614832)'))) / (select extract(epoch from '2026-07-22 12:03:35'::timestamp) - extract(epoch from '2026-07-22 12:03:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792194 -2.614839)', '2026-07-22 12:03:36', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792206 -2.614832)'), GeomFromEWKT('SRID=4674;POINT (-39.792194 -2.614839)'))) / (select extract(epoch from '2026-07-22 12:03:36'::timestamp) - extract(epoch from '2026-07-22 12:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792206 -2.614832)'), GeomFromEWKT('SRID=4674;POINT (-39.792194 -2.614839)'))) / (select extract(epoch from '2026-07-22 12:03:36'::timestamp) - extract(epoch from '2026-07-22 12:03: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'), 47870, 'SRID=4674;POINT (-39.792141 -2.614895)', '2026-07-22 12:03:42', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792194 -2.614839)'), GeomFromEWKT('SRID=4674;POINT (-39.792141 -2.614895)'))) / (select extract(epoch from '2026-07-22 12:03:42'::timestamp) - extract(epoch from '2026-07-22 12:03:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792194 -2.614839)'), GeomFromEWKT('SRID=4674;POINT (-39.792141 -2.614895)'))) / (select extract(epoch from '2026-07-22 12:03:42'::timestamp) - extract(epoch from '2026-07-22 12:03:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.792073 -2.614955)', '2026-07-22 12:03:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792141 -2.614895)'), GeomFromEWKT('SRID=4674;POINT (-39.792073 -2.614955)'))) / (select extract(epoch from '2026-07-22 12:03:49'::timestamp) - extract(epoch from '2026-07-22 12:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792141 -2.614895)'), GeomFromEWKT('SRID=4674;POINT (-39.792073 -2.614955)'))) / (select extract(epoch from '2026-07-22 12:03:49'::timestamp) - extract(epoch from '2026-07-22 12:03: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'), 47870, 'SRID=4674;POINT (-39.792012 -2.615022)', '2026-07-22 12:03:56', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792073 -2.614955)'), GeomFromEWKT('SRID=4674;POINT (-39.792012 -2.615022)'))) / (select extract(epoch from '2026-07-22 12:03:56'::timestamp) - extract(epoch from '2026-07-22 12:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792073 -2.614955)'), GeomFromEWKT('SRID=4674;POINT (-39.792012 -2.615022)'))) / (select extract(epoch from '2026-07-22 12:03:56'::timestamp) - extract(epoch from '2026-07-22 12:03:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791933 -2.615073)', '2026-07-22 12:04:03', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792012 -2.615022)'), GeomFromEWKT('SRID=4674;POINT (-39.791933 -2.615073)'))) / (select extract(epoch from '2026-07-22 12:04:03'::timestamp) - extract(epoch from '2026-07-22 12:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.792012 -2.615022)'), GeomFromEWKT('SRID=4674;POINT (-39.791933 -2.615073)'))) / (select extract(epoch from '2026-07-22 12:04:03'::timestamp) - extract(epoch from '2026-07-22 12:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791837 -2.615087)', '2026-07-22 12:04:09', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791933 -2.615073)'), GeomFromEWKT('SRID=4674;POINT (-39.791837 -2.615087)'))) / (select extract(epoch from '2026-07-22 12:04:09'::timestamp) - extract(epoch from '2026-07-22 12:04:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791933 -2.615073)'), GeomFromEWKT('SRID=4674;POINT (-39.791837 -2.615087)'))) / (select extract(epoch from '2026-07-22 12:04:09'::timestamp) - extract(epoch from '2026-07-22 12:04: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'), 47870, 'SRID=4674;POINT (-39.791822 -2.615092)', '2026-07-22 12:04:10', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791837 -2.615087)'), GeomFromEWKT('SRID=4674;POINT (-39.791822 -2.615092)'))) / (select extract(epoch from '2026-07-22 12:04:10'::timestamp) - extract(epoch from '2026-07-22 12:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791837 -2.615087)'), GeomFromEWKT('SRID=4674;POINT (-39.791822 -2.615092)'))) / (select extract(epoch from '2026-07-22 12:04:10'::timestamp) - extract(epoch from '2026-07-22 12:04: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'), 47870, 'SRID=4674;POINT (-39.791768 -2.61509)', '2026-07-22 12:04:14', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791822 -2.615092)'), GeomFromEWKT('SRID=4674;POINT (-39.791768 -2.61509)'))) / (select extract(epoch from '2026-07-22 12:04:14'::timestamp) - extract(epoch from '2026-07-22 12:04:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791822 -2.615092)'), GeomFromEWKT('SRID=4674;POINT (-39.791768 -2.61509)'))) / (select extract(epoch from '2026-07-22 12:04:14'::timestamp) - extract(epoch from '2026-07-22 12:04:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791667 -2.615103)', '2026-07-22 12:04:21', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791768 -2.61509)'), GeomFromEWKT('SRID=4674;POINT (-39.791667 -2.615103)'))) / (select extract(epoch from '2026-07-22 12:04:21'::timestamp) - extract(epoch from '2026-07-22 12:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791768 -2.61509)'), GeomFromEWKT('SRID=4674;POINT (-39.791667 -2.615103)'))) / (select extract(epoch from '2026-07-22 12:04:21'::timestamp) - extract(epoch from '2026-07-22 12:04: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'), 47870, 'SRID=4674;POINT (-39.79157 -2.61512)', '2026-07-22 12:04:27', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791667 -2.615103)'), GeomFromEWKT('SRID=4674;POINT (-39.79157 -2.61512)'))) / (select extract(epoch from '2026-07-22 12:04:27'::timestamp) - extract(epoch from '2026-07-22 12:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791667 -2.615103)'), GeomFromEWKT('SRID=4674;POINT (-39.79157 -2.61512)'))) / (select extract(epoch from '2026-07-22 12:04:27'::timestamp) - extract(epoch from '2026-07-22 12:04: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'), 47870, 'SRID=4674;POINT (-39.791492 -2.615143)', '2026-07-22 12:04:33', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79157 -2.61512)'), GeomFromEWKT('SRID=4674;POINT (-39.791492 -2.615143)'))) / (select extract(epoch from '2026-07-22 12:04:33'::timestamp) - extract(epoch from '2026-07-22 12:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79157 -2.61512)'), GeomFromEWKT('SRID=4674;POINT (-39.791492 -2.615143)'))) / (select extract(epoch from '2026-07-22 12:04:33'::timestamp) - extract(epoch from '2026-07-22 12:04: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'), 47870, 'SRID=4674;POINT (-39.791481 -2.615149)', '2026-07-22 12:04:34', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791492 -2.615143)'), GeomFromEWKT('SRID=4674;POINT (-39.791481 -2.615149)'))) / (select extract(epoch from '2026-07-22 12:04:34'::timestamp) - extract(epoch from '2026-07-22 12:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791492 -2.615143)'), GeomFromEWKT('SRID=4674;POINT (-39.791481 -2.615149)'))) / (select extract(epoch from '2026-07-22 12:04:34'::timestamp) - extract(epoch from '2026-07-22 12:04:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791445 -2.615156)', '2026-07-22 12:04:37', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791481 -2.615149)'), GeomFromEWKT('SRID=4674;POINT (-39.791445 -2.615156)'))) / (select extract(epoch from '2026-07-22 12:04:37'::timestamp) - extract(epoch from '2026-07-22 12:04:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791481 -2.615149)'), GeomFromEWKT('SRID=4674;POINT (-39.791445 -2.615156)'))) / (select extract(epoch from '2026-07-22 12:04:37'::timestamp) - extract(epoch from '2026-07-22 12:04: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'), 47870, 'SRID=4674;POINT (-39.791419 -2.615162)', '2026-07-22 12:04:39', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791445 -2.615156)'), GeomFromEWKT('SRID=4674;POINT (-39.791419 -2.615162)'))) / (select extract(epoch from '2026-07-22 12:04:39'::timestamp) - extract(epoch from '2026-07-22 12:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791445 -2.615156)'), GeomFromEWKT('SRID=4674;POINT (-39.791419 -2.615162)'))) / (select extract(epoch from '2026-07-22 12:04:39'::timestamp) - extract(epoch from '2026-07-22 12:04: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'), 47870, 'SRID=4674;POINT (-39.791355 -2.615175)', '2026-07-22 12:04:45', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791419 -2.615162)'), GeomFromEWKT('SRID=4674;POINT (-39.791355 -2.615175)'))) / (select extract(epoch from '2026-07-22 12:04:45'::timestamp) - extract(epoch from '2026-07-22 12:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791419 -2.615162)'), GeomFromEWKT('SRID=4674;POINT (-39.791355 -2.615175)'))) / (select extract(epoch from '2026-07-22 12:04:45'::timestamp) - extract(epoch from '2026-07-22 12:04: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'), 47870, 'SRID=4674;POINT (-39.791281 -2.615176)', '2026-07-22 12:04:51', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791355 -2.615175)'), GeomFromEWKT('SRID=4674;POINT (-39.791281 -2.615176)'))) / (select extract(epoch from '2026-07-22 12:04:51'::timestamp) - extract(epoch from '2026-07-22 12:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791355 -2.615175)'), GeomFromEWKT('SRID=4674;POINT (-39.791281 -2.615176)'))) / (select extract(epoch from '2026-07-22 12:04:51'::timestamp) - extract(epoch from '2026-07-22 12:04: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'), 47870, 'SRID=4674;POINT (-39.791184 -2.615183)', '2026-07-22 12:04:58', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791281 -2.615176)'), GeomFromEWKT('SRID=4674;POINT (-39.791184 -2.615183)'))) / (select extract(epoch from '2026-07-22 12:04:58'::timestamp) - extract(epoch from '2026-07-22 12:04:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791281 -2.615176)'), GeomFromEWKT('SRID=4674;POINT (-39.791184 -2.615183)'))) / (select extract(epoch from '2026-07-22 12:04:58'::timestamp) - extract(epoch from '2026-07-22 12:04:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.791072 -2.615171)', '2026-07-22 12:05:05', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791184 -2.615183)'), GeomFromEWKT('SRID=4674;POINT (-39.791072 -2.615171)'))) / (select extract(epoch from '2026-07-22 12:05:05'::timestamp) - extract(epoch from '2026-07-22 12:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791184 -2.615183)'), GeomFromEWKT('SRID=4674;POINT (-39.791072 -2.615171)'))) / (select extract(epoch from '2026-07-22 12:05:05'::timestamp) - extract(epoch from '2026-07-22 12:04: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'), 47870, 'SRID=4674;POINT (-39.790965 -2.615148)', '2026-07-22 12:05:12', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791072 -2.615171)'), GeomFromEWKT('SRID=4674;POINT (-39.790965 -2.615148)'))) / (select extract(epoch from '2026-07-22 12:05:12'::timestamp) - extract(epoch from '2026-07-22 12:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.791072 -2.615171)'), GeomFromEWKT('SRID=4674;POINT (-39.790965 -2.615148)'))) / (select extract(epoch from '2026-07-22 12:05:12'::timestamp) - extract(epoch from '2026-07-22 12:05:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79085 -2.615132)', '2026-07-22 12:05:19', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790965 -2.615148)'), GeomFromEWKT('SRID=4674;POINT (-39.79085 -2.615132)'))) / (select extract(epoch from '2026-07-22 12:05:19'::timestamp) - extract(epoch from '2026-07-22 12:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790965 -2.615148)'), GeomFromEWKT('SRID=4674;POINT (-39.79085 -2.615132)'))) / (select extract(epoch from '2026-07-22 12:05:19'::timestamp) - extract(epoch from '2026-07-22 12:05:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790736 -2.615134)', '2026-07-22 12:05:26', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79085 -2.615132)'), GeomFromEWKT('SRID=4674;POINT (-39.790736 -2.615134)'))) / (select extract(epoch from '2026-07-22 12:05:26'::timestamp) - extract(epoch from '2026-07-22 12:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79085 -2.615132)'), GeomFromEWKT('SRID=4674;POINT (-39.790736 -2.615134)'))) / (select extract(epoch from '2026-07-22 12:05:26'::timestamp) - extract(epoch from '2026-07-22 12:05:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790653 -2.61515)', '2026-07-22 12:05:32', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790736 -2.615134)'), GeomFromEWKT('SRID=4674;POINT (-39.790653 -2.61515)'))) / (select extract(epoch from '2026-07-22 12:05:32'::timestamp) - extract(epoch from '2026-07-22 12:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790736 -2.615134)'), GeomFromEWKT('SRID=4674;POINT (-39.790653 -2.61515)'))) / (select extract(epoch from '2026-07-22 12:05:32'::timestamp) - extract(epoch from '2026-07-22 12:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790537 -2.615152)', '2026-07-22 12:05:40', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790653 -2.61515)'), GeomFromEWKT('SRID=4674;POINT (-39.790537 -2.615152)'))) / (select extract(epoch from '2026-07-22 12:05:40'::timestamp) - extract(epoch from '2026-07-22 12:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790653 -2.61515)'), GeomFromEWKT('SRID=4674;POINT (-39.790537 -2.615152)'))) / (select extract(epoch from '2026-07-22 12:05:40'::timestamp) - extract(epoch from '2026-07-22 12:05: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'), 47870, 'SRID=4674;POINT (-39.790451 -2.61516)', '2026-07-22 12:05:46', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790537 -2.615152)'), GeomFromEWKT('SRID=4674;POINT (-39.790451 -2.61516)'))) / (select extract(epoch from '2026-07-22 12:05:46'::timestamp) - extract(epoch from '2026-07-22 12:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790537 -2.615152)'), GeomFromEWKT('SRID=4674;POINT (-39.790451 -2.61516)'))) / (select extract(epoch from '2026-07-22 12:05:46'::timestamp) - extract(epoch from '2026-07-22 12:05: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'), 47870, 'SRID=4674;POINT (-39.790345 -2.615143)', '2026-07-22 12:05:53', 26.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790451 -2.61516)'), GeomFromEWKT('SRID=4674;POINT (-39.790345 -2.615143)'))) / (select extract(epoch from '2026-07-22 12:05:53'::timestamp) - extract(epoch from '2026-07-22 12:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790451 -2.61516)'), GeomFromEWKT('SRID=4674;POINT (-39.790345 -2.615143)'))) / (select extract(epoch from '2026-07-22 12:05:53'::timestamp) - extract(epoch from '2026-07-22 12:05: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'), 47870, 'SRID=4674;POINT (-39.79026 -2.615147)', '2026-07-22 12:05:59', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790345 -2.615143)'), GeomFromEWKT('SRID=4674;POINT (-39.79026 -2.615147)'))) / (select extract(epoch from '2026-07-22 12:05:59'::timestamp) - extract(epoch from '2026-07-22 12:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790345 -2.615143)'), GeomFromEWKT('SRID=4674;POINT (-39.79026 -2.615147)'))) / (select extract(epoch from '2026-07-22 12:05:59'::timestamp) - extract(epoch from '2026-07-22 12:05:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.79018 -2.615163)', '2026-07-22 12:06:05', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79026 -2.615147)'), GeomFromEWKT('SRID=4674;POINT (-39.79018 -2.615163)'))) / (select extract(epoch from '2026-07-22 12:06:05'::timestamp) - extract(epoch from '2026-07-22 12:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79026 -2.615147)'), GeomFromEWKT('SRID=4674;POINT (-39.79018 -2.615163)'))) / (select extract(epoch from '2026-07-22 12:06:05'::timestamp) - extract(epoch from '2026-07-22 12:05:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790102 -2.615167)', '2026-07-22 12:06:10', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79018 -2.615163)'), GeomFromEWKT('SRID=4674;POINT (-39.790102 -2.615167)'))) / (select extract(epoch from '2026-07-22 12:06:10'::timestamp) - extract(epoch from '2026-07-22 12:06:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.79018 -2.615163)'), GeomFromEWKT('SRID=4674;POINT (-39.790102 -2.615167)'))) / (select extract(epoch from '2026-07-22 12:06:10'::timestamp) - extract(epoch from '2026-07-22 12:06:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.790022 -2.615162)', '2026-07-22 12:06:15', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790102 -2.615167)'), GeomFromEWKT('SRID=4674;POINT (-39.790022 -2.615162)'))) / (select extract(epoch from '2026-07-22 12:06:15'::timestamp) - extract(epoch from '2026-07-22 12:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790102 -2.615167)'), GeomFromEWKT('SRID=4674;POINT (-39.790022 -2.615162)'))) / (select extract(epoch from '2026-07-22 12:06:15'::timestamp) - extract(epoch from '2026-07-22 12:06: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'), 47870, 'SRID=4674;POINT (-39.789922 -2.615146)', '2026-07-22 12:06:21', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790022 -2.615162)'), GeomFromEWKT('SRID=4674;POINT (-39.789922 -2.615146)'))) / (select extract(epoch from '2026-07-22 12:06:21'::timestamp) - extract(epoch from '2026-07-22 12:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.790022 -2.615162)'), GeomFromEWKT('SRID=4674;POINT (-39.789922 -2.615146)'))) / (select extract(epoch from '2026-07-22 12:06:21'::timestamp) - extract(epoch from '2026-07-22 12:06: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'), 47870, 'SRID=4674;POINT (-39.789797 -2.61511)', '2026-07-22 12:06:29', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789922 -2.615146)'), GeomFromEWKT('SRID=4674;POINT (-39.789797 -2.61511)'))) / (select extract(epoch from '2026-07-22 12:06:29'::timestamp) - extract(epoch from '2026-07-22 12:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789922 -2.615146)'), GeomFromEWKT('SRID=4674;POINT (-39.789797 -2.61511)'))) / (select extract(epoch from '2026-07-22 12:06:29'::timestamp) - extract(epoch from '2026-07-22 12:06:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789657 -2.615127)', '2026-07-22 12:06:38', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789797 -2.61511)'), GeomFromEWKT('SRID=4674;POINT (-39.789657 -2.615127)'))) / (select extract(epoch from '2026-07-22 12:06:38'::timestamp) - extract(epoch from '2026-07-22 12:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789797 -2.61511)'), GeomFromEWKT('SRID=4674;POINT (-39.789657 -2.615127)'))) / (select extract(epoch from '2026-07-22 12:06:38'::timestamp) - extract(epoch from '2026-07-22 12:06: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'), 47870, 'SRID=4674;POINT (-39.789552 -2.615134)', '2026-07-22 12:06:44', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789657 -2.615127)'), GeomFromEWKT('SRID=4674;POINT (-39.789552 -2.615134)'))) / (select extract(epoch from '2026-07-22 12:06:44'::timestamp) - extract(epoch from '2026-07-22 12:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789657 -2.615127)'), GeomFromEWKT('SRID=4674;POINT (-39.789552 -2.615134)'))) / (select extract(epoch from '2026-07-22 12:06:44'::timestamp) - extract(epoch from '2026-07-22 12:06: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'), 47870, 'SRID=4674;POINT (-39.789463 -2.615155)', '2026-07-22 12:06:50', 26.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789552 -2.615134)'), GeomFromEWKT('SRID=4674;POINT (-39.789463 -2.615155)'))) / (select extract(epoch from '2026-07-22 12:06:50'::timestamp) - extract(epoch from '2026-07-22 12:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789552 -2.615134)'), GeomFromEWKT('SRID=4674;POINT (-39.789463 -2.615155)'))) / (select extract(epoch from '2026-07-22 12:06:50'::timestamp) - extract(epoch from '2026-07-22 12:06:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789377 -2.615135)', '2026-07-22 12:06:56', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789463 -2.615155)'), GeomFromEWKT('SRID=4674;POINT (-39.789377 -2.615135)'))) / (select extract(epoch from '2026-07-22 12:06:56'::timestamp) - extract(epoch from '2026-07-22 12:06:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789463 -2.615155)'), GeomFromEWKT('SRID=4674;POINT (-39.789377 -2.615135)'))) / (select extract(epoch from '2026-07-22 12:06:56'::timestamp) - extract(epoch from '2026-07-22 12:06: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'), 47870, 'SRID=4674;POINT (-39.789285 -2.615106)', '2026-07-22 12:07:02', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789377 -2.615135)'), GeomFromEWKT('SRID=4674;POINT (-39.789285 -2.615106)'))) / (select extract(epoch from '2026-07-22 12:07:02'::timestamp) - extract(epoch from '2026-07-22 12:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789377 -2.615135)'), GeomFromEWKT('SRID=4674;POINT (-39.789285 -2.615106)'))) / (select extract(epoch from '2026-07-22 12:07:02'::timestamp) - extract(epoch from '2026-07-22 12:06: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'), 47870, 'SRID=4674;POINT (-39.789223 -2.615089)', '2026-07-22 12:07:07', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789285 -2.615106)'), GeomFromEWKT('SRID=4674;POINT (-39.789223 -2.615089)'))) / (select extract(epoch from '2026-07-22 12:07:07'::timestamp) - extract(epoch from '2026-07-22 12:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789285 -2.615106)'), GeomFromEWKT('SRID=4674;POINT (-39.789223 -2.615089)'))) / (select extract(epoch from '2026-07-22 12:07:07'::timestamp) - extract(epoch from '2026-07-22 12:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789144 -2.61508)', '2026-07-22 12:07:13', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789223 -2.615089)'), GeomFromEWKT('SRID=4674;POINT (-39.789144 -2.61508)'))) / (select extract(epoch from '2026-07-22 12:07:13'::timestamp) - extract(epoch from '2026-07-22 12:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789223 -2.615089)'), GeomFromEWKT('SRID=4674;POINT (-39.789144 -2.61508)'))) / (select extract(epoch from '2026-07-22 12:07:13'::timestamp) - extract(epoch from '2026-07-22 12:07:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.789066 -2.615058)', '2026-07-22 12:07:19', 26, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789144 -2.61508)'), GeomFromEWKT('SRID=4674;POINT (-39.789066 -2.615058)'))) / (select extract(epoch from '2026-07-22 12:07:19'::timestamp) - extract(epoch from '2026-07-22 12:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789144 -2.61508)'), GeomFromEWKT('SRID=4674;POINT (-39.789066 -2.615058)'))) / (select extract(epoch from '2026-07-22 12:07:19'::timestamp) - extract(epoch from '2026-07-22 12:07: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'), 47870, 'SRID=4674;POINT (-39.789032 -2.615057)', '2026-07-22 12:07:22', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789066 -2.615058)'), GeomFromEWKT('SRID=4674;POINT (-39.789032 -2.615057)'))) / (select extract(epoch from '2026-07-22 12:07:22'::timestamp) - extract(epoch from '2026-07-22 12:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789066 -2.615058)'), GeomFromEWKT('SRID=4674;POINT (-39.789032 -2.615057)'))) / (select extract(epoch from '2026-07-22 12:07:22'::timestamp) - extract(epoch from '2026-07-22 12:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788989 -2.615068)', '2026-07-22 12:07:25', 25.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789032 -2.615057)'), GeomFromEWKT('SRID=4674;POINT (-39.788989 -2.615068)'))) / (select extract(epoch from '2026-07-22 12:07:25'::timestamp) - extract(epoch from '2026-07-22 12:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.789032 -2.615057)'), GeomFromEWKT('SRID=4674;POINT (-39.788989 -2.615068)'))) / (select extract(epoch from '2026-07-22 12:07:25'::timestamp) - extract(epoch from '2026-07-22 12:07: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'), 47870, 'SRID=4674;POINT (-39.788929 -2.615076)', '2026-07-22 12:07:30', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788989 -2.615068)'), GeomFromEWKT('SRID=4674;POINT (-39.788929 -2.615076)'))) / (select extract(epoch from '2026-07-22 12:07:30'::timestamp) - extract(epoch from '2026-07-22 12:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788989 -2.615068)'), GeomFromEWKT('SRID=4674;POINT (-39.788929 -2.615076)'))) / (select extract(epoch from '2026-07-22 12:07:30'::timestamp) - extract(epoch from '2026-07-22 12:07: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'), 47870, 'SRID=4674;POINT (-39.78886 -2.615082)', '2026-07-22 12:07:35', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788929 -2.615076)'), GeomFromEWKT('SRID=4674;POINT (-39.78886 -2.615082)'))) / (select extract(epoch from '2026-07-22 12:07:35'::timestamp) - extract(epoch from '2026-07-22 12:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788929 -2.615076)'), GeomFromEWKT('SRID=4674;POINT (-39.78886 -2.615082)'))) / (select extract(epoch from '2026-07-22 12:07:35'::timestamp) - extract(epoch from '2026-07-22 12:07: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'), 47870, 'SRID=4674;POINT (-39.788767 -2.615061)', '2026-07-22 12:07:41', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78886 -2.615082)'), GeomFromEWKT('SRID=4674;POINT (-39.788767 -2.615061)'))) / (select extract(epoch from '2026-07-22 12:07:41'::timestamp) - extract(epoch from '2026-07-22 12:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78886 -2.615082)'), GeomFromEWKT('SRID=4674;POINT (-39.788767 -2.615061)'))) / (select extract(epoch from '2026-07-22 12:07:41'::timestamp) - extract(epoch from '2026-07-22 12:07: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'), 47870, 'SRID=4674;POINT (-39.788665 -2.615011)', '2026-07-22 12:07:48', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788767 -2.615061)'), GeomFromEWKT('SRID=4674;POINT (-39.788665 -2.615011)'))) / (select extract(epoch from '2026-07-22 12:07:48'::timestamp) - extract(epoch from '2026-07-22 12:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788767 -2.615061)'), GeomFromEWKT('SRID=4674;POINT (-39.788665 -2.615011)'))) / (select extract(epoch from '2026-07-22 12:07:48'::timestamp) - extract(epoch from '2026-07-22 12:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788623 -2.61499)', '2026-07-22 12:07:51', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788665 -2.615011)'), GeomFromEWKT('SRID=4674;POINT (-39.788623 -2.61499)'))) / (select extract(epoch from '2026-07-22 12:07:51'::timestamp) - extract(epoch from '2026-07-22 12:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788665 -2.615011)'), GeomFromEWKT('SRID=4674;POINT (-39.788623 -2.61499)'))) / (select extract(epoch from '2026-07-22 12:07:51'::timestamp) - extract(epoch from '2026-07-22 12:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788597 -2.614971)', '2026-07-22 12:07:53', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788623 -2.61499)'), GeomFromEWKT('SRID=4674;POINT (-39.788597 -2.614971)'))) / (select extract(epoch from '2026-07-22 12:07:53'::timestamp) - extract(epoch from '2026-07-22 12:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788623 -2.61499)'), GeomFromEWKT('SRID=4674;POINT (-39.788597 -2.614971)'))) / (select extract(epoch from '2026-07-22 12:07:53'::timestamp) - extract(epoch from '2026-07-22 12:07:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788505 -2.614889)', '2026-07-22 12:08:00', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788597 -2.614971)'), GeomFromEWKT('SRID=4674;POINT (-39.788505 -2.614889)'))) / (select extract(epoch from '2026-07-22 12:08:00'::timestamp) - extract(epoch from '2026-07-22 12:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788597 -2.614971)'), GeomFromEWKT('SRID=4674;POINT (-39.788505 -2.614889)'))) / (select extract(epoch from '2026-07-22 12:08:00'::timestamp) - extract(epoch from '2026-07-22 12:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788425 -2.614828)', '2026-07-22 12:08:07', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788505 -2.614889)'), GeomFromEWKT('SRID=4674;POINT (-39.788425 -2.614828)'))) / (select extract(epoch from '2026-07-22 12:08:07'::timestamp) - extract(epoch from '2026-07-22 12:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788505 -2.614889)'), GeomFromEWKT('SRID=4674;POINT (-39.788425 -2.614828)'))) / (select extract(epoch from '2026-07-22 12:08:07'::timestamp) - extract(epoch from '2026-07-22 12:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788391 -2.61478)', '2026-07-22 12:08:15', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788425 -2.614828)'), GeomFromEWKT('SRID=4674;POINT (-39.788391 -2.61478)'))) / (select extract(epoch from '2026-07-22 12:08:15'::timestamp) - extract(epoch from '2026-07-22 12:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788425 -2.614828)'), GeomFromEWKT('SRID=4674;POINT (-39.788391 -2.61478)'))) / (select extract(epoch from '2026-07-22 12:08:15'::timestamp) - extract(epoch from '2026-07-22 12:08: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'), 47870, 'SRID=4674;POINT (-39.788393 -2.614736)', '2026-07-22 12:08:23', 21.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788391 -2.61478)'), GeomFromEWKT('SRID=4674;POINT (-39.788393 -2.614736)'))) / (select extract(epoch from '2026-07-22 12:08:23'::timestamp) - extract(epoch from '2026-07-22 12:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788391 -2.61478)'), GeomFromEWKT('SRID=4674;POINT (-39.788393 -2.614736)'))) / (select extract(epoch from '2026-07-22 12:08:23'::timestamp) - extract(epoch from '2026-07-22 12:08: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'), 47870, 'SRID=4674;POINT (-39.788419 -2.614663)', '2026-07-22 12:08:35', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788393 -2.614736)'), GeomFromEWKT('SRID=4674;POINT (-39.788419 -2.614663)'))) / (select extract(epoch from '2026-07-22 12:08:35'::timestamp) - extract(epoch from '2026-07-22 12:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788393 -2.614736)'), GeomFromEWKT('SRID=4674;POINT (-39.788419 -2.614663)'))) / (select extract(epoch from '2026-07-22 12:08:35'::timestamp) - extract(epoch from '2026-07-22 12:08: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'), 47870, 'SRID=4674;POINT (-39.788446 -2.614588)', '2026-07-22 12:08:49', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788419 -2.614663)'), GeomFromEWKT('SRID=4674;POINT (-39.788446 -2.614588)'))) / (select extract(epoch from '2026-07-22 12:08:49'::timestamp) - extract(epoch from '2026-07-22 12:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788419 -2.614663)'), GeomFromEWKT('SRID=4674;POINT (-39.788446 -2.614588)'))) / (select extract(epoch from '2026-07-22 12:08:49'::timestamp) - extract(epoch from '2026-07-22 12:08: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'), 47870, 'SRID=4674;POINT (-39.788474 -2.614546)', '2026-07-22 12:08:59', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788446 -2.614588)'), GeomFromEWKT('SRID=4674;POINT (-39.788474 -2.614546)'))) / (select extract(epoch from '2026-07-22 12:08:59'::timestamp) - extract(epoch from '2026-07-22 12:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788446 -2.614588)'), GeomFromEWKT('SRID=4674;POINT (-39.788474 -2.614546)'))) / (select extract(epoch from '2026-07-22 12:08:59'::timestamp) - extract(epoch from '2026-07-22 12:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788527 -2.614501)', '2026-07-22 12:09:07', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788474 -2.614546)'), GeomFromEWKT('SRID=4674;POINT (-39.788527 -2.614501)'))) / (select extract(epoch from '2026-07-22 12:09:07'::timestamp) - extract(epoch from '2026-07-22 12:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788474 -2.614546)'), GeomFromEWKT('SRID=4674;POINT (-39.788527 -2.614501)'))) / (select extract(epoch from '2026-07-22 12:09:07'::timestamp) - extract(epoch from '2026-07-22 12:08: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'), 47870, 'SRID=4674;POINT (-39.788612 -2.614446)', '2026-07-22 12:09:19', 22.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788527 -2.614501)'), GeomFromEWKT('SRID=4674;POINT (-39.788612 -2.614446)'))) / (select extract(epoch from '2026-07-22 12:09:19'::timestamp) - extract(epoch from '2026-07-22 12:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788527 -2.614501)'), GeomFromEWKT('SRID=4674;POINT (-39.788612 -2.614446)'))) / (select extract(epoch from '2026-07-22 12:09:19'::timestamp) - extract(epoch from '2026-07-22 12:09: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'), 47870, 'SRID=4674;POINT (-39.788634 -2.614394)', '2026-07-22 12:09:32', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788612 -2.614446)'), GeomFromEWKT('SRID=4674;POINT (-39.788634 -2.614394)'))) / (select extract(epoch from '2026-07-22 12:09:32'::timestamp) - extract(epoch from '2026-07-22 12:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788612 -2.614446)'), GeomFromEWKT('SRID=4674;POINT (-39.788634 -2.614394)'))) / (select extract(epoch from '2026-07-22 12:09:32'::timestamp) - extract(epoch from '2026-07-22 12:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788629 -2.614374)', '2026-07-22 12:09:39', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788634 -2.614394)'), GeomFromEWKT('SRID=4674;POINT (-39.788629 -2.614374)'))) / (select extract(epoch from '2026-07-22 12:09:39'::timestamp) - extract(epoch from '2026-07-22 12:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788634 -2.614394)'), GeomFromEWKT('SRID=4674;POINT (-39.788629 -2.614374)'))) / (select extract(epoch from '2026-07-22 12:09:39'::timestamp) - extract(epoch from '2026-07-22 12:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788613 -2.614335)', '2026-07-22 12:09:49', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788629 -2.614374)'), GeomFromEWKT('SRID=4674;POINT (-39.788613 -2.614335)'))) / (select extract(epoch from '2026-07-22 12:09:49'::timestamp) - extract(epoch from '2026-07-22 12:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788629 -2.614374)'), GeomFromEWKT('SRID=4674;POINT (-39.788613 -2.614335)'))) / (select extract(epoch from '2026-07-22 12:09:49'::timestamp) - extract(epoch from '2026-07-22 12:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788635 -2.614311)', '2026-07-22 12:10:00', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788613 -2.614335)'), GeomFromEWKT('SRID=4674;POINT (-39.788635 -2.614311)'))) / (select extract(epoch from '2026-07-22 12:10:00'::timestamp) - extract(epoch from '2026-07-22 12:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788613 -2.614335)'), GeomFromEWKT('SRID=4674;POINT (-39.788635 -2.614311)'))) / (select extract(epoch from '2026-07-22 12:10:00'::timestamp) - extract(epoch from '2026-07-22 12:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788661 -2.614296)', '2026-07-22 12:10:05', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788635 -2.614311)'), GeomFromEWKT('SRID=4674;POINT (-39.788661 -2.614296)'))) / (select extract(epoch from '2026-07-22 12:10:05'::timestamp) - extract(epoch from '2026-07-22 12:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788635 -2.614311)'), GeomFromEWKT('SRID=4674;POINT (-39.788661 -2.614296)'))) / (select extract(epoch from '2026-07-22 12:10:05'::timestamp) - extract(epoch from '2026-07-22 12:10: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'), 47870, 'SRID=4674;POINT (-39.788664 -2.614284)', '2026-07-22 12:10:07', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788661 -2.614296)'), GeomFromEWKT('SRID=4674;POINT (-39.788664 -2.614284)'))) / (select extract(epoch from '2026-07-22 12:10:07'::timestamp) - extract(epoch from '2026-07-22 12:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788661 -2.614296)'), GeomFromEWKT('SRID=4674;POINT (-39.788664 -2.614284)'))) / (select extract(epoch from '2026-07-22 12:10:07'::timestamp) - extract(epoch from '2026-07-22 12:10: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'), 47870, 'SRID=4674;POINT (-39.788696 -2.614254)', '2026-07-22 12:10:15', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788664 -2.614284)'), GeomFromEWKT('SRID=4674;POINT (-39.788696 -2.614254)'))) / (select extract(epoch from '2026-07-22 12:10:15'::timestamp) - extract(epoch from '2026-07-22 12:10:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788664 -2.614284)'), GeomFromEWKT('SRID=4674;POINT (-39.788696 -2.614254)'))) / (select extract(epoch from '2026-07-22 12:10:15'::timestamp) - extract(epoch from '2026-07-22 12:10: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'), 47870, 'SRID=4674;POINT (-39.788748 -2.614215)', '2026-07-22 12:10:24', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788696 -2.614254)'), GeomFromEWKT('SRID=4674;POINT (-39.788748 -2.614215)'))) / (select extract(epoch from '2026-07-22 12:10:24'::timestamp) - extract(epoch from '2026-07-22 12:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788696 -2.614254)'), GeomFromEWKT('SRID=4674;POINT (-39.788748 -2.614215)'))) / (select extract(epoch from '2026-07-22 12:10:24'::timestamp) - extract(epoch from '2026-07-22 12:10: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'), 47870, 'SRID=4674;POINT (-39.788786 -2.614147)', '2026-07-22 12:10:36', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788748 -2.614215)'), GeomFromEWKT('SRID=4674;POINT (-39.788786 -2.614147)'))) / (select extract(epoch from '2026-07-22 12:10:36'::timestamp) - extract(epoch from '2026-07-22 12:10:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788748 -2.614215)'), GeomFromEWKT('SRID=4674;POINT (-39.788786 -2.614147)'))) / (select extract(epoch from '2026-07-22 12:10:36'::timestamp) - extract(epoch from '2026-07-22 12:10:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78878 -2.614147)', '2026-07-22 12:10:39', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788786 -2.614147)'), GeomFromEWKT('SRID=4674;POINT (-39.78878 -2.614147)'))) / (select extract(epoch from '2026-07-22 12:10:39'::timestamp) - extract(epoch from '2026-07-22 12:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788786 -2.614147)'), GeomFromEWKT('SRID=4674;POINT (-39.78878 -2.614147)'))) / (select extract(epoch from '2026-07-22 12:10:39'::timestamp) - extract(epoch from '2026-07-22 12:10: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'), 47870, 'SRID=4674;POINT (-39.788778 -2.614147)', '2026-07-22 12:10:40', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78878 -2.614147)'), GeomFromEWKT('SRID=4674;POINT (-39.788778 -2.614147)'))) / (select extract(epoch from '2026-07-22 12:10:40'::timestamp) - extract(epoch from '2026-07-22 12:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78878 -2.614147)'), GeomFromEWKT('SRID=4674;POINT (-39.788778 -2.614147)'))) / (select extract(epoch from '2026-07-22 12:10:40'::timestamp) - extract(epoch from '2026-07-22 12:10:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788726 -2.614162)', '2026-07-22 12:10:49', 22.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788778 -2.614147)'), GeomFromEWKT('SRID=4674;POINT (-39.788726 -2.614162)'))) / (select extract(epoch from '2026-07-22 12:10:49'::timestamp) - extract(epoch from '2026-07-22 12:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788778 -2.614147)'), GeomFromEWKT('SRID=4674;POINT (-39.788726 -2.614162)'))) / (select extract(epoch from '2026-07-22 12:10:49'::timestamp) - extract(epoch from '2026-07-22 12:10: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'), 47870, 'SRID=4674;POINT (-39.788631 -2.61418)', '2026-07-22 12:10:56', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788726 -2.614162)'), GeomFromEWKT('SRID=4674;POINT (-39.788631 -2.61418)'))) / (select extract(epoch from '2026-07-22 12:10:56'::timestamp) - extract(epoch from '2026-07-22 12:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788726 -2.614162)'), GeomFromEWKT('SRID=4674;POINT (-39.788631 -2.61418)'))) / (select extract(epoch from '2026-07-22 12:10:56'::timestamp) - extract(epoch from '2026-07-22 12:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788546 -2.614202)', '2026-07-22 12:11:02', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788631 -2.61418)'), GeomFromEWKT('SRID=4674;POINT (-39.788546 -2.614202)'))) / (select extract(epoch from '2026-07-22 12:11:02'::timestamp) - extract(epoch from '2026-07-22 12:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788631 -2.61418)'), GeomFromEWKT('SRID=4674;POINT (-39.788546 -2.614202)'))) / (select extract(epoch from '2026-07-22 12:11:02'::timestamp) - extract(epoch from '2026-07-22 12:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788447 -2.6142)', '2026-07-22 12:11:08', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788546 -2.614202)'), GeomFromEWKT('SRID=4674;POINT (-39.788447 -2.6142)'))) / (select extract(epoch from '2026-07-22 12:11:08'::timestamp) - extract(epoch from '2026-07-22 12:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788546 -2.614202)'), GeomFromEWKT('SRID=4674;POINT (-39.788447 -2.6142)'))) / (select extract(epoch from '2026-07-22 12:11:08'::timestamp) - extract(epoch from '2026-07-22 12:11: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'), 47870, 'SRID=4674;POINT (-39.788307 -2.614175)', '2026-07-22 12:11:15', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788447 -2.6142)'), GeomFromEWKT('SRID=4674;POINT (-39.788307 -2.614175)'))) / (select extract(epoch from '2026-07-22 12:11:15'::timestamp) - extract(epoch from '2026-07-22 12:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788447 -2.6142)'), GeomFromEWKT('SRID=4674;POINT (-39.788307 -2.614175)'))) / (select extract(epoch from '2026-07-22 12:11:15'::timestamp) - extract(epoch from '2026-07-22 12:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788209 -2.61416)', '2026-07-22 12:11:22', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788307 -2.614175)'), GeomFromEWKT('SRID=4674;POINT (-39.788209 -2.61416)'))) / (select extract(epoch from '2026-07-22 12:11:22'::timestamp) - extract(epoch from '2026-07-22 12:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788307 -2.614175)'), GeomFromEWKT('SRID=4674;POINT (-39.788209 -2.61416)'))) / (select extract(epoch from '2026-07-22 12:11:22'::timestamp) - extract(epoch from '2026-07-22 12:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788125 -2.614162)', '2026-07-22 12:11:28', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788209 -2.61416)'), GeomFromEWKT('SRID=4674;POINT (-39.788125 -2.614162)'))) / (select extract(epoch from '2026-07-22 12:11:28'::timestamp) - extract(epoch from '2026-07-22 12:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788209 -2.61416)'), GeomFromEWKT('SRID=4674;POINT (-39.788125 -2.614162)'))) / (select extract(epoch from '2026-07-22 12:11:28'::timestamp) - extract(epoch from '2026-07-22 12:11: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'), 47870, 'SRID=4674;POINT (-39.78808 -2.614172)', '2026-07-22 12:11:34', 25.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788125 -2.614162)'), GeomFromEWKT('SRID=4674;POINT (-39.78808 -2.614172)'))) / (select extract(epoch from '2026-07-22 12:11:34'::timestamp) - extract(epoch from '2026-07-22 12:11:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788125 -2.614162)'), GeomFromEWKT('SRID=4674;POINT (-39.78808 -2.614172)'))) / (select extract(epoch from '2026-07-22 12:11:34'::timestamp) - extract(epoch from '2026-07-22 12:11: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'), 47870, 'SRID=4674;POINT (-39.78807 -2.614194)', '2026-07-22 12:11:40', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78808 -2.614172)'), GeomFromEWKT('SRID=4674;POINT (-39.78807 -2.614194)'))) / (select extract(epoch from '2026-07-22 12:11:40'::timestamp) - extract(epoch from '2026-07-22 12:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78808 -2.614172)'), GeomFromEWKT('SRID=4674;POINT (-39.78807 -2.614194)'))) / (select extract(epoch from '2026-07-22 12:11:40'::timestamp) - extract(epoch from '2026-07-22 12:11:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788069 -2.614203)', '2026-07-22 12:11:56', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78807 -2.614194)'), GeomFromEWKT('SRID=4674;POINT (-39.788069 -2.614203)'))) / (select extract(epoch from '2026-07-22 12:11:56'::timestamp) - extract(epoch from '2026-07-22 12:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78807 -2.614194)'), GeomFromEWKT('SRID=4674;POINT (-39.788069 -2.614203)'))) / (select extract(epoch from '2026-07-22 12:11:56'::timestamp) - extract(epoch from '2026-07-22 12:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788081 -2.614204)', '2026-07-22 12:12:00', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788069 -2.614203)'), GeomFromEWKT('SRID=4674;POINT (-39.788081 -2.614204)'))) / (select extract(epoch from '2026-07-22 12:12:00'::timestamp) - extract(epoch from '2026-07-22 12:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788069 -2.614203)'), GeomFromEWKT('SRID=4674;POINT (-39.788081 -2.614204)'))) / (select extract(epoch from '2026-07-22 12:12:00'::timestamp) - extract(epoch from '2026-07-22 12:11: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'), 47870, 'SRID=4674;POINT (-39.788109 -2.614207)', '2026-07-22 12:12:05', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788081 -2.614204)'), GeomFromEWKT('SRID=4674;POINT (-39.788109 -2.614207)'))) / (select extract(epoch from '2026-07-22 12:12:05'::timestamp) - extract(epoch from '2026-07-22 12:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788081 -2.614204)'), GeomFromEWKT('SRID=4674;POINT (-39.788109 -2.614207)'))) / (select extract(epoch from '2026-07-22 12:12:05'::timestamp) - extract(epoch from '2026-07-22 12:12:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788125 -2.614195)', '2026-07-22 12:12:12', 24.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788109 -2.614207)'), GeomFromEWKT('SRID=4674;POINT (-39.788125 -2.614195)'))) / (select extract(epoch from '2026-07-22 12:12:12'::timestamp) - extract(epoch from '2026-07-22 12:12:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788109 -2.614207)'), GeomFromEWKT('SRID=4674;POINT (-39.788125 -2.614195)'))) / (select extract(epoch from '2026-07-22 12:12:12'::timestamp) - extract(epoch from '2026-07-22 12:12: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'), 47870, 'SRID=4674;POINT (-39.788211 -2.614144)', '2026-07-22 12:12:24', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788125 -2.614195)'), GeomFromEWKT('SRID=4674;POINT (-39.788211 -2.614144)'))) / (select extract(epoch from '2026-07-22 12:12:24'::timestamp) - extract(epoch from '2026-07-22 12:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788125 -2.614195)'), GeomFromEWKT('SRID=4674;POINT (-39.788211 -2.614144)'))) / (select extract(epoch from '2026-07-22 12:12:24'::timestamp) - extract(epoch from '2026-07-22 12:12: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'), 47870, 'SRID=4674;POINT (-39.788256 -2.614108)', '2026-07-22 12:12:31', 26.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788211 -2.614144)'), GeomFromEWKT('SRID=4674;POINT (-39.788256 -2.614108)'))) / (select extract(epoch from '2026-07-22 12:12:31'::timestamp) - extract(epoch from '2026-07-22 12:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788211 -2.614144)'), GeomFromEWKT('SRID=4674;POINT (-39.788256 -2.614108)'))) / (select extract(epoch from '2026-07-22 12:12:31'::timestamp) - extract(epoch from '2026-07-22 12:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788332 -2.614072)', '2026-07-22 12:12:39', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788256 -2.614108)'), GeomFromEWKT('SRID=4674;POINT (-39.788332 -2.614072)'))) / (select extract(epoch from '2026-07-22 12:12:39'::timestamp) - extract(epoch from '2026-07-22 12:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788256 -2.614108)'), GeomFromEWKT('SRID=4674;POINT (-39.788332 -2.614072)'))) / (select extract(epoch from '2026-07-22 12:12:39'::timestamp) - extract(epoch from '2026-07-22 12:12:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788378 -2.61405)', '2026-07-22 12:12:45', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788332 -2.614072)'), GeomFromEWKT('SRID=4674;POINT (-39.788378 -2.61405)'))) / (select extract(epoch from '2026-07-22 12:12:45'::timestamp) - extract(epoch from '2026-07-22 12:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788332 -2.614072)'), GeomFromEWKT('SRID=4674;POINT (-39.788378 -2.61405)'))) / (select extract(epoch from '2026-07-22 12:12:45'::timestamp) - extract(epoch from '2026-07-22 12:12:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788421 -2.614058)', '2026-07-22 12:12:53', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788378 -2.61405)'), GeomFromEWKT('SRID=4674;POINT (-39.788421 -2.614058)'))) / (select extract(epoch from '2026-07-22 12:12:53'::timestamp) - extract(epoch from '2026-07-22 12:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788378 -2.61405)'), GeomFromEWKT('SRID=4674;POINT (-39.788421 -2.614058)'))) / (select extract(epoch from '2026-07-22 12:12:53'::timestamp) - extract(epoch from '2026-07-22 12:12: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'), 47870, 'SRID=4674;POINT (-39.78843 -2.614095)', '2026-07-22 12:13:02', 27.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788421 -2.614058)'), GeomFromEWKT('SRID=4674;POINT (-39.78843 -2.614095)'))) / (select extract(epoch from '2026-07-22 12:13:02'::timestamp) - extract(epoch from '2026-07-22 12:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788421 -2.614058)'), GeomFromEWKT('SRID=4674;POINT (-39.78843 -2.614095)'))) / (select extract(epoch from '2026-07-22 12:13:02'::timestamp) - extract(epoch from '2026-07-22 12:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7884 -2.614112)', '2026-07-22 12:13:08', 27.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78843 -2.614095)'), GeomFromEWKT('SRID=4674;POINT (-39.7884 -2.614112)'))) / (select extract(epoch from '2026-07-22 12:13:08'::timestamp) - extract(epoch from '2026-07-22 12:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78843 -2.614095)'), GeomFromEWKT('SRID=4674;POINT (-39.7884 -2.614112)'))) / (select extract(epoch from '2026-07-22 12:13:08'::timestamp) - extract(epoch from '2026-07-22 12:13: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'), 47870, 'SRID=4674;POINT (-39.788314 -2.614125)', '2026-07-22 12:13:16', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7884 -2.614112)'), GeomFromEWKT('SRID=4674;POINT (-39.788314 -2.614125)'))) / (select extract(epoch from '2026-07-22 12:13:16'::timestamp) - extract(epoch from '2026-07-22 12:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7884 -2.614112)'), GeomFromEWKT('SRID=4674;POINT (-39.788314 -2.614125)'))) / (select extract(epoch from '2026-07-22 12:13:16'::timestamp) - extract(epoch from '2026-07-22 12:13: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'), 47870, 'SRID=4674;POINT (-39.788186 -2.614129)', '2026-07-22 12:13:27', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788314 -2.614125)'), GeomFromEWKT('SRID=4674;POINT (-39.788186 -2.614129)'))) / (select extract(epoch from '2026-07-22 12:13:27'::timestamp) - extract(epoch from '2026-07-22 12:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788314 -2.614125)'), GeomFromEWKT('SRID=4674;POINT (-39.788186 -2.614129)'))) / (select extract(epoch from '2026-07-22 12:13:27'::timestamp) - extract(epoch from '2026-07-22 12:13: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'), 47870, 'SRID=4674;POINT (-39.788152 -2.614139)', '2026-07-22 12:13:33', 27.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788186 -2.614129)'), GeomFromEWKT('SRID=4674;POINT (-39.788152 -2.614139)'))) / (select extract(epoch from '2026-07-22 12:13:33'::timestamp) - extract(epoch from '2026-07-22 12:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788186 -2.614129)'), GeomFromEWKT('SRID=4674;POINT (-39.788152 -2.614139)'))) / (select extract(epoch from '2026-07-22 12:13:33'::timestamp) - extract(epoch from '2026-07-22 12:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788142 -2.61415)', '2026-07-22 12:13:41', 27, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788152 -2.614139)'), GeomFromEWKT('SRID=4674;POINT (-39.788142 -2.61415)'))) / (select extract(epoch from '2026-07-22 12:13:41'::timestamp) - extract(epoch from '2026-07-22 12:13:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788152 -2.614139)'), GeomFromEWKT('SRID=4674;POINT (-39.788142 -2.61415)'))) / (select extract(epoch from '2026-07-22 12:13:41'::timestamp) - extract(epoch from '2026-07-22 12:13:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788189 -2.614148)', '2026-07-22 12:13:48', 26.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788142 -2.61415)'), GeomFromEWKT('SRID=4674;POINT (-39.788189 -2.614148)'))) / (select extract(epoch from '2026-07-22 12:13:48'::timestamp) - extract(epoch from '2026-07-22 12:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788142 -2.61415)'), GeomFromEWKT('SRID=4674;POINT (-39.788189 -2.614148)'))) / (select extract(epoch from '2026-07-22 12:13:48'::timestamp) - extract(epoch from '2026-07-22 12:13:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788217 -2.614141)', '2026-07-22 12:13:52', 25.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788189 -2.614148)'), GeomFromEWKT('SRID=4674;POINT (-39.788217 -2.614141)'))) / (select extract(epoch from '2026-07-22 12:13:52'::timestamp) - extract(epoch from '2026-07-22 12:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788189 -2.614148)'), GeomFromEWKT('SRID=4674;POINT (-39.788217 -2.614141)'))) / (select extract(epoch from '2026-07-22 12:13:52'::timestamp) - extract(epoch from '2026-07-22 12:13:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788255 -2.614132)', '2026-07-22 12:13:58', 25.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788217 -2.614141)'), GeomFromEWKT('SRID=4674;POINT (-39.788255 -2.614132)'))) / (select extract(epoch from '2026-07-22 12:13:58'::timestamp) - extract(epoch from '2026-07-22 12:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788217 -2.614141)'), GeomFromEWKT('SRID=4674;POINT (-39.788255 -2.614132)'))) / (select extract(epoch from '2026-07-22 12:13:58'::timestamp) - extract(epoch from '2026-07-22 12:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78832 -2.614101)', '2026-07-22 12:14:10', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788255 -2.614132)'), GeomFromEWKT('SRID=4674;POINT (-39.78832 -2.614101)'))) / (select extract(epoch from '2026-07-22 12:14:10'::timestamp) - extract(epoch from '2026-07-22 12:13:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788255 -2.614132)'), GeomFromEWKT('SRID=4674;POINT (-39.78832 -2.614101)'))) / (select extract(epoch from '2026-07-22 12:14:10'::timestamp) - extract(epoch from '2026-07-22 12:13: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'), 47870, 'SRID=4674;POINT (-39.788364 -2.614087)', '2026-07-22 12:14:20', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78832 -2.614101)'), GeomFromEWKT('SRID=4674;POINT (-39.788364 -2.614087)'))) / (select extract(epoch from '2026-07-22 12:14:20'::timestamp) - extract(epoch from '2026-07-22 12:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78832 -2.614101)'), GeomFromEWKT('SRID=4674;POINT (-39.788364 -2.614087)'))) / (select extract(epoch from '2026-07-22 12:14:20'::timestamp) - extract(epoch from '2026-07-22 12:14:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788312 -2.614095)', '2026-07-22 12:14:40', 23.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788364 -2.614087)'), GeomFromEWKT('SRID=4674;POINT (-39.788312 -2.614095)'))) / (select extract(epoch from '2026-07-22 12:14:40'::timestamp) - extract(epoch from '2026-07-22 12:14:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788364 -2.614087)'), GeomFromEWKT('SRID=4674;POINT (-39.788312 -2.614095)'))) / (select extract(epoch from '2026-07-22 12:14:40'::timestamp) - extract(epoch from '2026-07-22 12:14: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'), 47870, 'SRID=4674;POINT (-39.788238 -2.614096)', '2026-07-22 12:14:50', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788312 -2.614095)'), GeomFromEWKT('SRID=4674;POINT (-39.788238 -2.614096)'))) / (select extract(epoch from '2026-07-22 12:14:50'::timestamp) - extract(epoch from '2026-07-22 12:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788312 -2.614095)'), GeomFromEWKT('SRID=4674;POINT (-39.788238 -2.614096)'))) / (select extract(epoch from '2026-07-22 12:14:50'::timestamp) - extract(epoch from '2026-07-22 12:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788218 -2.614126)', '2026-07-22 12:14:56', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788238 -2.614096)'), GeomFromEWKT('SRID=4674;POINT (-39.788218 -2.614126)'))) / (select extract(epoch from '2026-07-22 12:14:56'::timestamp) - extract(epoch from '2026-07-22 12:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788238 -2.614096)'), GeomFromEWKT('SRID=4674;POINT (-39.788218 -2.614126)'))) / (select extract(epoch from '2026-07-22 12:14:56'::timestamp) - extract(epoch from '2026-07-22 12:14:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788216 -2.614142)', '2026-07-22 12:15:03', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788218 -2.614126)'), GeomFromEWKT('SRID=4674;POINT (-39.788216 -2.614142)'))) / (select extract(epoch from '2026-07-22 12:15:03'::timestamp) - extract(epoch from '2026-07-22 12:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788218 -2.614126)'), GeomFromEWKT('SRID=4674;POINT (-39.788216 -2.614142)'))) / (select extract(epoch from '2026-07-22 12:15:03'::timestamp) - extract(epoch from '2026-07-22 12:14: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'), 47870, 'SRID=4674;POINT (-39.788238 -2.614146)', '2026-07-22 12:15:15', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788216 -2.614142)'), GeomFromEWKT('SRID=4674;POINT (-39.788238 -2.614146)'))) / (select extract(epoch from '2026-07-22 12:15:15'::timestamp) - extract(epoch from '2026-07-22 12:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788216 -2.614142)'), GeomFromEWKT('SRID=4674;POINT (-39.788238 -2.614146)'))) / (select extract(epoch from '2026-07-22 12:15:15'::timestamp) - extract(epoch from '2026-07-22 12:15:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788272 -2.614102)', '2026-07-22 12:15:25', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788238 -2.614146)'), GeomFromEWKT('SRID=4674;POINT (-39.788272 -2.614102)'))) / (select extract(epoch from '2026-07-22 12:15:25'::timestamp) - extract(epoch from '2026-07-22 12:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788238 -2.614146)'), GeomFromEWKT('SRID=4674;POINT (-39.788272 -2.614102)'))) / (select extract(epoch from '2026-07-22 12:15:25'::timestamp) - extract(epoch from '2026-07-22 12:15:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788327 -2.61404)', '2026-07-22 12:15:35', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788272 -2.614102)'), GeomFromEWKT('SRID=4674;POINT (-39.788327 -2.61404)'))) / (select extract(epoch from '2026-07-22 12:15:35'::timestamp) - extract(epoch from '2026-07-22 12:15:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788272 -2.614102)'), GeomFromEWKT('SRID=4674;POINT (-39.788327 -2.61404)'))) / (select extract(epoch from '2026-07-22 12:15:35'::timestamp) - extract(epoch from '2026-07-22 12:15: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'), 47870, 'SRID=4674;POINT (-39.788411 -2.613968)', '2026-07-22 12:15:48', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788327 -2.61404)'), GeomFromEWKT('SRID=4674;POINT (-39.788411 -2.613968)'))) / (select extract(epoch from '2026-07-22 12:15:48'::timestamp) - extract(epoch from '2026-07-22 12:15:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788327 -2.61404)'), GeomFromEWKT('SRID=4674;POINT (-39.788411 -2.613968)'))) / (select extract(epoch from '2026-07-22 12:15:48'::timestamp) - extract(epoch from '2026-07-22 12:15:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78845 -2.613936)', '2026-07-22 12:15:54', 24.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788411 -2.613968)'), GeomFromEWKT('SRID=4674;POINT (-39.78845 -2.613936)'))) / (select extract(epoch from '2026-07-22 12:15:54'::timestamp) - extract(epoch from '2026-07-22 12:15:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788411 -2.613968)'), GeomFromEWKT('SRID=4674;POINT (-39.78845 -2.613936)'))) / (select extract(epoch from '2026-07-22 12:15:54'::timestamp) - extract(epoch from '2026-07-22 12:15: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'), 47870, 'SRID=4674;POINT (-39.788481 -2.613883)', '2026-07-22 12:16:03', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78845 -2.613936)'), GeomFromEWKT('SRID=4674;POINT (-39.788481 -2.613883)'))) / (select extract(epoch from '2026-07-22 12:16:03'::timestamp) - extract(epoch from '2026-07-22 12:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78845 -2.613936)'), GeomFromEWKT('SRID=4674;POINT (-39.788481 -2.613883)'))) / (select extract(epoch from '2026-07-22 12:16:03'::timestamp) - extract(epoch from '2026-07-22 12:15: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'), 47870, 'SRID=4674;POINT (-39.788495 -2.613844)', '2026-07-22 12:16:11', 24.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788481 -2.613883)'), GeomFromEWKT('SRID=4674;POINT (-39.788495 -2.613844)'))) / (select extract(epoch from '2026-07-22 12:16:11'::timestamp) - extract(epoch from '2026-07-22 12:16:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788481 -2.613883)'), GeomFromEWKT('SRID=4674;POINT (-39.788495 -2.613844)'))) / (select extract(epoch from '2026-07-22 12:16:11'::timestamp) - extract(epoch from '2026-07-22 12:16: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'), 47870, 'SRID=4674;POINT (-39.7885 -2.613816)', '2026-07-22 12:16:21', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788495 -2.613844)'), GeomFromEWKT('SRID=4674;POINT (-39.7885 -2.613816)'))) / (select extract(epoch from '2026-07-22 12:16:21'::timestamp) - extract(epoch from '2026-07-22 12:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788495 -2.613844)'), GeomFromEWKT('SRID=4674;POINT (-39.7885 -2.613816)'))) / (select extract(epoch from '2026-07-22 12:16:21'::timestamp) - extract(epoch from '2026-07-22 12:16: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'), 47870, 'SRID=4674;POINT (-39.788489 -2.613796)', '2026-07-22 12:16:30', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7885 -2.613816)'), GeomFromEWKT('SRID=4674;POINT (-39.788489 -2.613796)'))) / (select extract(epoch from '2026-07-22 12:16:30'::timestamp) - extract(epoch from '2026-07-22 12:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7885 -2.613816)'), GeomFromEWKT('SRID=4674;POINT (-39.788489 -2.613796)'))) / (select extract(epoch from '2026-07-22 12:16:30'::timestamp) - extract(epoch from '2026-07-22 12:16: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'), 47870, 'SRID=4674;POINT (-39.788481 -2.613786)', '2026-07-22 12:16:40', 24, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788489 -2.613796)'), GeomFromEWKT('SRID=4674;POINT (-39.788481 -2.613786)'))) / (select extract(epoch from '2026-07-22 12:16:40'::timestamp) - extract(epoch from '2026-07-22 12:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788489 -2.613796)'), GeomFromEWKT('SRID=4674;POINT (-39.788481 -2.613786)'))) / (select extract(epoch from '2026-07-22 12:16:40'::timestamp) - extract(epoch from '2026-07-22 12:16:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788507 -2.613734)', '2026-07-22 12:16:56', 23.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788481 -2.613786)'), GeomFromEWKT('SRID=4674;POINT (-39.788507 -2.613734)'))) / (select extract(epoch from '2026-07-22 12:16:56'::timestamp) - extract(epoch from '2026-07-22 12:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788481 -2.613786)'), GeomFromEWKT('SRID=4674;POINT (-39.788507 -2.613734)'))) / (select extract(epoch from '2026-07-22 12:16:56'::timestamp) - extract(epoch from '2026-07-22 12:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788532 -2.613693)', '2026-07-22 12:17:06', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788507 -2.613734)'), GeomFromEWKT('SRID=4674;POINT (-39.788532 -2.613693)'))) / (select extract(epoch from '2026-07-22 12:17:06'::timestamp) - extract(epoch from '2026-07-22 12:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788507 -2.613734)'), GeomFromEWKT('SRID=4674;POINT (-39.788532 -2.613693)'))) / (select extract(epoch from '2026-07-22 12:17:06'::timestamp) - extract(epoch from '2026-07-22 12:16: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'), 47870, 'SRID=4674;POINT (-39.788564 -2.613651)', '2026-07-22 12:17:27', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788532 -2.613693)'), GeomFromEWKT('SRID=4674;POINT (-39.788564 -2.613651)'))) / (select extract(epoch from '2026-07-22 12:17:27'::timestamp) - extract(epoch from '2026-07-22 12:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788532 -2.613693)'), GeomFromEWKT('SRID=4674;POINT (-39.788564 -2.613651)'))) / (select extract(epoch from '2026-07-22 12:17:27'::timestamp) - extract(epoch from '2026-07-22 12:17: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'), 47870, 'SRID=4674;POINT (-39.788564 -2.613628)', '2026-07-22 12:17:37', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788564 -2.613651)'), GeomFromEWKT('SRID=4674;POINT (-39.788564 -2.613628)'))) / (select extract(epoch from '2026-07-22 12:17:37'::timestamp) - extract(epoch from '2026-07-22 12:17:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788564 -2.613651)'), GeomFromEWKT('SRID=4674;POINT (-39.788564 -2.613628)'))) / (select extract(epoch from '2026-07-22 12:17:37'::timestamp) - extract(epoch from '2026-07-22 12:17:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788579 -2.613614)', '2026-07-22 12:17:45', 23.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788564 -2.613628)'), GeomFromEWKT('SRID=4674;POINT (-39.788579 -2.613614)'))) / (select extract(epoch from '2026-07-22 12:17:45'::timestamp) - extract(epoch from '2026-07-22 12:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788564 -2.613628)'), GeomFromEWKT('SRID=4674;POINT (-39.788579 -2.613614)'))) / (select extract(epoch from '2026-07-22 12:17:45'::timestamp) - extract(epoch from '2026-07-22 12:17: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'), 47870, 'SRID=4674;POINT (-39.788615 -2.613579)', '2026-07-22 12:17:55', 23.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788579 -2.613614)'), GeomFromEWKT('SRID=4674;POINT (-39.788615 -2.613579)'))) / (select extract(epoch from '2026-07-22 12:17:55'::timestamp) - extract(epoch from '2026-07-22 12:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788579 -2.613614)'), GeomFromEWKT('SRID=4674;POINT (-39.788615 -2.613579)'))) / (select extract(epoch from '2026-07-22 12:17:55'::timestamp) - extract(epoch from '2026-07-22 12:17:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788613 -2.613585)', '2026-07-22 12:18:00', 23, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788615 -2.613579)'), GeomFromEWKT('SRID=4674;POINT (-39.788613 -2.613585)'))) / (select extract(epoch from '2026-07-22 12:18:00'::timestamp) - extract(epoch from '2026-07-22 12:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788615 -2.613579)'), GeomFromEWKT('SRID=4674;POINT (-39.788613 -2.613585)'))) / (select extract(epoch from '2026-07-22 12:18:00'::timestamp) - extract(epoch from '2026-07-22 12:17: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'), 47870, 'SRID=4674;POINT (-39.788581 -2.613605)', '2026-07-22 12:18:04', 22.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788613 -2.613585)'), GeomFromEWKT('SRID=4674;POINT (-39.788581 -2.613605)'))) / (select extract(epoch from '2026-07-22 12:18:04'::timestamp) - extract(epoch from '2026-07-22 12:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788613 -2.613585)'), GeomFromEWKT('SRID=4674;POINT (-39.788581 -2.613605)'))) / (select extract(epoch from '2026-07-22 12:18:04'::timestamp) - extract(epoch from '2026-07-22 12:18:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788448 -2.613669)', '2026-07-22 12:18:16', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788581 -2.613605)'), GeomFromEWKT('SRID=4674;POINT (-39.788448 -2.613669)'))) / (select extract(epoch from '2026-07-22 12:18:16'::timestamp) - extract(epoch from '2026-07-22 12:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788581 -2.613605)'), GeomFromEWKT('SRID=4674;POINT (-39.788448 -2.613669)'))) / (select extract(epoch from '2026-07-22 12:18:16'::timestamp) - extract(epoch from '2026-07-22 12:18: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'), 47870, 'SRID=4674;POINT (-39.78843 -2.613685)', '2026-07-22 12:18:18', 21.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788448 -2.613669)'), GeomFromEWKT('SRID=4674;POINT (-39.78843 -2.613685)'))) / (select extract(epoch from '2026-07-22 12:18:18'::timestamp) - extract(epoch from '2026-07-22 12:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788448 -2.613669)'), GeomFromEWKT('SRID=4674;POINT (-39.78843 -2.613685)'))) / (select extract(epoch from '2026-07-22 12:18:18'::timestamp) - extract(epoch from '2026-07-22 12:18: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'), 47870, 'SRID=4674;POINT (-39.788384 -2.613712)', '2026-07-22 12:18:22', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78843 -2.613685)'), GeomFromEWKT('SRID=4674;POINT (-39.788384 -2.613712)'))) / (select extract(epoch from '2026-07-22 12:18:22'::timestamp) - extract(epoch from '2026-07-22 12:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78843 -2.613685)'), GeomFromEWKT('SRID=4674;POINT (-39.788384 -2.613712)'))) / (select extract(epoch from '2026-07-22 12:18:22'::timestamp) - extract(epoch from '2026-07-22 12:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.788317 -2.613732)', '2026-07-22 12:18:28', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788384 -2.613712)'), GeomFromEWKT('SRID=4674;POINT (-39.788317 -2.613732)'))) / (select extract(epoch from '2026-07-22 12:18:28'::timestamp) - extract(epoch from '2026-07-22 12:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788384 -2.613712)'), GeomFromEWKT('SRID=4674;POINT (-39.788317 -2.613732)'))) / (select extract(epoch from '2026-07-22 12:18:28'::timestamp) - extract(epoch from '2026-07-22 12:18: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'), 47870, 'SRID=4674;POINT (-39.788208 -2.613741)', '2026-07-22 12:18:35', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788317 -2.613732)'), GeomFromEWKT('SRID=4674;POINT (-39.788208 -2.613741)'))) / (select extract(epoch from '2026-07-22 12:18:35'::timestamp) - extract(epoch from '2026-07-22 12:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788317 -2.613732)'), GeomFromEWKT('SRID=4674;POINT (-39.788208 -2.613741)'))) / (select extract(epoch from '2026-07-22 12:18:35'::timestamp) - extract(epoch from '2026-07-22 12:18: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'), 47870, 'SRID=4674;POINT (-39.788082 -2.613737)', '2026-07-22 12:18:43', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788208 -2.613741)'), GeomFromEWKT('SRID=4674;POINT (-39.788082 -2.613737)'))) / (select extract(epoch from '2026-07-22 12:18:43'::timestamp) - extract(epoch from '2026-07-22 12:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788208 -2.613741)'), GeomFromEWKT('SRID=4674;POINT (-39.788082 -2.613737)'))) / (select extract(epoch from '2026-07-22 12:18:43'::timestamp) - extract(epoch from '2026-07-22 12:18: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'), 47870, 'SRID=4674;POINT (-39.788021 -2.613746)', '2026-07-22 12:18:48', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788082 -2.613737)'), GeomFromEWKT('SRID=4674;POINT (-39.788021 -2.613746)'))) / (select extract(epoch from '2026-07-22 12:18:48'::timestamp) - extract(epoch from '2026-07-22 12:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788082 -2.613737)'), GeomFromEWKT('SRID=4674;POINT (-39.788021 -2.613746)'))) / (select extract(epoch from '2026-07-22 12:18:48'::timestamp) - extract(epoch from '2026-07-22 12:18: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'), 47870, 'SRID=4674;POINT (-39.787907 -2.613753)', '2026-07-22 12:18:55', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788021 -2.613746)'), GeomFromEWKT('SRID=4674;POINT (-39.787907 -2.613753)'))) / (select extract(epoch from '2026-07-22 12:18:55'::timestamp) - extract(epoch from '2026-07-22 12:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.788021 -2.613746)'), GeomFromEWKT('SRID=4674;POINT (-39.787907 -2.613753)'))) / (select extract(epoch from '2026-07-22 12:18:55'::timestamp) - extract(epoch from '2026-07-22 12:18: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'), 47870, 'SRID=4674;POINT (-39.787892 -2.613752)', '2026-07-22 12:18:56', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787907 -2.613753)'), GeomFromEWKT('SRID=4674;POINT (-39.787892 -2.613752)'))) / (select extract(epoch from '2026-07-22 12:18:56'::timestamp) - extract(epoch from '2026-07-22 12:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787907 -2.613753)'), GeomFromEWKT('SRID=4674;POINT (-39.787892 -2.613752)'))) / (select extract(epoch from '2026-07-22 12:18:56'::timestamp) - extract(epoch from '2026-07-22 12:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787836 -2.613751)', '2026-07-22 12:19:00', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787892 -2.613752)'), GeomFromEWKT('SRID=4674;POINT (-39.787836 -2.613751)'))) / (select extract(epoch from '2026-07-22 12:19:00'::timestamp) - extract(epoch from '2026-07-22 12:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787892 -2.613752)'), GeomFromEWKT('SRID=4674;POINT (-39.787836 -2.613751)'))) / (select extract(epoch from '2026-07-22 12:19:00'::timestamp) - extract(epoch from '2026-07-22 12:18: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'), 47870, 'SRID=4674;POINT (-39.787738 -2.613738)', '2026-07-22 12:19:06', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787836 -2.613751)'), GeomFromEWKT('SRID=4674;POINT (-39.787738 -2.613738)'))) / (select extract(epoch from '2026-07-22 12:19:06'::timestamp) - extract(epoch from '2026-07-22 12:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787836 -2.613751)'), GeomFromEWKT('SRID=4674;POINT (-39.787738 -2.613738)'))) / (select extract(epoch from '2026-07-22 12:19:06'::timestamp) - extract(epoch from '2026-07-22 12:19: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'), 47870, 'SRID=4674;POINT (-39.787625 -2.613696)', '2026-07-22 12:19:14', 20.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787738 -2.613738)'), GeomFromEWKT('SRID=4674;POINT (-39.787625 -2.613696)'))) / (select extract(epoch from '2026-07-22 12:19:14'::timestamp) - extract(epoch from '2026-07-22 12:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787738 -2.613738)'), GeomFromEWKT('SRID=4674;POINT (-39.787625 -2.613696)'))) / (select extract(epoch from '2026-07-22 12:19:14'::timestamp) - extract(epoch from '2026-07-22 12:19: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'), 47870, 'SRID=4674;POINT (-39.787533 -2.613685)', '2026-07-22 12:19:20', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787625 -2.613696)'), GeomFromEWKT('SRID=4674;POINT (-39.787533 -2.613685)'))) / (select extract(epoch from '2026-07-22 12:19:20'::timestamp) - extract(epoch from '2026-07-22 12:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787625 -2.613696)'), GeomFromEWKT('SRID=4674;POINT (-39.787533 -2.613685)'))) / (select extract(epoch from '2026-07-22 12:19:20'::timestamp) - extract(epoch from '2026-07-22 12:19: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'), 47870, 'SRID=4674;POINT (-39.787462 -2.613694)', '2026-07-22 12:19:25', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787533 -2.613685)'), GeomFromEWKT('SRID=4674;POINT (-39.787462 -2.613694)'))) / (select extract(epoch from '2026-07-22 12:19:25'::timestamp) - extract(epoch from '2026-07-22 12:19:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787533 -2.613685)'), GeomFromEWKT('SRID=4674;POINT (-39.787462 -2.613694)'))) / (select extract(epoch from '2026-07-22 12:19:25'::timestamp) - extract(epoch from '2026-07-22 12:19: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'), 47870, 'SRID=4674;POINT (-39.787365 -2.613689)', '2026-07-22 12:19:30', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787462 -2.613694)'), GeomFromEWKT('SRID=4674;POINT (-39.787365 -2.613689)'))) / (select extract(epoch from '2026-07-22 12:19:30'::timestamp) - extract(epoch from '2026-07-22 12:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787462 -2.613694)'), GeomFromEWKT('SRID=4674;POINT (-39.787365 -2.613689)'))) / (select extract(epoch from '2026-07-22 12:19:30'::timestamp) - extract(epoch from '2026-07-22 12:19: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'), 47870, 'SRID=4674;POINT (-39.787278 -2.613675)', '2026-07-22 12:19:37', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787365 -2.613689)'), GeomFromEWKT('SRID=4674;POINT (-39.787278 -2.613675)'))) / (select extract(epoch from '2026-07-22 12:19:37'::timestamp) - extract(epoch from '2026-07-22 12:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787365 -2.613689)'), GeomFromEWKT('SRID=4674;POINT (-39.787278 -2.613675)'))) / (select extract(epoch from '2026-07-22 12:19:37'::timestamp) - extract(epoch from '2026-07-22 12:19: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'), 47870, 'SRID=4674;POINT (-39.787261 -2.613674)', '2026-07-22 12:19:39', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787278 -2.613675)'), GeomFromEWKT('SRID=4674;POINT (-39.787261 -2.613674)'))) / (select extract(epoch from '2026-07-22 12:19:39'::timestamp) - extract(epoch from '2026-07-22 12:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787278 -2.613675)'), GeomFromEWKT('SRID=4674;POINT (-39.787261 -2.613674)'))) / (select extract(epoch from '2026-07-22 12:19:39'::timestamp) - extract(epoch from '2026-07-22 12:19: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'), 47870, 'SRID=4674;POINT (-39.787237 -2.613669)', '2026-07-22 12:19:43', 20.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787261 -2.613674)'), GeomFromEWKT('SRID=4674;POINT (-39.787237 -2.613669)'))) / (select extract(epoch from '2026-07-22 12:19:43'::timestamp) - extract(epoch from '2026-07-22 12:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787261 -2.613674)'), GeomFromEWKT('SRID=4674;POINT (-39.787237 -2.613669)'))) / (select extract(epoch from '2026-07-22 12:19:43'::timestamp) - extract(epoch from '2026-07-22 12:19: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'), 47870, 'SRID=4674;POINT (-39.787205 -2.61365)', '2026-07-22 12:19:50', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787237 -2.613669)'), GeomFromEWKT('SRID=4674;POINT (-39.787205 -2.61365)'))) / (select extract(epoch from '2026-07-22 12:19:50'::timestamp) - extract(epoch from '2026-07-22 12:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787237 -2.613669)'), GeomFromEWKT('SRID=4674;POINT (-39.787205 -2.61365)'))) / (select extract(epoch from '2026-07-22 12:19:50'::timestamp) - extract(epoch from '2026-07-22 12:19: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'), 47870, 'SRID=4674;POINT (-39.787208 -2.613595)', '2026-07-22 12:20:02', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787205 -2.61365)'), GeomFromEWKT('SRID=4674;POINT (-39.787208 -2.613595)'))) / (select extract(epoch from '2026-07-22 12:20:02'::timestamp) - extract(epoch from '2026-07-22 12:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787205 -2.61365)'), GeomFromEWKT('SRID=4674;POINT (-39.787208 -2.613595)'))) / (select extract(epoch from '2026-07-22 12:20:02'::timestamp) - extract(epoch from '2026-07-22 12:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787235 -2.613549)', '2026-07-22 12:20:13', 21.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787208 -2.613595)'), GeomFromEWKT('SRID=4674;POINT (-39.787235 -2.613549)'))) / (select extract(epoch from '2026-07-22 12:20:13'::timestamp) - extract(epoch from '2026-07-22 12:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787208 -2.613595)'), GeomFromEWKT('SRID=4674;POINT (-39.787235 -2.613549)'))) / (select extract(epoch from '2026-07-22 12:20:13'::timestamp) - extract(epoch from '2026-07-22 12:20: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'), 47870, 'SRID=4674;POINT (-39.78727 -2.613506)', '2026-07-22 12:20:22', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787235 -2.613549)'), GeomFromEWKT('SRID=4674;POINT (-39.78727 -2.613506)'))) / (select extract(epoch from '2026-07-22 12:20:22'::timestamp) - extract(epoch from '2026-07-22 12:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787235 -2.613549)'), GeomFromEWKT('SRID=4674;POINT (-39.78727 -2.613506)'))) / (select extract(epoch from '2026-07-22 12:20:22'::timestamp) - extract(epoch from '2026-07-22 12:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787309 -2.613472)', '2026-07-22 12:20:29', 22.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78727 -2.613506)'), GeomFromEWKT('SRID=4674;POINT (-39.787309 -2.613472)'))) / (select extract(epoch from '2026-07-22 12:20:29'::timestamp) - extract(epoch from '2026-07-22 12:20:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78727 -2.613506)'), GeomFromEWKT('SRID=4674;POINT (-39.787309 -2.613472)'))) / (select extract(epoch from '2026-07-22 12:20:29'::timestamp) - extract(epoch from '2026-07-22 12:20:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787346 -2.613447)', '2026-07-22 12:20:36', 22, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787309 -2.613472)'), GeomFromEWKT('SRID=4674;POINT (-39.787346 -2.613447)'))) / (select extract(epoch from '2026-07-22 12:20:36'::timestamp) - extract(epoch from '2026-07-22 12:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787309 -2.613472)'), GeomFromEWKT('SRID=4674;POINT (-39.787346 -2.613447)'))) / (select extract(epoch from '2026-07-22 12:20:36'::timestamp) - extract(epoch from '2026-07-22 12:20: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'), 47870, 'SRID=4674;POINT (-39.787374 -2.613441)', '2026-07-22 12:20:45', 21.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787346 -2.613447)'), GeomFromEWKT('SRID=4674;POINT (-39.787374 -2.613441)'))) / (select extract(epoch from '2026-07-22 12:20:45'::timestamp) - extract(epoch from '2026-07-22 12:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787346 -2.613447)'), GeomFromEWKT('SRID=4674;POINT (-39.787374 -2.613441)'))) / (select extract(epoch from '2026-07-22 12:20:45'::timestamp) - extract(epoch from '2026-07-22 12:20: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'), 47870, 'SRID=4674;POINT (-39.787419 -2.61339)', '2026-07-22 12:21:00', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787374 -2.613441)'), GeomFromEWKT('SRID=4674;POINT (-39.787419 -2.61339)'))) / (select extract(epoch from '2026-07-22 12:21:00'::timestamp) - extract(epoch from '2026-07-22 12:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787374 -2.613441)'), GeomFromEWKT('SRID=4674;POINT (-39.787419 -2.61339)'))) / (select extract(epoch from '2026-07-22 12:21:00'::timestamp) - extract(epoch from '2026-07-22 12:20:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787436 -2.613349)', '2026-07-22 12:21:09', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787419 -2.61339)'), GeomFromEWKT('SRID=4674;POINT (-39.787436 -2.613349)'))) / (select extract(epoch from '2026-07-22 12:21:09'::timestamp) - extract(epoch from '2026-07-22 12:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787419 -2.61339)'), GeomFromEWKT('SRID=4674;POINT (-39.787436 -2.613349)'))) / (select extract(epoch from '2026-07-22 12:21:09'::timestamp) - extract(epoch from '2026-07-22 12:21: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'), 47870, 'SRID=4674;POINT (-39.787483 -2.613312)', '2026-07-22 12:21:18', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787436 -2.613349)'), GeomFromEWKT('SRID=4674;POINT (-39.787483 -2.613312)'))) / (select extract(epoch from '2026-07-22 12:21:18'::timestamp) - extract(epoch from '2026-07-22 12:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787436 -2.613349)'), GeomFromEWKT('SRID=4674;POINT (-39.787483 -2.613312)'))) / (select extract(epoch from '2026-07-22 12:21:18'::timestamp) - extract(epoch from '2026-07-22 12:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787497 -2.613281)', '2026-07-22 12:21:26', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787483 -2.613312)'), GeomFromEWKT('SRID=4674;POINT (-39.787497 -2.613281)'))) / (select extract(epoch from '2026-07-22 12:21:26'::timestamp) - extract(epoch from '2026-07-22 12:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787483 -2.613312)'), GeomFromEWKT('SRID=4674;POINT (-39.787497 -2.613281)'))) / (select extract(epoch from '2026-07-22 12:21:26'::timestamp) - extract(epoch from '2026-07-22 12:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787523 -2.613274)', '2026-07-22 12:21:33', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787497 -2.613281)'), GeomFromEWKT('SRID=4674;POINT (-39.787523 -2.613274)'))) / (select extract(epoch from '2026-07-22 12:21:33'::timestamp) - extract(epoch from '2026-07-22 12:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787497 -2.613281)'), GeomFromEWKT('SRID=4674;POINT (-39.787523 -2.613274)'))) / (select extract(epoch from '2026-07-22 12:21:33'::timestamp) - extract(epoch from '2026-07-22 12:21: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'), 47870, 'SRID=4674;POINT (-39.787537 -2.613265)', '2026-07-22 12:21:38', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787523 -2.613274)'), GeomFromEWKT('SRID=4674;POINT (-39.787537 -2.613265)'))) / (select extract(epoch from '2026-07-22 12:21:38'::timestamp) - extract(epoch from '2026-07-22 12:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787523 -2.613274)'), GeomFromEWKT('SRID=4674;POINT (-39.787537 -2.613265)'))) / (select extract(epoch from '2026-07-22 12:21:38'::timestamp) - extract(epoch from '2026-07-22 12:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7876 -2.613195)', '2026-07-22 12:22:23', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787537 -2.613265)'), GeomFromEWKT('SRID=4674;POINT (-39.7876 -2.613195)'))) / (select extract(epoch from '2026-07-22 12:22:23'::timestamp) - extract(epoch from '2026-07-22 12:21:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787537 -2.613265)'), GeomFromEWKT('SRID=4674;POINT (-39.7876 -2.613195)'))) / (select extract(epoch from '2026-07-22 12:22:23'::timestamp) - extract(epoch from '2026-07-22 12:21: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'), 47870, 'SRID=4674;POINT (-39.787617 -2.613179)', '2026-07-22 12:22:29', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7876 -2.613195)'), GeomFromEWKT('SRID=4674;POINT (-39.787617 -2.613179)'))) / (select extract(epoch from '2026-07-22 12:22:29'::timestamp) - extract(epoch from '2026-07-22 12:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7876 -2.613195)'), GeomFromEWKT('SRID=4674;POINT (-39.787617 -2.613179)'))) / (select extract(epoch from '2026-07-22 12:22:29'::timestamp) - extract(epoch from '2026-07-22 12:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787664 -2.613142)', '2026-07-22 12:22:59', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787617 -2.613179)'), GeomFromEWKT('SRID=4674;POINT (-39.787664 -2.613142)'))) / (select extract(epoch from '2026-07-22 12:22:59'::timestamp) - extract(epoch from '2026-07-22 12:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787617 -2.613179)'), GeomFromEWKT('SRID=4674;POINT (-39.787664 -2.613142)'))) / (select extract(epoch from '2026-07-22 12:22:59'::timestamp) - extract(epoch from '2026-07-22 12:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787686 -2.613124)', '2026-07-22 12:23:20', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787664 -2.613142)'), GeomFromEWKT('SRID=4674;POINT (-39.787686 -2.613124)'))) / (select extract(epoch from '2026-07-22 12:23:20'::timestamp) - extract(epoch from '2026-07-22 12:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787664 -2.613142)'), GeomFromEWKT('SRID=4674;POINT (-39.787686 -2.613124)'))) / (select extract(epoch from '2026-07-22 12:23:20'::timestamp) - extract(epoch from '2026-07-22 12:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787742 -2.613053)', '2026-07-22 12:23:34', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787686 -2.613124)'), GeomFromEWKT('SRID=4674;POINT (-39.787742 -2.613053)'))) / (select extract(epoch from '2026-07-22 12:23:34'::timestamp) - extract(epoch from '2026-07-22 12:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787686 -2.613124)'), GeomFromEWKT('SRID=4674;POINT (-39.787742 -2.613053)'))) / (select extract(epoch from '2026-07-22 12:23:34'::timestamp) - extract(epoch from '2026-07-22 12:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787759 -2.613039)', '2026-07-22 12:23:40', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787742 -2.613053)'), GeomFromEWKT('SRID=4674;POINT (-39.787759 -2.613039)'))) / (select extract(epoch from '2026-07-22 12:23:40'::timestamp) - extract(epoch from '2026-07-22 12:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787742 -2.613053)'), GeomFromEWKT('SRID=4674;POINT (-39.787759 -2.613039)'))) / (select extract(epoch from '2026-07-22 12:23:40'::timestamp) - extract(epoch from '2026-07-22 12:23: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'), 47870, 'SRID=4674;POINT (-39.787779 -2.613009)', '2026-07-22 12:23:52', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787759 -2.613039)'), GeomFromEWKT('SRID=4674;POINT (-39.787779 -2.613009)'))) / (select extract(epoch from '2026-07-22 12:23:52'::timestamp) - extract(epoch from '2026-07-22 12:23:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787759 -2.613039)'), GeomFromEWKT('SRID=4674;POINT (-39.787779 -2.613009)'))) / (select extract(epoch from '2026-07-22 12:23:52'::timestamp) - extract(epoch from '2026-07-22 12:23: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'), 47870, 'SRID=4674;POINT (-39.78774 -2.613033)', '2026-07-22 12:24:04', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787779 -2.613009)'), GeomFromEWKT('SRID=4674;POINT (-39.78774 -2.613033)'))) / (select extract(epoch from '2026-07-22 12:24:04'::timestamp) - extract(epoch from '2026-07-22 12:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787779 -2.613009)'), GeomFromEWKT('SRID=4674;POINT (-39.78774 -2.613033)'))) / (select extract(epoch from '2026-07-22 12:24:04'::timestamp) - extract(epoch from '2026-07-22 12:23: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'), 47870, 'SRID=4674;POINT (-39.787671 -2.61313)', '2026-07-22 12:24:14', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78774 -2.613033)'), GeomFromEWKT('SRID=4674;POINT (-39.787671 -2.61313)'))) / (select extract(epoch from '2026-07-22 12:24:14'::timestamp) - extract(epoch from '2026-07-22 12:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78774 -2.613033)'), GeomFromEWKT('SRID=4674;POINT (-39.787671 -2.61313)'))) / (select extract(epoch from '2026-07-22 12:24:14'::timestamp) - extract(epoch from '2026-07-22 12:24: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'), 47870, 'SRID=4674;POINT (-39.787627 -2.613247)', '2026-07-22 12:24:24', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787671 -2.61313)'), GeomFromEWKT('SRID=4674;POINT (-39.787627 -2.613247)'))) / (select extract(epoch from '2026-07-22 12:24:24'::timestamp) - extract(epoch from '2026-07-22 12:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787671 -2.61313)'), GeomFromEWKT('SRID=4674;POINT (-39.787627 -2.613247)'))) / (select extract(epoch from '2026-07-22 12:24:24'::timestamp) - extract(epoch from '2026-07-22 12:24: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'), 47870, 'SRID=4674;POINT (-39.787554 -2.613402)', '2026-07-22 12:24:38', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787627 -2.613247)'), GeomFromEWKT('SRID=4674;POINT (-39.787554 -2.613402)'))) / (select extract(epoch from '2026-07-22 12:24:38'::timestamp) - extract(epoch from '2026-07-22 12:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787627 -2.613247)'), GeomFromEWKT('SRID=4674;POINT (-39.787554 -2.613402)'))) / (select extract(epoch from '2026-07-22 12:24:38'::timestamp) - extract(epoch from '2026-07-22 12:24: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'), 47870, 'SRID=4674;POINT (-39.787523 -2.613452)', '2026-07-22 12:24:44', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787554 -2.613402)'), GeomFromEWKT('SRID=4674;POINT (-39.787523 -2.613452)'))) / (select extract(epoch from '2026-07-22 12:24:44'::timestamp) - extract(epoch from '2026-07-22 12:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787554 -2.613402)'), GeomFromEWKT('SRID=4674;POINT (-39.787523 -2.613452)'))) / (select extract(epoch from '2026-07-22 12:24:44'::timestamp) - extract(epoch from '2026-07-22 12:24:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787472 -2.613483)', '2026-07-22 12:24:49', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787523 -2.613452)'), GeomFromEWKT('SRID=4674;POINT (-39.787472 -2.613483)'))) / (select extract(epoch from '2026-07-22 12:24:49'::timestamp) - extract(epoch from '2026-07-22 12:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787523 -2.613452)'), GeomFromEWKT('SRID=4674;POINT (-39.787472 -2.613483)'))) / (select extract(epoch from '2026-07-22 12:24:49'::timestamp) - extract(epoch from '2026-07-22 12:24: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'), 47870, 'SRID=4674;POINT (-39.787402 -2.613509)', '2026-07-22 12:24:55', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787472 -2.613483)'), GeomFromEWKT('SRID=4674;POINT (-39.787402 -2.613509)'))) / (select extract(epoch from '2026-07-22 12:24:55'::timestamp) - extract(epoch from '2026-07-22 12:24:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787472 -2.613483)'), GeomFromEWKT('SRID=4674;POINT (-39.787402 -2.613509)'))) / (select extract(epoch from '2026-07-22 12:24:55'::timestamp) - extract(epoch from '2026-07-22 12:24: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'), 47870, 'SRID=4674;POINT (-39.787342 -2.613567)', '2026-07-22 12:25:02', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787402 -2.613509)'), GeomFromEWKT('SRID=4674;POINT (-39.787342 -2.613567)'))) / (select extract(epoch from '2026-07-22 12:25:02'::timestamp) - extract(epoch from '2026-07-22 12:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787402 -2.613509)'), GeomFromEWKT('SRID=4674;POINT (-39.787342 -2.613567)'))) / (select extract(epoch from '2026-07-22 12:25:02'::timestamp) - extract(epoch from '2026-07-22 12:24:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787322 -2.613632)', '2026-07-22 12:25:10', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787342 -2.613567)'), GeomFromEWKT('SRID=4674;POINT (-39.787322 -2.613632)'))) / (select extract(epoch from '2026-07-22 12:25:10'::timestamp) - extract(epoch from '2026-07-22 12:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787342 -2.613567)'), GeomFromEWKT('SRID=4674;POINT (-39.787322 -2.613632)'))) / (select extract(epoch from '2026-07-22 12:25:10'::timestamp) - extract(epoch from '2026-07-22 12:25: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'), 47870, 'SRID=4674;POINT (-39.787272 -2.613734)', '2026-07-22 12:25:22', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787322 -2.613632)'), GeomFromEWKT('SRID=4674;POINT (-39.787272 -2.613734)'))) / (select extract(epoch from '2026-07-22 12:25:22'::timestamp) - extract(epoch from '2026-07-22 12:25:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787322 -2.613632)'), GeomFromEWKT('SRID=4674;POINT (-39.787272 -2.613734)'))) / (select extract(epoch from '2026-07-22 12:25:22'::timestamp) - extract(epoch from '2026-07-22 12:25: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'), 47870, 'SRID=4674;POINT (-39.787197 -2.6138)', '2026-07-22 12:25:32', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787272 -2.613734)'), GeomFromEWKT('SRID=4674;POINT (-39.787197 -2.6138)'))) / (select extract(epoch from '2026-07-22 12:25:32'::timestamp) - extract(epoch from '2026-07-22 12:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787272 -2.613734)'), GeomFromEWKT('SRID=4674;POINT (-39.787197 -2.6138)'))) / (select extract(epoch from '2026-07-22 12:25:32'::timestamp) - extract(epoch from '2026-07-22 12:25: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'), 47870, 'SRID=4674;POINT (-39.787166 -2.613811)', '2026-07-22 12:25:35', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787197 -2.6138)'), GeomFromEWKT('SRID=4674;POINT (-39.787166 -2.613811)'))) / (select extract(epoch from '2026-07-22 12:25:35'::timestamp) - extract(epoch from '2026-07-22 12:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787197 -2.6138)'), GeomFromEWKT('SRID=4674;POINT (-39.787166 -2.613811)'))) / (select extract(epoch from '2026-07-22 12:25:35'::timestamp) - extract(epoch from '2026-07-22 12:25: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'), 47870, 'SRID=4674;POINT (-39.787137 -2.613824)', '2026-07-22 12:25:38', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787166 -2.613811)'), GeomFromEWKT('SRID=4674;POINT (-39.787137 -2.613824)'))) / (select extract(epoch from '2026-07-22 12:25:38'::timestamp) - extract(epoch from '2026-07-22 12:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787166 -2.613811)'), GeomFromEWKT('SRID=4674;POINT (-39.787137 -2.613824)'))) / (select extract(epoch from '2026-07-22 12:25:38'::timestamp) - extract(epoch from '2026-07-22 12:25:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7871 -2.61382)', '2026-07-22 12:25:41', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787137 -2.613824)'), GeomFromEWKT('SRID=4674;POINT (-39.7871 -2.61382)'))) / (select extract(epoch from '2026-07-22 12:25:41'::timestamp) - extract(epoch from '2026-07-22 12:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787137 -2.613824)'), GeomFromEWKT('SRID=4674;POINT (-39.7871 -2.61382)'))) / (select extract(epoch from '2026-07-22 12:25:41'::timestamp) - extract(epoch from '2026-07-22 12:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787064 -2.61382)', '2026-07-22 12:25:44', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7871 -2.61382)'), GeomFromEWKT('SRID=4674;POINT (-39.787064 -2.61382)'))) / (select extract(epoch from '2026-07-22 12:25:44'::timestamp) - extract(epoch from '2026-07-22 12:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7871 -2.61382)'), GeomFromEWKT('SRID=4674;POINT (-39.787064 -2.61382)'))) / (select extract(epoch from '2026-07-22 12:25:44'::timestamp) - extract(epoch from '2026-07-22 12:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.787 -2.613807)', '2026-07-22 12:25:51', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787064 -2.61382)'), GeomFromEWKT('SRID=4674;POINT (-39.787 -2.613807)'))) / (select extract(epoch from '2026-07-22 12:25:51'::timestamp) - extract(epoch from '2026-07-22 12:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787064 -2.61382)'), GeomFromEWKT('SRID=4674;POINT (-39.787 -2.613807)'))) / (select extract(epoch from '2026-07-22 12:25:51'::timestamp) - extract(epoch from '2026-07-22 12:25:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786931 -2.613814)', '2026-07-22 12:25:59', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787 -2.613807)'), GeomFromEWKT('SRID=4674;POINT (-39.786931 -2.613814)'))) / (select extract(epoch from '2026-07-22 12:25:59'::timestamp) - extract(epoch from '2026-07-22 12:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.787 -2.613807)'), GeomFromEWKT('SRID=4674;POINT (-39.786931 -2.613814)'))) / (select extract(epoch from '2026-07-22 12:25:59'::timestamp) - extract(epoch from '2026-07-22 12:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786843 -2.613809)', '2026-07-22 12:26:06', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786931 -2.613814)'), GeomFromEWKT('SRID=4674;POINT (-39.786843 -2.613809)'))) / (select extract(epoch from '2026-07-22 12:26:06'::timestamp) - extract(epoch from '2026-07-22 12:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786931 -2.613814)'), GeomFromEWKT('SRID=4674;POINT (-39.786843 -2.613809)'))) / (select extract(epoch from '2026-07-22 12:26:06'::timestamp) - extract(epoch from '2026-07-22 12:25: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'), 47870, 'SRID=4674;POINT (-39.786738 -2.613846)', '2026-07-22 12:26:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786843 -2.613809)'), GeomFromEWKT('SRID=4674;POINT (-39.786738 -2.613846)'))) / (select extract(epoch from '2026-07-22 12:26:15'::timestamp) - extract(epoch from '2026-07-22 12:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786843 -2.613809)'), GeomFromEWKT('SRID=4674;POINT (-39.786738 -2.613846)'))) / (select extract(epoch from '2026-07-22 12:26:15'::timestamp) - extract(epoch from '2026-07-22 12:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786654 -2.613862)', '2026-07-22 12:26:22', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786738 -2.613846)'), GeomFromEWKT('SRID=4674;POINT (-39.786654 -2.613862)'))) / (select extract(epoch from '2026-07-22 12:26:22'::timestamp) - extract(epoch from '2026-07-22 12:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786738 -2.613846)'), GeomFromEWKT('SRID=4674;POINT (-39.786654 -2.613862)'))) / (select extract(epoch from '2026-07-22 12:26:22'::timestamp) - extract(epoch from '2026-07-22 12:26:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786577 -2.613856)', '2026-07-22 12:26:29', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786654 -2.613862)'), GeomFromEWKT('SRID=4674;POINT (-39.786577 -2.613856)'))) / (select extract(epoch from '2026-07-22 12:26:29'::timestamp) - extract(epoch from '2026-07-22 12:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786654 -2.613862)'), GeomFromEWKT('SRID=4674;POINT (-39.786577 -2.613856)'))) / (select extract(epoch from '2026-07-22 12:26:29'::timestamp) - extract(epoch from '2026-07-22 12:26: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'), 47870, 'SRID=4674;POINT (-39.786525 -2.613833)', '2026-07-22 12:26:34', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786577 -2.613856)'), GeomFromEWKT('SRID=4674;POINT (-39.786525 -2.613833)'))) / (select extract(epoch from '2026-07-22 12:26:34'::timestamp) - extract(epoch from '2026-07-22 12:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786577 -2.613856)'), GeomFromEWKT('SRID=4674;POINT (-39.786525 -2.613833)'))) / (select extract(epoch from '2026-07-22 12:26:34'::timestamp) - extract(epoch from '2026-07-22 12:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786442 -2.613815)', '2026-07-22 12:26:41', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786525 -2.613833)'), GeomFromEWKT('SRID=4674;POINT (-39.786442 -2.613815)'))) / (select extract(epoch from '2026-07-22 12:26:41'::timestamp) - extract(epoch from '2026-07-22 12:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786525 -2.613833)'), GeomFromEWKT('SRID=4674;POINT (-39.786442 -2.613815)'))) / (select extract(epoch from '2026-07-22 12:26:41'::timestamp) - extract(epoch from '2026-07-22 12:26: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'), 47870, 'SRID=4674;POINT (-39.786367 -2.613786)', '2026-07-22 12:26:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786442 -2.613815)'), GeomFromEWKT('SRID=4674;POINT (-39.786367 -2.613786)'))) / (select extract(epoch from '2026-07-22 12:26:47'::timestamp) - extract(epoch from '2026-07-22 12:26:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786442 -2.613815)'), GeomFromEWKT('SRID=4674;POINT (-39.786367 -2.613786)'))) / (select extract(epoch from '2026-07-22 12:26:47'::timestamp) - extract(epoch from '2026-07-22 12:26:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786304 -2.613761)', '2026-07-22 12:26:53', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786367 -2.613786)'), GeomFromEWKT('SRID=4674;POINT (-39.786304 -2.613761)'))) / (select extract(epoch from '2026-07-22 12:26:53'::timestamp) - extract(epoch from '2026-07-22 12:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786367 -2.613786)'), GeomFromEWKT('SRID=4674;POINT (-39.786304 -2.613761)'))) / (select extract(epoch from '2026-07-22 12:26:53'::timestamp) - extract(epoch from '2026-07-22 12:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786287 -2.613738)', '2026-07-22 12:27:00', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786304 -2.613761)'), GeomFromEWKT('SRID=4674;POINT (-39.786287 -2.613738)'))) / (select extract(epoch from '2026-07-22 12:27:00'::timestamp) - extract(epoch from '2026-07-22 12:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786304 -2.613761)'), GeomFromEWKT('SRID=4674;POINT (-39.786287 -2.613738)'))) / (select extract(epoch from '2026-07-22 12:27:00'::timestamp) - extract(epoch from '2026-07-22 12:26: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'), 47870, 'SRID=4674;POINT (-39.78629 -2.613725)', '2026-07-22 12:27:11', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786287 -2.613738)'), GeomFromEWKT('SRID=4674;POINT (-39.78629 -2.613725)'))) / (select extract(epoch from '2026-07-22 12:27:11'::timestamp) - extract(epoch from '2026-07-22 12:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786287 -2.613738)'), GeomFromEWKT('SRID=4674;POINT (-39.78629 -2.613725)'))) / (select extract(epoch from '2026-07-22 12:27:11'::timestamp) - extract(epoch from '2026-07-22 12:27: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'), 47870, 'SRID=4674;POINT (-39.786332 -2.613671)', '2026-07-22 12:27:24', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78629 -2.613725)'), GeomFromEWKT('SRID=4674;POINT (-39.786332 -2.613671)'))) / (select extract(epoch from '2026-07-22 12:27:24'::timestamp) - extract(epoch from '2026-07-22 12:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78629 -2.613725)'), GeomFromEWKT('SRID=4674;POINT (-39.786332 -2.613671)'))) / (select extract(epoch from '2026-07-22 12:27:24'::timestamp) - extract(epoch from '2026-07-22 12:27: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'), 47870, 'SRID=4674;POINT (-39.786377 -2.613641)', '2026-07-22 12:27:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786332 -2.613671)'), GeomFromEWKT('SRID=4674;POINT (-39.786377 -2.613641)'))) / (select extract(epoch from '2026-07-22 12:27:32'::timestamp) - extract(epoch from '2026-07-22 12:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786332 -2.613671)'), GeomFromEWKT('SRID=4674;POINT (-39.786377 -2.613641)'))) / (select extract(epoch from '2026-07-22 12:27:32'::timestamp) - extract(epoch from '2026-07-22 12:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786383 -2.613592)', '2026-07-22 12:27:40', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786377 -2.613641)'), GeomFromEWKT('SRID=4674;POINT (-39.786383 -2.613592)'))) / (select extract(epoch from '2026-07-22 12:27:40'::timestamp) - extract(epoch from '2026-07-22 12:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786377 -2.613641)'), GeomFromEWKT('SRID=4674;POINT (-39.786383 -2.613592)'))) / (select extract(epoch from '2026-07-22 12:27:40'::timestamp) - extract(epoch from '2026-07-22 12:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786412 -2.613564)', '2026-07-22 12:27:47', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786383 -2.613592)'), GeomFromEWKT('SRID=4674;POINT (-39.786412 -2.613564)'))) / (select extract(epoch from '2026-07-22 12:27:47'::timestamp) - extract(epoch from '2026-07-22 12:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786383 -2.613592)'), GeomFromEWKT('SRID=4674;POINT (-39.786412 -2.613564)'))) / (select extract(epoch from '2026-07-22 12:27:47'::timestamp) - extract(epoch from '2026-07-22 12:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78645 -2.613534)', '2026-07-22 12:27:55', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786412 -2.613564)'), GeomFromEWKT('SRID=4674;POINT (-39.78645 -2.613534)'))) / (select extract(epoch from '2026-07-22 12:27:55'::timestamp) - extract(epoch from '2026-07-22 12:27:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786412 -2.613564)'), GeomFromEWKT('SRID=4674;POINT (-39.78645 -2.613534)'))) / (select extract(epoch from '2026-07-22 12:27:55'::timestamp) - extract(epoch from '2026-07-22 12:27: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'), 47870, 'SRID=4674;POINT (-39.786487 -2.613499)', '2026-07-22 12:28:03', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78645 -2.613534)'), GeomFromEWKT('SRID=4674;POINT (-39.786487 -2.613499)'))) / (select extract(epoch from '2026-07-22 12:28:03'::timestamp) - extract(epoch from '2026-07-22 12:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78645 -2.613534)'), GeomFromEWKT('SRID=4674;POINT (-39.786487 -2.613499)'))) / (select extract(epoch from '2026-07-22 12:28:03'::timestamp) - extract(epoch from '2026-07-22 12:27: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'), 47870, 'SRID=4674;POINT (-39.786536 -2.613468)', '2026-07-22 12:28:14', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786487 -2.613499)'), GeomFromEWKT('SRID=4674;POINT (-39.786536 -2.613468)'))) / (select extract(epoch from '2026-07-22 12:28:14'::timestamp) - extract(epoch from '2026-07-22 12:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786487 -2.613499)'), GeomFromEWKT('SRID=4674;POINT (-39.786536 -2.613468)'))) / (select extract(epoch from '2026-07-22 12:28:14'::timestamp) - extract(epoch from '2026-07-22 12:28: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'), 47870, 'SRID=4674;POINT (-39.78656 -2.613439)', '2026-07-22 12:28:22', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786536 -2.613468)'), GeomFromEWKT('SRID=4674;POINT (-39.78656 -2.613439)'))) / (select extract(epoch from '2026-07-22 12:28:22'::timestamp) - extract(epoch from '2026-07-22 12:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786536 -2.613468)'), GeomFromEWKT('SRID=4674;POINT (-39.78656 -2.613439)'))) / (select extract(epoch from '2026-07-22 12:28:22'::timestamp) - extract(epoch from '2026-07-22 12:28:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78659 -2.613393)', '2026-07-22 12:28:32', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78656 -2.613439)'), GeomFromEWKT('SRID=4674;POINT (-39.78659 -2.613393)'))) / (select extract(epoch from '2026-07-22 12:28:32'::timestamp) - extract(epoch from '2026-07-22 12:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78656 -2.613439)'), GeomFromEWKT('SRID=4674;POINT (-39.78659 -2.613393)'))) / (select extract(epoch from '2026-07-22 12:28:32'::timestamp) - extract(epoch from '2026-07-22 12:28: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'), 47870, 'SRID=4674;POINT (-39.786585 -2.613345)', '2026-07-22 12:28:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78659 -2.613393)'), GeomFromEWKT('SRID=4674;POINT (-39.786585 -2.613345)'))) / (select extract(epoch from '2026-07-22 12:28:41'::timestamp) - extract(epoch from '2026-07-22 12:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78659 -2.613393)'), GeomFromEWKT('SRID=4674;POINT (-39.786585 -2.613345)'))) / (select extract(epoch from '2026-07-22 12:28:41'::timestamp) - extract(epoch from '2026-07-22 12:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78658 -2.613336)', '2026-07-22 12:28:45', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786585 -2.613345)'), GeomFromEWKT('SRID=4674;POINT (-39.78658 -2.613336)'))) / (select extract(epoch from '2026-07-22 12:28:45'::timestamp) - extract(epoch from '2026-07-22 12:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786585 -2.613345)'), GeomFromEWKT('SRID=4674;POINT (-39.78658 -2.613336)'))) / (select extract(epoch from '2026-07-22 12:28:45'::timestamp) - extract(epoch from '2026-07-22 12:28: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'), 47870, 'SRID=4674;POINT (-39.786584 -2.613339)', '2026-07-22 12:28:51', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78658 -2.613336)'), GeomFromEWKT('SRID=4674;POINT (-39.786584 -2.613339)'))) / (select extract(epoch from '2026-07-22 12:28:51'::timestamp) - extract(epoch from '2026-07-22 12:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78658 -2.613336)'), GeomFromEWKT('SRID=4674;POINT (-39.786584 -2.613339)'))) / (select extract(epoch from '2026-07-22 12:28:51'::timestamp) - extract(epoch from '2026-07-22 12:28:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786614 -2.613328)', '2026-07-22 12:29:11', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786584 -2.613339)'), GeomFromEWKT('SRID=4674;POINT (-39.786614 -2.613328)'))) / (select extract(epoch from '2026-07-22 12:29:11'::timestamp) - extract(epoch from '2026-07-22 12:28:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786584 -2.613339)'), GeomFromEWKT('SRID=4674;POINT (-39.786614 -2.613328)'))) / (select extract(epoch from '2026-07-22 12:29:11'::timestamp) - extract(epoch from '2026-07-22 12:28:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786605 -2.613356)', '2026-07-22 12:29:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786614 -2.613328)'), GeomFromEWKT('SRID=4674;POINT (-39.786605 -2.613356)'))) / (select extract(epoch from '2026-07-22 12:29:16'::timestamp) - extract(epoch from '2026-07-22 12:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786614 -2.613328)'), GeomFromEWKT('SRID=4674;POINT (-39.786605 -2.613356)'))) / (select extract(epoch from '2026-07-22 12:29:16'::timestamp) - extract(epoch from '2026-07-22 12:29: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'), 47870, 'SRID=4674;POINT (-39.786606 -2.613379)', '2026-07-22 12:29:19', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786605 -2.613356)'), GeomFromEWKT('SRID=4674;POINT (-39.786606 -2.613379)'))) / (select extract(epoch from '2026-07-22 12:29:19'::timestamp) - extract(epoch from '2026-07-22 12:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786605 -2.613356)'), GeomFromEWKT('SRID=4674;POINT (-39.786606 -2.613379)'))) / (select extract(epoch from '2026-07-22 12:29:19'::timestamp) - extract(epoch from '2026-07-22 12:29:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786589 -2.613446)', '2026-07-22 12:29:26', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786606 -2.613379)'), GeomFromEWKT('SRID=4674;POINT (-39.786589 -2.613446)'))) / (select extract(epoch from '2026-07-22 12:29:26'::timestamp) - extract(epoch from '2026-07-22 12:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786606 -2.613379)'), GeomFromEWKT('SRID=4674;POINT (-39.786589 -2.613446)'))) / (select extract(epoch from '2026-07-22 12:29:26'::timestamp) - extract(epoch from '2026-07-22 12:29: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'), 47870, 'SRID=4674;POINT (-39.786562 -2.613523)', '2026-07-22 12:29:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786589 -2.613446)'), GeomFromEWKT('SRID=4674;POINT (-39.786562 -2.613523)'))) / (select extract(epoch from '2026-07-22 12:29:32'::timestamp) - extract(epoch from '2026-07-22 12:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786589 -2.613446)'), GeomFromEWKT('SRID=4674;POINT (-39.786562 -2.613523)'))) / (select extract(epoch from '2026-07-22 12:29:32'::timestamp) - extract(epoch from '2026-07-22 12:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786542 -2.613616)', '2026-07-22 12:29:38', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786562 -2.613523)'), GeomFromEWKT('SRID=4674;POINT (-39.786542 -2.613616)'))) / (select extract(epoch from '2026-07-22 12:29:38'::timestamp) - extract(epoch from '2026-07-22 12:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786562 -2.613523)'), GeomFromEWKT('SRID=4674;POINT (-39.786542 -2.613616)'))) / (select extract(epoch from '2026-07-22 12:29:38'::timestamp) - extract(epoch from '2026-07-22 12:29: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'), 47870, 'SRID=4674;POINT (-39.786522 -2.613705)', '2026-07-22 12:29:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786542 -2.613616)'), GeomFromEWKT('SRID=4674;POINT (-39.786522 -2.613705)'))) / (select extract(epoch from '2026-07-22 12:29:44'::timestamp) - extract(epoch from '2026-07-22 12:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786542 -2.613616)'), GeomFromEWKT('SRID=4674;POINT (-39.786522 -2.613705)'))) / (select extract(epoch from '2026-07-22 12:29:44'::timestamp) - extract(epoch from '2026-07-22 12:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786526 -2.613736)', '2026-07-22 12:29:46', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786522 -2.613705)'), GeomFromEWKT('SRID=4674;POINT (-39.786526 -2.613736)'))) / (select extract(epoch from '2026-07-22 12:29:46'::timestamp) - extract(epoch from '2026-07-22 12:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786522 -2.613705)'), GeomFromEWKT('SRID=4674;POINT (-39.786526 -2.613736)'))) / (select extract(epoch from '2026-07-22 12:29:46'::timestamp) - extract(epoch from '2026-07-22 12:29: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'), 47870, 'SRID=4674;POINT (-39.786518 -2.613812)', '2026-07-22 12:29:50', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786526 -2.613736)'), GeomFromEWKT('SRID=4674;POINT (-39.786518 -2.613812)'))) / (select extract(epoch from '2026-07-22 12:29:50'::timestamp) - extract(epoch from '2026-07-22 12:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786526 -2.613736)'), GeomFromEWKT('SRID=4674;POINT (-39.786518 -2.613812)'))) / (select extract(epoch from '2026-07-22 12:29:50'::timestamp) - extract(epoch from '2026-07-22 12:29:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786495 -2.613926)', '2026-07-22 12:29:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786518 -2.613812)'), GeomFromEWKT('SRID=4674;POINT (-39.786495 -2.613926)'))) / (select extract(epoch from '2026-07-22 12:29:56'::timestamp) - extract(epoch from '2026-07-22 12:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786518 -2.613812)'), GeomFromEWKT('SRID=4674;POINT (-39.786495 -2.613926)'))) / (select extract(epoch from '2026-07-22 12:29:56'::timestamp) - extract(epoch from '2026-07-22 12:29:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786466 -2.614039)', '2026-07-22 12:30:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786495 -2.613926)'), GeomFromEWKT('SRID=4674;POINT (-39.786466 -2.614039)'))) / (select extract(epoch from '2026-07-22 12:30:02'::timestamp) - extract(epoch from '2026-07-22 12:29:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786495 -2.613926)'), GeomFromEWKT('SRID=4674;POINT (-39.786466 -2.614039)'))) / (select extract(epoch from '2026-07-22 12:30:02'::timestamp) - extract(epoch from '2026-07-22 12:29:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786432 -2.614112)', '2026-07-22 12:30:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786466 -2.614039)'), GeomFromEWKT('SRID=4674;POINT (-39.786432 -2.614112)'))) / (select extract(epoch from '2026-07-22 12:30:07'::timestamp) - extract(epoch from '2026-07-22 12:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786466 -2.614039)'), GeomFromEWKT('SRID=4674;POINT (-39.786432 -2.614112)'))) / (select extract(epoch from '2026-07-22 12:30:07'::timestamp) - extract(epoch from '2026-07-22 12:30: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'), 47870, 'SRID=4674;POINT (-39.786339 -2.614198)', '2026-07-22 12:30:14', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786432 -2.614112)'), GeomFromEWKT('SRID=4674;POINT (-39.786339 -2.614198)'))) / (select extract(epoch from '2026-07-22 12:30:14'::timestamp) - extract(epoch from '2026-07-22 12:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786432 -2.614112)'), GeomFromEWKT('SRID=4674;POINT (-39.786339 -2.614198)'))) / (select extract(epoch from '2026-07-22 12:30:14'::timestamp) - extract(epoch from '2026-07-22 12:30: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'), 47870, 'SRID=4674;POINT (-39.786252 -2.614266)', '2026-07-22 12:30:20', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786339 -2.614198)'), GeomFromEWKT('SRID=4674;POINT (-39.786252 -2.614266)'))) / (select extract(epoch from '2026-07-22 12:30:20'::timestamp) - extract(epoch from '2026-07-22 12:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786339 -2.614198)'), GeomFromEWKT('SRID=4674;POINT (-39.786252 -2.614266)'))) / (select extract(epoch from '2026-07-22 12:30:20'::timestamp) - extract(epoch from '2026-07-22 12:30: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'), 47870, 'SRID=4674;POINT (-39.786181 -2.614327)', '2026-07-22 12:30:27', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786252 -2.614266)'), GeomFromEWKT('SRID=4674;POINT (-39.786181 -2.614327)'))) / (select extract(epoch from '2026-07-22 12:30:27'::timestamp) - extract(epoch from '2026-07-22 12:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786252 -2.614266)'), GeomFromEWKT('SRID=4674;POINT (-39.786181 -2.614327)'))) / (select extract(epoch from '2026-07-22 12:30:27'::timestamp) - extract(epoch from '2026-07-22 12:30: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'), 47870, 'SRID=4674;POINT (-39.786158 -2.614365)', '2026-07-22 12:30:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786181 -2.614327)'), GeomFromEWKT('SRID=4674;POINT (-39.786158 -2.614365)'))) / (select extract(epoch from '2026-07-22 12:30:30'::timestamp) - extract(epoch from '2026-07-22 12:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786181 -2.614327)'), GeomFromEWKT('SRID=4674;POINT (-39.786158 -2.614365)'))) / (select extract(epoch from '2026-07-22 12:30:30'::timestamp) - extract(epoch from '2026-07-22 12:30: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'), 47870, 'SRID=4674;POINT (-39.786129 -2.614389)', '2026-07-22 12:30:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786158 -2.614365)'), GeomFromEWKT('SRID=4674;POINT (-39.786129 -2.614389)'))) / (select extract(epoch from '2026-07-22 12:30:33'::timestamp) - extract(epoch from '2026-07-22 12:30:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786158 -2.614365)'), GeomFromEWKT('SRID=4674;POINT (-39.786129 -2.614389)'))) / (select extract(epoch from '2026-07-22 12:30:33'::timestamp) - extract(epoch from '2026-07-22 12:30:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.786058 -2.614441)', '2026-07-22 12:30:40', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786129 -2.614389)'), GeomFromEWKT('SRID=4674;POINT (-39.786058 -2.614441)'))) / (select extract(epoch from '2026-07-22 12:30:40'::timestamp) - extract(epoch from '2026-07-22 12:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786129 -2.614389)'), GeomFromEWKT('SRID=4674;POINT (-39.786058 -2.614441)'))) / (select extract(epoch from '2026-07-22 12:30:40'::timestamp) - extract(epoch from '2026-07-22 12:30: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'), 47870, 'SRID=4674;POINT (-39.785985 -2.614493)', '2026-07-22 12:30:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786058 -2.614441)'), GeomFromEWKT('SRID=4674;POINT (-39.785985 -2.614493)'))) / (select extract(epoch from '2026-07-22 12:30:47'::timestamp) - extract(epoch from '2026-07-22 12:30:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.786058 -2.614441)'), GeomFromEWKT('SRID=4674;POINT (-39.785985 -2.614493)'))) / (select extract(epoch from '2026-07-22 12:30:47'::timestamp) - extract(epoch from '2026-07-22 12:30:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785861 -2.614523)', '2026-07-22 12:30:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785985 -2.614493)'), GeomFromEWKT('SRID=4674;POINT (-39.785861 -2.614523)'))) / (select extract(epoch from '2026-07-22 12:30:55'::timestamp) - extract(epoch from '2026-07-22 12:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785985 -2.614493)'), GeomFromEWKT('SRID=4674;POINT (-39.785861 -2.614523)'))) / (select extract(epoch from '2026-07-22 12:30:55'::timestamp) - extract(epoch from '2026-07-22 12:30: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'), 47870, 'SRID=4674;POINT (-39.785756 -2.614562)', '2026-07-22 12:31:03', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785861 -2.614523)'), GeomFromEWKT('SRID=4674;POINT (-39.785756 -2.614562)'))) / (select extract(epoch from '2026-07-22 12:31:03'::timestamp) - extract(epoch from '2026-07-22 12:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785861 -2.614523)'), GeomFromEWKT('SRID=4674;POINT (-39.785756 -2.614562)'))) / (select extract(epoch from '2026-07-22 12:31:03'::timestamp) - extract(epoch from '2026-07-22 12:30: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'), 47870, 'SRID=4674;POINT (-39.785672 -2.614591)', '2026-07-22 12:31:10', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785756 -2.614562)'), GeomFromEWKT('SRID=4674;POINT (-39.785672 -2.614591)'))) / (select extract(epoch from '2026-07-22 12:31:10'::timestamp) - extract(epoch from '2026-07-22 12:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785756 -2.614562)'), GeomFromEWKT('SRID=4674;POINT (-39.785672 -2.614591)'))) / (select extract(epoch from '2026-07-22 12:31:10'::timestamp) - extract(epoch from '2026-07-22 12:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78557 -2.614592)', '2026-07-22 12:31:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785672 -2.614591)'), GeomFromEWKT('SRID=4674;POINT (-39.78557 -2.614592)'))) / (select extract(epoch from '2026-07-22 12:31:17'::timestamp) - extract(epoch from '2026-07-22 12:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785672 -2.614591)'), GeomFromEWKT('SRID=4674;POINT (-39.78557 -2.614592)'))) / (select extract(epoch from '2026-07-22 12:31:17'::timestamp) - extract(epoch from '2026-07-22 12:31:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785495 -2.614593)', '2026-07-22 12:31:23', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78557 -2.614592)'), GeomFromEWKT('SRID=4674;POINT (-39.785495 -2.614593)'))) / (select extract(epoch from '2026-07-22 12:31:23'::timestamp) - extract(epoch from '2026-07-22 12:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78557 -2.614592)'), GeomFromEWKT('SRID=4674;POINT (-39.785495 -2.614593)'))) / (select extract(epoch from '2026-07-22 12:31:23'::timestamp) - extract(epoch from '2026-07-22 12:31:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785465 -2.614577)', '2026-07-22 12:31:29', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785495 -2.614593)'), GeomFromEWKT('SRID=4674;POINT (-39.785465 -2.614577)'))) / (select extract(epoch from '2026-07-22 12:31:29'::timestamp) - extract(epoch from '2026-07-22 12:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785495 -2.614593)'), GeomFromEWKT('SRID=4674;POINT (-39.785465 -2.614577)'))) / (select extract(epoch from '2026-07-22 12:31:29'::timestamp) - extract(epoch from '2026-07-22 12:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785485 -2.614507)', '2026-07-22 12:31:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785465 -2.614577)'), GeomFromEWKT('SRID=4674;POINT (-39.785485 -2.614507)'))) / (select extract(epoch from '2026-07-22 12:31:39'::timestamp) - extract(epoch from '2026-07-22 12:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785465 -2.614577)'), GeomFromEWKT('SRID=4674;POINT (-39.785485 -2.614507)'))) / (select extract(epoch from '2026-07-22 12:31:39'::timestamp) - extract(epoch from '2026-07-22 12:31: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'), 47870, 'SRID=4674;POINT (-39.785536 -2.614429)', '2026-07-22 12:31:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785485 -2.614507)'), GeomFromEWKT('SRID=4674;POINT (-39.785536 -2.614429)'))) / (select extract(epoch from '2026-07-22 12:31:51'::timestamp) - extract(epoch from '2026-07-22 12:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785485 -2.614507)'), GeomFromEWKT('SRID=4674;POINT (-39.785536 -2.614429)'))) / (select extract(epoch from '2026-07-22 12:31:51'::timestamp) - extract(epoch from '2026-07-22 12:31: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'), 47870, 'SRID=4674;POINT (-39.7856 -2.614389)', '2026-07-22 12:32:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785536 -2.614429)'), GeomFromEWKT('SRID=4674;POINT (-39.7856 -2.614389)'))) / (select extract(epoch from '2026-07-22 12:32:00'::timestamp) - extract(epoch from '2026-07-22 12:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785536 -2.614429)'), GeomFromEWKT('SRID=4674;POINT (-39.7856 -2.614389)'))) / (select extract(epoch from '2026-07-22 12:32:00'::timestamp) - extract(epoch from '2026-07-22 12:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785597 -2.614316)', '2026-07-22 12:32:10', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7856 -2.614389)'), GeomFromEWKT('SRID=4674;POINT (-39.785597 -2.614316)'))) / (select extract(epoch from '2026-07-22 12:32:10'::timestamp) - extract(epoch from '2026-07-22 12:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7856 -2.614389)'), GeomFromEWKT('SRID=4674;POINT (-39.785597 -2.614316)'))) / (select extract(epoch from '2026-07-22 12:32:10'::timestamp) - extract(epoch from '2026-07-22 12:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7856 -2.614266)', '2026-07-22 12:32:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785597 -2.614316)'), GeomFromEWKT('SRID=4674;POINT (-39.7856 -2.614266)'))) / (select extract(epoch from '2026-07-22 12:32:21'::timestamp) - extract(epoch from '2026-07-22 12:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785597 -2.614316)'), GeomFromEWKT('SRID=4674;POINT (-39.7856 -2.614266)'))) / (select extract(epoch from '2026-07-22 12:32:21'::timestamp) - extract(epoch from '2026-07-22 12:32: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'), 47870, 'SRID=4674;POINT (-39.785639 -2.614252)', '2026-07-22 12:32:30', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7856 -2.614266)'), GeomFromEWKT('SRID=4674;POINT (-39.785639 -2.614252)'))) / (select extract(epoch from '2026-07-22 12:32:30'::timestamp) - extract(epoch from '2026-07-22 12:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7856 -2.614266)'), GeomFromEWKT('SRID=4674;POINT (-39.785639 -2.614252)'))) / (select extract(epoch from '2026-07-22 12:32:30'::timestamp) - extract(epoch from '2026-07-22 12:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785684 -2.614225)', '2026-07-22 12:32:38', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785639 -2.614252)'), GeomFromEWKT('SRID=4674;POINT (-39.785684 -2.614225)'))) / (select extract(epoch from '2026-07-22 12:32:38'::timestamp) - extract(epoch from '2026-07-22 12:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785639 -2.614252)'), GeomFromEWKT('SRID=4674;POINT (-39.785684 -2.614225)'))) / (select extract(epoch from '2026-07-22 12:32:38'::timestamp) - extract(epoch from '2026-07-22 12:32: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'), 47870, 'SRID=4674;POINT (-39.785697 -2.614214)', '2026-07-22 12:32:45', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785684 -2.614225)'), GeomFromEWKT('SRID=4674;POINT (-39.785697 -2.614214)'))) / (select extract(epoch from '2026-07-22 12:32:45'::timestamp) - extract(epoch from '2026-07-22 12:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785684 -2.614225)'), GeomFromEWKT('SRID=4674;POINT (-39.785697 -2.614214)'))) / (select extract(epoch from '2026-07-22 12:32:45'::timestamp) - extract(epoch from '2026-07-22 12:32:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785726 -2.614189)', '2026-07-22 12:32:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785697 -2.614214)'), GeomFromEWKT('SRID=4674;POINT (-39.785726 -2.614189)'))) / (select extract(epoch from '2026-07-22 12:32:55'::timestamp) - extract(epoch from '2026-07-22 12:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785697 -2.614214)'), GeomFromEWKT('SRID=4674;POINT (-39.785726 -2.614189)'))) / (select extract(epoch from '2026-07-22 12:32:55'::timestamp) - extract(epoch from '2026-07-22 12:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785747 -2.61418)', '2026-07-22 12:33:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785726 -2.614189)'), GeomFromEWKT('SRID=4674;POINT (-39.785747 -2.61418)'))) / (select extract(epoch from '2026-07-22 12:33:03'::timestamp) - extract(epoch from '2026-07-22 12:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785726 -2.614189)'), GeomFromEWKT('SRID=4674;POINT (-39.785747 -2.61418)'))) / (select extract(epoch from '2026-07-22 12:33:03'::timestamp) - extract(epoch from '2026-07-22 12:32: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'), 47870, 'SRID=4674;POINT (-39.785752 -2.614177)', '2026-07-22 12:33:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785747 -2.61418)'), GeomFromEWKT('SRID=4674;POINT (-39.785752 -2.614177)'))) / (select extract(epoch from '2026-07-22 12:33:14'::timestamp) - extract(epoch from '2026-07-22 12:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785747 -2.61418)'), GeomFromEWKT('SRID=4674;POINT (-39.785752 -2.614177)'))) / (select extract(epoch from '2026-07-22 12:33:14'::timestamp) - extract(epoch from '2026-07-22 12:33: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'), 47870, 'SRID=4674;POINT (-39.785792 -2.614115)', '2026-07-22 12:33:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785752 -2.614177)'), GeomFromEWKT('SRID=4674;POINT (-39.785792 -2.614115)'))) / (select extract(epoch from '2026-07-22 12:33:45'::timestamp) - extract(epoch from '2026-07-22 12:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785752 -2.614177)'), GeomFromEWKT('SRID=4674;POINT (-39.785792 -2.614115)'))) / (select extract(epoch from '2026-07-22 12:33:45'::timestamp) - extract(epoch from '2026-07-22 12:33: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'), 47870, 'SRID=4674;POINT (-39.785779 -2.614111)', '2026-07-22 12:34:10', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785792 -2.614115)'), GeomFromEWKT('SRID=4674;POINT (-39.785779 -2.614111)'))) / (select extract(epoch from '2026-07-22 12:34:10'::timestamp) - extract(epoch from '2026-07-22 12:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785792 -2.614115)'), GeomFromEWKT('SRID=4674;POINT (-39.785779 -2.614111)'))) / (select extract(epoch from '2026-07-22 12:34:10'::timestamp) - extract(epoch from '2026-07-22 12:33: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'), 47870, 'SRID=4674;POINT (-39.785723 -2.614144)', '2026-07-22 12:34:16', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785779 -2.614111)'), GeomFromEWKT('SRID=4674;POINT (-39.785723 -2.614144)'))) / (select extract(epoch from '2026-07-22 12:34:16'::timestamp) - extract(epoch from '2026-07-22 12:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785779 -2.614111)'), GeomFromEWKT('SRID=4674;POINT (-39.785723 -2.614144)'))) / (select extract(epoch from '2026-07-22 12:34:16'::timestamp) - extract(epoch from '2026-07-22 12:34: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'), 47870, 'SRID=4674;POINT (-39.785654 -2.614207)', '2026-07-22 12:34:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785723 -2.614144)'), GeomFromEWKT('SRID=4674;POINT (-39.785654 -2.614207)'))) / (select extract(epoch from '2026-07-22 12:34:24'::timestamp) - extract(epoch from '2026-07-22 12:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785723 -2.614144)'), GeomFromEWKT('SRID=4674;POINT (-39.785654 -2.614207)'))) / (select extract(epoch from '2026-07-22 12:34:24'::timestamp) - extract(epoch from '2026-07-22 12:34: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'), 47870, 'SRID=4674;POINT (-39.78562 -2.614278)', '2026-07-22 12:34:31', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785654 -2.614207)'), GeomFromEWKT('SRID=4674;POINT (-39.78562 -2.614278)'))) / (select extract(epoch from '2026-07-22 12:34:31'::timestamp) - extract(epoch from '2026-07-22 12:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785654 -2.614207)'), GeomFromEWKT('SRID=4674;POINT (-39.78562 -2.614278)'))) / (select extract(epoch from '2026-07-22 12:34:31'::timestamp) - extract(epoch from '2026-07-22 12:34: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'), 47870, 'SRID=4674;POINT (-39.785595 -2.614377)', '2026-07-22 12:34:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78562 -2.614278)'), GeomFromEWKT('SRID=4674;POINT (-39.785595 -2.614377)'))) / (select extract(epoch from '2026-07-22 12:34:39'::timestamp) - extract(epoch from '2026-07-22 12:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78562 -2.614278)'), GeomFromEWKT('SRID=4674;POINT (-39.785595 -2.614377)'))) / (select extract(epoch from '2026-07-22 12:34:39'::timestamp) - extract(epoch from '2026-07-22 12:34:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785574 -2.614501)', '2026-07-22 12:34:47', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785595 -2.614377)'), GeomFromEWKT('SRID=4674;POINT (-39.785574 -2.614501)'))) / (select extract(epoch from '2026-07-22 12:34:47'::timestamp) - extract(epoch from '2026-07-22 12:34:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785595 -2.614377)'), GeomFromEWKT('SRID=4674;POINT (-39.785574 -2.614501)'))) / (select extract(epoch from '2026-07-22 12:34:47'::timestamp) - extract(epoch from '2026-07-22 12:34:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785537 -2.614613)', '2026-07-22 12:34:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785574 -2.614501)'), GeomFromEWKT('SRID=4674;POINT (-39.785537 -2.614613)'))) / (select extract(epoch from '2026-07-22 12:34:55'::timestamp) - extract(epoch from '2026-07-22 12:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785574 -2.614501)'), GeomFromEWKT('SRID=4674;POINT (-39.785537 -2.614613)'))) / (select extract(epoch from '2026-07-22 12:34:55'::timestamp) - extract(epoch from '2026-07-22 12:34:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785503 -2.614682)', '2026-07-22 12:35:00', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785537 -2.614613)'), GeomFromEWKT('SRID=4674;POINT (-39.785503 -2.614682)'))) / (select extract(epoch from '2026-07-22 12:35:00'::timestamp) - extract(epoch from '2026-07-22 12:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785537 -2.614613)'), GeomFromEWKT('SRID=4674;POINT (-39.785503 -2.614682)'))) / (select extract(epoch from '2026-07-22 12:35:00'::timestamp) - extract(epoch from '2026-07-22 12:34: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'), 47870, 'SRID=4674;POINT (-39.785446 -2.614779)', '2026-07-22 12:35:07', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785503 -2.614682)'), GeomFromEWKT('SRID=4674;POINT (-39.785446 -2.614779)'))) / (select extract(epoch from '2026-07-22 12:35:07'::timestamp) - extract(epoch from '2026-07-22 12:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785503 -2.614682)'), GeomFromEWKT('SRID=4674;POINT (-39.785446 -2.614779)'))) / (select extract(epoch from '2026-07-22 12:35:07'::timestamp) - extract(epoch from '2026-07-22 12:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785413 -2.614873)', '2026-07-22 12:35:14', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785446 -2.614779)'), GeomFromEWKT('SRID=4674;POINT (-39.785413 -2.614873)'))) / (select extract(epoch from '2026-07-22 12:35:14'::timestamp) - extract(epoch from '2026-07-22 12:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785446 -2.614779)'), GeomFromEWKT('SRID=4674;POINT (-39.785413 -2.614873)'))) / (select extract(epoch from '2026-07-22 12:35:14'::timestamp) - extract(epoch from '2026-07-22 12:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78538 -2.614973)', '2026-07-22 12:35:21', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785413 -2.614873)'), GeomFromEWKT('SRID=4674;POINT (-39.78538 -2.614973)'))) / (select extract(epoch from '2026-07-22 12:35:21'::timestamp) - extract(epoch from '2026-07-22 12:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785413 -2.614873)'), GeomFromEWKT('SRID=4674;POINT (-39.78538 -2.614973)'))) / (select extract(epoch from '2026-07-22 12:35:21'::timestamp) - extract(epoch from '2026-07-22 12:35: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'), 47870, 'SRID=4674;POINT (-39.785344 -2.615076)', '2026-07-22 12:35:28', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78538 -2.614973)'), GeomFromEWKT('SRID=4674;POINT (-39.785344 -2.615076)'))) / (select extract(epoch from '2026-07-22 12:35:28'::timestamp) - extract(epoch from '2026-07-22 12:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78538 -2.614973)'), GeomFromEWKT('SRID=4674;POINT (-39.785344 -2.615076)'))) / (select extract(epoch from '2026-07-22 12:35:28'::timestamp) - extract(epoch from '2026-07-22 12:35:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785314 -2.615177)', '2026-07-22 12:35:36', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785344 -2.615076)'), GeomFromEWKT('SRID=4674;POINT (-39.785314 -2.615177)'))) / (select extract(epoch from '2026-07-22 12:35:36'::timestamp) - extract(epoch from '2026-07-22 12:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785344 -2.615076)'), GeomFromEWKT('SRID=4674;POINT (-39.785314 -2.615177)'))) / (select extract(epoch from '2026-07-22 12:35:36'::timestamp) - extract(epoch from '2026-07-22 12:35:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78529 -2.615283)', '2026-07-22 12:35:43', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785314 -2.615177)'), GeomFromEWKT('SRID=4674;POINT (-39.78529 -2.615283)'))) / (select extract(epoch from '2026-07-22 12:35:43'::timestamp) - extract(epoch from '2026-07-22 12:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785314 -2.615177)'), GeomFromEWKT('SRID=4674;POINT (-39.78529 -2.615283)'))) / (select extract(epoch from '2026-07-22 12:35:43'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785273 -2.615366)', '2026-07-22 12:35:49', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78529 -2.615283)'), GeomFromEWKT('SRID=4674;POINT (-39.785273 -2.615366)'))) / (select extract(epoch from '2026-07-22 12:35:49'::timestamp) - extract(epoch from '2026-07-22 12:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78529 -2.615283)'), GeomFromEWKT('SRID=4674;POINT (-39.785273 -2.615366)'))) / (select extract(epoch from '2026-07-22 12:35:49'::timestamp) - extract(epoch from '2026-07-22 12:35:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785209 -2.615437)', '2026-07-22 12:35:56', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785273 -2.615366)'), GeomFromEWKT('SRID=4674;POINT (-39.785209 -2.615437)'))) / (select extract(epoch from '2026-07-22 12:35:56'::timestamp) - extract(epoch from '2026-07-22 12:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785273 -2.615366)'), GeomFromEWKT('SRID=4674;POINT (-39.785209 -2.615437)'))) / (select extract(epoch from '2026-07-22 12:35:56'::timestamp) - extract(epoch from '2026-07-22 12:35: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'), 47870, 'SRID=4674;POINT (-39.785155 -2.615477)', '2026-07-22 12:36:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785209 -2.615437)'), GeomFromEWKT('SRID=4674;POINT (-39.785155 -2.615477)'))) / (select extract(epoch from '2026-07-22 12:36:03'::timestamp) - extract(epoch from '2026-07-22 12:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785209 -2.615437)'), GeomFromEWKT('SRID=4674;POINT (-39.785155 -2.615477)'))) / (select extract(epoch from '2026-07-22 12:36:03'::timestamp) - extract(epoch from '2026-07-22 12:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785109 -2.615543)', '2026-07-22 12:36:12', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785155 -2.615477)'), GeomFromEWKT('SRID=4674;POINT (-39.785109 -2.615543)'))) / (select extract(epoch from '2026-07-22 12:36:12'::timestamp) - extract(epoch from '2026-07-22 12:36:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785155 -2.615477)'), GeomFromEWKT('SRID=4674;POINT (-39.785109 -2.615543)'))) / (select extract(epoch from '2026-07-22 12:36:12'::timestamp) - extract(epoch from '2026-07-22 12:36:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785058 -2.615585)', '2026-07-22 12:36:18', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785109 -2.615543)'), GeomFromEWKT('SRID=4674;POINT (-39.785058 -2.615585)'))) / (select extract(epoch from '2026-07-22 12:36:18'::timestamp) - extract(epoch from '2026-07-22 12:36:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785109 -2.615543)'), GeomFromEWKT('SRID=4674;POINT (-39.785058 -2.615585)'))) / (select extract(epoch from '2026-07-22 12:36:18'::timestamp) - extract(epoch from '2026-07-22 12:36: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'), 47870, 'SRID=4674;POINT (-39.785029 -2.615598)', '2026-07-22 12:36:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785058 -2.615585)'), GeomFromEWKT('SRID=4674;POINT (-39.785029 -2.615598)'))) / (select extract(epoch from '2026-07-22 12:36:24'::timestamp) - extract(epoch from '2026-07-22 12:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785058 -2.615585)'), GeomFromEWKT('SRID=4674;POINT (-39.785029 -2.615598)'))) / (select extract(epoch from '2026-07-22 12:36:24'::timestamp) - extract(epoch from '2026-07-22 12:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.784988 -2.615606)', '2026-07-22 12:36:30', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785029 -2.615598)'), GeomFromEWKT('SRID=4674;POINT (-39.784988 -2.615606)'))) / (select extract(epoch from '2026-07-22 12:36:30'::timestamp) - extract(epoch from '2026-07-22 12:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785029 -2.615598)'), GeomFromEWKT('SRID=4674;POINT (-39.784988 -2.615606)'))) / (select extract(epoch from '2026-07-22 12:36:30'::timestamp) - extract(epoch from '2026-07-22 12:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.784977 -2.615588)', '2026-07-22 12:36:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784988 -2.615606)'), GeomFromEWKT('SRID=4674;POINT (-39.784977 -2.615588)'))) / (select extract(epoch from '2026-07-22 12:36:36'::timestamp) - extract(epoch from '2026-07-22 12:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784988 -2.615606)'), GeomFromEWKT('SRID=4674;POINT (-39.784977 -2.615588)'))) / (select extract(epoch from '2026-07-22 12:36:36'::timestamp) - extract(epoch from '2026-07-22 12:36: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'), 47870, 'SRID=4674;POINT (-39.784983 -2.615528)', '2026-07-22 12:36:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784977 -2.615588)'), GeomFromEWKT('SRID=4674;POINT (-39.784983 -2.615528)'))) / (select extract(epoch from '2026-07-22 12:36:45'::timestamp) - extract(epoch from '2026-07-22 12:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784977 -2.615588)'), GeomFromEWKT('SRID=4674;POINT (-39.784983 -2.615528)'))) / (select extract(epoch from '2026-07-22 12:36:45'::timestamp) - extract(epoch from '2026-07-22 12:36:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.784993 -2.615484)', '2026-07-22 12:36:52', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784983 -2.615528)'), GeomFromEWKT('SRID=4674;POINT (-39.784993 -2.615484)'))) / (select extract(epoch from '2026-07-22 12:36:52'::timestamp) - extract(epoch from '2026-07-22 12:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784983 -2.615528)'), GeomFromEWKT('SRID=4674;POINT (-39.784993 -2.615484)'))) / (select extract(epoch from '2026-07-22 12:36:52'::timestamp) - extract(epoch from '2026-07-22 12:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.784997 -2.615471)', '2026-07-22 12:36:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784993 -2.615484)'), GeomFromEWKT('SRID=4674;POINT (-39.784997 -2.615471)'))) / (select extract(epoch from '2026-07-22 12:36:54'::timestamp) - extract(epoch from '2026-07-22 12:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784993 -2.615484)'), GeomFromEWKT('SRID=4674;POINT (-39.784997 -2.615471)'))) / (select extract(epoch from '2026-07-22 12:36:54'::timestamp) - extract(epoch from '2026-07-22 12:36:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785017 -2.61545)', '2026-07-22 12:36:59', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784997 -2.615471)'), GeomFromEWKT('SRID=4674;POINT (-39.785017 -2.61545)'))) / (select extract(epoch from '2026-07-22 12:36:59'::timestamp) - extract(epoch from '2026-07-22 12:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784997 -2.615471)'), GeomFromEWKT('SRID=4674;POINT (-39.785017 -2.61545)'))) / (select extract(epoch from '2026-07-22 12:36:59'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785049 -2.61541)', '2026-07-22 12:37:08', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785017 -2.61545)'), GeomFromEWKT('SRID=4674;POINT (-39.785049 -2.61541)'))) / (select extract(epoch from '2026-07-22 12:37:08'::timestamp) - extract(epoch from '2026-07-22 12:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785017 -2.61545)'), GeomFromEWKT('SRID=4674;POINT (-39.785049 -2.61541)'))) / (select extract(epoch from '2026-07-22 12:37:08'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785058 -2.615404)', '2026-07-22 12:37:09', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785049 -2.61541)'), GeomFromEWKT('SRID=4674;POINT (-39.785058 -2.615404)'))) / (select extract(epoch from '2026-07-22 12:37:09'::timestamp) - extract(epoch from '2026-07-22 12:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785049 -2.61541)'), GeomFromEWKT('SRID=4674;POINT (-39.785058 -2.615404)'))) / (select extract(epoch from '2026-07-22 12:37:09'::timestamp) - extract(epoch from '2026-07-22 12:37:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785072 -2.615384)', '2026-07-22 12:37:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785058 -2.615404)'), GeomFromEWKT('SRID=4674;POINT (-39.785072 -2.615384)'))) / (select extract(epoch from '2026-07-22 12:37:14'::timestamp) - extract(epoch from '2026-07-22 12:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785058 -2.615404)'), GeomFromEWKT('SRID=4674;POINT (-39.785072 -2.615384)'))) / (select extract(epoch from '2026-07-22 12:37:14'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785091 -2.615354)', '2026-07-22 12:37:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785072 -2.615384)'), GeomFromEWKT('SRID=4674;POINT (-39.785091 -2.615354)'))) / (select extract(epoch from '2026-07-22 12:37:20'::timestamp) - extract(epoch from '2026-07-22 12:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785072 -2.615384)'), GeomFromEWKT('SRID=4674;POINT (-39.785091 -2.615354)'))) / (select extract(epoch from '2026-07-22 12:37:20'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785102 -2.615339)', '2026-07-22 12:37:23', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785091 -2.615354)'), GeomFromEWKT('SRID=4674;POINT (-39.785102 -2.615339)'))) / (select extract(epoch from '2026-07-22 12:37:23'::timestamp) - extract(epoch from '2026-07-22 12:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785091 -2.615354)'), GeomFromEWKT('SRID=4674;POINT (-39.785102 -2.615339)'))) / (select extract(epoch from '2026-07-22 12:37:23'::timestamp) - extract(epoch from '2026-07-22 12:37: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'), 47870, 'SRID=4674;POINT (-39.785121 -2.615301)', '2026-07-22 12:37:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785102 -2.615339)'), GeomFromEWKT('SRID=4674;POINT (-39.785121 -2.615301)'))) / (select extract(epoch from '2026-07-22 12:37:33'::timestamp) - extract(epoch from '2026-07-22 12:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785102 -2.615339)'), GeomFromEWKT('SRID=4674;POINT (-39.785121 -2.615301)'))) / (select extract(epoch from '2026-07-22 12:37:33'::timestamp) - extract(epoch from '2026-07-22 12:37: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'), 47870, 'SRID=4674;POINT (-39.785142 -2.615269)', '2026-07-22 12:37:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785121 -2.615301)'), GeomFromEWKT('SRID=4674;POINT (-39.785142 -2.615269)'))) / (select extract(epoch from '2026-07-22 12:37:40'::timestamp) - extract(epoch from '2026-07-22 12:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785121 -2.615301)'), GeomFromEWKT('SRID=4674;POINT (-39.785142 -2.615269)'))) / (select extract(epoch from '2026-07-22 12:37:40'::timestamp) - extract(epoch from '2026-07-22 12:37: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'), 47870, 'SRID=4674;POINT (-39.785155 -2.615264)', '2026-07-22 12:37:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785142 -2.615269)'), GeomFromEWKT('SRID=4674;POINT (-39.785155 -2.615264)'))) / (select extract(epoch from '2026-07-22 12:37:42'::timestamp) - extract(epoch from '2026-07-22 12:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785142 -2.615269)'), GeomFromEWKT('SRID=4674;POINT (-39.785155 -2.615264)'))) / (select extract(epoch from '2026-07-22 12:37:42'::timestamp) - extract(epoch from '2026-07-22 12:37:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785217 -2.61523)', '2026-07-22 12:37:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785155 -2.615264)'), GeomFromEWKT('SRID=4674;POINT (-39.785217 -2.61523)'))) / (select extract(epoch from '2026-07-22 12:37:52'::timestamp) - extract(epoch from '2026-07-22 12:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785155 -2.615264)'), GeomFromEWKT('SRID=4674;POINT (-39.785217 -2.61523)'))) / (select extract(epoch from '2026-07-22 12:37:52'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785263 -2.615189)', '2026-07-22 12:38:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785217 -2.61523)'), GeomFromEWKT('SRID=4674;POINT (-39.785263 -2.615189)'))) / (select extract(epoch from '2026-07-22 12:38:26'::timestamp) - extract(epoch from '2026-07-22 12:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785217 -2.61523)'), GeomFromEWKT('SRID=4674;POINT (-39.785263 -2.615189)'))) / (select extract(epoch from '2026-07-22 12:38:26'::timestamp) - extract(epoch from '2026-07-22 12:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785271 -2.615183)', '2026-07-22 12:38:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785263 -2.615189)'), GeomFromEWKT('SRID=4674;POINT (-39.785271 -2.615183)'))) / (select extract(epoch from '2026-07-22 12:38:38'::timestamp) - extract(epoch from '2026-07-22 12:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785263 -2.615189)'), GeomFromEWKT('SRID=4674;POINT (-39.785271 -2.615183)'))) / (select extract(epoch from '2026-07-22 12:38:38'::timestamp) - extract(epoch from '2026-07-22 12:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78529 -2.615135)', '2026-07-22 12:38:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785271 -2.615183)'), GeomFromEWKT('SRID=4674;POINT (-39.78529 -2.615135)'))) / (select extract(epoch from '2026-07-22 12:38:49'::timestamp) - extract(epoch from '2026-07-22 12:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785271 -2.615183)'), GeomFromEWKT('SRID=4674;POINT (-39.78529 -2.615135)'))) / (select extract(epoch from '2026-07-22 12:38:49'::timestamp) - extract(epoch from '2026-07-22 12:38: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'), 47870, 'SRID=4674;POINT (-39.785349 -2.615097)', '2026-07-22 12:39:07', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78529 -2.615135)'), GeomFromEWKT('SRID=4674;POINT (-39.785349 -2.615097)'))) / (select extract(epoch from '2026-07-22 12:39:07'::timestamp) - extract(epoch from '2026-07-22 12:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78529 -2.615135)'), GeomFromEWKT('SRID=4674;POINT (-39.785349 -2.615097)'))) / (select extract(epoch from '2026-07-22 12:39:07'::timestamp) - extract(epoch from '2026-07-22 12:38:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785357 -2.615108)', '2026-07-22 12:39:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785349 -2.615097)'), GeomFromEWKT('SRID=4674;POINT (-39.785357 -2.615108)'))) / (select extract(epoch from '2026-07-22 12:39:18'::timestamp) - extract(epoch from '2026-07-22 12:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785349 -2.615097)'), GeomFromEWKT('SRID=4674;POINT (-39.785357 -2.615108)'))) / (select extract(epoch from '2026-07-22 12:39:18'::timestamp) - extract(epoch from '2026-07-22 12:39: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'), 47870, 'SRID=4674;POINT (-39.785334 -2.615191)', '2026-07-22 12:39:27', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785357 -2.615108)'), GeomFromEWKT('SRID=4674;POINT (-39.785334 -2.615191)'))) / (select extract(epoch from '2026-07-22 12:39:27'::timestamp) - extract(epoch from '2026-07-22 12:39:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785357 -2.615108)'), GeomFromEWKT('SRID=4674;POINT (-39.785334 -2.615191)'))) / (select extract(epoch from '2026-07-22 12:39:27'::timestamp) - extract(epoch from '2026-07-22 12:39:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78531 -2.615227)', '2026-07-22 12:39:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785334 -2.615191)'), GeomFromEWKT('SRID=4674;POINT (-39.78531 -2.615227)'))) / (select extract(epoch from '2026-07-22 12:39:30'::timestamp) - extract(epoch from '2026-07-22 12:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785334 -2.615191)'), GeomFromEWKT('SRID=4674;POINT (-39.78531 -2.615227)'))) / (select extract(epoch from '2026-07-22 12:39:30'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785302 -2.615249)', '2026-07-22 12:39:32', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78531 -2.615227)'), GeomFromEWKT('SRID=4674;POINT (-39.785302 -2.615249)'))) / (select extract(epoch from '2026-07-22 12:39:32'::timestamp) - extract(epoch from '2026-07-22 12:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78531 -2.615227)'), GeomFromEWKT('SRID=4674;POINT (-39.785302 -2.615249)'))) / (select extract(epoch from '2026-07-22 12:39:32'::timestamp) - extract(epoch from '2026-07-22 12:39: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'), 47870, 'SRID=4674;POINT (-39.785275 -2.615293)', '2026-07-22 12:39:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785302 -2.615249)'), GeomFromEWKT('SRID=4674;POINT (-39.785275 -2.615293)'))) / (select extract(epoch from '2026-07-22 12:39:36'::timestamp) - extract(epoch from '2026-07-22 12:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785302 -2.615249)'), GeomFromEWKT('SRID=4674;POINT (-39.785275 -2.615293)'))) / (select extract(epoch from '2026-07-22 12:39:36'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.78527 -2.615312)', '2026-07-22 12:39:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785275 -2.615293)'), GeomFromEWKT('SRID=4674;POINT (-39.78527 -2.615312)'))) / (select extract(epoch from '2026-07-22 12:39:38'::timestamp) - extract(epoch from '2026-07-22 12:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785275 -2.615293)'), GeomFromEWKT('SRID=4674;POINT (-39.78527 -2.615312)'))) / (select extract(epoch from '2026-07-22 12:39:38'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.78526 -2.615378)', '2026-07-22 12:39:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78527 -2.615312)'), GeomFromEWKT('SRID=4674;POINT (-39.78526 -2.615378)'))) / (select extract(epoch from '2026-07-22 12:39:43'::timestamp) - extract(epoch from '2026-07-22 12:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78527 -2.615312)'), GeomFromEWKT('SRID=4674;POINT (-39.78526 -2.615378)'))) / (select extract(epoch from '2026-07-22 12:39:43'::timestamp) - extract(epoch from '2026-07-22 12:39:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78526 -2.61539)', '2026-07-22 12:39:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78526 -2.615378)'), GeomFromEWKT('SRID=4674;POINT (-39.78526 -2.61539)'))) / (select extract(epoch from '2026-07-22 12:39:44'::timestamp) - extract(epoch from '2026-07-22 12:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78526 -2.615378)'), GeomFromEWKT('SRID=4674;POINT (-39.78526 -2.61539)'))) / (select extract(epoch from '2026-07-22 12:39:44'::timestamp) - extract(epoch from '2026-07-22 12:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785243 -2.61548)', '2026-07-22 12:39:50', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78526 -2.61539)'), GeomFromEWKT('SRID=4674;POINT (-39.785243 -2.61548)'))) / (select extract(epoch from '2026-07-22 12:39:50'::timestamp) - extract(epoch from '2026-07-22 12:39:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78526 -2.61539)'), GeomFromEWKT('SRID=4674;POINT (-39.785243 -2.61548)'))) / (select extract(epoch from '2026-07-22 12:39:50'::timestamp) - extract(epoch from '2026-07-22 12:39: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'), 47870, 'SRID=4674;POINT (-39.785205 -2.615584)', '2026-07-22 12:39:56', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785243 -2.61548)'), GeomFromEWKT('SRID=4674;POINT (-39.785205 -2.615584)'))) / (select extract(epoch from '2026-07-22 12:39:56'::timestamp) - extract(epoch from '2026-07-22 12:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785243 -2.61548)'), GeomFromEWKT('SRID=4674;POINT (-39.785205 -2.615584)'))) / (select extract(epoch from '2026-07-22 12:39:56'::timestamp) - extract(epoch from '2026-07-22 12:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785179 -2.6157)', '2026-07-22 12:40:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785205 -2.615584)'), GeomFromEWKT('SRID=4674;POINT (-39.785179 -2.6157)'))) / (select extract(epoch from '2026-07-22 12:40:02'::timestamp) - extract(epoch from '2026-07-22 12:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785205 -2.615584)'), GeomFromEWKT('SRID=4674;POINT (-39.785179 -2.6157)'))) / (select extract(epoch from '2026-07-22 12:40:02'::timestamp) - extract(epoch from '2026-07-22 12:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785146 -2.615816)', '2026-07-22 12:40:08', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785179 -2.6157)'), GeomFromEWKT('SRID=4674;POINT (-39.785146 -2.615816)'))) / (select extract(epoch from '2026-07-22 12:40:08'::timestamp) - extract(epoch from '2026-07-22 12:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785179 -2.6157)'), GeomFromEWKT('SRID=4674;POINT (-39.785146 -2.615816)'))) / (select extract(epoch from '2026-07-22 12:40:08'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785118 -2.615935)', '2026-07-22 12:40:15', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785146 -2.615816)'), GeomFromEWKT('SRID=4674;POINT (-39.785118 -2.615935)'))) / (select extract(epoch from '2026-07-22 12:40:15'::timestamp) - extract(epoch from '2026-07-22 12:40:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785146 -2.615816)'), GeomFromEWKT('SRID=4674;POINT (-39.785118 -2.615935)'))) / (select extract(epoch from '2026-07-22 12:40:15'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785092 -2.616023)', '2026-07-22 12:40:21', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785118 -2.615935)'), GeomFromEWKT('SRID=4674;POINT (-39.785092 -2.616023)'))) / (select extract(epoch from '2026-07-22 12:40:21'::timestamp) - extract(epoch from '2026-07-22 12:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785118 -2.615935)'), GeomFromEWKT('SRID=4674;POINT (-39.785092 -2.616023)'))) / (select extract(epoch from '2026-07-22 12:40:21'::timestamp) - extract(epoch from '2026-07-22 12:40:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785065 -2.616151)', '2026-07-22 12:40:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785092 -2.616023)'), GeomFromEWKT('SRID=4674;POINT (-39.785065 -2.616151)'))) / (select extract(epoch from '2026-07-22 12:40:29'::timestamp) - extract(epoch from '2026-07-22 12:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785092 -2.616023)'), GeomFromEWKT('SRID=4674;POINT (-39.785065 -2.616151)'))) / (select extract(epoch from '2026-07-22 12:40:29'::timestamp) - extract(epoch from '2026-07-22 12:40: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'), 47870, 'SRID=4674;POINT (-39.78504 -2.616236)', '2026-07-22 12:40:34', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785065 -2.616151)'), GeomFromEWKT('SRID=4674;POINT (-39.78504 -2.616236)'))) / (select extract(epoch from '2026-07-22 12:40:34'::timestamp) - extract(epoch from '2026-07-22 12:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785065 -2.616151)'), GeomFromEWKT('SRID=4674;POINT (-39.78504 -2.616236)'))) / (select extract(epoch from '2026-07-22 12:40:34'::timestamp) - extract(epoch from '2026-07-22 12:40: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'), 47870, 'SRID=4674;POINT (-39.785022 -2.616341)', '2026-07-22 12:40:40', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78504 -2.616236)'), GeomFromEWKT('SRID=4674;POINT (-39.785022 -2.616341)'))) / (select extract(epoch from '2026-07-22 12:40:40'::timestamp) - extract(epoch from '2026-07-22 12:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78504 -2.616236)'), GeomFromEWKT('SRID=4674;POINT (-39.785022 -2.616341)'))) / (select extract(epoch from '2026-07-22 12:40:40'::timestamp) - extract(epoch from '2026-07-22 12:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785029 -2.616357)', '2026-07-22 12:40:41', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785022 -2.616341)'), GeomFromEWKT('SRID=4674;POINT (-39.785029 -2.616357)'))) / (select extract(epoch from '2026-07-22 12:40:41'::timestamp) - extract(epoch from '2026-07-22 12:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785022 -2.616341)'), GeomFromEWKT('SRID=4674;POINT (-39.785029 -2.616357)'))) / (select extract(epoch from '2026-07-22 12:40:41'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.78504 -2.616405)', '2026-07-22 12:40:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785029 -2.616357)'), GeomFromEWKT('SRID=4674;POINT (-39.78504 -2.616405)'))) / (select extract(epoch from '2026-07-22 12:40:43'::timestamp) - extract(epoch from '2026-07-22 12:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785029 -2.616357)'), GeomFromEWKT('SRID=4674;POINT (-39.78504 -2.616405)'))) / (select extract(epoch from '2026-07-22 12:40:43'::timestamp) - extract(epoch from '2026-07-22 12:40:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785032 -2.616444)', '2026-07-22 12:40:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78504 -2.616405)'), GeomFromEWKT('SRID=4674;POINT (-39.785032 -2.616444)'))) / (select extract(epoch from '2026-07-22 12:40:45'::timestamp) - extract(epoch from '2026-07-22 12:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78504 -2.616405)'), GeomFromEWKT('SRID=4674;POINT (-39.785032 -2.616444)'))) / (select extract(epoch from '2026-07-22 12:40:45'::timestamp) - extract(epoch from '2026-07-22 12:40: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'), 47870, 'SRID=4674;POINT (-39.785019 -2.616474)', '2026-07-22 12:40:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785032 -2.616444)'), GeomFromEWKT('SRID=4674;POINT (-39.785019 -2.616474)'))) / (select extract(epoch from '2026-07-22 12:40:47'::timestamp) - extract(epoch from '2026-07-22 12:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785032 -2.616444)'), GeomFromEWKT('SRID=4674;POINT (-39.785019 -2.616474)'))) / (select extract(epoch from '2026-07-22 12:40:47'::timestamp) - extract(epoch from '2026-07-22 12:40: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'), 47870, 'SRID=4674;POINT (-39.785007 -2.616523)', '2026-07-22 12:40:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785019 -2.616474)'), GeomFromEWKT('SRID=4674;POINT (-39.785007 -2.616523)'))) / (select extract(epoch from '2026-07-22 12:40:50'::timestamp) - extract(epoch from '2026-07-22 12:40:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785019 -2.616474)'), GeomFromEWKT('SRID=4674;POINT (-39.785007 -2.616523)'))) / (select extract(epoch from '2026-07-22 12:40:50'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.784971 -2.616639)', '2026-07-22 12:40:56', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785007 -2.616523)'), GeomFromEWKT('SRID=4674;POINT (-39.784971 -2.616639)'))) / (select extract(epoch from '2026-07-22 12:40:56'::timestamp) - extract(epoch from '2026-07-22 12:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785007 -2.616523)'), GeomFromEWKT('SRID=4674;POINT (-39.784971 -2.616639)'))) / (select extract(epoch from '2026-07-22 12:40:56'::timestamp) - extract(epoch from '2026-07-22 12:40: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'), 47870, 'SRID=4674;POINT (-39.784962 -2.616753)', '2026-07-22 12:41:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784971 -2.616639)'), GeomFromEWKT('SRID=4674;POINT (-39.784962 -2.616753)'))) / (select extract(epoch from '2026-07-22 12:41:03'::timestamp) - extract(epoch from '2026-07-22 12:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784971 -2.616639)'), GeomFromEWKT('SRID=4674;POINT (-39.784962 -2.616753)'))) / (select extract(epoch from '2026-07-22 12:41:03'::timestamp) - extract(epoch from '2026-07-22 12:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78497 -2.616802)', '2026-07-22 12:41:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784962 -2.616753)'), GeomFromEWKT('SRID=4674;POINT (-39.78497 -2.616802)'))) / (select extract(epoch from '2026-07-22 12:41:08'::timestamp) - extract(epoch from '2026-07-22 12:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784962 -2.616753)'), GeomFromEWKT('SRID=4674;POINT (-39.78497 -2.616802)'))) / (select extract(epoch from '2026-07-22 12:41:08'::timestamp) - extract(epoch from '2026-07-22 12:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.784971 -2.616808)', '2026-07-22 12:41:10', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78497 -2.616802)'), GeomFromEWKT('SRID=4674;POINT (-39.784971 -2.616808)'))) / (select extract(epoch from '2026-07-22 12:41:10'::timestamp) - extract(epoch from '2026-07-22 12:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.78497 -2.616802)'), GeomFromEWKT('SRID=4674;POINT (-39.784971 -2.616808)'))) / (select extract(epoch from '2026-07-22 12:41:10'::timestamp) - extract(epoch from '2026-07-22 12:41: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'), 47870, 'SRID=4674;POINT (-39.784983 -2.616814)', '2026-07-22 12:41:19', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784971 -2.616808)'), GeomFromEWKT('SRID=4674;POINT (-39.784983 -2.616814)'))) / (select extract(epoch from '2026-07-22 12:41:19'::timestamp) - extract(epoch from '2026-07-22 12:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784971 -2.616808)'), GeomFromEWKT('SRID=4674;POINT (-39.784983 -2.616814)'))) / (select extract(epoch from '2026-07-22 12:41:19'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.784998 -2.616807)', '2026-07-22 12:41:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784983 -2.616814)'), GeomFromEWKT('SRID=4674;POINT (-39.784998 -2.616807)'))) / (select extract(epoch from '2026-07-22 12:41:25'::timestamp) - extract(epoch from '2026-07-22 12:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784983 -2.616814)'), GeomFromEWKT('SRID=4674;POINT (-39.784998 -2.616807)'))) / (select extract(epoch from '2026-07-22 12:41:25'::timestamp) - extract(epoch from '2026-07-22 12:41: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'), 47870, 'SRID=4674;POINT (-39.785033 -2.616765)', '2026-07-22 12:41:33', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784998 -2.616807)'), GeomFromEWKT('SRID=4674;POINT (-39.785033 -2.616765)'))) / (select extract(epoch from '2026-07-22 12:41:33'::timestamp) - extract(epoch from '2026-07-22 12:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.784998 -2.616807)'), GeomFromEWKT('SRID=4674;POINT (-39.785033 -2.616765)'))) / (select extract(epoch from '2026-07-22 12:41:33'::timestamp) - extract(epoch from '2026-07-22 12:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785045 -2.616757)', '2026-07-22 12:41:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785033 -2.616765)'), GeomFromEWKT('SRID=4674;POINT (-39.785045 -2.616757)'))) / (select extract(epoch from '2026-07-22 12:41:35'::timestamp) - extract(epoch from '2026-07-22 12:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785033 -2.616765)'), GeomFromEWKT('SRID=4674;POINT (-39.785045 -2.616757)'))) / (select extract(epoch from '2026-07-22 12:41:35'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785085 -2.61672)', '2026-07-22 12:41:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785045 -2.616757)'), GeomFromEWKT('SRID=4674;POINT (-39.785085 -2.61672)'))) / (select extract(epoch from '2026-07-22 12:41:42'::timestamp) - extract(epoch from '2026-07-22 12:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785045 -2.616757)'), GeomFromEWKT('SRID=4674;POINT (-39.785085 -2.61672)'))) / (select extract(epoch from '2026-07-22 12:41:42'::timestamp) - extract(epoch from '2026-07-22 12:41: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'), 47870, 'SRID=4674;POINT (-39.785134 -2.616669)', '2026-07-22 12:41:49', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785085 -2.61672)'), GeomFromEWKT('SRID=4674;POINT (-39.785134 -2.616669)'))) / (select extract(epoch from '2026-07-22 12:41:49'::timestamp) - extract(epoch from '2026-07-22 12:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785085 -2.61672)'), GeomFromEWKT('SRID=4674;POINT (-39.785134 -2.616669)'))) / (select extract(epoch from '2026-07-22 12:41:49'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785181 -2.616611)', '2026-07-22 12:41:58', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785134 -2.616669)'), GeomFromEWKT('SRID=4674;POINT (-39.785181 -2.616611)'))) / (select extract(epoch from '2026-07-22 12:41:58'::timestamp) - extract(epoch from '2026-07-22 12:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785134 -2.616669)'), GeomFromEWKT('SRID=4674;POINT (-39.785181 -2.616611)'))) / (select extract(epoch from '2026-07-22 12:41:58'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785209 -2.616575)', '2026-07-22 12:42:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785181 -2.616611)'), GeomFromEWKT('SRID=4674;POINT (-39.785209 -2.616575)'))) / (select extract(epoch from '2026-07-22 12:42:09'::timestamp) - extract(epoch from '2026-07-22 12:41:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785181 -2.616611)'), GeomFromEWKT('SRID=4674;POINT (-39.785209 -2.616575)'))) / (select extract(epoch from '2026-07-22 12:42:09'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785223 -2.616547)', '2026-07-22 12:42:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785209 -2.616575)'), GeomFromEWKT('SRID=4674;POINT (-39.785223 -2.616547)'))) / (select extract(epoch from '2026-07-22 12:42:15'::timestamp) - extract(epoch from '2026-07-22 12:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785209 -2.616575)'), GeomFromEWKT('SRID=4674;POINT (-39.785223 -2.616547)'))) / (select extract(epoch from '2026-07-22 12:42:15'::timestamp) - extract(epoch from '2026-07-22 12:42:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785229 -2.616524)', '2026-07-22 12:42:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785223 -2.616547)'), GeomFromEWKT('SRID=4674;POINT (-39.785229 -2.616524)'))) / (select extract(epoch from '2026-07-22 12:42:24'::timestamp) - extract(epoch from '2026-07-22 12:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785223 -2.616547)'), GeomFromEWKT('SRID=4674;POINT (-39.785229 -2.616524)'))) / (select extract(epoch from '2026-07-22 12:42:24'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785237 -2.616491)', '2026-07-22 12:42:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785229 -2.616524)'), GeomFromEWKT('SRID=4674;POINT (-39.785237 -2.616491)'))) / (select extract(epoch from '2026-07-22 12:42:37'::timestamp) - extract(epoch from '2026-07-22 12:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785229 -2.616524)'), GeomFromEWKT('SRID=4674;POINT (-39.785237 -2.616491)'))) / (select extract(epoch from '2026-07-22 12:42:37'::timestamp) - extract(epoch from '2026-07-22 12:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785246 -2.616486)', '2026-07-22 12:42:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785237 -2.616491)'), GeomFromEWKT('SRID=4674;POINT (-39.785246 -2.616486)'))) / (select extract(epoch from '2026-07-22 12:42:38'::timestamp) - extract(epoch from '2026-07-22 12:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785237 -2.616491)'), GeomFromEWKT('SRID=4674;POINT (-39.785246 -2.616486)'))) / (select extract(epoch from '2026-07-22 12:42:38'::timestamp) - extract(epoch from '2026-07-22 12:42: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'), 47870, 'SRID=4674;POINT (-39.785253 -2.616479)', '2026-07-22 12:42:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785246 -2.616486)'), GeomFromEWKT('SRID=4674;POINT (-39.785253 -2.616479)'))) / (select extract(epoch from '2026-07-22 12:42:43'::timestamp) - extract(epoch from '2026-07-22 12:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785246 -2.616486)'), GeomFromEWKT('SRID=4674;POINT (-39.785253 -2.616479)'))) / (select extract(epoch from '2026-07-22 12:42:43'::timestamp) - extract(epoch from '2026-07-22 12:42: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'), 47870, 'SRID=4674;POINT (-39.7853 -2.616451)', '2026-07-22 12:42:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785253 -2.616479)'), GeomFromEWKT('SRID=4674;POINT (-39.7853 -2.616451)'))) / (select extract(epoch from '2026-07-22 12:42:50'::timestamp) - extract(epoch from '2026-07-22 12:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785253 -2.616479)'), GeomFromEWKT('SRID=4674;POINT (-39.7853 -2.616451)'))) / (select extract(epoch from '2026-07-22 12:42:50'::timestamp) - extract(epoch from '2026-07-22 12:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785329 -2.616422)', '2026-07-22 12:43:00', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7853 -2.616451)'), GeomFromEWKT('SRID=4674;POINT (-39.785329 -2.616422)'))) / (select extract(epoch from '2026-07-22 12:43:00'::timestamp) - extract(epoch from '2026-07-22 12:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7853 -2.616451)'), GeomFromEWKT('SRID=4674;POINT (-39.785329 -2.616422)'))) / (select extract(epoch from '2026-07-22 12:43:00'::timestamp) - extract(epoch from '2026-07-22 12:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785293 -2.616373)', '2026-07-22 12:43:30', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785329 -2.616422)'), GeomFromEWKT('SRID=4674;POINT (-39.785293 -2.616373)'))) / (select extract(epoch from '2026-07-22 12:43:30'::timestamp) - extract(epoch from '2026-07-22 12:43:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785329 -2.616422)'), GeomFromEWKT('SRID=4674;POINT (-39.785293 -2.616373)'))) / (select extract(epoch from '2026-07-22 12:43:30'::timestamp) - extract(epoch from '2026-07-22 12:43: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'), 47870, 'SRID=4674;POINT (-39.785265 -2.616373)', '2026-07-22 12:43:38', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785293 -2.616373)'), GeomFromEWKT('SRID=4674;POINT (-39.785265 -2.616373)'))) / (select extract(epoch from '2026-07-22 12:43:38'::timestamp) - extract(epoch from '2026-07-22 12:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785293 -2.616373)'), GeomFromEWKT('SRID=4674;POINT (-39.785265 -2.616373)'))) / (select extract(epoch from '2026-07-22 12:43:38'::timestamp) - extract(epoch from '2026-07-22 12:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785236 -2.61637)', '2026-07-22 12:43:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785265 -2.616373)'), GeomFromEWKT('SRID=4674;POINT (-39.785236 -2.61637)'))) / (select extract(epoch from '2026-07-22 12:43:47'::timestamp) - extract(epoch from '2026-07-22 12:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785265 -2.616373)'), GeomFromEWKT('SRID=4674;POINT (-39.785236 -2.61637)'))) / (select extract(epoch from '2026-07-22 12:43:47'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785222 -2.616355)', '2026-07-22 12:43:54', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785236 -2.61637)'), GeomFromEWKT('SRID=4674;POINT (-39.785222 -2.616355)'))) / (select extract(epoch from '2026-07-22 12:43:54'::timestamp) - extract(epoch from '2026-07-22 12:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785236 -2.61637)'), GeomFromEWKT('SRID=4674;POINT (-39.785222 -2.616355)'))) / (select extract(epoch from '2026-07-22 12:43:54'::timestamp) - extract(epoch from '2026-07-22 12:43:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785268 -2.61631)', '2026-07-22 12:44:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785222 -2.616355)'), GeomFromEWKT('SRID=4674;POINT (-39.785268 -2.61631)'))) / (select extract(epoch from '2026-07-22 12:44:08'::timestamp) - extract(epoch from '2026-07-22 12:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785222 -2.616355)'), GeomFromEWKT('SRID=4674;POINT (-39.785268 -2.61631)'))) / (select extract(epoch from '2026-07-22 12:44:08'::timestamp) - extract(epoch from '2026-07-22 12:43: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'), 47870, 'SRID=4674;POINT (-39.785266 -2.616308)', '2026-07-22 12:44:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785268 -2.61631)'), GeomFromEWKT('SRID=4674;POINT (-39.785266 -2.616308)'))) / (select extract(epoch from '2026-07-22 12:44:20'::timestamp) - extract(epoch from '2026-07-22 12:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785268 -2.61631)'), GeomFromEWKT('SRID=4674;POINT (-39.785266 -2.616308)'))) / (select extract(epoch from '2026-07-22 12:44:20'::timestamp) - extract(epoch from '2026-07-22 12:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785267 -2.616303)', '2026-07-22 12:44:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785266 -2.616308)'), GeomFromEWKT('SRID=4674;POINT (-39.785267 -2.616303)'))) / (select extract(epoch from '2026-07-22 12:44:31'::timestamp) - extract(epoch from '2026-07-22 12:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785266 -2.616308)'), GeomFromEWKT('SRID=4674;POINT (-39.785267 -2.616303)'))) / (select extract(epoch from '2026-07-22 12:44:31'::timestamp) - extract(epoch from '2026-07-22 12:44: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'), 47870, 'SRID=4674;POINT (-39.785254 -2.616311)', '2026-07-22 12:44:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785267 -2.616303)'), GeomFromEWKT('SRID=4674;POINT (-39.785254 -2.616311)'))) / (select extract(epoch from '2026-07-22 12:44:34'::timestamp) - extract(epoch from '2026-07-22 12:44:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785267 -2.616303)'), GeomFromEWKT('SRID=4674;POINT (-39.785254 -2.616311)'))) / (select extract(epoch from '2026-07-22 12:44:34'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785221 -2.616338)', '2026-07-22 12:44:44', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785254 -2.616311)'), GeomFromEWKT('SRID=4674;POINT (-39.785221 -2.616338)'))) / (select extract(epoch from '2026-07-22 12:44:44'::timestamp) - extract(epoch from '2026-07-22 12:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785254 -2.616311)'), GeomFromEWKT('SRID=4674;POINT (-39.785221 -2.616338)'))) / (select extract(epoch from '2026-07-22 12:44:44'::timestamp) - extract(epoch from '2026-07-22 12:44: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'), 47870, 'SRID=4674;POINT (-39.785243 -2.616324)', '2026-07-22 12:45:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785221 -2.616338)'), GeomFromEWKT('SRID=4674;POINT (-39.785243 -2.616324)'))) / (select extract(epoch from '2026-07-22 12:45:17'::timestamp) - extract(epoch from '2026-07-22 12:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785221 -2.616338)'), GeomFromEWKT('SRID=4674;POINT (-39.785243 -2.616324)'))) / (select extract(epoch from '2026-07-22 12:45:17'::timestamp) - extract(epoch from '2026-07-22 12:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785267 -2.616297)', '2026-07-22 12:45:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785243 -2.616324)'), GeomFromEWKT('SRID=4674;POINT (-39.785267 -2.616297)'))) / (select extract(epoch from '2026-07-22 12:45:24'::timestamp) - extract(epoch from '2026-07-22 12:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785243 -2.616324)'), GeomFromEWKT('SRID=4674;POINT (-39.785267 -2.616297)'))) / (select extract(epoch from '2026-07-22 12:45:24'::timestamp) - extract(epoch from '2026-07-22 12:45: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'), 47870, 'SRID=4674;POINT (-39.7853 -2.61626)', '2026-07-22 12:45:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785267 -2.616297)'), GeomFromEWKT('SRID=4674;POINT (-39.7853 -2.61626)'))) / (select extract(epoch from '2026-07-22 12:45:32'::timestamp) - extract(epoch from '2026-07-22 12:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785267 -2.616297)'), GeomFromEWKT('SRID=4674;POINT (-39.7853 -2.61626)'))) / (select extract(epoch from '2026-07-22 12:45:32'::timestamp) - extract(epoch from '2026-07-22 12:45: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'), 47870, 'SRID=4674;POINT (-39.785315 -2.616194)', '2026-07-22 12:45:42', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7853 -2.61626)'), GeomFromEWKT('SRID=4674;POINT (-39.785315 -2.616194)'))) / (select extract(epoch from '2026-07-22 12:45:42'::timestamp) - extract(epoch from '2026-07-22 12:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7853 -2.61626)'), GeomFromEWKT('SRID=4674;POINT (-39.785315 -2.616194)'))) / (select extract(epoch from '2026-07-22 12:45:42'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785309 -2.61616)', '2026-07-22 12:45:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785315 -2.616194)'), GeomFromEWKT('SRID=4674;POINT (-39.785309 -2.61616)'))) / (select extract(epoch from '2026-07-22 12:45:49'::timestamp) - extract(epoch from '2026-07-22 12:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785315 -2.616194)'), GeomFromEWKT('SRID=4674;POINT (-39.785309 -2.61616)'))) / (select extract(epoch from '2026-07-22 12:45:49'::timestamp) - extract(epoch from '2026-07-22 12:45: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'), 47870, 'SRID=4674;POINT (-39.785323 -2.616125)', '2026-07-22 12:45:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785309 -2.61616)'), GeomFromEWKT('SRID=4674;POINT (-39.785323 -2.616125)'))) / (select extract(epoch from '2026-07-22 12:45:56'::timestamp) - extract(epoch from '2026-07-22 12:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785309 -2.61616)'), GeomFromEWKT('SRID=4674;POINT (-39.785323 -2.616125)'))) / (select extract(epoch from '2026-07-22 12:45:56'::timestamp) - extract(epoch from '2026-07-22 12:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785356 -2.616093)', '2026-07-22 12:46:04', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785323 -2.616125)'), GeomFromEWKT('SRID=4674;POINT (-39.785356 -2.616093)'))) / (select extract(epoch from '2026-07-22 12:46:04'::timestamp) - extract(epoch from '2026-07-22 12:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785323 -2.616125)'), GeomFromEWKT('SRID=4674;POINT (-39.785356 -2.616093)'))) / (select extract(epoch from '2026-07-22 12:46:04'::timestamp) - extract(epoch from '2026-07-22 12:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785378 -2.616075)', '2026-07-22 12:46:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785356 -2.616093)'), GeomFromEWKT('SRID=4674;POINT (-39.785378 -2.616075)'))) / (select extract(epoch from '2026-07-22 12:46:10'::timestamp) - extract(epoch from '2026-07-22 12:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785356 -2.616093)'), GeomFromEWKT('SRID=4674;POINT (-39.785378 -2.616075)'))) / (select extract(epoch from '2026-07-22 12:46:10'::timestamp) - extract(epoch from '2026-07-22 12:46: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'), 47870, 'SRID=4674;POINT (-39.785412 -2.616049)', '2026-07-22 12:46:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785378 -2.616075)'), GeomFromEWKT('SRID=4674;POINT (-39.785412 -2.616049)'))) / (select extract(epoch from '2026-07-22 12:46:18'::timestamp) - extract(epoch from '2026-07-22 12:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785378 -2.616075)'), GeomFromEWKT('SRID=4674;POINT (-39.785412 -2.616049)'))) / (select extract(epoch from '2026-07-22 12:46:18'::timestamp) - extract(epoch from '2026-07-22 12:46: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'), 47870, 'SRID=4674;POINT (-39.785432 -2.61604)', '2026-07-22 12:46:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785412 -2.616049)'), GeomFromEWKT('SRID=4674;POINT (-39.785432 -2.61604)'))) / (select extract(epoch from '2026-07-22 12:46:21'::timestamp) - extract(epoch from '2026-07-22 12:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785412 -2.616049)'), GeomFromEWKT('SRID=4674;POINT (-39.785432 -2.61604)'))) / (select extract(epoch from '2026-07-22 12:46:21'::timestamp) - extract(epoch from '2026-07-22 12:46: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'), 47870, 'SRID=4674;POINT (-39.785437 -2.616027)', '2026-07-22 12:46:30', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785432 -2.61604)'), GeomFromEWKT('SRID=4674;POINT (-39.785437 -2.616027)'))) / (select extract(epoch from '2026-07-22 12:46:30'::timestamp) - extract(epoch from '2026-07-22 12:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785432 -2.61604)'), GeomFromEWKT('SRID=4674;POINT (-39.785437 -2.616027)'))) / (select extract(epoch from '2026-07-22 12:46:30'::timestamp) - extract(epoch from '2026-07-22 12:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785426 -2.616075)', '2026-07-22 12:46:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785437 -2.616027)'), GeomFromEWKT('SRID=4674;POINT (-39.785426 -2.616075)'))) / (select extract(epoch from '2026-07-22 12:46:36'::timestamp) - extract(epoch from '2026-07-22 12:46:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785437 -2.616027)'), GeomFromEWKT('SRID=4674;POINT (-39.785426 -2.616075)'))) / (select extract(epoch from '2026-07-22 12:46:36'::timestamp) - extract(epoch from '2026-07-22 12:46:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.7854 -2.61614)', '2026-07-22 12:46:44', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785426 -2.616075)'), GeomFromEWKT('SRID=4674;POINT (-39.7854 -2.61614)'))) / (select extract(epoch from '2026-07-22 12:46:44'::timestamp) - extract(epoch from '2026-07-22 12:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785426 -2.616075)'), GeomFromEWKT('SRID=4674;POINT (-39.7854 -2.61614)'))) / (select extract(epoch from '2026-07-22 12:46:44'::timestamp) - extract(epoch from '2026-07-22 12:46:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785394 -2.616269)', '2026-07-22 12:46:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7854 -2.61614)'), GeomFromEWKT('SRID=4674;POINT (-39.785394 -2.616269)'))) / (select extract(epoch from '2026-07-22 12:46:55'::timestamp) - extract(epoch from '2026-07-22 12:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7854 -2.61614)'), GeomFromEWKT('SRID=4674;POINT (-39.785394 -2.616269)'))) / (select extract(epoch from '2026-07-22 12:46:55'::timestamp) - extract(epoch from '2026-07-22 12:46:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785424 -2.616342)', '2026-07-22 12:47:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785394 -2.616269)'), GeomFromEWKT('SRID=4674;POINT (-39.785424 -2.616342)'))) / (select extract(epoch from '2026-07-22 12:47:00'::timestamp) - extract(epoch from '2026-07-22 12:46:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785394 -2.616269)'), GeomFromEWKT('SRID=4674;POINT (-39.785424 -2.616342)'))) / (select extract(epoch from '2026-07-22 12:47:00'::timestamp) - extract(epoch from '2026-07-22 12:46:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785426 -2.616355)', '2026-07-22 12:47:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785424 -2.616342)'), GeomFromEWKT('SRID=4674;POINT (-39.785426 -2.616355)'))) / (select extract(epoch from '2026-07-22 12:47:01'::timestamp) - extract(epoch from '2026-07-22 12:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785424 -2.616342)'), GeomFromEWKT('SRID=4674;POINT (-39.785426 -2.616355)'))) / (select extract(epoch from '2026-07-22 12:47:01'::timestamp) - extract(epoch from '2026-07-22 12:47:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785462 -2.616452)', '2026-07-22 12:47:07', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785426 -2.616355)'), GeomFromEWKT('SRID=4674;POINT (-39.785462 -2.616452)'))) / (select extract(epoch from '2026-07-22 12:47:07'::timestamp) - extract(epoch from '2026-07-22 12:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785426 -2.616355)'), GeomFromEWKT('SRID=4674;POINT (-39.785462 -2.616452)'))) / (select extract(epoch from '2026-07-22 12:47:07'::timestamp) - extract(epoch from '2026-07-22 12:47: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'), 47870, 'SRID=4674;POINT (-39.785502 -2.616543)', '2026-07-22 12:47:13', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785462 -2.616452)'), GeomFromEWKT('SRID=4674;POINT (-39.785502 -2.616543)'))) / (select extract(epoch from '2026-07-22 12:47:13'::timestamp) - extract(epoch from '2026-07-22 12:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785462 -2.616452)'), GeomFromEWKT('SRID=4674;POINT (-39.785502 -2.616543)'))) / (select extract(epoch from '2026-07-22 12:47:13'::timestamp) - extract(epoch from '2026-07-22 12:47:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785487 -2.616684)', '2026-07-22 12:47:22', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785502 -2.616543)'), GeomFromEWKT('SRID=4674;POINT (-39.785487 -2.616684)'))) / (select extract(epoch from '2026-07-22 12:47:22'::timestamp) - extract(epoch from '2026-07-22 12:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785502 -2.616543)'), GeomFromEWKT('SRID=4674;POINT (-39.785487 -2.616684)'))) / (select extract(epoch from '2026-07-22 12:47:22'::timestamp) - extract(epoch from '2026-07-22 12:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785485 -2.616782)', '2026-07-22 12:47:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785487 -2.616684)'), GeomFromEWKT('SRID=4674;POINT (-39.785485 -2.616782)'))) / (select extract(epoch from '2026-07-22 12:47:28'::timestamp) - extract(epoch from '2026-07-22 12:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785487 -2.616684)'), GeomFromEWKT('SRID=4674;POINT (-39.785485 -2.616782)'))) / (select extract(epoch from '2026-07-22 12:47:28'::timestamp) - extract(epoch from '2026-07-22 12:47: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'), 47870, 'SRID=4674;POINT (-39.785469 -2.616884)', '2026-07-22 12:47:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785485 -2.616782)'), GeomFromEWKT('SRID=4674;POINT (-39.785469 -2.616884)'))) / (select extract(epoch from '2026-07-22 12:47:34'::timestamp) - extract(epoch from '2026-07-22 12:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785485 -2.616782)'), GeomFromEWKT('SRID=4674;POINT (-39.785469 -2.616884)'))) / (select extract(epoch from '2026-07-22 12:47:34'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785463 -2.616897)', '2026-07-22 12:47:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785469 -2.616884)'), GeomFromEWKT('SRID=4674;POINT (-39.785463 -2.616897)'))) / (select extract(epoch from '2026-07-22 12:47:35'::timestamp) - extract(epoch from '2026-07-22 12:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785469 -2.616884)'), GeomFromEWKT('SRID=4674;POINT (-39.785463 -2.616897)'))) / (select extract(epoch from '2026-07-22 12:47:35'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785453 -2.616931)', '2026-07-22 12:47:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785463 -2.616897)'), GeomFromEWKT('SRID=4674;POINT (-39.785453 -2.616931)'))) / (select extract(epoch from '2026-07-22 12:47:37'::timestamp) - extract(epoch from '2026-07-22 12:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785463 -2.616897)'), GeomFromEWKT('SRID=4674;POINT (-39.785453 -2.616931)'))) / (select extract(epoch from '2026-07-22 12:47:37'::timestamp) - extract(epoch from '2026-07-22 12:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785434 -2.616998)', '2026-07-22 12:47:41', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785453 -2.616931)'), GeomFromEWKT('SRID=4674;POINT (-39.785434 -2.616998)'))) / (select extract(epoch from '2026-07-22 12:47:41'::timestamp) - extract(epoch from '2026-07-22 12:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785453 -2.616931)'), GeomFromEWKT('SRID=4674;POINT (-39.785434 -2.616998)'))) / (select extract(epoch from '2026-07-22 12:47:41'::timestamp) - extract(epoch from '2026-07-22 12:47:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.785411 -2.617098)', '2026-07-22 12:47:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785434 -2.616998)'), GeomFromEWKT('SRID=4674;POINT (-39.785411 -2.617098)'))) / (select extract(epoch from '2026-07-22 12:47:47'::timestamp) - extract(epoch from '2026-07-22 12:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785434 -2.616998)'), GeomFromEWKT('SRID=4674;POINT (-39.785411 -2.617098)'))) / (select extract(epoch from '2026-07-22 12:47:47'::timestamp) - extract(epoch from '2026-07-22 12:47: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'), 47870, 'SRID=4674;POINT (-39.785357 -2.617227)', '2026-07-22 12:47:55', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785411 -2.617098)'), GeomFromEWKT('SRID=4674;POINT (-39.785357 -2.617227)'))) / (select extract(epoch from '2026-07-22 12:47:55'::timestamp) - extract(epoch from '2026-07-22 12:47:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785411 -2.617098)'), GeomFromEWKT('SRID=4674;POINT (-39.785357 -2.617227)'))) / (select extract(epoch from '2026-07-22 12:47:55'::timestamp) - extract(epoch from '2026-07-22 12: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'), 47870, 'SRID=4674;POINT (-39.785318 -2.617335)', '2026-07-22 12:48:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785357 -2.617227)'), GeomFromEWKT('SRID=4674;POINT (-39.785318 -2.617335)'))) / (select extract(epoch from '2026-07-22 12:48:01'::timestamp) - extract(epoch from '2026-07-22 12:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785357 -2.617227)'), GeomFromEWKT('SRID=4674;POINT (-39.785318 -2.617335)'))) / (select extract(epoch from '2026-07-22 12:48:01'::timestamp) - extract(epoch from '2026-07-22 12:47:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.78528 -2.617445)', '2026-07-22 12:48:07', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785318 -2.617335)'), GeomFromEWKT('SRID=4674;POINT (-39.78528 -2.617445)'))) / (select extract(epoch from '2026-07-22 12:48:07'::timestamp) - extract(epoch from '2026-07-22 12:48:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.785318 -2.617335)'), GeomFromEWKT('SRID=4674;POINT (-39.78528 -2.617445)'))) / (select extract(epoch from '2026-07-22 12:48:07'::timestamp) - extract(epoch from '2026-07-22 12:48:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
