 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631845 -3.632918)', '2026-07-21 20:00:19', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631814 -3.63292)'), GeomFromEWKT('SRID=4674;POINT (-38.631845 -3.632918)'))) / (select extract(epoch from '2026-07-21 20:00:19'::timestamp) - extract(epoch from '2026-07-21 20:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631814 -3.63292)'), GeomFromEWKT('SRID=4674;POINT (-38.631845 -3.632918)'))) / (select extract(epoch from '2026-07-21 20:00:19'::timestamp) - extract(epoch from '2026-07-21 20:00: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'), 47374, 'SRID=4674;POINT (-38.631936 -3.632912)', '2026-07-21 20:00:34', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631845 -3.632918)'), GeomFromEWKT('SRID=4674;POINT (-38.631936 -3.632912)'))) / (select extract(epoch from '2026-07-21 20:00:34'::timestamp) - extract(epoch from '2026-07-21 20:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631845 -3.632918)'), GeomFromEWKT('SRID=4674;POINT (-38.631936 -3.632912)'))) / (select extract(epoch from '2026-07-21 20:00:34'::timestamp) - extract(epoch from '2026-07-21 20:00: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'), 47374, 'SRID=4674;POINT (-38.631998 -3.632903)', '2026-07-21 20:00:48', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631936 -3.632912)'), GeomFromEWKT('SRID=4674;POINT (-38.631998 -3.632903)'))) / (select extract(epoch from '2026-07-21 20:00:48'::timestamp) - extract(epoch from '2026-07-21 20:00:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631936 -3.632912)'), GeomFromEWKT('SRID=4674;POINT (-38.631998 -3.632903)'))) / (select extract(epoch from '2026-07-21 20:00:48'::timestamp) - extract(epoch from '2026-07-21 20:00: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'), 47374, 'SRID=4674;POINT (-38.632061 -3.632901)', '2026-07-21 20:01:00', 18.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631998 -3.632903)'), GeomFromEWKT('SRID=4674;POINT (-38.632061 -3.632901)'))) / (select extract(epoch from '2026-07-21 20:01:00'::timestamp) - extract(epoch from '2026-07-21 20:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631998 -3.632903)'), GeomFromEWKT('SRID=4674;POINT (-38.632061 -3.632901)'))) / (select extract(epoch from '2026-07-21 20:01:00'::timestamp) - extract(epoch from '2026-07-21 20:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632082 -3.632915)', '2026-07-21 20:01:07', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632061 -3.632901)'), GeomFromEWKT('SRID=4674;POINT (-38.632082 -3.632915)'))) / (select extract(epoch from '2026-07-21 20:01:07'::timestamp) - extract(epoch from '2026-07-21 20:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632061 -3.632901)'), GeomFromEWKT('SRID=4674;POINT (-38.632082 -3.632915)'))) / (select extract(epoch from '2026-07-21 20:01:07'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.632095 -3.633003)', '2026-07-21 20:01:12', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632082 -3.632915)'), GeomFromEWKT('SRID=4674;POINT (-38.632095 -3.633003)'))) / (select extract(epoch from '2026-07-21 20:01:12'::timestamp) - extract(epoch from '2026-07-21 20:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632082 -3.632915)'), GeomFromEWKT('SRID=4674;POINT (-38.632095 -3.633003)'))) / (select extract(epoch from '2026-07-21 20:01:12'::timestamp) - extract(epoch from '2026-07-21 20:01: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'), 47374, 'SRID=4674;POINT (-38.632087 -3.633022)', '2026-07-21 20:01:13', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632095 -3.633003)'), GeomFromEWKT('SRID=4674;POINT (-38.632087 -3.633022)'))) / (select extract(epoch from '2026-07-21 20:01:13'::timestamp) - extract(epoch from '2026-07-21 20:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632095 -3.633003)'), GeomFromEWKT('SRID=4674;POINT (-38.632087 -3.633022)'))) / (select extract(epoch from '2026-07-21 20:01:13'::timestamp) - extract(epoch from '2026-07-21 20:01:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.632041 -3.633136)', '2026-07-21 20:01:19', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632087 -3.633022)'), GeomFromEWKT('SRID=4674;POINT (-38.632041 -3.633136)'))) / (select extract(epoch from '2026-07-21 20:01:19'::timestamp) - extract(epoch from '2026-07-21 20:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632087 -3.633022)'), GeomFromEWKT('SRID=4674;POINT (-38.632041 -3.633136)'))) / (select extract(epoch from '2026-07-21 20:01:19'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.631926 -3.633247)', '2026-07-21 20:01:27', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632041 -3.633136)'), GeomFromEWKT('SRID=4674;POINT (-38.631926 -3.633247)'))) / (select extract(epoch from '2026-07-21 20:01:27'::timestamp) - extract(epoch from '2026-07-21 20:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.632041 -3.633136)'), GeomFromEWKT('SRID=4674;POINT (-38.631926 -3.633247)'))) / (select extract(epoch from '2026-07-21 20:01:27'::timestamp) - extract(epoch from '2026-07-21 20:01:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.631808 -3.633356)', '2026-07-21 20:01:35', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631926 -3.633247)'), GeomFromEWKT('SRID=4674;POINT (-38.631808 -3.633356)'))) / (select extract(epoch from '2026-07-21 20:01:35'::timestamp) - extract(epoch from '2026-07-21 20:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631926 -3.633247)'), GeomFromEWKT('SRID=4674;POINT (-38.631808 -3.633356)'))) / (select extract(epoch from '2026-07-21 20:01:35'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.631727 -3.633459)', '2026-07-21 20:01:41', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631808 -3.633356)'), GeomFromEWKT('SRID=4674;POINT (-38.631727 -3.633459)'))) / (select extract(epoch from '2026-07-21 20:01:41'::timestamp) - extract(epoch from '2026-07-21 20:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631808 -3.633356)'), GeomFromEWKT('SRID=4674;POINT (-38.631727 -3.633459)'))) / (select extract(epoch from '2026-07-21 20:01:41'::timestamp) - extract(epoch from '2026-07-21 20:01: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'), 47374, 'SRID=4674;POINT (-38.631601 -3.633588)', '2026-07-21 20:01:49', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631727 -3.633459)'), GeomFromEWKT('SRID=4674;POINT (-38.631601 -3.633588)'))) / (select extract(epoch from '2026-07-21 20:01:49'::timestamp) - extract(epoch from '2026-07-21 20:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631727 -3.633459)'), GeomFromEWKT('SRID=4674;POINT (-38.631601 -3.633588)'))) / (select extract(epoch from '2026-07-21 20:01:49'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.631519 -3.633698)', '2026-07-21 20:01:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631601 -3.633588)'), GeomFromEWKT('SRID=4674;POINT (-38.631519 -3.633698)'))) / (select extract(epoch from '2026-07-21 20:01:55'::timestamp) - extract(epoch from '2026-07-21 20:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631601 -3.633588)'), GeomFromEWKT('SRID=4674;POINT (-38.631519 -3.633698)'))) / (select extract(epoch from '2026-07-21 20:01:55'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.631409 -3.633797)', '2026-07-21 20:02:01', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631519 -3.633698)'), GeomFromEWKT('SRID=4674;POINT (-38.631409 -3.633797)'))) / (select extract(epoch from '2026-07-21 20:02:01'::timestamp) - extract(epoch from '2026-07-21 20:01:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631519 -3.633698)'), GeomFromEWKT('SRID=4674;POINT (-38.631409 -3.633797)'))) / (select extract(epoch from '2026-07-21 20:02:01'::timestamp) - extract(epoch from '2026-07-21 20:01: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'), 47374, 'SRID=4674;POINT (-38.631339 -3.633846)', '2026-07-21 20:02:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631409 -3.633797)'), GeomFromEWKT('SRID=4674;POINT (-38.631339 -3.633846)'))) / (select extract(epoch from '2026-07-21 20:02:06'::timestamp) - extract(epoch from '2026-07-21 20:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631409 -3.633797)'), GeomFromEWKT('SRID=4674;POINT (-38.631339 -3.633846)'))) / (select extract(epoch from '2026-07-21 20:02:06'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.63131 -3.633877)', '2026-07-21 20:02:08', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631339 -3.633846)'), GeomFromEWKT('SRID=4674;POINT (-38.63131 -3.633877)'))) / (select extract(epoch from '2026-07-21 20:02:08'::timestamp) - extract(epoch from '2026-07-21 20:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631339 -3.633846)'), GeomFromEWKT('SRID=4674;POINT (-38.63131 -3.633877)'))) / (select extract(epoch from '2026-07-21 20:02:08'::timestamp) - extract(epoch from '2026-07-21 20:02:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.63127 -3.633932)', '2026-07-21 20:02:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63131 -3.633877)'), GeomFromEWKT('SRID=4674;POINT (-38.63127 -3.633932)'))) / (select extract(epoch from '2026-07-21 20:02:11'::timestamp) - extract(epoch from '2026-07-21 20:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63131 -3.633877)'), GeomFromEWKT('SRID=4674;POINT (-38.63127 -3.633932)'))) / (select extract(epoch from '2026-07-21 20:02:11'::timestamp) - extract(epoch from '2026-07-21 20:02: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'), 47374, 'SRID=4674;POINT (-38.631183 -3.634058)', '2026-07-21 20:02:18', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63127 -3.633932)'), GeomFromEWKT('SRID=4674;POINT (-38.631183 -3.634058)'))) / (select extract(epoch from '2026-07-21 20:02:18'::timestamp) - extract(epoch from '2026-07-21 20:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63127 -3.633932)'), GeomFromEWKT('SRID=4674;POINT (-38.631183 -3.634058)'))) / (select extract(epoch from '2026-07-21 20:02:18'::timestamp) - extract(epoch from '2026-07-21 20:02: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'), 47374, 'SRID=4674;POINT (-38.631078 -3.634207)', '2026-07-21 20:02:26', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631183 -3.634058)'), GeomFromEWKT('SRID=4674;POINT (-38.631078 -3.634207)'))) / (select extract(epoch from '2026-07-21 20:02:26'::timestamp) - extract(epoch from '2026-07-21 20:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631183 -3.634058)'), GeomFromEWKT('SRID=4674;POINT (-38.631078 -3.634207)'))) / (select extract(epoch from '2026-07-21 20:02:26'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.631027 -3.634337)', '2026-07-21 20:02:32', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631078 -3.634207)'), GeomFromEWKT('SRID=4674;POINT (-38.631027 -3.634337)'))) / (select extract(epoch from '2026-07-21 20:02:32'::timestamp) - extract(epoch from '2026-07-21 20:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631078 -3.634207)'), GeomFromEWKT('SRID=4674;POINT (-38.631027 -3.634337)'))) / (select extract(epoch from '2026-07-21 20:02:32'::timestamp) - extract(epoch from '2026-07-21 20:02: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'), 47374, 'SRID=4674;POINT (-38.63095 -3.634449)', '2026-07-21 20:02:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631027 -3.634337)'), GeomFromEWKT('SRID=4674;POINT (-38.63095 -3.634449)'))) / (select extract(epoch from '2026-07-21 20:02:39'::timestamp) - extract(epoch from '2026-07-21 20:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.631027 -3.634337)'), GeomFromEWKT('SRID=4674;POINT (-38.63095 -3.634449)'))) / (select extract(epoch from '2026-07-21 20:02:39'::timestamp) - extract(epoch from '2026-07-21 20:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.630869 -3.634564)', '2026-07-21 20:02:46', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63095 -3.634449)'), GeomFromEWKT('SRID=4674;POINT (-38.630869 -3.634564)'))) / (select extract(epoch from '2026-07-21 20:02:46'::timestamp) - extract(epoch from '2026-07-21 20:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63095 -3.634449)'), GeomFromEWKT('SRID=4674;POINT (-38.630869 -3.634564)'))) / (select extract(epoch from '2026-07-21 20:02:46'::timestamp) - extract(epoch from '2026-07-21 20:02: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'), 47374, 'SRID=4674;POINT (-38.630794 -3.634676)', '2026-07-21 20:02:52', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630869 -3.634564)'), GeomFromEWKT('SRID=4674;POINT (-38.630794 -3.634676)'))) / (select extract(epoch from '2026-07-21 20:02:52'::timestamp) - extract(epoch from '2026-07-21 20:02:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630869 -3.634564)'), GeomFromEWKT('SRID=4674;POINT (-38.630794 -3.634676)'))) / (select extract(epoch from '2026-07-21 20:02:52'::timestamp) - extract(epoch from '2026-07-21 20:02: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'), 47374, 'SRID=4674;POINT (-38.630711 -3.634764)', '2026-07-21 20:02:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630794 -3.634676)'), GeomFromEWKT('SRID=4674;POINT (-38.630711 -3.634764)'))) / (select extract(epoch from '2026-07-21 20:02:57'::timestamp) - extract(epoch from '2026-07-21 20:02:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630794 -3.634676)'), GeomFromEWKT('SRID=4674;POINT (-38.630711 -3.634764)'))) / (select extract(epoch from '2026-07-21 20:02:57'::timestamp) - extract(epoch from '2026-07-21 20:02: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'), 47374, 'SRID=4674;POINT (-38.630616 -3.634858)', '2026-07-21 20:03:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630711 -3.634764)'), GeomFromEWKT('SRID=4674;POINT (-38.630616 -3.634858)'))) / (select extract(epoch from '2026-07-21 20:03:03'::timestamp) - extract(epoch from '2026-07-21 20:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630711 -3.634764)'), GeomFromEWKT('SRID=4674;POINT (-38.630616 -3.634858)'))) / (select extract(epoch from '2026-07-21 20:03:03'::timestamp) - extract(epoch from '2026-07-21 20:02: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'), 47374, 'SRID=4674;POINT (-38.63052 -3.634974)', '2026-07-21 20:03:10', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630616 -3.634858)'), GeomFromEWKT('SRID=4674;POINT (-38.63052 -3.634974)'))) / (select extract(epoch from '2026-07-21 20:03:10'::timestamp) - extract(epoch from '2026-07-21 20:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630616 -3.634858)'), GeomFromEWKT('SRID=4674;POINT (-38.63052 -3.634974)'))) / (select extract(epoch from '2026-07-21 20:03:10'::timestamp) - extract(epoch from '2026-07-21 20:03: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'), 47374, 'SRID=4674;POINT (-38.630417 -3.635113)', '2026-07-21 20:03:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63052 -3.634974)'), GeomFromEWKT('SRID=4674;POINT (-38.630417 -3.635113)'))) / (select extract(epoch from '2026-07-21 20:03:18'::timestamp) - extract(epoch from '2026-07-21 20:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63052 -3.634974)'), GeomFromEWKT('SRID=4674;POINT (-38.630417 -3.635113)'))) / (select extract(epoch from '2026-07-21 20:03:18'::timestamp) - extract(epoch from '2026-07-21 20:03: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'), 47374, 'SRID=4674;POINT (-38.63031 -3.635212)', '2026-07-21 20:03:25', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630417 -3.635113)'), GeomFromEWKT('SRID=4674;POINT (-38.63031 -3.635212)'))) / (select extract(epoch from '2026-07-21 20:03:25'::timestamp) - extract(epoch from '2026-07-21 20:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630417 -3.635113)'), GeomFromEWKT('SRID=4674;POINT (-38.63031 -3.635212)'))) / (select extract(epoch from '2026-07-21 20:03:25'::timestamp) - extract(epoch from '2026-07-21 20:03: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'), 47374, 'SRID=4674;POINT (-38.630214 -3.635308)', '2026-07-21 20:03:31', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63031 -3.635212)'), GeomFromEWKT('SRID=4674;POINT (-38.630214 -3.635308)'))) / (select extract(epoch from '2026-07-21 20:03:31'::timestamp) - extract(epoch from '2026-07-21 20:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.63031 -3.635212)'), GeomFromEWKT('SRID=4674;POINT (-38.630214 -3.635308)'))) / (select extract(epoch from '2026-07-21 20:03:31'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.630151 -3.635436)', '2026-07-21 20:03:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630214 -3.635308)'), GeomFromEWKT('SRID=4674;POINT (-38.630151 -3.635436)'))) / (select extract(epoch from '2026-07-21 20:03:37'::timestamp) - extract(epoch from '2026-07-21 20:03:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630214 -3.635308)'), GeomFromEWKT('SRID=4674;POINT (-38.630151 -3.635436)'))) / (select extract(epoch from '2026-07-21 20:03:37'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.630086 -3.63555)', '2026-07-21 20:03:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630151 -3.635436)'), GeomFromEWKT('SRID=4674;POINT (-38.630086 -3.63555)'))) / (select extract(epoch from '2026-07-21 20:03:43'::timestamp) - extract(epoch from '2026-07-21 20:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630151 -3.635436)'), GeomFromEWKT('SRID=4674;POINT (-38.630086 -3.63555)'))) / (select extract(epoch from '2026-07-21 20:03:43'::timestamp) - extract(epoch from '2026-07-21 20:03: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'), 47374, 'SRID=4674;POINT (-38.630005 -3.635656)', '2026-07-21 20:03:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630086 -3.63555)'), GeomFromEWKT('SRID=4674;POINT (-38.630005 -3.635656)'))) / (select extract(epoch from '2026-07-21 20:03:49'::timestamp) - extract(epoch from '2026-07-21 20:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630086 -3.63555)'), GeomFromEWKT('SRID=4674;POINT (-38.630005 -3.635656)'))) / (select extract(epoch from '2026-07-21 20:03:49'::timestamp) - extract(epoch from '2026-07-21 20:03:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629888 -3.635791)', '2026-07-21 20:03:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630005 -3.635656)'), GeomFromEWKT('SRID=4674;POINT (-38.629888 -3.635791)'))) / (select extract(epoch from '2026-07-21 20:03:57'::timestamp) - extract(epoch from '2026-07-21 20:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.630005 -3.635656)'), GeomFromEWKT('SRID=4674;POINT (-38.629888 -3.635791)'))) / (select extract(epoch from '2026-07-21 20:03:57'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.629784 -3.635902)', '2026-07-21 20:04:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629888 -3.635791)'), GeomFromEWKT('SRID=4674;POINT (-38.629784 -3.635902)'))) / (select extract(epoch from '2026-07-21 20:04:04'::timestamp) - extract(epoch from '2026-07-21 20:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629888 -3.635791)'), GeomFromEWKT('SRID=4674;POINT (-38.629784 -3.635902)'))) / (select extract(epoch from '2026-07-21 20:04:04'::timestamp) - extract(epoch from '2026-07-21 20:03: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'), 47374, 'SRID=4674;POINT (-38.629659 -3.636)', '2026-07-21 20:04:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629784 -3.635902)'), GeomFromEWKT('SRID=4674;POINT (-38.629659 -3.636)'))) / (select extract(epoch from '2026-07-21 20:04:12'::timestamp) - extract(epoch from '2026-07-21 20:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629784 -3.635902)'), GeomFromEWKT('SRID=4674;POINT (-38.629659 -3.636)'))) / (select extract(epoch from '2026-07-21 20:04:12'::timestamp) - extract(epoch from '2026-07-21 20:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62955 -3.636093)', '2026-07-21 20:04:19', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629659 -3.636)'), GeomFromEWKT('SRID=4674;POINT (-38.62955 -3.636093)'))) / (select extract(epoch from '2026-07-21 20:04:19'::timestamp) - extract(epoch from '2026-07-21 20:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629659 -3.636)'), GeomFromEWKT('SRID=4674;POINT (-38.62955 -3.636093)'))) / (select extract(epoch from '2026-07-21 20:04:19'::timestamp) - extract(epoch from '2026-07-21 20:04: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'), 47374, 'SRID=4674;POINT (-38.62949 -3.636189)', '2026-07-21 20:04:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62955 -3.636093)'), GeomFromEWKT('SRID=4674;POINT (-38.62949 -3.636189)'))) / (select extract(epoch from '2026-07-21 20:04:24'::timestamp) - extract(epoch from '2026-07-21 20:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62955 -3.636093)'), GeomFromEWKT('SRID=4674;POINT (-38.62949 -3.636189)'))) / (select extract(epoch from '2026-07-21 20:04:24'::timestamp) - extract(epoch from '2026-07-21 20:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629428 -3.636311)', '2026-07-21 20:04:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62949 -3.636189)'), GeomFromEWKT('SRID=4674;POINT (-38.629428 -3.636311)'))) / (select extract(epoch from '2026-07-21 20:04:30'::timestamp) - extract(epoch from '2026-07-21 20:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62949 -3.636189)'), GeomFromEWKT('SRID=4674;POINT (-38.629428 -3.636311)'))) / (select extract(epoch from '2026-07-21 20:04:30'::timestamp) - extract(epoch from '2026-07-21 20:04: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'), 47374, 'SRID=4674;POINT (-38.62935 -3.636452)', '2026-07-21 20:04:38', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629428 -3.636311)'), GeomFromEWKT('SRID=4674;POINT (-38.62935 -3.636452)'))) / (select extract(epoch from '2026-07-21 20:04:38'::timestamp) - extract(epoch from '2026-07-21 20:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629428 -3.636311)'), GeomFromEWKT('SRID=4674;POINT (-38.62935 -3.636452)'))) / (select extract(epoch from '2026-07-21 20:04:38'::timestamp) - extract(epoch from '2026-07-21 20:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.629235 -3.636593)', '2026-07-21 20:04:46', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62935 -3.636452)'), GeomFromEWKT('SRID=4674;POINT (-38.629235 -3.636593)'))) / (select extract(epoch from '2026-07-21 20:04:46'::timestamp) - extract(epoch from '2026-07-21 20:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62935 -3.636452)'), GeomFromEWKT('SRID=4674;POINT (-38.629235 -3.636593)'))) / (select extract(epoch from '2026-07-21 20:04:46'::timestamp) - extract(epoch from '2026-07-21 20:04: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'), 47374, 'SRID=4674;POINT (-38.629129 -3.636727)', '2026-07-21 20:04:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629235 -3.636593)'), GeomFromEWKT('SRID=4674;POINT (-38.629129 -3.636727)'))) / (select extract(epoch from '2026-07-21 20:04:54'::timestamp) - extract(epoch from '2026-07-21 20:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629235 -3.636593)'), GeomFromEWKT('SRID=4674;POINT (-38.629129 -3.636727)'))) / (select extract(epoch from '2026-07-21 20:04:54'::timestamp) - extract(epoch from '2026-07-21 20:04: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'), 47374, 'SRID=4674;POINT (-38.629057 -3.63681)', '2026-07-21 20:04:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629129 -3.636727)'), GeomFromEWKT('SRID=4674;POINT (-38.629057 -3.63681)'))) / (select extract(epoch from '2026-07-21 20:04:59'::timestamp) - extract(epoch from '2026-07-21 20:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629129 -3.636727)'), GeomFromEWKT('SRID=4674;POINT (-38.629057 -3.63681)'))) / (select extract(epoch from '2026-07-21 20:04:59'::timestamp) - extract(epoch from '2026-07-21 20:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628929 -3.636948)', '2026-07-21 20:05:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629057 -3.63681)'), GeomFromEWKT('SRID=4674;POINT (-38.628929 -3.636948)'))) / (select extract(epoch from '2026-07-21 20:05:08'::timestamp) - extract(epoch from '2026-07-21 20:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.629057 -3.63681)'), GeomFromEWKT('SRID=4674;POINT (-38.628929 -3.636948)'))) / (select extract(epoch from '2026-07-21 20:05:08'::timestamp) - extract(epoch from '2026-07-21 20:04: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'), 47374, 'SRID=4674;POINT (-38.628845 -3.637044)', '2026-07-21 20:05:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628929 -3.636948)'), GeomFromEWKT('SRID=4674;POINT (-38.628845 -3.637044)'))) / (select extract(epoch from '2026-07-21 20:05:14'::timestamp) - extract(epoch from '2026-07-21 20:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628929 -3.636948)'), GeomFromEWKT('SRID=4674;POINT (-38.628845 -3.637044)'))) / (select extract(epoch from '2026-07-21 20:05:14'::timestamp) - extract(epoch from '2026-07-21 20:05: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'), 47374, 'SRID=4674;POINT (-38.628728 -3.637188)', '2026-07-21 20:05:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628845 -3.637044)'), GeomFromEWKT('SRID=4674;POINT (-38.628728 -3.637188)'))) / (select extract(epoch from '2026-07-21 20:05:22'::timestamp) - extract(epoch from '2026-07-21 20:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628845 -3.637044)'), GeomFromEWKT('SRID=4674;POINT (-38.628728 -3.637188)'))) / (select extract(epoch from '2026-07-21 20:05:22'::timestamp) - extract(epoch from '2026-07-21 20:05: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'), 47374, 'SRID=4674;POINT (-38.628659 -3.637275)', '2026-07-21 20:05:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628728 -3.637188)'), GeomFromEWKT('SRID=4674;POINT (-38.628659 -3.637275)'))) / (select extract(epoch from '2026-07-21 20:05:27'::timestamp) - extract(epoch from '2026-07-21 20:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628728 -3.637188)'), GeomFromEWKT('SRID=4674;POINT (-38.628659 -3.637275)'))) / (select extract(epoch from '2026-07-21 20:05:27'::timestamp) - extract(epoch from '2026-07-21 20:05: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'), 47374, 'SRID=4674;POINT (-38.628589 -3.637372)', '2026-07-21 20:05:32', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628659 -3.637275)'), GeomFromEWKT('SRID=4674;POINT (-38.628589 -3.637372)'))) / (select extract(epoch from '2026-07-21 20:05:32'::timestamp) - extract(epoch from '2026-07-21 20:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628659 -3.637275)'), GeomFromEWKT('SRID=4674;POINT (-38.628589 -3.637372)'))) / (select extract(epoch from '2026-07-21 20:05:32'::timestamp) - extract(epoch from '2026-07-21 20:05: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'), 47374, 'SRID=4674;POINT (-38.628505 -3.637494)', '2026-07-21 20:05:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628589 -3.637372)'), GeomFromEWKT('SRID=4674;POINT (-38.628505 -3.637494)'))) / (select extract(epoch from '2026-07-21 20:05:38'::timestamp) - extract(epoch from '2026-07-21 20:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628589 -3.637372)'), GeomFromEWKT('SRID=4674;POINT (-38.628505 -3.637494)'))) / (select extract(epoch from '2026-07-21 20:05:38'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.628415 -3.637623)', '2026-07-21 20:05:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628505 -3.637494)'), GeomFromEWKT('SRID=4674;POINT (-38.628415 -3.637623)'))) / (select extract(epoch from '2026-07-21 20:05:45'::timestamp) - extract(epoch from '2026-07-21 20:05:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628505 -3.637494)'), GeomFromEWKT('SRID=4674;POINT (-38.628415 -3.637623)'))) / (select extract(epoch from '2026-07-21 20:05:45'::timestamp) - extract(epoch from '2026-07-21 20:05: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'), 47374, 'SRID=4674;POINT (-38.628343 -3.637749)', '2026-07-21 20:05:52', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628415 -3.637623)'), GeomFromEWKT('SRID=4674;POINT (-38.628343 -3.637749)'))) / (select extract(epoch from '2026-07-21 20:05:52'::timestamp) - extract(epoch from '2026-07-21 20:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628415 -3.637623)'), GeomFromEWKT('SRID=4674;POINT (-38.628343 -3.637749)'))) / (select extract(epoch from '2026-07-21 20:05:52'::timestamp) - extract(epoch from '2026-07-21 20:05: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'), 47374, 'SRID=4674;POINT (-38.628306 -3.637837)', '2026-07-21 20:05:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628343 -3.637749)'), GeomFromEWKT('SRID=4674;POINT (-38.628306 -3.637837)'))) / (select extract(epoch from '2026-07-21 20:05:57'::timestamp) - extract(epoch from '2026-07-21 20:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628343 -3.637749)'), GeomFromEWKT('SRID=4674;POINT (-38.628306 -3.637837)'))) / (select extract(epoch from '2026-07-21 20:05:57'::timestamp) - extract(epoch from '2026-07-21 20:05: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'), 47374, 'SRID=4674;POINT (-38.628282 -3.637875)', '2026-07-21 20:05:59', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628306 -3.637837)'), GeomFromEWKT('SRID=4674;POINT (-38.628282 -3.637875)'))) / (select extract(epoch from '2026-07-21 20:05:59'::timestamp) - extract(epoch from '2026-07-21 20:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628306 -3.637837)'), GeomFromEWKT('SRID=4674;POINT (-38.628282 -3.637875)'))) / (select extract(epoch from '2026-07-21 20:05:59'::timestamp) - extract(epoch from '2026-07-21 20:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.628186 -3.637985)', '2026-07-21 20:06:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628282 -3.637875)'), GeomFromEWKT('SRID=4674;POINT (-38.628186 -3.637985)'))) / (select extract(epoch from '2026-07-21 20:06:06'::timestamp) - extract(epoch from '2026-07-21 20:05:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628282 -3.637875)'), GeomFromEWKT('SRID=4674;POINT (-38.628186 -3.637985)'))) / (select extract(epoch from '2026-07-21 20:06:06'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.628117 -3.638103)', '2026-07-21 20:06:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628186 -3.637985)'), GeomFromEWKT('SRID=4674;POINT (-38.628117 -3.638103)'))) / (select extract(epoch from '2026-07-21 20:06:12'::timestamp) - extract(epoch from '2026-07-21 20:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628186 -3.637985)'), GeomFromEWKT('SRID=4674;POINT (-38.628117 -3.638103)'))) / (select extract(epoch from '2026-07-21 20:06:12'::timestamp) - extract(epoch from '2026-07-21 20:06: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'), 47374, 'SRID=4674;POINT (-38.628042 -3.638235)', '2026-07-21 20:06:19', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628117 -3.638103)'), GeomFromEWKT('SRID=4674;POINT (-38.628042 -3.638235)'))) / (select extract(epoch from '2026-07-21 20:06:19'::timestamp) - extract(epoch from '2026-07-21 20:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628117 -3.638103)'), GeomFromEWKT('SRID=4674;POINT (-38.628042 -3.638235)'))) / (select extract(epoch from '2026-07-21 20:06:19'::timestamp) - extract(epoch from '2026-07-21 20:06: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'), 47374, 'SRID=4674;POINT (-38.627952 -3.63831)', '2026-07-21 20:06:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628042 -3.638235)'), GeomFromEWKT('SRID=4674;POINT (-38.627952 -3.63831)'))) / (select extract(epoch from '2026-07-21 20:06:25'::timestamp) - extract(epoch from '2026-07-21 20:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.628042 -3.638235)'), GeomFromEWKT('SRID=4674;POINT (-38.627952 -3.63831)'))) / (select extract(epoch from '2026-07-21 20:06:25'::timestamp) - extract(epoch from '2026-07-21 20:06: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'), 47374, 'SRID=4674;POINT (-38.627864 -3.638425)', '2026-07-21 20:06:32', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627952 -3.63831)'), GeomFromEWKT('SRID=4674;POINT (-38.627864 -3.638425)'))) / (select extract(epoch from '2026-07-21 20:06:32'::timestamp) - extract(epoch from '2026-07-21 20:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627952 -3.63831)'), GeomFromEWKT('SRID=4674;POINT (-38.627864 -3.638425)'))) / (select extract(epoch from '2026-07-21 20:06:32'::timestamp) - extract(epoch from '2026-07-21 20:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627779 -3.638538)', '2026-07-21 20:06:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627864 -3.638425)'), GeomFromEWKT('SRID=4674;POINT (-38.627779 -3.638538)'))) / (select extract(epoch from '2026-07-21 20:06:38'::timestamp) - extract(epoch from '2026-07-21 20:06:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627864 -3.638425)'), GeomFromEWKT('SRID=4674;POINT (-38.627779 -3.638538)'))) / (select extract(epoch from '2026-07-21 20:06:38'::timestamp) - extract(epoch from '2026-07-21 20:06:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.627675 -3.638646)', '2026-07-21 20:06:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627779 -3.638538)'), GeomFromEWKT('SRID=4674;POINT (-38.627675 -3.638646)'))) / (select extract(epoch from '2026-07-21 20:06:45'::timestamp) - extract(epoch from '2026-07-21 20:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627779 -3.638538)'), GeomFromEWKT('SRID=4674;POINT (-38.627675 -3.638646)'))) / (select extract(epoch from '2026-07-21 20:06:45'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.62757 -3.638776)', '2026-07-21 20:06:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627675 -3.638646)'), GeomFromEWKT('SRID=4674;POINT (-38.62757 -3.638776)'))) / (select extract(epoch from '2026-07-21 20:06:53'::timestamp) - extract(epoch from '2026-07-21 20:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627675 -3.638646)'), GeomFromEWKT('SRID=4674;POINT (-38.62757 -3.638776)'))) / (select extract(epoch from '2026-07-21 20:06:53'::timestamp) - extract(epoch from '2026-07-21 20:06: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'), 47374, 'SRID=4674;POINT (-38.627495 -3.638886)', '2026-07-21 20:06:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62757 -3.638776)'), GeomFromEWKT('SRID=4674;POINT (-38.627495 -3.638886)'))) / (select extract(epoch from '2026-07-21 20:06:59'::timestamp) - extract(epoch from '2026-07-21 20:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62757 -3.638776)'), GeomFromEWKT('SRID=4674;POINT (-38.627495 -3.638886)'))) / (select extract(epoch from '2026-07-21 20:06:59'::timestamp) - extract(epoch from '2026-07-21 20:06: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'), 47374, 'SRID=4674;POINT (-38.627408 -3.639015)', '2026-07-21 20:07:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627495 -3.638886)'), GeomFromEWKT('SRID=4674;POINT (-38.627408 -3.639015)'))) / (select extract(epoch from '2026-07-21 20:07:06'::timestamp) - extract(epoch from '2026-07-21 20:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627495 -3.638886)'), GeomFromEWKT('SRID=4674;POINT (-38.627408 -3.639015)'))) / (select extract(epoch from '2026-07-21 20:07:06'::timestamp) - extract(epoch from '2026-07-21 20:06:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62734 -3.639122)', '2026-07-21 20:07:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627408 -3.639015)'), GeomFromEWKT('SRID=4674;POINT (-38.62734 -3.639122)'))) / (select extract(epoch from '2026-07-21 20:07:12'::timestamp) - extract(epoch from '2026-07-21 20:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627408 -3.639015)'), GeomFromEWKT('SRID=4674;POINT (-38.62734 -3.639122)'))) / (select extract(epoch from '2026-07-21 20:07:12'::timestamp) - extract(epoch from '2026-07-21 20:07: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'), 47374, 'SRID=4674;POINT (-38.627264 -3.639236)', '2026-07-21 20:07:17', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62734 -3.639122)'), GeomFromEWKT('SRID=4674;POINT (-38.627264 -3.639236)'))) / (select extract(epoch from '2026-07-21 20:07:17'::timestamp) - extract(epoch from '2026-07-21 20:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62734 -3.639122)'), GeomFromEWKT('SRID=4674;POINT (-38.627264 -3.639236)'))) / (select extract(epoch from '2026-07-21 20:07:17'::timestamp) - extract(epoch from '2026-07-21 20:07: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'), 47374, 'SRID=4674;POINT (-38.627186 -3.639366)', '2026-07-21 20:07:24', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627264 -3.639236)'), GeomFromEWKT('SRID=4674;POINT (-38.627186 -3.639366)'))) / (select extract(epoch from '2026-07-21 20:07:24'::timestamp) - extract(epoch from '2026-07-21 20:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627264 -3.639236)'), GeomFromEWKT('SRID=4674;POINT (-38.627186 -3.639366)'))) / (select extract(epoch from '2026-07-21 20:07:24'::timestamp) - extract(epoch from '2026-07-21 20:07: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'), 47374, 'SRID=4674;POINT (-38.627131 -3.639498)', '2026-07-21 20:07:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627186 -3.639366)'), GeomFromEWKT('SRID=4674;POINT (-38.627131 -3.639498)'))) / (select extract(epoch from '2026-07-21 20:07:31'::timestamp) - extract(epoch from '2026-07-21 20:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627186 -3.639366)'), GeomFromEWKT('SRID=4674;POINT (-38.627131 -3.639498)'))) / (select extract(epoch from '2026-07-21 20:07:31'::timestamp) - extract(epoch from '2026-07-21 20:07: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'), 47374, 'SRID=4674;POINT (-38.62706 -3.639645)', '2026-07-21 20:07:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627131 -3.639498)'), GeomFromEWKT('SRID=4674;POINT (-38.62706 -3.639645)'))) / (select extract(epoch from '2026-07-21 20:07:39'::timestamp) - extract(epoch from '2026-07-21 20:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.627131 -3.639498)'), GeomFromEWKT('SRID=4674;POINT (-38.62706 -3.639645)'))) / (select extract(epoch from '2026-07-21 20:07:39'::timestamp) - extract(epoch from '2026-07-21 20:07:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626947 -3.639814)', '2026-07-21 20:07:48', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62706 -3.639645)'), GeomFromEWKT('SRID=4674;POINT (-38.626947 -3.639814)'))) / (select extract(epoch from '2026-07-21 20:07:48'::timestamp) - extract(epoch from '2026-07-21 20:07:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62706 -3.639645)'), GeomFromEWKT('SRID=4674;POINT (-38.626947 -3.639814)'))) / (select extract(epoch from '2026-07-21 20:07:48'::timestamp) - extract(epoch from '2026-07-21 20:07: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'), 47374, 'SRID=4674;POINT (-38.626886 -3.639933)', '2026-07-21 20:07:54', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626947 -3.639814)'), GeomFromEWKT('SRID=4674;POINT (-38.626886 -3.639933)'))) / (select extract(epoch from '2026-07-21 20:07:54'::timestamp) - extract(epoch from '2026-07-21 20:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626947 -3.639814)'), GeomFromEWKT('SRID=4674;POINT (-38.626886 -3.639933)'))) / (select extract(epoch from '2026-07-21 20:07:54'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.626817 -3.640071)', '2026-07-21 20:08:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626886 -3.639933)'), GeomFromEWKT('SRID=4674;POINT (-38.626817 -3.640071)'))) / (select extract(epoch from '2026-07-21 20:08:02'::timestamp) - extract(epoch from '2026-07-21 20:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626886 -3.639933)'), GeomFromEWKT('SRID=4674;POINT (-38.626817 -3.640071)'))) / (select extract(epoch from '2026-07-21 20:08:02'::timestamp) - extract(epoch from '2026-07-21 20:07:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626781 -3.640224)', '2026-07-21 20:08:09', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626817 -3.640071)'), GeomFromEWKT('SRID=4674;POINT (-38.626781 -3.640224)'))) / (select extract(epoch from '2026-07-21 20:08:09'::timestamp) - extract(epoch from '2026-07-21 20:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626817 -3.640071)'), GeomFromEWKT('SRID=4674;POINT (-38.626781 -3.640224)'))) / (select extract(epoch from '2026-07-21 20:08:09'::timestamp) - extract(epoch from '2026-07-21 20:08: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'), 47374, 'SRID=4674;POINT (-38.626693 -3.640375)', '2026-07-21 20:08:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626781 -3.640224)'), GeomFromEWKT('SRID=4674;POINT (-38.626693 -3.640375)'))) / (select extract(epoch from '2026-07-21 20:08:17'::timestamp) - extract(epoch from '2026-07-21 20:08:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626781 -3.640224)'), GeomFromEWKT('SRID=4674;POINT (-38.626693 -3.640375)'))) / (select extract(epoch from '2026-07-21 20:08:17'::timestamp) - extract(epoch from '2026-07-21 20:08: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'), 47374, 'SRID=4674;POINT (-38.626612 -3.640528)', '2026-07-21 20:08:24', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626693 -3.640375)'), GeomFromEWKT('SRID=4674;POINT (-38.626612 -3.640528)'))) / (select extract(epoch from '2026-07-21 20:08:24'::timestamp) - extract(epoch from '2026-07-21 20:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626693 -3.640375)'), GeomFromEWKT('SRID=4674;POINT (-38.626612 -3.640528)'))) / (select extract(epoch from '2026-07-21 20:08:24'::timestamp) - extract(epoch from '2026-07-21 20:08: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'), 47374, 'SRID=4674;POINT (-38.626571 -3.640634)', '2026-07-21 20:08:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626612 -3.640528)'), GeomFromEWKT('SRID=4674;POINT (-38.626571 -3.640634)'))) / (select extract(epoch from '2026-07-21 20:08:29'::timestamp) - extract(epoch from '2026-07-21 20:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626612 -3.640528)'), GeomFromEWKT('SRID=4674;POINT (-38.626571 -3.640634)'))) / (select extract(epoch from '2026-07-21 20:08:29'::timestamp) - extract(epoch from '2026-07-21 20:08:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626504 -3.640804)', '2026-07-21 20:08:37', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626571 -3.640634)'), GeomFromEWKT('SRID=4674;POINT (-38.626504 -3.640804)'))) / (select extract(epoch from '2026-07-21 20:08:37'::timestamp) - extract(epoch from '2026-07-21 20:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626571 -3.640634)'), GeomFromEWKT('SRID=4674;POINT (-38.626504 -3.640804)'))) / (select extract(epoch from '2026-07-21 20:08:37'::timestamp) - extract(epoch from '2026-07-21 20:08:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626443 -3.64093)', '2026-07-21 20:08:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626504 -3.640804)'), GeomFromEWKT('SRID=4674;POINT (-38.626443 -3.64093)'))) / (select extract(epoch from '2026-07-21 20:08:43'::timestamp) - extract(epoch from '2026-07-21 20:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626504 -3.640804)'), GeomFromEWKT('SRID=4674;POINT (-38.626443 -3.64093)'))) / (select extract(epoch from '2026-07-21 20:08:43'::timestamp) - extract(epoch from '2026-07-21 20:08: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'), 47374, 'SRID=4674;POINT (-38.626368 -3.641045)', '2026-07-21 20:08:50', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626443 -3.64093)'), GeomFromEWKT('SRID=4674;POINT (-38.626368 -3.641045)'))) / (select extract(epoch from '2026-07-21 20:08:50'::timestamp) - extract(epoch from '2026-07-21 20:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626443 -3.64093)'), GeomFromEWKT('SRID=4674;POINT (-38.626368 -3.641045)'))) / (select extract(epoch from '2026-07-21 20:08:50'::timestamp) - extract(epoch from '2026-07-21 20:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626321 -3.641134)', '2026-07-21 20:08:55', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626368 -3.641045)'), GeomFromEWKT('SRID=4674;POINT (-38.626321 -3.641134)'))) / (select extract(epoch from '2026-07-21 20:08:55'::timestamp) - extract(epoch from '2026-07-21 20:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626368 -3.641045)'), GeomFromEWKT('SRID=4674;POINT (-38.626321 -3.641134)'))) / (select extract(epoch from '2026-07-21 20:08:55'::timestamp) - extract(epoch from '2026-07-21 20:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626233 -3.641283)', '2026-07-21 20:09:03', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626321 -3.641134)'), GeomFromEWKT('SRID=4674;POINT (-38.626233 -3.641283)'))) / (select extract(epoch from '2026-07-21 20:09:03'::timestamp) - extract(epoch from '2026-07-21 20:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626321 -3.641134)'), GeomFromEWKT('SRID=4674;POINT (-38.626233 -3.641283)'))) / (select extract(epoch from '2026-07-21 20:09:03'::timestamp) - extract(epoch from '2026-07-21 20:08:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626162 -3.64141)', '2026-07-21 20:09:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626233 -3.641283)'), GeomFromEWKT('SRID=4674;POINT (-38.626162 -3.64141)'))) / (select extract(epoch from '2026-07-21 20:09:09'::timestamp) - extract(epoch from '2026-07-21 20:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626233 -3.641283)'), GeomFromEWKT('SRID=4674;POINT (-38.626162 -3.64141)'))) / (select extract(epoch from '2026-07-21 20:09:09'::timestamp) - extract(epoch from '2026-07-21 20:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626108 -3.64155)', '2026-07-21 20:09:16', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626162 -3.64141)'), GeomFromEWKT('SRID=4674;POINT (-38.626108 -3.64155)'))) / (select extract(epoch from '2026-07-21 20:09:16'::timestamp) - extract(epoch from '2026-07-21 20:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626162 -3.64141)'), GeomFromEWKT('SRID=4674;POINT (-38.626108 -3.64155)'))) / (select extract(epoch from '2026-07-21 20:09:16'::timestamp) - extract(epoch from '2026-07-21 20:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626076 -3.641691)', '2026-07-21 20:09:22', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626108 -3.64155)'), GeomFromEWKT('SRID=4674;POINT (-38.626076 -3.641691)'))) / (select extract(epoch from '2026-07-21 20:09:22'::timestamp) - extract(epoch from '2026-07-21 20:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626108 -3.64155)'), GeomFromEWKT('SRID=4674;POINT (-38.626076 -3.641691)'))) / (select extract(epoch from '2026-07-21 20:09:22'::timestamp) - extract(epoch from '2026-07-21 20:09: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'), 47374, 'SRID=4674;POINT (-38.626055 -3.641816)', '2026-07-21 20:09:27', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626076 -3.641691)'), GeomFromEWKT('SRID=4674;POINT (-38.626055 -3.641816)'))) / (select extract(epoch from '2026-07-21 20:09:27'::timestamp) - extract(epoch from '2026-07-21 20:09:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626076 -3.641691)'), GeomFromEWKT('SRID=4674;POINT (-38.626055 -3.641816)'))) / (select extract(epoch from '2026-07-21 20:09:27'::timestamp) - extract(epoch from '2026-07-21 20:09:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.626026 -3.641892)', '2026-07-21 20:09:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626055 -3.641816)'), GeomFromEWKT('SRID=4674;POINT (-38.626026 -3.641892)'))) / (select extract(epoch from '2026-07-21 20:09:31'::timestamp) - extract(epoch from '2026-07-21 20:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626055 -3.641816)'), GeomFromEWKT('SRID=4674;POINT (-38.626026 -3.641892)'))) / (select extract(epoch from '2026-07-21 20:09:31'::timestamp) - extract(epoch from '2026-07-21 20:09: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'), 47374, 'SRID=4674;POINT (-38.62601 -3.641908)', '2026-07-21 20:09:32', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626026 -3.641892)'), GeomFromEWKT('SRID=4674;POINT (-38.62601 -3.641908)'))) / (select extract(epoch from '2026-07-21 20:09:32'::timestamp) - extract(epoch from '2026-07-21 20:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.626026 -3.641892)'), GeomFromEWKT('SRID=4674;POINT (-38.62601 -3.641908)'))) / (select extract(epoch from '2026-07-21 20:09:32'::timestamp) - extract(epoch from '2026-07-21 20:09: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'), 47374, 'SRID=4674;POINT (-38.625904 -3.642029)', '2026-07-21 20:09:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62601 -3.641908)'), GeomFromEWKT('SRID=4674;POINT (-38.625904 -3.642029)'))) / (select extract(epoch from '2026-07-21 20:09:39'::timestamp) - extract(epoch from '2026-07-21 20:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62601 -3.641908)'), GeomFromEWKT('SRID=4674;POINT (-38.625904 -3.642029)'))) / (select extract(epoch from '2026-07-21 20:09:39'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.625894 -3.64205)', '2026-07-21 20:09:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625904 -3.642029)'), GeomFromEWKT('SRID=4674;POINT (-38.625894 -3.64205)'))) / (select extract(epoch from '2026-07-21 20:09:40'::timestamp) - extract(epoch from '2026-07-21 20:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625904 -3.642029)'), GeomFromEWKT('SRID=4674;POINT (-38.625894 -3.64205)'))) / (select extract(epoch from '2026-07-21 20:09:40'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.625847 -3.642129)', '2026-07-21 20:09:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625894 -3.64205)'), GeomFromEWKT('SRID=4674;POINT (-38.625847 -3.642129)'))) / (select extract(epoch from '2026-07-21 20:09:44'::timestamp) - extract(epoch from '2026-07-21 20:09:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625894 -3.64205)'), GeomFromEWKT('SRID=4674;POINT (-38.625847 -3.642129)'))) / (select extract(epoch from '2026-07-21 20:09:44'::timestamp) - extract(epoch from '2026-07-21 20:09: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'), 47374, 'SRID=4674;POINT (-38.625795 -3.642239)', '2026-07-21 20:09:50', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625847 -3.642129)'), GeomFromEWKT('SRID=4674;POINT (-38.625795 -3.642239)'))) / (select extract(epoch from '2026-07-21 20:09:50'::timestamp) - extract(epoch from '2026-07-21 20:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625847 -3.642129)'), GeomFromEWKT('SRID=4674;POINT (-38.625795 -3.642239)'))) / (select extract(epoch from '2026-07-21 20:09:50'::timestamp) - extract(epoch from '2026-07-21 20:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.625735 -3.642356)', '2026-07-21 20:09:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625795 -3.642239)'), GeomFromEWKT('SRID=4674;POINT (-38.625735 -3.642356)'))) / (select extract(epoch from '2026-07-21 20:09:56'::timestamp) - extract(epoch from '2026-07-21 20:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625795 -3.642239)'), GeomFromEWKT('SRID=4674;POINT (-38.625735 -3.642356)'))) / (select extract(epoch from '2026-07-21 20:09:56'::timestamp) - extract(epoch from '2026-07-21 20:09: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'), 47374, 'SRID=4674;POINT (-38.625652 -3.642449)', '2026-07-21 20:10:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625735 -3.642356)'), GeomFromEWKT('SRID=4674;POINT (-38.625652 -3.642449)'))) / (select extract(epoch from '2026-07-21 20:10:02'::timestamp) - extract(epoch from '2026-07-21 20:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625735 -3.642356)'), GeomFromEWKT('SRID=4674;POINT (-38.625652 -3.642449)'))) / (select extract(epoch from '2026-07-21 20:10:02'::timestamp) - extract(epoch from '2026-07-21 20:09:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.625548 -3.642572)', '2026-07-21 20:10:09', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625652 -3.642449)'), GeomFromEWKT('SRID=4674;POINT (-38.625548 -3.642572)'))) / (select extract(epoch from '2026-07-21 20:10:09'::timestamp) - extract(epoch from '2026-07-21 20:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625652 -3.642449)'), GeomFromEWKT('SRID=4674;POINT (-38.625548 -3.642572)'))) / (select extract(epoch from '2026-07-21 20:10:09'::timestamp) - extract(epoch from '2026-07-21 20:10:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.625496 -3.642698)', '2026-07-21 20:10:15', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625548 -3.642572)'), GeomFromEWKT('SRID=4674;POINT (-38.625496 -3.642698)'))) / (select extract(epoch from '2026-07-21 20:10:15'::timestamp) - extract(epoch from '2026-07-21 20:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625548 -3.642572)'), GeomFromEWKT('SRID=4674;POINT (-38.625496 -3.642698)'))) / (select extract(epoch from '2026-07-21 20:10:15'::timestamp) - extract(epoch from '2026-07-21 20:10: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'), 47374, 'SRID=4674;POINT (-38.62545 -3.642844)', '2026-07-21 20:10:22', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625496 -3.642698)'), GeomFromEWKT('SRID=4674;POINT (-38.62545 -3.642844)'))) / (select extract(epoch from '2026-07-21 20:10:22'::timestamp) - extract(epoch from '2026-07-21 20:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625496 -3.642698)'), GeomFromEWKT('SRID=4674;POINT (-38.62545 -3.642844)'))) / (select extract(epoch from '2026-07-21 20:10:22'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.625392 -3.642967)', '2026-07-21 20:10:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62545 -3.642844)'), GeomFromEWKT('SRID=4674;POINT (-38.625392 -3.642967)'))) / (select extract(epoch from '2026-07-21 20:10:28'::timestamp) - extract(epoch from '2026-07-21 20:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62545 -3.642844)'), GeomFromEWKT('SRID=4674;POINT (-38.625392 -3.642967)'))) / (select extract(epoch from '2026-07-21 20:10:28'::timestamp) - extract(epoch from '2026-07-21 20:10: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'), 47374, 'SRID=4674;POINT (-38.625337 -3.643088)', '2026-07-21 20:10:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625392 -3.642967)'), GeomFromEWKT('SRID=4674;POINT (-38.625337 -3.643088)'))) / (select extract(epoch from '2026-07-21 20:10:34'::timestamp) - extract(epoch from '2026-07-21 20:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625392 -3.642967)'), GeomFromEWKT('SRID=4674;POINT (-38.625337 -3.643088)'))) / (select extract(epoch from '2026-07-21 20:10:34'::timestamp) - extract(epoch from '2026-07-21 20:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.625267 -3.64321)', '2026-07-21 20:10:40', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625337 -3.643088)'), GeomFromEWKT('SRID=4674;POINT (-38.625267 -3.64321)'))) / (select extract(epoch from '2026-07-21 20:10:40'::timestamp) - extract(epoch from '2026-07-21 20:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625337 -3.643088)'), GeomFromEWKT('SRID=4674;POINT (-38.625267 -3.64321)'))) / (select extract(epoch from '2026-07-21 20:10:40'::timestamp) - extract(epoch from '2026-07-21 20:10:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.625192 -3.643347)', '2026-07-21 20:10:47', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625267 -3.64321)'), GeomFromEWKT('SRID=4674;POINT (-38.625192 -3.643347)'))) / (select extract(epoch from '2026-07-21 20:10:47'::timestamp) - extract(epoch from '2026-07-21 20:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625267 -3.64321)'), GeomFromEWKT('SRID=4674;POINT (-38.625192 -3.643347)'))) / (select extract(epoch from '2026-07-21 20:10:47'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.625126 -3.643454)', '2026-07-21 20:10:53', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625192 -3.643347)'), GeomFromEWKT('SRID=4674;POINT (-38.625126 -3.643454)'))) / (select extract(epoch from '2026-07-21 20:10:53'::timestamp) - extract(epoch from '2026-07-21 20:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625192 -3.643347)'), GeomFromEWKT('SRID=4674;POINT (-38.625126 -3.643454)'))) / (select extract(epoch from '2026-07-21 20:10:53'::timestamp) - extract(epoch from '2026-07-21 20:10: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'), 47374, 'SRID=4674;POINT (-38.625073 -3.643555)', '2026-07-21 20:10:58', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625126 -3.643454)'), GeomFromEWKT('SRID=4674;POINT (-38.625073 -3.643555)'))) / (select extract(epoch from '2026-07-21 20:10:58'::timestamp) - extract(epoch from '2026-07-21 20:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625126 -3.643454)'), GeomFromEWKT('SRID=4674;POINT (-38.625073 -3.643555)'))) / (select extract(epoch from '2026-07-21 20:10:58'::timestamp) - extract(epoch from '2026-07-21 20:10: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'), 47374, 'SRID=4674;POINT (-38.625031 -3.643685)', '2026-07-21 20:11:04', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625073 -3.643555)'), GeomFromEWKT('SRID=4674;POINT (-38.625031 -3.643685)'))) / (select extract(epoch from '2026-07-21 20:11:04'::timestamp) - extract(epoch from '2026-07-21 20:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625073 -3.643555)'), GeomFromEWKT('SRID=4674;POINT (-38.625031 -3.643685)'))) / (select extract(epoch from '2026-07-21 20:11:04'::timestamp) - extract(epoch from '2026-07-21 20:10: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'), 47374, 'SRID=4674;POINT (-38.624969 -3.643789)', '2026-07-21 20:11:10', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625031 -3.643685)'), GeomFromEWKT('SRID=4674;POINT (-38.624969 -3.643789)'))) / (select extract(epoch from '2026-07-21 20:11:10'::timestamp) - extract(epoch from '2026-07-21 20:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.625031 -3.643685)'), GeomFromEWKT('SRID=4674;POINT (-38.624969 -3.643789)'))) / (select extract(epoch from '2026-07-21 20:11:10'::timestamp) - extract(epoch from '2026-07-21 20:11: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'), 47374, 'SRID=4674;POINT (-38.62491 -3.643914)', '2026-07-21 20:11:16', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624969 -3.643789)'), GeomFromEWKT('SRID=4674;POINT (-38.62491 -3.643914)'))) / (select extract(epoch from '2026-07-21 20:11:16'::timestamp) - extract(epoch from '2026-07-21 20:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624969 -3.643789)'), GeomFromEWKT('SRID=4674;POINT (-38.62491 -3.643914)'))) / (select extract(epoch from '2026-07-21 20:11:16'::timestamp) - extract(epoch from '2026-07-21 20:11: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'), 47374, 'SRID=4674;POINT (-38.624831 -3.644076)', '2026-07-21 20:11:23', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62491 -3.643914)'), GeomFromEWKT('SRID=4674;POINT (-38.624831 -3.644076)'))) / (select extract(epoch from '2026-07-21 20:11:23'::timestamp) - extract(epoch from '2026-07-21 20:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62491 -3.643914)'), GeomFromEWKT('SRID=4674;POINT (-38.624831 -3.644076)'))) / (select extract(epoch from '2026-07-21 20:11:23'::timestamp) - extract(epoch from '2026-07-21 20:11:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.624793 -3.644221)', '2026-07-21 20:11:30', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624831 -3.644076)'), GeomFromEWKT('SRID=4674;POINT (-38.624793 -3.644221)'))) / (select extract(epoch from '2026-07-21 20:11:30'::timestamp) - extract(epoch from '2026-07-21 20:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624831 -3.644076)'), GeomFromEWKT('SRID=4674;POINT (-38.624793 -3.644221)'))) / (select extract(epoch from '2026-07-21 20:11:30'::timestamp) - extract(epoch from '2026-07-21 20:11: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'), 47374, 'SRID=4674;POINT (-38.624743 -3.644399)', '2026-07-21 20:11:38', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624793 -3.644221)'), GeomFromEWKT('SRID=4674;POINT (-38.624743 -3.644399)'))) / (select extract(epoch from '2026-07-21 20:11:38'::timestamp) - extract(epoch from '2026-07-21 20:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624793 -3.644221)'), GeomFromEWKT('SRID=4674;POINT (-38.624743 -3.644399)'))) / (select extract(epoch from '2026-07-21 20:11:38'::timestamp) - extract(epoch from '2026-07-21 20:11: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'), 47374, 'SRID=4674;POINT (-38.624687 -3.644553)', '2026-07-21 20:11:44', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624743 -3.644399)'), GeomFromEWKT('SRID=4674;POINT (-38.624687 -3.644553)'))) / (select extract(epoch from '2026-07-21 20:11:44'::timestamp) - extract(epoch from '2026-07-21 20:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624743 -3.644399)'), GeomFromEWKT('SRID=4674;POINT (-38.624687 -3.644553)'))) / (select extract(epoch from '2026-07-21 20:11:44'::timestamp) - extract(epoch from '2026-07-21 20:11: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'), 47374, 'SRID=4674;POINT (-38.624614 -3.644695)', '2026-07-21 20:11:50', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624687 -3.644553)'), GeomFromEWKT('SRID=4674;POINT (-38.624614 -3.644695)'))) / (select extract(epoch from '2026-07-21 20:11:50'::timestamp) - extract(epoch from '2026-07-21 20:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624687 -3.644553)'), GeomFromEWKT('SRID=4674;POINT (-38.624614 -3.644695)'))) / (select extract(epoch from '2026-07-21 20:11:50'::timestamp) - extract(epoch from '2026-07-21 20:11: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'), 47374, 'SRID=4674;POINT (-38.624539 -3.644829)', '2026-07-21 20:11:56', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624614 -3.644695)'), GeomFromEWKT('SRID=4674;POINT (-38.624539 -3.644829)'))) / (select extract(epoch from '2026-07-21 20:11:56'::timestamp) - extract(epoch from '2026-07-21 20:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624614 -3.644695)'), GeomFromEWKT('SRID=4674;POINT (-38.624539 -3.644829)'))) / (select extract(epoch from '2026-07-21 20:11:56'::timestamp) - extract(epoch from '2026-07-21 20:11:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.624459 -3.644985)', '2026-07-21 20:12:03', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624539 -3.644829)'), GeomFromEWKT('SRID=4674;POINT (-38.624459 -3.644985)'))) / (select extract(epoch from '2026-07-21 20:12:03'::timestamp) - extract(epoch from '2026-07-21 20:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624539 -3.644829)'), GeomFromEWKT('SRID=4674;POINT (-38.624459 -3.644985)'))) / (select extract(epoch from '2026-07-21 20:12:03'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.624415 -3.645134)', '2026-07-21 20:12:09', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624459 -3.644985)'), GeomFromEWKT('SRID=4674;POINT (-38.624415 -3.645134)'))) / (select extract(epoch from '2026-07-21 20:12:09'::timestamp) - extract(epoch from '2026-07-21 20:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624459 -3.644985)'), GeomFromEWKT('SRID=4674;POINT (-38.624415 -3.645134)'))) / (select extract(epoch from '2026-07-21 20:12:09'::timestamp) - extract(epoch from '2026-07-21 20:12: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'), 47374, 'SRID=4674;POINT (-38.624337 -3.645304)', '2026-07-21 20:12:16', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624415 -3.645134)'), GeomFromEWKT('SRID=4674;POINT (-38.624337 -3.645304)'))) / (select extract(epoch from '2026-07-21 20:12:16'::timestamp) - extract(epoch from '2026-07-21 20:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624415 -3.645134)'), GeomFromEWKT('SRID=4674;POINT (-38.624337 -3.645304)'))) / (select extract(epoch from '2026-07-21 20:12:16'::timestamp) - extract(epoch from '2026-07-21 20:12:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.624265 -3.645446)', '2026-07-21 20:12:23', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624337 -3.645304)'), GeomFromEWKT('SRID=4674;POINT (-38.624265 -3.645446)'))) / (select extract(epoch from '2026-07-21 20:12:23'::timestamp) - extract(epoch from '2026-07-21 20:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624337 -3.645304)'), GeomFromEWKT('SRID=4674;POINT (-38.624265 -3.645446)'))) / (select extract(epoch from '2026-07-21 20:12:23'::timestamp) - extract(epoch from '2026-07-21 20:12: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'), 47374, 'SRID=4674;POINT (-38.624194 -3.645601)', '2026-07-21 20:12:29', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624265 -3.645446)'), GeomFromEWKT('SRID=4674;POINT (-38.624194 -3.645601)'))) / (select extract(epoch from '2026-07-21 20:12:29'::timestamp) - extract(epoch from '2026-07-21 20:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624265 -3.645446)'), GeomFromEWKT('SRID=4674;POINT (-38.624194 -3.645601)'))) / (select extract(epoch from '2026-07-21 20:12:29'::timestamp) - extract(epoch from '2026-07-21 20:12: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'), 47374, 'SRID=4674;POINT (-38.62413 -3.645709)', '2026-07-21 20:12:34', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624194 -3.645601)'), GeomFromEWKT('SRID=4674;POINT (-38.62413 -3.645709)'))) / (select extract(epoch from '2026-07-21 20:12:34'::timestamp) - extract(epoch from '2026-07-21 20:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624194 -3.645601)'), GeomFromEWKT('SRID=4674;POINT (-38.62413 -3.645709)'))) / (select extract(epoch from '2026-07-21 20:12:34'::timestamp) - extract(epoch from '2026-07-21 20:12: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'), 47374, 'SRID=4674;POINT (-38.624058 -3.645855)', '2026-07-21 20:12:40', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62413 -3.645709)'), GeomFromEWKT('SRID=4674;POINT (-38.624058 -3.645855)'))) / (select extract(epoch from '2026-07-21 20:12:40'::timestamp) - extract(epoch from '2026-07-21 20:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62413 -3.645709)'), GeomFromEWKT('SRID=4674;POINT (-38.624058 -3.645855)'))) / (select extract(epoch from '2026-07-21 20:12:40'::timestamp) - extract(epoch from '2026-07-21 20:12: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'), 47374, 'SRID=4674;POINT (-38.623993 -3.646032)', '2026-07-21 20:12:47', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624058 -3.645855)'), GeomFromEWKT('SRID=4674;POINT (-38.623993 -3.646032)'))) / (select extract(epoch from '2026-07-21 20:12:47'::timestamp) - extract(epoch from '2026-07-21 20:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.624058 -3.645855)'), GeomFromEWKT('SRID=4674;POINT (-38.623993 -3.646032)'))) / (select extract(epoch from '2026-07-21 20:12:47'::timestamp) - extract(epoch from '2026-07-21 20:12:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.623935 -3.646206)', '2026-07-21 20:12:54', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623993 -3.646032)'), GeomFromEWKT('SRID=4674;POINT (-38.623935 -3.646206)'))) / (select extract(epoch from '2026-07-21 20:12:54'::timestamp) - extract(epoch from '2026-07-21 20:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623993 -3.646032)'), GeomFromEWKT('SRID=4674;POINT (-38.623935 -3.646206)'))) / (select extract(epoch from '2026-07-21 20:12:54'::timestamp) - extract(epoch from '2026-07-21 20:12: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'), 47374, 'SRID=4674;POINT (-38.623858 -3.646359)', '2026-07-21 20:13:01', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623935 -3.646206)'), GeomFromEWKT('SRID=4674;POINT (-38.623858 -3.646359)'))) / (select extract(epoch from '2026-07-21 20:13:01'::timestamp) - extract(epoch from '2026-07-21 20:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623935 -3.646206)'), GeomFromEWKT('SRID=4674;POINT (-38.623858 -3.646359)'))) / (select extract(epoch from '2026-07-21 20:13:01'::timestamp) - extract(epoch from '2026-07-21 20:12: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'), 47374, 'SRID=4674;POINT (-38.62375 -3.646493)', '2026-07-21 20:13:08', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623858 -3.646359)'), GeomFromEWKT('SRID=4674;POINT (-38.62375 -3.646493)'))) / (select extract(epoch from '2026-07-21 20:13:08'::timestamp) - extract(epoch from '2026-07-21 20:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623858 -3.646359)'), GeomFromEWKT('SRID=4674;POINT (-38.62375 -3.646493)'))) / (select extract(epoch from '2026-07-21 20:13:08'::timestamp) - extract(epoch from '2026-07-21 20:13: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'), 47374, 'SRID=4674;POINT (-38.623706 -3.646628)', '2026-07-21 20:13:13', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62375 -3.646493)'), GeomFromEWKT('SRID=4674;POINT (-38.623706 -3.646628)'))) / (select extract(epoch from '2026-07-21 20:13:13'::timestamp) - extract(epoch from '2026-07-21 20:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62375 -3.646493)'), GeomFromEWKT('SRID=4674;POINT (-38.623706 -3.646628)'))) / (select extract(epoch from '2026-07-21 20:13:13'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.623646 -3.646736)', '2026-07-21 20:13:18', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623706 -3.646628)'), GeomFromEWKT('SRID=4674;POINT (-38.623646 -3.646736)'))) / (select extract(epoch from '2026-07-21 20:13:18'::timestamp) - extract(epoch from '2026-07-21 20:13:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623706 -3.646628)'), GeomFromEWKT('SRID=4674;POINT (-38.623646 -3.646736)'))) / (select extract(epoch from '2026-07-21 20:13:18'::timestamp) - extract(epoch from '2026-07-21 20:13:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62356 -3.646824)', '2026-07-21 20:13:23', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623646 -3.646736)'), GeomFromEWKT('SRID=4674;POINT (-38.62356 -3.646824)'))) / (select extract(epoch from '2026-07-21 20:13:23'::timestamp) - extract(epoch from '2026-07-21 20:13:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623646 -3.646736)'), GeomFromEWKT('SRID=4674;POINT (-38.62356 -3.646824)'))) / (select extract(epoch from '2026-07-21 20:13:23'::timestamp) - extract(epoch from '2026-07-21 20:13: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'), 47374, 'SRID=4674;POINT (-38.623446 -3.646956)', '2026-07-21 20:13:30', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62356 -3.646824)'), GeomFromEWKT('SRID=4674;POINT (-38.623446 -3.646956)'))) / (select extract(epoch from '2026-07-21 20:13:30'::timestamp) - extract(epoch from '2026-07-21 20:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62356 -3.646824)'), GeomFromEWKT('SRID=4674;POINT (-38.623446 -3.646956)'))) / (select extract(epoch from '2026-07-21 20:13:30'::timestamp) - extract(epoch from '2026-07-21 20:13: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'), 47374, 'SRID=4674;POINT (-38.623401 -3.647043)', '2026-07-21 20:13:34', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623446 -3.646956)'), GeomFromEWKT('SRID=4674;POINT (-38.623401 -3.647043)'))) / (select extract(epoch from '2026-07-21 20:13:34'::timestamp) - extract(epoch from '2026-07-21 20:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623446 -3.646956)'), GeomFromEWKT('SRID=4674;POINT (-38.623401 -3.647043)'))) / (select extract(epoch from '2026-07-21 20:13:34'::timestamp) - extract(epoch from '2026-07-21 20:13: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'), 47374, 'SRID=4674;POINT (-38.623313 -3.647157)', '2026-07-21 20:13:40', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623401 -3.647043)'), GeomFromEWKT('SRID=4674;POINT (-38.623313 -3.647157)'))) / (select extract(epoch from '2026-07-21 20:13:40'::timestamp) - extract(epoch from '2026-07-21 20:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623401 -3.647043)'), GeomFromEWKT('SRID=4674;POINT (-38.623313 -3.647157)'))) / (select extract(epoch from '2026-07-21 20:13:40'::timestamp) - extract(epoch from '2026-07-21 20:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.623236 -3.647327)', '2026-07-21 20:13:47', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623313 -3.647157)'), GeomFromEWKT('SRID=4674;POINT (-38.623236 -3.647327)'))) / (select extract(epoch from '2026-07-21 20:13:47'::timestamp) - extract(epoch from '2026-07-21 20:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623313 -3.647157)'), GeomFromEWKT('SRID=4674;POINT (-38.623236 -3.647327)'))) / (select extract(epoch from '2026-07-21 20:13:47'::timestamp) - extract(epoch from '2026-07-21 20:13: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'), 47374, 'SRID=4674;POINT (-38.623168 -3.647469)', '2026-07-21 20:13:53', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623236 -3.647327)'), GeomFromEWKT('SRID=4674;POINT (-38.623168 -3.647469)'))) / (select extract(epoch from '2026-07-21 20:13:53'::timestamp) - extract(epoch from '2026-07-21 20:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623236 -3.647327)'), GeomFromEWKT('SRID=4674;POINT (-38.623168 -3.647469)'))) / (select extract(epoch from '2026-07-21 20:13:53'::timestamp) - extract(epoch from '2026-07-21 20:13: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'), 47374, 'SRID=4674;POINT (-38.623137 -3.647626)', '2026-07-21 20:13:59', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623168 -3.647469)'), GeomFromEWKT('SRID=4674;POINT (-38.623137 -3.647626)'))) / (select extract(epoch from '2026-07-21 20:13:59'::timestamp) - extract(epoch from '2026-07-21 20:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623168 -3.647469)'), GeomFromEWKT('SRID=4674;POINT (-38.623137 -3.647626)'))) / (select extract(epoch from '2026-07-21 20:13:59'::timestamp) - extract(epoch from '2026-07-21 20:13: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'), 47374, 'SRID=4674;POINT (-38.623071 -3.647756)', '2026-07-21 20:14:05', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623137 -3.647626)'), GeomFromEWKT('SRID=4674;POINT (-38.623071 -3.647756)'))) / (select extract(epoch from '2026-07-21 20:14:05'::timestamp) - extract(epoch from '2026-07-21 20:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623137 -3.647626)'), GeomFromEWKT('SRID=4674;POINT (-38.623071 -3.647756)'))) / (select extract(epoch from '2026-07-21 20:14:05'::timestamp) - extract(epoch from '2026-07-21 20:13:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.622971 -3.647874)', '2026-07-21 20:14:12', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623071 -3.647756)'), GeomFromEWKT('SRID=4674;POINT (-38.622971 -3.647874)'))) / (select extract(epoch from '2026-07-21 20:14:12'::timestamp) - extract(epoch from '2026-07-21 20:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.623071 -3.647756)'), GeomFromEWKT('SRID=4674;POINT (-38.622971 -3.647874)'))) / (select extract(epoch from '2026-07-21 20:14:12'::timestamp) - extract(epoch from '2026-07-21 20:14: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'), 47374, 'SRID=4674;POINT (-38.622904 -3.648026)', '2026-07-21 20:14:19', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622971 -3.647874)'), GeomFromEWKT('SRID=4674;POINT (-38.622904 -3.648026)'))) / (select extract(epoch from '2026-07-21 20:14:19'::timestamp) - extract(epoch from '2026-07-21 20:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622971 -3.647874)'), GeomFromEWKT('SRID=4674;POINT (-38.622904 -3.648026)'))) / (select extract(epoch from '2026-07-21 20:14:19'::timestamp) - extract(epoch from '2026-07-21 20:14: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'), 47374, 'SRID=4674;POINT (-38.62286 -3.64817)', '2026-07-21 20:14:24', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622904 -3.648026)'), GeomFromEWKT('SRID=4674;POINT (-38.62286 -3.64817)'))) / (select extract(epoch from '2026-07-21 20:14:24'::timestamp) - extract(epoch from '2026-07-21 20:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622904 -3.648026)'), GeomFromEWKT('SRID=4674;POINT (-38.62286 -3.64817)'))) / (select extract(epoch from '2026-07-21 20:14:24'::timestamp) - extract(epoch from '2026-07-21 20:14: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'), 47374, 'SRID=4674;POINT (-38.62279 -3.648315)', '2026-07-21 20:14:30', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62286 -3.64817)'), GeomFromEWKT('SRID=4674;POINT (-38.62279 -3.648315)'))) / (select extract(epoch from '2026-07-21 20:14:30'::timestamp) - extract(epoch from '2026-07-21 20:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62286 -3.64817)'), GeomFromEWKT('SRID=4674;POINT (-38.62279 -3.648315)'))) / (select extract(epoch from '2026-07-21 20:14:30'::timestamp) - extract(epoch from '2026-07-21 20:14: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'), 47374, 'SRID=4674;POINT (-38.622717 -3.648441)', '2026-07-21 20:14:36', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62279 -3.648315)'), GeomFromEWKT('SRID=4674;POINT (-38.622717 -3.648441)'))) / (select extract(epoch from '2026-07-21 20:14:36'::timestamp) - extract(epoch from '2026-07-21 20:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62279 -3.648315)'), GeomFromEWKT('SRID=4674;POINT (-38.622717 -3.648441)'))) / (select extract(epoch from '2026-07-21 20:14:36'::timestamp) - extract(epoch from '2026-07-21 20:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.62261 -3.648545)', '2026-07-21 20:14:42', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622717 -3.648441)'), GeomFromEWKT('SRID=4674;POINT (-38.62261 -3.648545)'))) / (select extract(epoch from '2026-07-21 20:14:42'::timestamp) - extract(epoch from '2026-07-21 20:14:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622717 -3.648441)'), GeomFromEWKT('SRID=4674;POINT (-38.62261 -3.648545)'))) / (select extract(epoch from '2026-07-21 20:14:42'::timestamp) - extract(epoch from '2026-07-21 20:14:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.622534 -3.648662)', '2026-07-21 20:14:48', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62261 -3.648545)'), GeomFromEWKT('SRID=4674;POINT (-38.622534 -3.648662)'))) / (select extract(epoch from '2026-07-21 20:14:48'::timestamp) - extract(epoch from '2026-07-21 20:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.62261 -3.648545)'), GeomFromEWKT('SRID=4674;POINT (-38.622534 -3.648662)'))) / (select extract(epoch from '2026-07-21 20:14:48'::timestamp) - extract(epoch from '2026-07-21 20:14: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'), 47374, 'SRID=4674;POINT (-38.622423 -3.648824)', '2026-07-21 20:14:56', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622534 -3.648662)'), GeomFromEWKT('SRID=4674;POINT (-38.622423 -3.648824)'))) / (select extract(epoch from '2026-07-21 20:14:56'::timestamp) - extract(epoch from '2026-07-21 20:14:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622534 -3.648662)'), GeomFromEWKT('SRID=4674;POINT (-38.622423 -3.648824)'))) / (select extract(epoch from '2026-07-21 20:14:56'::timestamp) - extract(epoch from '2026-07-21 20:14:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.622332 -3.649024)', '2026-07-21 20:15:04', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622423 -3.648824)'), GeomFromEWKT('SRID=4674;POINT (-38.622332 -3.649024)'))) / (select extract(epoch from '2026-07-21 20:15:04'::timestamp) - extract(epoch from '2026-07-21 20:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622423 -3.648824)'), GeomFromEWKT('SRID=4674;POINT (-38.622332 -3.649024)'))) / (select extract(epoch from '2026-07-21 20:15:04'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.622271 -3.649161)', '2026-07-21 20:15:10', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622332 -3.649024)'), GeomFromEWKT('SRID=4674;POINT (-38.622271 -3.649161)'))) / (select extract(epoch from '2026-07-21 20:15:10'::timestamp) - extract(epoch from '2026-07-21 20:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622332 -3.649024)'), GeomFromEWKT('SRID=4674;POINT (-38.622271 -3.649161)'))) / (select extract(epoch from '2026-07-21 20:15:10'::timestamp) - extract(epoch from '2026-07-21 20:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.622176 -3.649306)', '2026-07-21 20:15:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622271 -3.649161)'), GeomFromEWKT('SRID=4674;POINT (-38.622176 -3.649306)'))) / (select extract(epoch from '2026-07-21 20:15:17'::timestamp) - extract(epoch from '2026-07-21 20:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622271 -3.649161)'), GeomFromEWKT('SRID=4674;POINT (-38.622176 -3.649306)'))) / (select extract(epoch from '2026-07-21 20:15:17'::timestamp) - extract(epoch from '2026-07-21 20:15: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'), 47374, 'SRID=4674;POINT (-38.622126 -3.649441)', '2026-07-21 20:15:23', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622176 -3.649306)'), GeomFromEWKT('SRID=4674;POINT (-38.622126 -3.649441)'))) / (select extract(epoch from '2026-07-21 20:15:23'::timestamp) - extract(epoch from '2026-07-21 20:15:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622176 -3.649306)'), GeomFromEWKT('SRID=4674;POINT (-38.622126 -3.649441)'))) / (select extract(epoch from '2026-07-21 20:15:23'::timestamp) - extract(epoch from '2026-07-21 20:15: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'), 47374, 'SRID=4674;POINT (-38.622081 -3.649582)', '2026-07-21 20:15:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622126 -3.649441)'), GeomFromEWKT('SRID=4674;POINT (-38.622081 -3.649582)'))) / (select extract(epoch from '2026-07-21 20:15:29'::timestamp) - extract(epoch from '2026-07-21 20:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622126 -3.649441)'), GeomFromEWKT('SRID=4674;POINT (-38.622081 -3.649582)'))) / (select extract(epoch from '2026-07-21 20:15:29'::timestamp) - extract(epoch from '2026-07-21 20:15:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.622003 -3.649731)', '2026-07-21 20:15:36', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622081 -3.649582)'), GeomFromEWKT('SRID=4674;POINT (-38.622003 -3.649731)'))) / (select extract(epoch from '2026-07-21 20:15:36'::timestamp) - extract(epoch from '2026-07-21 20:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622081 -3.649582)'), GeomFromEWKT('SRID=4674;POINT (-38.622003 -3.649731)'))) / (select extract(epoch from '2026-07-21 20:15:36'::timestamp) - extract(epoch from '2026-07-21 20:15: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'), 47374, 'SRID=4674;POINT (-38.621906 -3.649904)', '2026-07-21 20:15:44', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622003 -3.649731)'), GeomFromEWKT('SRID=4674;POINT (-38.621906 -3.649904)'))) / (select extract(epoch from '2026-07-21 20:15:44'::timestamp) - extract(epoch from '2026-07-21 20:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.622003 -3.649731)'), GeomFromEWKT('SRID=4674;POINT (-38.621906 -3.649904)'))) / (select extract(epoch from '2026-07-21 20:15:44'::timestamp) - extract(epoch from '2026-07-21 20:15: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'), 47374, 'SRID=4674;POINT (-38.621839 -3.650083)', '2026-07-21 20:15:51', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621906 -3.649904)'), GeomFromEWKT('SRID=4674;POINT (-38.621839 -3.650083)'))) / (select extract(epoch from '2026-07-21 20:15:51'::timestamp) - extract(epoch from '2026-07-21 20:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621906 -3.649904)'), GeomFromEWKT('SRID=4674;POINT (-38.621839 -3.650083)'))) / (select extract(epoch from '2026-07-21 20:15:51'::timestamp) - extract(epoch from '2026-07-21 20:15:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.621794 -3.650234)', '2026-07-21 20:15:57', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621839 -3.650083)'), GeomFromEWKT('SRID=4674;POINT (-38.621794 -3.650234)'))) / (select extract(epoch from '2026-07-21 20:15:57'::timestamp) - extract(epoch from '2026-07-21 20:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621839 -3.650083)'), GeomFromEWKT('SRID=4674;POINT (-38.621794 -3.650234)'))) / (select extract(epoch from '2026-07-21 20:15:57'::timestamp) - extract(epoch from '2026-07-21 20:15: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'), 47374, 'SRID=4674;POINT (-38.621703 -3.650357)', '2026-07-21 20:16:04', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621794 -3.650234)'), GeomFromEWKT('SRID=4674;POINT (-38.621703 -3.650357)'))) / (select extract(epoch from '2026-07-21 20:16:04'::timestamp) - extract(epoch from '2026-07-21 20:15:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621794 -3.650234)'), GeomFromEWKT('SRID=4674;POINT (-38.621703 -3.650357)'))) / (select extract(epoch from '2026-07-21 20:16:04'::timestamp) - extract(epoch from '2026-07-21 20:15: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'), 47374, 'SRID=4674;POINT (-38.621608 -3.650481)', '2026-07-21 20:16:11', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621703 -3.650357)'), GeomFromEWKT('SRID=4674;POINT (-38.621608 -3.650481)'))) / (select extract(epoch from '2026-07-21 20:16:11'::timestamp) - extract(epoch from '2026-07-21 20:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621703 -3.650357)'), GeomFromEWKT('SRID=4674;POINT (-38.621608 -3.650481)'))) / (select extract(epoch from '2026-07-21 20:16:11'::timestamp) - extract(epoch from '2026-07-21 20:16: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'), 47374, 'SRID=4674;POINT (-38.621537 -3.650613)', '2026-07-21 20:16:17', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621608 -3.650481)'), GeomFromEWKT('SRID=4674;POINT (-38.621537 -3.650613)'))) / (select extract(epoch from '2026-07-21 20:16:17'::timestamp) - extract(epoch from '2026-07-21 20:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621608 -3.650481)'), GeomFromEWKT('SRID=4674;POINT (-38.621537 -3.650613)'))) / (select extract(epoch from '2026-07-21 20:16:17'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.621468 -3.650775)', '2026-07-21 20:16:24', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621537 -3.650613)'), GeomFromEWKT('SRID=4674;POINT (-38.621468 -3.650775)'))) / (select extract(epoch from '2026-07-21 20:16:24'::timestamp) - extract(epoch from '2026-07-21 20:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621537 -3.650613)'), GeomFromEWKT('SRID=4674;POINT (-38.621468 -3.650775)'))) / (select extract(epoch from '2026-07-21 20:16:24'::timestamp) - extract(epoch from '2026-07-21 20:16: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'), 47374, 'SRID=4674;POINT (-38.621419 -3.65091)', '2026-07-21 20:16:29', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621468 -3.650775)'), GeomFromEWKT('SRID=4674;POINT (-38.621419 -3.65091)'))) / (select extract(epoch from '2026-07-21 20:16:29'::timestamp) - extract(epoch from '2026-07-21 20:16:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621468 -3.650775)'), GeomFromEWKT('SRID=4674;POINT (-38.621419 -3.65091)'))) / (select extract(epoch from '2026-07-21 20:16:29'::timestamp) - extract(epoch from '2026-07-21 20:16: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'), 47374, 'SRID=4674;POINT (-38.621317 -3.651119)', '2026-07-21 20:16:38', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621419 -3.65091)'), GeomFromEWKT('SRID=4674;POINT (-38.621317 -3.651119)'))) / (select extract(epoch from '2026-07-21 20:16:38'::timestamp) - extract(epoch from '2026-07-21 20:16:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621419 -3.65091)'), GeomFromEWKT('SRID=4674;POINT (-38.621317 -3.651119)'))) / (select extract(epoch from '2026-07-21 20:16:38'::timestamp) - extract(epoch from '2026-07-21 20:16:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.621256 -3.651263)', '2026-07-21 20:16:44', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621317 -3.651119)'), GeomFromEWKT('SRID=4674;POINT (-38.621256 -3.651263)'))) / (select extract(epoch from '2026-07-21 20:16:44'::timestamp) - extract(epoch from '2026-07-21 20:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621317 -3.651119)'), GeomFromEWKT('SRID=4674;POINT (-38.621256 -3.651263)'))) / (select extract(epoch from '2026-07-21 20:16:44'::timestamp) - extract(epoch from '2026-07-21 20:16: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'), 47374, 'SRID=4674;POINT (-38.621197 -3.651393)', '2026-07-21 20:16:50', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621256 -3.651263)'), GeomFromEWKT('SRID=4674;POINT (-38.621197 -3.651393)'))) / (select extract(epoch from '2026-07-21 20:16:50'::timestamp) - extract(epoch from '2026-07-21 20:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621256 -3.651263)'), GeomFromEWKT('SRID=4674;POINT (-38.621197 -3.651393)'))) / (select extract(epoch from '2026-07-21 20:16:50'::timestamp) - extract(epoch from '2026-07-21 20:16: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'), 47374, 'SRID=4674;POINT (-38.621104 -3.65155)', '2026-07-21 20:16:57', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621197 -3.651393)'), GeomFromEWKT('SRID=4674;POINT (-38.621104 -3.65155)'))) / (select extract(epoch from '2026-07-21 20:16:57'::timestamp) - extract(epoch from '2026-07-21 20:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621197 -3.651393)'), GeomFromEWKT('SRID=4674;POINT (-38.621104 -3.65155)'))) / (select extract(epoch from '2026-07-21 20:16:57'::timestamp) - extract(epoch from '2026-07-21 20:16: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'), 47374, 'SRID=4674;POINT (-38.621056 -3.651697)', '2026-07-21 20:17:03', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621104 -3.65155)'), GeomFromEWKT('SRID=4674;POINT (-38.621056 -3.651697)'))) / (select extract(epoch from '2026-07-21 20:17:03'::timestamp) - extract(epoch from '2026-07-21 20:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621104 -3.65155)'), GeomFromEWKT('SRID=4674;POINT (-38.621056 -3.651697)'))) / (select extract(epoch from '2026-07-21 20:17:03'::timestamp) - extract(epoch from '2026-07-21 20:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.621023 -3.651852)', '2026-07-21 20:17:09', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621056 -3.651697)'), GeomFromEWKT('SRID=4674;POINT (-38.621023 -3.651852)'))) / (select extract(epoch from '2026-07-21 20:17:09'::timestamp) - extract(epoch from '2026-07-21 20:17:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621056 -3.651697)'), GeomFromEWKT('SRID=4674;POINT (-38.621023 -3.651852)'))) / (select extract(epoch from '2026-07-21 20:17:09'::timestamp) - extract(epoch from '2026-07-21 20:17:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.620965 -3.651982)', '2026-07-21 20:17:15', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621023 -3.651852)'), GeomFromEWKT('SRID=4674;POINT (-38.620965 -3.651982)'))) / (select extract(epoch from '2026-07-21 20:17:15'::timestamp) - extract(epoch from '2026-07-21 20:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.621023 -3.651852)'), GeomFromEWKT('SRID=4674;POINT (-38.620965 -3.651982)'))) / (select extract(epoch from '2026-07-21 20:17:15'::timestamp) - extract(epoch from '2026-07-21 20:17:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.620854 -3.65214)', '2026-07-21 20:17:23', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620965 -3.651982)'), GeomFromEWKT('SRID=4674;POINT (-38.620854 -3.65214)'))) / (select extract(epoch from '2026-07-21 20:17:23'::timestamp) - extract(epoch from '2026-07-21 20:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620965 -3.651982)'), GeomFromEWKT('SRID=4674;POINT (-38.620854 -3.65214)'))) / (select extract(epoch from '2026-07-21 20:17:23'::timestamp) - extract(epoch from '2026-07-21 20:17: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'), 47374, 'SRID=4674;POINT (-38.620803 -3.652284)', '2026-07-21 20:17:29', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620854 -3.65214)'), GeomFromEWKT('SRID=4674;POINT (-38.620803 -3.652284)'))) / (select extract(epoch from '2026-07-21 20:17:29'::timestamp) - extract(epoch from '2026-07-21 20:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620854 -3.65214)'), GeomFromEWKT('SRID=4674;POINT (-38.620803 -3.652284)'))) / (select extract(epoch from '2026-07-21 20:17:29'::timestamp) - extract(epoch from '2026-07-21 20:17: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'), 47374, 'SRID=4674;POINT (-38.620762 -3.652466)', '2026-07-21 20:17:36', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620803 -3.652284)'), GeomFromEWKT('SRID=4674;POINT (-38.620762 -3.652466)'))) / (select extract(epoch from '2026-07-21 20:17:36'::timestamp) - extract(epoch from '2026-07-21 20:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620803 -3.652284)'), GeomFromEWKT('SRID=4674;POINT (-38.620762 -3.652466)'))) / (select extract(epoch from '2026-07-21 20:17:36'::timestamp) - extract(epoch from '2026-07-21 20:17: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'), 47374, 'SRID=4674;POINT (-38.620698 -3.652604)', '2026-07-21 20:17:42', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620762 -3.652466)'), GeomFromEWKT('SRID=4674;POINT (-38.620698 -3.652604)'))) / (select extract(epoch from '2026-07-21 20:17:42'::timestamp) - extract(epoch from '2026-07-21 20:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620762 -3.652466)'), GeomFromEWKT('SRID=4674;POINT (-38.620698 -3.652604)'))) / (select extract(epoch from '2026-07-21 20:17:42'::timestamp) - extract(epoch from '2026-07-21 20:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.620653 -3.652779)', '2026-07-21 20:17:49', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620698 -3.652604)'), GeomFromEWKT('SRID=4674;POINT (-38.620653 -3.652779)'))) / (select extract(epoch from '2026-07-21 20:17:49'::timestamp) - extract(epoch from '2026-07-21 20:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620698 -3.652604)'), GeomFromEWKT('SRID=4674;POINT (-38.620653 -3.652779)'))) / (select extract(epoch from '2026-07-21 20:17:49'::timestamp) - extract(epoch from '2026-07-21 20:17: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'), 47374, 'SRID=4674;POINT (-38.620567 -3.652916)', '2026-07-21 20:17:56', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620653 -3.652779)'), GeomFromEWKT('SRID=4674;POINT (-38.620567 -3.652916)'))) / (select extract(epoch from '2026-07-21 20:17:56'::timestamp) - extract(epoch from '2026-07-21 20:17:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620653 -3.652779)'), GeomFromEWKT('SRID=4674;POINT (-38.620567 -3.652916)'))) / (select extract(epoch from '2026-07-21 20:17:56'::timestamp) - extract(epoch from '2026-07-21 20:17: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'), 47374, 'SRID=4674;POINT (-38.620485 -3.653057)', '2026-07-21 20:18:03', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620567 -3.652916)'), GeomFromEWKT('SRID=4674;POINT (-38.620485 -3.653057)'))) / (select extract(epoch from '2026-07-21 20:18:03'::timestamp) - extract(epoch from '2026-07-21 20:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620567 -3.652916)'), GeomFromEWKT('SRID=4674;POINT (-38.620485 -3.653057)'))) / (select extract(epoch from '2026-07-21 20:18:03'::timestamp) - extract(epoch from '2026-07-21 20:17: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'), 47374, 'SRID=4674;POINT (-38.620385 -3.653238)', '2026-07-21 20:18:11', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620485 -3.653057)'), GeomFromEWKT('SRID=4674;POINT (-38.620385 -3.653238)'))) / (select extract(epoch from '2026-07-21 20:18:11'::timestamp) - extract(epoch from '2026-07-21 20:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620485 -3.653057)'), GeomFromEWKT('SRID=4674;POINT (-38.620385 -3.653238)'))) / (select extract(epoch from '2026-07-21 20:18:11'::timestamp) - extract(epoch from '2026-07-21 20:18:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.620307 -3.653374)', '2026-07-21 20:18:17', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620385 -3.653238)'), GeomFromEWKT('SRID=4674;POINT (-38.620307 -3.653374)'))) / (select extract(epoch from '2026-07-21 20:18:17'::timestamp) - extract(epoch from '2026-07-21 20:18:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620385 -3.653238)'), GeomFromEWKT('SRID=4674;POINT (-38.620307 -3.653374)'))) / (select extract(epoch from '2026-07-21 20:18:17'::timestamp) - extract(epoch from '2026-07-21 20:18: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'), 47374, 'SRID=4674;POINT (-38.620257 -3.653523)', '2026-07-21 20:18:23', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620307 -3.653374)'), GeomFromEWKT('SRID=4674;POINT (-38.620257 -3.653523)'))) / (select extract(epoch from '2026-07-21 20:18:23'::timestamp) - extract(epoch from '2026-07-21 20:18:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620307 -3.653374)'), GeomFromEWKT('SRID=4674;POINT (-38.620257 -3.653523)'))) / (select extract(epoch from '2026-07-21 20:18:23'::timestamp) - extract(epoch from '2026-07-21 20:18: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'), 47374, 'SRID=4674;POINT (-38.620222 -3.653705)', '2026-07-21 20:18:30', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620257 -3.653523)'), GeomFromEWKT('SRID=4674;POINT (-38.620222 -3.653705)'))) / (select extract(epoch from '2026-07-21 20:18:30'::timestamp) - extract(epoch from '2026-07-21 20:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620257 -3.653523)'), GeomFromEWKT('SRID=4674;POINT (-38.620222 -3.653705)'))) / (select extract(epoch from '2026-07-21 20:18:30'::timestamp) - extract(epoch from '2026-07-21 20:18: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'), 47374, 'SRID=4674;POINT (-38.620183 -3.653849)', '2026-07-21 20:18:36', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620222 -3.653705)'), GeomFromEWKT('SRID=4674;POINT (-38.620183 -3.653849)'))) / (select extract(epoch from '2026-07-21 20:18:36'::timestamp) - extract(epoch from '2026-07-21 20:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620222 -3.653705)'), GeomFromEWKT('SRID=4674;POINT (-38.620183 -3.653849)'))) / (select extract(epoch from '2026-07-21 20:18:36'::timestamp) - extract(epoch from '2026-07-21 20:18: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'), 47374, 'SRID=4674;POINT (-38.620148 -3.654007)', '2026-07-21 20:18:42', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620183 -3.653849)'), GeomFromEWKT('SRID=4674;POINT (-38.620148 -3.654007)'))) / (select extract(epoch from '2026-07-21 20:18:42'::timestamp) - extract(epoch from '2026-07-21 20:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620183 -3.653849)'), GeomFromEWKT('SRID=4674;POINT (-38.620148 -3.654007)'))) / (select extract(epoch from '2026-07-21 20:18:42'::timestamp) - extract(epoch from '2026-07-21 20:18: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'), 47374, 'SRID=4674;POINT (-38.620096 -3.65418)', '2026-07-21 20:18:50', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620148 -3.654007)'), GeomFromEWKT('SRID=4674;POINT (-38.620096 -3.65418)'))) / (select extract(epoch from '2026-07-21 20:18:50'::timestamp) - extract(epoch from '2026-07-21 20:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620148 -3.654007)'), GeomFromEWKT('SRID=4674;POINT (-38.620096 -3.65418)'))) / (select extract(epoch from '2026-07-21 20:18:50'::timestamp) - extract(epoch from '2026-07-21 20:18:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.620039 -3.654357)', '2026-07-21 20:18:57', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620096 -3.65418)'), GeomFromEWKT('SRID=4674;POINT (-38.620039 -3.654357)'))) / (select extract(epoch from '2026-07-21 20:18:57'::timestamp) - extract(epoch from '2026-07-21 20:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620096 -3.65418)'), GeomFromEWKT('SRID=4674;POINT (-38.620039 -3.654357)'))) / (select extract(epoch from '2026-07-21 20:18:57'::timestamp) - extract(epoch from '2026-07-21 20:18: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'), 47374, 'SRID=4674;POINT (-38.620001 -3.654548)', '2026-07-21 20:19:04', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620039 -3.654357)'), GeomFromEWKT('SRID=4674;POINT (-38.620001 -3.654548)'))) / (select extract(epoch from '2026-07-21 20:19:04'::timestamp) - extract(epoch from '2026-07-21 20:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620039 -3.654357)'), GeomFromEWKT('SRID=4674;POINT (-38.620001 -3.654548)'))) / (select extract(epoch from '2026-07-21 20:19:04'::timestamp) - extract(epoch from '2026-07-21 20:18: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'), 47374, 'SRID=4674;POINT (-38.619946 -3.654693)', '2026-07-21 20:19:10', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620001 -3.654548)'), GeomFromEWKT('SRID=4674;POINT (-38.619946 -3.654693)'))) / (select extract(epoch from '2026-07-21 20:19:10'::timestamp) - extract(epoch from '2026-07-21 20:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.620001 -3.654548)'), GeomFromEWKT('SRID=4674;POINT (-38.619946 -3.654693)'))) / (select extract(epoch from '2026-07-21 20:19:10'::timestamp) - extract(epoch from '2026-07-21 20:19: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'), 47374, 'SRID=4674;POINT (-38.61985 -3.654825)', '2026-07-21 20:19:16', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619946 -3.654693)'), GeomFromEWKT('SRID=4674;POINT (-38.61985 -3.654825)'))) / (select extract(epoch from '2026-07-21 20:19:16'::timestamp) - extract(epoch from '2026-07-21 20:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619946 -3.654693)'), GeomFromEWKT('SRID=4674;POINT (-38.61985 -3.654825)'))) / (select extract(epoch from '2026-07-21 20:19:16'::timestamp) - extract(epoch from '2026-07-21 20:19:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.61977 -3.654964)', '2026-07-21 20:19:22', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61985 -3.654825)'), GeomFromEWKT('SRID=4674;POINT (-38.61977 -3.654964)'))) / (select extract(epoch from '2026-07-21 20:19:22'::timestamp) - extract(epoch from '2026-07-21 20:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61985 -3.654825)'), GeomFromEWKT('SRID=4674;POINT (-38.61977 -3.654964)'))) / (select extract(epoch from '2026-07-21 20:19:22'::timestamp) - extract(epoch from '2026-07-21 20:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.619755 -3.655118)', '2026-07-21 20:19:28', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61977 -3.654964)'), GeomFromEWKT('SRID=4674;POINT (-38.619755 -3.655118)'))) / (select extract(epoch from '2026-07-21 20:19:28'::timestamp) - extract(epoch from '2026-07-21 20:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61977 -3.654964)'), GeomFromEWKT('SRID=4674;POINT (-38.619755 -3.655118)'))) / (select extract(epoch from '2026-07-21 20:19:28'::timestamp) - extract(epoch from '2026-07-21 20:19: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'), 47374, 'SRID=4674;POINT (-38.619763 -3.655308)', '2026-07-21 20:19:35', -10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619755 -3.655118)'), GeomFromEWKT('SRID=4674;POINT (-38.619763 -3.655308)'))) / (select extract(epoch from '2026-07-21 20:19:35'::timestamp) - extract(epoch from '2026-07-21 20:19:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619755 -3.655118)'), GeomFromEWKT('SRID=4674;POINT (-38.619763 -3.655308)'))) / (select extract(epoch from '2026-07-21 20:19:35'::timestamp) - extract(epoch from '2026-07-21 20:19:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.619719 -3.655454)', '2026-07-21 20:19:41', -9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619763 -3.655308)'), GeomFromEWKT('SRID=4674;POINT (-38.619719 -3.655454)'))) / (select extract(epoch from '2026-07-21 20:19:41'::timestamp) - extract(epoch from '2026-07-21 20:19:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619763 -3.655308)'), GeomFromEWKT('SRID=4674;POINT (-38.619719 -3.655454)'))) / (select extract(epoch from '2026-07-21 20:19:41'::timestamp) - extract(epoch from '2026-07-21 20:19: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'), 47374, 'SRID=4674;POINT (-38.619671 -3.655615)', '2026-07-21 20:19:48', -9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619719 -3.655454)'), GeomFromEWKT('SRID=4674;POINT (-38.619671 -3.655615)'))) / (select extract(epoch from '2026-07-21 20:19:48'::timestamp) - extract(epoch from '2026-07-21 20:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619719 -3.655454)'), GeomFromEWKT('SRID=4674;POINT (-38.619671 -3.655615)'))) / (select extract(epoch from '2026-07-21 20:19:48'::timestamp) - extract(epoch from '2026-07-21 20:19:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.619651 -3.655771)', '2026-07-21 20:19:54', -9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619671 -3.655615)'), GeomFromEWKT('SRID=4674;POINT (-38.619651 -3.655771)'))) / (select extract(epoch from '2026-07-21 20:19:54'::timestamp) - extract(epoch from '2026-07-21 20:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619671 -3.655615)'), GeomFromEWKT('SRID=4674;POINT (-38.619651 -3.655771)'))) / (select extract(epoch from '2026-07-21 20:19:54'::timestamp) - extract(epoch from '2026-07-21 20:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.619593 -3.655927)', '2026-07-21 20:20:01', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619651 -3.655771)'), GeomFromEWKT('SRID=4674;POINT (-38.619593 -3.655927)'))) / (select extract(epoch from '2026-07-21 20:20:01'::timestamp) - extract(epoch from '2026-07-21 20:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619651 -3.655771)'), GeomFromEWKT('SRID=4674;POINT (-38.619593 -3.655927)'))) / (select extract(epoch from '2026-07-21 20:20:01'::timestamp) - extract(epoch from '2026-07-21 20:19: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'), 47374, 'SRID=4674;POINT (-38.619526 -3.65608)', '2026-07-21 20:20:08', -8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619593 -3.655927)'), GeomFromEWKT('SRID=4674;POINT (-38.619526 -3.65608)'))) / (select extract(epoch from '2026-07-21 20:20:08'::timestamp) - extract(epoch from '2026-07-21 20:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619593 -3.655927)'), GeomFromEWKT('SRID=4674;POINT (-38.619526 -3.65608)'))) / (select extract(epoch from '2026-07-21 20:20:08'::timestamp) - extract(epoch from '2026-07-21 20:20:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.619472 -3.656248)', '2026-07-21 20:20:15', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619526 -3.65608)'), GeomFromEWKT('SRID=4674;POINT (-38.619472 -3.656248)'))) / (select extract(epoch from '2026-07-21 20:20:15'::timestamp) - extract(epoch from '2026-07-21 20:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619526 -3.65608)'), GeomFromEWKT('SRID=4674;POINT (-38.619472 -3.656248)'))) / (select extract(epoch from '2026-07-21 20:20:15'::timestamp) - extract(epoch from '2026-07-21 20:20:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.619447 -3.656387)', '2026-07-21 20:20:20', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619472 -3.656248)'), GeomFromEWKT('SRID=4674;POINT (-38.619447 -3.656387)'))) / (select extract(epoch from '2026-07-21 20:20:20'::timestamp) - extract(epoch from '2026-07-21 20:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619472 -3.656248)'), GeomFromEWKT('SRID=4674;POINT (-38.619447 -3.656387)'))) / (select extract(epoch from '2026-07-21 20:20:20'::timestamp) - extract(epoch from '2026-07-21 20:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.619433 -3.656551)', '2026-07-21 20:20:26', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619447 -3.656387)'), GeomFromEWKT('SRID=4674;POINT (-38.619433 -3.656551)'))) / (select extract(epoch from '2026-07-21 20:20:26'::timestamp) - extract(epoch from '2026-07-21 20:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619447 -3.656387)'), GeomFromEWKT('SRID=4674;POINT (-38.619433 -3.656551)'))) / (select extract(epoch from '2026-07-21 20:20:26'::timestamp) - extract(epoch from '2026-07-21 20:20: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'), 47374, 'SRID=4674;POINT (-38.619423 -3.65668)', '2026-07-21 20:20:31', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619433 -3.656551)'), GeomFromEWKT('SRID=4674;POINT (-38.619423 -3.65668)'))) / (select extract(epoch from '2026-07-21 20:20:31'::timestamp) - extract(epoch from '2026-07-21 20:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619433 -3.656551)'), GeomFromEWKT('SRID=4674;POINT (-38.619423 -3.65668)'))) / (select extract(epoch from '2026-07-21 20:20:31'::timestamp) - extract(epoch from '2026-07-21 20:20: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'), 47374, 'SRID=4674;POINT (-38.619324 -3.656843)', '2026-07-21 20:20:38', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619423 -3.65668)'), GeomFromEWKT('SRID=4674;POINT (-38.619324 -3.656843)'))) / (select extract(epoch from '2026-07-21 20:20:38'::timestamp) - extract(epoch from '2026-07-21 20:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619423 -3.65668)'), GeomFromEWKT('SRID=4674;POINT (-38.619324 -3.656843)'))) / (select extract(epoch from '2026-07-21 20:20:38'::timestamp) - extract(epoch from '2026-07-21 20:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.619268 -3.656976)', '2026-07-21 20:20:44', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619324 -3.656843)'), GeomFromEWKT('SRID=4674;POINT (-38.619268 -3.656976)'))) / (select extract(epoch from '2026-07-21 20:20:44'::timestamp) - extract(epoch from '2026-07-21 20:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619324 -3.656843)'), GeomFromEWKT('SRID=4674;POINT (-38.619268 -3.656976)'))) / (select extract(epoch from '2026-07-21 20:20:44'::timestamp) - extract(epoch from '2026-07-21 20:20: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'), 47374, 'SRID=4674;POINT (-38.619242 -3.657196)', '2026-07-21 20:20:52', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619268 -3.656976)'), GeomFromEWKT('SRID=4674;POINT (-38.619242 -3.657196)'))) / (select extract(epoch from '2026-07-21 20:20:52'::timestamp) - extract(epoch from '2026-07-21 20:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619268 -3.656976)'), GeomFromEWKT('SRID=4674;POINT (-38.619242 -3.657196)'))) / (select extract(epoch from '2026-07-21 20:20:52'::timestamp) - extract(epoch from '2026-07-21 20:20: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'), 47374, 'SRID=4674;POINT (-38.619183 -3.657383)', '2026-07-21 20:21:00', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619242 -3.657196)'), GeomFromEWKT('SRID=4674;POINT (-38.619183 -3.657383)'))) / (select extract(epoch from '2026-07-21 20:21:00'::timestamp) - extract(epoch from '2026-07-21 20:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619242 -3.657196)'), GeomFromEWKT('SRID=4674;POINT (-38.619183 -3.657383)'))) / (select extract(epoch from '2026-07-21 20:21:00'::timestamp) - extract(epoch from '2026-07-21 20:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.619149 -3.657502)', '2026-07-21 20:21:05', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619183 -3.657383)'), GeomFromEWKT('SRID=4674;POINT (-38.619149 -3.657502)'))) / (select extract(epoch from '2026-07-21 20:21:05'::timestamp) - extract(epoch from '2026-07-21 20:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619183 -3.657383)'), GeomFromEWKT('SRID=4674;POINT (-38.619149 -3.657502)'))) / (select extract(epoch from '2026-07-21 20:21:05'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.619056 -3.657636)', '2026-07-21 20:21:11', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619149 -3.657502)'), GeomFromEWKT('SRID=4674;POINT (-38.619056 -3.657636)'))) / (select extract(epoch from '2026-07-21 20:21:11'::timestamp) - extract(epoch from '2026-07-21 20:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619149 -3.657502)'), GeomFromEWKT('SRID=4674;POINT (-38.619056 -3.657636)'))) / (select extract(epoch from '2026-07-21 20:21:11'::timestamp) - extract(epoch from '2026-07-21 20:21: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'), 47374, 'SRID=4674;POINT (-38.618952 -3.657776)', '2026-07-21 20:21:18', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619056 -3.657636)'), GeomFromEWKT('SRID=4674;POINT (-38.618952 -3.657776)'))) / (select extract(epoch from '2026-07-21 20:21:18'::timestamp) - extract(epoch from '2026-07-21 20:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.619056 -3.657636)'), GeomFromEWKT('SRID=4674;POINT (-38.618952 -3.657776)'))) / (select extract(epoch from '2026-07-21 20:21:18'::timestamp) - extract(epoch from '2026-07-21 20:21: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'), 47374, 'SRID=4674;POINT (-38.618893 -3.657912)', '2026-07-21 20:21:24', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618952 -3.657776)'), GeomFromEWKT('SRID=4674;POINT (-38.618893 -3.657912)'))) / (select extract(epoch from '2026-07-21 20:21:24'::timestamp) - extract(epoch from '2026-07-21 20:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618952 -3.657776)'), GeomFromEWKT('SRID=4674;POINT (-38.618893 -3.657912)'))) / (select extract(epoch from '2026-07-21 20:21:24'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.618833 -3.65805)', '2026-07-21 20:21:30', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618893 -3.657912)'), GeomFromEWKT('SRID=4674;POINT (-38.618833 -3.65805)'))) / (select extract(epoch from '2026-07-21 20:21:30'::timestamp) - extract(epoch from '2026-07-21 20:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618893 -3.657912)'), GeomFromEWKT('SRID=4674;POINT (-38.618833 -3.65805)'))) / (select extract(epoch from '2026-07-21 20:21:30'::timestamp) - extract(epoch from '2026-07-21 20:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.618783 -3.658217)', '2026-07-21 20:21:37', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618833 -3.65805)'), GeomFromEWKT('SRID=4674;POINT (-38.618783 -3.658217)'))) / (select extract(epoch from '2026-07-21 20:21:37'::timestamp) - extract(epoch from '2026-07-21 20:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618833 -3.65805)'), GeomFromEWKT('SRID=4674;POINT (-38.618783 -3.658217)'))) / (select extract(epoch from '2026-07-21 20:21:37'::timestamp) - extract(epoch from '2026-07-21 20:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.618762 -3.658384)', '2026-07-21 20:21:43', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618783 -3.658217)'), GeomFromEWKT('SRID=4674;POINT (-38.618762 -3.658384)'))) / (select extract(epoch from '2026-07-21 20:21:43'::timestamp) - extract(epoch from '2026-07-21 20:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618783 -3.658217)'), GeomFromEWKT('SRID=4674;POINT (-38.618762 -3.658384)'))) / (select extract(epoch from '2026-07-21 20:21:43'::timestamp) - extract(epoch from '2026-07-21 20:21: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'), 47374, 'SRID=4674;POINT (-38.618677 -3.658548)', '2026-07-21 20:21:51', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618762 -3.658384)'), GeomFromEWKT('SRID=4674;POINT (-38.618677 -3.658548)'))) / (select extract(epoch from '2026-07-21 20:21:51'::timestamp) - extract(epoch from '2026-07-21 20:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618762 -3.658384)'), GeomFromEWKT('SRID=4674;POINT (-38.618677 -3.658548)'))) / (select extract(epoch from '2026-07-21 20:21:51'::timestamp) - extract(epoch from '2026-07-21 20:21: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'), 47374, 'SRID=4674;POINT (-38.618608 -3.65869)', '2026-07-21 20:21:57', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618677 -3.658548)'), GeomFromEWKT('SRID=4674;POINT (-38.618608 -3.65869)'))) / (select extract(epoch from '2026-07-21 20:21:57'::timestamp) - extract(epoch from '2026-07-21 20:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618677 -3.658548)'), GeomFromEWKT('SRID=4674;POINT (-38.618608 -3.65869)'))) / (select extract(epoch from '2026-07-21 20:21:57'::timestamp) - extract(epoch from '2026-07-21 20:21: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'), 47374, 'SRID=4674;POINT (-38.618554 -3.658832)', '2026-07-21 20:22:03', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618608 -3.65869)'), GeomFromEWKT('SRID=4674;POINT (-38.618554 -3.658832)'))) / (select extract(epoch from '2026-07-21 20:22:03'::timestamp) - extract(epoch from '2026-07-21 20:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618608 -3.65869)'), GeomFromEWKT('SRID=4674;POINT (-38.618554 -3.658832)'))) / (select extract(epoch from '2026-07-21 20:22:03'::timestamp) - extract(epoch from '2026-07-21 20:21: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'), 47374, 'SRID=4674;POINT (-38.618492 -3.658936)', '2026-07-21 20:22:08', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618554 -3.658832)'), GeomFromEWKT('SRID=4674;POINT (-38.618492 -3.658936)'))) / (select extract(epoch from '2026-07-21 20:22:08'::timestamp) - extract(epoch from '2026-07-21 20:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618554 -3.658832)'), GeomFromEWKT('SRID=4674;POINT (-38.618492 -3.658936)'))) / (select extract(epoch from '2026-07-21 20:22:08'::timestamp) - extract(epoch from '2026-07-21 20:22: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'), 47374, 'SRID=4674;POINT (-38.618413 -3.659059)', '2026-07-21 20:22:14', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618492 -3.658936)'), GeomFromEWKT('SRID=4674;POINT (-38.618413 -3.659059)'))) / (select extract(epoch from '2026-07-21 20:22:14'::timestamp) - extract(epoch from '2026-07-21 20:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618492 -3.658936)'), GeomFromEWKT('SRID=4674;POINT (-38.618413 -3.659059)'))) / (select extract(epoch from '2026-07-21 20:22:14'::timestamp) - extract(epoch from '2026-07-21 20:22:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.618339 -3.659199)', '2026-07-21 20:22:20', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618413 -3.659059)'), GeomFromEWKT('SRID=4674;POINT (-38.618339 -3.659199)'))) / (select extract(epoch from '2026-07-21 20:22:20'::timestamp) - extract(epoch from '2026-07-21 20:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618413 -3.659059)'), GeomFromEWKT('SRID=4674;POINT (-38.618339 -3.659199)'))) / (select extract(epoch from '2026-07-21 20:22:20'::timestamp) - extract(epoch from '2026-07-21 20:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.618303 -3.659351)', '2026-07-21 20:22:26', -6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618339 -3.659199)'), GeomFromEWKT('SRID=4674;POINT (-38.618303 -3.659351)'))) / (select extract(epoch from '2026-07-21 20:22:26'::timestamp) - extract(epoch from '2026-07-21 20:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618339 -3.659199)'), GeomFromEWKT('SRID=4674;POINT (-38.618303 -3.659351)'))) / (select extract(epoch from '2026-07-21 20:22:26'::timestamp) - extract(epoch from '2026-07-21 20:22: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'), 47374, 'SRID=4674;POINT (-38.618277 -3.659427)', '2026-07-21 20:22:29', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618303 -3.659351)'), GeomFromEWKT('SRID=4674;POINT (-38.618277 -3.659427)'))) / (select extract(epoch from '2026-07-21 20:22:29'::timestamp) - extract(epoch from '2026-07-21 20:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618303 -3.659351)'), GeomFromEWKT('SRID=4674;POINT (-38.618277 -3.659427)'))) / (select extract(epoch from '2026-07-21 20:22:29'::timestamp) - extract(epoch from '2026-07-21 20:22: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'), 47374, 'SRID=4674;POINT (-38.618266 -3.65947)', '2026-07-21 20:22:31', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618277 -3.659427)'), GeomFromEWKT('SRID=4674;POINT (-38.618266 -3.65947)'))) / (select extract(epoch from '2026-07-21 20:22:31'::timestamp) - extract(epoch from '2026-07-21 20:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618277 -3.659427)'), GeomFromEWKT('SRID=4674;POINT (-38.618266 -3.65947)'))) / (select extract(epoch from '2026-07-21 20:22:31'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.618239 -3.659625)', '2026-07-21 20:22:37', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618266 -3.65947)'), GeomFromEWKT('SRID=4674;POINT (-38.618239 -3.659625)'))) / (select extract(epoch from '2026-07-21 20:22:37'::timestamp) - extract(epoch from '2026-07-21 20:22:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618266 -3.65947)'), GeomFromEWKT('SRID=4674;POINT (-38.618239 -3.659625)'))) / (select extract(epoch from '2026-07-21 20:22:37'::timestamp) - extract(epoch from '2026-07-21 20:22:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.618217 -3.659808)', '2026-07-21 20:22:44', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618239 -3.659625)'), GeomFromEWKT('SRID=4674;POINT (-38.618217 -3.659808)'))) / (select extract(epoch from '2026-07-21 20:22:44'::timestamp) - extract(epoch from '2026-07-21 20:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618239 -3.659625)'), GeomFromEWKT('SRID=4674;POINT (-38.618217 -3.659808)'))) / (select extract(epoch from '2026-07-21 20:22:44'::timestamp) - extract(epoch from '2026-07-21 20:22:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.618159 -3.659978)', '2026-07-21 20:22:51', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618217 -3.659808)'), GeomFromEWKT('SRID=4674;POINT (-38.618159 -3.659978)'))) / (select extract(epoch from '2026-07-21 20:22:51'::timestamp) - extract(epoch from '2026-07-21 20:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618217 -3.659808)'), GeomFromEWKT('SRID=4674;POINT (-38.618159 -3.659978)'))) / (select extract(epoch from '2026-07-21 20:22:51'::timestamp) - extract(epoch from '2026-07-21 20:22: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'), 47374, 'SRID=4674;POINT (-38.61807 -3.660077)', '2026-07-21 20:22:57', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618159 -3.659978)'), GeomFromEWKT('SRID=4674;POINT (-38.61807 -3.660077)'))) / (select extract(epoch from '2026-07-21 20:22:57'::timestamp) - extract(epoch from '2026-07-21 20:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618159 -3.659978)'), GeomFromEWKT('SRID=4674;POINT (-38.61807 -3.660077)'))) / (select extract(epoch from '2026-07-21 20:22:57'::timestamp) - extract(epoch from '2026-07-21 20:22:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.618022 -3.66023)', '2026-07-21 20:23:04', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61807 -3.660077)'), GeomFromEWKT('SRID=4674;POINT (-38.618022 -3.66023)'))) / (select extract(epoch from '2026-07-21 20:23:04'::timestamp) - extract(epoch from '2026-07-21 20:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61807 -3.660077)'), GeomFromEWKT('SRID=4674;POINT (-38.618022 -3.66023)'))) / (select extract(epoch from '2026-07-21 20:23:04'::timestamp) - extract(epoch from '2026-07-21 20:22: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'), 47374, 'SRID=4674;POINT (-38.617953 -3.66041)', '2026-07-21 20:23:11', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618022 -3.66023)'), GeomFromEWKT('SRID=4674;POINT (-38.617953 -3.66041)'))) / (select extract(epoch from '2026-07-21 20:23:11'::timestamp) - extract(epoch from '2026-07-21 20:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.618022 -3.66023)'), GeomFromEWKT('SRID=4674;POINT (-38.617953 -3.66041)'))) / (select extract(epoch from '2026-07-21 20:23:11'::timestamp) - extract(epoch from '2026-07-21 20:23: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'), 47374, 'SRID=4674;POINT (-38.617881 -3.660578)', '2026-07-21 20:23:18', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617953 -3.66041)'), GeomFromEWKT('SRID=4674;POINT (-38.617881 -3.660578)'))) / (select extract(epoch from '2026-07-21 20:23:18'::timestamp) - extract(epoch from '2026-07-21 20:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617953 -3.66041)'), GeomFromEWKT('SRID=4674;POINT (-38.617881 -3.660578)'))) / (select extract(epoch from '2026-07-21 20:23:18'::timestamp) - extract(epoch from '2026-07-21 20:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.617849 -3.660733)', '2026-07-21 20:23:24', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617881 -3.660578)'), GeomFromEWKT('SRID=4674;POINT (-38.617849 -3.660733)'))) / (select extract(epoch from '2026-07-21 20:23:24'::timestamp) - extract(epoch from '2026-07-21 20:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617881 -3.660578)'), GeomFromEWKT('SRID=4674;POINT (-38.617849 -3.660733)'))) / (select extract(epoch from '2026-07-21 20:23:24'::timestamp) - extract(epoch from '2026-07-21 20:23: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'), 47374, 'SRID=4674;POINT (-38.617854 -3.660947)', '2026-07-21 20:23:32', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617849 -3.660733)'), GeomFromEWKT('SRID=4674;POINT (-38.617854 -3.660947)'))) / (select extract(epoch from '2026-07-21 20:23:32'::timestamp) - extract(epoch from '2026-07-21 20:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617849 -3.660733)'), GeomFromEWKT('SRID=4674;POINT (-38.617854 -3.660947)'))) / (select extract(epoch from '2026-07-21 20:23:32'::timestamp) - extract(epoch from '2026-07-21 20:23: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'), 47374, 'SRID=4674;POINT (-38.617807 -3.661114)', '2026-07-21 20:23:39', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617854 -3.660947)'), GeomFromEWKT('SRID=4674;POINT (-38.617807 -3.661114)'))) / (select extract(epoch from '2026-07-21 20:23:39'::timestamp) - extract(epoch from '2026-07-21 20:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617854 -3.660947)'), GeomFromEWKT('SRID=4674;POINT (-38.617807 -3.661114)'))) / (select extract(epoch from '2026-07-21 20:23:39'::timestamp) - extract(epoch from '2026-07-21 20:23: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'), 47374, 'SRID=4674;POINT (-38.617742 -3.661274)', '2026-07-21 20:23:46', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617807 -3.661114)'), GeomFromEWKT('SRID=4674;POINT (-38.617742 -3.661274)'))) / (select extract(epoch from '2026-07-21 20:23:46'::timestamp) - extract(epoch from '2026-07-21 20:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617807 -3.661114)'), GeomFromEWKT('SRID=4674;POINT (-38.617742 -3.661274)'))) / (select extract(epoch from '2026-07-21 20:23:46'::timestamp) - extract(epoch from '2026-07-21 20:23:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.617653 -3.661467)', '2026-07-21 20:23:55', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617742 -3.661274)'), GeomFromEWKT('SRID=4674;POINT (-38.617653 -3.661467)'))) / (select extract(epoch from '2026-07-21 20:23:55'::timestamp) - extract(epoch from '2026-07-21 20:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617742 -3.661274)'), GeomFromEWKT('SRID=4674;POINT (-38.617653 -3.661467)'))) / (select extract(epoch from '2026-07-21 20:23:55'::timestamp) - extract(epoch from '2026-07-21 20:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.617589 -3.661661)', '2026-07-21 20:24:03', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617653 -3.661467)'), GeomFromEWKT('SRID=4674;POINT (-38.617589 -3.661661)'))) / (select extract(epoch from '2026-07-21 20:24:03'::timestamp) - extract(epoch from '2026-07-21 20:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617653 -3.661467)'), GeomFromEWKT('SRID=4674;POINT (-38.617589 -3.661661)'))) / (select extract(epoch from '2026-07-21 20:24:03'::timestamp) - extract(epoch from '2026-07-21 20:23:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.617563 -3.661803)', '2026-07-21 20:24:09', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617589 -3.661661)'), GeomFromEWKT('SRID=4674;POINT (-38.617563 -3.661803)'))) / (select extract(epoch from '2026-07-21 20:24:09'::timestamp) - extract(epoch from '2026-07-21 20:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617589 -3.661661)'), GeomFromEWKT('SRID=4674;POINT (-38.617563 -3.661803)'))) / (select extract(epoch from '2026-07-21 20:24:09'::timestamp) - extract(epoch from '2026-07-21 20:24:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.617524 -3.661978)', '2026-07-21 20:24:16', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617563 -3.661803)'), GeomFromEWKT('SRID=4674;POINT (-38.617524 -3.661978)'))) / (select extract(epoch from '2026-07-21 20:24:16'::timestamp) - extract(epoch from '2026-07-21 20:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617563 -3.661803)'), GeomFromEWKT('SRID=4674;POINT (-38.617524 -3.661978)'))) / (select extract(epoch from '2026-07-21 20:24:16'::timestamp) - extract(epoch from '2026-07-21 20:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.6175 -3.662163)', '2026-07-21 20:24:23', -5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617524 -3.661978)'), GeomFromEWKT('SRID=4674;POINT (-38.6175 -3.662163)'))) / (select extract(epoch from '2026-07-21 20:24:23'::timestamp) - extract(epoch from '2026-07-21 20:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617524 -3.661978)'), GeomFromEWKT('SRID=4674;POINT (-38.6175 -3.662163)'))) / (select extract(epoch from '2026-07-21 20:24:23'::timestamp) - extract(epoch from '2026-07-21 20:24:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.617479 -3.662287)', '2026-07-21 20:24:28', -6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6175 -3.662163)'), GeomFromEWKT('SRID=4674;POINT (-38.617479 -3.662287)'))) / (select extract(epoch from '2026-07-21 20:24:28'::timestamp) - extract(epoch from '2026-07-21 20:24:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6175 -3.662163)'), GeomFromEWKT('SRID=4674;POINT (-38.617479 -3.662287)'))) / (select extract(epoch from '2026-07-21 20:24:28'::timestamp) - extract(epoch from '2026-07-21 20:24:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.617398 -3.662397)', '2026-07-21 20:24:34', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617479 -3.662287)'), GeomFromEWKT('SRID=4674;POINT (-38.617398 -3.662397)'))) / (select extract(epoch from '2026-07-21 20:24:34'::timestamp) - extract(epoch from '2026-07-21 20:24:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617479 -3.662287)'), GeomFromEWKT('SRID=4674;POINT (-38.617398 -3.662397)'))) / (select extract(epoch from '2026-07-21 20:24:34'::timestamp) - extract(epoch from '2026-07-21 20:24:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.617311 -3.662563)', '2026-07-21 20:24:42', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617398 -3.662397)'), GeomFromEWKT('SRID=4674;POINT (-38.617311 -3.662563)'))) / (select extract(epoch from '2026-07-21 20:24:42'::timestamp) - extract(epoch from '2026-07-21 20:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617398 -3.662397)'), GeomFromEWKT('SRID=4674;POINT (-38.617311 -3.662563)'))) / (select extract(epoch from '2026-07-21 20:24:42'::timestamp) - extract(epoch from '2026-07-21 20:24: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'), 47374, 'SRID=4674;POINT (-38.617249 -3.662674)', '2026-07-21 20:24:47', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617311 -3.662563)'), GeomFromEWKT('SRID=4674;POINT (-38.617249 -3.662674)'))) / (select extract(epoch from '2026-07-21 20:24:47'::timestamp) - extract(epoch from '2026-07-21 20:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617311 -3.662563)'), GeomFromEWKT('SRID=4674;POINT (-38.617249 -3.662674)'))) / (select extract(epoch from '2026-07-21 20:24:47'::timestamp) - extract(epoch from '2026-07-21 20:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.617174 -3.662853)', '2026-07-21 20:24:55', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617249 -3.662674)'), GeomFromEWKT('SRID=4674;POINT (-38.617174 -3.662853)'))) / (select extract(epoch from '2026-07-21 20:24:55'::timestamp) - extract(epoch from '2026-07-21 20:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617249 -3.662674)'), GeomFromEWKT('SRID=4674;POINT (-38.617174 -3.662853)'))) / (select extract(epoch from '2026-07-21 20:24:55'::timestamp) - extract(epoch from '2026-07-21 20:24: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'), 47374, 'SRID=4674;POINT (-38.617104 -3.663018)', '2026-07-21 20:25:02', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617174 -3.662853)'), GeomFromEWKT('SRID=4674;POINT (-38.617104 -3.663018)'))) / (select extract(epoch from '2026-07-21 20:25:02'::timestamp) - extract(epoch from '2026-07-21 20:24:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617174 -3.662853)'), GeomFromEWKT('SRID=4674;POINT (-38.617104 -3.663018)'))) / (select extract(epoch from '2026-07-21 20:25:02'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.617059 -3.663156)', '2026-07-21 20:25:08', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617104 -3.663018)'), GeomFromEWKT('SRID=4674;POINT (-38.617059 -3.663156)'))) / (select extract(epoch from '2026-07-21 20:25:08'::timestamp) - extract(epoch from '2026-07-21 20:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617104 -3.663018)'), GeomFromEWKT('SRID=4674;POINT (-38.617059 -3.663156)'))) / (select extract(epoch from '2026-07-21 20:25:08'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.617009 -3.6633)', '2026-07-21 20:25:14', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617059 -3.663156)'), GeomFromEWKT('SRID=4674;POINT (-38.617009 -3.6633)'))) / (select extract(epoch from '2026-07-21 20:25:14'::timestamp) - extract(epoch from '2026-07-21 20:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617059 -3.663156)'), GeomFromEWKT('SRID=4674;POINT (-38.617009 -3.6633)'))) / (select extract(epoch from '2026-07-21 20:25:14'::timestamp) - extract(epoch from '2026-07-21 20:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.616886 -3.663458)', '2026-07-21 20:25:22', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617009 -3.6633)'), GeomFromEWKT('SRID=4674;POINT (-38.616886 -3.663458)'))) / (select extract(epoch from '2026-07-21 20:25:22'::timestamp) - extract(epoch from '2026-07-21 20:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.617009 -3.6633)'), GeomFromEWKT('SRID=4674;POINT (-38.616886 -3.663458)'))) / (select extract(epoch from '2026-07-21 20:25:22'::timestamp) - extract(epoch from '2026-07-21 20:25: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'), 47374, 'SRID=4674;POINT (-38.616836 -3.663558)', '2026-07-21 20:25:27', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616886 -3.663458)'), GeomFromEWKT('SRID=4674;POINT (-38.616836 -3.663558)'))) / (select extract(epoch from '2026-07-21 20:25:27'::timestamp) - extract(epoch from '2026-07-21 20:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616886 -3.663458)'), GeomFromEWKT('SRID=4674;POINT (-38.616836 -3.663558)'))) / (select extract(epoch from '2026-07-21 20:25:27'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.616755 -3.663689)', '2026-07-21 20:25:33', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616836 -3.663558)'), GeomFromEWKT('SRID=4674;POINT (-38.616755 -3.663689)'))) / (select extract(epoch from '2026-07-21 20:25:33'::timestamp) - extract(epoch from '2026-07-21 20:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616836 -3.663558)'), GeomFromEWKT('SRID=4674;POINT (-38.616755 -3.663689)'))) / (select extract(epoch from '2026-07-21 20:25:33'::timestamp) - extract(epoch from '2026-07-21 20:25: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'), 47374, 'SRID=4674;POINT (-38.616687 -3.663818)', '2026-07-21 20:25:39', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616755 -3.663689)'), GeomFromEWKT('SRID=4674;POINT (-38.616687 -3.663818)'))) / (select extract(epoch from '2026-07-21 20:25:39'::timestamp) - extract(epoch from '2026-07-21 20:25:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616755 -3.663689)'), GeomFromEWKT('SRID=4674;POINT (-38.616687 -3.663818)'))) / (select extract(epoch from '2026-07-21 20:25:39'::timestamp) - extract(epoch from '2026-07-21 20:25: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'), 47374, 'SRID=4674;POINT (-38.616634 -3.664001)', '2026-07-21 20:25:46', -8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616687 -3.663818)'), GeomFromEWKT('SRID=4674;POINT (-38.616634 -3.664001)'))) / (select extract(epoch from '2026-07-21 20:25:46'::timestamp) - extract(epoch from '2026-07-21 20:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616687 -3.663818)'), GeomFromEWKT('SRID=4674;POINT (-38.616634 -3.664001)'))) / (select extract(epoch from '2026-07-21 20:25:46'::timestamp) - extract(epoch from '2026-07-21 20:25: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'), 47374, 'SRID=4674;POINT (-38.616584 -3.664138)', '2026-07-21 20:25:52', -8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616634 -3.664001)'), GeomFromEWKT('SRID=4674;POINT (-38.616584 -3.664138)'))) / (select extract(epoch from '2026-07-21 20:25:52'::timestamp) - extract(epoch from '2026-07-21 20:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616634 -3.664001)'), GeomFromEWKT('SRID=4674;POINT (-38.616584 -3.664138)'))) / (select extract(epoch from '2026-07-21 20:25:52'::timestamp) - extract(epoch from '2026-07-21 20:25:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.616558 -3.664306)', '2026-07-21 20:25:59', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616584 -3.664138)'), GeomFromEWKT('SRID=4674;POINT (-38.616558 -3.664306)'))) / (select extract(epoch from '2026-07-21 20:25:59'::timestamp) - extract(epoch from '2026-07-21 20:25:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616584 -3.664138)'), GeomFromEWKT('SRID=4674;POINT (-38.616558 -3.664306)'))) / (select extract(epoch from '2026-07-21 20:25:59'::timestamp) - extract(epoch from '2026-07-21 20:25: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'), 47374, 'SRID=4674;POINT (-38.616521 -3.664483)', '2026-07-21 20:26:06', -9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616558 -3.664306)'), GeomFromEWKT('SRID=4674;POINT (-38.616521 -3.664483)'))) / (select extract(epoch from '2026-07-21 20:26:06'::timestamp) - extract(epoch from '2026-07-21 20:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616558 -3.664306)'), GeomFromEWKT('SRID=4674;POINT (-38.616521 -3.664483)'))) / (select extract(epoch from '2026-07-21 20:26:06'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.61645 -3.664654)', '2026-07-21 20:26:13', -10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616521 -3.664483)'), GeomFromEWKT('SRID=4674;POINT (-38.61645 -3.664654)'))) / (select extract(epoch from '2026-07-21 20:26:13'::timestamp) - extract(epoch from '2026-07-21 20:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616521 -3.664483)'), GeomFromEWKT('SRID=4674;POINT (-38.61645 -3.664654)'))) / (select extract(epoch from '2026-07-21 20:26:13'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.616392 -3.664781)', '2026-07-21 20:26:19', -11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61645 -3.664654)'), GeomFromEWKT('SRID=4674;POINT (-38.616392 -3.664781)'))) / (select extract(epoch from '2026-07-21 20:26:19'::timestamp) - extract(epoch from '2026-07-21 20:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61645 -3.664654)'), GeomFromEWKT('SRID=4674;POINT (-38.616392 -3.664781)'))) / (select extract(epoch from '2026-07-21 20:26:19'::timestamp) - extract(epoch from '2026-07-21 20:26: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'), 47374, 'SRID=4674;POINT (-38.616342 -3.664983)', '2026-07-21 20:26:27', -11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616392 -3.664781)'), GeomFromEWKT('SRID=4674;POINT (-38.616342 -3.664983)'))) / (select extract(epoch from '2026-07-21 20:26:27'::timestamp) - extract(epoch from '2026-07-21 20:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616392 -3.664781)'), GeomFromEWKT('SRID=4674;POINT (-38.616342 -3.664983)'))) / (select extract(epoch from '2026-07-21 20:26:27'::timestamp) - extract(epoch from '2026-07-21 20:26: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'), 47374, 'SRID=4674;POINT (-38.616308 -3.665146)', '2026-07-21 20:26:33', -10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616342 -3.664983)'), GeomFromEWKT('SRID=4674;POINT (-38.616308 -3.665146)'))) / (select extract(epoch from '2026-07-21 20:26:33'::timestamp) - extract(epoch from '2026-07-21 20:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616342 -3.664983)'), GeomFromEWKT('SRID=4674;POINT (-38.616308 -3.665146)'))) / (select extract(epoch from '2026-07-21 20:26:33'::timestamp) - extract(epoch from '2026-07-21 20:26: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'), 47374, 'SRID=4674;POINT (-38.616271 -3.665275)', '2026-07-21 20:26:38', -11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616308 -3.665146)'), GeomFromEWKT('SRID=4674;POINT (-38.616271 -3.665275)'))) / (select extract(epoch from '2026-07-21 20:26:38'::timestamp) - extract(epoch from '2026-07-21 20:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616308 -3.665146)'), GeomFromEWKT('SRID=4674;POINT (-38.616271 -3.665275)'))) / (select extract(epoch from '2026-07-21 20:26:38'::timestamp) - extract(epoch from '2026-07-21 20:26: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'), 47374, 'SRID=4674;POINT (-38.616232 -3.665438)', '2026-07-21 20:26:45', -11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616271 -3.665275)'), GeomFromEWKT('SRID=4674;POINT (-38.616232 -3.665438)'))) / (select extract(epoch from '2026-07-21 20:26:45'::timestamp) - extract(epoch from '2026-07-21 20:26:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616271 -3.665275)'), GeomFromEWKT('SRID=4674;POINT (-38.616232 -3.665438)'))) / (select extract(epoch from '2026-07-21 20:26:45'::timestamp) - extract(epoch from '2026-07-21 20:26: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'), 47374, 'SRID=4674;POINT (-38.616229 -3.665604)', '2026-07-21 20:26:51', -11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616232 -3.665438)'), GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.665604)'))) / (select extract(epoch from '2026-07-21 20:26:51'::timestamp) - extract(epoch from '2026-07-21 20:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616232 -3.665438)'), GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.665604)'))) / (select extract(epoch from '2026-07-21 20:26:51'::timestamp) - extract(epoch from '2026-07-21 20:26: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'), 47374, 'SRID=4674;POINT (-38.616251 -3.665783)', '2026-07-21 20:26:57', -10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.665604)'), GeomFromEWKT('SRID=4674;POINT (-38.616251 -3.665783)'))) / (select extract(epoch from '2026-07-21 20:26:57'::timestamp) - extract(epoch from '2026-07-21 20:26:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616229 -3.665604)'), GeomFromEWKT('SRID=4674;POINT (-38.616251 -3.665783)'))) / (select extract(epoch from '2026-07-21 20:26:57'::timestamp) - extract(epoch from '2026-07-21 20:26: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'), 47374, 'SRID=4674;POINT (-38.616276 -3.665945)', '2026-07-21 20:27:03', -10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616251 -3.665783)'), GeomFromEWKT('SRID=4674;POINT (-38.616276 -3.665945)'))) / (select extract(epoch from '2026-07-21 20:27:03'::timestamp) - extract(epoch from '2026-07-21 20:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616251 -3.665783)'), GeomFromEWKT('SRID=4674;POINT (-38.616276 -3.665945)'))) / (select extract(epoch from '2026-07-21 20:27:03'::timestamp) - extract(epoch from '2026-07-21 20:26: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'), 47374, 'SRID=4674;POINT (-38.616275 -3.666093)', '2026-07-21 20:27:09', -10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616276 -3.665945)'), GeomFromEWKT('SRID=4674;POINT (-38.616275 -3.666093)'))) / (select extract(epoch from '2026-07-21 20:27:09'::timestamp) - extract(epoch from '2026-07-21 20:27:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616276 -3.665945)'), GeomFromEWKT('SRID=4674;POINT (-38.616275 -3.666093)'))) / (select extract(epoch from '2026-07-21 20:27:09'::timestamp) - extract(epoch from '2026-07-21 20:27:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.616243 -3.666241)', '2026-07-21 20:27:15', -9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616275 -3.666093)'), GeomFromEWKT('SRID=4674;POINT (-38.616243 -3.666241)'))) / (select extract(epoch from '2026-07-21 20:27:15'::timestamp) - extract(epoch from '2026-07-21 20:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616275 -3.666093)'), GeomFromEWKT('SRID=4674;POINT (-38.616243 -3.666241)'))) / (select extract(epoch from '2026-07-21 20:27:15'::timestamp) - extract(epoch from '2026-07-21 20:27: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'), 47374, 'SRID=4674;POINT (-38.616202 -3.6664)', '2026-07-21 20:27:21', -10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616243 -3.666241)'), GeomFromEWKT('SRID=4674;POINT (-38.616202 -3.6664)'))) / (select extract(epoch from '2026-07-21 20:27:21'::timestamp) - extract(epoch from '2026-07-21 20:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616243 -3.666241)'), GeomFromEWKT('SRID=4674;POINT (-38.616202 -3.6664)'))) / (select extract(epoch from '2026-07-21 20:27:21'::timestamp) - extract(epoch from '2026-07-21 20:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.616133 -3.666497)', '2026-07-21 20:27:26', -10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616202 -3.6664)'), GeomFromEWKT('SRID=4674;POINT (-38.616133 -3.666497)'))) / (select extract(epoch from '2026-07-21 20:27:26'::timestamp) - extract(epoch from '2026-07-21 20:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616202 -3.6664)'), GeomFromEWKT('SRID=4674;POINT (-38.616133 -3.666497)'))) / (select extract(epoch from '2026-07-21 20:27:26'::timestamp) - extract(epoch from '2026-07-21 20:27: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'), 47374, 'SRID=4674;POINT (-38.616058 -3.66669)', '2026-07-21 20:27:34', -11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616133 -3.666497)'), GeomFromEWKT('SRID=4674;POINT (-38.616058 -3.66669)'))) / (select extract(epoch from '2026-07-21 20:27:34'::timestamp) - extract(epoch from '2026-07-21 20:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616133 -3.666497)'), GeomFromEWKT('SRID=4674;POINT (-38.616058 -3.66669)'))) / (select extract(epoch from '2026-07-21 20:27:34'::timestamp) - extract(epoch from '2026-07-21 20:27: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'), 47374, 'SRID=4674;POINT (-38.616016 -3.666813)', '2026-07-21 20:27:39', -11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616058 -3.66669)'), GeomFromEWKT('SRID=4674;POINT (-38.616016 -3.666813)'))) / (select extract(epoch from '2026-07-21 20:27:39'::timestamp) - extract(epoch from '2026-07-21 20:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616058 -3.66669)'), GeomFromEWKT('SRID=4674;POINT (-38.616016 -3.666813)'))) / (select extract(epoch from '2026-07-21 20:27:39'::timestamp) - extract(epoch from '2026-07-21 20:27: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'), 47374, 'SRID=4674;POINT (-38.615984 -3.666984)', '2026-07-21 20:27:46', -11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616016 -3.666813)'), GeomFromEWKT('SRID=4674;POINT (-38.615984 -3.666984)'))) / (select extract(epoch from '2026-07-21 20:27:46'::timestamp) - extract(epoch from '2026-07-21 20:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.616016 -3.666813)'), GeomFromEWKT('SRID=4674;POINT (-38.615984 -3.666984)'))) / (select extract(epoch from '2026-07-21 20:27:46'::timestamp) - extract(epoch from '2026-07-21 20:27: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'), 47374, 'SRID=4674;POINT (-38.615989 -3.667132)', '2026-07-21 20:27:52', -11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615984 -3.666984)'), GeomFromEWKT('SRID=4674;POINT (-38.615989 -3.667132)'))) / (select extract(epoch from '2026-07-21 20:27:52'::timestamp) - extract(epoch from '2026-07-21 20:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615984 -3.666984)'), GeomFromEWKT('SRID=4674;POINT (-38.615989 -3.667132)'))) / (select extract(epoch from '2026-07-21 20:27:52'::timestamp) - extract(epoch from '2026-07-21 20:27: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'), 47374, 'SRID=4674;POINT (-38.61596 -3.667294)', '2026-07-21 20:27:58', -11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615989 -3.667132)'), GeomFromEWKT('SRID=4674;POINT (-38.61596 -3.667294)'))) / (select extract(epoch from '2026-07-21 20:27:58'::timestamp) - extract(epoch from '2026-07-21 20:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615989 -3.667132)'), GeomFromEWKT('SRID=4674;POINT (-38.61596 -3.667294)'))) / (select extract(epoch from '2026-07-21 20:27:58'::timestamp) - extract(epoch from '2026-07-21 20:27: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'), 47374, 'SRID=4674;POINT (-38.615909 -3.667442)', '2026-07-21 20:28:04', -11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61596 -3.667294)'), GeomFromEWKT('SRID=4674;POINT (-38.615909 -3.667442)'))) / (select extract(epoch from '2026-07-21 20:28:04'::timestamp) - extract(epoch from '2026-07-21 20:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61596 -3.667294)'), GeomFromEWKT('SRID=4674;POINT (-38.615909 -3.667442)'))) / (select extract(epoch from '2026-07-21 20:28:04'::timestamp) - extract(epoch from '2026-07-21 20:27: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'), 47374, 'SRID=4674;POINT (-38.615865 -3.667578)', '2026-07-21 20:28:10', -11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615909 -3.667442)'), GeomFromEWKT('SRID=4674;POINT (-38.615865 -3.667578)'))) / (select extract(epoch from '2026-07-21 20:28:10'::timestamp) - extract(epoch from '2026-07-21 20:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615909 -3.667442)'), GeomFromEWKT('SRID=4674;POINT (-38.615865 -3.667578)'))) / (select extract(epoch from '2026-07-21 20:28:10'::timestamp) - extract(epoch from '2026-07-21 20:28: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'), 47374, 'SRID=4674;POINT (-38.615773 -3.667799)', '2026-07-21 20:28:19', -9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615865 -3.667578)'), GeomFromEWKT('SRID=4674;POINT (-38.615773 -3.667799)'))) / (select extract(epoch from '2026-07-21 20:28:19'::timestamp) - extract(epoch from '2026-07-21 20:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615865 -3.667578)'), GeomFromEWKT('SRID=4674;POINT (-38.615773 -3.667799)'))) / (select extract(epoch from '2026-07-21 20:28:19'::timestamp) - extract(epoch from '2026-07-21 20:28: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'), 47374, 'SRID=4674;POINT (-38.615687 -3.667946)', '2026-07-21 20:28:26', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615773 -3.667799)'), GeomFromEWKT('SRID=4674;POINT (-38.615687 -3.667946)'))) / (select extract(epoch from '2026-07-21 20:28:26'::timestamp) - extract(epoch from '2026-07-21 20:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615773 -3.667799)'), GeomFromEWKT('SRID=4674;POINT (-38.615687 -3.667946)'))) / (select extract(epoch from '2026-07-21 20:28:26'::timestamp) - extract(epoch from '2026-07-21 20:28: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'), 47374, 'SRID=4674;POINT (-38.615624 -3.668092)', '2026-07-21 20:28:32', -7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615687 -3.667946)'), GeomFromEWKT('SRID=4674;POINT (-38.615624 -3.668092)'))) / (select extract(epoch from '2026-07-21 20:28:32'::timestamp) - extract(epoch from '2026-07-21 20:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615687 -3.667946)'), GeomFromEWKT('SRID=4674;POINT (-38.615624 -3.668092)'))) / (select extract(epoch from '2026-07-21 20:28:32'::timestamp) - extract(epoch from '2026-07-21 20:28: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'), 47374, 'SRID=4674;POINT (-38.61552 -3.668256)', '2026-07-21 20:28:40', -7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615624 -3.668092)'), GeomFromEWKT('SRID=4674;POINT (-38.61552 -3.668256)'))) / (select extract(epoch from '2026-07-21 20:28:40'::timestamp) - extract(epoch from '2026-07-21 20:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615624 -3.668092)'), GeomFromEWKT('SRID=4674;POINT (-38.61552 -3.668256)'))) / (select extract(epoch from '2026-07-21 20:28:40'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.615464 -3.668415)', '2026-07-21 20:28:47', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61552 -3.668256)'), GeomFromEWKT('SRID=4674;POINT (-38.615464 -3.668415)'))) / (select extract(epoch from '2026-07-21 20:28:47'::timestamp) - extract(epoch from '2026-07-21 20:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61552 -3.668256)'), GeomFromEWKT('SRID=4674;POINT (-38.615464 -3.668415)'))) / (select extract(epoch from '2026-07-21 20:28:47'::timestamp) - extract(epoch from '2026-07-21 20:28: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'), 47374, 'SRID=4674;POINT (-38.615416 -3.668568)', '2026-07-21 20:28:53', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615464 -3.668415)'), GeomFromEWKT('SRID=4674;POINT (-38.615416 -3.668568)'))) / (select extract(epoch from '2026-07-21 20:28:53'::timestamp) - extract(epoch from '2026-07-21 20:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615464 -3.668415)'), GeomFromEWKT('SRID=4674;POINT (-38.615416 -3.668568)'))) / (select extract(epoch from '2026-07-21 20:28:53'::timestamp) - extract(epoch from '2026-07-21 20:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.615366 -3.668709)', '2026-07-21 20:28:59', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615416 -3.668568)'), GeomFromEWKT('SRID=4674;POINT (-38.615366 -3.668709)'))) / (select extract(epoch from '2026-07-21 20:28:59'::timestamp) - extract(epoch from '2026-07-21 20:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615416 -3.668568)'), GeomFromEWKT('SRID=4674;POINT (-38.615366 -3.668709)'))) / (select extract(epoch from '2026-07-21 20:28:59'::timestamp) - extract(epoch from '2026-07-21 20:28: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'), 47374, 'SRID=4674;POINT (-38.615337 -3.668889)', '2026-07-21 20:29:06', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615366 -3.668709)'), GeomFromEWKT('SRID=4674;POINT (-38.615337 -3.668889)'))) / (select extract(epoch from '2026-07-21 20:29:06'::timestamp) - extract(epoch from '2026-07-21 20:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615366 -3.668709)'), GeomFromEWKT('SRID=4674;POINT (-38.615337 -3.668889)'))) / (select extract(epoch from '2026-07-21 20:29:06'::timestamp) - extract(epoch from '2026-07-21 20:28: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'), 47374, 'SRID=4674;POINT (-38.615309 -3.669017)', '2026-07-21 20:29:11', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615337 -3.668889)'), GeomFromEWKT('SRID=4674;POINT (-38.615309 -3.669017)'))) / (select extract(epoch from '2026-07-21 20:29:11'::timestamp) - extract(epoch from '2026-07-21 20:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615337 -3.668889)'), GeomFromEWKT('SRID=4674;POINT (-38.615309 -3.669017)'))) / (select extract(epoch from '2026-07-21 20:29:11'::timestamp) - extract(epoch from '2026-07-21 20:29:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.615245 -3.669153)', '2026-07-21 20:29:17', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615309 -3.669017)'), GeomFromEWKT('SRID=4674;POINT (-38.615245 -3.669153)'))) / (select extract(epoch from '2026-07-21 20:29:17'::timestamp) - extract(epoch from '2026-07-21 20:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615309 -3.669017)'), GeomFromEWKT('SRID=4674;POINT (-38.615245 -3.669153)'))) / (select extract(epoch from '2026-07-21 20:29:17'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.615186 -3.66932)', '2026-07-21 20:29:24', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615245 -3.669153)'), GeomFromEWKT('SRID=4674;POINT (-38.615186 -3.66932)'))) / (select extract(epoch from '2026-07-21 20:29:24'::timestamp) - extract(epoch from '2026-07-21 20:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615245 -3.669153)'), GeomFromEWKT('SRID=4674;POINT (-38.615186 -3.66932)'))) / (select extract(epoch from '2026-07-21 20:29:24'::timestamp) - extract(epoch from '2026-07-21 20:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.615148 -3.669541)', '2026-07-21 20:29:32', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615186 -3.66932)'), GeomFromEWKT('SRID=4674;POINT (-38.615148 -3.669541)'))) / (select extract(epoch from '2026-07-21 20:29:32'::timestamp) - extract(epoch from '2026-07-21 20:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615186 -3.66932)'), GeomFromEWKT('SRID=4674;POINT (-38.615148 -3.669541)'))) / (select extract(epoch from '2026-07-21 20:29:32'::timestamp) - extract(epoch from '2026-07-21 20:29: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'), 47374, 'SRID=4674;POINT (-38.615101 -3.669743)', '2026-07-21 20:29:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615148 -3.669541)'), GeomFromEWKT('SRID=4674;POINT (-38.615101 -3.669743)'))) / (select extract(epoch from '2026-07-21 20:29:39'::timestamp) - extract(epoch from '2026-07-21 20:29:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615148 -3.669541)'), GeomFromEWKT('SRID=4674;POINT (-38.615101 -3.669743)'))) / (select extract(epoch from '2026-07-21 20:29:39'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.615089 -3.669859)', '2026-07-21 20:29:44', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615101 -3.669743)'), GeomFromEWKT('SRID=4674;POINT (-38.615089 -3.669859)'))) / (select extract(epoch from '2026-07-21 20:29:44'::timestamp) - extract(epoch from '2026-07-21 20:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615101 -3.669743)'), GeomFromEWKT('SRID=4674;POINT (-38.615089 -3.669859)'))) / (select extract(epoch from '2026-07-21 20:29:44'::timestamp) - extract(epoch from '2026-07-21 20:29: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'), 47374, 'SRID=4674;POINT (-38.615055 -3.670029)', '2026-07-21 20:29:51', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615089 -3.669859)'), GeomFromEWKT('SRID=4674;POINT (-38.615055 -3.670029)'))) / (select extract(epoch from '2026-07-21 20:29:51'::timestamp) - extract(epoch from '2026-07-21 20:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615089 -3.669859)'), GeomFromEWKT('SRID=4674;POINT (-38.615055 -3.670029)'))) / (select extract(epoch from '2026-07-21 20:29:51'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.61504 -3.670217)', '2026-07-21 20:29:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615055 -3.670029)'), GeomFromEWKT('SRID=4674;POINT (-38.61504 -3.670217)'))) / (select extract(epoch from '2026-07-21 20:29:58'::timestamp) - extract(epoch from '2026-07-21 20:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615055 -3.670029)'), GeomFromEWKT('SRID=4674;POINT (-38.61504 -3.670217)'))) / (select extract(epoch from '2026-07-21 20:29:58'::timestamp) - extract(epoch from '2026-07-21 20:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.615007 -3.670348)', '2026-07-21 20:30:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61504 -3.670217)'), GeomFromEWKT('SRID=4674;POINT (-38.615007 -3.670348)'))) / (select extract(epoch from '2026-07-21 20:30:04'::timestamp) - extract(epoch from '2026-07-21 20:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61504 -3.670217)'), GeomFromEWKT('SRID=4674;POINT (-38.615007 -3.670348)'))) / (select extract(epoch from '2026-07-21 20:30:04'::timestamp) - extract(epoch from '2026-07-21 20:29: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'), 47374, 'SRID=4674;POINT (-38.615003 -3.670476)', '2026-07-21 20:30:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615007 -3.670348)'), GeomFromEWKT('SRID=4674;POINT (-38.615003 -3.670476)'))) / (select extract(epoch from '2026-07-21 20:30:09'::timestamp) - extract(epoch from '2026-07-21 20:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615007 -3.670348)'), GeomFromEWKT('SRID=4674;POINT (-38.615003 -3.670476)'))) / (select extract(epoch from '2026-07-21 20:30:09'::timestamp) - extract(epoch from '2026-07-21 20:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.615013 -3.670643)', '2026-07-21 20:30:15', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615003 -3.670476)'), GeomFromEWKT('SRID=4674;POINT (-38.615013 -3.670643)'))) / (select extract(epoch from '2026-07-21 20:30:15'::timestamp) - extract(epoch from '2026-07-21 20:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615003 -3.670476)'), GeomFromEWKT('SRID=4674;POINT (-38.615013 -3.670643)'))) / (select extract(epoch from '2026-07-21 20:30:15'::timestamp) - extract(epoch from '2026-07-21 20:30:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614996 -3.670865)', '2026-07-21 20:30:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615013 -3.670643)'), GeomFromEWKT('SRID=4674;POINT (-38.614996 -3.670865)'))) / (select extract(epoch from '2026-07-21 20:30:23'::timestamp) - extract(epoch from '2026-07-21 20:30:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.615013 -3.670643)'), GeomFromEWKT('SRID=4674;POINT (-38.614996 -3.670865)'))) / (select extract(epoch from '2026-07-21 20:30:23'::timestamp) - extract(epoch from '2026-07-21 20:30: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'), 47374, 'SRID=4674;POINT (-38.614991 -3.670988)', '2026-07-21 20:30:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614996 -3.670865)'), GeomFromEWKT('SRID=4674;POINT (-38.614991 -3.670988)'))) / (select extract(epoch from '2026-07-21 20:30:28'::timestamp) - extract(epoch from '2026-07-21 20:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614996 -3.670865)'), GeomFromEWKT('SRID=4674;POINT (-38.614991 -3.670988)'))) / (select extract(epoch from '2026-07-21 20:30:28'::timestamp) - extract(epoch from '2026-07-21 20:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614965 -3.671174)', '2026-07-21 20:30:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614991 -3.670988)'), GeomFromEWKT('SRID=4674;POINT (-38.614965 -3.671174)'))) / (select extract(epoch from '2026-07-21 20:30:35'::timestamp) - extract(epoch from '2026-07-21 20:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614991 -3.670988)'), GeomFromEWKT('SRID=4674;POINT (-38.614965 -3.671174)'))) / (select extract(epoch from '2026-07-21 20:30:35'::timestamp) - extract(epoch from '2026-07-21 20:30:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614896 -3.671384)', '2026-07-21 20:30:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614965 -3.671174)'), GeomFromEWKT('SRID=4674;POINT (-38.614896 -3.671384)'))) / (select extract(epoch from '2026-07-21 20:30:43'::timestamp) - extract(epoch from '2026-07-21 20:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614965 -3.671174)'), GeomFromEWKT('SRID=4674;POINT (-38.614896 -3.671384)'))) / (select extract(epoch from '2026-07-21 20:30:43'::timestamp) - extract(epoch from '2026-07-21 20:30: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'), 47374, 'SRID=4674;POINT (-38.614845 -3.671562)', '2026-07-21 20:30:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614896 -3.671384)'), GeomFromEWKT('SRID=4674;POINT (-38.614845 -3.671562)'))) / (select extract(epoch from '2026-07-21 20:30:50'::timestamp) - extract(epoch from '2026-07-21 20:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614896 -3.671384)'), GeomFromEWKT('SRID=4674;POINT (-38.614845 -3.671562)'))) / (select extract(epoch from '2026-07-21 20:30:50'::timestamp) - extract(epoch from '2026-07-21 20:30: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'), 47374, 'SRID=4674;POINT (-38.614768 -3.671714)', '2026-07-21 20:30:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614845 -3.671562)'), GeomFromEWKT('SRID=4674;POINT (-38.614768 -3.671714)'))) / (select extract(epoch from '2026-07-21 20:30:57'::timestamp) - extract(epoch from '2026-07-21 20:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614845 -3.671562)'), GeomFromEWKT('SRID=4674;POINT (-38.614768 -3.671714)'))) / (select extract(epoch from '2026-07-21 20:30:57'::timestamp) - extract(epoch from '2026-07-21 20:30:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614687 -3.671865)', '2026-07-21 20:31:04', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614768 -3.671714)'), GeomFromEWKT('SRID=4674;POINT (-38.614687 -3.671865)'))) / (select extract(epoch from '2026-07-21 20:31:04'::timestamp) - extract(epoch from '2026-07-21 20:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614768 -3.671714)'), GeomFromEWKT('SRID=4674;POINT (-38.614687 -3.671865)'))) / (select extract(epoch from '2026-07-21 20:31:04'::timestamp) - extract(epoch from '2026-07-21 20:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614689 -3.672014)', '2026-07-21 20:31:10', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614687 -3.671865)'), GeomFromEWKT('SRID=4674;POINT (-38.614689 -3.672014)'))) / (select extract(epoch from '2026-07-21 20:31:10'::timestamp) - extract(epoch from '2026-07-21 20:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614687 -3.671865)'), GeomFromEWKT('SRID=4674;POINT (-38.614689 -3.672014)'))) / (select extract(epoch from '2026-07-21 20:31:10'::timestamp) - extract(epoch from '2026-07-21 20:31:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614726 -3.672143)', '2026-07-21 20:31:14', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614689 -3.672014)'), GeomFromEWKT('SRID=4674;POINT (-38.614726 -3.672143)'))) / (select extract(epoch from '2026-07-21 20:31:14'::timestamp) - extract(epoch from '2026-07-21 20:31:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614689 -3.672014)'), GeomFromEWKT('SRID=4674;POINT (-38.614726 -3.672143)'))) / (select extract(epoch from '2026-07-21 20:31:14'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.614728 -3.672264)', '2026-07-21 20:31:19', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614726 -3.672143)'), GeomFromEWKT('SRID=4674;POINT (-38.614728 -3.672264)'))) / (select extract(epoch from '2026-07-21 20:31:19'::timestamp) - extract(epoch from '2026-07-21 20:31:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614726 -3.672143)'), GeomFromEWKT('SRID=4674;POINT (-38.614728 -3.672264)'))) / (select extract(epoch from '2026-07-21 20:31:19'::timestamp) - extract(epoch from '2026-07-21 20:31: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'), 47374, 'SRID=4674;POINT (-38.614716 -3.672457)', '2026-07-21 20:31:26', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614728 -3.672264)'), GeomFromEWKT('SRID=4674;POINT (-38.614716 -3.672457)'))) / (select extract(epoch from '2026-07-21 20:31:26'::timestamp) - extract(epoch from '2026-07-21 20:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614728 -3.672264)'), GeomFromEWKT('SRID=4674;POINT (-38.614716 -3.672457)'))) / (select extract(epoch from '2026-07-21 20:31:26'::timestamp) - extract(epoch from '2026-07-21 20:31: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'), 47374, 'SRID=4674;POINT (-38.614622 -3.672594)', '2026-07-21 20:31:32', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614716 -3.672457)'), GeomFromEWKT('SRID=4674;POINT (-38.614622 -3.672594)'))) / (select extract(epoch from '2026-07-21 20:31:32'::timestamp) - extract(epoch from '2026-07-21 20:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614716 -3.672457)'), GeomFromEWKT('SRID=4674;POINT (-38.614622 -3.672594)'))) / (select extract(epoch from '2026-07-21 20:31:32'::timestamp) - extract(epoch from '2026-07-21 20:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614552 -3.672756)', '2026-07-21 20:31:39', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614622 -3.672594)'), GeomFromEWKT('SRID=4674;POINT (-38.614552 -3.672756)'))) / (select extract(epoch from '2026-07-21 20:31:39'::timestamp) - extract(epoch from '2026-07-21 20:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614622 -3.672594)'), GeomFromEWKT('SRID=4674;POINT (-38.614552 -3.672756)'))) / (select extract(epoch from '2026-07-21 20:31:39'::timestamp) - extract(epoch from '2026-07-21 20:31:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614476 -3.672916)', '2026-07-21 20:31:46', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614552 -3.672756)'), GeomFromEWKT('SRID=4674;POINT (-38.614476 -3.672916)'))) / (select extract(epoch from '2026-07-21 20:31:46'::timestamp) - extract(epoch from '2026-07-21 20:31:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614552 -3.672756)'), GeomFromEWKT('SRID=4674;POINT (-38.614476 -3.672916)'))) / (select extract(epoch from '2026-07-21 20:31:46'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.614441 -3.673104)', '2026-07-21 20:31:53', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614476 -3.672916)'), GeomFromEWKT('SRID=4674;POINT (-38.614441 -3.673104)'))) / (select extract(epoch from '2026-07-21 20:31:53'::timestamp) - extract(epoch from '2026-07-21 20:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614476 -3.672916)'), GeomFromEWKT('SRID=4674;POINT (-38.614441 -3.673104)'))) / (select extract(epoch from '2026-07-21 20:31:53'::timestamp) - extract(epoch from '2026-07-21 20:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614444 -3.673277)', '2026-07-21 20:31:59', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614441 -3.673104)'), GeomFromEWKT('SRID=4674;POINT (-38.614444 -3.673277)'))) / (select extract(epoch from '2026-07-21 20:31:59'::timestamp) - extract(epoch from '2026-07-21 20:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614441 -3.673104)'), GeomFromEWKT('SRID=4674;POINT (-38.614444 -3.673277)'))) / (select extract(epoch from '2026-07-21 20:31:59'::timestamp) - extract(epoch from '2026-07-21 20:31: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'), 47374, 'SRID=4674;POINT (-38.614424 -3.673433)', '2026-07-21 20:32:05', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614444 -3.673277)'), GeomFromEWKT('SRID=4674;POINT (-38.614424 -3.673433)'))) / (select extract(epoch from '2026-07-21 20:32:05'::timestamp) - extract(epoch from '2026-07-21 20:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614444 -3.673277)'), GeomFromEWKT('SRID=4674;POINT (-38.614424 -3.673433)'))) / (select extract(epoch from '2026-07-21 20:32:05'::timestamp) - extract(epoch from '2026-07-21 20:31:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614368 -3.673572)', '2026-07-21 20:32:11', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614424 -3.673433)'), GeomFromEWKT('SRID=4674;POINT (-38.614368 -3.673572)'))) / (select extract(epoch from '2026-07-21 20:32:11'::timestamp) - extract(epoch from '2026-07-21 20:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614424 -3.673433)'), GeomFromEWKT('SRID=4674;POINT (-38.614368 -3.673572)'))) / (select extract(epoch from '2026-07-21 20:32:11'::timestamp) - extract(epoch from '2026-07-21 20:32: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'), 47374, 'SRID=4674;POINT (-38.614317 -3.673746)', '2026-07-21 20:32:18', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614368 -3.673572)'), GeomFromEWKT('SRID=4674;POINT (-38.614317 -3.673746)'))) / (select extract(epoch from '2026-07-21 20:32:18'::timestamp) - extract(epoch from '2026-07-21 20:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614368 -3.673572)'), GeomFromEWKT('SRID=4674;POINT (-38.614317 -3.673746)'))) / (select extract(epoch from '2026-07-21 20:32:18'::timestamp) - extract(epoch from '2026-07-21 20:32: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'), 47374, 'SRID=4674;POINT (-38.614343 -3.673912)', '2026-07-21 20:32:24', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614317 -3.673746)'), GeomFromEWKT('SRID=4674;POINT (-38.614343 -3.673912)'))) / (select extract(epoch from '2026-07-21 20:32:24'::timestamp) - extract(epoch from '2026-07-21 20:32:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614317 -3.673746)'), GeomFromEWKT('SRID=4674;POINT (-38.614343 -3.673912)'))) / (select extract(epoch from '2026-07-21 20:32:24'::timestamp) - extract(epoch from '2026-07-21 20:32: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'), 47374, 'SRID=4674;POINT (-38.614352 -3.674118)', '2026-07-21 20:32:32', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614343 -3.673912)'), GeomFromEWKT('SRID=4674;POINT (-38.614352 -3.674118)'))) / (select extract(epoch from '2026-07-21 20:32:32'::timestamp) - extract(epoch from '2026-07-21 20:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614343 -3.673912)'), GeomFromEWKT('SRID=4674;POINT (-38.614352 -3.674118)'))) / (select extract(epoch from '2026-07-21 20:32:32'::timestamp) - extract(epoch from '2026-07-21 20:32: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'), 47374, 'SRID=4674;POINT (-38.614365 -3.674329)', '2026-07-21 20:32:39', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614352 -3.674118)'), GeomFromEWKT('SRID=4674;POINT (-38.614365 -3.674329)'))) / (select extract(epoch from '2026-07-21 20:32:39'::timestamp) - extract(epoch from '2026-07-21 20:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614352 -3.674118)'), GeomFromEWKT('SRID=4674;POINT (-38.614365 -3.674329)'))) / (select extract(epoch from '2026-07-21 20:32:39'::timestamp) - extract(epoch from '2026-07-21 20:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614369 -3.674516)', '2026-07-21 20:32:46', -7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614365 -3.674329)'), GeomFromEWKT('SRID=4674;POINT (-38.614369 -3.674516)'))) / (select extract(epoch from '2026-07-21 20:32:46'::timestamp) - extract(epoch from '2026-07-21 20:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614365 -3.674329)'), GeomFromEWKT('SRID=4674;POINT (-38.614369 -3.674516)'))) / (select extract(epoch from '2026-07-21 20:32:46'::timestamp) - extract(epoch from '2026-07-21 20:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614388 -3.674762)', '2026-07-21 20:32:54', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614369 -3.674516)'), GeomFromEWKT('SRID=4674;POINT (-38.614388 -3.674762)'))) / (select extract(epoch from '2026-07-21 20:32:54'::timestamp) - extract(epoch from '2026-07-21 20:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614369 -3.674516)'), GeomFromEWKT('SRID=4674;POINT (-38.614388 -3.674762)'))) / (select extract(epoch from '2026-07-21 20:32:54'::timestamp) - extract(epoch from '2026-07-21 20:32: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'), 47374, 'SRID=4674;POINT (-38.6144 -3.674983)', '2026-07-21 20:33:02', -8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614388 -3.674762)'), GeomFromEWKT('SRID=4674;POINT (-38.6144 -3.674983)'))) / (select extract(epoch from '2026-07-21 20:33:02'::timestamp) - extract(epoch from '2026-07-21 20:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614388 -3.674762)'), GeomFromEWKT('SRID=4674;POINT (-38.6144 -3.674983)'))) / (select extract(epoch from '2026-07-21 20:33:02'::timestamp) - extract(epoch from '2026-07-21 20:32: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'), 47374, 'SRID=4674;POINT (-38.614405 -3.675147)', '2026-07-21 20:33:08', -8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6144 -3.674983)'), GeomFromEWKT('SRID=4674;POINT (-38.614405 -3.675147)'))) / (select extract(epoch from '2026-07-21 20:33:08'::timestamp) - extract(epoch from '2026-07-21 20:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6144 -3.674983)'), GeomFromEWKT('SRID=4674;POINT (-38.614405 -3.675147)'))) / (select extract(epoch from '2026-07-21 20:33:08'::timestamp) - extract(epoch from '2026-07-21 20:33: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'), 47374, 'SRID=4674;POINT (-38.614416 -3.675318)', '2026-07-21 20:33:14', -8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614405 -3.675147)'), GeomFromEWKT('SRID=4674;POINT (-38.614416 -3.675318)'))) / (select extract(epoch from '2026-07-21 20:33:14'::timestamp) - extract(epoch from '2026-07-21 20:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614405 -3.675147)'), GeomFromEWKT('SRID=4674;POINT (-38.614416 -3.675318)'))) / (select extract(epoch from '2026-07-21 20:33:14'::timestamp) - extract(epoch from '2026-07-21 20:33: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'), 47374, 'SRID=4674;POINT (-38.614423 -3.675521)', '2026-07-21 20:33:21', -8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614416 -3.675318)'), GeomFromEWKT('SRID=4674;POINT (-38.614423 -3.675521)'))) / (select extract(epoch from '2026-07-21 20:33:21'::timestamp) - extract(epoch from '2026-07-21 20:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614416 -3.675318)'), GeomFromEWKT('SRID=4674;POINT (-38.614423 -3.675521)'))) / (select extract(epoch from '2026-07-21 20:33:21'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.614389 -3.675695)', '2026-07-21 20:33:27', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614423 -3.675521)'), GeomFromEWKT('SRID=4674;POINT (-38.614389 -3.675695)'))) / (select extract(epoch from '2026-07-21 20:33:27'::timestamp) - extract(epoch from '2026-07-21 20:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614423 -3.675521)'), GeomFromEWKT('SRID=4674;POINT (-38.614389 -3.675695)'))) / (select extract(epoch from '2026-07-21 20:33:27'::timestamp) - extract(epoch from '2026-07-21 20:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614328 -3.675828)', '2026-07-21 20:33:33', -7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614389 -3.675695)'), GeomFromEWKT('SRID=4674;POINT (-38.614328 -3.675828)'))) / (select extract(epoch from '2026-07-21 20:33:33'::timestamp) - extract(epoch from '2026-07-21 20:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614389 -3.675695)'), GeomFromEWKT('SRID=4674;POINT (-38.614328 -3.675828)'))) / (select extract(epoch from '2026-07-21 20:33:33'::timestamp) - extract(epoch from '2026-07-21 20:33: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'), 47374, 'SRID=4674;POINT (-38.614304 -3.67598)', '2026-07-21 20:33:39', -7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614328 -3.675828)'), GeomFromEWKT('SRID=4674;POINT (-38.614304 -3.67598)'))) / (select extract(epoch from '2026-07-21 20:33:39'::timestamp) - extract(epoch from '2026-07-21 20:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614328 -3.675828)'), GeomFromEWKT('SRID=4674;POINT (-38.614304 -3.67598)'))) / (select extract(epoch from '2026-07-21 20:33:39'::timestamp) - extract(epoch from '2026-07-21 20:33: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'), 47374, 'SRID=4674;POINT (-38.614294 -3.676158)', '2026-07-21 20:33:46', -6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614304 -3.67598)'), GeomFromEWKT('SRID=4674;POINT (-38.614294 -3.676158)'))) / (select extract(epoch from '2026-07-21 20:33:46'::timestamp) - extract(epoch from '2026-07-21 20:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614304 -3.67598)'), GeomFromEWKT('SRID=4674;POINT (-38.614294 -3.676158)'))) / (select extract(epoch from '2026-07-21 20:33:46'::timestamp) - extract(epoch from '2026-07-21 20:33: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'), 47374, 'SRID=4674;POINT (-38.614227 -3.676399)', '2026-07-21 20:33:55', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614294 -3.676158)'), GeomFromEWKT('SRID=4674;POINT (-38.614227 -3.676399)'))) / (select extract(epoch from '2026-07-21 20:33:55'::timestamp) - extract(epoch from '2026-07-21 20:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614294 -3.676158)'), GeomFromEWKT('SRID=4674;POINT (-38.614227 -3.676399)'))) / (select extract(epoch from '2026-07-21 20:33:55'::timestamp) - extract(epoch from '2026-07-21 20:33: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'), 47374, 'SRID=4674;POINT (-38.614196 -3.676599)', '2026-07-21 20:34:02', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614227 -3.676399)'), GeomFromEWKT('SRID=4674;POINT (-38.614196 -3.676599)'))) / (select extract(epoch from '2026-07-21 20:34:02'::timestamp) - extract(epoch from '2026-07-21 20:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614227 -3.676399)'), GeomFromEWKT('SRID=4674;POINT (-38.614196 -3.676599)'))) / (select extract(epoch from '2026-07-21 20:34:02'::timestamp) - extract(epoch from '2026-07-21 20:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614153 -3.676788)', '2026-07-21 20:34:09', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614196 -3.676599)'), GeomFromEWKT('SRID=4674;POINT (-38.614153 -3.676788)'))) / (select extract(epoch from '2026-07-21 20:34:09'::timestamp) - extract(epoch from '2026-07-21 20:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614196 -3.676599)'), GeomFromEWKT('SRID=4674;POINT (-38.614153 -3.676788)'))) / (select extract(epoch from '2026-07-21 20:34:09'::timestamp) - extract(epoch from '2026-07-21 20:34: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'), 47374, 'SRID=4674;POINT (-38.614117 -3.677056)', '2026-07-21 20:34:18', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614153 -3.676788)'), GeomFromEWKT('SRID=4674;POINT (-38.614117 -3.677056)'))) / (select extract(epoch from '2026-07-21 20:34:18'::timestamp) - extract(epoch from '2026-07-21 20:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614153 -3.676788)'), GeomFromEWKT('SRID=4674;POINT (-38.614117 -3.677056)'))) / (select extract(epoch from '2026-07-21 20:34:18'::timestamp) - extract(epoch from '2026-07-21 20:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.614073 -3.677211)', '2026-07-21 20:34:24', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614117 -3.677056)'), GeomFromEWKT('SRID=4674;POINT (-38.614073 -3.677211)'))) / (select extract(epoch from '2026-07-21 20:34:24'::timestamp) - extract(epoch from '2026-07-21 20:34:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614117 -3.677056)'), GeomFromEWKT('SRID=4674;POINT (-38.614073 -3.677211)'))) / (select extract(epoch from '2026-07-21 20:34:24'::timestamp) - extract(epoch from '2026-07-21 20:34: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'), 47374, 'SRID=4674;POINT (-38.61399 -3.677383)', '2026-07-21 20:34:31', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614073 -3.677211)'), GeomFromEWKT('SRID=4674;POINT (-38.61399 -3.677383)'))) / (select extract(epoch from '2026-07-21 20:34:31'::timestamp) - extract(epoch from '2026-07-21 20:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.614073 -3.677211)'), GeomFromEWKT('SRID=4674;POINT (-38.61399 -3.677383)'))) / (select extract(epoch from '2026-07-21 20:34:31'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.613916 -3.677545)', '2026-07-21 20:34:38', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61399 -3.677383)'), GeomFromEWKT('SRID=4674;POINT (-38.613916 -3.677545)'))) / (select extract(epoch from '2026-07-21 20:34:38'::timestamp) - extract(epoch from '2026-07-21 20:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61399 -3.677383)'), GeomFromEWKT('SRID=4674;POINT (-38.613916 -3.677545)'))) / (select extract(epoch from '2026-07-21 20:34:38'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.613921 -3.677705)', '2026-07-21 20:34:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613916 -3.677545)'), GeomFromEWKT('SRID=4674;POINT (-38.613921 -3.677705)'))) / (select extract(epoch from '2026-07-21 20:34:44'::timestamp) - extract(epoch from '2026-07-21 20:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613916 -3.677545)'), GeomFromEWKT('SRID=4674;POINT (-38.613921 -3.677705)'))) / (select extract(epoch from '2026-07-21 20:34:44'::timestamp) - extract(epoch from '2026-07-21 20:34: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'), 47374, 'SRID=4674;POINT (-38.613921 -3.677933)', '2026-07-21 20:34:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613921 -3.677705)'), GeomFromEWKT('SRID=4674;POINT (-38.613921 -3.677933)'))) / (select extract(epoch from '2026-07-21 20:34:52'::timestamp) - extract(epoch from '2026-07-21 20:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613921 -3.677705)'), GeomFromEWKT('SRID=4674;POINT (-38.613921 -3.677933)'))) / (select extract(epoch from '2026-07-21 20:34:52'::timestamp) - extract(epoch from '2026-07-21 20:34: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'), 47374, 'SRID=4674;POINT (-38.613939 -3.678138)', '2026-07-21 20:34:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613921 -3.677933)'), GeomFromEWKT('SRID=4674;POINT (-38.613939 -3.678138)'))) / (select extract(epoch from '2026-07-21 20:34:59'::timestamp) - extract(epoch from '2026-07-21 20:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613921 -3.677933)'), GeomFromEWKT('SRID=4674;POINT (-38.613939 -3.678138)'))) / (select extract(epoch from '2026-07-21 20:34:59'::timestamp) - extract(epoch from '2026-07-21 20:34: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'), 47374, 'SRID=4674;POINT (-38.61394 -3.678329)', '2026-07-21 20:35:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613939 -3.678138)'), GeomFromEWKT('SRID=4674;POINT (-38.61394 -3.678329)'))) / (select extract(epoch from '2026-07-21 20:35:05'::timestamp) - extract(epoch from '2026-07-21 20:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613939 -3.678138)'), GeomFromEWKT('SRID=4674;POINT (-38.61394 -3.678329)'))) / (select extract(epoch from '2026-07-21 20:35:05'::timestamp) - extract(epoch from '2026-07-21 20:34: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'), 47374, 'SRID=4674;POINT (-38.613925 -3.678487)', '2026-07-21 20:35:11', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61394 -3.678329)'), GeomFromEWKT('SRID=4674;POINT (-38.613925 -3.678487)'))) / (select extract(epoch from '2026-07-21 20:35:11'::timestamp) - extract(epoch from '2026-07-21 20:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61394 -3.678329)'), GeomFromEWKT('SRID=4674;POINT (-38.613925 -3.678487)'))) / (select extract(epoch from '2026-07-21 20:35:11'::timestamp) - extract(epoch from '2026-07-21 20:35: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'), 47374, 'SRID=4674;POINT (-38.613906 -3.678689)', '2026-07-21 20:35:18', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613925 -3.678487)'), GeomFromEWKT('SRID=4674;POINT (-38.613906 -3.678689)'))) / (select extract(epoch from '2026-07-21 20:35:18'::timestamp) - extract(epoch from '2026-07-21 20:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613925 -3.678487)'), GeomFromEWKT('SRID=4674;POINT (-38.613906 -3.678689)'))) / (select extract(epoch from '2026-07-21 20:35:18'::timestamp) - extract(epoch from '2026-07-21 20:35: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'), 47374, 'SRID=4674;POINT (-38.613892 -3.678931)', '2026-07-21 20:35:26', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613906 -3.678689)'), GeomFromEWKT('SRID=4674;POINT (-38.613892 -3.678931)'))) / (select extract(epoch from '2026-07-21 20:35:26'::timestamp) - extract(epoch from '2026-07-21 20:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613906 -3.678689)'), GeomFromEWKT('SRID=4674;POINT (-38.613892 -3.678931)'))) / (select extract(epoch from '2026-07-21 20:35:26'::timestamp) - extract(epoch from '2026-07-21 20:35: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'), 47374, 'SRID=4674;POINT (-38.61385 -3.679114)', '2026-07-21 20:35:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613892 -3.678931)'), GeomFromEWKT('SRID=4674;POINT (-38.61385 -3.679114)'))) / (select extract(epoch from '2026-07-21 20:35:33'::timestamp) - extract(epoch from '2026-07-21 20:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613892 -3.678931)'), GeomFromEWKT('SRID=4674;POINT (-38.61385 -3.679114)'))) / (select extract(epoch from '2026-07-21 20:35:33'::timestamp) - extract(epoch from '2026-07-21 20:35: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'), 47374, 'SRID=4674;POINT (-38.61381 -3.67936)', '2026-07-21 20:35:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61385 -3.679114)'), GeomFromEWKT('SRID=4674;POINT (-38.61381 -3.67936)'))) / (select extract(epoch from '2026-07-21 20:35:41'::timestamp) - extract(epoch from '2026-07-21 20:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61385 -3.679114)'), GeomFromEWKT('SRID=4674;POINT (-38.61381 -3.67936)'))) / (select extract(epoch from '2026-07-21 20:35:41'::timestamp) - extract(epoch from '2026-07-21 20:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.613805 -3.67953)', '2026-07-21 20:35:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61381 -3.67936)'), GeomFromEWKT('SRID=4674;POINT (-38.613805 -3.67953)'))) / (select extract(epoch from '2026-07-21 20:35:47'::timestamp) - extract(epoch from '2026-07-21 20:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61381 -3.67936)'), GeomFromEWKT('SRID=4674;POINT (-38.613805 -3.67953)'))) / (select extract(epoch from '2026-07-21 20:35:47'::timestamp) - extract(epoch from '2026-07-21 20:35:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.613785 -3.679702)', '2026-07-21 20:35:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613805 -3.67953)'), GeomFromEWKT('SRID=4674;POINT (-38.613785 -3.679702)'))) / (select extract(epoch from '2026-07-21 20:35:53'::timestamp) - extract(epoch from '2026-07-21 20:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613805 -3.67953)'), GeomFromEWKT('SRID=4674;POINT (-38.613785 -3.679702)'))) / (select extract(epoch from '2026-07-21 20:35:53'::timestamp) - extract(epoch from '2026-07-21 20:35: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'), 47374, 'SRID=4674;POINT (-38.613744 -3.679845)', '2026-07-21 20:35:58', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613785 -3.679702)'), GeomFromEWKT('SRID=4674;POINT (-38.613744 -3.679845)'))) / (select extract(epoch from '2026-07-21 20:35:58'::timestamp) - extract(epoch from '2026-07-21 20:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613785 -3.679702)'), GeomFromEWKT('SRID=4674;POINT (-38.613744 -3.679845)'))) / (select extract(epoch from '2026-07-21 20:35:58'::timestamp) - extract(epoch from '2026-07-21 20:35:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.613634 -3.680014)', '2026-07-21 20:36:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613744 -3.679845)'), GeomFromEWKT('SRID=4674;POINT (-38.613634 -3.680014)'))) / (select extract(epoch from '2026-07-21 20:36:05'::timestamp) - extract(epoch from '2026-07-21 20:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613744 -3.679845)'), GeomFromEWKT('SRID=4674;POINT (-38.613634 -3.680014)'))) / (select extract(epoch from '2026-07-21 20:36:05'::timestamp) - extract(epoch from '2026-07-21 20:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.613608 -3.680188)', '2026-07-21 20:36:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613634 -3.680014)'), GeomFromEWKT('SRID=4674;POINT (-38.613608 -3.680188)'))) / (select extract(epoch from '2026-07-21 20:36:11'::timestamp) - extract(epoch from '2026-07-21 20:36:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613634 -3.680014)'), GeomFromEWKT('SRID=4674;POINT (-38.613608 -3.680188)'))) / (select extract(epoch from '2026-07-21 20:36:11'::timestamp) - extract(epoch from '2026-07-21 20:36: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'), 47374, 'SRID=4674;POINT (-38.613589 -3.680348)', '2026-07-21 20:36:17', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613608 -3.680188)'), GeomFromEWKT('SRID=4674;POINT (-38.613589 -3.680348)'))) / (select extract(epoch from '2026-07-21 20:36:17'::timestamp) - extract(epoch from '2026-07-21 20:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613608 -3.680188)'), GeomFromEWKT('SRID=4674;POINT (-38.613589 -3.680348)'))) / (select extract(epoch from '2026-07-21 20:36:17'::timestamp) - extract(epoch from '2026-07-21 20:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.613567 -3.680564)', '2026-07-21 20:36:24', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613589 -3.680348)'), GeomFromEWKT('SRID=4674;POINT (-38.613567 -3.680564)'))) / (select extract(epoch from '2026-07-21 20:36:24'::timestamp) - extract(epoch from '2026-07-21 20:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613589 -3.680348)'), GeomFromEWKT('SRID=4674;POINT (-38.613567 -3.680564)'))) / (select extract(epoch from '2026-07-21 20:36:24'::timestamp) - extract(epoch from '2026-07-21 20:36:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.613551 -3.680706)', '2026-07-21 20:36:29', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613567 -3.680564)'), GeomFromEWKT('SRID=4674;POINT (-38.613551 -3.680706)'))) / (select extract(epoch from '2026-07-21 20:36:29'::timestamp) - extract(epoch from '2026-07-21 20:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613567 -3.680564)'), GeomFromEWKT('SRID=4674;POINT (-38.613551 -3.680706)'))) / (select extract(epoch from '2026-07-21 20:36:29'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.613536 -3.680894)', '2026-07-21 20:36:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613551 -3.680706)'), GeomFromEWKT('SRID=4674;POINT (-38.613536 -3.680894)'))) / (select extract(epoch from '2026-07-21 20:36:36'::timestamp) - extract(epoch from '2026-07-21 20:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613551 -3.680706)'), GeomFromEWKT('SRID=4674;POINT (-38.613536 -3.680894)'))) / (select extract(epoch from '2026-07-21 20:36:36'::timestamp) - extract(epoch from '2026-07-21 20:36: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'), 47374, 'SRID=4674;POINT (-38.613514 -3.6811)', '2026-07-21 20:36:43', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613536 -3.680894)'), GeomFromEWKT('SRID=4674;POINT (-38.613514 -3.6811)'))) / (select extract(epoch from '2026-07-21 20:36:43'::timestamp) - extract(epoch from '2026-07-21 20:36:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613536 -3.680894)'), GeomFromEWKT('SRID=4674;POINT (-38.613514 -3.6811)'))) / (select extract(epoch from '2026-07-21 20:36:43'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.61345 -3.681279)', '2026-07-21 20:36:50', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613514 -3.6811)'), GeomFromEWKT('SRID=4674;POINT (-38.61345 -3.681279)'))) / (select extract(epoch from '2026-07-21 20:36:50'::timestamp) - extract(epoch from '2026-07-21 20:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613514 -3.6811)'), GeomFromEWKT('SRID=4674;POINT (-38.61345 -3.681279)'))) / (select extract(epoch from '2026-07-21 20:36:50'::timestamp) - extract(epoch from '2026-07-21 20:36: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'), 47374, 'SRID=4674;POINT (-38.6134 -3.681463)', '2026-07-21 20:36:57', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61345 -3.681279)'), GeomFromEWKT('SRID=4674;POINT (-38.6134 -3.681463)'))) / (select extract(epoch from '2026-07-21 20:36:57'::timestamp) - extract(epoch from '2026-07-21 20:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61345 -3.681279)'), GeomFromEWKT('SRID=4674;POINT (-38.6134 -3.681463)'))) / (select extract(epoch from '2026-07-21 20:36:57'::timestamp) - extract(epoch from '2026-07-21 20:36: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'), 47374, 'SRID=4674;POINT (-38.613376 -3.681605)', '2026-07-21 20:37:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6134 -3.681463)'), GeomFromEWKT('SRID=4674;POINT (-38.613376 -3.681605)'))) / (select extract(epoch from '2026-07-21 20:37:02'::timestamp) - extract(epoch from '2026-07-21 20:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.6134 -3.681463)'), GeomFromEWKT('SRID=4674;POINT (-38.613376 -3.681605)'))) / (select extract(epoch from '2026-07-21 20:37:02'::timestamp) - extract(epoch from '2026-07-21 20:36: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'), 47374, 'SRID=4674;POINT (-38.613356 -3.681825)', '2026-07-21 20:37:09', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613376 -3.681605)'), GeomFromEWKT('SRID=4674;POINT (-38.613356 -3.681825)'))) / (select extract(epoch from '2026-07-21 20:37:09'::timestamp) - extract(epoch from '2026-07-21 20:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613376 -3.681605)'), GeomFromEWKT('SRID=4674;POINT (-38.613356 -3.681825)'))) / (select extract(epoch from '2026-07-21 20:37:09'::timestamp) - extract(epoch from '2026-07-21 20:37: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'), 47374, 'SRID=4674;POINT (-38.613325 -3.682036)', '2026-07-21 20:37:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613356 -3.681825)'), GeomFromEWKT('SRID=4674;POINT (-38.613325 -3.682036)'))) / (select extract(epoch from '2026-07-21 20:37:16'::timestamp) - extract(epoch from '2026-07-21 20:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613356 -3.681825)'), GeomFromEWKT('SRID=4674;POINT (-38.613325 -3.682036)'))) / (select extract(epoch from '2026-07-21 20:37:16'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.613248 -3.682253)', '2026-07-21 20:37:24', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613325 -3.682036)'), GeomFromEWKT('SRID=4674;POINT (-38.613248 -3.682253)'))) / (select extract(epoch from '2026-07-21 20:37:24'::timestamp) - extract(epoch from '2026-07-21 20:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613325 -3.682036)'), GeomFromEWKT('SRID=4674;POINT (-38.613248 -3.682253)'))) / (select extract(epoch from '2026-07-21 20:37:24'::timestamp) - extract(epoch from '2026-07-21 20:37:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.613141 -3.682405)', '2026-07-21 20:37:31', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613248 -3.682253)'), GeomFromEWKT('SRID=4674;POINT (-38.613141 -3.682405)'))) / (select extract(epoch from '2026-07-21 20:37:31'::timestamp) - extract(epoch from '2026-07-21 20:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613248 -3.682253)'), GeomFromEWKT('SRID=4674;POINT (-38.613141 -3.682405)'))) / (select extract(epoch from '2026-07-21 20:37:31'::timestamp) - extract(epoch from '2026-07-21 20:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.61303 -3.682602)', '2026-07-21 20:37:39', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613141 -3.682405)'), GeomFromEWKT('SRID=4674;POINT (-38.61303 -3.682602)'))) / (select extract(epoch from '2026-07-21 20:37:39'::timestamp) - extract(epoch from '2026-07-21 20:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.613141 -3.682405)'), GeomFromEWKT('SRID=4674;POINT (-38.61303 -3.682602)'))) / (select extract(epoch from '2026-07-21 20:37:39'::timestamp) - extract(epoch from '2026-07-21 20:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612938 -3.682748)', '2026-07-21 20:37:45', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61303 -3.682602)'), GeomFromEWKT('SRID=4674;POINT (-38.612938 -3.682748)'))) / (select extract(epoch from '2026-07-21 20:37:45'::timestamp) - extract(epoch from '2026-07-21 20:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61303 -3.682602)'), GeomFromEWKT('SRID=4674;POINT (-38.612938 -3.682748)'))) / (select extract(epoch from '2026-07-21 20:37:45'::timestamp) - extract(epoch from '2026-07-21 20:37:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612873 -3.682928)', '2026-07-21 20:37:52', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612938 -3.682748)'), GeomFromEWKT('SRID=4674;POINT (-38.612873 -3.682928)'))) / (select extract(epoch from '2026-07-21 20:37:52'::timestamp) - extract(epoch from '2026-07-21 20:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612938 -3.682748)'), GeomFromEWKT('SRID=4674;POINT (-38.612873 -3.682928)'))) / (select extract(epoch from '2026-07-21 20:37:52'::timestamp) - extract(epoch from '2026-07-21 20:37: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'), 47374, 'SRID=4674;POINT (-38.612803 -3.68307)', '2026-07-21 20:37:58', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612873 -3.682928)'), GeomFromEWKT('SRID=4674;POINT (-38.612803 -3.68307)'))) / (select extract(epoch from '2026-07-21 20:37:58'::timestamp) - extract(epoch from '2026-07-21 20:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612873 -3.682928)'), GeomFromEWKT('SRID=4674;POINT (-38.612803 -3.68307)'))) / (select extract(epoch from '2026-07-21 20:37:58'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.612703 -3.683237)', '2026-07-21 20:38:05', -6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612803 -3.68307)'), GeomFromEWKT('SRID=4674;POINT (-38.612703 -3.683237)'))) / (select extract(epoch from '2026-07-21 20:38:05'::timestamp) - extract(epoch from '2026-07-21 20:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612803 -3.68307)'), GeomFromEWKT('SRID=4674;POINT (-38.612703 -3.683237)'))) / (select extract(epoch from '2026-07-21 20:38:05'::timestamp) - extract(epoch from '2026-07-21 20:37: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'), 47374, 'SRID=4674;POINT (-38.612625 -3.683404)', '2026-07-21 20:38:11', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612703 -3.683237)'), GeomFromEWKT('SRID=4674;POINT (-38.612625 -3.683404)'))) / (select extract(epoch from '2026-07-21 20:38:11'::timestamp) - extract(epoch from '2026-07-21 20:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612703 -3.683237)'), GeomFromEWKT('SRID=4674;POINT (-38.612625 -3.683404)'))) / (select extract(epoch from '2026-07-21 20:38:11'::timestamp) - extract(epoch from '2026-07-21 20:38: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'), 47374, 'SRID=4674;POINT (-38.612554 -3.683596)', '2026-07-21 20:38:18', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612625 -3.683404)'), GeomFromEWKT('SRID=4674;POINT (-38.612554 -3.683596)'))) / (select extract(epoch from '2026-07-21 20:38:18'::timestamp) - extract(epoch from '2026-07-21 20:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612625 -3.683404)'), GeomFromEWKT('SRID=4674;POINT (-38.612554 -3.683596)'))) / (select extract(epoch from '2026-07-21 20:38:18'::timestamp) - extract(epoch from '2026-07-21 20:38:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612515 -3.68375)', '2026-07-21 20:38:24', -4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612554 -3.683596)'), GeomFromEWKT('SRID=4674;POINT (-38.612515 -3.68375)'))) / (select extract(epoch from '2026-07-21 20:38:24'::timestamp) - extract(epoch from '2026-07-21 20:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612554 -3.683596)'), GeomFromEWKT('SRID=4674;POINT (-38.612515 -3.68375)'))) / (select extract(epoch from '2026-07-21 20:38:24'::timestamp) - extract(epoch from '2026-07-21 20:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612478 -3.683917)', '2026-07-21 20:38:30', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612515 -3.68375)'), GeomFromEWKT('SRID=4674;POINT (-38.612478 -3.683917)'))) / (select extract(epoch from '2026-07-21 20:38:30'::timestamp) - extract(epoch from '2026-07-21 20:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612515 -3.68375)'), GeomFromEWKT('SRID=4674;POINT (-38.612478 -3.683917)'))) / (select extract(epoch from '2026-07-21 20:38:30'::timestamp) - extract(epoch from '2026-07-21 20:38: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'), 47374, 'SRID=4674;POINT (-38.612437 -3.68414)', '2026-07-21 20:38:38', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612478 -3.683917)'), GeomFromEWKT('SRID=4674;POINT (-38.612437 -3.68414)'))) / (select extract(epoch from '2026-07-21 20:38:38'::timestamp) - extract(epoch from '2026-07-21 20:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612478 -3.683917)'), GeomFromEWKT('SRID=4674;POINT (-38.612437 -3.68414)'))) / (select extract(epoch from '2026-07-21 20:38:38'::timestamp) - extract(epoch from '2026-07-21 20:38: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'), 47374, 'SRID=4674;POINT (-38.612408 -3.684325)', '2026-07-21 20:38:44', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612437 -3.68414)'), GeomFromEWKT('SRID=4674;POINT (-38.612408 -3.684325)'))) / (select extract(epoch from '2026-07-21 20:38:44'::timestamp) - extract(epoch from '2026-07-21 20:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612437 -3.68414)'), GeomFromEWKT('SRID=4674;POINT (-38.612408 -3.684325)'))) / (select extract(epoch from '2026-07-21 20:38:44'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.612401 -3.68458)', '2026-07-21 20:38:53', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612408 -3.684325)'), GeomFromEWKT('SRID=4674;POINT (-38.612401 -3.68458)'))) / (select extract(epoch from '2026-07-21 20:38:53'::timestamp) - extract(epoch from '2026-07-21 20:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612408 -3.684325)'), GeomFromEWKT('SRID=4674;POINT (-38.612401 -3.68458)'))) / (select extract(epoch from '2026-07-21 20:38:53'::timestamp) - extract(epoch from '2026-07-21 20:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612442 -3.684745)', '2026-07-21 20:38:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612401 -3.68458)'), GeomFromEWKT('SRID=4674;POINT (-38.612442 -3.684745)'))) / (select extract(epoch from '2026-07-21 20:38:58'::timestamp) - extract(epoch from '2026-07-21 20:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612401 -3.68458)'), GeomFromEWKT('SRID=4674;POINT (-38.612442 -3.684745)'))) / (select extract(epoch from '2026-07-21 20:38:58'::timestamp) - extract(epoch from '2026-07-21 20:38: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'), 47374, 'SRID=4674;POINT (-38.612451 -3.684884)', '2026-07-21 20:39:03', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612442 -3.684745)'), GeomFromEWKT('SRID=4674;POINT (-38.612451 -3.684884)'))) / (select extract(epoch from '2026-07-21 20:39:03'::timestamp) - extract(epoch from '2026-07-21 20:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612442 -3.684745)'), GeomFromEWKT('SRID=4674;POINT (-38.612451 -3.684884)'))) / (select extract(epoch from '2026-07-21 20:39:03'::timestamp) - extract(epoch from '2026-07-21 20:38: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'), 47374, 'SRID=4674;POINT (-38.612442 -3.685096)', '2026-07-21 20:39:09', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612451 -3.684884)'), GeomFromEWKT('SRID=4674;POINT (-38.612442 -3.685096)'))) / (select extract(epoch from '2026-07-21 20:39:09'::timestamp) - extract(epoch from '2026-07-21 20:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612451 -3.684884)'), GeomFromEWKT('SRID=4674;POINT (-38.612442 -3.685096)'))) / (select extract(epoch from '2026-07-21 20:39:09'::timestamp) - extract(epoch from '2026-07-21 20:39: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'), 47374, 'SRID=4674;POINT (-38.612443 -3.685263)', '2026-07-21 20:39:15', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612442 -3.685096)'), GeomFromEWKT('SRID=4674;POINT (-38.612443 -3.685263)'))) / (select extract(epoch from '2026-07-21 20:39:15'::timestamp) - extract(epoch from '2026-07-21 20:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612442 -3.685096)'), GeomFromEWKT('SRID=4674;POINT (-38.612443 -3.685263)'))) / (select extract(epoch from '2026-07-21 20:39:15'::timestamp) - extract(epoch from '2026-07-21 20:39:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612455 -3.68548)', '2026-07-21 20:39:21', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612443 -3.685263)'), GeomFromEWKT('SRID=4674;POINT (-38.612455 -3.68548)'))) / (select extract(epoch from '2026-07-21 20:39:21'::timestamp) - extract(epoch from '2026-07-21 20:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612443 -3.685263)'), GeomFromEWKT('SRID=4674;POINT (-38.612455 -3.68548)'))) / (select extract(epoch from '2026-07-21 20:39:21'::timestamp) - extract(epoch from '2026-07-21 20:39: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'), 47374, 'SRID=4674;POINT (-38.612451 -3.685663)', '2026-07-21 20:39:27', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612455 -3.68548)'), GeomFromEWKT('SRID=4674;POINT (-38.612451 -3.685663)'))) / (select extract(epoch from '2026-07-21 20:39:27'::timestamp) - extract(epoch from '2026-07-21 20:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612455 -3.68548)'), GeomFromEWKT('SRID=4674;POINT (-38.612451 -3.685663)'))) / (select extract(epoch from '2026-07-21 20:39:27'::timestamp) - extract(epoch from '2026-07-21 20:39: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'), 47374, 'SRID=4674;POINT (-38.61243 -3.685822)', '2026-07-21 20:39:32', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612451 -3.685663)'), GeomFromEWKT('SRID=4674;POINT (-38.61243 -3.685822)'))) / (select extract(epoch from '2026-07-21 20:39:32'::timestamp) - extract(epoch from '2026-07-21 20:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612451 -3.685663)'), GeomFromEWKT('SRID=4674;POINT (-38.61243 -3.685822)'))) / (select extract(epoch from '2026-07-21 20:39:32'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.612339 -3.686012)', '2026-07-21 20:39:39', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61243 -3.685822)'), GeomFromEWKT('SRID=4674;POINT (-38.612339 -3.686012)'))) / (select extract(epoch from '2026-07-21 20:39:39'::timestamp) - extract(epoch from '2026-07-21 20:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.61243 -3.685822)'), GeomFromEWKT('SRID=4674;POINT (-38.612339 -3.686012)'))) / (select extract(epoch from '2026-07-21 20:39:39'::timestamp) - extract(epoch from '2026-07-21 20: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'), 47374, 'SRID=4674;POINT (-38.612246 -3.686192)', '2026-07-21 20:39:46', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612339 -3.686012)'), GeomFromEWKT('SRID=4674;POINT (-38.612246 -3.686192)'))) / (select extract(epoch from '2026-07-21 20:39:46'::timestamp) - extract(epoch from '2026-07-21 20:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612339 -3.686012)'), GeomFromEWKT('SRID=4674;POINT (-38.612246 -3.686192)'))) / (select extract(epoch from '2026-07-21 20:39:46'::timestamp) - extract(epoch from '2026-07-21 20:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612171 -3.686375)', '2026-07-21 20:39:53', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612246 -3.686192)'), GeomFromEWKT('SRID=4674;POINT (-38.612171 -3.686375)'))) / (select extract(epoch from '2026-07-21 20:39:53'::timestamp) - extract(epoch from '2026-07-21 20:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612246 -3.686192)'), GeomFromEWKT('SRID=4674;POINT (-38.612171 -3.686375)'))) / (select extract(epoch from '2026-07-21 20:39:53'::timestamp) - extract(epoch from '2026-07-21 20:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612163 -3.686558)', '2026-07-21 20:40:00', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612171 -3.686375)'), GeomFromEWKT('SRID=4674;POINT (-38.612163 -3.686558)'))) / (select extract(epoch from '2026-07-21 20:40:00'::timestamp) - extract(epoch from '2026-07-21 20:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612171 -3.686375)'), GeomFromEWKT('SRID=4674;POINT (-38.612163 -3.686558)'))) / (select extract(epoch from '2026-07-21 20:40:00'::timestamp) - extract(epoch from '2026-07-21 20:39: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'), 47374, 'SRID=4674;POINT (-38.612143 -3.68673)', '2026-07-21 20:40:05', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612163 -3.686558)'), GeomFromEWKT('SRID=4674;POINT (-38.612143 -3.68673)'))) / (select extract(epoch from '2026-07-21 20:40:05'::timestamp) - extract(epoch from '2026-07-21 20:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612163 -3.686558)'), GeomFromEWKT('SRID=4674;POINT (-38.612143 -3.68673)'))) / (select extract(epoch from '2026-07-21 20:40:05'::timestamp) - extract(epoch from '2026-07-21 20:40: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'), 47374, 'SRID=4674;POINT (-38.612142 -3.686878)', '2026-07-21 20:40:10', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612143 -3.68673)'), GeomFromEWKT('SRID=4674;POINT (-38.612142 -3.686878)'))) / (select extract(epoch from '2026-07-21 20:40:10'::timestamp) - extract(epoch from '2026-07-21 20:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612143 -3.68673)'), GeomFromEWKT('SRID=4674;POINT (-38.612142 -3.686878)'))) / (select extract(epoch from '2026-07-21 20:40:10'::timestamp) - extract(epoch from '2026-07-21 20:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612148 -3.687113)', '2026-07-21 20:40:17', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612142 -3.686878)'), GeomFromEWKT('SRID=4674;POINT (-38.612148 -3.687113)'))) / (select extract(epoch from '2026-07-21 20:40:17'::timestamp) - extract(epoch from '2026-07-21 20:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612142 -3.686878)'), GeomFromEWKT('SRID=4674;POINT (-38.612148 -3.687113)'))) / (select extract(epoch from '2026-07-21 20:40:17'::timestamp) - extract(epoch from '2026-07-21 20:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612155 -3.687331)', '2026-07-21 20:40:24', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612148 -3.687113)'), GeomFromEWKT('SRID=4674;POINT (-38.612155 -3.687331)'))) / (select extract(epoch from '2026-07-21 20:40:24'::timestamp) - extract(epoch from '2026-07-21 20:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612148 -3.687113)'), GeomFromEWKT('SRID=4674;POINT (-38.612155 -3.687331)'))) / (select extract(epoch from '2026-07-21 20:40:24'::timestamp) - extract(epoch from '2026-07-21 20:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612095 -3.687481)', '2026-07-21 20:40:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612155 -3.687331)'), GeomFromEWKT('SRID=4674;POINT (-38.612095 -3.687481)'))) / (select extract(epoch from '2026-07-21 20:40:30'::timestamp) - extract(epoch from '2026-07-21 20:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612155 -3.687331)'), GeomFromEWKT('SRID=4674;POINT (-38.612095 -3.687481)'))) / (select extract(epoch from '2026-07-21 20:40:30'::timestamp) - extract(epoch from '2026-07-21 20:40:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.612008 -3.687636)', '2026-07-21 20:40:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612095 -3.687481)'), GeomFromEWKT('SRID=4674;POINT (-38.612008 -3.687636)'))) / (select extract(epoch from '2026-07-21 20:40:37'::timestamp) - extract(epoch from '2026-07-21 20:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612095 -3.687481)'), GeomFromEWKT('SRID=4674;POINT (-38.612008 -3.687636)'))) / (select extract(epoch from '2026-07-21 20:40:37'::timestamp) - extract(epoch from '2026-07-21 20:40:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47374, 'SRID=4674;POINT (-38.611947 -3.68777)', '2026-07-21 20:40:44', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612008 -3.687636)'), GeomFromEWKT('SRID=4674;POINT (-38.611947 -3.68777)'))) / (select extract(epoch from '2026-07-21 20:40:44'::timestamp) - extract(epoch from '2026-07-21 20:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.612008 -3.687636)'), GeomFromEWKT('SRID=4674;POINT (-38.611947 -3.68777)'))) / (select extract(epoch from '2026-07-21 20:40:44'::timestamp) - extract(epoch from '2026-07-21 20:40: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'), 47374, 'SRID=4674;POINT (-38.611871 -3.687923)', '2026-07-21 20:40:51', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611947 -3.68777)'), GeomFromEWKT('SRID=4674;POINT (-38.611871 -3.687923)'))) / (select extract(epoch from '2026-07-21 20:40:51'::timestamp) - extract(epoch from '2026-07-21 20:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.611947 -3.68777)'), GeomFromEWKT('SRID=4674;POINT (-38.611871 -3.687923)'))) / (select extract(epoch from '2026-07-21 20:40:51'::timestamp) - extract(epoch from '2026-07-21 20:40:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
