BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.405790453777 -4.551875917241)', '2026-06-22 09:40:13', -27.399993896484, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.405561795458 -4.5520389452577)', '2026-06-22 09:40:22', -41, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405790453777 -4.551875917241)'), GeomFromEWKT('SRID=4674;POINT (-37.405561795458 -4.5520389452577)'))) / (select extract(epoch from '2026-06-22 09:40:22'::timestamp) - extract(epoch from '2026-06-22 09:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405790453777 -4.551875917241)'), GeomFromEWKT('SRID=4674;POINT (-37.405561795458 -4.5520389452577)'))) / (select extract(epoch from '2026-06-22 09:40:22'::timestamp) - extract(epoch from '2026-06-22 09:40: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'), 46871, 'SRID=4674;POINT (-37.405581744388 -4.5520381908864)', '2026-06-22 09:40:30', -43.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405561795458 -4.5520389452577)'), GeomFromEWKT('SRID=4674;POINT (-37.405581744388 -4.5520381908864)'))) / (select extract(epoch from '2026-06-22 09:40:30'::timestamp) - extract(epoch from '2026-06-22 09:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405561795458 -4.5520389452577)'), GeomFromEWKT('SRID=4674;POINT (-37.405581744388 -4.5520381908864)'))) / (select extract(epoch from '2026-06-22 09:40:30'::timestamp) - extract(epoch from '2026-06-22 09:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.405698923394 -4.5520349219441)', '2026-06-22 09:40:39', -25, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405581744388 -4.5520381908864)'), GeomFromEWKT('SRID=4674;POINT (-37.405698923394 -4.5520349219441)'))) / (select extract(epoch from '2026-06-22 09:40:39'::timestamp) - extract(epoch from '2026-06-22 09:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405581744388 -4.5520381908864)'), GeomFromEWKT('SRID=4674;POINT (-37.405698923394 -4.5520349219441)'))) / (select extract(epoch from '2026-06-22 09:40:39'::timestamp) - extract(epoch from '2026-06-22 09: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'), 46871, 'SRID=4674;POINT (-37.405733540654 -4.5520638395101)', '2026-06-22 09:40:45', -28.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405698923394 -4.5520349219441)'), GeomFromEWKT('SRID=4674;POINT (-37.405733540654 -4.5520638395101)'))) / (select extract(epoch from '2026-06-22 09:40:45'::timestamp) - extract(epoch from '2026-06-22 09:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405698923394 -4.5520349219441)'), GeomFromEWKT('SRID=4674;POINT (-37.405733540654 -4.5520638395101)'))) / (select extract(epoch from '2026-06-22 09:40:45'::timestamp) - extract(epoch from '2026-06-22 09:40: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'), 46871, 'SRID=4674;POINT (-37.405731696635 -4.55207942985)', '2026-06-22 09:40:46', -30.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405733540654 -4.5520638395101)'), GeomFromEWKT('SRID=4674;POINT (-37.405731696635 -4.55207942985)'))) / (select extract(epoch from '2026-06-22 09:40:46'::timestamp) - extract(epoch from '2026-06-22 09:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405733540654 -4.5520638395101)'), GeomFromEWKT('SRID=4674;POINT (-37.405731696635 -4.55207942985)'))) / (select extract(epoch from '2026-06-22 09:40:46'::timestamp) - extract(epoch from '2026-06-22 09:40:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.405741419643 -4.55212184228)', '2026-06-22 09:40:52', -36.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405731696635 -4.55207942985)'), GeomFromEWKT('SRID=4674;POINT (-37.405741419643 -4.55212184228)'))) / (select extract(epoch from '2026-06-22 09:40:52'::timestamp) - extract(epoch from '2026-06-22 09:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405731696635 -4.55207942985)'), GeomFromEWKT('SRID=4674;POINT (-37.405741419643 -4.55212184228)'))) / (select extract(epoch from '2026-06-22 09:40:52'::timestamp) - extract(epoch from '2026-06-22 09:40: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'), 46871, 'SRID=4674;POINT (-37.405760278925 -4.5521655958146)', '2026-06-22 09:41:00', -40, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405741419643 -4.55212184228)'), GeomFromEWKT('SRID=4674;POINT (-37.405760278925 -4.5521655958146)'))) / (select extract(epoch from '2026-06-22 09:41:00'::timestamp) - extract(epoch from '2026-06-22 09:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405741419643 -4.55212184228)'), GeomFromEWKT('SRID=4674;POINT (-37.405760278925 -4.5521655958146)'))) / (select extract(epoch from '2026-06-22 09:41:00'::timestamp) - extract(epoch from '2026-06-22 09:40: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'), 46871, 'SRID=4674;POINT (-37.405914673582 -4.5519576407969)', '2026-06-22 09:41:09', -27.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405760278925 -4.5521655958146)'), GeomFromEWKT('SRID=4674;POINT (-37.405914673582 -4.5519576407969)'))) / (select extract(epoch from '2026-06-22 09:41:09'::timestamp) - extract(epoch from '2026-06-22 09:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405760278925 -4.5521655958146)'), GeomFromEWKT('SRID=4674;POINT (-37.405914673582 -4.5519576407969)'))) / (select extract(epoch from '2026-06-22 09:41:09'::timestamp) - extract(epoch from '2026-06-22 09:41: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'), 46871, 'SRID=4674;POINT (-37.405989188701 -4.5518772583455)', '2026-06-22 09:41:20', -18.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405914673582 -4.5519576407969)'), GeomFromEWKT('SRID=4674;POINT (-37.405989188701 -4.5518772583455)'))) / (select extract(epoch from '2026-06-22 09:41:20'::timestamp) - extract(epoch from '2026-06-22 09:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405914673582 -4.5519576407969)'), GeomFromEWKT('SRID=4674;POINT (-37.405989188701 -4.5518772583455)'))) / (select extract(epoch from '2026-06-22 09:41:20'::timestamp) - extract(epoch from '2026-06-22 09:41: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'), 46871, 'SRID=4674;POINT (-37.406021375209 -4.5518496818841)', '2026-06-22 09:41:32', -14.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405989188701 -4.5518772583455)'), GeomFromEWKT('SRID=4674;POINT (-37.406021375209 -4.5518496818841)'))) / (select extract(epoch from '2026-06-22 09:41:32'::timestamp) - extract(epoch from '2026-06-22 09:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.405989188701 -4.5518772583455)'), GeomFromEWKT('SRID=4674;POINT (-37.406021375209 -4.5518496818841)'))) / (select extract(epoch from '2026-06-22 09:41:32'::timestamp) - extract(epoch from '2026-06-22 09:41: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'), 46871, 'SRID=4674;POINT (-37.406057920307 -4.551831157878)', '2026-06-22 09:41:40', -14.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406021375209 -4.5518496818841)'), GeomFromEWKT('SRID=4674;POINT (-37.406057920307 -4.551831157878)'))) / (select extract(epoch from '2026-06-22 09:41:40'::timestamp) - extract(epoch from '2026-06-22 09:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406021375209 -4.5518496818841)'), GeomFromEWKT('SRID=4674;POINT (-37.406057920307 -4.551831157878)'))) / (select extract(epoch from '2026-06-22 09:41:40'::timestamp) - extract(epoch from '2026-06-22 09:41: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'), 46871, 'SRID=4674;POINT (-37.406092537567 -4.5518133882433)', '2026-06-22 09:41:47', -14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406057920307 -4.551831157878)'), GeomFromEWKT('SRID=4674;POINT (-37.406092537567 -4.5518133882433)'))) / (select extract(epoch from '2026-06-22 09:41:47'::timestamp) - extract(epoch from '2026-06-22 09:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406057920307 -4.551831157878)'), GeomFromEWKT('SRID=4674;POINT (-37.406092537567 -4.5518133882433)'))) / (select extract(epoch from '2026-06-22 09:41:47'::timestamp) - extract(epoch from '2026-06-22 09:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406118856743 -4.5518114604056)', '2026-06-22 09:41:52', -13.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406092537567 -4.5518133882433)'), GeomFromEWKT('SRID=4674;POINT (-37.406118856743 -4.5518114604056)'))) / (select extract(epoch from '2026-06-22 09:41:52'::timestamp) - extract(epoch from '2026-06-22 09:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406092537567 -4.5518133882433)'), GeomFromEWKT('SRID=4674;POINT (-37.406118856743 -4.5518114604056)'))) / (select extract(epoch from '2026-06-22 09:41:52'::timestamp) - extract(epoch from '2026-06-22 09:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406159089878 -4.5518220216036)', '2026-06-22 09:42:00', -13.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406118856743 -4.5518114604056)'), GeomFromEWKT('SRID=4674;POINT (-37.406159089878 -4.5518220216036)'))) / (select extract(epoch from '2026-06-22 09:42:00'::timestamp) - extract(epoch from '2026-06-22 09:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406118856743 -4.5518114604056)'), GeomFromEWKT('SRID=4674;POINT (-37.406159089878 -4.5518220216036)'))) / (select extract(epoch from '2026-06-22 09:42:00'::timestamp) - extract(epoch from '2026-06-22 09:41: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'), 46871, 'SRID=4674;POINT (-37.406187839806 -4.5518172439188)', '2026-06-22 09:42:06', -13.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406159089878 -4.5518220216036)'), GeomFromEWKT('SRID=4674;POINT (-37.406187839806 -4.5518172439188)'))) / (select extract(epoch from '2026-06-22 09:42:06'::timestamp) - extract(epoch from '2026-06-22 09:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406159089878 -4.5518220216036)'), GeomFromEWKT('SRID=4674;POINT (-37.406187839806 -4.5518172439188)'))) / (select extract(epoch from '2026-06-22 09:42:06'::timestamp) - extract(epoch from '2026-06-22 09:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406207034364 -4.5518056768924)', '2026-06-22 09:42:12', -13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406187839806 -4.5518172439188)'), GeomFromEWKT('SRID=4674;POINT (-37.406207034364 -4.5518056768924)'))) / (select extract(epoch from '2026-06-22 09:42:12'::timestamp) - extract(epoch from '2026-06-22 09:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406187839806 -4.5518172439188)'), GeomFromEWKT('SRID=4674;POINT (-37.406207034364 -4.5518056768924)'))) / (select extract(epoch from '2026-06-22 09:42:12'::timestamp) - extract(epoch from '2026-06-22 09:42:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406231174245 -4.5517763402313)', '2026-06-22 09:42:21', -12.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406207034364 -4.5518056768924)'), GeomFromEWKT('SRID=4674;POINT (-37.406231174245 -4.5517763402313)'))) / (select extract(epoch from '2026-06-22 09:42:21'::timestamp) - extract(epoch from '2026-06-22 09:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406207034364 -4.5518056768924)'), GeomFromEWKT('SRID=4674;POINT (-37.406231174245 -4.5517763402313)'))) / (select extract(epoch from '2026-06-22 09:42:21'::timestamp) - extract(epoch from '2026-06-22 09:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406257241964 -4.5517688803375)', '2026-06-22 09:42:27', -13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406231174245 -4.5517763402313)'), GeomFromEWKT('SRID=4674;POINT (-37.406257241964 -4.5517688803375)'))) / (select extract(epoch from '2026-06-22 09:42:27'::timestamp) - extract(epoch from '2026-06-22 09:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406231174245 -4.5517763402313)'), GeomFromEWKT('SRID=4674;POINT (-37.406257241964 -4.5517688803375)'))) / (select extract(epoch from '2026-06-22 09:42:27'::timestamp) - extract(epoch from '2026-06-22 09:42: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'), 46871, 'SRID=4674;POINT (-37.406310969964 -4.5517839677632)', '2026-06-22 09:42:36', -13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406257241964 -4.5517688803375)'), GeomFromEWKT('SRID=4674;POINT (-37.406310969964 -4.5517839677632)'))) / (select extract(epoch from '2026-06-22 09:42:36'::timestamp) - extract(epoch from '2026-06-22 09:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406257241964 -4.5517688803375)'), GeomFromEWKT('SRID=4674;POINT (-37.406310969964 -4.5517839677632)'))) / (select extract(epoch from '2026-06-22 09:42:36'::timestamp) - extract(epoch from '2026-06-22 09:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406347850338 -4.5517829619348)', '2026-06-22 09:42:43', -12.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406310969964 -4.5517839677632)'), GeomFromEWKT('SRID=4674;POINT (-37.406347850338 -4.5517829619348)'))) / (select extract(epoch from '2026-06-22 09:42:43'::timestamp) - extract(epoch from '2026-06-22 09:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406310969964 -4.5517839677632)'), GeomFromEWKT('SRID=4674;POINT (-37.406347850338 -4.5517829619348)'))) / (select extract(epoch from '2026-06-22 09:42:43'::timestamp) - extract(epoch from '2026-06-22 09:42: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'), 46871, 'SRID=4674;POINT (-37.406373247504 -4.5517686288804)', '2026-06-22 09:42:49', -12.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406347850338 -4.5517829619348)'), GeomFromEWKT('SRID=4674;POINT (-37.406373247504 -4.5517686288804)'))) / (select extract(epoch from '2026-06-22 09:42:49'::timestamp) - extract(epoch from '2026-06-22 09:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406347850338 -4.5517829619348)'), GeomFromEWKT('SRID=4674;POINT (-37.406373247504 -4.5517686288804)'))) / (select extract(epoch from '2026-06-22 09:42:49'::timestamp) - extract(epoch from '2026-06-22 09:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406405098736 -4.5517399627715)', '2026-06-22 09:42:57', -12.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406373247504 -4.5517686288804)'), GeomFromEWKT('SRID=4674;POINT (-37.406405098736 -4.5517399627715)'))) / (select extract(epoch from '2026-06-22 09:42:57'::timestamp) - extract(epoch from '2026-06-22 09:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406373247504 -4.5517686288804)'), GeomFromEWKT('SRID=4674;POINT (-37.406405098736 -4.5517399627715)'))) / (select extract(epoch from '2026-06-22 09:42:57'::timestamp) - extract(epoch from '2026-06-22 09:42: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'), 46871, 'SRID=4674;POINT (-37.406429070979 -4.5517238695174)', '2026-06-22 09:43:04', -12.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406405098736 -4.5517399627715)'), GeomFromEWKT('SRID=4674;POINT (-37.406429070979 -4.5517238695174)'))) / (select extract(epoch from '2026-06-22 09:43:04'::timestamp) - extract(epoch from '2026-06-22 09:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406405098736 -4.5517399627715)'), GeomFromEWKT('SRID=4674;POINT (-37.406429070979 -4.5517238695174)'))) / (select extract(epoch from '2026-06-22 09:43:04'::timestamp) - extract(epoch from '2026-06-22 09:42: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'), 46871, 'SRID=4674;POINT (-37.406463185325 -4.5517256297171)', '2026-06-22 09:43:11', -12.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406429070979 -4.5517238695174)'), GeomFromEWKT('SRID=4674;POINT (-37.406463185325 -4.5517256297171)'))) / (select extract(epoch from '2026-06-22 09:43:11'::timestamp) - extract(epoch from '2026-06-22 09:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406429070979 -4.5517238695174)'), GeomFromEWKT('SRID=4674;POINT (-37.406463185325 -4.5517256297171)'))) / (select extract(epoch from '2026-06-22 09:43:11'::timestamp) - extract(epoch from '2026-06-22 09:43: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'), 46871, 'SRID=4674;POINT (-37.406493443996 -4.5517337601632)', '2026-06-22 09:43:17', -12.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406463185325 -4.5517256297171)'), GeomFromEWKT('SRID=4674;POINT (-37.406493443996 -4.5517337601632)'))) / (select extract(epoch from '2026-06-22 09:43:17'::timestamp) - extract(epoch from '2026-06-22 09:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406463185325 -4.5517256297171)'), GeomFromEWKT('SRID=4674;POINT (-37.406493443996 -4.5517337601632)'))) / (select extract(epoch from '2026-06-22 09:43:17'::timestamp) - extract(epoch from '2026-06-22 09:43: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'), 46871, 'SRID=4674;POINT (-37.406516745687 -4.551738621667)', '2026-06-22 09:43:22', -13.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406493443996 -4.5517337601632)'), GeomFromEWKT('SRID=4674;POINT (-37.406516745687 -4.551738621667)'))) / (select extract(epoch from '2026-06-22 09:43:22'::timestamp) - extract(epoch from '2026-06-22 09:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406493443996 -4.5517337601632)'), GeomFromEWKT('SRID=4674;POINT (-37.406516745687 -4.551738621667)'))) / (select extract(epoch from '2026-06-22 09:43:22'::timestamp) - extract(epoch from '2026-06-22 09:43: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'), 46871, 'SRID=4674;POINT (-37.4065225292 -4.5517381187528)', '2026-06-22 09:43:23', -13.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406516745687 -4.551738621667)'), GeomFromEWKT('SRID=4674;POINT (-37.4065225292 -4.5517381187528)'))) / (select extract(epoch from '2026-06-22 09:43:23'::timestamp) - extract(epoch from '2026-06-22 09:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406516745687 -4.551738621667)'), GeomFromEWKT('SRID=4674;POINT (-37.4065225292 -4.5517381187528)'))) / (select extract(epoch from '2026-06-22 09:43:23'::timestamp) - extract(epoch from '2026-06-22 09:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406536275521 -4.5517256297171)', '2026-06-22 09:43:26', -13.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.4065225292 -4.5517381187528)'), GeomFromEWKT('SRID=4674;POINT (-37.406536275521 -4.5517256297171)'))) / (select extract(epoch from '2026-06-22 09:43:26'::timestamp) - extract(epoch from '2026-06-22 09:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.4065225292 -4.5517381187528)'), GeomFromEWKT('SRID=4674;POINT (-37.406536275521 -4.5517256297171)'))) / (select extract(epoch from '2026-06-22 09:43:26'::timestamp) - extract(epoch from '2026-06-22 09:43: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'), 46871, 'SRID=4674;POINT (-37.406561672688 -4.5517326705158)', '2026-06-22 09:43:32', -14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406536275521 -4.5517256297171)'), GeomFromEWKT('SRID=4674;POINT (-37.406561672688 -4.5517326705158)'))) / (select extract(epoch from '2026-06-22 09:43:32'::timestamp) - extract(epoch from '2026-06-22 09:43:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406536275521 -4.5517256297171)'), GeomFromEWKT('SRID=4674;POINT (-37.406561672688 -4.5517326705158)'))) / (select extract(epoch from '2026-06-22 09:43:32'::timestamp) - extract(epoch from '2026-06-22 09:43: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'), 46871, 'SRID=4674;POINT (-37.406586399302 -4.551730742678)', '2026-06-22 09:43:38', -13.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406561672688 -4.5517326705158)'), GeomFromEWKT('SRID=4674;POINT (-37.406586399302 -4.551730742678)'))) / (select extract(epoch from '2026-06-22 09:43:38'::timestamp) - extract(epoch from '2026-06-22 09:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406561672688 -4.5517326705158)'), GeomFromEWKT('SRID=4674;POINT (-37.406586399302 -4.551730742678)'))) / (select extract(epoch from '2026-06-22 09:43:38'::timestamp) - extract(epoch from '2026-06-22 09:43:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406629733741 -4.551746584475)', '2026-06-22 09:43:47', -14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406586399302 -4.551730742678)'), GeomFromEWKT('SRID=4674;POINT (-37.406629733741 -4.551746584475)'))) / (select extract(epoch from '2026-06-22 09:43:47'::timestamp) - extract(epoch from '2026-06-22 09:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406586399302 -4.551730742678)'), GeomFromEWKT('SRID=4674;POINT (-37.406629733741 -4.551746584475)'))) / (select extract(epoch from '2026-06-22 09:43:47'::timestamp) - extract(epoch from '2026-06-22 09:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406665021554 -4.5517759211361)', '2026-06-22 09:43:54', -13.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406629733741 -4.551746584475)'), GeomFromEWKT('SRID=4674;POINT (-37.406665021554 -4.5517759211361)'))) / (select extract(epoch from '2026-06-22 09:43:54'::timestamp) - extract(epoch from '2026-06-22 09:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406629733741 -4.551746584475)'), GeomFromEWKT('SRID=4674;POINT (-37.406665021554 -4.5517759211361)'))) / (select extract(epoch from '2026-06-22 09:43:54'::timestamp) - extract(epoch from '2026-06-22 09:43:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406700979918 -4.5518301520497)', '2026-06-22 09:44:04', -13.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406665021554 -4.5517759211361)'), GeomFromEWKT('SRID=4674;POINT (-37.406700979918 -4.5518301520497)'))) / (select extract(epoch from '2026-06-22 09:44:04'::timestamp) - extract(epoch from '2026-06-22 09:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406665021554 -4.5517759211361)'), GeomFromEWKT('SRID=4674;POINT (-37.406700979918 -4.5518301520497)'))) / (select extract(epoch from '2026-06-22 09:44:04'::timestamp) - extract(epoch from '2026-06-22 09:43:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406715061516 -4.5518559683114)', '2026-06-22 09:44:08', -13.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406700979918 -4.5518301520497)'), GeomFromEWKT('SRID=4674;POINT (-37.406715061516 -4.5518559683114)'))) / (select extract(epoch from '2026-06-22 09:44:08'::timestamp) - extract(epoch from '2026-06-22 09:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406700979918 -4.5518301520497)'), GeomFromEWKT('SRID=4674;POINT (-37.406715061516 -4.5518559683114)'))) / (select extract(epoch from '2026-06-22 09:44:08'::timestamp) - extract(epoch from '2026-06-22 09:44: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'), 46871, 'SRID=4674;POINT (-37.40673115477 -4.5518799405545)', '2026-06-22 09:44:11', -13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406715061516 -4.5518559683114)'), GeomFromEWKT('SRID=4674;POINT (-37.40673115477 -4.5518799405545)'))) / (select extract(epoch from '2026-06-22 09:44:11'::timestamp) - extract(epoch from '2026-06-22 09:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406715061516 -4.5518559683114)'), GeomFromEWKT('SRID=4674;POINT (-37.40673115477 -4.5518799405545)'))) / (select extract(epoch from '2026-06-22 09:44:11'::timestamp) - extract(epoch from '2026-06-22 09:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406781530008 -4.5519521925598)', '2026-06-22 09:44:18', -12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.40673115477 -4.5518799405545)'), GeomFromEWKT('SRID=4674;POINT (-37.406781530008 -4.5519521925598)'))) / (select extract(epoch from '2026-06-22 09:44:18'::timestamp) - extract(epoch from '2026-06-22 09:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.40673115477 -4.5518799405545)'), GeomFromEWKT('SRID=4674;POINT (-37.406781530008 -4.5519521925598)'))) / (select extract(epoch from '2026-06-22 09:44:18'::timestamp) - extract(epoch from '2026-06-22 09:44:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.406873730943 -4.5520955231041)', '2026-06-22 09:44:27', -10.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406781530008 -4.5519521925598)'), GeomFromEWKT('SRID=4674;POINT (-37.406873730943 -4.5520955231041)'))) / (select extract(epoch from '2026-06-22 09:44:27'::timestamp) - extract(epoch from '2026-06-22 09:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406781530008 -4.5519521925598)'), GeomFromEWKT('SRID=4674;POINT (-37.406873730943 -4.5520955231041)'))) / (select extract(epoch from '2026-06-22 09:44:27'::timestamp) - extract(epoch from '2026-06-22 09:44: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'), 46871, 'SRID=4674;POINT (-37.406952185556 -4.5522330701351)', '2026-06-22 09:44:35', -10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406873730943 -4.5520955231041)'), GeomFromEWKT('SRID=4674;POINT (-37.406952185556 -4.5522330701351)'))) / (select extract(epoch from '2026-06-22 09:44:35'::timestamp) - extract(epoch from '2026-06-22 09:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406873730943 -4.5520955231041)'), GeomFromEWKT('SRID=4674;POINT (-37.406952185556 -4.5522330701351)'))) / (select extract(epoch from '2026-06-22 09:44:35'::timestamp) - extract(epoch from '2026-06-22 09:44: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'), 46871, 'SRID=4674;POINT (-37.407024856657 -4.5523636601865)', '2026-06-22 09:44:42', -9.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406952185556 -4.5522330701351)'), GeomFromEWKT('SRID=4674;POINT (-37.407024856657 -4.5523636601865)'))) / (select extract(epoch from '2026-06-22 09:44:42'::timestamp) - extract(epoch from '2026-06-22 09:44:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.406952185556 -4.5522330701351)'), GeomFromEWKT('SRID=4674;POINT (-37.407024856657 -4.5523636601865)'))) / (select extract(epoch from '2026-06-22 09:44:42'::timestamp) - extract(epoch from '2026-06-22 09:44: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'), 46871, 'SRID=4674;POINT (-37.407099539414 -4.5524952560663)', '2026-06-22 09:44:49', -8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407024856657 -4.5523636601865)'), GeomFromEWKT('SRID=4674;POINT (-37.407099539414 -4.5524952560663)'))) / (select extract(epoch from '2026-06-22 09:44:49'::timestamp) - extract(epoch from '2026-06-22 09:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407024856657 -4.5523636601865)'), GeomFromEWKT('SRID=4674;POINT (-37.407099539414 -4.5524952560663)'))) / (select extract(epoch from '2026-06-22 09:44:49'::timestamp) - extract(epoch from '2026-06-22 09:44: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'), 46871, 'SRID=4674;POINT (-37.407188136131 -4.5526380836964)', '2026-06-22 09:44:57', -7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407099539414 -4.5524952560663)'), GeomFromEWKT('SRID=4674;POINT (-37.407188136131 -4.5526380836964)'))) / (select extract(epoch from '2026-06-22 09:44:57'::timestamp) - extract(epoch from '2026-06-22 09:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407099539414 -4.5524952560663)'), GeomFromEWKT('SRID=4674;POINT (-37.407188136131 -4.5526380836964)'))) / (select extract(epoch from '2026-06-22 09:44:57'::timestamp) - extract(epoch from '2026-06-22 09:44: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'), 46871, 'SRID=4674;POINT (-37.407258125022 -4.5527521613985)', '2026-06-22 09:45:03', -7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407188136131 -4.5526380836964)'), GeomFromEWKT('SRID=4674;POINT (-37.407258125022 -4.5527521613985)'))) / (select extract(epoch from '2026-06-22 09:45:03'::timestamp) - extract(epoch from '2026-06-22 09:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407188136131 -4.5526380836964)'), GeomFromEWKT('SRID=4674;POINT (-37.407258125022 -4.5527521613985)'))) / (select extract(epoch from '2026-06-22 09:45:03'::timestamp) - extract(epoch from '2026-06-22 09:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.407317049801 -4.5528444461524)', '2026-06-22 09:45:08', -6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407258125022 -4.5527521613985)'), GeomFromEWKT('SRID=4674;POINT (-37.407317049801 -4.5528444461524)'))) / (select extract(epoch from '2026-06-22 09:45:08'::timestamp) - extract(epoch from '2026-06-22 09:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407258125022 -4.5527521613985)'), GeomFromEWKT('SRID=4674;POINT (-37.407317049801 -4.5528444461524)'))) / (select extract(epoch from '2026-06-22 09:45:08'::timestamp) - extract(epoch from '2026-06-22 09:45:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.40739072673 -4.5529560931027)', '2026-06-22 09:45:14', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407317049801 -4.5528444461524)'), GeomFromEWKT('SRID=4674;POINT (-37.40739072673 -4.5529560931027)'))) / (select extract(epoch from '2026-06-22 09:45:14'::timestamp) - extract(epoch from '2026-06-22 09:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407317049801 -4.5528444461524)'), GeomFromEWKT('SRID=4674;POINT (-37.40739072673 -4.5529560931027)'))) / (select extract(epoch from '2026-06-22 09:45:14'::timestamp) - extract(epoch from '2026-06-22 09:45:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.407471444458 -4.5530771277845)', '2026-06-22 09:45:21', -3.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.40739072673 -4.5529560931027)'), GeomFromEWKT('SRID=4674;POINT (-37.407471444458 -4.5530771277845)'))) / (select extract(epoch from '2026-06-22 09:45:21'::timestamp) - extract(epoch from '2026-06-22 09:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.40739072673 -4.5529560931027)'), GeomFromEWKT('SRID=4674;POINT (-37.407471444458 -4.5530771277845)'))) / (select extract(epoch from '2026-06-22 09:45:21'::timestamp) - extract(epoch from '2026-06-22 09:45:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.407551323995 -4.5532081369311)', '2026-06-22 09:45:28', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407471444458 -4.5530771277845)'), GeomFromEWKT('SRID=4674;POINT (-37.407551323995 -4.5532081369311)'))) / (select extract(epoch from '2026-06-22 09:45:28'::timestamp) - extract(epoch from '2026-06-22 09:45:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407471444458 -4.5530771277845)'), GeomFromEWKT('SRID=4674;POINT (-37.407551323995 -4.5532081369311)'))) / (select extract(epoch from '2026-06-22 09:45:28'::timestamp) - extract(epoch from '2026-06-22 09:45:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.407623156905 -4.5533253997564)', '2026-06-22 09:45:34', -2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407551323995 -4.5532081369311)'), GeomFromEWKT('SRID=4674;POINT (-37.407623156905 -4.5533253997564)'))) / (select extract(epoch from '2026-06-22 09:45:34'::timestamp) - extract(epoch from '2026-06-22 09:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407551323995 -4.5532081369311)'), GeomFromEWKT('SRID=4674;POINT (-37.407623156905 -4.5533253997564)'))) / (select extract(epoch from '2026-06-22 09:45:34'::timestamp) - extract(epoch from '2026-06-22 09:45: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'), 46871, 'SRID=4674;POINT (-37.407712675631 -4.5534684788436)', '2026-06-22 09:45:41', -2.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407623156905 -4.5533253997564)'), GeomFromEWKT('SRID=4674;POINT (-37.407712675631 -4.5534684788436)'))) / (select extract(epoch from '2026-06-22 09:45:41'::timestamp) - extract(epoch from '2026-06-22 09:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407623156905 -4.5533253997564)'), GeomFromEWKT('SRID=4674;POINT (-37.407712675631 -4.5534684788436)'))) / (select extract(epoch from '2026-06-22 09:45:41'::timestamp) - extract(epoch from '2026-06-22 09:45:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.407801523805 -4.5536092948169)', '2026-06-22 09:45:48', -1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407712675631 -4.5534684788436)'), GeomFromEWKT('SRID=4674;POINT (-37.407801523805 -4.5536092948169)'))) / (select extract(epoch from '2026-06-22 09:45:48'::timestamp) - extract(epoch from '2026-06-22 09:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407712675631 -4.5534684788436)'), GeomFromEWKT('SRID=4674;POINT (-37.407801523805 -4.5536092948169)'))) / (select extract(epoch from '2026-06-22 09:45:48'::timestamp) - extract(epoch from '2026-06-22 09:45:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.407889198512 -4.5537243783474)', '2026-06-22 09:45:54', -0.79998779296875, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407801523805 -4.5536092948169)'), GeomFromEWKT('SRID=4674;POINT (-37.407889198512 -4.5537243783474)'))) / (select extract(epoch from '2026-06-22 09:45:54'::timestamp) - extract(epoch from '2026-06-22 09:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407801523805 -4.5536092948169)'), GeomFromEWKT('SRID=4674;POINT (-37.407889198512 -4.5537243783474)'))) / (select extract(epoch from '2026-06-22 09:45:54'::timestamp) - extract(epoch from '2026-06-22 09:45:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.407947033644 -4.5538150705397)', '2026-06-22 09:45:59', 1.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407889198512 -4.5537243783474)'), GeomFromEWKT('SRID=4674;POINT (-37.407947033644 -4.5538150705397)'))) / (select extract(epoch from '2026-06-22 09:45:59'::timestamp) - extract(epoch from '2026-06-22 09:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407889198512 -4.5537243783474)'), GeomFromEWKT('SRID=4674;POINT (-37.407947033644 -4.5538150705397)'))) / (select extract(epoch from '2026-06-22 09:45:59'::timestamp) - extract(epoch from '2026-06-22 09:45:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.408026074991 -4.5539407990873)', '2026-06-22 09:46:05', 1.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407947033644 -4.5538150705397)'), GeomFromEWKT('SRID=4674;POINT (-37.408026074991 -4.5539407990873)'))) / (select extract(epoch from '2026-06-22 09:46:05'::timestamp) - extract(epoch from '2026-06-22 09:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.407947033644 -4.5538150705397)'), GeomFromEWKT('SRID=4674;POINT (-37.408026074991 -4.5539407990873)'))) / (select extract(epoch from '2026-06-22 09:46:05'::timestamp) - extract(epoch from '2026-06-22 09:45: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'), 46871, 'SRID=4674;POINT (-37.408107127994 -4.5540635939687)', '2026-06-22 09:46:11', 2.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408026074991 -4.5539407990873)'), GeomFromEWKT('SRID=4674;POINT (-37.408107127994 -4.5540635939687)'))) / (select extract(epoch from '2026-06-22 09:46:11'::timestamp) - extract(epoch from '2026-06-22 09:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408026074991 -4.5539407990873)'), GeomFromEWKT('SRID=4674;POINT (-37.408107127994 -4.5540635939687)'))) / (select extract(epoch from '2026-06-22 09:46:11'::timestamp) - extract(epoch from '2026-06-22 09:46:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.4082018435 -4.5542097743601)', '2026-06-22 09:46:18', 2.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408107127994 -4.5540635939687)'), GeomFromEWKT('SRID=4674;POINT (-37.4082018435 -4.5542097743601)'))) / (select extract(epoch from '2026-06-22 09:46:18'::timestamp) - extract(epoch from '2026-06-22 09:46:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408107127994 -4.5540635939687)'), GeomFromEWKT('SRID=4674;POINT (-37.4082018435 -4.5542097743601)'))) / (select extract(epoch from '2026-06-22 09:46:18'::timestamp) - extract(epoch from '2026-06-22 09:46:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.408286584541 -4.5543305575848)', '2026-06-22 09:46:24', 3.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.4082018435 -4.5542097743601)'), GeomFromEWKT('SRID=4674;POINT (-37.408286584541 -4.5543305575848)'))) / (select extract(epoch from '2026-06-22 09:46:24'::timestamp) - extract(epoch from '2026-06-22 09:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.4082018435 -4.5542097743601)'), GeomFromEWKT('SRID=4674;POINT (-37.408286584541 -4.5543305575848)'))) / (select extract(epoch from '2026-06-22 09:46:24'::timestamp) - extract(epoch from '2026-06-22 09:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.408379791304 -4.5544710382819)', '2026-06-22 09:46:31', 4.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408286584541 -4.5543305575848)'), GeomFromEWKT('SRID=4674;POINT (-37.408379791304 -4.5544710382819)'))) / (select extract(epoch from '2026-06-22 09:46:31'::timestamp) - extract(epoch from '2026-06-22 09:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408286584541 -4.5543305575848)'), GeomFromEWKT('SRID=4674;POINT (-37.408379791304 -4.5544710382819)'))) / (select extract(epoch from '2026-06-22 09:46:31'::timestamp) - extract(epoch from '2026-06-22 09:46: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'), 46871, 'SRID=4674;POINT (-37.408495964482 -4.5546275284141)', '2026-06-22 09:46:39', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408379791304 -4.5544710382819)'), GeomFromEWKT('SRID=4674;POINT (-37.408495964482 -4.5546275284141)'))) / (select extract(epoch from '2026-06-22 09:46:39'::timestamp) - extract(epoch from '2026-06-22 09:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408379791304 -4.5544710382819)'), GeomFromEWKT('SRID=4674;POINT (-37.408495964482 -4.5546275284141)'))) / (select extract(epoch from '2026-06-22 09:46:39'::timestamp) - extract(epoch from '2026-06-22 09:46:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.408599480987 -4.5547630637884)', '2026-06-22 09:46:46', 7.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408495964482 -4.5546275284141)'), GeomFromEWKT('SRID=4674;POINT (-37.408599480987 -4.5547630637884)'))) / (select extract(epoch from '2026-06-22 09:46:46'::timestamp) - extract(epoch from '2026-06-22 09:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408495964482 -4.5546275284141)'), GeomFromEWKT('SRID=4674;POINT (-37.408599480987 -4.5547630637884)'))) / (select extract(epoch from '2026-06-22 09:46:46'::timestamp) - extract(epoch from '2026-06-22 09:46: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'), 46871, 'SRID=4674;POINT (-37.408706685528 -4.5549003593624)', '2026-06-22 09:46:53', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408599480987 -4.5547630637884)'), GeomFromEWKT('SRID=4674;POINT (-37.408706685528 -4.5549003593624)'))) / (select extract(epoch from '2026-06-22 09:46:53'::timestamp) - extract(epoch from '2026-06-22 09:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408599480987 -4.5547630637884)'), GeomFromEWKT('SRID=4674;POINT (-37.408706685528 -4.5549003593624)'))) / (select extract(epoch from '2026-06-22 09:46:53'::timestamp) - extract(epoch from '2026-06-22 09:46: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'), 46871, 'SRID=4674;POINT (-37.408775333315 -4.5549989305437)', '2026-06-22 09:46:58', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408706685528 -4.5549003593624)'), GeomFromEWKT('SRID=4674;POINT (-37.408775333315 -4.5549989305437)'))) / (select extract(epoch from '2026-06-22 09:46:58'::timestamp) - extract(epoch from '2026-06-22 09:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408706685528 -4.5549003593624)'), GeomFromEWKT('SRID=4674;POINT (-37.408775333315 -4.5549989305437)'))) / (select extract(epoch from '2026-06-22 09:46:58'::timestamp) - extract(epoch from '2026-06-22 09:46: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'), 46871, 'SRID=4674;POINT (-37.408842556179 -4.5550998486578)', '2026-06-22 09:47:03', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408775333315 -4.5549989305437)'), GeomFromEWKT('SRID=4674;POINT (-37.408842556179 -4.5550998486578)'))) / (select extract(epoch from '2026-06-22 09:47:03'::timestamp) - extract(epoch from '2026-06-22 09:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408775333315 -4.5549989305437)'), GeomFromEWKT('SRID=4674;POINT (-37.408842556179 -4.5550998486578)'))) / (select extract(epoch from '2026-06-22 09:47:03'::timestamp) - extract(epoch from '2026-06-22 09:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.408917238936 -4.5552119985223)', '2026-06-22 09:47:09', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408842556179 -4.5550998486578)'), GeomFromEWKT('SRID=4674;POINT (-37.408917238936 -4.5552119985223)'))) / (select extract(epoch from '2026-06-22 09:47:09'::timestamp) - extract(epoch from '2026-06-22 09:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408842556179 -4.5550998486578)'), GeomFromEWKT('SRID=4674;POINT (-37.408917238936 -4.5552119985223)'))) / (select extract(epoch from '2026-06-22 09:47:09'::timestamp) - extract(epoch from '2026-06-22 09:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.408944480121 -4.5552485436201)', '2026-06-22 09:47:11', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408917238936 -4.5552119985223)'), GeomFromEWKT('SRID=4674;POINT (-37.408944480121 -4.5552485436201)'))) / (select extract(epoch from '2026-06-22 09:47:11'::timestamp) - extract(epoch from '2026-06-22 09:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408917238936 -4.5552119985223)'), GeomFromEWKT('SRID=4674;POINT (-37.408944480121 -4.5552485436201)'))) / (select extract(epoch from '2026-06-22 09:47:11'::timestamp) - extract(epoch from '2026-06-22 09:47: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'), 46871, 'SRID=4674;POINT (-37.409001393244 -4.5553004276007)', '2026-06-22 09:47:14', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408944480121 -4.5552485436201)'), GeomFromEWKT('SRID=4674;POINT (-37.409001393244 -4.5553004276007)'))) / (select extract(epoch from '2026-06-22 09:47:14'::timestamp) - extract(epoch from '2026-06-22 09:47:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408944480121 -4.5552485436201)'), GeomFromEWKT('SRID=4674;POINT (-37.409001393244 -4.5553004276007)'))) / (select extract(epoch from '2026-06-22 09:47:14'::timestamp) - extract(epoch from '2026-06-22 09:47: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'), 46871, 'SRID=4674;POINT (-37.409134833142 -4.5553885214031)', '2026-06-22 09:47:20', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409001393244 -4.5553004276007)'), GeomFromEWKT('SRID=4674;POINT (-37.409134833142 -4.5553885214031)'))) / (select extract(epoch from '2026-06-22 09:47:20'::timestamp) - extract(epoch from '2026-06-22 09:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409001393244 -4.5553004276007)'), GeomFromEWKT('SRID=4674;POINT (-37.409134833142 -4.5553885214031)'))) / (select extract(epoch from '2026-06-22 09:47:20'::timestamp) - extract(epoch from '2026-06-22 09:47:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409273637459 -4.5554197859019)', '2026-06-22 09:47:25', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409134833142 -4.5553885214031)'), GeomFromEWKT('SRID=4674;POINT (-37.409273637459 -4.5554197859019)'))) / (select extract(epoch from '2026-06-22 09:47:25'::timestamp) - extract(epoch from '2026-06-22 09:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409134833142 -4.5553885214031)'), GeomFromEWKT('SRID=4674;POINT (-37.409273637459 -4.5554197859019)'))) / (select extract(epoch from '2026-06-22 09:47:25'::timestamp) - extract(epoch from '2026-06-22 09:47: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'), 46871, 'SRID=4674;POINT (-37.409506570548 -4.5554492902011)', '2026-06-22 09:47:34', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409273637459 -4.5554197859019)'), GeomFromEWKT('SRID=4674;POINT (-37.409506570548 -4.5554492902011)'))) / (select extract(epoch from '2026-06-22 09:47:34'::timestamp) - extract(epoch from '2026-06-22 09:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409273637459 -4.5554197859019)'), GeomFromEWKT('SRID=4674;POINT (-37.409506570548 -4.5554492902011)'))) / (select extract(epoch from '2026-06-22 09:47:34'::timestamp) - extract(epoch from '2026-06-22 09:47: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'), 46871, 'SRID=4674;POINT (-37.409628862515 -4.5554972346872)', '2026-06-22 09:47:39', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409506570548 -4.5554492902011)'), GeomFromEWKT('SRID=4674;POINT (-37.409628862515 -4.5554972346872)'))) / (select extract(epoch from '2026-06-22 09:47:39'::timestamp) - extract(epoch from '2026-06-22 09:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409506570548 -4.5554492902011)'), GeomFromEWKT('SRID=4674;POINT (-37.409628862515 -4.5554972346872)'))) / (select extract(epoch from '2026-06-22 09:47:39'::timestamp) - extract(epoch from '2026-06-22 09:47:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409712346271 -4.5555893518031)', '2026-06-22 09:47:44', 6.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409628862515 -4.5554972346872)'), GeomFromEWKT('SRID=4674;POINT (-37.409712346271 -4.5555893518031)'))) / (select extract(epoch from '2026-06-22 09:47:44'::timestamp) - extract(epoch from '2026-06-22 09:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409628862515 -4.5554972346872)'), GeomFromEWKT('SRID=4674;POINT (-37.409712346271 -4.5555893518031)'))) / (select extract(epoch from '2026-06-22 09:47:44'::timestamp) - extract(epoch from '2026-06-22 09:47: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'), 46871, 'SRID=4674;POINT (-37.409763224423 -4.5557076204568)', '2026-06-22 09:47:50', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409712346271 -4.5555893518031)'), GeomFromEWKT('SRID=4674;POINT (-37.409763224423 -4.5557076204568)'))) / (select extract(epoch from '2026-06-22 09:47:50'::timestamp) - extract(epoch from '2026-06-22 09:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409712346271 -4.5555893518031)'), GeomFromEWKT('SRID=4674;POINT (-37.409763224423 -4.5557076204568)'))) / (select extract(epoch from '2026-06-22 09:47:50'::timestamp) - extract(epoch from '2026-06-22 09:47: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'), 46871, 'SRID=4674;POINT (-37.409763978794 -4.5557594206184)', '2026-06-22 09:47:55', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409763224423 -4.5557076204568)'), GeomFromEWKT('SRID=4674;POINT (-37.409763978794 -4.5557594206184)'))) / (select extract(epoch from '2026-06-22 09:47:55'::timestamp) - extract(epoch from '2026-06-22 09:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409763224423 -4.5557076204568)'), GeomFromEWKT('SRID=4674;POINT (-37.409763978794 -4.5557594206184)'))) / (select extract(epoch from '2026-06-22 09:47:55'::timestamp) - extract(epoch from '2026-06-22 09:47: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'), 46871, 'SRID=4674;POINT (-37.409782418981 -4.5557711552829)', '2026-06-22 09:48:03', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409763978794 -4.5557594206184)'), GeomFromEWKT('SRID=4674;POINT (-37.409782418981 -4.5557711552829)'))) / (select extract(epoch from '2026-06-22 09:48:03'::timestamp) - extract(epoch from '2026-06-22 09:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409763978794 -4.5557594206184)'), GeomFromEWKT('SRID=4674;POINT (-37.409782418981 -4.5557711552829)'))) / (select extract(epoch from '2026-06-22 09:48:03'::timestamp) - extract(epoch from '2026-06-22 09:47:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409812761471 -4.5557787828147)', '2026-06-22 09:48:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409782418981 -4.5557711552829)'), GeomFromEWKT('SRID=4674;POINT (-37.409812761471 -4.5557787828147)'))) / (select extract(epoch from '2026-06-22 09:48:11'::timestamp) - extract(epoch from '2026-06-22 09:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409782418981 -4.5557711552829)'), GeomFromEWKT('SRID=4674;POINT (-37.409812761471 -4.5557787828147)'))) / (select extract(epoch from '2026-06-22 09:48:11'::timestamp) - extract(epoch from '2026-06-22 09:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409853078425 -4.555771574378)', '2026-06-22 09:48:19', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409812761471 -4.5557787828147)'), GeomFromEWKT('SRID=4674;POINT (-37.409853078425 -4.555771574378)'))) / (select extract(epoch from '2026-06-22 09:48:19'::timestamp) - extract(epoch from '2026-06-22 09:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409812761471 -4.5557787828147)'), GeomFromEWKT('SRID=4674;POINT (-37.409853078425 -4.555771574378)'))) / (select extract(epoch from '2026-06-22 09:48:19'::timestamp) - extract(epoch from '2026-06-22 09:48: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'), 46871, 'SRID=4674;POINT (-37.409921390936 -4.5557655394077)', '2026-06-22 09:48:30', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409853078425 -4.555771574378)'), GeomFromEWKT('SRID=4674;POINT (-37.409921390936 -4.5557655394077)'))) / (select extract(epoch from '2026-06-22 09:48:30'::timestamp) - extract(epoch from '2026-06-22 09:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409853078425 -4.555771574378)'), GeomFromEWKT('SRID=4674;POINT (-37.409921390936 -4.5557655394077)'))) / (select extract(epoch from '2026-06-22 09:48:30'::timestamp) - extract(epoch from '2026-06-22 09:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409995822236 -4.5557575765997)', '2026-06-22 09:48:40', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409921390936 -4.5557655394077)'), GeomFromEWKT('SRID=4674;POINT (-37.409995822236 -4.5557575765997)'))) / (select extract(epoch from '2026-06-22 09:48:40'::timestamp) - extract(epoch from '2026-06-22 09:48:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409921390936 -4.5557655394077)'), GeomFromEWKT('SRID=4674;POINT (-37.409995822236 -4.5557575765997)'))) / (select extract(epoch from '2026-06-22 09:48:40'::timestamp) - extract(epoch from '2026-06-22 09:48: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'), 46871, 'SRID=4674;POINT (-37.41004225798 -4.5557540562004)', '2026-06-22 09:48:46', 8.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409995822236 -4.5557575765997)'), GeomFromEWKT('SRID=4674;POINT (-37.41004225798 -4.5557540562004)'))) / (select extract(epoch from '2026-06-22 09:48:46'::timestamp) - extract(epoch from '2026-06-22 09:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409995822236 -4.5557575765997)'), GeomFromEWKT('SRID=4674;POINT (-37.41004225798 -4.5557540562004)'))) / (select extract(epoch from '2026-06-22 09:48:46'::timestamp) - extract(epoch from '2026-06-22 09:48:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.410079725087 -4.5557466801256)', '2026-06-22 09:48:55', 8.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.41004225798 -4.5557540562004)'), GeomFromEWKT('SRID=4674;POINT (-37.410079725087 -4.5557466801256)'))) / (select extract(epoch from '2026-06-22 09:48:55'::timestamp) - extract(epoch from '2026-06-22 09:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.41004225798 -4.5557540562004)'), GeomFromEWKT('SRID=4674;POINT (-37.410079725087 -4.5557466801256)'))) / (select extract(epoch from '2026-06-22 09:48:55'::timestamp) - extract(epoch from '2026-06-22 09:48: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'), 46871, 'SRID=4674;POINT (-37.410042341799 -4.5556873362511)', '2026-06-22 09:49:07', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.410079725087 -4.5557466801256)'), GeomFromEWKT('SRID=4674;POINT (-37.410042341799 -4.5556873362511)'))) / (select extract(epoch from '2026-06-22 09:49:07'::timestamp) - extract(epoch from '2026-06-22 09:48:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.410079725087 -4.5557466801256)'), GeomFromEWKT('SRID=4674;POINT (-37.410042341799 -4.5556873362511)'))) / (select extract(epoch from '2026-06-22 09:49:07'::timestamp) - extract(epoch from '2026-06-22 09:48: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'), 46871, 'SRID=4674;POINT (-37.410035887733 -4.5556800439954)', '2026-06-22 09:49:08', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.410042341799 -4.5556873362511)'), GeomFromEWKT('SRID=4674;POINT (-37.410035887733 -4.5556800439954)'))) / (select extract(epoch from '2026-06-22 09:49:08'::timestamp) - extract(epoch from '2026-06-22 09:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.410042341799 -4.5556873362511)'), GeomFromEWKT('SRID=4674;POINT (-37.410035887733 -4.5556800439954)'))) / (select extract(epoch from '2026-06-22 09:49:08'::timestamp) - extract(epoch from '2026-06-22 09:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.410004455596 -4.5556491985917)', '2026-06-22 09:49:13', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.410035887733 -4.5556800439954)'), GeomFromEWKT('SRID=4674;POINT (-37.410004455596 -4.5556491985917)'))) / (select extract(epoch from '2026-06-22 09:49:13'::timestamp) - extract(epoch from '2026-06-22 09:49:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.410035887733 -4.5556800439954)'), GeomFromEWKT('SRID=4674;POINT (-37.410004455596 -4.5556491985917)'))) / (select extract(epoch from '2026-06-22 09:49:13'::timestamp) - extract(epoch from '2026-06-22 09:49: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'), 46871, 'SRID=4674;POINT (-37.409956762567 -4.5555903576314)', '2026-06-22 09:49:21', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.410004455596 -4.5556491985917)'), GeomFromEWKT('SRID=4674;POINT (-37.409956762567 -4.5555903576314)'))) / (select extract(epoch from '2026-06-22 09:49:21'::timestamp) - extract(epoch from '2026-06-22 09:49:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.410004455596 -4.5556491985917)'), GeomFromEWKT('SRID=4674;POINT (-37.409956762567 -4.5555903576314)'))) / (select extract(epoch from '2026-06-22 09:49:21'::timestamp) - extract(epoch from '2026-06-22 09:49: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'), 46871, 'SRID=4674;POINT (-37.409919463098 -4.555546855554)', '2026-06-22 09:49:27', 7.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409956762567 -4.5555903576314)'), GeomFromEWKT('SRID=4674;POINT (-37.409919463098 -4.555546855554)'))) / (select extract(epoch from '2026-06-22 09:49:27'::timestamp) - extract(epoch from '2026-06-22 09:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409956762567 -4.5555903576314)'), GeomFromEWKT('SRID=4674;POINT (-37.409919463098 -4.555546855554)'))) / (select extract(epoch from '2026-06-22 09:49:27'::timestamp) - extract(epoch from '2026-06-22 09:49:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409888869151 -4.5554911997169)', '2026-06-22 09:49:34', 7.3999938964844, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409919463098 -4.555546855554)'), GeomFromEWKT('SRID=4674;POINT (-37.409888869151 -4.5554911997169)'))) / (select extract(epoch from '2026-06-22 09:49:34'::timestamp) - extract(epoch from '2026-06-22 09:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409919463098 -4.555546855554)'), GeomFromEWKT('SRID=4674;POINT (-37.409888869151 -4.5554911997169)'))) / (select extract(epoch from '2026-06-22 09:49:34'::timestamp) - extract(epoch from '2026-06-22 09:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409837320447 -4.555438561365)', '2026-06-22 09:49:43', 7.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409888869151 -4.5554911997169)'), GeomFromEWKT('SRID=4674;POINT (-37.409837320447 -4.555438561365)'))) / (select extract(epoch from '2026-06-22 09:49:43'::timestamp) - extract(epoch from '2026-06-22 09:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409888869151 -4.5554911997169)'), GeomFromEWKT('SRID=4674;POINT (-37.409837320447 -4.555438561365)'))) / (select extract(epoch from '2026-06-22 09:49:43'::timestamp) - extract(epoch from '2026-06-22 09:49: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'), 46871, 'SRID=4674;POINT (-37.409787364304 -4.5553679857403)', '2026-06-22 09:49:52', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409837320447 -4.555438561365)'), GeomFromEWKT('SRID=4674;POINT (-37.409787364304 -4.5553679857403)'))) / (select extract(epoch from '2026-06-22 09:49:52'::timestamp) - extract(epoch from '2026-06-22 09:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409837320447 -4.555438561365)'), GeomFromEWKT('SRID=4674;POINT (-37.409787364304 -4.5553679857403)'))) / (select extract(epoch from '2026-06-22 09:49:52'::timestamp) - extract(epoch from '2026-06-22 09:49:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409738581628 -4.5553031936288)', '2026-06-22 09:49:58', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409787364304 -4.5553679857403)'), GeomFromEWKT('SRID=4674;POINT (-37.409738581628 -4.5553031936288)'))) / (select extract(epoch from '2026-06-22 09:49:58'::timestamp) - extract(epoch from '2026-06-22 09:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409787364304 -4.5553679857403)'), GeomFromEWKT('SRID=4674;POINT (-37.409738581628 -4.5553031936288)'))) / (select extract(epoch from '2026-06-22 09:49:58'::timestamp) - extract(epoch from '2026-06-22 09:49: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'), 46871, 'SRID=4674;POINT (-37.409696588293 -4.5552420895547)', '2026-06-22 09:50:03', 8.6000061035156, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409738581628 -4.5553031936288)'), GeomFromEWKT('SRID=4674;POINT (-37.409696588293 -4.5552420895547)'))) / (select extract(epoch from '2026-06-22 09:50:03'::timestamp) - extract(epoch from '2026-06-22 09:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409738581628 -4.5553031936288)'), GeomFromEWKT('SRID=4674;POINT (-37.409696588293 -4.5552420895547)'))) / (select extract(epoch from '2026-06-22 09:50:03'::timestamp) - extract(epoch from '2026-06-22 09:49: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'), 46871, 'SRID=4674;POINT (-37.409686027095 -4.5552290976048)', '2026-06-22 09:50:04', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409696588293 -4.5552420895547)'), GeomFromEWKT('SRID=4674;POINT (-37.409686027095 -4.5552290976048)'))) / (select extract(epoch from '2026-06-22 09:50:04'::timestamp) - extract(epoch from '2026-06-22 09:50:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409696588293 -4.5552420895547)'), GeomFromEWKT('SRID=4674;POINT (-37.409686027095 -4.5552290976048)'))) / (select extract(epoch from '2026-06-22 09:50:04'::timestamp) - extract(epoch from '2026-06-22 09:50:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409625258297 -4.5551422610879)', '2026-06-22 09:50:11', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409686027095 -4.5552290976048)'), GeomFromEWKT('SRID=4674;POINT (-37.409625258297 -4.5551422610879)'))) / (select extract(epoch from '2026-06-22 09:50:11'::timestamp) - extract(epoch from '2026-06-22 09:50:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409686027095 -4.5552290976048)'), GeomFromEWKT('SRID=4674;POINT (-37.409625258297 -4.5551422610879)'))) / (select extract(epoch from '2026-06-22 09:50:11'::timestamp) - extract(epoch from '2026-06-22 09:50: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'), 46871, 'SRID=4674;POINT (-37.409570356831 -4.5550406724215)', '2026-06-22 09:50:18', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409625258297 -4.5551422610879)'), GeomFromEWKT('SRID=4674;POINT (-37.409570356831 -4.5550406724215)'))) / (select extract(epoch from '2026-06-22 09:50:18'::timestamp) - extract(epoch from '2026-06-22 09:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409625258297 -4.5551422610879)'), GeomFromEWKT('SRID=4674;POINT (-37.409570356831 -4.5550406724215)'))) / (select extract(epoch from '2026-06-22 09:50:18'::timestamp) - extract(epoch from '2026-06-22 09:50: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'), 46871, 'SRID=4674;POINT (-37.409515120089 -4.5549462921917)', '2026-06-22 09:50:24', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409570356831 -4.5550406724215)'), GeomFromEWKT('SRID=4674;POINT (-37.409515120089 -4.5549462921917)'))) / (select extract(epoch from '2026-06-22 09:50:24'::timestamp) - extract(epoch from '2026-06-22 09:50:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409570356831 -4.5550406724215)'), GeomFromEWKT('SRID=4674;POINT (-37.409515120089 -4.5549462921917)'))) / (select extract(epoch from '2026-06-22 09:50:24'::timestamp) - extract(epoch from '2026-06-22 09:50: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'), 46871, 'SRID=4674;POINT (-37.409472037107 -4.5548555999994)', '2026-06-22 09:50:30', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409515120089 -4.5549462921917)'), GeomFromEWKT('SRID=4674;POINT (-37.409472037107 -4.5548555999994)'))) / (select extract(epoch from '2026-06-22 09:50:30'::timestamp) - extract(epoch from '2026-06-22 09:50:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409515120089 -4.5549462921917)'), GeomFromEWKT('SRID=4674;POINT (-37.409472037107 -4.5548555999994)'))) / (select extract(epoch from '2026-06-22 09:50:30'::timestamp) - extract(epoch from '2026-06-22 09:50: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'), 46871, 'SRID=4674;POINT (-37.409409172833 -4.5547284465283)', '2026-06-22 09:50:38', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409472037107 -4.5548555999994)'), GeomFromEWKT('SRID=4674;POINT (-37.409409172833 -4.5547284465283)'))) / (select extract(epoch from '2026-06-22 09:50:38'::timestamp) - extract(epoch from '2026-06-22 09:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409472037107 -4.5548555999994)'), GeomFromEWKT('SRID=4674;POINT (-37.409409172833 -4.5547284465283)'))) / (select extract(epoch from '2026-06-22 09:50:38'::timestamp) - extract(epoch from '2026-06-22 09:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.40937304683 -4.5546463876963)', '2026-06-22 09:50:43', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409409172833 -4.5547284465283)'), GeomFromEWKT('SRID=4674;POINT (-37.40937304683 -4.5546463876963)'))) / (select extract(epoch from '2026-06-22 09:50:43'::timestamp) - extract(epoch from '2026-06-22 09:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409409172833 -4.5547284465283)'), GeomFromEWKT('SRID=4674;POINT (-37.40937304683 -4.5546463876963)'))) / (select extract(epoch from '2026-06-22 09:50:43'::timestamp) - extract(epoch from '2026-06-22 09:50: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'), 46871, 'SRID=4674;POINT (-37.40936785005 -4.554629875347)', '2026-06-22 09:50:44', 8.7999877929688, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.40937304683 -4.5546463876963)'), GeomFromEWKT('SRID=4674;POINT (-37.40936785005 -4.554629875347)'))) / (select extract(epoch from '2026-06-22 09:50:44'::timestamp) - extract(epoch from '2026-06-22 09:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.40937304683 -4.5546463876963)'), GeomFromEWKT('SRID=4674;POINT (-37.40936785005 -4.554629875347)'))) / (select extract(epoch from '2026-06-22 09:50:44'::timestamp) - extract(epoch from '2026-06-22 09:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409340273589 -4.5545624848455)', '2026-06-22 09:50:48', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.40936785005 -4.554629875347)'), GeomFromEWKT('SRID=4674;POINT (-37.409340273589 -4.5545624848455)'))) / (select extract(epoch from '2026-06-22 09:50:48'::timestamp) - extract(epoch from '2026-06-22 09:50:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.40936785005 -4.554629875347)'), GeomFromEWKT('SRID=4674;POINT (-37.409340273589 -4.5545624848455)'))) / (select extract(epoch from '2026-06-22 09:50:48'::timestamp) - extract(epoch from '2026-06-22 09:50: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'), 46871, 'SRID=4674;POINT (-37.409327616915 -4.5545285381377)', '2026-06-22 09:50:50', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409340273589 -4.5545624848455)'), GeomFromEWKT('SRID=4674;POINT (-37.409327616915 -4.5545285381377)'))) / (select extract(epoch from '2026-06-22 09:50:50'::timestamp) - extract(epoch from '2026-06-22 09:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409340273589 -4.5545624848455)'), GeomFromEWKT('SRID=4674;POINT (-37.409327616915 -4.5545285381377)'))) / (select extract(epoch from '2026-06-22 09:50:50'::timestamp) - extract(epoch from '2026-06-22 09:50: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'), 46871, 'SRID=4674;POINT (-37.409304985777 -4.5544768217951)', '2026-06-22 09:50:53', 9.2000122070312, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409327616915 -4.5545285381377)'), GeomFromEWKT('SRID=4674;POINT (-37.409304985777 -4.5544768217951)'))) / (select extract(epoch from '2026-06-22 09:50:53'::timestamp) - extract(epoch from '2026-06-22 09:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409327616915 -4.5545285381377)'), GeomFromEWKT('SRID=4674;POINT (-37.409304985777 -4.5544768217951)'))) / (select extract(epoch from '2026-06-22 09:50:53'::timestamp) - extract(epoch from '2026-06-22 09:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.40926223807 -4.5544015523046)', '2026-06-22 09:50:58', 10.399993896484, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409304985777 -4.5544768217951)'), GeomFromEWKT('SRID=4674;POINT (-37.40926223807 -4.5544015523046)'))) / (select extract(epoch from '2026-06-22 09:50:58'::timestamp) - extract(epoch from '2026-06-22 09:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409304985777 -4.5544768217951)'), GeomFromEWKT('SRID=4674;POINT (-37.40926223807 -4.5544015523046)'))) / (select extract(epoch from '2026-06-22 09:50:58'::timestamp) - extract(epoch from '2026-06-22 09:50: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'), 46871, 'SRID=4674;POINT (-37.409211862832 -4.5543139614165)', '2026-06-22 09:51:04', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.40926223807 -4.5544015523046)'), GeomFromEWKT('SRID=4674;POINT (-37.409211862832 -4.5543139614165)'))) / (select extract(epoch from '2026-06-22 09:51:04'::timestamp) - extract(epoch from '2026-06-22 09:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.40926223807 -4.5544015523046)'), GeomFromEWKT('SRID=4674;POINT (-37.409211862832 -4.5543139614165)'))) / (select extract(epoch from '2026-06-22 09:51:04'::timestamp) - extract(epoch from '2026-06-22 09:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409168360755 -4.5542321540415)', '2026-06-22 09:51:10', 11.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409211862832 -4.5543139614165)'), GeomFromEWKT('SRID=4674;POINT (-37.409168360755 -4.5542321540415)'))) / (select extract(epoch from '2026-06-22 09:51:10'::timestamp) - extract(epoch from '2026-06-22 09:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409211862832 -4.5543139614165)'), GeomFromEWKT('SRID=4674;POINT (-37.409168360755 -4.5542321540415)'))) / (select extract(epoch from '2026-06-22 09:51:10'::timestamp) - extract(epoch from '2026-06-22 09:51: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'), 46871, 'SRID=4674;POINT (-37.409121841192 -4.5541201718152)', '2026-06-22 09:51:17', 11.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409168360755 -4.5542321540415)'), GeomFromEWKT('SRID=4674;POINT (-37.409121841192 -4.5541201718152)'))) / (select extract(epoch from '2026-06-22 09:51:17'::timestamp) - extract(epoch from '2026-06-22 09:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409168360755 -4.5542321540415)'), GeomFromEWKT('SRID=4674;POINT (-37.409121841192 -4.5541201718152)'))) / (select extract(epoch from '2026-06-22 09:51:17'::timestamp) - extract(epoch from '2026-06-22 09:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409076495096 -4.5540153980255)', '2026-06-22 09:51:23', 11.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409121841192 -4.5541201718152)'), GeomFromEWKT('SRID=4674;POINT (-37.409076495096 -4.5540153980255)'))) / (select extract(epoch from '2026-06-22 09:51:23'::timestamp) - extract(epoch from '2026-06-22 09:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409121841192 -4.5541201718152)'), GeomFromEWKT('SRID=4674;POINT (-37.409076495096 -4.5540153980255)'))) / (select extract(epoch from '2026-06-22 09:51:23'::timestamp) - extract(epoch from '2026-06-22 09:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46871, 'SRID=4674;POINT (-37.409035339952 -4.5539367757738)', '2026-06-22 09:51:29', 12.200012207031, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409076495096 -4.5540153980255)'), GeomFromEWKT('SRID=4674;POINT (-37.409035339952 -4.5539367757738)'))) / (select extract(epoch from '2026-06-22 09:51:29'::timestamp) - extract(epoch from '2026-06-22 09:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409076495096 -4.5540153980255)'), GeomFromEWKT('SRID=4674;POINT (-37.409035339952 -4.5539367757738)'))) / (select extract(epoch from '2026-06-22 09:51:29'::timestamp) - extract(epoch from '2026-06-22 09:51: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'), 46871, 'SRID=4674;POINT (-37.408989658579 -4.5538522861898)', '2026-06-22 09:51:36', 11.799987792969, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409035339952 -4.5539367757738)'), GeomFromEWKT('SRID=4674;POINT (-37.408989658579 -4.5538522861898)'))) / (select extract(epoch from '2026-06-22 09:51:36'::timestamp) - extract(epoch from '2026-06-22 09:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.409035339952 -4.5539367757738)'), GeomFromEWKT('SRID=4674;POINT (-37.408989658579 -4.5538522861898)'))) / (select extract(epoch from '2026-06-22 09:51:36'::timestamp) - extract(epoch from '2026-06-22 09:51: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'), 46871, 'SRID=4674;POINT (-37.408964596689 -4.5537811238319)', '2026-06-22 09:51:42', 11.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408989658579 -4.5538522861898)'), GeomFromEWKT('SRID=4674;POINT (-37.408964596689 -4.5537811238319)'))) / (select extract(epoch from '2026-06-22 09:51:42'::timestamp) - extract(epoch from '2026-06-22 09:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408989658579 -4.5538522861898)'), GeomFromEWKT('SRID=4674;POINT (-37.408964596689 -4.5537811238319)'))) / (select extract(epoch from '2026-06-22 09:51:42'::timestamp) - extract(epoch from '2026-06-22 09:51: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'), 46871, 'SRID=4674;POINT (-37.408909862861 -4.5537102967501)', '2026-06-22 09:51:48', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408964596689 -4.5537811238319)'), GeomFromEWKT('SRID=4674;POINT (-37.408909862861 -4.5537102967501)'))) / (select extract(epoch from '2026-06-22 09:51:48'::timestamp) - extract(epoch from '2026-06-22 09:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408964596689 -4.5537811238319)'), GeomFromEWKT('SRID=4674;POINT (-37.408909862861 -4.5537102967501)'))) / (select extract(epoch from '2026-06-22 09:51:48'::timestamp) - extract(epoch from '2026-06-22 09:51: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'), 46871, 'SRID=4674;POINT (-37.408838449046 -4.5536366198212)', '2026-06-22 09:51:56', 10.600006103516, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408909862861 -4.5537102967501)'), GeomFromEWKT('SRID=4674;POINT (-37.408838449046 -4.5536366198212)'))) / (select extract(epoch from '2026-06-22 09:51:56'::timestamp) - extract(epoch from '2026-06-22 09:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-37.408909862861 -4.5537102967501)'), GeomFromEWKT('SRID=4674;POINT (-37.408838449046 -4.5536366198212)'))) / (select extract(epoch from '2026-06-22 09:51:56'::timestamp) - extract(epoch from '2026-06-22 09:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
