 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568223 -3.271889)', '2026-05-28 15:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568264 -3.271948)'), GeomFromEWKT('SRID=4674;POINT (-38.568223 -3.271889)'))) / (select extract(epoch from '2026-05-28 15:54:33'::timestamp) - extract(epoch from '2026-05-28 15:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568264 -3.271948)'), GeomFromEWKT('SRID=4674;POINT (-38.568223 -3.271889)'))) / (select extract(epoch from '2026-05-28 15:54:33'::timestamp) - extract(epoch from '2026-05-28 15:54: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'), 46535, 'SRID=4674;POINT (-38.568187 -3.271819)', '2026-05-28 15:54:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568223 -3.271889)'), GeomFromEWKT('SRID=4674;POINT (-38.568187 -3.271819)'))) / (select extract(epoch from '2026-05-28 15:54:38'::timestamp) - extract(epoch from '2026-05-28 15:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568223 -3.271889)'), GeomFromEWKT('SRID=4674;POINT (-38.568187 -3.271819)'))) / (select extract(epoch from '2026-05-28 15:54:38'::timestamp) - extract(epoch from '2026-05-28 15:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568181 -3.271802)', '2026-05-28 15:54:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568187 -3.271819)'), GeomFromEWKT('SRID=4674;POINT (-38.568181 -3.271802)'))) / (select extract(epoch from '2026-05-28 15:54:39'::timestamp) - extract(epoch from '2026-05-28 15:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568187 -3.271819)'), GeomFromEWKT('SRID=4674;POINT (-38.568181 -3.271802)'))) / (select extract(epoch from '2026-05-28 15:54:39'::timestamp) - extract(epoch from '2026-05-28 15:54: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'), 46535, 'SRID=4674;POINT (-38.568144 -3.271742)', '2026-05-28 15:54:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568181 -3.271802)'), GeomFromEWKT('SRID=4674;POINT (-38.568144 -3.271742)'))) / (select extract(epoch from '2026-05-28 15:54:44'::timestamp) - extract(epoch from '2026-05-28 15:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568181 -3.271802)'), GeomFromEWKT('SRID=4674;POINT (-38.568144 -3.271742)'))) / (select extract(epoch from '2026-05-28 15:54:44'::timestamp) - extract(epoch from '2026-05-28 15:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56814 -3.271728)', '2026-05-28 15:54:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568144 -3.271742)'), GeomFromEWKT('SRID=4674;POINT (-38.56814 -3.271728)'))) / (select extract(epoch from '2026-05-28 15:54:45'::timestamp) - extract(epoch from '2026-05-28 15:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568144 -3.271742)'), GeomFromEWKT('SRID=4674;POINT (-38.56814 -3.271728)'))) / (select extract(epoch from '2026-05-28 15:54:45'::timestamp) - extract(epoch from '2026-05-28 15:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568135 -3.271715)', '2026-05-28 15:54:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56814 -3.271728)'), GeomFromEWKT('SRID=4674;POINT (-38.568135 -3.271715)'))) / (select extract(epoch from '2026-05-28 15:54:46'::timestamp) - extract(epoch from '2026-05-28 15:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56814 -3.271728)'), GeomFromEWKT('SRID=4674;POINT (-38.568135 -3.271715)'))) / (select extract(epoch from '2026-05-28 15:54:46'::timestamp) - extract(epoch from '2026-05-28 15:54:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568101 -3.271661)', '2026-05-28 15:54:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568135 -3.271715)'), GeomFromEWKT('SRID=4674;POINT (-38.568101 -3.271661)'))) / (select extract(epoch from '2026-05-28 15:54:50'::timestamp) - extract(epoch from '2026-05-28 15:54:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568135 -3.271715)'), GeomFromEWKT('SRID=4674;POINT (-38.568101 -3.271661)'))) / (select extract(epoch from '2026-05-28 15:54:50'::timestamp) - extract(epoch from '2026-05-28 15:54: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'), 46535, 'SRID=4674;POINT (-38.56809 -3.271631)', '2026-05-28 15:54:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568101 -3.271661)'), GeomFromEWKT('SRID=4674;POINT (-38.56809 -3.271631)'))) / (select extract(epoch from '2026-05-28 15:54:52'::timestamp) - extract(epoch from '2026-05-28 15:54:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568101 -3.271661)'), GeomFromEWKT('SRID=4674;POINT (-38.56809 -3.271631)'))) / (select extract(epoch from '2026-05-28 15:54:52'::timestamp) - extract(epoch from '2026-05-28 15:54:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568062 -3.271589)', '2026-05-28 15:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56809 -3.271631)'), GeomFromEWKT('SRID=4674;POINT (-38.568062 -3.271589)'))) / (select extract(epoch from '2026-05-28 15:54:55'::timestamp) - extract(epoch from '2026-05-28 15:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56809 -3.271631)'), GeomFromEWKT('SRID=4674;POINT (-38.568062 -3.271589)'))) / (select extract(epoch from '2026-05-28 15:54:55'::timestamp) - extract(epoch from '2026-05-28 15:54:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568002 -3.271492)', '2026-05-28 15:55:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568062 -3.271589)'), GeomFromEWKT('SRID=4674;POINT (-38.568002 -3.271492)'))) / (select extract(epoch from '2026-05-28 15:55:02'::timestamp) - extract(epoch from '2026-05-28 15:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568062 -3.271589)'), GeomFromEWKT('SRID=4674;POINT (-38.568002 -3.271492)'))) / (select extract(epoch from '2026-05-28 15:55:02'::timestamp) - extract(epoch from '2026-05-28 15:54: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'), 46535, 'SRID=4674;POINT (-38.567939 -3.271397)', '2026-05-28 15:55:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568002 -3.271492)'), GeomFromEWKT('SRID=4674;POINT (-38.567939 -3.271397)'))) / (select extract(epoch from '2026-05-28 15:55:09'::timestamp) - extract(epoch from '2026-05-28 15:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568002 -3.271492)'), GeomFromEWKT('SRID=4674;POINT (-38.567939 -3.271397)'))) / (select extract(epoch from '2026-05-28 15:55:09'::timestamp) - extract(epoch from '2026-05-28 15:55:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567885 -3.271313)', '2026-05-28 15:55:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567939 -3.271397)'), GeomFromEWKT('SRID=4674;POINT (-38.567885 -3.271313)'))) / (select extract(epoch from '2026-05-28 15:55:15'::timestamp) - extract(epoch from '2026-05-28 15:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567939 -3.271397)'), GeomFromEWKT('SRID=4674;POINT (-38.567885 -3.271313)'))) / (select extract(epoch from '2026-05-28 15:55:15'::timestamp) - extract(epoch from '2026-05-28 15:55: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'), 46535, 'SRID=4674;POINT (-38.567835 -3.271245)', '2026-05-28 15:55:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567885 -3.271313)'), GeomFromEWKT('SRID=4674;POINT (-38.567835 -3.271245)'))) / (select extract(epoch from '2026-05-28 15:55:20'::timestamp) - extract(epoch from '2026-05-28 15:55:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567885 -3.271313)'), GeomFromEWKT('SRID=4674;POINT (-38.567835 -3.271245)'))) / (select extract(epoch from '2026-05-28 15:55:20'::timestamp) - extract(epoch from '2026-05-28 15:55:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567813 -3.271218)', '2026-05-28 15:55:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567835 -3.271245)'), GeomFromEWKT('SRID=4674;POINT (-38.567813 -3.271218)'))) / (select extract(epoch from '2026-05-28 15:55:22'::timestamp) - extract(epoch from '2026-05-28 15:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567835 -3.271245)'), GeomFromEWKT('SRID=4674;POINT (-38.567813 -3.271218)'))) / (select extract(epoch from '2026-05-28 15:55:22'::timestamp) - extract(epoch from '2026-05-28 15:55:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567776 -3.271168)', '2026-05-28 15:55:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567813 -3.271218)'), GeomFromEWKT('SRID=4674;POINT (-38.567776 -3.271168)'))) / (select extract(epoch from '2026-05-28 15:55:26'::timestamp) - extract(epoch from '2026-05-28 15:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567813 -3.271218)'), GeomFromEWKT('SRID=4674;POINT (-38.567776 -3.271168)'))) / (select extract(epoch from '2026-05-28 15:55:26'::timestamp) - extract(epoch from '2026-05-28 15:55: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'), 46535, 'SRID=4674;POINT (-38.567706 -3.271087)', '2026-05-28 15:55:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567776 -3.271168)'), GeomFromEWKT('SRID=4674;POINT (-38.567706 -3.271087)'))) / (select extract(epoch from '2026-05-28 15:55:32'::timestamp) - extract(epoch from '2026-05-28 15:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567776 -3.271168)'), GeomFromEWKT('SRID=4674;POINT (-38.567706 -3.271087)'))) / (select extract(epoch from '2026-05-28 15:55:32'::timestamp) - extract(epoch from '2026-05-28 15:55: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'), 46535, 'SRID=4674;POINT (-38.567643 -3.271019)', '2026-05-28 15:55:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567706 -3.271087)'), GeomFromEWKT('SRID=4674;POINT (-38.567643 -3.271019)'))) / (select extract(epoch from '2026-05-28 15:55:38'::timestamp) - extract(epoch from '2026-05-28 15:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567706 -3.271087)'), GeomFromEWKT('SRID=4674;POINT (-38.567643 -3.271019)'))) / (select extract(epoch from '2026-05-28 15:55:38'::timestamp) - extract(epoch from '2026-05-28 15:55: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'), 46535, 'SRID=4674;POINT (-38.567634 -3.27101)', '2026-05-28 15:55:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567643 -3.271019)'), GeomFromEWKT('SRID=4674;POINT (-38.567634 -3.27101)'))) / (select extract(epoch from '2026-05-28 15:55:39'::timestamp) - extract(epoch from '2026-05-28 15:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567643 -3.271019)'), GeomFromEWKT('SRID=4674;POINT (-38.567634 -3.27101)'))) / (select extract(epoch from '2026-05-28 15:55:39'::timestamp) - extract(epoch from '2026-05-28 15:55: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'), 46535, 'SRID=4674;POINT (-38.567603 -3.270973)', '2026-05-28 15:55:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567634 -3.27101)'), GeomFromEWKT('SRID=4674;POINT (-38.567603 -3.270973)'))) / (select extract(epoch from '2026-05-28 15:55:42'::timestamp) - extract(epoch from '2026-05-28 15:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567634 -3.27101)'), GeomFromEWKT('SRID=4674;POINT (-38.567603 -3.270973)'))) / (select extract(epoch from '2026-05-28 15:55:42'::timestamp) - extract(epoch from '2026-05-28 15:55: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'), 46535, 'SRID=4674;POINT (-38.567557 -3.27092)', '2026-05-28 15:55:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567603 -3.270973)'), GeomFromEWKT('SRID=4674;POINT (-38.567557 -3.27092)'))) / (select extract(epoch from '2026-05-28 15:55:47'::timestamp) - extract(epoch from '2026-05-28 15:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567603 -3.270973)'), GeomFromEWKT('SRID=4674;POINT (-38.567557 -3.27092)'))) / (select extract(epoch from '2026-05-28 15:55:47'::timestamp) - extract(epoch from '2026-05-28 15:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567489 -3.270835)', '2026-05-28 15:55:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567557 -3.27092)'), GeomFromEWKT('SRID=4674;POINT (-38.567489 -3.270835)'))) / (select extract(epoch from '2026-05-28 15:55:54'::timestamp) - extract(epoch from '2026-05-28 15:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567557 -3.27092)'), GeomFromEWKT('SRID=4674;POINT (-38.567489 -3.270835)'))) / (select extract(epoch from '2026-05-28 15:55:54'::timestamp) - extract(epoch from '2026-05-28 15:55: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'), 46535, 'SRID=4674;POINT (-38.567431 -3.270762)', '2026-05-28 15:56:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567489 -3.270835)'), GeomFromEWKT('SRID=4674;POINT (-38.567431 -3.270762)'))) / (select extract(epoch from '2026-05-28 15:56:00'::timestamp) - extract(epoch from '2026-05-28 15:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567489 -3.270835)'), GeomFromEWKT('SRID=4674;POINT (-38.567431 -3.270762)'))) / (select extract(epoch from '2026-05-28 15:56:00'::timestamp) - extract(epoch from '2026-05-28 15:55: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'), 46535, 'SRID=4674;POINT (-38.567358 -3.270667)', '2026-05-28 15:56:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567431 -3.270762)'), GeomFromEWKT('SRID=4674;POINT (-38.567358 -3.270667)'))) / (select extract(epoch from '2026-05-28 15:56:07'::timestamp) - extract(epoch from '2026-05-28 15:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567431 -3.270762)'), GeomFromEWKT('SRID=4674;POINT (-38.567358 -3.270667)'))) / (select extract(epoch from '2026-05-28 15:56:07'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.567305 -3.270604)', '2026-05-28 15:56:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567358 -3.270667)'), GeomFromEWKT('SRID=4674;POINT (-38.567305 -3.270604)'))) / (select extract(epoch from '2026-05-28 15:56:12'::timestamp) - extract(epoch from '2026-05-28 15:56:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567358 -3.270667)'), GeomFromEWKT('SRID=4674;POINT (-38.567305 -3.270604)'))) / (select extract(epoch from '2026-05-28 15:56:12'::timestamp) - extract(epoch from '2026-05-28 15:56:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567287 -3.270569)', '2026-05-28 15:56:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567305 -3.270604)'), GeomFromEWKT('SRID=4674;POINT (-38.567287 -3.270569)'))) / (select extract(epoch from '2026-05-28 15:56:15'::timestamp) - extract(epoch from '2026-05-28 15:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567305 -3.270604)'), GeomFromEWKT('SRID=4674;POINT (-38.567287 -3.270569)'))) / (select extract(epoch from '2026-05-28 15:56:15'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.567275 -3.270544)', '2026-05-28 15:56:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567287 -3.270569)'), GeomFromEWKT('SRID=4674;POINT (-38.567275 -3.270544)'))) / (select extract(epoch from '2026-05-28 15:56:17'::timestamp) - extract(epoch from '2026-05-28 15:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567287 -3.270569)'), GeomFromEWKT('SRID=4674;POINT (-38.567275 -3.270544)'))) / (select extract(epoch from '2026-05-28 15:56:17'::timestamp) - extract(epoch from '2026-05-28 15:56:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567257 -3.270515)', '2026-05-28 15:56:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567275 -3.270544)'), GeomFromEWKT('SRID=4674;POINT (-38.567257 -3.270515)'))) / (select extract(epoch from '2026-05-28 15:56:19'::timestamp) - extract(epoch from '2026-05-28 15:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567275 -3.270544)'), GeomFromEWKT('SRID=4674;POINT (-38.567257 -3.270515)'))) / (select extract(epoch from '2026-05-28 15:56:19'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.56724 -3.270468)', '2026-05-28 15:56:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567257 -3.270515)'), GeomFromEWKT('SRID=4674;POINT (-38.56724 -3.270468)'))) / (select extract(epoch from '2026-05-28 15:56:22'::timestamp) - extract(epoch from '2026-05-28 15:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567257 -3.270515)'), GeomFromEWKT('SRID=4674;POINT (-38.56724 -3.270468)'))) / (select extract(epoch from '2026-05-28 15:56:22'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.567197 -3.270391)', '2026-05-28 15:56:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56724 -3.270468)'), GeomFromEWKT('SRID=4674;POINT (-38.567197 -3.270391)'))) / (select extract(epoch from '2026-05-28 15:56:27'::timestamp) - extract(epoch from '2026-05-28 15:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56724 -3.270468)'), GeomFromEWKT('SRID=4674;POINT (-38.567197 -3.270391)'))) / (select extract(epoch from '2026-05-28 15:56:27'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.567187 -3.270379)', '2026-05-28 15:56:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567197 -3.270391)'), GeomFromEWKT('SRID=4674;POINT (-38.567187 -3.270379)'))) / (select extract(epoch from '2026-05-28 15:56:28'::timestamp) - extract(epoch from '2026-05-28 15:56:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567197 -3.270391)'), GeomFromEWKT('SRID=4674;POINT (-38.567187 -3.270379)'))) / (select extract(epoch from '2026-05-28 15:56:28'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.567126 -3.2703)', '2026-05-28 15:56:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567187 -3.270379)'), GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.2703)'))) / (select extract(epoch from '2026-05-28 15:56:34'::timestamp) - extract(epoch from '2026-05-28 15:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567187 -3.270379)'), GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.2703)'))) / (select extract(epoch from '2026-05-28 15:56:34'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.567112 -3.270288)', '2026-05-28 15:56:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.2703)'), GeomFromEWKT('SRID=4674;POINT (-38.567112 -3.270288)'))) / (select extract(epoch from '2026-05-28 15:56:35'::timestamp) - extract(epoch from '2026-05-28 15:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.2703)'), GeomFromEWKT('SRID=4674;POINT (-38.567112 -3.270288)'))) / (select extract(epoch from '2026-05-28 15:56:35'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.567074 -3.270252)', '2026-05-28 15:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567112 -3.270288)'), GeomFromEWKT('SRID=4674;POINT (-38.567074 -3.270252)'))) / (select extract(epoch from '2026-05-28 15:56:38'::timestamp) - extract(epoch from '2026-05-28 15:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567112 -3.270288)'), GeomFromEWKT('SRID=4674;POINT (-38.567074 -3.270252)'))) / (select extract(epoch from '2026-05-28 15:56:38'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.567001 -3.270175)', '2026-05-28 15:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567074 -3.270252)'), GeomFromEWKT('SRID=4674;POINT (-38.567001 -3.270175)'))) / (select extract(epoch from '2026-05-28 15:56:44'::timestamp) - extract(epoch from '2026-05-28 15:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567074 -3.270252)'), GeomFromEWKT('SRID=4674;POINT (-38.567001 -3.270175)'))) / (select extract(epoch from '2026-05-28 15:56:44'::timestamp) - extract(epoch from '2026-05-28 15:56:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566947 -3.270123)', '2026-05-28 15:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567001 -3.270175)'), GeomFromEWKT('SRID=4674;POINT (-38.566947 -3.270123)'))) / (select extract(epoch from '2026-05-28 15:56:48'::timestamp) - extract(epoch from '2026-05-28 15:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567001 -3.270175)'), GeomFromEWKT('SRID=4674;POINT (-38.566947 -3.270123)'))) / (select extract(epoch from '2026-05-28 15:56:48'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.566926 -3.270095)', '2026-05-28 15:56:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566947 -3.270123)'), GeomFromEWKT('SRID=4674;POINT (-38.566926 -3.270095)'))) / (select extract(epoch from '2026-05-28 15:56:50'::timestamp) - extract(epoch from '2026-05-28 15:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566947 -3.270123)'), GeomFromEWKT('SRID=4674;POINT (-38.566926 -3.270095)'))) / (select extract(epoch from '2026-05-28 15:56:50'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.566855 -3.270013)', '2026-05-28 15:56:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566926 -3.270095)'), GeomFromEWKT('SRID=4674;POINT (-38.566855 -3.270013)'))) / (select extract(epoch from '2026-05-28 15:56:56'::timestamp) - extract(epoch from '2026-05-28 15:56:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566926 -3.270095)'), GeomFromEWKT('SRID=4674;POINT (-38.566855 -3.270013)'))) / (select extract(epoch from '2026-05-28 15:56:56'::timestamp) - extract(epoch from '2026-05-28 15:56: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'), 46535, 'SRID=4674;POINT (-38.566786 -3.269937)', '2026-05-28 15:57:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566855 -3.270013)'), GeomFromEWKT('SRID=4674;POINT (-38.566786 -3.269937)'))) / (select extract(epoch from '2026-05-28 15:57:02'::timestamp) - extract(epoch from '2026-05-28 15:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566855 -3.270013)'), GeomFromEWKT('SRID=4674;POINT (-38.566786 -3.269937)'))) / (select extract(epoch from '2026-05-28 15:57:02'::timestamp) - extract(epoch from '2026-05-28 15:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566736 -3.269871)', '2026-05-28 15:57:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566786 -3.269937)'), GeomFromEWKT('SRID=4674;POINT (-38.566736 -3.269871)'))) / (select extract(epoch from '2026-05-28 15:57:07'::timestamp) - extract(epoch from '2026-05-28 15:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566786 -3.269937)'), GeomFromEWKT('SRID=4674;POINT (-38.566736 -3.269871)'))) / (select extract(epoch from '2026-05-28 15:57:07'::timestamp) - extract(epoch from '2026-05-28 15:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566689 -3.269807)', '2026-05-28 15:57:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566736 -3.269871)'), GeomFromEWKT('SRID=4674;POINT (-38.566689 -3.269807)'))) / (select extract(epoch from '2026-05-28 15:57:12'::timestamp) - extract(epoch from '2026-05-28 15:57:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566736 -3.269871)'), GeomFromEWKT('SRID=4674;POINT (-38.566689 -3.269807)'))) / (select extract(epoch from '2026-05-28 15:57:12'::timestamp) - extract(epoch from '2026-05-28 15:57: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'), 46535, 'SRID=4674;POINT (-38.566647 -3.269739)', '2026-05-28 15:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566689 -3.269807)'), GeomFromEWKT('SRID=4674;POINT (-38.566647 -3.269739)'))) / (select extract(epoch from '2026-05-28 15:57:17'::timestamp) - extract(epoch from '2026-05-28 15:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566689 -3.269807)'), GeomFromEWKT('SRID=4674;POINT (-38.566647 -3.269739)'))) / (select extract(epoch from '2026-05-28 15:57:17'::timestamp) - extract(epoch from '2026-05-28 15:57: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'), 46535, 'SRID=4674;POINT (-38.566608 -3.269687)', '2026-05-28 15:57:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566647 -3.269739)'), GeomFromEWKT('SRID=4674;POINT (-38.566608 -3.269687)'))) / (select extract(epoch from '2026-05-28 15:57:21'::timestamp) - extract(epoch from '2026-05-28 15:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566647 -3.269739)'), GeomFromEWKT('SRID=4674;POINT (-38.566608 -3.269687)'))) / (select extract(epoch from '2026-05-28 15:57:21'::timestamp) - extract(epoch from '2026-05-28 15:57: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'), 46535, 'SRID=4674;POINT (-38.566606 -3.26967)', '2026-05-28 15:57:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566608 -3.269687)'), GeomFromEWKT('SRID=4674;POINT (-38.566606 -3.26967)'))) / (select extract(epoch from '2026-05-28 15:57:22'::timestamp) - extract(epoch from '2026-05-28 15:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566608 -3.269687)'), GeomFromEWKT('SRID=4674;POINT (-38.566606 -3.26967)'))) / (select extract(epoch from '2026-05-28 15:57:22'::timestamp) - extract(epoch from '2026-05-28 15:57: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'), 46535, 'SRID=4674;POINT (-38.566586 -3.269642)', '2026-05-28 15:57:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566606 -3.26967)'), GeomFromEWKT('SRID=4674;POINT (-38.566586 -3.269642)'))) / (select extract(epoch from '2026-05-28 15:57:24'::timestamp) - extract(epoch from '2026-05-28 15:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566606 -3.26967)'), GeomFromEWKT('SRID=4674;POINT (-38.566586 -3.269642)'))) / (select extract(epoch from '2026-05-28 15:57:24'::timestamp) - extract(epoch from '2026-05-28 15:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566573 -3.269614)', '2026-05-28 15:57:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566586 -3.269642)'), GeomFromEWKT('SRID=4674;POINT (-38.566573 -3.269614)'))) / (select extract(epoch from '2026-05-28 15:57:26'::timestamp) - extract(epoch from '2026-05-28 15:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566586 -3.269642)'), GeomFromEWKT('SRID=4674;POINT (-38.566573 -3.269614)'))) / (select extract(epoch from '2026-05-28 15:57:26'::timestamp) - extract(epoch from '2026-05-28 15:57: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'), 46535, 'SRID=4674;POINT (-38.566566 -3.269599)', '2026-05-28 15:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566573 -3.269614)'), GeomFromEWKT('SRID=4674;POINT (-38.566566 -3.269599)'))) / (select extract(epoch from '2026-05-28 15:57:27'::timestamp) - extract(epoch from '2026-05-28 15:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566573 -3.269614)'), GeomFromEWKT('SRID=4674;POINT (-38.566566 -3.269599)'))) / (select extract(epoch from '2026-05-28 15:57:27'::timestamp) - extract(epoch from '2026-05-28 15:57: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'), 46535, 'SRID=4674;POINT (-38.566547 -3.269569)', '2026-05-28 15:57:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566566 -3.269599)'), GeomFromEWKT('SRID=4674;POINT (-38.566547 -3.269569)'))) / (select extract(epoch from '2026-05-28 15:57:29'::timestamp) - extract(epoch from '2026-05-28 15:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566566 -3.269599)'), GeomFromEWKT('SRID=4674;POINT (-38.566547 -3.269569)'))) / (select extract(epoch from '2026-05-28 15:57:29'::timestamp) - extract(epoch from '2026-05-28 15:57: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'), 46535, 'SRID=4674;POINT (-38.566539 -3.269542)', '2026-05-28 15:57:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566547 -3.269569)'), GeomFromEWKT('SRID=4674;POINT (-38.566539 -3.269542)'))) / (select extract(epoch from '2026-05-28 15:57:31'::timestamp) - extract(epoch from '2026-05-28 15:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566547 -3.269569)'), GeomFromEWKT('SRID=4674;POINT (-38.566539 -3.269542)'))) / (select extract(epoch from '2026-05-28 15:57:31'::timestamp) - extract(epoch from '2026-05-28 15:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566532 -3.269526)', '2026-05-28 15:57:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566539 -3.269542)'), GeomFromEWKT('SRID=4674;POINT (-38.566532 -3.269526)'))) / (select extract(epoch from '2026-05-28 15:57:32'::timestamp) - extract(epoch from '2026-05-28 15:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566539 -3.269542)'), GeomFromEWKT('SRID=4674;POINT (-38.566532 -3.269526)'))) / (select extract(epoch from '2026-05-28 15:57:32'::timestamp) - extract(epoch from '2026-05-28 15:57: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'), 46535, 'SRID=4674;POINT (-38.566492 -3.269451)', '2026-05-28 15:57:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566532 -3.269526)'), GeomFromEWKT('SRID=4674;POINT (-38.566492 -3.269451)'))) / (select extract(epoch from '2026-05-28 15:57:37'::timestamp) - extract(epoch from '2026-05-28 15:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566532 -3.269526)'), GeomFromEWKT('SRID=4674;POINT (-38.566492 -3.269451)'))) / (select extract(epoch from '2026-05-28 15:57:37'::timestamp) - extract(epoch from '2026-05-28 15:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566422 -3.269345)', '2026-05-28 15:57:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566492 -3.269451)'), GeomFromEWKT('SRID=4674;POINT (-38.566422 -3.269345)'))) / (select extract(epoch from '2026-05-28 15:57:44'::timestamp) - extract(epoch from '2026-05-28 15:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566492 -3.269451)'), GeomFromEWKT('SRID=4674;POINT (-38.566422 -3.269345)'))) / (select extract(epoch from '2026-05-28 15:57:44'::timestamp) - extract(epoch from '2026-05-28 15:57:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566366 -3.269259)', '2026-05-28 15:57:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566422 -3.269345)'), GeomFromEWKT('SRID=4674;POINT (-38.566366 -3.269259)'))) / (select extract(epoch from '2026-05-28 15:57:50'::timestamp) - extract(epoch from '2026-05-28 15:57:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566422 -3.269345)'), GeomFromEWKT('SRID=4674;POINT (-38.566366 -3.269259)'))) / (select extract(epoch from '2026-05-28 15:57:50'::timestamp) - extract(epoch from '2026-05-28 15:57: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'), 46535, 'SRID=4674;POINT (-38.566317 -3.269195)', '2026-05-28 15:57:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566366 -3.269259)'), GeomFromEWKT('SRID=4674;POINT (-38.566317 -3.269195)'))) / (select extract(epoch from '2026-05-28 15:57:55'::timestamp) - extract(epoch from '2026-05-28 15:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566366 -3.269259)'), GeomFromEWKT('SRID=4674;POINT (-38.566317 -3.269195)'))) / (select extract(epoch from '2026-05-28 15:57:55'::timestamp) - extract(epoch from '2026-05-28 15:57: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'), 46535, 'SRID=4674;POINT (-38.566246 -3.269105)', '2026-05-28 15:58:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566317 -3.269195)'), GeomFromEWKT('SRID=4674;POINT (-38.566246 -3.269105)'))) / (select extract(epoch from '2026-05-28 15:58:02'::timestamp) - extract(epoch from '2026-05-28 15:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566317 -3.269195)'), GeomFromEWKT('SRID=4674;POINT (-38.566246 -3.269105)'))) / (select extract(epoch from '2026-05-28 15:58:02'::timestamp) - extract(epoch from '2026-05-28 15:57: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'), 46535, 'SRID=4674;POINT (-38.566207 -3.269053)', '2026-05-28 15:58:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566246 -3.269105)'), GeomFromEWKT('SRID=4674;POINT (-38.566207 -3.269053)'))) / (select extract(epoch from '2026-05-28 15:58:06'::timestamp) - extract(epoch from '2026-05-28 15:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566246 -3.269105)'), GeomFromEWKT('SRID=4674;POINT (-38.566207 -3.269053)'))) / (select extract(epoch from '2026-05-28 15:58:06'::timestamp) - extract(epoch from '2026-05-28 15:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566197 -3.269038)', '2026-05-28 15:58:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566207 -3.269053)'), GeomFromEWKT('SRID=4674;POINT (-38.566197 -3.269038)'))) / (select extract(epoch from '2026-05-28 15:58:07'::timestamp) - extract(epoch from '2026-05-28 15:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566207 -3.269053)'), GeomFromEWKT('SRID=4674;POINT (-38.566197 -3.269038)'))) / (select extract(epoch from '2026-05-28 15:58:07'::timestamp) - extract(epoch from '2026-05-28 15:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566145 -3.268968)', '2026-05-28 15:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566197 -3.269038)'), GeomFromEWKT('SRID=4674;POINT (-38.566145 -3.268968)'))) / (select extract(epoch from '2026-05-28 15:58:12'::timestamp) - extract(epoch from '2026-05-28 15:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566197 -3.269038)'), GeomFromEWKT('SRID=4674;POINT (-38.566145 -3.268968)'))) / (select extract(epoch from '2026-05-28 15:58:12'::timestamp) - extract(epoch from '2026-05-28 15:58: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'), 46535, 'SRID=4674;POINT (-38.566074 -3.268875)', '2026-05-28 15:58:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566145 -3.268968)'), GeomFromEWKT('SRID=4674;POINT (-38.566074 -3.268875)'))) / (select extract(epoch from '2026-05-28 15:58:19'::timestamp) - extract(epoch from '2026-05-28 15:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566145 -3.268968)'), GeomFromEWKT('SRID=4674;POINT (-38.566074 -3.268875)'))) / (select extract(epoch from '2026-05-28 15:58:19'::timestamp) - extract(epoch from '2026-05-28 15:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566 -3.268775)', '2026-05-28 15:58:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566074 -3.268875)'), GeomFromEWKT('SRID=4674;POINT (-38.566 -3.268775)'))) / (select extract(epoch from '2026-05-28 15:58:26'::timestamp) - extract(epoch from '2026-05-28 15:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566074 -3.268875)'), GeomFromEWKT('SRID=4674;POINT (-38.566 -3.268775)'))) / (select extract(epoch from '2026-05-28 15:58:26'::timestamp) - extract(epoch from '2026-05-28 15:58: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'), 46535, 'SRID=4674;POINT (-38.565938 -3.268668)', '2026-05-28 15:58:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566 -3.268775)'), GeomFromEWKT('SRID=4674;POINT (-38.565938 -3.268668)'))) / (select extract(epoch from '2026-05-28 15:58:33'::timestamp) - extract(epoch from '2026-05-28 15:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566 -3.268775)'), GeomFromEWKT('SRID=4674;POINT (-38.565938 -3.268668)'))) / (select extract(epoch from '2026-05-28 15:58:33'::timestamp) - extract(epoch from '2026-05-28 15:58: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'), 46535, 'SRID=4674;POINT (-38.565891 -3.268571)', '2026-05-28 15:58:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565938 -3.268668)'), GeomFromEWKT('SRID=4674;POINT (-38.565891 -3.268571)'))) / (select extract(epoch from '2026-05-28 15:58:39'::timestamp) - extract(epoch from '2026-05-28 15:58:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565938 -3.268668)'), GeomFromEWKT('SRID=4674;POINT (-38.565891 -3.268571)'))) / (select extract(epoch from '2026-05-28 15:58:39'::timestamp) - extract(epoch from '2026-05-28 15:58:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565859 -3.268483)', '2026-05-28 15:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565891 -3.268571)'), GeomFromEWKT('SRID=4674;POINT (-38.565859 -3.268483)'))) / (select extract(epoch from '2026-05-28 15:58:44'::timestamp) - extract(epoch from '2026-05-28 15:58:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565891 -3.268571)'), GeomFromEWKT('SRID=4674;POINT (-38.565859 -3.268483)'))) / (select extract(epoch from '2026-05-28 15:58:44'::timestamp) - extract(epoch from '2026-05-28 15:58: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'), 46535, 'SRID=4674;POINT (-38.565846 -3.268453)', '2026-05-28 15:58:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565859 -3.268483)'), GeomFromEWKT('SRID=4674;POINT (-38.565846 -3.268453)'))) / (select extract(epoch from '2026-05-28 15:58:46'::timestamp) - extract(epoch from '2026-05-28 15:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565859 -3.268483)'), GeomFromEWKT('SRID=4674;POINT (-38.565846 -3.268453)'))) / (select extract(epoch from '2026-05-28 15:58:46'::timestamp) - extract(epoch from '2026-05-28 15:58: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'), 46535, 'SRID=4674;POINT (-38.565829 -3.268416)', '2026-05-28 15:58:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565846 -3.268453)'), GeomFromEWKT('SRID=4674;POINT (-38.565829 -3.268416)'))) / (select extract(epoch from '2026-05-28 15:58:48'::timestamp) - extract(epoch from '2026-05-28 15:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565846 -3.268453)'), GeomFromEWKT('SRID=4674;POINT (-38.565829 -3.268416)'))) / (select extract(epoch from '2026-05-28 15:58:48'::timestamp) - extract(epoch from '2026-05-28 15:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56575 -3.268303)', '2026-05-28 15:58:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565829 -3.268416)'), GeomFromEWKT('SRID=4674;POINT (-38.56575 -3.268303)'))) / (select extract(epoch from '2026-05-28 15:58:55'::timestamp) - extract(epoch from '2026-05-28 15:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565829 -3.268416)'), GeomFromEWKT('SRID=4674;POINT (-38.56575 -3.268303)'))) / (select extract(epoch from '2026-05-28 15:58:55'::timestamp) - extract(epoch from '2026-05-28 15:58: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'), 46535, 'SRID=4674;POINT (-38.56571 -3.268225)', '2026-05-28 15:59:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56575 -3.268303)'), GeomFromEWKT('SRID=4674;POINT (-38.56571 -3.268225)'))) / (select extract(epoch from '2026-05-28 15:59:00'::timestamp) - extract(epoch from '2026-05-28 15:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56575 -3.268303)'), GeomFromEWKT('SRID=4674;POINT (-38.56571 -3.268225)'))) / (select extract(epoch from '2026-05-28 15:59:00'::timestamp) - extract(epoch from '2026-05-28 15:58: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'), 46535, 'SRID=4674;POINT (-38.565666 -3.268112)', '2026-05-28 15:59:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56571 -3.268225)'), GeomFromEWKT('SRID=4674;POINT (-38.565666 -3.268112)'))) / (select extract(epoch from '2026-05-28 15:59:07'::timestamp) - extract(epoch from '2026-05-28 15:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56571 -3.268225)'), GeomFromEWKT('SRID=4674;POINT (-38.565666 -3.268112)'))) / (select extract(epoch from '2026-05-28 15:59:07'::timestamp) - extract(epoch from '2026-05-28 15:59: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'), 46535, 'SRID=4674;POINT (-38.565628 -3.268021)', '2026-05-28 15:59:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565666 -3.268112)'), GeomFromEWKT('SRID=4674;POINT (-38.565628 -3.268021)'))) / (select extract(epoch from '2026-05-28 15:59:12'::timestamp) - extract(epoch from '2026-05-28 15:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565666 -3.268112)'), GeomFromEWKT('SRID=4674;POINT (-38.565628 -3.268021)'))) / (select extract(epoch from '2026-05-28 15:59:12'::timestamp) - extract(epoch from '2026-05-28 15:59: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'), 46535, 'SRID=4674;POINT (-38.565579 -3.267946)', '2026-05-28 15:59:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565628 -3.268021)'), GeomFromEWKT('SRID=4674;POINT (-38.565579 -3.267946)'))) / (select extract(epoch from '2026-05-28 15:59:17'::timestamp) - extract(epoch from '2026-05-28 15:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565628 -3.268021)'), GeomFromEWKT('SRID=4674;POINT (-38.565579 -3.267946)'))) / (select extract(epoch from '2026-05-28 15:59:17'::timestamp) - extract(epoch from '2026-05-28 15:59: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'), 46535, 'SRID=4674;POINT (-38.565533 -3.267853)', '2026-05-28 15:59:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565579 -3.267946)'), GeomFromEWKT('SRID=4674;POINT (-38.565533 -3.267853)'))) / (select extract(epoch from '2026-05-28 15:59:22'::timestamp) - extract(epoch from '2026-05-28 15:59:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565579 -3.267946)'), GeomFromEWKT('SRID=4674;POINT (-38.565533 -3.267853)'))) / (select extract(epoch from '2026-05-28 15:59:22'::timestamp) - extract(epoch from '2026-05-28 15:59: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'), 46535, 'SRID=4674;POINT (-38.565487 -3.267763)', '2026-05-28 15:59:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565533 -3.267853)'), GeomFromEWKT('SRID=4674;POINT (-38.565487 -3.267763)'))) / (select extract(epoch from '2026-05-28 15:59:27'::timestamp) - extract(epoch from '2026-05-28 15:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565533 -3.267853)'), GeomFromEWKT('SRID=4674;POINT (-38.565487 -3.267763)'))) / (select extract(epoch from '2026-05-28 15:59:27'::timestamp) - extract(epoch from '2026-05-28 15:59: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'), 46535, 'SRID=4674;POINT (-38.565431 -3.267669)', '2026-05-28 15:59:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565487 -3.267763)'), GeomFromEWKT('SRID=4674;POINT (-38.565431 -3.267669)'))) / (select extract(epoch from '2026-05-28 15:59:33'::timestamp) - extract(epoch from '2026-05-28 15:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565487 -3.267763)'), GeomFromEWKT('SRID=4674;POINT (-38.565431 -3.267669)'))) / (select extract(epoch from '2026-05-28 15:59:33'::timestamp) - extract(epoch from '2026-05-28 15:59: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'), 46535, 'SRID=4674;POINT (-38.565378 -3.26759)', '2026-05-28 15:59:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565431 -3.267669)'), GeomFromEWKT('SRID=4674;POINT (-38.565378 -3.26759)'))) / (select extract(epoch from '2026-05-28 15:59:38'::timestamp) - extract(epoch from '2026-05-28 15:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565431 -3.267669)'), GeomFromEWKT('SRID=4674;POINT (-38.565378 -3.26759)'))) / (select extract(epoch from '2026-05-28 15:59:38'::timestamp) - extract(epoch from '2026-05-28 15:59:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56533 -3.267516)', '2026-05-28 15:59:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565378 -3.26759)'), GeomFromEWKT('SRID=4674;POINT (-38.56533 -3.267516)'))) / (select extract(epoch from '2026-05-28 15:59:43'::timestamp) - extract(epoch from '2026-05-28 15:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565378 -3.26759)'), GeomFromEWKT('SRID=4674;POINT (-38.56533 -3.267516)'))) / (select extract(epoch from '2026-05-28 15:59:43'::timestamp) - extract(epoch from '2026-05-28 15:59: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'), 46535, 'SRID=4674;POINT (-38.565236 -3.267393)', '2026-05-28 15:59:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56533 -3.267516)'), GeomFromEWKT('SRID=4674;POINT (-38.565236 -3.267393)'))) / (select extract(epoch from '2026-05-28 15:59:52'::timestamp) - extract(epoch from '2026-05-28 15:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56533 -3.267516)'), GeomFromEWKT('SRID=4674;POINT (-38.565236 -3.267393)'))) / (select extract(epoch from '2026-05-28 15:59:52'::timestamp) - extract(epoch from '2026-05-28 15:59: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'), 46535, 'SRID=4674;POINT (-38.565179 -3.267311)', '2026-05-28 15:59:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565236 -3.267393)'), GeomFromEWKT('SRID=4674;POINT (-38.565179 -3.267311)'))) / (select extract(epoch from '2026-05-28 15:59:58'::timestamp) - extract(epoch from '2026-05-28 15:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565236 -3.267393)'), GeomFromEWKT('SRID=4674;POINT (-38.565179 -3.267311)'))) / (select extract(epoch from '2026-05-28 15:59:58'::timestamp) - extract(epoch from '2026-05-28 15:59: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'), 46535, 'SRID=4674;POINT (-38.565122 -3.267228)', '2026-05-28 16:00:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565179 -3.267311)'), GeomFromEWKT('SRID=4674;POINT (-38.565122 -3.267228)'))) / (select extract(epoch from '2026-05-28 16:00:04'::timestamp) - extract(epoch from '2026-05-28 15:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565179 -3.267311)'), GeomFromEWKT('SRID=4674;POINT (-38.565122 -3.267228)'))) / (select extract(epoch from '2026-05-28 16:00:04'::timestamp) - extract(epoch from '2026-05-28 15:59: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'), 46535, 'SRID=4674;POINT (-38.565058 -3.267142)', '2026-05-28 16:00:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565122 -3.267228)'), GeomFromEWKT('SRID=4674;POINT (-38.565058 -3.267142)'))) / (select extract(epoch from '2026-05-28 16:00:10'::timestamp) - extract(epoch from '2026-05-28 16:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565122 -3.267228)'), GeomFromEWKT('SRID=4674;POINT (-38.565058 -3.267142)'))) / (select extract(epoch from '2026-05-28 16:00:10'::timestamp) - extract(epoch from '2026-05-28 16:00: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'), 46535, 'SRID=4674;POINT (-38.565009 -3.267077)', '2026-05-28 16:00:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565058 -3.267142)'), GeomFromEWKT('SRID=4674;POINT (-38.565009 -3.267077)'))) / (select extract(epoch from '2026-05-28 16:00:15'::timestamp) - extract(epoch from '2026-05-28 16:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565058 -3.267142)'), GeomFromEWKT('SRID=4674;POINT (-38.565009 -3.267077)'))) / (select extract(epoch from '2026-05-28 16:00:15'::timestamp) - extract(epoch from '2026-05-28 16:00: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'), 46535, 'SRID=4674;POINT (-38.564965 -3.267006)', '2026-05-28 16:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565009 -3.267077)'), GeomFromEWKT('SRID=4674;POINT (-38.564965 -3.267006)'))) / (select extract(epoch from '2026-05-28 16:00:21'::timestamp) - extract(epoch from '2026-05-28 16:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565009 -3.267077)'), GeomFromEWKT('SRID=4674;POINT (-38.564965 -3.267006)'))) / (select extract(epoch from '2026-05-28 16:00:21'::timestamp) - extract(epoch from '2026-05-28 16:00:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56492 -3.266914)', '2026-05-28 16:00:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564965 -3.267006)'), GeomFromEWKT('SRID=4674;POINT (-38.56492 -3.266914)'))) / (select extract(epoch from '2026-05-28 16:00:27'::timestamp) - extract(epoch from '2026-05-28 16:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564965 -3.267006)'), GeomFromEWKT('SRID=4674;POINT (-38.56492 -3.266914)'))) / (select extract(epoch from '2026-05-28 16:00:27'::timestamp) - extract(epoch from '2026-05-28 16:00: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'), 46535, 'SRID=4674;POINT (-38.564873 -3.266825)', '2026-05-28 16:00:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56492 -3.266914)'), GeomFromEWKT('SRID=4674;POINT (-38.564873 -3.266825)'))) / (select extract(epoch from '2026-05-28 16:00:33'::timestamp) - extract(epoch from '2026-05-28 16:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56492 -3.266914)'), GeomFromEWKT('SRID=4674;POINT (-38.564873 -3.266825)'))) / (select extract(epoch from '2026-05-28 16:00:33'::timestamp) - extract(epoch from '2026-05-28 16:00: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'), 46535, 'SRID=4674;POINT (-38.564839 -3.266767)', '2026-05-28 16:00:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564873 -3.266825)'), GeomFromEWKT('SRID=4674;POINT (-38.564839 -3.266767)'))) / (select extract(epoch from '2026-05-28 16:00:37'::timestamp) - extract(epoch from '2026-05-28 16:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564873 -3.266825)'), GeomFromEWKT('SRID=4674;POINT (-38.564839 -3.266767)'))) / (select extract(epoch from '2026-05-28 16:00:37'::timestamp) - extract(epoch from '2026-05-28 16:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564826 -3.266753)', '2026-05-28 16:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564839 -3.266767)'), GeomFromEWKT('SRID=4674;POINT (-38.564826 -3.266753)'))) / (select extract(epoch from '2026-05-28 16:00:38'::timestamp) - extract(epoch from '2026-05-28 16:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564839 -3.266767)'), GeomFromEWKT('SRID=4674;POINT (-38.564826 -3.266753)'))) / (select extract(epoch from '2026-05-28 16:00:38'::timestamp) - extract(epoch from '2026-05-28 16:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564811 -3.266728)', '2026-05-28 16:00:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564826 -3.266753)'), GeomFromEWKT('SRID=4674;POINT (-38.564811 -3.266728)'))) / (select extract(epoch from '2026-05-28 16:00:40'::timestamp) - extract(epoch from '2026-05-28 16:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564826 -3.266753)'), GeomFromEWKT('SRID=4674;POINT (-38.564811 -3.266728)'))) / (select extract(epoch from '2026-05-28 16:00:40'::timestamp) - extract(epoch from '2026-05-28 16:00: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'), 46535, 'SRID=4674;POINT (-38.564789 -3.266685)', '2026-05-28 16:00:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564811 -3.266728)'), GeomFromEWKT('SRID=4674;POINT (-38.564789 -3.266685)'))) / (select extract(epoch from '2026-05-28 16:00:43'::timestamp) - extract(epoch from '2026-05-28 16:00:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564811 -3.266728)'), GeomFromEWKT('SRID=4674;POINT (-38.564789 -3.266685)'))) / (select extract(epoch from '2026-05-28 16:00:43'::timestamp) - extract(epoch from '2026-05-28 16:00: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'), 46535, 'SRID=4674;POINT (-38.564749 -3.266603)', '2026-05-28 16:00:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564789 -3.266685)'), GeomFromEWKT('SRID=4674;POINT (-38.564749 -3.266603)'))) / (select extract(epoch from '2026-05-28 16:00:48'::timestamp) - extract(epoch from '2026-05-28 16:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564789 -3.266685)'), GeomFromEWKT('SRID=4674;POINT (-38.564749 -3.266603)'))) / (select extract(epoch from '2026-05-28 16:00:48'::timestamp) - extract(epoch from '2026-05-28 16:00: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'), 46535, 'SRID=4674;POINT (-38.564711 -3.266514)', '2026-05-28 16:00:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564749 -3.266603)'), GeomFromEWKT('SRID=4674;POINT (-38.564711 -3.266514)'))) / (select extract(epoch from '2026-05-28 16:00:53'::timestamp) - extract(epoch from '2026-05-28 16:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564749 -3.266603)'), GeomFromEWKT('SRID=4674;POINT (-38.564711 -3.266514)'))) / (select extract(epoch from '2026-05-28 16:00:53'::timestamp) - extract(epoch from '2026-05-28 16:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564675 -3.266419)', '2026-05-28 16:00:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564711 -3.266514)'), GeomFromEWKT('SRID=4674;POINT (-38.564675 -3.266419)'))) / (select extract(epoch from '2026-05-28 16:00:59'::timestamp) - extract(epoch from '2026-05-28 16:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564711 -3.266514)'), GeomFromEWKT('SRID=4674;POINT (-38.564675 -3.266419)'))) / (select extract(epoch from '2026-05-28 16:00:59'::timestamp) - extract(epoch from '2026-05-28 16:00: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'), 46535, 'SRID=4674;POINT (-38.564641 -3.26634)', '2026-05-28 16:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564675 -3.266419)'), GeomFromEWKT('SRID=4674;POINT (-38.564641 -3.26634)'))) / (select extract(epoch from '2026-05-28 16:01:04'::timestamp) - extract(epoch from '2026-05-28 16:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564675 -3.266419)'), GeomFromEWKT('SRID=4674;POINT (-38.564641 -3.26634)'))) / (select extract(epoch from '2026-05-28 16:01:04'::timestamp) - extract(epoch from '2026-05-28 16:00: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'), 46535, 'SRID=4674;POINT (-38.56463 -3.266325)', '2026-05-28 16:01:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564641 -3.26634)'), GeomFromEWKT('SRID=4674;POINT (-38.56463 -3.266325)'))) / (select extract(epoch from '2026-05-28 16:01:05'::timestamp) - extract(epoch from '2026-05-28 16:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564641 -3.26634)'), GeomFromEWKT('SRID=4674;POINT (-38.56463 -3.266325)'))) / (select extract(epoch from '2026-05-28 16:01:05'::timestamp) - extract(epoch from '2026-05-28 16:01: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'), 46535, 'SRID=4674;POINT (-38.564589 -3.266263)', '2026-05-28 16:01:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56463 -3.266325)'), GeomFromEWKT('SRID=4674;POINT (-38.564589 -3.266263)'))) / (select extract(epoch from '2026-05-28 16:01:09'::timestamp) - extract(epoch from '2026-05-28 16:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56463 -3.266325)'), GeomFromEWKT('SRID=4674;POINT (-38.564589 -3.266263)'))) / (select extract(epoch from '2026-05-28 16:01:09'::timestamp) - extract(epoch from '2026-05-28 16:01: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'), 46535, 'SRID=4674;POINT (-38.564573 -3.266235)', '2026-05-28 16:01:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564589 -3.266263)'), GeomFromEWKT('SRID=4674;POINT (-38.564573 -3.266235)'))) / (select extract(epoch from '2026-05-28 16:01:11'::timestamp) - extract(epoch from '2026-05-28 16:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564589 -3.266263)'), GeomFromEWKT('SRID=4674;POINT (-38.564573 -3.266235)'))) / (select extract(epoch from '2026-05-28 16:01:11'::timestamp) - extract(epoch from '2026-05-28 16:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56455 -3.266188)', '2026-05-28 16:01:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564573 -3.266235)'), GeomFromEWKT('SRID=4674;POINT (-38.56455 -3.266188)'))) / (select extract(epoch from '2026-05-28 16:01:14'::timestamp) - extract(epoch from '2026-05-28 16:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564573 -3.266235)'), GeomFromEWKT('SRID=4674;POINT (-38.56455 -3.266188)'))) / (select extract(epoch from '2026-05-28 16:01:14'::timestamp) - extract(epoch from '2026-05-28 16:01: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'), 46535, 'SRID=4674;POINT (-38.564488 -3.266086)', '2026-05-28 16:01:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56455 -3.266188)'), GeomFromEWKT('SRID=4674;POINT (-38.564488 -3.266086)'))) / (select extract(epoch from '2026-05-28 16:01:21'::timestamp) - extract(epoch from '2026-05-28 16:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56455 -3.266188)'), GeomFromEWKT('SRID=4674;POINT (-38.564488 -3.266086)'))) / (select extract(epoch from '2026-05-28 16:01:21'::timestamp) - extract(epoch from '2026-05-28 16:01: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'), 46535, 'SRID=4674;POINT (-38.564428 -3.266001)', '2026-05-28 16:01:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564488 -3.266086)'), GeomFromEWKT('SRID=4674;POINT (-38.564428 -3.266001)'))) / (select extract(epoch from '2026-05-28 16:01:27'::timestamp) - extract(epoch from '2026-05-28 16:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564488 -3.266086)'), GeomFromEWKT('SRID=4674;POINT (-38.564428 -3.266001)'))) / (select extract(epoch from '2026-05-28 16:01:27'::timestamp) - extract(epoch from '2026-05-28 16:01:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564368 -3.265914)', '2026-05-28 16:01:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564428 -3.266001)'), GeomFromEWKT('SRID=4674;POINT (-38.564368 -3.265914)'))) / (select extract(epoch from '2026-05-28 16:01:33'::timestamp) - extract(epoch from '2026-05-28 16:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564428 -3.266001)'), GeomFromEWKT('SRID=4674;POINT (-38.564368 -3.265914)'))) / (select extract(epoch from '2026-05-28 16:01:33'::timestamp) - extract(epoch from '2026-05-28 16:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564298 -3.265794)', '2026-05-28 16:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564368 -3.265914)'), GeomFromEWKT('SRID=4674;POINT (-38.564298 -3.265794)'))) / (select extract(epoch from '2026-05-28 16:01:40'::timestamp) - extract(epoch from '2026-05-28 16:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564368 -3.265914)'), GeomFromEWKT('SRID=4674;POINT (-38.564298 -3.265794)'))) / (select extract(epoch from '2026-05-28 16:01:40'::timestamp) - extract(epoch from '2026-05-28 16:01:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564253 -3.265703)', '2026-05-28 16:01:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564298 -3.265794)'), GeomFromEWKT('SRID=4674;POINT (-38.564253 -3.265703)'))) / (select extract(epoch from '2026-05-28 16:01:45'::timestamp) - extract(epoch from '2026-05-28 16:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564298 -3.265794)'), GeomFromEWKT('SRID=4674;POINT (-38.564253 -3.265703)'))) / (select extract(epoch from '2026-05-28 16:01:45'::timestamp) - extract(epoch from '2026-05-28 16:01: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'), 46535, 'SRID=4674;POINT (-38.5642 -3.265632)', '2026-05-28 16:01:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564253 -3.265703)'), GeomFromEWKT('SRID=4674;POINT (-38.5642 -3.265632)'))) / (select extract(epoch from '2026-05-28 16:01:50'::timestamp) - extract(epoch from '2026-05-28 16:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564253 -3.265703)'), GeomFromEWKT('SRID=4674;POINT (-38.5642 -3.265632)'))) / (select extract(epoch from '2026-05-28 16:01:50'::timestamp) - extract(epoch from '2026-05-28 16:01: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'), 46535, 'SRID=4674;POINT (-38.564146 -3.265538)', '2026-05-28 16:01:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5642 -3.265632)'), GeomFromEWKT('SRID=4674;POINT (-38.564146 -3.265538)'))) / (select extract(epoch from '2026-05-28 16:01:56'::timestamp) - extract(epoch from '2026-05-28 16:01:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5642 -3.265632)'), GeomFromEWKT('SRID=4674;POINT (-38.564146 -3.265538)'))) / (select extract(epoch from '2026-05-28 16:01:56'::timestamp) - extract(epoch from '2026-05-28 16:01: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'), 46535, 'SRID=4674;POINT (-38.564122 -3.265473)', '2026-05-28 16:02:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564146 -3.265538)'), GeomFromEWKT('SRID=4674;POINT (-38.564122 -3.265473)'))) / (select extract(epoch from '2026-05-28 16:02:00'::timestamp) - extract(epoch from '2026-05-28 16:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564146 -3.265538)'), GeomFromEWKT('SRID=4674;POINT (-38.564122 -3.265473)'))) / (select extract(epoch from '2026-05-28 16:02:00'::timestamp) - extract(epoch from '2026-05-28 16:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564114 -3.265442)', '2026-05-28 16:02:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564122 -3.265473)'), GeomFromEWKT('SRID=4674;POINT (-38.564114 -3.265442)'))) / (select extract(epoch from '2026-05-28 16:02:02'::timestamp) - extract(epoch from '2026-05-28 16:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564122 -3.265473)'), GeomFromEWKT('SRID=4674;POINT (-38.564114 -3.265442)'))) / (select extract(epoch from '2026-05-28 16:02:02'::timestamp) - extract(epoch from '2026-05-28 16:02: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'), 46535, 'SRID=4674;POINT (-38.564094 -3.265402)', '2026-05-28 16:02:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564114 -3.265442)'), GeomFromEWKT('SRID=4674;POINT (-38.564094 -3.265402)'))) / (select extract(epoch from '2026-05-28 16:02:05'::timestamp) - extract(epoch from '2026-05-28 16:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564114 -3.265442)'), GeomFromEWKT('SRID=4674;POINT (-38.564094 -3.265402)'))) / (select extract(epoch from '2026-05-28 16:02:05'::timestamp) - extract(epoch from '2026-05-28 16:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564087 -3.265366)', '2026-05-28 16:02:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564094 -3.265402)'), GeomFromEWKT('SRID=4674;POINT (-38.564087 -3.265366)'))) / (select extract(epoch from '2026-05-28 16:02:07'::timestamp) - extract(epoch from '2026-05-28 16:02:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564094 -3.265402)'), GeomFromEWKT('SRID=4674;POINT (-38.564087 -3.265366)'))) / (select extract(epoch from '2026-05-28 16:02:07'::timestamp) - extract(epoch from '2026-05-28 16:02: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'), 46535, 'SRID=4674;POINT (-38.564065 -3.265325)', '2026-05-28 16:02:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564087 -3.265366)'), GeomFromEWKT('SRID=4674;POINT (-38.564065 -3.265325)'))) / (select extract(epoch from '2026-05-28 16:02:10'::timestamp) - extract(epoch from '2026-05-28 16:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564087 -3.265366)'), GeomFromEWKT('SRID=4674;POINT (-38.564065 -3.265325)'))) / (select extract(epoch from '2026-05-28 16:02:10'::timestamp) - extract(epoch from '2026-05-28 16:02:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564063 -3.265307)', '2026-05-28 16:02:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564065 -3.265325)'), GeomFromEWKT('SRID=4674;POINT (-38.564063 -3.265307)'))) / (select extract(epoch from '2026-05-28 16:02:11'::timestamp) - extract(epoch from '2026-05-28 16:02:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564065 -3.265325)'), GeomFromEWKT('SRID=4674;POINT (-38.564063 -3.265307)'))) / (select extract(epoch from '2026-05-28 16:02:11'::timestamp) - extract(epoch from '2026-05-28 16:02: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'), 46535, 'SRID=4674;POINT (-38.564043 -3.265238)', '2026-05-28 16:02:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564063 -3.265307)'), GeomFromEWKT('SRID=4674;POINT (-38.564043 -3.265238)'))) / (select extract(epoch from '2026-05-28 16:02:16'::timestamp) - extract(epoch from '2026-05-28 16:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564063 -3.265307)'), GeomFromEWKT('SRID=4674;POINT (-38.564043 -3.265238)'))) / (select extract(epoch from '2026-05-28 16:02:16'::timestamp) - extract(epoch from '2026-05-28 16:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564017 -3.265165)', '2026-05-28 16:02:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564043 -3.265238)'), GeomFromEWKT('SRID=4674;POINT (-38.564017 -3.265165)'))) / (select extract(epoch from '2026-05-28 16:02:21'::timestamp) - extract(epoch from '2026-05-28 16:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564043 -3.265238)'), GeomFromEWKT('SRID=4674;POINT (-38.564017 -3.265165)'))) / (select extract(epoch from '2026-05-28 16:02:21'::timestamp) - extract(epoch from '2026-05-28 16:02:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563992 -3.265084)', '2026-05-28 16:02:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564017 -3.265165)'), GeomFromEWKT('SRID=4674;POINT (-38.563992 -3.265084)'))) / (select extract(epoch from '2026-05-28 16:02:26'::timestamp) - extract(epoch from '2026-05-28 16:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564017 -3.265165)'), GeomFromEWKT('SRID=4674;POINT (-38.563992 -3.265084)'))) / (select extract(epoch from '2026-05-28 16:02:26'::timestamp) - extract(epoch from '2026-05-28 16:02: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'), 46535, 'SRID=4674;POINT (-38.563949 -3.264942)', '2026-05-28 16:02:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563992 -3.265084)'), GeomFromEWKT('SRID=4674;POINT (-38.563949 -3.264942)'))) / (select extract(epoch from '2026-05-28 16:02:34'::timestamp) - extract(epoch from '2026-05-28 16:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563992 -3.265084)'), GeomFromEWKT('SRID=4674;POINT (-38.563949 -3.264942)'))) / (select extract(epoch from '2026-05-28 16:02:34'::timestamp) - extract(epoch from '2026-05-28 16:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563895 -3.264803)', '2026-05-28 16:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563949 -3.264942)'), GeomFromEWKT('SRID=4674;POINT (-38.563895 -3.264803)'))) / (select extract(epoch from '2026-05-28 16:02:42'::timestamp) - extract(epoch from '2026-05-28 16:02:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563949 -3.264942)'), GeomFromEWKT('SRID=4674;POINT (-38.563895 -3.264803)'))) / (select extract(epoch from '2026-05-28 16:02:42'::timestamp) - extract(epoch from '2026-05-28 16:02: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'), 46535, 'SRID=4674;POINT (-38.563849 -3.2647)', '2026-05-28 16:02:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563895 -3.264803)'), GeomFromEWKT('SRID=4674;POINT (-38.563849 -3.2647)'))) / (select extract(epoch from '2026-05-28 16:02:48'::timestamp) - extract(epoch from '2026-05-28 16:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563895 -3.264803)'), GeomFromEWKT('SRID=4674;POINT (-38.563849 -3.2647)'))) / (select extract(epoch from '2026-05-28 16:02:48'::timestamp) - extract(epoch from '2026-05-28 16:02: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'), 46535, 'SRID=4674;POINT (-38.563793 -3.264601)', '2026-05-28 16:02:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563849 -3.2647)'), GeomFromEWKT('SRID=4674;POINT (-38.563793 -3.264601)'))) / (select extract(epoch from '2026-05-28 16:02:54'::timestamp) - extract(epoch from '2026-05-28 16:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563849 -3.2647)'), GeomFromEWKT('SRID=4674;POINT (-38.563793 -3.264601)'))) / (select extract(epoch from '2026-05-28 16:02:54'::timestamp) - extract(epoch from '2026-05-28 16:02: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'), 46535, 'SRID=4674;POINT (-38.563739 -3.264511)', '2026-05-28 16:03:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563793 -3.264601)'), GeomFromEWKT('SRID=4674;POINT (-38.563739 -3.264511)'))) / (select extract(epoch from '2026-05-28 16:03:00'::timestamp) - extract(epoch from '2026-05-28 16:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563793 -3.264601)'), GeomFromEWKT('SRID=4674;POINT (-38.563739 -3.264511)'))) / (select extract(epoch from '2026-05-28 16:03:00'::timestamp) - extract(epoch from '2026-05-28 16:02: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'), 46535, 'SRID=4674;POINT (-38.563681 -3.264414)', '2026-05-28 16:03:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563739 -3.264511)'), GeomFromEWKT('SRID=4674;POINT (-38.563681 -3.264414)'))) / (select extract(epoch from '2026-05-28 16:03:06'::timestamp) - extract(epoch from '2026-05-28 16:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563739 -3.264511)'), GeomFromEWKT('SRID=4674;POINT (-38.563681 -3.264414)'))) / (select extract(epoch from '2026-05-28 16:03:06'::timestamp) - extract(epoch from '2026-05-28 16:03: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'), 46535, 'SRID=4674;POINT (-38.563627 -3.264316)', '2026-05-28 16:03:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563681 -3.264414)'), GeomFromEWKT('SRID=4674;POINT (-38.563627 -3.264316)'))) / (select extract(epoch from '2026-05-28 16:03:12'::timestamp) - extract(epoch from '2026-05-28 16:03:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563681 -3.264414)'), GeomFromEWKT('SRID=4674;POINT (-38.563627 -3.264316)'))) / (select extract(epoch from '2026-05-28 16:03:12'::timestamp) - extract(epoch from '2026-05-28 16:03:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56359 -3.264233)', '2026-05-28 16:03:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563627 -3.264316)'), GeomFromEWKT('SRID=4674;POINT (-38.56359 -3.264233)'))) / (select extract(epoch from '2026-05-28 16:03:17'::timestamp) - extract(epoch from '2026-05-28 16:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563627 -3.264316)'), GeomFromEWKT('SRID=4674;POINT (-38.56359 -3.264233)'))) / (select extract(epoch from '2026-05-28 16:03:17'::timestamp) - extract(epoch from '2026-05-28 16:03:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563535 -3.264104)', '2026-05-28 16:03:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56359 -3.264233)'), GeomFromEWKT('SRID=4674;POINT (-38.563535 -3.264104)'))) / (select extract(epoch from '2026-05-28 16:03:25'::timestamp) - extract(epoch from '2026-05-28 16:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56359 -3.264233)'), GeomFromEWKT('SRID=4674;POINT (-38.563535 -3.264104)'))) / (select extract(epoch from '2026-05-28 16:03:25'::timestamp) - extract(epoch from '2026-05-28 16:03: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'), 46535, 'SRID=4674;POINT (-38.563482 -3.263997)', '2026-05-28 16:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563535 -3.264104)'), GeomFromEWKT('SRID=4674;POINT (-38.563482 -3.263997)'))) / (select extract(epoch from '2026-05-28 16:03:32'::timestamp) - extract(epoch from '2026-05-28 16:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563535 -3.264104)'), GeomFromEWKT('SRID=4674;POINT (-38.563482 -3.263997)'))) / (select extract(epoch from '2026-05-28 16:03:32'::timestamp) - extract(epoch from '2026-05-28 16:03:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563414 -3.263871)', '2026-05-28 16:03:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563482 -3.263997)'), GeomFromEWKT('SRID=4674;POINT (-38.563414 -3.263871)'))) / (select extract(epoch from '2026-05-28 16:03:40'::timestamp) - extract(epoch from '2026-05-28 16:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563482 -3.263997)'), GeomFromEWKT('SRID=4674;POINT (-38.563414 -3.263871)'))) / (select extract(epoch from '2026-05-28 16:03:40'::timestamp) - extract(epoch from '2026-05-28 16:03: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'), 46535, 'SRID=4674;POINT (-38.563341 -3.263745)', '2026-05-28 16:03:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563414 -3.263871)'), GeomFromEWKT('SRID=4674;POINT (-38.563341 -3.263745)'))) / (select extract(epoch from '2026-05-28 16:03:48'::timestamp) - extract(epoch from '2026-05-28 16:03:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563414 -3.263871)'), GeomFromEWKT('SRID=4674;POINT (-38.563341 -3.263745)'))) / (select extract(epoch from '2026-05-28 16:03:48'::timestamp) - extract(epoch from '2026-05-28 16:03: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'), 46535, 'SRID=4674;POINT (-38.563287 -3.263658)', '2026-05-28 16:03:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563341 -3.263745)'), GeomFromEWKT('SRID=4674;POINT (-38.563287 -3.263658)'))) / (select extract(epoch from '2026-05-28 16:03:54'::timestamp) - extract(epoch from '2026-05-28 16:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563341 -3.263745)'), GeomFromEWKT('SRID=4674;POINT (-38.563287 -3.263658)'))) / (select extract(epoch from '2026-05-28 16:03:54'::timestamp) - extract(epoch from '2026-05-28 16:03: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'), 46535, 'SRID=4674;POINT (-38.563248 -3.263582)', '2026-05-28 16:03:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563287 -3.263658)'), GeomFromEWKT('SRID=4674;POINT (-38.563248 -3.263582)'))) / (select extract(epoch from '2026-05-28 16:03:59'::timestamp) - extract(epoch from '2026-05-28 16:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563287 -3.263658)'), GeomFromEWKT('SRID=4674;POINT (-38.563248 -3.263582)'))) / (select extract(epoch from '2026-05-28 16:03:59'::timestamp) - extract(epoch from '2026-05-28 16:03: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'), 46535, 'SRID=4674;POINT (-38.563198 -3.263471)', '2026-05-28 16:04:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563248 -3.263582)'), GeomFromEWKT('SRID=4674;POINT (-38.563198 -3.263471)'))) / (select extract(epoch from '2026-05-28 16:04:06'::timestamp) - extract(epoch from '2026-05-28 16:03:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563248 -3.263582)'), GeomFromEWKT('SRID=4674;POINT (-38.563198 -3.263471)'))) / (select extract(epoch from '2026-05-28 16:04:06'::timestamp) - extract(epoch from '2026-05-28 16:03: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'), 46535, 'SRID=4674;POINT (-38.563161 -3.263399)', '2026-05-28 16:04:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563198 -3.263471)'), GeomFromEWKT('SRID=4674;POINT (-38.563161 -3.263399)'))) / (select extract(epoch from '2026-05-28 16:04:11'::timestamp) - extract(epoch from '2026-05-28 16:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563198 -3.263471)'), GeomFromEWKT('SRID=4674;POINT (-38.563161 -3.263399)'))) / (select extract(epoch from '2026-05-28 16:04:11'::timestamp) - extract(epoch from '2026-05-28 16:04: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'), 46535, 'SRID=4674;POINT (-38.563111 -3.263308)', '2026-05-28 16:04:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563161 -3.263399)'), GeomFromEWKT('SRID=4674;POINT (-38.563111 -3.263308)'))) / (select extract(epoch from '2026-05-28 16:04:17'::timestamp) - extract(epoch from '2026-05-28 16:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563161 -3.263399)'), GeomFromEWKT('SRID=4674;POINT (-38.563111 -3.263308)'))) / (select extract(epoch from '2026-05-28 16:04:17'::timestamp) - extract(epoch from '2026-05-28 16:04: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'), 46535, 'SRID=4674;POINT (-38.563078 -3.26322)', '2026-05-28 16:04:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563111 -3.263308)'), GeomFromEWKT('SRID=4674;POINT (-38.563078 -3.26322)'))) / (select extract(epoch from '2026-05-28 16:04:22'::timestamp) - extract(epoch from '2026-05-28 16:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563111 -3.263308)'), GeomFromEWKT('SRID=4674;POINT (-38.563078 -3.26322)'))) / (select extract(epoch from '2026-05-28 16:04:22'::timestamp) - extract(epoch from '2026-05-28 16:04: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'), 46535, 'SRID=4674;POINT (-38.563024 -3.263094)', '2026-05-28 16:04:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563078 -3.26322)'), GeomFromEWKT('SRID=4674;POINT (-38.563024 -3.263094)'))) / (select extract(epoch from '2026-05-28 16:04:30'::timestamp) - extract(epoch from '2026-05-28 16:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563078 -3.26322)'), GeomFromEWKT('SRID=4674;POINT (-38.563024 -3.263094)'))) / (select extract(epoch from '2026-05-28 16:04:30'::timestamp) - extract(epoch from '2026-05-28 16:04: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'), 46535, 'SRID=4674;POINT (-38.563012 -3.263061)', '2026-05-28 16:04:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563024 -3.263094)'), GeomFromEWKT('SRID=4674;POINT (-38.563012 -3.263061)'))) / (select extract(epoch from '2026-05-28 16:04:32'::timestamp) - extract(epoch from '2026-05-28 16:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563024 -3.263094)'), GeomFromEWKT('SRID=4674;POINT (-38.563012 -3.263061)'))) / (select extract(epoch from '2026-05-28 16:04:32'::timestamp) - extract(epoch from '2026-05-28 16:04:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562994 -3.263009)', '2026-05-28 16:04:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563012 -3.263061)'), GeomFromEWKT('SRID=4674;POINT (-38.562994 -3.263009)'))) / (select extract(epoch from '2026-05-28 16:04:35'::timestamp) - extract(epoch from '2026-05-28 16:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563012 -3.263061)'), GeomFromEWKT('SRID=4674;POINT (-38.562994 -3.263009)'))) / (select extract(epoch from '2026-05-28 16:04:35'::timestamp) - extract(epoch from '2026-05-28 16:04: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'), 46535, 'SRID=4674;POINT (-38.562946 -3.262905)', '2026-05-28 16:04:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562994 -3.263009)'), GeomFromEWKT('SRID=4674;POINT (-38.562946 -3.262905)'))) / (select extract(epoch from '2026-05-28 16:04:41'::timestamp) - extract(epoch from '2026-05-28 16:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562994 -3.263009)'), GeomFromEWKT('SRID=4674;POINT (-38.562946 -3.262905)'))) / (select extract(epoch from '2026-05-28 16:04:41'::timestamp) - extract(epoch from '2026-05-28 16:04: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'), 46535, 'SRID=4674;POINT (-38.562911 -3.262801)', '2026-05-28 16:04:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562946 -3.262905)'), GeomFromEWKT('SRID=4674;POINT (-38.562911 -3.262801)'))) / (select extract(epoch from '2026-05-28 16:04:48'::timestamp) - extract(epoch from '2026-05-28 16:04:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562946 -3.262905)'), GeomFromEWKT('SRID=4674;POINT (-38.562911 -3.262801)'))) / (select extract(epoch from '2026-05-28 16:04:48'::timestamp) - extract(epoch from '2026-05-28 16:04: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'), 46535, 'SRID=4674;POINT (-38.562866 -3.262699)', '2026-05-28 16:04:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562911 -3.262801)'), GeomFromEWKT('SRID=4674;POINT (-38.562866 -3.262699)'))) / (select extract(epoch from '2026-05-28 16:04:54'::timestamp) - extract(epoch from '2026-05-28 16:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562911 -3.262801)'), GeomFromEWKT('SRID=4674;POINT (-38.562866 -3.262699)'))) / (select extract(epoch from '2026-05-28 16:04:54'::timestamp) - extract(epoch from '2026-05-28 16:04: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'), 46535, 'SRID=4674;POINT (-38.56283 -3.262606)', '2026-05-28 16:04:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562866 -3.262699)'), GeomFromEWKT('SRID=4674;POINT (-38.56283 -3.262606)'))) / (select extract(epoch from '2026-05-28 16:04:59'::timestamp) - extract(epoch from '2026-05-28 16:04:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562866 -3.262699)'), GeomFromEWKT('SRID=4674;POINT (-38.56283 -3.262606)'))) / (select extract(epoch from '2026-05-28 16:04:59'::timestamp) - extract(epoch from '2026-05-28 16:04:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562802 -3.262533)', '2026-05-28 16:05:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56283 -3.262606)'), GeomFromEWKT('SRID=4674;POINT (-38.562802 -3.262533)'))) / (select extract(epoch from '2026-05-28 16:05:03'::timestamp) - extract(epoch from '2026-05-28 16:04:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56283 -3.262606)'), GeomFromEWKT('SRID=4674;POINT (-38.562802 -3.262533)'))) / (select extract(epoch from '2026-05-28 16:05:03'::timestamp) - extract(epoch from '2026-05-28 16:04:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56276 -3.262451)', '2026-05-28 16:05:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562802 -3.262533)'), GeomFromEWKT('SRID=4674;POINT (-38.56276 -3.262451)'))) / (select extract(epoch from '2026-05-28 16:05:08'::timestamp) - extract(epoch from '2026-05-28 16:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562802 -3.262533)'), GeomFromEWKT('SRID=4674;POINT (-38.56276 -3.262451)'))) / (select extract(epoch from '2026-05-28 16:05:08'::timestamp) - extract(epoch from '2026-05-28 16:05: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'), 46535, 'SRID=4674;POINT (-38.562715 -3.262363)', '2026-05-28 16:05:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56276 -3.262451)'), GeomFromEWKT('SRID=4674;POINT (-38.562715 -3.262363)'))) / (select extract(epoch from '2026-05-28 16:05:13'::timestamp) - extract(epoch from '2026-05-28 16:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56276 -3.262451)'), GeomFromEWKT('SRID=4674;POINT (-38.562715 -3.262363)'))) / (select extract(epoch from '2026-05-28 16:05:13'::timestamp) - extract(epoch from '2026-05-28 16:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562711 -3.262348)', '2026-05-28 16:05:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562715 -3.262363)'), GeomFromEWKT('SRID=4674;POINT (-38.562711 -3.262348)'))) / (select extract(epoch from '2026-05-28 16:05:14'::timestamp) - extract(epoch from '2026-05-28 16:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562715 -3.262363)'), GeomFromEWKT('SRID=4674;POINT (-38.562711 -3.262348)'))) / (select extract(epoch from '2026-05-28 16:05:14'::timestamp) - extract(epoch from '2026-05-28 16:05: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'), 46535, 'SRID=4674;POINT (-38.5627 -3.262296)', '2026-05-28 16:05:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562711 -3.262348)'), GeomFromEWKT('SRID=4674;POINT (-38.5627 -3.262296)'))) / (select extract(epoch from '2026-05-28 16:05:17'::timestamp) - extract(epoch from '2026-05-28 16:05:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562711 -3.262348)'), GeomFromEWKT('SRID=4674;POINT (-38.5627 -3.262296)'))) / (select extract(epoch from '2026-05-28 16:05:17'::timestamp) - extract(epoch from '2026-05-28 16:05:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562654 -3.262212)', '2026-05-28 16:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5627 -3.262296)'), GeomFromEWKT('SRID=4674;POINT (-38.562654 -3.262212)'))) / (select extract(epoch from '2026-05-28 16:05:23'::timestamp) - extract(epoch from '2026-05-28 16:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5627 -3.262296)'), GeomFromEWKT('SRID=4674;POINT (-38.562654 -3.262212)'))) / (select extract(epoch from '2026-05-28 16:05:23'::timestamp) - extract(epoch from '2026-05-28 16:05: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'), 46535, 'SRID=4674;POINT (-38.562598 -3.262096)', '2026-05-28 16:05:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562654 -3.262212)'), GeomFromEWKT('SRID=4674;POINT (-38.562598 -3.262096)'))) / (select extract(epoch from '2026-05-28 16:05:30'::timestamp) - extract(epoch from '2026-05-28 16:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562654 -3.262212)'), GeomFromEWKT('SRID=4674;POINT (-38.562598 -3.262096)'))) / (select extract(epoch from '2026-05-28 16:05:30'::timestamp) - extract(epoch from '2026-05-28 16:05: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'), 46535, 'SRID=4674;POINT (-38.562561 -3.262021)', '2026-05-28 16:05:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562598 -3.262096)'), GeomFromEWKT('SRID=4674;POINT (-38.562561 -3.262021)'))) / (select extract(epoch from '2026-05-28 16:05:35'::timestamp) - extract(epoch from '2026-05-28 16:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562598 -3.262096)'), GeomFromEWKT('SRID=4674;POINT (-38.562561 -3.262021)'))) / (select extract(epoch from '2026-05-28 16:05:35'::timestamp) - extract(epoch from '2026-05-28 16:05: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'), 46535, 'SRID=4674;POINT (-38.562526 -3.261957)', '2026-05-28 16:05:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562561 -3.262021)'), GeomFromEWKT('SRID=4674;POINT (-38.562526 -3.261957)'))) / (select extract(epoch from '2026-05-28 16:05:39'::timestamp) - extract(epoch from '2026-05-28 16:05:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562561 -3.262021)'), GeomFromEWKT('SRID=4674;POINT (-38.562526 -3.261957)'))) / (select extract(epoch from '2026-05-28 16:05:39'::timestamp) - extract(epoch from '2026-05-28 16:05: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'), 46535, 'SRID=4674;POINT (-38.56252 -3.261939)', '2026-05-28 16:05:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562526 -3.261957)'), GeomFromEWKT('SRID=4674;POINT (-38.56252 -3.261939)'))) / (select extract(epoch from '2026-05-28 16:05:40'::timestamp) - extract(epoch from '2026-05-28 16:05:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562526 -3.261957)'), GeomFromEWKT('SRID=4674;POINT (-38.56252 -3.261939)'))) / (select extract(epoch from '2026-05-28 16:05:40'::timestamp) - extract(epoch from '2026-05-28 16:05: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'), 46535, 'SRID=4674;POINT (-38.562505 -3.261909)', '2026-05-28 16:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56252 -3.261939)'), GeomFromEWKT('SRID=4674;POINT (-38.562505 -3.261909)'))) / (select extract(epoch from '2026-05-28 16:05:42'::timestamp) - extract(epoch from '2026-05-28 16:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56252 -3.261939)'), GeomFromEWKT('SRID=4674;POINT (-38.562505 -3.261909)'))) / (select extract(epoch from '2026-05-28 16:05:42'::timestamp) - extract(epoch from '2026-05-28 16:05:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562484 -3.261866)', '2026-05-28 16:05:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562505 -3.261909)'), GeomFromEWKT('SRID=4674;POINT (-38.562484 -3.261866)'))) / (select extract(epoch from '2026-05-28 16:05:45'::timestamp) - extract(epoch from '2026-05-28 16:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562505 -3.261909)'), GeomFromEWKT('SRID=4674;POINT (-38.562484 -3.261866)'))) / (select extract(epoch from '2026-05-28 16:05:45'::timestamp) - extract(epoch from '2026-05-28 16:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562446 -3.261776)', '2026-05-28 16:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562484 -3.261866)'), GeomFromEWKT('SRID=4674;POINT (-38.562446 -3.261776)'))) / (select extract(epoch from '2026-05-28 16:05:51'::timestamp) - extract(epoch from '2026-05-28 16:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562484 -3.261866)'), GeomFromEWKT('SRID=4674;POINT (-38.562446 -3.261776)'))) / (select extract(epoch from '2026-05-28 16:05:51'::timestamp) - extract(epoch from '2026-05-28 16:05:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562407 -3.261676)', '2026-05-28 16:05:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562446 -3.261776)'), GeomFromEWKT('SRID=4674;POINT (-38.562407 -3.261676)'))) / (select extract(epoch from '2026-05-28 16:05:57'::timestamp) - extract(epoch from '2026-05-28 16:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562446 -3.261776)'), GeomFromEWKT('SRID=4674;POINT (-38.562407 -3.261676)'))) / (select extract(epoch from '2026-05-28 16:05:57'::timestamp) - extract(epoch from '2026-05-28 16:05:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.5624 -3.261658)', '2026-05-28 16:05:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562407 -3.261676)'), GeomFromEWKT('SRID=4674;POINT (-38.5624 -3.261658)'))) / (select extract(epoch from '2026-05-28 16:05:58'::timestamp) - extract(epoch from '2026-05-28 16:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562407 -3.261676)'), GeomFromEWKT('SRID=4674;POINT (-38.5624 -3.261658)'))) / (select extract(epoch from '2026-05-28 16:05:58'::timestamp) - extract(epoch from '2026-05-28 16:05:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562375 -3.261592)', '2026-05-28 16:06:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5624 -3.261658)'), GeomFromEWKT('SRID=4674;POINT (-38.562375 -3.261592)'))) / (select extract(epoch from '2026-05-28 16:06:02'::timestamp) - extract(epoch from '2026-05-28 16:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5624 -3.261658)'), GeomFromEWKT('SRID=4674;POINT (-38.562375 -3.261592)'))) / (select extract(epoch from '2026-05-28 16:06:02'::timestamp) - extract(epoch from '2026-05-28 16:05: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'), 46535, 'SRID=4674;POINT (-38.562328 -3.261474)', '2026-05-28 16:06:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562375 -3.261592)'), GeomFromEWKT('SRID=4674;POINT (-38.562328 -3.261474)'))) / (select extract(epoch from '2026-05-28 16:06:09'::timestamp) - extract(epoch from '2026-05-28 16:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562375 -3.261592)'), GeomFromEWKT('SRID=4674;POINT (-38.562328 -3.261474)'))) / (select extract(epoch from '2026-05-28 16:06:09'::timestamp) - extract(epoch from '2026-05-28 16:06:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562282 -3.261375)', '2026-05-28 16:06:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562328 -3.261474)'), GeomFromEWKT('SRID=4674;POINT (-38.562282 -3.261375)'))) / (select extract(epoch from '2026-05-28 16:06:15'::timestamp) - extract(epoch from '2026-05-28 16:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562328 -3.261474)'), GeomFromEWKT('SRID=4674;POINT (-38.562282 -3.261375)'))) / (select extract(epoch from '2026-05-28 16:06:15'::timestamp) - extract(epoch from '2026-05-28 16:06: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'), 46535, 'SRID=4674;POINT (-38.562226 -3.26123)', '2026-05-28 16:06:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562282 -3.261375)'), GeomFromEWKT('SRID=4674;POINT (-38.562226 -3.26123)'))) / (select extract(epoch from '2026-05-28 16:06:23'::timestamp) - extract(epoch from '2026-05-28 16:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562282 -3.261375)'), GeomFromEWKT('SRID=4674;POINT (-38.562226 -3.26123)'))) / (select extract(epoch from '2026-05-28 16:06:23'::timestamp) - extract(epoch from '2026-05-28 16:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562197 -3.261136)', '2026-05-28 16:06:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562226 -3.26123)'), GeomFromEWKT('SRID=4674;POINT (-38.562197 -3.261136)'))) / (select extract(epoch from '2026-05-28 16:06:28'::timestamp) - extract(epoch from '2026-05-28 16:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562226 -3.26123)'), GeomFromEWKT('SRID=4674;POINT (-38.562197 -3.261136)'))) / (select extract(epoch from '2026-05-28 16:06:28'::timestamp) - extract(epoch from '2026-05-28 16:06: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'), 46535, 'SRID=4674;POINT (-38.562163 -3.261026)', '2026-05-28 16:06:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562197 -3.261136)'), GeomFromEWKT('SRID=4674;POINT (-38.562163 -3.261026)'))) / (select extract(epoch from '2026-05-28 16:06:34'::timestamp) - extract(epoch from '2026-05-28 16:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562197 -3.261136)'), GeomFromEWKT('SRID=4674;POINT (-38.562163 -3.261026)'))) / (select extract(epoch from '2026-05-28 16:06:34'::timestamp) - extract(epoch from '2026-05-28 16:06: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'), 46535, 'SRID=4674;POINT (-38.562129 -3.260917)', '2026-05-28 16:06:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562163 -3.261026)'), GeomFromEWKT('SRID=4674;POINT (-38.562129 -3.260917)'))) / (select extract(epoch from '2026-05-28 16:06:40'::timestamp) - extract(epoch from '2026-05-28 16:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562163 -3.261026)'), GeomFromEWKT('SRID=4674;POINT (-38.562129 -3.260917)'))) / (select extract(epoch from '2026-05-28 16:06:40'::timestamp) - extract(epoch from '2026-05-28 16:06: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'), 46535, 'SRID=4674;POINT (-38.562099 -3.2608)', '2026-05-28 16:06:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562129 -3.260917)'), GeomFromEWKT('SRID=4674;POINT (-38.562099 -3.2608)'))) / (select extract(epoch from '2026-05-28 16:06:46'::timestamp) - extract(epoch from '2026-05-28 16:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562129 -3.260917)'), GeomFromEWKT('SRID=4674;POINT (-38.562099 -3.2608)'))) / (select extract(epoch from '2026-05-28 16:06:46'::timestamp) - extract(epoch from '2026-05-28 16:06: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'), 46535, 'SRID=4674;POINT (-38.562059 -3.260689)', '2026-05-28 16:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562099 -3.2608)'), GeomFromEWKT('SRID=4674;POINT (-38.562059 -3.260689)'))) / (select extract(epoch from '2026-05-28 16:06:52'::timestamp) - extract(epoch from '2026-05-28 16:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562099 -3.2608)'), GeomFromEWKT('SRID=4674;POINT (-38.562059 -3.260689)'))) / (select extract(epoch from '2026-05-28 16:06:52'::timestamp) - extract(epoch from '2026-05-28 16:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562008 -3.260569)', '2026-05-28 16:06:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562059 -3.260689)'), GeomFromEWKT('SRID=4674;POINT (-38.562008 -3.260569)'))) / (select extract(epoch from '2026-05-28 16:06:58'::timestamp) - extract(epoch from '2026-05-28 16:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562059 -3.260689)'), GeomFromEWKT('SRID=4674;POINT (-38.562008 -3.260569)'))) / (select extract(epoch from '2026-05-28 16:06:58'::timestamp) - extract(epoch from '2026-05-28 16:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562005 -3.26055)', '2026-05-28 16:06:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562008 -3.260569)'), GeomFromEWKT('SRID=4674;POINT (-38.562005 -3.26055)'))) / (select extract(epoch from '2026-05-28 16:06:59'::timestamp) - extract(epoch from '2026-05-28 16:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562008 -3.260569)'), GeomFromEWKT('SRID=4674;POINT (-38.562005 -3.26055)'))) / (select extract(epoch from '2026-05-28 16:06:59'::timestamp) - extract(epoch from '2026-05-28 16:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561985 -3.260487)', '2026-05-28 16:07:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562005 -3.26055)'), GeomFromEWKT('SRID=4674;POINT (-38.561985 -3.260487)'))) / (select extract(epoch from '2026-05-28 16:07:02'::timestamp) - extract(epoch from '2026-05-28 16:06:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562005 -3.26055)'), GeomFromEWKT('SRID=4674;POINT (-38.561985 -3.260487)'))) / (select extract(epoch from '2026-05-28 16:07:02'::timestamp) - extract(epoch from '2026-05-28 16:06:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561979 -3.26047)', '2026-05-28 16:07:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561985 -3.260487)'), GeomFromEWKT('SRID=4674;POINT (-38.561979 -3.26047)'))) / (select extract(epoch from '2026-05-28 16:07:03'::timestamp) - extract(epoch from '2026-05-28 16:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561985 -3.260487)'), GeomFromEWKT('SRID=4674;POINT (-38.561979 -3.26047)'))) / (select extract(epoch from '2026-05-28 16:07:03'::timestamp) - extract(epoch from '2026-05-28 16:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56196 -3.260413)', '2026-05-28 16:07:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561979 -3.26047)'), GeomFromEWKT('SRID=4674;POINT (-38.56196 -3.260413)'))) / (select extract(epoch from '2026-05-28 16:07:06'::timestamp) - extract(epoch from '2026-05-28 16:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561979 -3.26047)'), GeomFromEWKT('SRID=4674;POINT (-38.56196 -3.260413)'))) / (select extract(epoch from '2026-05-28 16:07:06'::timestamp) - extract(epoch from '2026-05-28 16:07: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'), 46535, 'SRID=4674;POINT (-38.561905 -3.260296)', '2026-05-28 16:07:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56196 -3.260413)'), GeomFromEWKT('SRID=4674;POINT (-38.561905 -3.260296)'))) / (select extract(epoch from '2026-05-28 16:07:13'::timestamp) - extract(epoch from '2026-05-28 16:07:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56196 -3.260413)'), GeomFromEWKT('SRID=4674;POINT (-38.561905 -3.260296)'))) / (select extract(epoch from '2026-05-28 16:07:13'::timestamp) - extract(epoch from '2026-05-28 16:07:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561869 -3.260186)', '2026-05-28 16:07:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561905 -3.260296)'), GeomFromEWKT('SRID=4674;POINT (-38.561869 -3.260186)'))) / (select extract(epoch from '2026-05-28 16:07:20'::timestamp) - extract(epoch from '2026-05-28 16:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561905 -3.260296)'), GeomFromEWKT('SRID=4674;POINT (-38.561869 -3.260186)'))) / (select extract(epoch from '2026-05-28 16:07:20'::timestamp) - extract(epoch from '2026-05-28 16:07:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561847 -3.260136)', '2026-05-28 16:07:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561869 -3.260186)'), GeomFromEWKT('SRID=4674;POINT (-38.561847 -3.260136)'))) / (select extract(epoch from '2026-05-28 16:07:23'::timestamp) - extract(epoch from '2026-05-28 16:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561869 -3.260186)'), GeomFromEWKT('SRID=4674;POINT (-38.561847 -3.260136)'))) / (select extract(epoch from '2026-05-28 16:07:23'::timestamp) - extract(epoch from '2026-05-28 16:07: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'), 46535, 'SRID=4674;POINT (-38.561837 -3.260097)', '2026-05-28 16:07:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561847 -3.260136)'), GeomFromEWKT('SRID=4674;POINT (-38.561837 -3.260097)'))) / (select extract(epoch from '2026-05-28 16:07:25'::timestamp) - extract(epoch from '2026-05-28 16:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561847 -3.260136)'), GeomFromEWKT('SRID=4674;POINT (-38.561837 -3.260097)'))) / (select extract(epoch from '2026-05-28 16:07:25'::timestamp) - extract(epoch from '2026-05-28 16:07: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'), 46535, 'SRID=4674;POINT (-38.561809 -3.260002)', '2026-05-28 16:07:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561837 -3.260097)'), GeomFromEWKT('SRID=4674;POINT (-38.561809 -3.260002)'))) / (select extract(epoch from '2026-05-28 16:07:30'::timestamp) - extract(epoch from '2026-05-28 16:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561837 -3.260097)'), GeomFromEWKT('SRID=4674;POINT (-38.561809 -3.260002)'))) / (select extract(epoch from '2026-05-28 16:07:30'::timestamp) - extract(epoch from '2026-05-28 16:07:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561776 -3.259887)', '2026-05-28 16:07:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561809 -3.260002)'), GeomFromEWKT('SRID=4674;POINT (-38.561776 -3.259887)'))) / (select extract(epoch from '2026-05-28 16:07:36'::timestamp) - extract(epoch from '2026-05-28 16:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561809 -3.260002)'), GeomFromEWKT('SRID=4674;POINT (-38.561776 -3.259887)'))) / (select extract(epoch from '2026-05-28 16:07:36'::timestamp) - extract(epoch from '2026-05-28 16:07:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56173 -3.259776)', '2026-05-28 16:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561776 -3.259887)'), GeomFromEWKT('SRID=4674;POINT (-38.56173 -3.259776)'))) / (select extract(epoch from '2026-05-28 16:07:42'::timestamp) - extract(epoch from '2026-05-28 16:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561776 -3.259887)'), GeomFromEWKT('SRID=4674;POINT (-38.56173 -3.259776)'))) / (select extract(epoch from '2026-05-28 16:07:42'::timestamp) - extract(epoch from '2026-05-28 16:07: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'), 46535, 'SRID=4674;POINT (-38.561661 -3.259658)', '2026-05-28 16:07:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56173 -3.259776)'), GeomFromEWKT('SRID=4674;POINT (-38.561661 -3.259658)'))) / (select extract(epoch from '2026-05-28 16:07:49'::timestamp) - extract(epoch from '2026-05-28 16:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56173 -3.259776)'), GeomFromEWKT('SRID=4674;POINT (-38.561661 -3.259658)'))) / (select extract(epoch from '2026-05-28 16:07:49'::timestamp) - extract(epoch from '2026-05-28 16:07: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'), 46535, 'SRID=4674;POINT (-38.561605 -3.25955)', '2026-05-28 16:07:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561661 -3.259658)'), GeomFromEWKT('SRID=4674;POINT (-38.561605 -3.25955)'))) / (select extract(epoch from '2026-05-28 16:07:55'::timestamp) - extract(epoch from '2026-05-28 16:07:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561661 -3.259658)'), GeomFromEWKT('SRID=4674;POINT (-38.561605 -3.25955)'))) / (select extract(epoch from '2026-05-28 16:07:55'::timestamp) - extract(epoch from '2026-05-28 16:07: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'), 46535, 'SRID=4674;POINT (-38.56159 -3.259512)', '2026-05-28 16:07:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561605 -3.25955)'), GeomFromEWKT('SRID=4674;POINT (-38.56159 -3.259512)'))) / (select extract(epoch from '2026-05-28 16:07:57'::timestamp) - extract(epoch from '2026-05-28 16:07:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561605 -3.25955)'), GeomFromEWKT('SRID=4674;POINT (-38.56159 -3.259512)'))) / (select extract(epoch from '2026-05-28 16:07:57'::timestamp) - extract(epoch from '2026-05-28 16:07: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'), 46535, 'SRID=4674;POINT (-38.561569 -3.259453)', '2026-05-28 16:08:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56159 -3.259512)'), GeomFromEWKT('SRID=4674;POINT (-38.561569 -3.259453)'))) / (select extract(epoch from '2026-05-28 16:08:00'::timestamp) - extract(epoch from '2026-05-28 16:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56159 -3.259512)'), GeomFromEWKT('SRID=4674;POINT (-38.561569 -3.259453)'))) / (select extract(epoch from '2026-05-28 16:08:00'::timestamp) - extract(epoch from '2026-05-28 16:07: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'), 46535, 'SRID=4674;POINT (-38.56153 -3.25933)', '2026-05-28 16:08:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561569 -3.259453)'), GeomFromEWKT('SRID=4674;POINT (-38.56153 -3.25933)'))) / (select extract(epoch from '2026-05-28 16:08:06'::timestamp) - extract(epoch from '2026-05-28 16:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561569 -3.259453)'), GeomFromEWKT('SRID=4674;POINT (-38.56153 -3.25933)'))) / (select extract(epoch from '2026-05-28 16:08:06'::timestamp) - extract(epoch from '2026-05-28 16:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561503 -3.259256)', '2026-05-28 16:08:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56153 -3.25933)'), GeomFromEWKT('SRID=4674;POINT (-38.561503 -3.259256)'))) / (select extract(epoch from '2026-05-28 16:08:10'::timestamp) - extract(epoch from '2026-05-28 16:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56153 -3.25933)'), GeomFromEWKT('SRID=4674;POINT (-38.561503 -3.259256)'))) / (select extract(epoch from '2026-05-28 16:08:10'::timestamp) - extract(epoch from '2026-05-28 16:08: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'), 46535, 'SRID=4674;POINT (-38.561502 -3.259235)', '2026-05-28 16:08:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561503 -3.259256)'), GeomFromEWKT('SRID=4674;POINT (-38.561502 -3.259235)'))) / (select extract(epoch from '2026-05-28 16:08:11'::timestamp) - extract(epoch from '2026-05-28 16:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561503 -3.259256)'), GeomFromEWKT('SRID=4674;POINT (-38.561502 -3.259235)'))) / (select extract(epoch from '2026-05-28 16:08:11'::timestamp) - extract(epoch from '2026-05-28 16:08: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'), 46535, 'SRID=4674;POINT (-38.561477 -3.25914)', '2026-05-28 16:08:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561502 -3.259235)'), GeomFromEWKT('SRID=4674;POINT (-38.561477 -3.25914)'))) / (select extract(epoch from '2026-05-28 16:08:16'::timestamp) - extract(epoch from '2026-05-28 16:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561502 -3.259235)'), GeomFromEWKT('SRID=4674;POINT (-38.561477 -3.25914)'))) / (select extract(epoch from '2026-05-28 16:08:16'::timestamp) - extract(epoch from '2026-05-28 16:08: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'), 46535, 'SRID=4674;POINT (-38.561472 -3.2591)', '2026-05-28 16:08:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561477 -3.25914)'), GeomFromEWKT('SRID=4674;POINT (-38.561472 -3.2591)'))) / (select extract(epoch from '2026-05-28 16:08:18'::timestamp) - extract(epoch from '2026-05-28 16:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561477 -3.25914)'), GeomFromEWKT('SRID=4674;POINT (-38.561472 -3.2591)'))) / (select extract(epoch from '2026-05-28 16:08:18'::timestamp) - extract(epoch from '2026-05-28 16:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561454 -3.259042)', '2026-05-28 16:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561472 -3.2591)'), GeomFromEWKT('SRID=4674;POINT (-38.561454 -3.259042)'))) / (select extract(epoch from '2026-05-28 16:08:21'::timestamp) - extract(epoch from '2026-05-28 16:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561472 -3.2591)'), GeomFromEWKT('SRID=4674;POINT (-38.561454 -3.259042)'))) / (select extract(epoch from '2026-05-28 16:08:21'::timestamp) - extract(epoch from '2026-05-28 16:08: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'), 46535, 'SRID=4674;POINT (-38.56143 -3.258895)', '2026-05-28 16:08:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561454 -3.259042)'), GeomFromEWKT('SRID=4674;POINT (-38.56143 -3.258895)'))) / (select extract(epoch from '2026-05-28 16:08:28'::timestamp) - extract(epoch from '2026-05-28 16:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561454 -3.259042)'), GeomFromEWKT('SRID=4674;POINT (-38.56143 -3.258895)'))) / (select extract(epoch from '2026-05-28 16:08:28'::timestamp) - extract(epoch from '2026-05-28 16:08: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'), 46535, 'SRID=4674;POINT (-38.561415 -3.258764)', '2026-05-28 16:08:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56143 -3.258895)'), GeomFromEWKT('SRID=4674;POINT (-38.561415 -3.258764)'))) / (select extract(epoch from '2026-05-28 16:08:34'::timestamp) - extract(epoch from '2026-05-28 16:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56143 -3.258895)'), GeomFromEWKT('SRID=4674;POINT (-38.561415 -3.258764)'))) / (select extract(epoch from '2026-05-28 16:08:34'::timestamp) - extract(epoch from '2026-05-28 16:08: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'), 46535, 'SRID=4674;POINT (-38.5614 -3.258654)', '2026-05-28 16:08:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561415 -3.258764)'), GeomFromEWKT('SRID=4674;POINT (-38.5614 -3.258654)'))) / (select extract(epoch from '2026-05-28 16:08:39'::timestamp) - extract(epoch from '2026-05-28 16:08:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561415 -3.258764)'), GeomFromEWKT('SRID=4674;POINT (-38.5614 -3.258654)'))) / (select extract(epoch from '2026-05-28 16:08:39'::timestamp) - extract(epoch from '2026-05-28 16:08: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'), 46535, 'SRID=4674;POINT (-38.561391 -3.258546)', '2026-05-28 16:08:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5614 -3.258654)'), GeomFromEWKT('SRID=4674;POINT (-38.561391 -3.258546)'))) / (select extract(epoch from '2026-05-28 16:08:44'::timestamp) - extract(epoch from '2026-05-28 16:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5614 -3.258654)'), GeomFromEWKT('SRID=4674;POINT (-38.561391 -3.258546)'))) / (select extract(epoch from '2026-05-28 16:08:44'::timestamp) - extract(epoch from '2026-05-28 16:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561388 -3.258416)', '2026-05-28 16:08:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561391 -3.258546)'), GeomFromEWKT('SRID=4674;POINT (-38.561388 -3.258416)'))) / (select extract(epoch from '2026-05-28 16:08:50'::timestamp) - extract(epoch from '2026-05-28 16:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561391 -3.258546)'), GeomFromEWKT('SRID=4674;POINT (-38.561388 -3.258416)'))) / (select extract(epoch from '2026-05-28 16:08:50'::timestamp) - extract(epoch from '2026-05-28 16:08:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561396 -3.258322)', '2026-05-28 16:08:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561388 -3.258416)'), GeomFromEWKT('SRID=4674;POINT (-38.561396 -3.258322)'))) / (select extract(epoch from '2026-05-28 16:08:54'::timestamp) - extract(epoch from '2026-05-28 16:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561388 -3.258416)'), GeomFromEWKT('SRID=4674;POINT (-38.561396 -3.258322)'))) / (select extract(epoch from '2026-05-28 16:08:54'::timestamp) - extract(epoch from '2026-05-28 16:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561395 -3.258283)', '2026-05-28 16:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561396 -3.258322)'), GeomFromEWKT('SRID=4674;POINT (-38.561395 -3.258283)'))) / (select extract(epoch from '2026-05-28 16:08:56'::timestamp) - extract(epoch from '2026-05-28 16:08:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561396 -3.258322)'), GeomFromEWKT('SRID=4674;POINT (-38.561395 -3.258283)'))) / (select extract(epoch from '2026-05-28 16:08:56'::timestamp) - extract(epoch from '2026-05-28 16:08: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'), 46535, 'SRID=4674;POINT (-38.561411 -3.258236)', '2026-05-28 16:08:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561395 -3.258283)'), GeomFromEWKT('SRID=4674;POINT (-38.561411 -3.258236)'))) / (select extract(epoch from '2026-05-28 16:08:58'::timestamp) - extract(epoch from '2026-05-28 16:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561395 -3.258283)'), GeomFromEWKT('SRID=4674;POINT (-38.561411 -3.258236)'))) / (select extract(epoch from '2026-05-28 16:08:58'::timestamp) - extract(epoch from '2026-05-28 16:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561402 -3.258123)', '2026-05-28 16:09:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561411 -3.258236)'), GeomFromEWKT('SRID=4674;POINT (-38.561402 -3.258123)'))) / (select extract(epoch from '2026-05-28 16:09:03'::timestamp) - extract(epoch from '2026-05-28 16:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561411 -3.258236)'), GeomFromEWKT('SRID=4674;POINT (-38.561402 -3.258123)'))) / (select extract(epoch from '2026-05-28 16:09:03'::timestamp) - extract(epoch from '2026-05-28 16:08: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'), 46535, 'SRID=4674;POINT (-38.561395 -3.257999)', '2026-05-28 16:09:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561402 -3.258123)'), GeomFromEWKT('SRID=4674;POINT (-38.561395 -3.257999)'))) / (select extract(epoch from '2026-05-28 16:09:09'::timestamp) - extract(epoch from '2026-05-28 16:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561402 -3.258123)'), GeomFromEWKT('SRID=4674;POINT (-38.561395 -3.257999)'))) / (select extract(epoch from '2026-05-28 16:09:09'::timestamp) - extract(epoch from '2026-05-28 16:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561386 -3.257813)', '2026-05-28 16:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561395 -3.257999)'), GeomFromEWKT('SRID=4674;POINT (-38.561386 -3.257813)'))) / (select extract(epoch from '2026-05-28 16:09:18'::timestamp) - extract(epoch from '2026-05-28 16:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561395 -3.257999)'), GeomFromEWKT('SRID=4674;POINT (-38.561386 -3.257813)'))) / (select extract(epoch from '2026-05-28 16:09:18'::timestamp) - extract(epoch from '2026-05-28 16:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561378 -3.257704)', '2026-05-28 16:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561386 -3.257813)'), GeomFromEWKT('SRID=4674;POINT (-38.561378 -3.257704)'))) / (select extract(epoch from '2026-05-28 16:09:23'::timestamp) - extract(epoch from '2026-05-28 16:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561386 -3.257813)'), GeomFromEWKT('SRID=4674;POINT (-38.561378 -3.257704)'))) / (select extract(epoch from '2026-05-28 16:09:23'::timestamp) - extract(epoch from '2026-05-28 16:09: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'), 46535, 'SRID=4674;POINT (-38.56137 -3.257599)', '2026-05-28 16:09:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561378 -3.257704)'), GeomFromEWKT('SRID=4674;POINT (-38.56137 -3.257599)'))) / (select extract(epoch from '2026-05-28 16:09:28'::timestamp) - extract(epoch from '2026-05-28 16:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561378 -3.257704)'), GeomFromEWKT('SRID=4674;POINT (-38.56137 -3.257599)'))) / (select extract(epoch from '2026-05-28 16:09:28'::timestamp) - extract(epoch from '2026-05-28 16:09: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'), 46535, 'SRID=4674;POINT (-38.561348 -3.257471)', '2026-05-28 16:09:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56137 -3.257599)'), GeomFromEWKT('SRID=4674;POINT (-38.561348 -3.257471)'))) / (select extract(epoch from '2026-05-28 16:09:34'::timestamp) - extract(epoch from '2026-05-28 16:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56137 -3.257599)'), GeomFromEWKT('SRID=4674;POINT (-38.561348 -3.257471)'))) / (select extract(epoch from '2026-05-28 16:09:34'::timestamp) - extract(epoch from '2026-05-28 16:09: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'), 46535, 'SRID=4674;POINT (-38.561328 -3.257365)', '2026-05-28 16:09:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561348 -3.257471)'), GeomFromEWKT('SRID=4674;POINT (-38.561328 -3.257365)'))) / (select extract(epoch from '2026-05-28 16:09:39'::timestamp) - extract(epoch from '2026-05-28 16:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561348 -3.257471)'), GeomFromEWKT('SRID=4674;POINT (-38.561328 -3.257365)'))) / (select extract(epoch from '2026-05-28 16:09:39'::timestamp) - extract(epoch from '2026-05-28 16:09: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'), 46535, 'SRID=4674;POINT (-38.561322 -3.257254)', '2026-05-28 16:09:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561328 -3.257365)'), GeomFromEWKT('SRID=4674;POINT (-38.561322 -3.257254)'))) / (select extract(epoch from '2026-05-28 16:09:44'::timestamp) - extract(epoch from '2026-05-28 16:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561328 -3.257365)'), GeomFromEWKT('SRID=4674;POINT (-38.561322 -3.257254)'))) / (select extract(epoch from '2026-05-28 16:09:44'::timestamp) - extract(epoch from '2026-05-28 16:09:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561321 -3.257138)', '2026-05-28 16:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561322 -3.257254)'), GeomFromEWKT('SRID=4674;POINT (-38.561321 -3.257138)'))) / (select extract(epoch from '2026-05-28 16:09:49'::timestamp) - extract(epoch from '2026-05-28 16:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561322 -3.257254)'), GeomFromEWKT('SRID=4674;POINT (-38.561321 -3.257138)'))) / (select extract(epoch from '2026-05-28 16:09:49'::timestamp) - extract(epoch from '2026-05-28 16:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561311 -3.257005)', '2026-05-28 16:09:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561321 -3.257138)'), GeomFromEWKT('SRID=4674;POINT (-38.561311 -3.257005)'))) / (select extract(epoch from '2026-05-28 16:09:55'::timestamp) - extract(epoch from '2026-05-28 16:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561321 -3.257138)'), GeomFromEWKT('SRID=4674;POINT (-38.561311 -3.257005)'))) / (select extract(epoch from '2026-05-28 16:09:55'::timestamp) - extract(epoch from '2026-05-28 16:09:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561301 -3.256871)', '2026-05-28 16:10:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561311 -3.257005)'), GeomFromEWKT('SRID=4674;POINT (-38.561301 -3.256871)'))) / (select extract(epoch from '2026-05-28 16:10:01'::timestamp) - extract(epoch from '2026-05-28 16:09:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561311 -3.257005)'), GeomFromEWKT('SRID=4674;POINT (-38.561301 -3.256871)'))) / (select extract(epoch from '2026-05-28 16:10:01'::timestamp) - extract(epoch from '2026-05-28 16:09: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'), 46535, 'SRID=4674;POINT (-38.561294 -3.256763)', '2026-05-28 16:10:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561301 -3.256871)'), GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256763)'))) / (select extract(epoch from '2026-05-28 16:10:06'::timestamp) - extract(epoch from '2026-05-28 16:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561301 -3.256871)'), GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256763)'))) / (select extract(epoch from '2026-05-28 16:10:06'::timestamp) - extract(epoch from '2026-05-28 16:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561293 -3.256655)', '2026-05-28 16:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256763)'), GeomFromEWKT('SRID=4674;POINT (-38.561293 -3.256655)'))) / (select extract(epoch from '2026-05-28 16:10:11'::timestamp) - extract(epoch from '2026-05-28 16:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256763)'), GeomFromEWKT('SRID=4674;POINT (-38.561293 -3.256655)'))) / (select extract(epoch from '2026-05-28 16:10:11'::timestamp) - extract(epoch from '2026-05-28 16:10: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'), 46535, 'SRID=4674;POINT (-38.561294 -3.256517)', '2026-05-28 16:10:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561293 -3.256655)'), GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256517)'))) / (select extract(epoch from '2026-05-28 16:10:17'::timestamp) - extract(epoch from '2026-05-28 16:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561293 -3.256655)'), GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256517)'))) / (select extract(epoch from '2026-05-28 16:10:17'::timestamp) - extract(epoch from '2026-05-28 16:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561302 -3.256419)', '2026-05-28 16:10:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256517)'), GeomFromEWKT('SRID=4674;POINT (-38.561302 -3.256419)'))) / (select extract(epoch from '2026-05-28 16:10:21'::timestamp) - extract(epoch from '2026-05-28 16:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256517)'), GeomFromEWKT('SRID=4674;POINT (-38.561302 -3.256419)'))) / (select extract(epoch from '2026-05-28 16:10:21'::timestamp) - extract(epoch from '2026-05-28 16:10:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561294 -3.256311)', '2026-05-28 16:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561302 -3.256419)'), GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256311)'))) / (select extract(epoch from '2026-05-28 16:10:26'::timestamp) - extract(epoch from '2026-05-28 16:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561302 -3.256419)'), GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256311)'))) / (select extract(epoch from '2026-05-28 16:10:26'::timestamp) - extract(epoch from '2026-05-28 16:10: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'), 46535, 'SRID=4674;POINT (-38.561291 -3.256211)', '2026-05-28 16:10:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256311)'), GeomFromEWKT('SRID=4674;POINT (-38.561291 -3.256211)'))) / (select extract(epoch from '2026-05-28 16:10:31'::timestamp) - extract(epoch from '2026-05-28 16:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561294 -3.256311)'), GeomFromEWKT('SRID=4674;POINT (-38.561291 -3.256211)'))) / (select extract(epoch from '2026-05-28 16:10:31'::timestamp) - extract(epoch from '2026-05-28 16:10: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'), 46535, 'SRID=4674;POINT (-38.561276 -3.256077)', '2026-05-28 16:10:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561291 -3.256211)'), GeomFromEWKT('SRID=4674;POINT (-38.561276 -3.256077)'))) / (select extract(epoch from '2026-05-28 16:10:37'::timestamp) - extract(epoch from '2026-05-28 16:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561291 -3.256211)'), GeomFromEWKT('SRID=4674;POINT (-38.561276 -3.256077)'))) / (select extract(epoch from '2026-05-28 16:10:37'::timestamp) - extract(epoch from '2026-05-28 16:10: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'), 46535, 'SRID=4674;POINT (-38.561252 -3.255916)', '2026-05-28 16:10:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561276 -3.256077)'), GeomFromEWKT('SRID=4674;POINT (-38.561252 -3.255916)'))) / (select extract(epoch from '2026-05-28 16:10:44'::timestamp) - extract(epoch from '2026-05-28 16:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561276 -3.256077)'), GeomFromEWKT('SRID=4674;POINT (-38.561252 -3.255916)'))) / (select extract(epoch from '2026-05-28 16:10:44'::timestamp) - extract(epoch from '2026-05-28 16:10:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561231 -3.25581)', '2026-05-28 16:10:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561252 -3.255916)'), GeomFromEWKT('SRID=4674;POINT (-38.561231 -3.25581)'))) / (select extract(epoch from '2026-05-28 16:10:49'::timestamp) - extract(epoch from '2026-05-28 16:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561252 -3.255916)'), GeomFromEWKT('SRID=4674;POINT (-38.561231 -3.25581)'))) / (select extract(epoch from '2026-05-28 16:10:49'::timestamp) - extract(epoch from '2026-05-28 16:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561201 -3.25566)', '2026-05-28 16:10:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561231 -3.25581)'), GeomFromEWKT('SRID=4674;POINT (-38.561201 -3.25566)'))) / (select extract(epoch from '2026-05-28 16:10:56'::timestamp) - extract(epoch from '2026-05-28 16:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561231 -3.25581)'), GeomFromEWKT('SRID=4674;POINT (-38.561201 -3.25566)'))) / (select extract(epoch from '2026-05-28 16:10:56'::timestamp) - extract(epoch from '2026-05-28 16:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561172 -3.255541)', '2026-05-28 16:11:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561201 -3.25566)'), GeomFromEWKT('SRID=4674;POINT (-38.561172 -3.255541)'))) / (select extract(epoch from '2026-05-28 16:11:02'::timestamp) - extract(epoch from '2026-05-28 16:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561201 -3.25566)'), GeomFromEWKT('SRID=4674;POINT (-38.561172 -3.255541)'))) / (select extract(epoch from '2026-05-28 16:11:02'::timestamp) - extract(epoch from '2026-05-28 16:10:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561146 -3.255436)', '2026-05-28 16:11:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561172 -3.255541)'), GeomFromEWKT('SRID=4674;POINT (-38.561146 -3.255436)'))) / (select extract(epoch from '2026-05-28 16:11:07'::timestamp) - extract(epoch from '2026-05-28 16:11:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561172 -3.255541)'), GeomFromEWKT('SRID=4674;POINT (-38.561146 -3.255436)'))) / (select extract(epoch from '2026-05-28 16:11:07'::timestamp) - extract(epoch from '2026-05-28 16:11:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561133 -3.255324)', '2026-05-28 16:11:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561146 -3.255436)'), GeomFromEWKT('SRID=4674;POINT (-38.561133 -3.255324)'))) / (select extract(epoch from '2026-05-28 16:11:12'::timestamp) - extract(epoch from '2026-05-28 16:11:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561146 -3.255436)'), GeomFromEWKT('SRID=4674;POINT (-38.561133 -3.255324)'))) / (select extract(epoch from '2026-05-28 16:11:12'::timestamp) - extract(epoch from '2026-05-28 16:11: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'), 46535, 'SRID=4674;POINT (-38.561118 -3.255185)', '2026-05-28 16:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561133 -3.255324)'), GeomFromEWKT('SRID=4674;POINT (-38.561118 -3.255185)'))) / (select extract(epoch from '2026-05-28 16:11:18'::timestamp) - extract(epoch from '2026-05-28 16:11:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561133 -3.255324)'), GeomFromEWKT('SRID=4674;POINT (-38.561118 -3.255185)'))) / (select extract(epoch from '2026-05-28 16:11:18'::timestamp) - extract(epoch from '2026-05-28 16:11: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'), 46535, 'SRID=4674;POINT (-38.56111 -3.25507)', '2026-05-28 16:11:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561118 -3.255185)'), GeomFromEWKT('SRID=4674;POINT (-38.56111 -3.25507)'))) / (select extract(epoch from '2026-05-28 16:11:23'::timestamp) - extract(epoch from '2026-05-28 16:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561118 -3.255185)'), GeomFromEWKT('SRID=4674;POINT (-38.56111 -3.25507)'))) / (select extract(epoch from '2026-05-28 16:11:23'::timestamp) - extract(epoch from '2026-05-28 16:11: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'), 46535, 'SRID=4674;POINT (-38.561097 -3.254913)', '2026-05-28 16:11:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56111 -3.25507)'), GeomFromEWKT('SRID=4674;POINT (-38.561097 -3.254913)'))) / (select extract(epoch from '2026-05-28 16:11:30'::timestamp) - extract(epoch from '2026-05-28 16:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56111 -3.25507)'), GeomFromEWKT('SRID=4674;POINT (-38.561097 -3.254913)'))) / (select extract(epoch from '2026-05-28 16:11:30'::timestamp) - extract(epoch from '2026-05-28 16:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561084 -3.25478)', '2026-05-28 16:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561097 -3.254913)'), GeomFromEWKT('SRID=4674;POINT (-38.561084 -3.25478)'))) / (select extract(epoch from '2026-05-28 16:11:36'::timestamp) - extract(epoch from '2026-05-28 16:11:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561097 -3.254913)'), GeomFromEWKT('SRID=4674;POINT (-38.561084 -3.25478)'))) / (select extract(epoch from '2026-05-28 16:11:36'::timestamp) - extract(epoch from '2026-05-28 16:11:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561071 -3.254646)', '2026-05-28 16:11:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561084 -3.25478)'), GeomFromEWKT('SRID=4674;POINT (-38.561071 -3.254646)'))) / (select extract(epoch from '2026-05-28 16:11:42'::timestamp) - extract(epoch from '2026-05-28 16:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561084 -3.25478)'), GeomFromEWKT('SRID=4674;POINT (-38.561071 -3.254646)'))) / (select extract(epoch from '2026-05-28 16:11:42'::timestamp) - extract(epoch from '2026-05-28 16:11: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'), 46535, 'SRID=4674;POINT (-38.561056 -3.254511)', '2026-05-28 16:11:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561071 -3.254646)'), GeomFromEWKT('SRID=4674;POINT (-38.561056 -3.254511)'))) / (select extract(epoch from '2026-05-28 16:11:48'::timestamp) - extract(epoch from '2026-05-28 16:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561071 -3.254646)'), GeomFromEWKT('SRID=4674;POINT (-38.561056 -3.254511)'))) / (select extract(epoch from '2026-05-28 16:11:48'::timestamp) - extract(epoch from '2026-05-28 16:11: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'), 46535, 'SRID=4674;POINT (-38.561047 -3.254371)', '2026-05-28 16:11:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561056 -3.254511)'), GeomFromEWKT('SRID=4674;POINT (-38.561047 -3.254371)'))) / (select extract(epoch from '2026-05-28 16:11:54'::timestamp) - extract(epoch from '2026-05-28 16:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561056 -3.254511)'), GeomFromEWKT('SRID=4674;POINT (-38.561047 -3.254371)'))) / (select extract(epoch from '2026-05-28 16:11:54'::timestamp) - extract(epoch from '2026-05-28 16:11: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'), 46535, 'SRID=4674;POINT (-38.561043 -3.254256)', '2026-05-28 16:11:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561047 -3.254371)'), GeomFromEWKT('SRID=4674;POINT (-38.561043 -3.254256)'))) / (select extract(epoch from '2026-05-28 16:11:59'::timestamp) - extract(epoch from '2026-05-28 16:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561047 -3.254371)'), GeomFromEWKT('SRID=4674;POINT (-38.561043 -3.254256)'))) / (select extract(epoch from '2026-05-28 16:11:59'::timestamp) - extract(epoch from '2026-05-28 16:11: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'), 46535, 'SRID=4674;POINT (-38.561039 -3.254145)', '2026-05-28 16:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561043 -3.254256)'), GeomFromEWKT('SRID=4674;POINT (-38.561039 -3.254145)'))) / (select extract(epoch from '2026-05-28 16:12:04'::timestamp) - extract(epoch from '2026-05-28 16:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561043 -3.254256)'), GeomFromEWKT('SRID=4674;POINT (-38.561039 -3.254145)'))) / (select extract(epoch from '2026-05-28 16:12:04'::timestamp) - extract(epoch from '2026-05-28 16:11: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'), 46535, 'SRID=4674;POINT (-38.561033 -3.25396)', '2026-05-28 16:12:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561039 -3.254145)'), GeomFromEWKT('SRID=4674;POINT (-38.561033 -3.25396)'))) / (select extract(epoch from '2026-05-28 16:12:12'::timestamp) - extract(epoch from '2026-05-28 16:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561039 -3.254145)'), GeomFromEWKT('SRID=4674;POINT (-38.561033 -3.25396)'))) / (select extract(epoch from '2026-05-28 16:12:12'::timestamp) - extract(epoch from '2026-05-28 16:12: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'), 46535, 'SRID=4674;POINT (-38.561029 -3.253851)', '2026-05-28 16:12:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561033 -3.25396)'), GeomFromEWKT('SRID=4674;POINT (-38.561029 -3.253851)'))) / (select extract(epoch from '2026-05-28 16:12:17'::timestamp) - extract(epoch from '2026-05-28 16:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561033 -3.25396)'), GeomFromEWKT('SRID=4674;POINT (-38.561029 -3.253851)'))) / (select extract(epoch from '2026-05-28 16:12:17'::timestamp) - extract(epoch from '2026-05-28 16:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561015 -3.253693)', '2026-05-28 16:12:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561029 -3.253851)'), GeomFromEWKT('SRID=4674;POINT (-38.561015 -3.253693)'))) / (select extract(epoch from '2026-05-28 16:12:24'::timestamp) - extract(epoch from '2026-05-28 16:12:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561029 -3.253851)'), GeomFromEWKT('SRID=4674;POINT (-38.561015 -3.253693)'))) / (select extract(epoch from '2026-05-28 16:12:24'::timestamp) - extract(epoch from '2026-05-28 16:12: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'), 46535, 'SRID=4674;POINT (-38.561016 -3.253584)', '2026-05-28 16:12:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561015 -3.253693)'), GeomFromEWKT('SRID=4674;POINT (-38.561016 -3.253584)'))) / (select extract(epoch from '2026-05-28 16:12:29'::timestamp) - extract(epoch from '2026-05-28 16:12:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561015 -3.253693)'), GeomFromEWKT('SRID=4674;POINT (-38.561016 -3.253584)'))) / (select extract(epoch from '2026-05-28 16:12:29'::timestamp) - extract(epoch from '2026-05-28 16:12:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561013 -3.25345)', '2026-05-28 16:12:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561016 -3.253584)'), GeomFromEWKT('SRID=4674;POINT (-38.561013 -3.25345)'))) / (select extract(epoch from '2026-05-28 16:12:35'::timestamp) - extract(epoch from '2026-05-28 16:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561016 -3.253584)'), GeomFromEWKT('SRID=4674;POINT (-38.561013 -3.25345)'))) / (select extract(epoch from '2026-05-28 16:12:35'::timestamp) - extract(epoch from '2026-05-28 16:12:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56101 -3.253298)', '2026-05-28 16:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561013 -3.25345)'), GeomFromEWKT('SRID=4674;POINT (-38.56101 -3.253298)'))) / (select extract(epoch from '2026-05-28 16:12:42'::timestamp) - extract(epoch from '2026-05-28 16:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561013 -3.25345)'), GeomFromEWKT('SRID=4674;POINT (-38.56101 -3.253298)'))) / (select extract(epoch from '2026-05-28 16:12:42'::timestamp) - extract(epoch from '2026-05-28 16:12: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'), 46535, 'SRID=4674;POINT (-38.561 -3.253186)', '2026-05-28 16:12:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56101 -3.253298)'), GeomFromEWKT('SRID=4674;POINT (-38.561 -3.253186)'))) / (select extract(epoch from '2026-05-28 16:12:47'::timestamp) - extract(epoch from '2026-05-28 16:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56101 -3.253298)'), GeomFromEWKT('SRID=4674;POINT (-38.561 -3.253186)'))) / (select extract(epoch from '2026-05-28 16:12:47'::timestamp) - extract(epoch from '2026-05-28 16:12: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'), 46535, 'SRID=4674;POINT (-38.560982 -3.253076)', '2026-05-28 16:12:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561 -3.253186)'), GeomFromEWKT('SRID=4674;POINT (-38.560982 -3.253076)'))) / (select extract(epoch from '2026-05-28 16:12:52'::timestamp) - extract(epoch from '2026-05-28 16:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561 -3.253186)'), GeomFromEWKT('SRID=4674;POINT (-38.560982 -3.253076)'))) / (select extract(epoch from '2026-05-28 16:12:52'::timestamp) - extract(epoch from '2026-05-28 16:12:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560958 -3.252921)', '2026-05-28 16:12:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560982 -3.253076)'), GeomFromEWKT('SRID=4674;POINT (-38.560958 -3.252921)'))) / (select extract(epoch from '2026-05-28 16:12:59'::timestamp) - extract(epoch from '2026-05-28 16:12:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560982 -3.253076)'), GeomFromEWKT('SRID=4674;POINT (-38.560958 -3.252921)'))) / (select extract(epoch from '2026-05-28 16:12:59'::timestamp) - extract(epoch from '2026-05-28 16:12:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560953 -3.252758)', '2026-05-28 16:13:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560958 -3.252921)'), GeomFromEWKT('SRID=4674;POINT (-38.560953 -3.252758)'))) / (select extract(epoch from '2026-05-28 16:13:06'::timestamp) - extract(epoch from '2026-05-28 16:12:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560958 -3.252921)'), GeomFromEWKT('SRID=4674;POINT (-38.560953 -3.252758)'))) / (select extract(epoch from '2026-05-28 16:13:06'::timestamp) - extract(epoch from '2026-05-28 16:12: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'), 46535, 'SRID=4674;POINT (-38.560954 -3.25257)', '2026-05-28 16:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560953 -3.252758)'), GeomFromEWKT('SRID=4674;POINT (-38.560954 -3.25257)'))) / (select extract(epoch from '2026-05-28 16:13:14'::timestamp) - extract(epoch from '2026-05-28 16:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560953 -3.252758)'), GeomFromEWKT('SRID=4674;POINT (-38.560954 -3.25257)'))) / (select extract(epoch from '2026-05-28 16:13:14'::timestamp) - extract(epoch from '2026-05-28 16:13: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'), 46535, 'SRID=4674;POINT (-38.560949 -3.252427)', '2026-05-28 16:13:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560954 -3.25257)'), GeomFromEWKT('SRID=4674;POINT (-38.560949 -3.252427)'))) / (select extract(epoch from '2026-05-28 16:13:20'::timestamp) - extract(epoch from '2026-05-28 16:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560954 -3.25257)'), GeomFromEWKT('SRID=4674;POINT (-38.560949 -3.252427)'))) / (select extract(epoch from '2026-05-28 16:13:20'::timestamp) - extract(epoch from '2026-05-28 16:13: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'), 46535, 'SRID=4674;POINT (-38.560943 -3.252272)', '2026-05-28 16:13:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560949 -3.252427)'), GeomFromEWKT('SRID=4674;POINT (-38.560943 -3.252272)'))) / (select extract(epoch from '2026-05-28 16:13:27'::timestamp) - extract(epoch from '2026-05-28 16:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560949 -3.252427)'), GeomFromEWKT('SRID=4674;POINT (-38.560943 -3.252272)'))) / (select extract(epoch from '2026-05-28 16:13:27'::timestamp) - extract(epoch from '2026-05-28 16:13:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560929 -3.252111)', '2026-05-28 16:13:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560943 -3.252272)'), GeomFromEWKT('SRID=4674;POINT (-38.560929 -3.252111)'))) / (select extract(epoch from '2026-05-28 16:13:34'::timestamp) - extract(epoch from '2026-05-28 16:13:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560943 -3.252272)'), GeomFromEWKT('SRID=4674;POINT (-38.560929 -3.252111)'))) / (select extract(epoch from '2026-05-28 16:13:34'::timestamp) - extract(epoch from '2026-05-28 16:13:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560934 -3.251971)', '2026-05-28 16:13:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560929 -3.252111)'), GeomFromEWKT('SRID=4674;POINT (-38.560934 -3.251971)'))) / (select extract(epoch from '2026-05-28 16:13:40'::timestamp) - extract(epoch from '2026-05-28 16:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560929 -3.252111)'), GeomFromEWKT('SRID=4674;POINT (-38.560934 -3.251971)'))) / (select extract(epoch from '2026-05-28 16:13:40'::timestamp) - extract(epoch from '2026-05-28 16:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560942 -3.25182)', '2026-05-28 16:13:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560934 -3.251971)'), GeomFromEWKT('SRID=4674;POINT (-38.560942 -3.25182)'))) / (select extract(epoch from '2026-05-28 16:13:46'::timestamp) - extract(epoch from '2026-05-28 16:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560934 -3.251971)'), GeomFromEWKT('SRID=4674;POINT (-38.560942 -3.25182)'))) / (select extract(epoch from '2026-05-28 16:13:46'::timestamp) - extract(epoch from '2026-05-28 16:13:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560953 -3.251701)', '2026-05-28 16:13:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560942 -3.25182)'), GeomFromEWKT('SRID=4674;POINT (-38.560953 -3.251701)'))) / (select extract(epoch from '2026-05-28 16:13:51'::timestamp) - extract(epoch from '2026-05-28 16:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560942 -3.25182)'), GeomFromEWKT('SRID=4674;POINT (-38.560953 -3.251701)'))) / (select extract(epoch from '2026-05-28 16:13:51'::timestamp) - extract(epoch from '2026-05-28 16:13: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'), 46535, 'SRID=4674;POINT (-38.560969 -3.251595)', '2026-05-28 16:13:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560953 -3.251701)'), GeomFromEWKT('SRID=4674;POINT (-38.560969 -3.251595)'))) / (select extract(epoch from '2026-05-28 16:13:55'::timestamp) - extract(epoch from '2026-05-28 16:13:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560953 -3.251701)'), GeomFromEWKT('SRID=4674;POINT (-38.560969 -3.251595)'))) / (select extract(epoch from '2026-05-28 16:13:55'::timestamp) - extract(epoch from '2026-05-28 16:13:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560974 -3.251478)', '2026-05-28 16:14:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560969 -3.251595)'), GeomFromEWKT('SRID=4674;POINT (-38.560974 -3.251478)'))) / (select extract(epoch from '2026-05-28 16:14:00'::timestamp) - extract(epoch from '2026-05-28 16:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560969 -3.251595)'), GeomFromEWKT('SRID=4674;POINT (-38.560974 -3.251478)'))) / (select extract(epoch from '2026-05-28 16:14:00'::timestamp) - extract(epoch from '2026-05-28 16:13: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'), 46535, 'SRID=4674;POINT (-38.560968 -3.251362)', '2026-05-28 16:14:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560974 -3.251478)'), GeomFromEWKT('SRID=4674;POINT (-38.560968 -3.251362)'))) / (select extract(epoch from '2026-05-28 16:14:05'::timestamp) - extract(epoch from '2026-05-28 16:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560974 -3.251478)'), GeomFromEWKT('SRID=4674;POINT (-38.560968 -3.251362)'))) / (select extract(epoch from '2026-05-28 16:14:05'::timestamp) - extract(epoch from '2026-05-28 16:14: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'), 46535, 'SRID=4674;POINT (-38.560963 -3.251231)', '2026-05-28 16:14:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560968 -3.251362)'), GeomFromEWKT('SRID=4674;POINT (-38.560963 -3.251231)'))) / (select extract(epoch from '2026-05-28 16:14:11'::timestamp) - extract(epoch from '2026-05-28 16:14:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560968 -3.251362)'), GeomFromEWKT('SRID=4674;POINT (-38.560963 -3.251231)'))) / (select extract(epoch from '2026-05-28 16:14:11'::timestamp) - extract(epoch from '2026-05-28 16:14:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560964 -3.251107)', '2026-05-28 16:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560963 -3.251231)'), GeomFromEWKT('SRID=4674;POINT (-38.560964 -3.251107)'))) / (select extract(epoch from '2026-05-28 16:14:17'::timestamp) - extract(epoch from '2026-05-28 16:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560963 -3.251231)'), GeomFromEWKT('SRID=4674;POINT (-38.560964 -3.251107)'))) / (select extract(epoch from '2026-05-28 16:14:17'::timestamp) - extract(epoch from '2026-05-28 16:14: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'), 46535, 'SRID=4674;POINT (-38.560957 -3.250972)', '2026-05-28 16:14:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560964 -3.251107)'), GeomFromEWKT('SRID=4674;POINT (-38.560957 -3.250972)'))) / (select extract(epoch from '2026-05-28 16:14:23'::timestamp) - extract(epoch from '2026-05-28 16:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560964 -3.251107)'), GeomFromEWKT('SRID=4674;POINT (-38.560957 -3.250972)'))) / (select extract(epoch from '2026-05-28 16:14:23'::timestamp) - extract(epoch from '2026-05-28 16:14: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'), 46535, 'SRID=4674;POINT (-38.560937 -3.250866)', '2026-05-28 16:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560957 -3.250972)'), GeomFromEWKT('SRID=4674;POINT (-38.560937 -3.250866)'))) / (select extract(epoch from '2026-05-28 16:14:28'::timestamp) - extract(epoch from '2026-05-28 16:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560957 -3.250972)'), GeomFromEWKT('SRID=4674;POINT (-38.560937 -3.250866)'))) / (select extract(epoch from '2026-05-28 16:14:28'::timestamp) - extract(epoch from '2026-05-28 16:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560923 -3.250753)', '2026-05-28 16:14:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560937 -3.250866)'), GeomFromEWKT('SRID=4674;POINT (-38.560923 -3.250753)'))) / (select extract(epoch from '2026-05-28 16:14:33'::timestamp) - extract(epoch from '2026-05-28 16:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560937 -3.250866)'), GeomFromEWKT('SRID=4674;POINT (-38.560923 -3.250753)'))) / (select extract(epoch from '2026-05-28 16:14:33'::timestamp) - extract(epoch from '2026-05-28 16:14: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'), 46535, 'SRID=4674;POINT (-38.560912 -3.250614)', '2026-05-28 16:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560923 -3.250753)'), GeomFromEWKT('SRID=4674;POINT (-38.560912 -3.250614)'))) / (select extract(epoch from '2026-05-28 16:14:39'::timestamp) - extract(epoch from '2026-05-28 16:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560923 -3.250753)'), GeomFromEWKT('SRID=4674;POINT (-38.560912 -3.250614)'))) / (select extract(epoch from '2026-05-28 16:14:39'::timestamp) - extract(epoch from '2026-05-28 16:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560898 -3.250504)', '2026-05-28 16:14:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560912 -3.250614)'), GeomFromEWKT('SRID=4674;POINT (-38.560898 -3.250504)'))) / (select extract(epoch from '2026-05-28 16:14:44'::timestamp) - extract(epoch from '2026-05-28 16:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560912 -3.250614)'), GeomFromEWKT('SRID=4674;POINT (-38.560898 -3.250504)'))) / (select extract(epoch from '2026-05-28 16:14:44'::timestamp) - extract(epoch from '2026-05-28 16:14: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'), 46535, 'SRID=4674;POINT (-38.560883 -3.250398)', '2026-05-28 16:14:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560898 -3.250504)'), GeomFromEWKT('SRID=4674;POINT (-38.560883 -3.250398)'))) / (select extract(epoch from '2026-05-28 16:14:49'::timestamp) - extract(epoch from '2026-05-28 16:14:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560898 -3.250504)'), GeomFromEWKT('SRID=4674;POINT (-38.560883 -3.250398)'))) / (select extract(epoch from '2026-05-28 16:14:49'::timestamp) - extract(epoch from '2026-05-28 16:14: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'), 46535, 'SRID=4674;POINT (-38.560872 -3.250278)', '2026-05-28 16:14:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560883 -3.250398)'), GeomFromEWKT('SRID=4674;POINT (-38.560872 -3.250278)'))) / (select extract(epoch from '2026-05-28 16:14:54'::timestamp) - extract(epoch from '2026-05-28 16:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560883 -3.250398)'), GeomFromEWKT('SRID=4674;POINT (-38.560872 -3.250278)'))) / (select extract(epoch from '2026-05-28 16:14:54'::timestamp) - extract(epoch from '2026-05-28 16:14: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'), 46535, 'SRID=4674;POINT (-38.560859 -3.250168)', '2026-05-28 16:14:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560872 -3.250278)'), GeomFromEWKT('SRID=4674;POINT (-38.560859 -3.250168)'))) / (select extract(epoch from '2026-05-28 16:14:59'::timestamp) - extract(epoch from '2026-05-28 16:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560872 -3.250278)'), GeomFromEWKT('SRID=4674;POINT (-38.560859 -3.250168)'))) / (select extract(epoch from '2026-05-28 16:14:59'::timestamp) - extract(epoch from '2026-05-28 16:14: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'), 46535, 'SRID=4674;POINT (-38.560845 -3.25004)', '2026-05-28 16:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560859 -3.250168)'), GeomFromEWKT('SRID=4674;POINT (-38.560845 -3.25004)'))) / (select extract(epoch from '2026-05-28 16:15:05'::timestamp) - extract(epoch from '2026-05-28 16:14:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560859 -3.250168)'), GeomFromEWKT('SRID=4674;POINT (-38.560845 -3.25004)'))) / (select extract(epoch from '2026-05-28 16:15:05'::timestamp) - extract(epoch from '2026-05-28 16:14: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'), 46535, 'SRID=4674;POINT (-38.560835 -3.249926)', '2026-05-28 16:15:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560845 -3.25004)'), GeomFromEWKT('SRID=4674;POINT (-38.560835 -3.249926)'))) / (select extract(epoch from '2026-05-28 16:15:10'::timestamp) - extract(epoch from '2026-05-28 16:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560845 -3.25004)'), GeomFromEWKT('SRID=4674;POINT (-38.560835 -3.249926)'))) / (select extract(epoch from '2026-05-28 16:15:10'::timestamp) - extract(epoch from '2026-05-28 16:15: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'), 46535, 'SRID=4674;POINT (-38.560819 -3.249795)', '2026-05-28 16:15:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560835 -3.249926)'), GeomFromEWKT('SRID=4674;POINT (-38.560819 -3.249795)'))) / (select extract(epoch from '2026-05-28 16:15:16'::timestamp) - extract(epoch from '2026-05-28 16:15:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560835 -3.249926)'), GeomFromEWKT('SRID=4674;POINT (-38.560819 -3.249795)'))) / (select extract(epoch from '2026-05-28 16:15:16'::timestamp) - extract(epoch from '2026-05-28 16:15:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560794 -3.249686)', '2026-05-28 16:15:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560819 -3.249795)'), GeomFromEWKT('SRID=4674;POINT (-38.560794 -3.249686)'))) / (select extract(epoch from '2026-05-28 16:15:21'::timestamp) - extract(epoch from '2026-05-28 16:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560819 -3.249795)'), GeomFromEWKT('SRID=4674;POINT (-38.560794 -3.249686)'))) / (select extract(epoch from '2026-05-28 16:15:21'::timestamp) - extract(epoch from '2026-05-28 16:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56075 -3.249544)', '2026-05-28 16:15:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560794 -3.249686)'), GeomFromEWKT('SRID=4674;POINT (-38.56075 -3.249544)'))) / (select extract(epoch from '2026-05-28 16:15:28'::timestamp) - extract(epoch from '2026-05-28 16:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560794 -3.249686)'), GeomFromEWKT('SRID=4674;POINT (-38.56075 -3.249544)'))) / (select extract(epoch from '2026-05-28 16:15:28'::timestamp) - extract(epoch from '2026-05-28 16:15: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'), 46535, 'SRID=4674;POINT (-38.560722 -3.249411)', '2026-05-28 16:15:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56075 -3.249544)'), GeomFromEWKT('SRID=4674;POINT (-38.560722 -3.249411)'))) / (select extract(epoch from '2026-05-28 16:15:34'::timestamp) - extract(epoch from '2026-05-28 16:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56075 -3.249544)'), GeomFromEWKT('SRID=4674;POINT (-38.560722 -3.249411)'))) / (select extract(epoch from '2026-05-28 16:15:34'::timestamp) - extract(epoch from '2026-05-28 16:15: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'), 46535, 'SRID=4674;POINT (-38.560698 -3.249273)', '2026-05-28 16:15:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560722 -3.249411)'), GeomFromEWKT('SRID=4674;POINT (-38.560698 -3.249273)'))) / (select extract(epoch from '2026-05-28 16:15:40'::timestamp) - extract(epoch from '2026-05-28 16:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560722 -3.249411)'), GeomFromEWKT('SRID=4674;POINT (-38.560698 -3.249273)'))) / (select extract(epoch from '2026-05-28 16:15:40'::timestamp) - extract(epoch from '2026-05-28 16:15: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'), 46535, 'SRID=4674;POINT (-38.560683 -3.24916)', '2026-05-28 16:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560698 -3.249273)'), GeomFromEWKT('SRID=4674;POINT (-38.560683 -3.24916)'))) / (select extract(epoch from '2026-05-28 16:15:45'::timestamp) - extract(epoch from '2026-05-28 16:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560698 -3.249273)'), GeomFromEWKT('SRID=4674;POINT (-38.560683 -3.24916)'))) / (select extract(epoch from '2026-05-28 16:15:45'::timestamp) - extract(epoch from '2026-05-28 16:15: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'), 46535, 'SRID=4674;POINT (-38.560666 -3.249047)', '2026-05-28 16:15:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560683 -3.24916)'), GeomFromEWKT('SRID=4674;POINT (-38.560666 -3.249047)'))) / (select extract(epoch from '2026-05-28 16:15:50'::timestamp) - extract(epoch from '2026-05-28 16:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560683 -3.24916)'), GeomFromEWKT('SRID=4674;POINT (-38.560666 -3.249047)'))) / (select extract(epoch from '2026-05-28 16:15:50'::timestamp) - extract(epoch from '2026-05-28 16:15: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'), 46535, 'SRID=4674;POINT (-38.560649 -3.24893)', '2026-05-28 16:15:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560666 -3.249047)'), GeomFromEWKT('SRID=4674;POINT (-38.560649 -3.24893)'))) / (select extract(epoch from '2026-05-28 16:15:55'::timestamp) - extract(epoch from '2026-05-28 16:15:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560666 -3.249047)'), GeomFromEWKT('SRID=4674;POINT (-38.560649 -3.24893)'))) / (select extract(epoch from '2026-05-28 16:15:55'::timestamp) - extract(epoch from '2026-05-28 16:15: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'), 46535, 'SRID=4674;POINT (-38.560625 -3.248789)', '2026-05-28 16:16:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560649 -3.24893)'), GeomFromEWKT('SRID=4674;POINT (-38.560625 -3.248789)'))) / (select extract(epoch from '2026-05-28 16:16:01'::timestamp) - extract(epoch from '2026-05-28 16:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560649 -3.24893)'), GeomFromEWKT('SRID=4674;POINT (-38.560625 -3.248789)'))) / (select extract(epoch from '2026-05-28 16:16:01'::timestamp) - extract(epoch from '2026-05-28 16:15: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'), 46535, 'SRID=4674;POINT (-38.560603 -3.248677)', '2026-05-28 16:16:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560625 -3.248789)'), GeomFromEWKT('SRID=4674;POINT (-38.560603 -3.248677)'))) / (select extract(epoch from '2026-05-28 16:16:06'::timestamp) - extract(epoch from '2026-05-28 16:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560625 -3.248789)'), GeomFromEWKT('SRID=4674;POINT (-38.560603 -3.248677)'))) / (select extract(epoch from '2026-05-28 16:16:06'::timestamp) - extract(epoch from '2026-05-28 16:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56059 -3.248542)', '2026-05-28 16:16:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560603 -3.248677)'), GeomFromEWKT('SRID=4674;POINT (-38.56059 -3.248542)'))) / (select extract(epoch from '2026-05-28 16:16:12'::timestamp) - extract(epoch from '2026-05-28 16:16:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560603 -3.248677)'), GeomFromEWKT('SRID=4674;POINT (-38.56059 -3.248542)'))) / (select extract(epoch from '2026-05-28 16:16:12'::timestamp) - extract(epoch from '2026-05-28 16:16: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'), 46535, 'SRID=4674;POINT (-38.560575 -3.248419)', '2026-05-28 16:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56059 -3.248542)'), GeomFromEWKT('SRID=4674;POINT (-38.560575 -3.248419)'))) / (select extract(epoch from '2026-05-28 16:16:18'::timestamp) - extract(epoch from '2026-05-28 16:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56059 -3.248542)'), GeomFromEWKT('SRID=4674;POINT (-38.560575 -3.248419)'))) / (select extract(epoch from '2026-05-28 16:16:18'::timestamp) - extract(epoch from '2026-05-28 16:16: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'), 46535, 'SRID=4674;POINT (-38.560557 -3.248311)', '2026-05-28 16:16:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560575 -3.248419)'), GeomFromEWKT('SRID=4674;POINT (-38.560557 -3.248311)'))) / (select extract(epoch from '2026-05-28 16:16:23'::timestamp) - extract(epoch from '2026-05-28 16:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560575 -3.248419)'), GeomFromEWKT('SRID=4674;POINT (-38.560557 -3.248311)'))) / (select extract(epoch from '2026-05-28 16:16:23'::timestamp) - extract(epoch from '2026-05-28 16:16: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'), 46535, 'SRID=4674;POINT (-38.560542 -3.248207)', '2026-05-28 16:16:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560557 -3.248311)'), GeomFromEWKT('SRID=4674;POINT (-38.560542 -3.248207)'))) / (select extract(epoch from '2026-05-28 16:16:28'::timestamp) - extract(epoch from '2026-05-28 16:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560557 -3.248311)'), GeomFromEWKT('SRID=4674;POINT (-38.560542 -3.248207)'))) / (select extract(epoch from '2026-05-28 16:16:28'::timestamp) - extract(epoch from '2026-05-28 16:16: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'), 46535, 'SRID=4674;POINT (-38.560526 -3.24809)', '2026-05-28 16:16:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560542 -3.248207)'), GeomFromEWKT('SRID=4674;POINT (-38.560526 -3.24809)'))) / (select extract(epoch from '2026-05-28 16:16:34'::timestamp) - extract(epoch from '2026-05-28 16:16:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560542 -3.248207)'), GeomFromEWKT('SRID=4674;POINT (-38.560526 -3.24809)'))) / (select extract(epoch from '2026-05-28 16:16:34'::timestamp) - extract(epoch from '2026-05-28 16:16: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'), 46535, 'SRID=4674;POINT (-38.56051 -3.247964)', '2026-05-28 16:16:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560526 -3.24809)'), GeomFromEWKT('SRID=4674;POINT (-38.56051 -3.247964)'))) / (select extract(epoch from '2026-05-28 16:16:40'::timestamp) - extract(epoch from '2026-05-28 16:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560526 -3.24809)'), GeomFromEWKT('SRID=4674;POINT (-38.56051 -3.247964)'))) / (select extract(epoch from '2026-05-28 16:16:40'::timestamp) - extract(epoch from '2026-05-28 16:16: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'), 46535, 'SRID=4674;POINT (-38.560483 -3.247845)', '2026-05-28 16:16:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56051 -3.247964)'), GeomFromEWKT('SRID=4674;POINT (-38.560483 -3.247845)'))) / (select extract(epoch from '2026-05-28 16:16:46'::timestamp) - extract(epoch from '2026-05-28 16:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56051 -3.247964)'), GeomFromEWKT('SRID=4674;POINT (-38.560483 -3.247845)'))) / (select extract(epoch from '2026-05-28 16:16:46'::timestamp) - extract(epoch from '2026-05-28 16:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560458 -3.247727)', '2026-05-28 16:16:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560483 -3.247845)'), GeomFromEWKT('SRID=4674;POINT (-38.560458 -3.247727)'))) / (select extract(epoch from '2026-05-28 16:16:52'::timestamp) - extract(epoch from '2026-05-28 16:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560483 -3.247845)'), GeomFromEWKT('SRID=4674;POINT (-38.560458 -3.247727)'))) / (select extract(epoch from '2026-05-28 16:16:52'::timestamp) - extract(epoch from '2026-05-28 16:16: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'), 46535, 'SRID=4674;POINT (-38.560442 -3.247625)', '2026-05-28 16:16:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560458 -3.247727)'), GeomFromEWKT('SRID=4674;POINT (-38.560442 -3.247625)'))) / (select extract(epoch from '2026-05-28 16:16:57'::timestamp) - extract(epoch from '2026-05-28 16:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560458 -3.247727)'), GeomFromEWKT('SRID=4674;POINT (-38.560442 -3.247625)'))) / (select extract(epoch from '2026-05-28 16:16:57'::timestamp) - extract(epoch from '2026-05-28 16:16: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'), 46535, 'SRID=4674;POINT (-38.560434 -3.247518)', '2026-05-28 16:17:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560442 -3.247625)'), GeomFromEWKT('SRID=4674;POINT (-38.560434 -3.247518)'))) / (select extract(epoch from '2026-05-28 16:17:02'::timestamp) - extract(epoch from '2026-05-28 16:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560442 -3.247625)'), GeomFromEWKT('SRID=4674;POINT (-38.560434 -3.247518)'))) / (select extract(epoch from '2026-05-28 16:17:02'::timestamp) - extract(epoch from '2026-05-28 16:16:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560438 -3.247407)', '2026-05-28 16:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560434 -3.247518)'), GeomFromEWKT('SRID=4674;POINT (-38.560438 -3.247407)'))) / (select extract(epoch from '2026-05-28 16:17:07'::timestamp) - extract(epoch from '2026-05-28 16:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560434 -3.247518)'), GeomFromEWKT('SRID=4674;POINT (-38.560438 -3.247407)'))) / (select extract(epoch from '2026-05-28 16:17:07'::timestamp) - extract(epoch from '2026-05-28 16:17:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560478 -3.247227)', '2026-05-28 16:17:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560438 -3.247407)'), GeomFromEWKT('SRID=4674;POINT (-38.560478 -3.247227)'))) / (select extract(epoch from '2026-05-28 16:17:15'::timestamp) - extract(epoch from '2026-05-28 16:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560438 -3.247407)'), GeomFromEWKT('SRID=4674;POINT (-38.560478 -3.247227)'))) / (select extract(epoch from '2026-05-28 16:17:15'::timestamp) - extract(epoch from '2026-05-28 16:17: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'), 46535, 'SRID=4674;POINT (-38.560501 -3.247085)', '2026-05-28 16:17:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560478 -3.247227)'), GeomFromEWKT('SRID=4674;POINT (-38.560501 -3.247085)'))) / (select extract(epoch from '2026-05-28 16:17:21'::timestamp) - extract(epoch from '2026-05-28 16:17:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560478 -3.247227)'), GeomFromEWKT('SRID=4674;POINT (-38.560501 -3.247085)'))) / (select extract(epoch from '2026-05-28 16:17:21'::timestamp) - extract(epoch from '2026-05-28 16:17:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560502 -3.246917)', '2026-05-28 16:17:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560501 -3.247085)'), GeomFromEWKT('SRID=4674;POINT (-38.560502 -3.246917)'))) / (select extract(epoch from '2026-05-28 16:17:28'::timestamp) - extract(epoch from '2026-05-28 16:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560501 -3.247085)'), GeomFromEWKT('SRID=4674;POINT (-38.560502 -3.246917)'))) / (select extract(epoch from '2026-05-28 16:17:28'::timestamp) - extract(epoch from '2026-05-28 16:17: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'), 46535, 'SRID=4674;POINT (-38.560495 -3.246766)', '2026-05-28 16:17:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560502 -3.246917)'), GeomFromEWKT('SRID=4674;POINT (-38.560495 -3.246766)'))) / (select extract(epoch from '2026-05-28 16:17:35'::timestamp) - extract(epoch from '2026-05-28 16:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560502 -3.246917)'), GeomFromEWKT('SRID=4674;POINT (-38.560495 -3.246766)'))) / (select extract(epoch from '2026-05-28 16:17:35'::timestamp) - extract(epoch from '2026-05-28 16:17: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'), 46535, 'SRID=4674;POINT (-38.560481 -3.246632)', '2026-05-28 16:17:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560495 -3.246766)'), GeomFromEWKT('SRID=4674;POINT (-38.560481 -3.246632)'))) / (select extract(epoch from '2026-05-28 16:17:41'::timestamp) - extract(epoch from '2026-05-28 16:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560495 -3.246766)'), GeomFromEWKT('SRID=4674;POINT (-38.560481 -3.246632)'))) / (select extract(epoch from '2026-05-28 16:17:41'::timestamp) - extract(epoch from '2026-05-28 16:17: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'), 46535, 'SRID=4674;POINT (-38.56047 -3.246518)', '2026-05-28 16:17:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560481 -3.246632)'), GeomFromEWKT('SRID=4674;POINT (-38.56047 -3.246518)'))) / (select extract(epoch from '2026-05-28 16:17:46'::timestamp) - extract(epoch from '2026-05-28 16:17:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560481 -3.246632)'), GeomFromEWKT('SRID=4674;POINT (-38.56047 -3.246518)'))) / (select extract(epoch from '2026-05-28 16:17:46'::timestamp) - extract(epoch from '2026-05-28 16:17: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'), 46535, 'SRID=4674;POINT (-38.56046 -3.246384)', '2026-05-28 16:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56047 -3.246518)'), GeomFromEWKT('SRID=4674;POINT (-38.56046 -3.246384)'))) / (select extract(epoch from '2026-05-28 16:17:52'::timestamp) - extract(epoch from '2026-05-28 16:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56047 -3.246518)'), GeomFromEWKT('SRID=4674;POINT (-38.56046 -3.246384)'))) / (select extract(epoch from '2026-05-28 16:17:52'::timestamp) - extract(epoch from '2026-05-28 16:17:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560446 -3.246244)', '2026-05-28 16:17:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56046 -3.246384)'), GeomFromEWKT('SRID=4674;POINT (-38.560446 -3.246244)'))) / (select extract(epoch from '2026-05-28 16:17:58'::timestamp) - extract(epoch from '2026-05-28 16:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56046 -3.246384)'), GeomFromEWKT('SRID=4674;POINT (-38.560446 -3.246244)'))) / (select extract(epoch from '2026-05-28 16:17:58'::timestamp) - extract(epoch from '2026-05-28 16:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560436 -3.246117)', '2026-05-28 16:18:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560446 -3.246244)'), GeomFromEWKT('SRID=4674;POINT (-38.560436 -3.246117)'))) / (select extract(epoch from '2026-05-28 16:18:04'::timestamp) - extract(epoch from '2026-05-28 16:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560446 -3.246244)'), GeomFromEWKT('SRID=4674;POINT (-38.560436 -3.246117)'))) / (select extract(epoch from '2026-05-28 16:18:04'::timestamp) - extract(epoch from '2026-05-28 16:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560436 -3.246031)', '2026-05-28 16:18:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560436 -3.246117)'), GeomFromEWKT('SRID=4674;POINT (-38.560436 -3.246031)'))) / (select extract(epoch from '2026-05-28 16:18:08'::timestamp) - extract(epoch from '2026-05-28 16:18:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560436 -3.246117)'), GeomFromEWKT('SRID=4674;POINT (-38.560436 -3.246031)'))) / (select extract(epoch from '2026-05-28 16:18:08'::timestamp) - extract(epoch from '2026-05-28 16:18:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560422 -3.245873)', '2026-05-28 16:18:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560436 -3.246031)'), GeomFromEWKT('SRID=4674;POINT (-38.560422 -3.245873)'))) / (select extract(epoch from '2026-05-28 16:18:15'::timestamp) - extract(epoch from '2026-05-28 16:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560436 -3.246031)'), GeomFromEWKT('SRID=4674;POINT (-38.560422 -3.245873)'))) / (select extract(epoch from '2026-05-28 16:18:15'::timestamp) - extract(epoch from '2026-05-28 16:18: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'), 46535, 'SRID=4674;POINT (-38.560409 -3.245763)', '2026-05-28 16:18:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560422 -3.245873)'), GeomFromEWKT('SRID=4674;POINT (-38.560409 -3.245763)'))) / (select extract(epoch from '2026-05-28 16:18:20'::timestamp) - extract(epoch from '2026-05-28 16:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560422 -3.245873)'), GeomFromEWKT('SRID=4674;POINT (-38.560409 -3.245763)'))) / (select extract(epoch from '2026-05-28 16:18:20'::timestamp) - extract(epoch from '2026-05-28 16:18:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560386 -3.245651)', '2026-05-28 16:18:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560409 -3.245763)'), GeomFromEWKT('SRID=4674;POINT (-38.560386 -3.245651)'))) / (select extract(epoch from '2026-05-28 16:18:25'::timestamp) - extract(epoch from '2026-05-28 16:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560409 -3.245763)'), GeomFromEWKT('SRID=4674;POINT (-38.560386 -3.245651)'))) / (select extract(epoch from '2026-05-28 16:18:25'::timestamp) - extract(epoch from '2026-05-28 16:18: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'), 46535, 'SRID=4674;POINT (-38.560373 -3.245523)', '2026-05-28 16:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560386 -3.245651)'), GeomFromEWKT('SRID=4674;POINT (-38.560373 -3.245523)'))) / (select extract(epoch from '2026-05-28 16:18:31'::timestamp) - extract(epoch from '2026-05-28 16:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560386 -3.245651)'), GeomFromEWKT('SRID=4674;POINT (-38.560373 -3.245523)'))) / (select extract(epoch from '2026-05-28 16:18:31'::timestamp) - extract(epoch from '2026-05-28 16:18:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560361 -3.245423)', '2026-05-28 16:18:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560373 -3.245523)'), GeomFromEWKT('SRID=4674;POINT (-38.560361 -3.245423)'))) / (select extract(epoch from '2026-05-28 16:18:36'::timestamp) - extract(epoch from '2026-05-28 16:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560373 -3.245523)'), GeomFromEWKT('SRID=4674;POINT (-38.560361 -3.245423)'))) / (select extract(epoch from '2026-05-28 16:18:36'::timestamp) - extract(epoch from '2026-05-28 16:18: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'), 46535, 'SRID=4674;POINT (-38.560352 -3.24528)', '2026-05-28 16:18:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560361 -3.245423)'), GeomFromEWKT('SRID=4674;POINT (-38.560352 -3.24528)'))) / (select extract(epoch from '2026-05-28 16:18:42'::timestamp) - extract(epoch from '2026-05-28 16:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560361 -3.245423)'), GeomFromEWKT('SRID=4674;POINT (-38.560352 -3.24528)'))) / (select extract(epoch from '2026-05-28 16:18:42'::timestamp) - extract(epoch from '2026-05-28 16:18:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560336 -3.245144)', '2026-05-28 16:18:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560352 -3.24528)'), GeomFromEWKT('SRID=4674;POINT (-38.560336 -3.245144)'))) / (select extract(epoch from '2026-05-28 16:18:48'::timestamp) - extract(epoch from '2026-05-28 16:18:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560352 -3.24528)'), GeomFromEWKT('SRID=4674;POINT (-38.560336 -3.245144)'))) / (select extract(epoch from '2026-05-28 16:18:48'::timestamp) - extract(epoch from '2026-05-28 16:18:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560305 -3.244992)', '2026-05-28 16:18:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560336 -3.245144)'), GeomFromEWKT('SRID=4674;POINT (-38.560305 -3.244992)'))) / (select extract(epoch from '2026-05-28 16:18:55'::timestamp) - extract(epoch from '2026-05-28 16:18:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560336 -3.245144)'), GeomFromEWKT('SRID=4674;POINT (-38.560305 -3.244992)'))) / (select extract(epoch from '2026-05-28 16:18:55'::timestamp) - extract(epoch from '2026-05-28 16:18:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560283 -3.244866)', '2026-05-28 16:19:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560305 -3.244992)'), GeomFromEWKT('SRID=4674;POINT (-38.560283 -3.244866)'))) / (select extract(epoch from '2026-05-28 16:19:01'::timestamp) - extract(epoch from '2026-05-28 16:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560305 -3.244992)'), GeomFromEWKT('SRID=4674;POINT (-38.560283 -3.244866)'))) / (select extract(epoch from '2026-05-28 16:19:01'::timestamp) - extract(epoch from '2026-05-28 16:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560262 -3.244755)', '2026-05-28 16:19:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560283 -3.244866)'), GeomFromEWKT('SRID=4674;POINT (-38.560262 -3.244755)'))) / (select extract(epoch from '2026-05-28 16:19:06'::timestamp) - extract(epoch from '2026-05-28 16:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560283 -3.244866)'), GeomFromEWKT('SRID=4674;POINT (-38.560262 -3.244755)'))) / (select extract(epoch from '2026-05-28 16:19:06'::timestamp) - extract(epoch from '2026-05-28 16:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560255 -3.244648)', '2026-05-28 16:19:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560262 -3.244755)'), GeomFromEWKT('SRID=4674;POINT (-38.560255 -3.244648)'))) / (select extract(epoch from '2026-05-28 16:19:11'::timestamp) - extract(epoch from '2026-05-28 16:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560262 -3.244755)'), GeomFromEWKT('SRID=4674;POINT (-38.560255 -3.244648)'))) / (select extract(epoch from '2026-05-28 16:19:11'::timestamp) - extract(epoch from '2026-05-28 16:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560244 -3.24454)', '2026-05-28 16:19:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560255 -3.244648)'), GeomFromEWKT('SRID=4674;POINT (-38.560244 -3.24454)'))) / (select extract(epoch from '2026-05-28 16:19:16'::timestamp) - extract(epoch from '2026-05-28 16:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560255 -3.244648)'), GeomFromEWKT('SRID=4674;POINT (-38.560244 -3.24454)'))) / (select extract(epoch from '2026-05-28 16:19:16'::timestamp) - extract(epoch from '2026-05-28 16:19: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'), 46535, 'SRID=4674;POINT (-38.560241 -3.244429)', '2026-05-28 16:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560244 -3.24454)'), GeomFromEWKT('SRID=4674;POINT (-38.560241 -3.244429)'))) / (select extract(epoch from '2026-05-28 16:19:21'::timestamp) - extract(epoch from '2026-05-28 16:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560244 -3.24454)'), GeomFromEWKT('SRID=4674;POINT (-38.560241 -3.244429)'))) / (select extract(epoch from '2026-05-28 16:19:21'::timestamp) - extract(epoch from '2026-05-28 16:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56023 -3.244369)', '2026-05-28 16:19:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560241 -3.244429)'), GeomFromEWKT('SRID=4674;POINT (-38.56023 -3.244369)'))) / (select extract(epoch from '2026-05-28 16:19:24'::timestamp) - extract(epoch from '2026-05-28 16:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560241 -3.244429)'), GeomFromEWKT('SRID=4674;POINT (-38.56023 -3.244369)'))) / (select extract(epoch from '2026-05-28 16:19:24'::timestamp) - extract(epoch from '2026-05-28 16:19: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'), 46535, 'SRID=4674;POINT (-38.560231 -3.244348)', '2026-05-28 16:19:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56023 -3.244369)'), GeomFromEWKT('SRID=4674;POINT (-38.560231 -3.244348)'))) / (select extract(epoch from '2026-05-28 16:19:25'::timestamp) - extract(epoch from '2026-05-28 16:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56023 -3.244369)'), GeomFromEWKT('SRID=4674;POINT (-38.560231 -3.244348)'))) / (select extract(epoch from '2026-05-28 16:19:25'::timestamp) - extract(epoch from '2026-05-28 16:19:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560216 -3.24422)', '2026-05-28 16:19:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560231 -3.244348)'), GeomFromEWKT('SRID=4674;POINT (-38.560216 -3.24422)'))) / (select extract(epoch from '2026-05-28 16:19:31'::timestamp) - extract(epoch from '2026-05-28 16:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560231 -3.244348)'), GeomFromEWKT('SRID=4674;POINT (-38.560216 -3.24422)'))) / (select extract(epoch from '2026-05-28 16:19:31'::timestamp) - extract(epoch from '2026-05-28 16:19:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560208 -3.244103)', '2026-05-28 16:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560216 -3.24422)'), GeomFromEWKT('SRID=4674;POINT (-38.560208 -3.244103)'))) / (select extract(epoch from '2026-05-28 16:19:36'::timestamp) - extract(epoch from '2026-05-28 16:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560216 -3.24422)'), GeomFromEWKT('SRID=4674;POINT (-38.560208 -3.244103)'))) / (select extract(epoch from '2026-05-28 16:19:36'::timestamp) - extract(epoch from '2026-05-28 16:19:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560197 -3.24399)', '2026-05-28 16:19:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560208 -3.244103)'), GeomFromEWKT('SRID=4674;POINT (-38.560197 -3.24399)'))) / (select extract(epoch from '2026-05-28 16:19:41'::timestamp) - extract(epoch from '2026-05-28 16:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560208 -3.244103)'), GeomFromEWKT('SRID=4674;POINT (-38.560197 -3.24399)'))) / (select extract(epoch from '2026-05-28 16:19:41'::timestamp) - extract(epoch from '2026-05-28 16:19: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'), 46535, 'SRID=4674;POINT (-38.560184 -3.243853)', '2026-05-28 16:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560197 -3.24399)'), GeomFromEWKT('SRID=4674;POINT (-38.560184 -3.243853)'))) / (select extract(epoch from '2026-05-28 16:19:47'::timestamp) - extract(epoch from '2026-05-28 16:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560197 -3.24399)'), GeomFromEWKT('SRID=4674;POINT (-38.560184 -3.243853)'))) / (select extract(epoch from '2026-05-28 16:19:47'::timestamp) - extract(epoch from '2026-05-28 16:19:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560164 -3.243722)', '2026-05-28 16:19:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560184 -3.243853)'), GeomFromEWKT('SRID=4674;POINT (-38.560164 -3.243722)'))) / (select extract(epoch from '2026-05-28 16:19:53'::timestamp) - extract(epoch from '2026-05-28 16:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560184 -3.243853)'), GeomFromEWKT('SRID=4674;POINT (-38.560164 -3.243722)'))) / (select extract(epoch from '2026-05-28 16:19:53'::timestamp) - extract(epoch from '2026-05-28 16:19: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'), 46535, 'SRID=4674;POINT (-38.560143 -3.243565)', '2026-05-28 16:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560164 -3.243722)'), GeomFromEWKT('SRID=4674;POINT (-38.560143 -3.243565)'))) / (select extract(epoch from '2026-05-28 16:20:00'::timestamp) - extract(epoch from '2026-05-28 16:19:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560164 -3.243722)'), GeomFromEWKT('SRID=4674;POINT (-38.560143 -3.243565)'))) / (select extract(epoch from '2026-05-28 16:20:00'::timestamp) - extract(epoch from '2026-05-28 16:19: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'), 46535, 'SRID=4674;POINT (-38.560121 -3.24341)', '2026-05-28 16:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560143 -3.243565)'), GeomFromEWKT('SRID=4674;POINT (-38.560121 -3.24341)'))) / (select extract(epoch from '2026-05-28 16:20:07'::timestamp) - extract(epoch from '2026-05-28 16:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560143 -3.243565)'), GeomFromEWKT('SRID=4674;POINT (-38.560121 -3.24341)'))) / (select extract(epoch from '2026-05-28 16:20:07'::timestamp) - extract(epoch from '2026-05-28 16:20: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'), 46535, 'SRID=4674;POINT (-38.560109 -3.243295)', '2026-05-28 16:20:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560121 -3.24341)'), GeomFromEWKT('SRID=4674;POINT (-38.560109 -3.243295)'))) / (select extract(epoch from '2026-05-28 16:20:12'::timestamp) - extract(epoch from '2026-05-28 16:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560121 -3.24341)'), GeomFromEWKT('SRID=4674;POINT (-38.560109 -3.243295)'))) / (select extract(epoch from '2026-05-28 16:20:12'::timestamp) - extract(epoch from '2026-05-28 16:20: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'), 46535, 'SRID=4674;POINT (-38.560099 -3.243209)', '2026-05-28 16:20:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560109 -3.243295)'), GeomFromEWKT('SRID=4674;POINT (-38.560099 -3.243209)'))) / (select extract(epoch from '2026-05-28 16:20:16'::timestamp) - extract(epoch from '2026-05-28 16:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560109 -3.243295)'), GeomFromEWKT('SRID=4674;POINT (-38.560099 -3.243209)'))) / (select extract(epoch from '2026-05-28 16:20:16'::timestamp) - extract(epoch from '2026-05-28 16:20: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'), 46535, 'SRID=4674;POINT (-38.560099 -3.243095)', '2026-05-28 16:20:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560099 -3.243209)'), GeomFromEWKT('SRID=4674;POINT (-38.560099 -3.243095)'))) / (select extract(epoch from '2026-05-28 16:20:21'::timestamp) - extract(epoch from '2026-05-28 16:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560099 -3.243209)'), GeomFromEWKT('SRID=4674;POINT (-38.560099 -3.243095)'))) / (select extract(epoch from '2026-05-28 16:20:21'::timestamp) - extract(epoch from '2026-05-28 16:20:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560083 -3.242989)', '2026-05-28 16:20:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560099 -3.243095)'), GeomFromEWKT('SRID=4674;POINT (-38.560083 -3.242989)'))) / (select extract(epoch from '2026-05-28 16:20:26'::timestamp) - extract(epoch from '2026-05-28 16:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560099 -3.243095)'), GeomFromEWKT('SRID=4674;POINT (-38.560083 -3.242989)'))) / (select extract(epoch from '2026-05-28 16:20:26'::timestamp) - extract(epoch from '2026-05-28 16:20: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'), 46535, 'SRID=4674;POINT (-38.560086 -3.242878)', '2026-05-28 16:20:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560083 -3.242989)'), GeomFromEWKT('SRID=4674;POINT (-38.560086 -3.242878)'))) / (select extract(epoch from '2026-05-28 16:20:31'::timestamp) - extract(epoch from '2026-05-28 16:20:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560083 -3.242989)'), GeomFromEWKT('SRID=4674;POINT (-38.560086 -3.242878)'))) / (select extract(epoch from '2026-05-28 16:20:31'::timestamp) - extract(epoch from '2026-05-28 16:20:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560093 -3.242734)', '2026-05-28 16:20:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560086 -3.242878)'), GeomFromEWKT('SRID=4674;POINT (-38.560093 -3.242734)'))) / (select extract(epoch from '2026-05-28 16:20:37'::timestamp) - extract(epoch from '2026-05-28 16:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560086 -3.242878)'), GeomFromEWKT('SRID=4674;POINT (-38.560093 -3.242734)'))) / (select extract(epoch from '2026-05-28 16:20:37'::timestamp) - extract(epoch from '2026-05-28 16:20:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560091 -3.242622)', '2026-05-28 16:20:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560093 -3.242734)'), GeomFromEWKT('SRID=4674;POINT (-38.560091 -3.242622)'))) / (select extract(epoch from '2026-05-28 16:20:42'::timestamp) - extract(epoch from '2026-05-28 16:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560093 -3.242734)'), GeomFromEWKT('SRID=4674;POINT (-38.560091 -3.242622)'))) / (select extract(epoch from '2026-05-28 16:20:42'::timestamp) - extract(epoch from '2026-05-28 16:20:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560075 -3.242485)', '2026-05-28 16:20:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560091 -3.242622)'), GeomFromEWKT('SRID=4674;POINT (-38.560075 -3.242485)'))) / (select extract(epoch from '2026-05-28 16:20:48'::timestamp) - extract(epoch from '2026-05-28 16:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560091 -3.242622)'), GeomFromEWKT('SRID=4674;POINT (-38.560075 -3.242485)'))) / (select extract(epoch from '2026-05-28 16:20:48'::timestamp) - extract(epoch from '2026-05-28 16:20: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'), 46535, 'SRID=4674;POINT (-38.560051 -3.242356)', '2026-05-28 16:20:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560075 -3.242485)'), GeomFromEWKT('SRID=4674;POINT (-38.560051 -3.242356)'))) / (select extract(epoch from '2026-05-28 16:20:54'::timestamp) - extract(epoch from '2026-05-28 16:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560075 -3.242485)'), GeomFromEWKT('SRID=4674;POINT (-38.560051 -3.242356)'))) / (select extract(epoch from '2026-05-28 16:20:54'::timestamp) - extract(epoch from '2026-05-28 16:20: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'), 46535, 'SRID=4674;POINT (-38.560033 -3.242224)', '2026-05-28 16:21:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560051 -3.242356)'), GeomFromEWKT('SRID=4674;POINT (-38.560033 -3.242224)'))) / (select extract(epoch from '2026-05-28 16:21:00'::timestamp) - extract(epoch from '2026-05-28 16:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560051 -3.242356)'), GeomFromEWKT('SRID=4674;POINT (-38.560033 -3.242224)'))) / (select extract(epoch from '2026-05-28 16:21:00'::timestamp) - extract(epoch from '2026-05-28 16:20:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560028 -3.242131)', '2026-05-28 16:21:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560033 -3.242224)'), GeomFromEWKT('SRID=4674;POINT (-38.560028 -3.242131)'))) / (select extract(epoch from '2026-05-28 16:21:04'::timestamp) - extract(epoch from '2026-05-28 16:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560033 -3.242224)'), GeomFromEWKT('SRID=4674;POINT (-38.560028 -3.242131)'))) / (select extract(epoch from '2026-05-28 16:21:04'::timestamp) - extract(epoch from '2026-05-28 16:21:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560024 -3.242109)', '2026-05-28 16:21:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560028 -3.242131)'), GeomFromEWKT('SRID=4674;POINT (-38.560024 -3.242109)'))) / (select extract(epoch from '2026-05-28 16:21:05'::timestamp) - extract(epoch from '2026-05-28 16:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560028 -3.242131)'), GeomFromEWKT('SRID=4674;POINT (-38.560024 -3.242109)'))) / (select extract(epoch from '2026-05-28 16:21:05'::timestamp) - extract(epoch from '2026-05-28 16:21: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'), 46535, 'SRID=4674;POINT (-38.560003 -3.242047)', '2026-05-28 16:21:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560024 -3.242109)'), GeomFromEWKT('SRID=4674;POINT (-38.560003 -3.242047)'))) / (select extract(epoch from '2026-05-28 16:21:08'::timestamp) - extract(epoch from '2026-05-28 16:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560024 -3.242109)'), GeomFromEWKT('SRID=4674;POINT (-38.560003 -3.242047)'))) / (select extract(epoch from '2026-05-28 16:21:08'::timestamp) - extract(epoch from '2026-05-28 16:21:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559984 -3.241937)', '2026-05-28 16:21:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560003 -3.242047)'), GeomFromEWKT('SRID=4674;POINT (-38.559984 -3.241937)'))) / (select extract(epoch from '2026-05-28 16:21:13'::timestamp) - extract(epoch from '2026-05-28 16:21:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560003 -3.242047)'), GeomFromEWKT('SRID=4674;POINT (-38.559984 -3.241937)'))) / (select extract(epoch from '2026-05-28 16:21:13'::timestamp) - extract(epoch from '2026-05-28 16:21: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'), 46535, 'SRID=4674;POINT (-38.559965 -3.241818)', '2026-05-28 16:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559984 -3.241937)'), GeomFromEWKT('SRID=4674;POINT (-38.559965 -3.241818)'))) / (select extract(epoch from '2026-05-28 16:21:18'::timestamp) - extract(epoch from '2026-05-28 16:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559984 -3.241937)'), GeomFromEWKT('SRID=4674;POINT (-38.559965 -3.241818)'))) / (select extract(epoch from '2026-05-28 16:21:18'::timestamp) - extract(epoch from '2026-05-28 16:21: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'), 46535, 'SRID=4674;POINT (-38.55995 -3.241669)', '2026-05-28 16:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559965 -3.241818)'), GeomFromEWKT('SRID=4674;POINT (-38.55995 -3.241669)'))) / (select extract(epoch from '2026-05-28 16:21:24'::timestamp) - extract(epoch from '2026-05-28 16:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559965 -3.241818)'), GeomFromEWKT('SRID=4674;POINT (-38.55995 -3.241669)'))) / (select extract(epoch from '2026-05-28 16:21:24'::timestamp) - extract(epoch from '2026-05-28 16:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559934 -3.241526)', '2026-05-28 16:21:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55995 -3.241669)'), GeomFromEWKT('SRID=4674;POINT (-38.559934 -3.241526)'))) / (select extract(epoch from '2026-05-28 16:21:30'::timestamp) - extract(epoch from '2026-05-28 16:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55995 -3.241669)'), GeomFromEWKT('SRID=4674;POINT (-38.559934 -3.241526)'))) / (select extract(epoch from '2026-05-28 16:21:30'::timestamp) - extract(epoch from '2026-05-28 16:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559925 -3.241412)', '2026-05-28 16:21:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559934 -3.241526)'), GeomFromEWKT('SRID=4674;POINT (-38.559925 -3.241412)'))) / (select extract(epoch from '2026-05-28 16:21:35'::timestamp) - extract(epoch from '2026-05-28 16:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559934 -3.241526)'), GeomFromEWKT('SRID=4674;POINT (-38.559925 -3.241412)'))) / (select extract(epoch from '2026-05-28 16:21:35'::timestamp) - extract(epoch from '2026-05-28 16:21:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559904 -3.241286)', '2026-05-28 16:21:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559925 -3.241412)'), GeomFromEWKT('SRID=4674;POINT (-38.559904 -3.241286)'))) / (select extract(epoch from '2026-05-28 16:21:41'::timestamp) - extract(epoch from '2026-05-28 16:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559925 -3.241412)'), GeomFromEWKT('SRID=4674;POINT (-38.559904 -3.241286)'))) / (select extract(epoch from '2026-05-28 16:21:41'::timestamp) - extract(epoch from '2026-05-28 16:21: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'), 46535, 'SRID=4674;POINT (-38.559878 -3.241174)', '2026-05-28 16:21:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559904 -3.241286)'), GeomFromEWKT('SRID=4674;POINT (-38.559878 -3.241174)'))) / (select extract(epoch from '2026-05-28 16:21:46'::timestamp) - extract(epoch from '2026-05-28 16:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559904 -3.241286)'), GeomFromEWKT('SRID=4674;POINT (-38.559878 -3.241174)'))) / (select extract(epoch from '2026-05-28 16:21:46'::timestamp) - extract(epoch from '2026-05-28 16:21:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.55985 -3.241027)', '2026-05-28 16:21:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559878 -3.241174)'), GeomFromEWKT('SRID=4674;POINT (-38.55985 -3.241027)'))) / (select extract(epoch from '2026-05-28 16:21:53'::timestamp) - extract(epoch from '2026-05-28 16:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559878 -3.241174)'), GeomFromEWKT('SRID=4674;POINT (-38.55985 -3.241027)'))) / (select extract(epoch from '2026-05-28 16:21:53'::timestamp) - extract(epoch from '2026-05-28 16:21: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'), 46535, 'SRID=4674;POINT (-38.559831 -3.240916)', '2026-05-28 16:21:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55985 -3.241027)'), GeomFromEWKT('SRID=4674;POINT (-38.559831 -3.240916)'))) / (select extract(epoch from '2026-05-28 16:21:58'::timestamp) - extract(epoch from '2026-05-28 16:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55985 -3.241027)'), GeomFromEWKT('SRID=4674;POINT (-38.559831 -3.240916)'))) / (select extract(epoch from '2026-05-28 16:21:58'::timestamp) - extract(epoch from '2026-05-28 16:21: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'), 46535, 'SRID=4674;POINT (-38.559799 -3.240786)', '2026-05-28 16:22:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559831 -3.240916)'), GeomFromEWKT('SRID=4674;POINT (-38.559799 -3.240786)'))) / (select extract(epoch from '2026-05-28 16:22:04'::timestamp) - extract(epoch from '2026-05-28 16:21:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559831 -3.240916)'), GeomFromEWKT('SRID=4674;POINT (-38.559799 -3.240786)'))) / (select extract(epoch from '2026-05-28 16:22:04'::timestamp) - extract(epoch from '2026-05-28 16:21: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'), 46535, 'SRID=4674;POINT (-38.559776 -3.240675)', '2026-05-28 16:22:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559799 -3.240786)'), GeomFromEWKT('SRID=4674;POINT (-38.559776 -3.240675)'))) / (select extract(epoch from '2026-05-28 16:22:09'::timestamp) - extract(epoch from '2026-05-28 16:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559799 -3.240786)'), GeomFromEWKT('SRID=4674;POINT (-38.559776 -3.240675)'))) / (select extract(epoch from '2026-05-28 16:22:09'::timestamp) - extract(epoch from '2026-05-28 16:22: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'), 46535, 'SRID=4674;POINT (-38.559729 -3.240526)', '2026-05-28 16:22:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559776 -3.240675)'), GeomFromEWKT('SRID=4674;POINT (-38.559729 -3.240526)'))) / (select extract(epoch from '2026-05-28 16:22:16'::timestamp) - extract(epoch from '2026-05-28 16:22:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559776 -3.240675)'), GeomFromEWKT('SRID=4674;POINT (-38.559729 -3.240526)'))) / (select extract(epoch from '2026-05-28 16:22:16'::timestamp) - extract(epoch from '2026-05-28 16:22: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'), 46535, 'SRID=4674;POINT (-38.559681 -3.240373)', '2026-05-28 16:22:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559729 -3.240526)'), GeomFromEWKT('SRID=4674;POINT (-38.559681 -3.240373)'))) / (select extract(epoch from '2026-05-28 16:22:23'::timestamp) - extract(epoch from '2026-05-28 16:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559729 -3.240526)'), GeomFromEWKT('SRID=4674;POINT (-38.559681 -3.240373)'))) / (select extract(epoch from '2026-05-28 16:22:23'::timestamp) - extract(epoch from '2026-05-28 16:22:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559653 -3.240237)', '2026-05-28 16:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559681 -3.240373)'), GeomFromEWKT('SRID=4674;POINT (-38.559653 -3.240237)'))) / (select extract(epoch from '2026-05-28 16:22:30'::timestamp) - extract(epoch from '2026-05-28 16:22:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559681 -3.240373)'), GeomFromEWKT('SRID=4674;POINT (-38.559653 -3.240237)'))) / (select extract(epoch from '2026-05-28 16:22:30'::timestamp) - extract(epoch from '2026-05-28 16:22:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559638 -3.240115)', '2026-05-28 16:22:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559653 -3.240237)'), GeomFromEWKT('SRID=4674;POINT (-38.559638 -3.240115)'))) / (select extract(epoch from '2026-05-28 16:22:36'::timestamp) - extract(epoch from '2026-05-28 16:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559653 -3.240237)'), GeomFromEWKT('SRID=4674;POINT (-38.559638 -3.240115)'))) / (select extract(epoch from '2026-05-28 16:22:36'::timestamp) - extract(epoch from '2026-05-28 16:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559605 -3.239933)', '2026-05-28 16:22:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559638 -3.240115)'), GeomFromEWKT('SRID=4674;POINT (-38.559605 -3.239933)'))) / (select extract(epoch from '2026-05-28 16:22:44'::timestamp) - extract(epoch from '2026-05-28 16:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559638 -3.240115)'), GeomFromEWKT('SRID=4674;POINT (-38.559605 -3.239933)'))) / (select extract(epoch from '2026-05-28 16:22:44'::timestamp) - extract(epoch from '2026-05-28 16:22: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'), 46535, 'SRID=4674;POINT (-38.559592 -3.239797)', '2026-05-28 16:22:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559605 -3.239933)'), GeomFromEWKT('SRID=4674;POINT (-38.559592 -3.239797)'))) / (select extract(epoch from '2026-05-28 16:22:50'::timestamp) - extract(epoch from '2026-05-28 16:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559605 -3.239933)'), GeomFromEWKT('SRID=4674;POINT (-38.559592 -3.239797)'))) / (select extract(epoch from '2026-05-28 16:22:50'::timestamp) - extract(epoch from '2026-05-28 16:22:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559578 -3.239683)', '2026-05-28 16:22:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559592 -3.239797)'), GeomFromEWKT('SRID=4674;POINT (-38.559578 -3.239683)'))) / (select extract(epoch from '2026-05-28 16:22:55'::timestamp) - extract(epoch from '2026-05-28 16:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559592 -3.239797)'), GeomFromEWKT('SRID=4674;POINT (-38.559578 -3.239683)'))) / (select extract(epoch from '2026-05-28 16:22:55'::timestamp) - extract(epoch from '2026-05-28 16:22: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'), 46535, 'SRID=4674;POINT (-38.559563 -3.239574)', '2026-05-28 16:23:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559578 -3.239683)'), GeomFromEWKT('SRID=4674;POINT (-38.559563 -3.239574)'))) / (select extract(epoch from '2026-05-28 16:23:00'::timestamp) - extract(epoch from '2026-05-28 16:22:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559578 -3.239683)'), GeomFromEWKT('SRID=4674;POINT (-38.559563 -3.239574)'))) / (select extract(epoch from '2026-05-28 16:23:00'::timestamp) - extract(epoch from '2026-05-28 16:22: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'), 46535, 'SRID=4674;POINT (-38.559545 -3.239438)', '2026-05-28 16:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559563 -3.239574)'), GeomFromEWKT('SRID=4674;POINT (-38.559545 -3.239438)'))) / (select extract(epoch from '2026-05-28 16:23:06'::timestamp) - extract(epoch from '2026-05-28 16:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559563 -3.239574)'), GeomFromEWKT('SRID=4674;POINT (-38.559545 -3.239438)'))) / (select extract(epoch from '2026-05-28 16:23:06'::timestamp) - extract(epoch from '2026-05-28 16:23: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'), 46535, 'SRID=4674;POINT (-38.559538 -3.239325)', '2026-05-28 16:23:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559545 -3.239438)'), GeomFromEWKT('SRID=4674;POINT (-38.559538 -3.239325)'))) / (select extract(epoch from '2026-05-28 16:23:11'::timestamp) - extract(epoch from '2026-05-28 16:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559545 -3.239438)'), GeomFromEWKT('SRID=4674;POINT (-38.559538 -3.239325)'))) / (select extract(epoch from '2026-05-28 16:23:11'::timestamp) - extract(epoch from '2026-05-28 16:23: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'), 46535, 'SRID=4674;POINT (-38.559533 -3.239231)', '2026-05-28 16:23:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559538 -3.239325)'), GeomFromEWKT('SRID=4674;POINT (-38.559533 -3.239231)'))) / (select extract(epoch from '2026-05-28 16:23:15'::timestamp) - extract(epoch from '2026-05-28 16:23:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559538 -3.239325)'), GeomFromEWKT('SRID=4674;POINT (-38.559533 -3.239231)'))) / (select extract(epoch from '2026-05-28 16:23:15'::timestamp) - extract(epoch from '2026-05-28 16:23:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559521 -3.239135)', '2026-05-28 16:23:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559533 -3.239231)'), GeomFromEWKT('SRID=4674;POINT (-38.559521 -3.239135)'))) / (select extract(epoch from '2026-05-28 16:23:19'::timestamp) - extract(epoch from '2026-05-28 16:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559533 -3.239231)'), GeomFromEWKT('SRID=4674;POINT (-38.559521 -3.239135)'))) / (select extract(epoch from '2026-05-28 16:23:19'::timestamp) - extract(epoch from '2026-05-28 16:23:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559509 -3.239021)', '2026-05-28 16:23:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559521 -3.239135)'), GeomFromEWKT('SRID=4674;POINT (-38.559509 -3.239021)'))) / (select extract(epoch from '2026-05-28 16:23:24'::timestamp) - extract(epoch from '2026-05-28 16:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559521 -3.239135)'), GeomFromEWKT('SRID=4674;POINT (-38.559509 -3.239021)'))) / (select extract(epoch from '2026-05-28 16:23:24'::timestamp) - extract(epoch from '2026-05-28 16:23: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'), 46535, 'SRID=4674;POINT (-38.559509 -3.238883)', '2026-05-28 16:23:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559509 -3.239021)'), GeomFromEWKT('SRID=4674;POINT (-38.559509 -3.238883)'))) / (select extract(epoch from '2026-05-28 16:23:30'::timestamp) - extract(epoch from '2026-05-28 16:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559509 -3.239021)'), GeomFromEWKT('SRID=4674;POINT (-38.559509 -3.238883)'))) / (select extract(epoch from '2026-05-28 16:23:30'::timestamp) - extract(epoch from '2026-05-28 16:23:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559505 -3.238751)', '2026-05-28 16:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559509 -3.238883)'), GeomFromEWKT('SRID=4674;POINT (-38.559505 -3.238751)'))) / (select extract(epoch from '2026-05-28 16:23:36'::timestamp) - extract(epoch from '2026-05-28 16:23:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559509 -3.238883)'), GeomFromEWKT('SRID=4674;POINT (-38.559505 -3.238751)'))) / (select extract(epoch from '2026-05-28 16:23:36'::timestamp) - extract(epoch from '2026-05-28 16:23: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'), 46535, 'SRID=4674;POINT (-38.559507 -3.238642)', '2026-05-28 16:23:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559505 -3.238751)'), GeomFromEWKT('SRID=4674;POINT (-38.559507 -3.238642)'))) / (select extract(epoch from '2026-05-28 16:23:41'::timestamp) - extract(epoch from '2026-05-28 16:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559505 -3.238751)'), GeomFromEWKT('SRID=4674;POINT (-38.559507 -3.238642)'))) / (select extract(epoch from '2026-05-28 16:23:41'::timestamp) - extract(epoch from '2026-05-28 16:23: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'), 46535, 'SRID=4674;POINT (-38.55952 -3.23852)', '2026-05-28 16:23:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559507 -3.238642)'), GeomFromEWKT('SRID=4674;POINT (-38.55952 -3.23852)'))) / (select extract(epoch from '2026-05-28 16:23:47'::timestamp) - extract(epoch from '2026-05-28 16:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559507 -3.238642)'), GeomFromEWKT('SRID=4674;POINT (-38.55952 -3.23852)'))) / (select extract(epoch from '2026-05-28 16:23:47'::timestamp) - extract(epoch from '2026-05-28 16:23: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'), 46535, 'SRID=4674;POINT (-38.559525 -3.238405)', '2026-05-28 16:23:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55952 -3.23852)'), GeomFromEWKT('SRID=4674;POINT (-38.559525 -3.238405)'))) / (select extract(epoch from '2026-05-28 16:23:52'::timestamp) - extract(epoch from '2026-05-28 16:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55952 -3.23852)'), GeomFromEWKT('SRID=4674;POINT (-38.559525 -3.238405)'))) / (select extract(epoch from '2026-05-28 16:23:52'::timestamp) - extract(epoch from '2026-05-28 16:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559521 -3.23826)', '2026-05-28 16:23:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559525 -3.238405)'), GeomFromEWKT('SRID=4674;POINT (-38.559521 -3.23826)'))) / (select extract(epoch from '2026-05-28 16:23:58'::timestamp) - extract(epoch from '2026-05-28 16:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559525 -3.238405)'), GeomFromEWKT('SRID=4674;POINT (-38.559521 -3.23826)'))) / (select extract(epoch from '2026-05-28 16:23:58'::timestamp) - extract(epoch from '2026-05-28 16:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559516 -3.238144)', '2026-05-28 16:24:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559521 -3.23826)'), GeomFromEWKT('SRID=4674;POINT (-38.559516 -3.238144)'))) / (select extract(epoch from '2026-05-28 16:24:03'::timestamp) - extract(epoch from '2026-05-28 16:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559521 -3.23826)'), GeomFromEWKT('SRID=4674;POINT (-38.559516 -3.238144)'))) / (select extract(epoch from '2026-05-28 16:24:03'::timestamp) - extract(epoch from '2026-05-28 16:23: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'), 46535, 'SRID=4674;POINT (-38.559504 -3.238006)', '2026-05-28 16:24:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559516 -3.238144)'), GeomFromEWKT('SRID=4674;POINT (-38.559504 -3.238006)'))) / (select extract(epoch from '2026-05-28 16:24:09'::timestamp) - extract(epoch from '2026-05-28 16:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559516 -3.238144)'), GeomFromEWKT('SRID=4674;POINT (-38.559504 -3.238006)'))) / (select extract(epoch from '2026-05-28 16:24:09'::timestamp) - extract(epoch from '2026-05-28 16:24:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559486 -3.237892)', '2026-05-28 16:24:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559504 -3.238006)'), GeomFromEWKT('SRID=4674;POINT (-38.559486 -3.237892)'))) / (select extract(epoch from '2026-05-28 16:24:14'::timestamp) - extract(epoch from '2026-05-28 16:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559504 -3.238006)'), GeomFromEWKT('SRID=4674;POINT (-38.559486 -3.237892)'))) / (select extract(epoch from '2026-05-28 16:24:14'::timestamp) - extract(epoch from '2026-05-28 16:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559476 -3.23777)', '2026-05-28 16:24:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559486 -3.237892)'), GeomFromEWKT('SRID=4674;POINT (-38.559476 -3.23777)'))) / (select extract(epoch from '2026-05-28 16:24:19'::timestamp) - extract(epoch from '2026-05-28 16:24:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559486 -3.237892)'), GeomFromEWKT('SRID=4674;POINT (-38.559476 -3.23777)'))) / (select extract(epoch from '2026-05-28 16:24:19'::timestamp) - extract(epoch from '2026-05-28 16:24:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559467 -3.237653)', '2026-05-28 16:24:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559476 -3.23777)'), GeomFromEWKT('SRID=4674;POINT (-38.559467 -3.237653)'))) / (select extract(epoch from '2026-05-28 16:24:24'::timestamp) - extract(epoch from '2026-05-28 16:24:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559476 -3.23777)'), GeomFromEWKT('SRID=4674;POINT (-38.559467 -3.237653)'))) / (select extract(epoch from '2026-05-28 16:24:24'::timestamp) - extract(epoch from '2026-05-28 16:24: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'), 46535, 'SRID=4674;POINT (-38.559455 -3.237516)', '2026-05-28 16:24:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559467 -3.237653)'), GeomFromEWKT('SRID=4674;POINT (-38.559455 -3.237516)'))) / (select extract(epoch from '2026-05-28 16:24:30'::timestamp) - extract(epoch from '2026-05-28 16:24:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559467 -3.237653)'), GeomFromEWKT('SRID=4674;POINT (-38.559455 -3.237516)'))) / (select extract(epoch from '2026-05-28 16:24:30'::timestamp) - extract(epoch from '2026-05-28 16:24:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559451 -3.237395)', '2026-05-28 16:24:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559455 -3.237516)'), GeomFromEWKT('SRID=4674;POINT (-38.559451 -3.237395)'))) / (select extract(epoch from '2026-05-28 16:24:35'::timestamp) - extract(epoch from '2026-05-28 16:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559455 -3.237516)'), GeomFromEWKT('SRID=4674;POINT (-38.559451 -3.237395)'))) / (select extract(epoch from '2026-05-28 16:24:35'::timestamp) - extract(epoch from '2026-05-28 16:24:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559447 -3.237279)', '2026-05-28 16:24:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559451 -3.237395)'), GeomFromEWKT('SRID=4674;POINT (-38.559447 -3.237279)'))) / (select extract(epoch from '2026-05-28 16:24:40'::timestamp) - extract(epoch from '2026-05-28 16:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559451 -3.237395)'), GeomFromEWKT('SRID=4674;POINT (-38.559447 -3.237279)'))) / (select extract(epoch from '2026-05-28 16:24:40'::timestamp) - extract(epoch from '2026-05-28 16:24: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'), 46535, 'SRID=4674;POINT (-38.559437 -3.237164)', '2026-05-28 16:24:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559447 -3.237279)'), GeomFromEWKT('SRID=4674;POINT (-38.559437 -3.237164)'))) / (select extract(epoch from '2026-05-28 16:24:45'::timestamp) - extract(epoch from '2026-05-28 16:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559447 -3.237279)'), GeomFromEWKT('SRID=4674;POINT (-38.559437 -3.237164)'))) / (select extract(epoch from '2026-05-28 16:24:45'::timestamp) - extract(epoch from '2026-05-28 16:24: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'), 46535, 'SRID=4674;POINT (-38.559418 -3.237051)', '2026-05-28 16:24:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559437 -3.237164)'), GeomFromEWKT('SRID=4674;POINT (-38.559418 -3.237051)'))) / (select extract(epoch from '2026-05-28 16:24:50'::timestamp) - extract(epoch from '2026-05-28 16:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559437 -3.237164)'), GeomFromEWKT('SRID=4674;POINT (-38.559418 -3.237051)'))) / (select extract(epoch from '2026-05-28 16:24:50'::timestamp) - extract(epoch from '2026-05-28 16:24:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559397 -3.236885)', '2026-05-28 16:24:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559418 -3.237051)'), GeomFromEWKT('SRID=4674;POINT (-38.559397 -3.236885)'))) / (select extract(epoch from '2026-05-28 16:24:57'::timestamp) - extract(epoch from '2026-05-28 16:24:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559418 -3.237051)'), GeomFromEWKT('SRID=4674;POINT (-38.559397 -3.236885)'))) / (select extract(epoch from '2026-05-28 16:24:57'::timestamp) - extract(epoch from '2026-05-28 16:24: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'), 46535, 'SRID=4674;POINT (-38.559371 -3.236786)', '2026-05-28 16:25:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559397 -3.236885)'), GeomFromEWKT('SRID=4674;POINT (-38.559371 -3.236786)'))) / (select extract(epoch from '2026-05-28 16:25:02'::timestamp) - extract(epoch from '2026-05-28 16:24:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559397 -3.236885)'), GeomFromEWKT('SRID=4674;POINT (-38.559371 -3.236786)'))) / (select extract(epoch from '2026-05-28 16:25:02'::timestamp) - extract(epoch from '2026-05-28 16:24: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'), 46535, 'SRID=4674;POINT (-38.559326 -3.236648)', '2026-05-28 16:25:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559371 -3.236786)'), GeomFromEWKT('SRID=4674;POINT (-38.559326 -3.236648)'))) / (select extract(epoch from '2026-05-28 16:25:08'::timestamp) - extract(epoch from '2026-05-28 16:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559371 -3.236786)'), GeomFromEWKT('SRID=4674;POINT (-38.559326 -3.236648)'))) / (select extract(epoch from '2026-05-28 16:25:08'::timestamp) - extract(epoch from '2026-05-28 16:25:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559276 -3.236505)', '2026-05-28 16:25:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559326 -3.236648)'), GeomFromEWKT('SRID=4674;POINT (-38.559276 -3.236505)'))) / (select extract(epoch from '2026-05-28 16:25:15'::timestamp) - extract(epoch from '2026-05-28 16:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559326 -3.236648)'), GeomFromEWKT('SRID=4674;POINT (-38.559276 -3.236505)'))) / (select extract(epoch from '2026-05-28 16:25:15'::timestamp) - extract(epoch from '2026-05-28 16:25:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559244 -3.236366)', '2026-05-28 16:25:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559276 -3.236505)'), GeomFromEWKT('SRID=4674;POINT (-38.559244 -3.236366)'))) / (select extract(epoch from '2026-05-28 16:25:21'::timestamp) - extract(epoch from '2026-05-28 16:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559276 -3.236505)'), GeomFromEWKT('SRID=4674;POINT (-38.559244 -3.236366)'))) / (select extract(epoch from '2026-05-28 16:25:21'::timestamp) - extract(epoch from '2026-05-28 16:25:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559222 -3.236256)', '2026-05-28 16:25:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559244 -3.236366)'), GeomFromEWKT('SRID=4674;POINT (-38.559222 -3.236256)'))) / (select extract(epoch from '2026-05-28 16:25:26'::timestamp) - extract(epoch from '2026-05-28 16:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559244 -3.236366)'), GeomFromEWKT('SRID=4674;POINT (-38.559222 -3.236256)'))) / (select extract(epoch from '2026-05-28 16:25:26'::timestamp) - extract(epoch from '2026-05-28 16:25: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'), 46535, 'SRID=4674;POINT (-38.559203 -3.236142)', '2026-05-28 16:25:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559222 -3.236256)'), GeomFromEWKT('SRID=4674;POINT (-38.559203 -3.236142)'))) / (select extract(epoch from '2026-05-28 16:25:31'::timestamp) - extract(epoch from '2026-05-28 16:25:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559222 -3.236256)'), GeomFromEWKT('SRID=4674;POINT (-38.559203 -3.236142)'))) / (select extract(epoch from '2026-05-28 16:25:31'::timestamp) - extract(epoch from '2026-05-28 16:25: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'), 46535, 'SRID=4674;POINT (-38.55919 -3.235983)', '2026-05-28 16:25:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559203 -3.236142)'), GeomFromEWKT('SRID=4674;POINT (-38.55919 -3.235983)'))) / (select extract(epoch from '2026-05-28 16:25:38'::timestamp) - extract(epoch from '2026-05-28 16:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559203 -3.236142)'), GeomFromEWKT('SRID=4674;POINT (-38.55919 -3.235983)'))) / (select extract(epoch from '2026-05-28 16:25:38'::timestamp) - extract(epoch from '2026-05-28 16:25: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'), 46535, 'SRID=4674;POINT (-38.559203 -3.235864)', '2026-05-28 16:25:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55919 -3.235983)'), GeomFromEWKT('SRID=4674;POINT (-38.559203 -3.235864)'))) / (select extract(epoch from '2026-05-28 16:25:43'::timestamp) - extract(epoch from '2026-05-28 16:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.55919 -3.235983)'), GeomFromEWKT('SRID=4674;POINT (-38.559203 -3.235864)'))) / (select extract(epoch from '2026-05-28 16:25:43'::timestamp) - extract(epoch from '2026-05-28 16:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559231 -3.235741)', '2026-05-28 16:25:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559203 -3.235864)'), GeomFromEWKT('SRID=4674;POINT (-38.559231 -3.235741)'))) / (select extract(epoch from '2026-05-28 16:25:48'::timestamp) - extract(epoch from '2026-05-28 16:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559203 -3.235864)'), GeomFromEWKT('SRID=4674;POINT (-38.559231 -3.235741)'))) / (select extract(epoch from '2026-05-28 16:25:48'::timestamp) - extract(epoch from '2026-05-28 16:25: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'), 46535, 'SRID=4674;POINT (-38.559269 -3.235604)', '2026-05-28 16:25:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559231 -3.235741)'), GeomFromEWKT('SRID=4674;POINT (-38.559269 -3.235604)'))) / (select extract(epoch from '2026-05-28 16:25:54'::timestamp) - extract(epoch from '2026-05-28 16:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559231 -3.235741)'), GeomFromEWKT('SRID=4674;POINT (-38.559269 -3.235604)'))) / (select extract(epoch from '2026-05-28 16:25:54'::timestamp) - extract(epoch from '2026-05-28 16:25: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'), 46535, 'SRID=4674;POINT (-38.559321 -3.235431)', '2026-05-28 16:26:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559269 -3.235604)'), GeomFromEWKT('SRID=4674;POINT (-38.559321 -3.235431)'))) / (select extract(epoch from '2026-05-28 16:26:01'::timestamp) - extract(epoch from '2026-05-28 16:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559269 -3.235604)'), GeomFromEWKT('SRID=4674;POINT (-38.559321 -3.235431)'))) / (select extract(epoch from '2026-05-28 16:26:01'::timestamp) - extract(epoch from '2026-05-28 16:25:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559383 -3.235297)', '2026-05-28 16:26:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559321 -3.235431)'), GeomFromEWKT('SRID=4674;POINT (-38.559383 -3.235297)'))) / (select extract(epoch from '2026-05-28 16:26:07'::timestamp) - extract(epoch from '2026-05-28 16:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559321 -3.235431)'), GeomFromEWKT('SRID=4674;POINT (-38.559383 -3.235297)'))) / (select extract(epoch from '2026-05-28 16:26:07'::timestamp) - extract(epoch from '2026-05-28 16:26:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559453 -3.235183)', '2026-05-28 16:26:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559383 -3.235297)'), GeomFromEWKT('SRID=4674;POINT (-38.559453 -3.235183)'))) / (select extract(epoch from '2026-05-28 16:26:12'::timestamp) - extract(epoch from '2026-05-28 16:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559383 -3.235297)'), GeomFromEWKT('SRID=4674;POINT (-38.559453 -3.235183)'))) / (select extract(epoch from '2026-05-28 16:26:12'::timestamp) - extract(epoch from '2026-05-28 16:26: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'), 46535, 'SRID=4674;POINT (-38.559526 -3.235081)', '2026-05-28 16:26:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559453 -3.235183)'), GeomFromEWKT('SRID=4674;POINT (-38.559526 -3.235081)'))) / (select extract(epoch from '2026-05-28 16:26:17'::timestamp) - extract(epoch from '2026-05-28 16:26:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559453 -3.235183)'), GeomFromEWKT('SRID=4674;POINT (-38.559526 -3.235081)'))) / (select extract(epoch from '2026-05-28 16:26:17'::timestamp) - extract(epoch from '2026-05-28 16:26: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'), 46535, 'SRID=4674;POINT (-38.559616 -3.234993)', '2026-05-28 16:26:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559526 -3.235081)'), GeomFromEWKT('SRID=4674;POINT (-38.559616 -3.234993)'))) / (select extract(epoch from '2026-05-28 16:26:22'::timestamp) - extract(epoch from '2026-05-28 16:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559526 -3.235081)'), GeomFromEWKT('SRID=4674;POINT (-38.559616 -3.234993)'))) / (select extract(epoch from '2026-05-28 16:26:22'::timestamp) - extract(epoch from '2026-05-28 16:26: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'), 46535, 'SRID=4674;POINT (-38.559737 -3.234859)', '2026-05-28 16:26:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559616 -3.234993)'), GeomFromEWKT('SRID=4674;POINT (-38.559737 -3.234859)'))) / (select extract(epoch from '2026-05-28 16:26:29'::timestamp) - extract(epoch from '2026-05-28 16:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559616 -3.234993)'), GeomFromEWKT('SRID=4674;POINT (-38.559737 -3.234859)'))) / (select extract(epoch from '2026-05-28 16:26:29'::timestamp) - extract(epoch from '2026-05-28 16:26:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559826 -3.234773)', '2026-05-28 16:26:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559737 -3.234859)'), GeomFromEWKT('SRID=4674;POINT (-38.559826 -3.234773)'))) / (select extract(epoch from '2026-05-28 16:26:34'::timestamp) - extract(epoch from '2026-05-28 16:26:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559737 -3.234859)'), GeomFromEWKT('SRID=4674;POINT (-38.559826 -3.234773)'))) / (select extract(epoch from '2026-05-28 16:26:34'::timestamp) - extract(epoch from '2026-05-28 16:26:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.559919 -3.234682)', '2026-05-28 16:26:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559826 -3.234773)'), GeomFromEWKT('SRID=4674;POINT (-38.559919 -3.234682)'))) / (select extract(epoch from '2026-05-28 16:26:39'::timestamp) - extract(epoch from '2026-05-28 16:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559826 -3.234773)'), GeomFromEWKT('SRID=4674;POINT (-38.559919 -3.234682)'))) / (select extract(epoch from '2026-05-28 16:26:39'::timestamp) - extract(epoch from '2026-05-28 16:26:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560002 -3.234616)', '2026-05-28 16:26:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559919 -3.234682)'), GeomFromEWKT('SRID=4674;POINT (-38.560002 -3.234616)'))) / (select extract(epoch from '2026-05-28 16:26:43'::timestamp) - extract(epoch from '2026-05-28 16:26:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.559919 -3.234682)'), GeomFromEWKT('SRID=4674;POINT (-38.560002 -3.234616)'))) / (select extract(epoch from '2026-05-28 16:26:43'::timestamp) - extract(epoch from '2026-05-28 16:26: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'), 46535, 'SRID=4674;POINT (-38.560075 -3.23455)', '2026-05-28 16:26:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560002 -3.234616)'), GeomFromEWKT('SRID=4674;POINT (-38.560075 -3.23455)'))) / (select extract(epoch from '2026-05-28 16:26:47'::timestamp) - extract(epoch from '2026-05-28 16:26:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560002 -3.234616)'), GeomFromEWKT('SRID=4674;POINT (-38.560075 -3.23455)'))) / (select extract(epoch from '2026-05-28 16:26:47'::timestamp) - extract(epoch from '2026-05-28 16:26:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560195 -3.23446)', '2026-05-28 16:26:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560075 -3.23455)'), GeomFromEWKT('SRID=4674;POINT (-38.560195 -3.23446)'))) / (select extract(epoch from '2026-05-28 16:26:53'::timestamp) - extract(epoch from '2026-05-28 16:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560075 -3.23455)'), GeomFromEWKT('SRID=4674;POINT (-38.560195 -3.23446)'))) / (select extract(epoch from '2026-05-28 16:26:53'::timestamp) - extract(epoch from '2026-05-28 16:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560322 -3.23437)', '2026-05-28 16:26:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560195 -3.23446)'), GeomFromEWKT('SRID=4674;POINT (-38.560322 -3.23437)'))) / (select extract(epoch from '2026-05-28 16:26:59'::timestamp) - extract(epoch from '2026-05-28 16:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560195 -3.23446)'), GeomFromEWKT('SRID=4674;POINT (-38.560322 -3.23437)'))) / (select extract(epoch from '2026-05-28 16:26:59'::timestamp) - extract(epoch from '2026-05-28 16:26:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560452 -3.234288)', '2026-05-28 16:27:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560322 -3.23437)'), GeomFromEWKT('SRID=4674;POINT (-38.560452 -3.234288)'))) / (select extract(epoch from '2026-05-28 16:27:05'::timestamp) - extract(epoch from '2026-05-28 16:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560322 -3.23437)'), GeomFromEWKT('SRID=4674;POINT (-38.560452 -3.234288)'))) / (select extract(epoch from '2026-05-28 16:27:05'::timestamp) - extract(epoch from '2026-05-28 16:26: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'), 46535, 'SRID=4674;POINT (-38.560571 -3.234203)', '2026-05-28 16:27:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560452 -3.234288)'), GeomFromEWKT('SRID=4674;POINT (-38.560571 -3.234203)'))) / (select extract(epoch from '2026-05-28 16:27:11'::timestamp) - extract(epoch from '2026-05-28 16:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560452 -3.234288)'), GeomFromEWKT('SRID=4674;POINT (-38.560571 -3.234203)'))) / (select extract(epoch from '2026-05-28 16:27:11'::timestamp) - extract(epoch from '2026-05-28 16:27: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'), 46535, 'SRID=4674;POINT (-38.560709 -3.234113)', '2026-05-28 16:27:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560571 -3.234203)'), GeomFromEWKT('SRID=4674;POINT (-38.560709 -3.234113)'))) / (select extract(epoch from '2026-05-28 16:27:17'::timestamp) - extract(epoch from '2026-05-28 16:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560571 -3.234203)'), GeomFromEWKT('SRID=4674;POINT (-38.560709 -3.234113)'))) / (select extract(epoch from '2026-05-28 16:27:17'::timestamp) - extract(epoch from '2026-05-28 16:27:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.560821 -3.234054)', '2026-05-28 16:27:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560709 -3.234113)'), GeomFromEWKT('SRID=4674;POINT (-38.560821 -3.234054)'))) / (select extract(epoch from '2026-05-28 16:27:22'::timestamp) - extract(epoch from '2026-05-28 16:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560709 -3.234113)'), GeomFromEWKT('SRID=4674;POINT (-38.560821 -3.234054)'))) / (select extract(epoch from '2026-05-28 16:27:22'::timestamp) - extract(epoch from '2026-05-28 16:27: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'), 46535, 'SRID=4674;POINT (-38.560965 -3.233981)', '2026-05-28 16:27:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560821 -3.234054)'), GeomFromEWKT('SRID=4674;POINT (-38.560965 -3.233981)'))) / (select extract(epoch from '2026-05-28 16:27:29'::timestamp) - extract(epoch from '2026-05-28 16:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560821 -3.234054)'), GeomFromEWKT('SRID=4674;POINT (-38.560965 -3.233981)'))) / (select extract(epoch from '2026-05-28 16:27:29'::timestamp) - extract(epoch from '2026-05-28 16:27: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'), 46535, 'SRID=4674;POINT (-38.561084 -3.233918)', '2026-05-28 16:27:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560965 -3.233981)'), GeomFromEWKT('SRID=4674;POINT (-38.561084 -3.233918)'))) / (select extract(epoch from '2026-05-28 16:27:35'::timestamp) - extract(epoch from '2026-05-28 16:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.560965 -3.233981)'), GeomFromEWKT('SRID=4674;POINT (-38.561084 -3.233918)'))) / (select extract(epoch from '2026-05-28 16:27:35'::timestamp) - extract(epoch from '2026-05-28 16:27: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'), 46535, 'SRID=4674;POINT (-38.561177 -3.233869)', '2026-05-28 16:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561084 -3.233918)'), GeomFromEWKT('SRID=4674;POINT (-38.561177 -3.233869)'))) / (select extract(epoch from '2026-05-28 16:27:40'::timestamp) - extract(epoch from '2026-05-28 16:27:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561084 -3.233918)'), GeomFromEWKT('SRID=4674;POINT (-38.561177 -3.233869)'))) / (select extract(epoch from '2026-05-28 16:27:40'::timestamp) - extract(epoch from '2026-05-28 16:27: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'), 46535, 'SRID=4674;POINT (-38.561286 -3.233824)', '2026-05-28 16:27:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561177 -3.233869)'), GeomFromEWKT('SRID=4674;POINT (-38.561286 -3.233824)'))) / (select extract(epoch from '2026-05-28 16:27:46'::timestamp) - extract(epoch from '2026-05-28 16:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561177 -3.233869)'), GeomFromEWKT('SRID=4674;POINT (-38.561286 -3.233824)'))) / (select extract(epoch from '2026-05-28 16:27:46'::timestamp) - extract(epoch from '2026-05-28 16:27:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56139 -3.23379)', '2026-05-28 16:27:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561286 -3.233824)'), GeomFromEWKT('SRID=4674;POINT (-38.56139 -3.23379)'))) / (select extract(epoch from '2026-05-28 16:27:52'::timestamp) - extract(epoch from '2026-05-28 16:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561286 -3.233824)'), GeomFromEWKT('SRID=4674;POINT (-38.56139 -3.23379)'))) / (select extract(epoch from '2026-05-28 16:27:52'::timestamp) - extract(epoch from '2026-05-28 16:27:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561499 -3.233746)', '2026-05-28 16:27:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56139 -3.23379)'), GeomFromEWKT('SRID=4674;POINT (-38.561499 -3.233746)'))) / (select extract(epoch from '2026-05-28 16:27:58'::timestamp) - extract(epoch from '2026-05-28 16:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56139 -3.23379)'), GeomFromEWKT('SRID=4674;POINT (-38.561499 -3.233746)'))) / (select extract(epoch from '2026-05-28 16:27:58'::timestamp) - extract(epoch from '2026-05-28 16:27:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561594 -3.233709)', '2026-05-28 16:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561499 -3.233746)'), GeomFromEWKT('SRID=4674;POINT (-38.561594 -3.233709)'))) / (select extract(epoch from '2026-05-28 16:28:03'::timestamp) - extract(epoch from '2026-05-28 16:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561499 -3.233746)'), GeomFromEWKT('SRID=4674;POINT (-38.561594 -3.233709)'))) / (select extract(epoch from '2026-05-28 16:28:03'::timestamp) - extract(epoch from '2026-05-28 16:27:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561677 -3.233662)', '2026-05-28 16:28:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561594 -3.233709)'), GeomFromEWKT('SRID=4674;POINT (-38.561677 -3.233662)'))) / (select extract(epoch from '2026-05-28 16:28:08'::timestamp) - extract(epoch from '2026-05-28 16:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561594 -3.233709)'), GeomFromEWKT('SRID=4674;POINT (-38.561677 -3.233662)'))) / (select extract(epoch from '2026-05-28 16:28:08'::timestamp) - extract(epoch from '2026-05-28 16:28:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561777 -3.233621)', '2026-05-28 16:28:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561677 -3.233662)'), GeomFromEWKT('SRID=4674;POINT (-38.561777 -3.233621)'))) / (select extract(epoch from '2026-05-28 16:28:12'::timestamp) - extract(epoch from '2026-05-28 16:28:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561677 -3.233662)'), GeomFromEWKT('SRID=4674;POINT (-38.561777 -3.233621)'))) / (select extract(epoch from '2026-05-28 16:28:12'::timestamp) - extract(epoch from '2026-05-28 16:28: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'), 46535, 'SRID=4674;POINT (-38.561789 -3.233613)', '2026-05-28 16:28:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561777 -3.233621)'), GeomFromEWKT('SRID=4674;POINT (-38.561789 -3.233613)'))) / (select extract(epoch from '2026-05-28 16:28:13'::timestamp) - extract(epoch from '2026-05-28 16:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561777 -3.233621)'), GeomFromEWKT('SRID=4674;POINT (-38.561789 -3.233613)'))) / (select extract(epoch from '2026-05-28 16:28:13'::timestamp) - extract(epoch from '2026-05-28 16:28:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561841 -3.233569)', '2026-05-28 16:28:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561789 -3.233613)'), GeomFromEWKT('SRID=4674;POINT (-38.561841 -3.233569)'))) / (select extract(epoch from '2026-05-28 16:28:16'::timestamp) - extract(epoch from '2026-05-28 16:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561789 -3.233613)'), GeomFromEWKT('SRID=4674;POINT (-38.561841 -3.233569)'))) / (select extract(epoch from '2026-05-28 16:28:16'::timestamp) - extract(epoch from '2026-05-28 16:28: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'), 46535, 'SRID=4674;POINT (-38.561909 -3.233512)', '2026-05-28 16:28:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561841 -3.233569)'), GeomFromEWKT('SRID=4674;POINT (-38.561909 -3.233512)'))) / (select extract(epoch from '2026-05-28 16:28:21'::timestamp) - extract(epoch from '2026-05-28 16:28:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561841 -3.233569)'), GeomFromEWKT('SRID=4674;POINT (-38.561909 -3.233512)'))) / (select extract(epoch from '2026-05-28 16:28:21'::timestamp) - extract(epoch from '2026-05-28 16:28:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.561982 -3.233447)', '2026-05-28 16:28:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561909 -3.233512)'), GeomFromEWKT('SRID=4674;POINT (-38.561982 -3.233447)'))) / (select extract(epoch from '2026-05-28 16:28:26'::timestamp) - extract(epoch from '2026-05-28 16:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561909 -3.233512)'), GeomFromEWKT('SRID=4674;POINT (-38.561982 -3.233447)'))) / (select extract(epoch from '2026-05-28 16:28:26'::timestamp) - extract(epoch from '2026-05-28 16:28: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'), 46535, 'SRID=4674;POINT (-38.56207 -3.233378)', '2026-05-28 16:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561982 -3.233447)'), GeomFromEWKT('SRID=4674;POINT (-38.56207 -3.233378)'))) / (select extract(epoch from '2026-05-28 16:28:32'::timestamp) - extract(epoch from '2026-05-28 16:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.561982 -3.233447)'), GeomFromEWKT('SRID=4674;POINT (-38.56207 -3.233378)'))) / (select extract(epoch from '2026-05-28 16:28:32'::timestamp) - extract(epoch from '2026-05-28 16:28:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562189 -3.233283)', '2026-05-28 16:28:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56207 -3.233378)'), GeomFromEWKT('SRID=4674;POINT (-38.562189 -3.233283)'))) / (select extract(epoch from '2026-05-28 16:28:40'::timestamp) - extract(epoch from '2026-05-28 16:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56207 -3.233378)'), GeomFromEWKT('SRID=4674;POINT (-38.562189 -3.233283)'))) / (select extract(epoch from '2026-05-28 16:28:40'::timestamp) - extract(epoch from '2026-05-28 16:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562276 -3.233222)', '2026-05-28 16:28:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562189 -3.233283)'), GeomFromEWKT('SRID=4674;POINT (-38.562276 -3.233222)'))) / (select extract(epoch from '2026-05-28 16:28:45'::timestamp) - extract(epoch from '2026-05-28 16:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562189 -3.233283)'), GeomFromEWKT('SRID=4674;POINT (-38.562276 -3.233222)'))) / (select extract(epoch from '2026-05-28 16:28:45'::timestamp) - extract(epoch from '2026-05-28 16:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562363 -3.233173)', '2026-05-28 16:28:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562276 -3.233222)'), GeomFromEWKT('SRID=4674;POINT (-38.562363 -3.233173)'))) / (select extract(epoch from '2026-05-28 16:28:50'::timestamp) - extract(epoch from '2026-05-28 16:28:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562276 -3.233222)'), GeomFromEWKT('SRID=4674;POINT (-38.562363 -3.233173)'))) / (select extract(epoch from '2026-05-28 16:28:50'::timestamp) - extract(epoch from '2026-05-28 16:28:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562433 -3.233121)', '2026-05-28 16:28:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562363 -3.233173)'), GeomFromEWKT('SRID=4674;POINT (-38.562433 -3.233121)'))) / (select extract(epoch from '2026-05-28 16:28:55'::timestamp) - extract(epoch from '2026-05-28 16:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562363 -3.233173)'), GeomFromEWKT('SRID=4674;POINT (-38.562433 -3.233121)'))) / (select extract(epoch from '2026-05-28 16:28:55'::timestamp) - extract(epoch from '2026-05-28 16:28: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'), 46535, 'SRID=4674;POINT (-38.562534 -3.233073)', '2026-05-28 16:29:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562433 -3.233121)'), GeomFromEWKT('SRID=4674;POINT (-38.562534 -3.233073)'))) / (select extract(epoch from '2026-05-28 16:29:01'::timestamp) - extract(epoch from '2026-05-28 16:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562433 -3.233121)'), GeomFromEWKT('SRID=4674;POINT (-38.562534 -3.233073)'))) / (select extract(epoch from '2026-05-28 16:29:01'::timestamp) - extract(epoch from '2026-05-28 16:28: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'), 46535, 'SRID=4674;POINT (-38.562658 -3.233021)', '2026-05-28 16:29:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562534 -3.233073)'), GeomFromEWKT('SRID=4674;POINT (-38.562658 -3.233021)'))) / (select extract(epoch from '2026-05-28 16:29:08'::timestamp) - extract(epoch from '2026-05-28 16:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562534 -3.233073)'), GeomFromEWKT('SRID=4674;POINT (-38.562658 -3.233021)'))) / (select extract(epoch from '2026-05-28 16:29:08'::timestamp) - extract(epoch from '2026-05-28 16:29:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.562825 -3.232954)', '2026-05-28 16:29:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562658 -3.233021)'), GeomFromEWKT('SRID=4674;POINT (-38.562825 -3.232954)'))) / (select extract(epoch from '2026-05-28 16:29:17'::timestamp) - extract(epoch from '2026-05-28 16:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562658 -3.233021)'), GeomFromEWKT('SRID=4674;POINT (-38.562825 -3.232954)'))) / (select extract(epoch from '2026-05-28 16:29:17'::timestamp) - extract(epoch from '2026-05-28 16:29: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'), 46535, 'SRID=4674;POINT (-38.562903 -3.232909)', '2026-05-28 16:29:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562825 -3.232954)'), GeomFromEWKT('SRID=4674;POINT (-38.562903 -3.232909)'))) / (select extract(epoch from '2026-05-28 16:29:22'::timestamp) - extract(epoch from '2026-05-28 16:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562825 -3.232954)'), GeomFromEWKT('SRID=4674;POINT (-38.562903 -3.232909)'))) / (select extract(epoch from '2026-05-28 16:29:22'::timestamp) - extract(epoch from '2026-05-28 16:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563005 -3.232863)', '2026-05-28 16:29:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562903 -3.232909)'), GeomFromEWKT('SRID=4674;POINT (-38.563005 -3.232863)'))) / (select extract(epoch from '2026-05-28 16:29:28'::timestamp) - extract(epoch from '2026-05-28 16:29:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.562903 -3.232909)'), GeomFromEWKT('SRID=4674;POINT (-38.563005 -3.232863)'))) / (select extract(epoch from '2026-05-28 16:29:28'::timestamp) - extract(epoch from '2026-05-28 16:29:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563095 -3.232804)', '2026-05-28 16:29:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563005 -3.232863)'), GeomFromEWKT('SRID=4674;POINT (-38.563095 -3.232804)'))) / (select extract(epoch from '2026-05-28 16:29:33'::timestamp) - extract(epoch from '2026-05-28 16:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563005 -3.232863)'), GeomFromEWKT('SRID=4674;POINT (-38.563095 -3.232804)'))) / (select extract(epoch from '2026-05-28 16:29:33'::timestamp) - extract(epoch from '2026-05-28 16:29:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563188 -3.232758)', '2026-05-28 16:29:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563095 -3.232804)'), GeomFromEWKT('SRID=4674;POINT (-38.563188 -3.232758)'))) / (select extract(epoch from '2026-05-28 16:29:38'::timestamp) - extract(epoch from '2026-05-28 16:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563095 -3.232804)'), GeomFromEWKT('SRID=4674;POINT (-38.563188 -3.232758)'))) / (select extract(epoch from '2026-05-28 16:29:38'::timestamp) - extract(epoch from '2026-05-28 16:29:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563283 -3.232705)', '2026-05-28 16:29:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563188 -3.232758)'), GeomFromEWKT('SRID=4674;POINT (-38.563283 -3.232705)'))) / (select extract(epoch from '2026-05-28 16:29:44'::timestamp) - extract(epoch from '2026-05-28 16:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563188 -3.232758)'), GeomFromEWKT('SRID=4674;POINT (-38.563283 -3.232705)'))) / (select extract(epoch from '2026-05-28 16:29:44'::timestamp) - extract(epoch from '2026-05-28 16:29:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563383 -3.232655)', '2026-05-28 16:29:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563283 -3.232705)'), GeomFromEWKT('SRID=4674;POINT (-38.563383 -3.232655)'))) / (select extract(epoch from '2026-05-28 16:29:50'::timestamp) - extract(epoch from '2026-05-28 16:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563283 -3.232705)'), GeomFromEWKT('SRID=4674;POINT (-38.563383 -3.232655)'))) / (select extract(epoch from '2026-05-28 16:29:50'::timestamp) - extract(epoch from '2026-05-28 16:29:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563475 -3.232636)', '2026-05-28 16:29:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563383 -3.232655)'), GeomFromEWKT('SRID=4674;POINT (-38.563475 -3.232636)'))) / (select extract(epoch from '2026-05-28 16:29:55'::timestamp) - extract(epoch from '2026-05-28 16:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563383 -3.232655)'), GeomFromEWKT('SRID=4674;POINT (-38.563475 -3.232636)'))) / (select extract(epoch from '2026-05-28 16:29:55'::timestamp) - extract(epoch from '2026-05-28 16:29:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563606 -3.232608)', '2026-05-28 16:30:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563475 -3.232636)'), GeomFromEWKT('SRID=4674;POINT (-38.563606 -3.232608)'))) / (select extract(epoch from '2026-05-28 16:30:02'::timestamp) - extract(epoch from '2026-05-28 16:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563475 -3.232636)'), GeomFromEWKT('SRID=4674;POINT (-38.563606 -3.232608)'))) / (select extract(epoch from '2026-05-28 16:30:02'::timestamp) - extract(epoch from '2026-05-28 16:29: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'), 46535, 'SRID=4674;POINT (-38.563695 -3.232588)', '2026-05-28 16:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563606 -3.232608)'), GeomFromEWKT('SRID=4674;POINT (-38.563695 -3.232588)'))) / (select extract(epoch from '2026-05-28 16:30:07'::timestamp) - extract(epoch from '2026-05-28 16:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563606 -3.232608)'), GeomFromEWKT('SRID=4674;POINT (-38.563695 -3.232588)'))) / (select extract(epoch from '2026-05-28 16:30:07'::timestamp) - extract(epoch from '2026-05-28 16:30:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563825 -3.232569)', '2026-05-28 16:30:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563695 -3.232588)'), GeomFromEWKT('SRID=4674;POINT (-38.563825 -3.232569)'))) / (select extract(epoch from '2026-05-28 16:30:14'::timestamp) - extract(epoch from '2026-05-28 16:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563695 -3.232588)'), GeomFromEWKT('SRID=4674;POINT (-38.563825 -3.232569)'))) / (select extract(epoch from '2026-05-28 16:30:14'::timestamp) - extract(epoch from '2026-05-28 16:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563901 -3.232558)', '2026-05-28 16:30:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563825 -3.232569)'), GeomFromEWKT('SRID=4674;POINT (-38.563901 -3.232558)'))) / (select extract(epoch from '2026-05-28 16:30:18'::timestamp) - extract(epoch from '2026-05-28 16:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563825 -3.232569)'), GeomFromEWKT('SRID=4674;POINT (-38.563901 -3.232558)'))) / (select extract(epoch from '2026-05-28 16:30:18'::timestamp) - extract(epoch from '2026-05-28 16:30:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.563917 -3.232552)', '2026-05-28 16:30:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563901 -3.232558)'), GeomFromEWKT('SRID=4674;POINT (-38.563917 -3.232552)'))) / (select extract(epoch from '2026-05-28 16:30:19'::timestamp) - extract(epoch from '2026-05-28 16:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563901 -3.232558)'), GeomFromEWKT('SRID=4674;POINT (-38.563917 -3.232552)'))) / (select extract(epoch from '2026-05-28 16:30:19'::timestamp) - extract(epoch from '2026-05-28 16:30: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'), 46535, 'SRID=4674;POINT (-38.564055 -3.23252)', '2026-05-28 16:30:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563917 -3.232552)'), GeomFromEWKT('SRID=4674;POINT (-38.564055 -3.23252)'))) / (select extract(epoch from '2026-05-28 16:30:26'::timestamp) - extract(epoch from '2026-05-28 16:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.563917 -3.232552)'), GeomFromEWKT('SRID=4674;POINT (-38.564055 -3.23252)'))) / (select extract(epoch from '2026-05-28 16:30:26'::timestamp) - extract(epoch from '2026-05-28 16:30: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'), 46535, 'SRID=4674;POINT (-38.564148 -3.232482)', '2026-05-28 16:30:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564055 -3.23252)'), GeomFromEWKT('SRID=4674;POINT (-38.564148 -3.232482)'))) / (select extract(epoch from '2026-05-28 16:30:31'::timestamp) - extract(epoch from '2026-05-28 16:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564055 -3.23252)'), GeomFromEWKT('SRID=4674;POINT (-38.564148 -3.232482)'))) / (select extract(epoch from '2026-05-28 16:30:31'::timestamp) - extract(epoch from '2026-05-28 16:30: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'), 46535, 'SRID=4674;POINT (-38.564217 -3.232451)', '2026-05-28 16:30:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564148 -3.232482)'), GeomFromEWKT('SRID=4674;POINT (-38.564217 -3.232451)'))) / (select extract(epoch from '2026-05-28 16:30:35'::timestamp) - extract(epoch from '2026-05-28 16:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564148 -3.232482)'), GeomFromEWKT('SRID=4674;POINT (-38.564217 -3.232451)'))) / (select extract(epoch from '2026-05-28 16:30:35'::timestamp) - extract(epoch from '2026-05-28 16:30: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'), 46535, 'SRID=4674;POINT (-38.564319 -3.23239)', '2026-05-28 16:30:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564217 -3.232451)'), GeomFromEWKT('SRID=4674;POINT (-38.564319 -3.23239)'))) / (select extract(epoch from '2026-05-28 16:30:41'::timestamp) - extract(epoch from '2026-05-28 16:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564217 -3.232451)'), GeomFromEWKT('SRID=4674;POINT (-38.564319 -3.23239)'))) / (select extract(epoch from '2026-05-28 16:30:41'::timestamp) - extract(epoch from '2026-05-28 16:30:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564394 -3.232331)', '2026-05-28 16:30:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564319 -3.23239)'), GeomFromEWKT('SRID=4674;POINT (-38.564394 -3.232331)'))) / (select extract(epoch from '2026-05-28 16:30:46'::timestamp) - extract(epoch from '2026-05-28 16:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564319 -3.23239)'), GeomFromEWKT('SRID=4674;POINT (-38.564394 -3.232331)'))) / (select extract(epoch from '2026-05-28 16:30:46'::timestamp) - extract(epoch from '2026-05-28 16:30: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'), 46535, 'SRID=4674;POINT (-38.564459 -3.232268)', '2026-05-28 16:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564394 -3.232331)'), GeomFromEWKT('SRID=4674;POINT (-38.564459 -3.232268)'))) / (select extract(epoch from '2026-05-28 16:30:51'::timestamp) - extract(epoch from '2026-05-28 16:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564394 -3.232331)'), GeomFromEWKT('SRID=4674;POINT (-38.564459 -3.232268)'))) / (select extract(epoch from '2026-05-28 16:30:51'::timestamp) - extract(epoch from '2026-05-28 16:30: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'), 46535, 'SRID=4674;POINT (-38.564477 -3.232262)', '2026-05-28 16:30:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564459 -3.232268)'), GeomFromEWKT('SRID=4674;POINT (-38.564477 -3.232262)'))) / (select extract(epoch from '2026-05-28 16:30:52'::timestamp) - extract(epoch from '2026-05-28 16:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564459 -3.232268)'), GeomFromEWKT('SRID=4674;POINT (-38.564477 -3.232262)'))) / (select extract(epoch from '2026-05-28 16:30:52'::timestamp) - extract(epoch from '2026-05-28 16:30:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564559 -3.23221)', '2026-05-28 16:30:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564477 -3.232262)'), GeomFromEWKT('SRID=4674;POINT (-38.564559 -3.23221)'))) / (select extract(epoch from '2026-05-28 16:30:57'::timestamp) - extract(epoch from '2026-05-28 16:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564477 -3.232262)'), GeomFromEWKT('SRID=4674;POINT (-38.564559 -3.23221)'))) / (select extract(epoch from '2026-05-28 16:30:57'::timestamp) - extract(epoch from '2026-05-28 16:30: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'), 46535, 'SRID=4674;POINT (-38.564663 -3.232156)', '2026-05-28 16:31:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564559 -3.23221)'), GeomFromEWKT('SRID=4674;POINT (-38.564663 -3.232156)'))) / (select extract(epoch from '2026-05-28 16:31:03'::timestamp) - extract(epoch from '2026-05-28 16:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564559 -3.23221)'), GeomFromEWKT('SRID=4674;POINT (-38.564663 -3.232156)'))) / (select extract(epoch from '2026-05-28 16:31:03'::timestamp) - extract(epoch from '2026-05-28 16:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564825 -3.232094)', '2026-05-28 16:31:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564663 -3.232156)'), GeomFromEWKT('SRID=4674;POINT (-38.564825 -3.232094)'))) / (select extract(epoch from '2026-05-28 16:31:13'::timestamp) - extract(epoch from '2026-05-28 16:31:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564663 -3.232156)'), GeomFromEWKT('SRID=4674;POINT (-38.564825 -3.232094)'))) / (select extract(epoch from '2026-05-28 16:31:13'::timestamp) - extract(epoch from '2026-05-28 16:31:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.564951 -3.232052)', '2026-05-28 16:31:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564825 -3.232094)'), GeomFromEWKT('SRID=4674;POINT (-38.564951 -3.232052)'))) / (select extract(epoch from '2026-05-28 16:31:20'::timestamp) - extract(epoch from '2026-05-28 16:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564825 -3.232094)'), GeomFromEWKT('SRID=4674;POINT (-38.564951 -3.232052)'))) / (select extract(epoch from '2026-05-28 16:31:20'::timestamp) - extract(epoch from '2026-05-28 16:31: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'), 46535, 'SRID=4674;POINT (-38.565068 -3.232017)', '2026-05-28 16:31:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564951 -3.232052)'), GeomFromEWKT('SRID=4674;POINT (-38.565068 -3.232017)'))) / (select extract(epoch from '2026-05-28 16:31:26'::timestamp) - extract(epoch from '2026-05-28 16:31:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.564951 -3.232052)'), GeomFromEWKT('SRID=4674;POINT (-38.565068 -3.232017)'))) / (select extract(epoch from '2026-05-28 16:31:26'::timestamp) - extract(epoch from '2026-05-28 16:31: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'), 46535, 'SRID=4674;POINT (-38.565157 -3.231972)', '2026-05-28 16:31:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565068 -3.232017)'), GeomFromEWKT('SRID=4674;POINT (-38.565157 -3.231972)'))) / (select extract(epoch from '2026-05-28 16:31:31'::timestamp) - extract(epoch from '2026-05-28 16:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565068 -3.232017)'), GeomFromEWKT('SRID=4674;POINT (-38.565157 -3.231972)'))) / (select extract(epoch from '2026-05-28 16:31:31'::timestamp) - extract(epoch from '2026-05-28 16:31:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565255 -3.231903)', '2026-05-28 16:31:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565157 -3.231972)'), GeomFromEWKT('SRID=4674;POINT (-38.565255 -3.231903)'))) / (select extract(epoch from '2026-05-28 16:31:37'::timestamp) - extract(epoch from '2026-05-28 16:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565157 -3.231972)'), GeomFromEWKT('SRID=4674;POINT (-38.565255 -3.231903)'))) / (select extract(epoch from '2026-05-28 16:31:37'::timestamp) - extract(epoch from '2026-05-28 16:31: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'), 46535, 'SRID=4674;POINT (-38.565346 -3.23185)', '2026-05-28 16:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565255 -3.231903)'), GeomFromEWKT('SRID=4674;POINT (-38.565346 -3.23185)'))) / (select extract(epoch from '2026-05-28 16:31:42'::timestamp) - extract(epoch from '2026-05-28 16:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565255 -3.231903)'), GeomFromEWKT('SRID=4674;POINT (-38.565346 -3.23185)'))) / (select extract(epoch from '2026-05-28 16:31:42'::timestamp) - extract(epoch from '2026-05-28 16:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565445 -3.23179)', '2026-05-28 16:31:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565346 -3.23185)'), GeomFromEWKT('SRID=4674;POINT (-38.565445 -3.23179)'))) / (select extract(epoch from '2026-05-28 16:31:48'::timestamp) - extract(epoch from '2026-05-28 16:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565346 -3.23185)'), GeomFromEWKT('SRID=4674;POINT (-38.565445 -3.23179)'))) / (select extract(epoch from '2026-05-28 16:31:48'::timestamp) - extract(epoch from '2026-05-28 16:31: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'), 46535, 'SRID=4674;POINT (-38.565535 -3.231736)', '2026-05-28 16:31:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565445 -3.23179)'), GeomFromEWKT('SRID=4674;POINT (-38.565535 -3.231736)'))) / (select extract(epoch from '2026-05-28 16:31:53'::timestamp) - extract(epoch from '2026-05-28 16:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565445 -3.23179)'), GeomFromEWKT('SRID=4674;POINT (-38.565535 -3.231736)'))) / (select extract(epoch from '2026-05-28 16:31:53'::timestamp) - extract(epoch from '2026-05-28 16:31: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'), 46535, 'SRID=4674;POINT (-38.565649 -3.231685)', '2026-05-28 16:32:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565535 -3.231736)'), GeomFromEWKT('SRID=4674;POINT (-38.565649 -3.231685)'))) / (select extract(epoch from '2026-05-28 16:32:00'::timestamp) - extract(epoch from '2026-05-28 16:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565535 -3.231736)'), GeomFromEWKT('SRID=4674;POINT (-38.565649 -3.231685)'))) / (select extract(epoch from '2026-05-28 16:32:00'::timestamp) - extract(epoch from '2026-05-28 16:31:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565731 -3.231645)', '2026-05-28 16:32:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565649 -3.231685)'), GeomFromEWKT('SRID=4674;POINT (-38.565731 -3.231645)'))) / (select extract(epoch from '2026-05-28 16:32:06'::timestamp) - extract(epoch from '2026-05-28 16:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565649 -3.231685)'), GeomFromEWKT('SRID=4674;POINT (-38.565731 -3.231645)'))) / (select extract(epoch from '2026-05-28 16:32:06'::timestamp) - extract(epoch from '2026-05-28 16:32:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.565804 -3.231615)', '2026-05-28 16:32:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565731 -3.231645)'), GeomFromEWKT('SRID=4674;POINT (-38.565804 -3.231615)'))) / (select extract(epoch from '2026-05-28 16:32:13'::timestamp) - extract(epoch from '2026-05-28 16:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565731 -3.231645)'), GeomFromEWKT('SRID=4674;POINT (-38.565804 -3.231615)'))) / (select extract(epoch from '2026-05-28 16:32:13'::timestamp) - extract(epoch from '2026-05-28 16:32: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'), 46535, 'SRID=4674;POINT (-38.565855 -3.231589)', '2026-05-28 16:32:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565804 -3.231615)'), GeomFromEWKT('SRID=4674;POINT (-38.565855 -3.231589)'))) / (select extract(epoch from '2026-05-28 16:32:20'::timestamp) - extract(epoch from '2026-05-28 16:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565804 -3.231615)'), GeomFromEWKT('SRID=4674;POINT (-38.565855 -3.231589)'))) / (select extract(epoch from '2026-05-28 16:32:20'::timestamp) - extract(epoch from '2026-05-28 16:32: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'), 46535, 'SRID=4674;POINT (-38.565911 -3.231571)', '2026-05-28 16:32:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565855 -3.231589)'), GeomFromEWKT('SRID=4674;POINT (-38.565911 -3.231571)'))) / (select extract(epoch from '2026-05-28 16:32:27'::timestamp) - extract(epoch from '2026-05-28 16:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565855 -3.231589)'), GeomFromEWKT('SRID=4674;POINT (-38.565911 -3.231571)'))) / (select extract(epoch from '2026-05-28 16:32:27'::timestamp) - extract(epoch from '2026-05-28 16:32: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'), 46535, 'SRID=4674;POINT (-38.565942 -3.231537)', '2026-05-28 16:32:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565911 -3.231571)'), GeomFromEWKT('SRID=4674;POINT (-38.565942 -3.231537)'))) / (select extract(epoch from '2026-05-28 16:32:34'::timestamp) - extract(epoch from '2026-05-28 16:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565911 -3.231571)'), GeomFromEWKT('SRID=4674;POINT (-38.565942 -3.231537)'))) / (select extract(epoch from '2026-05-28 16:32:34'::timestamp) - extract(epoch from '2026-05-28 16:32: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'), 46535, 'SRID=4674;POINT (-38.565953 -3.231526)', '2026-05-28 16:32:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565942 -3.231537)'), GeomFromEWKT('SRID=4674;POINT (-38.565953 -3.231526)'))) / (select extract(epoch from '2026-05-28 16:32:36'::timestamp) - extract(epoch from '2026-05-28 16:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565942 -3.231537)'), GeomFromEWKT('SRID=4674;POINT (-38.565953 -3.231526)'))) / (select extract(epoch from '2026-05-28 16:32:36'::timestamp) - extract(epoch from '2026-05-28 16:32: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'), 46535, 'SRID=4674;POINT (-38.565976 -3.231514)', '2026-05-28 16:32:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565953 -3.231526)'), GeomFromEWKT('SRID=4674;POINT (-38.565976 -3.231514)'))) / (select extract(epoch from '2026-05-28 16:32:40'::timestamp) - extract(epoch from '2026-05-28 16:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565953 -3.231526)'), GeomFromEWKT('SRID=4674;POINT (-38.565976 -3.231514)'))) / (select extract(epoch from '2026-05-28 16:32:40'::timestamp) - extract(epoch from '2026-05-28 16:32: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'), 46535, 'SRID=4674;POINT (-38.566023 -3.231489)', '2026-05-28 16:32:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565976 -3.231514)'), GeomFromEWKT('SRID=4674;POINT (-38.566023 -3.231489)'))) / (select extract(epoch from '2026-05-28 16:32:47'::timestamp) - extract(epoch from '2026-05-28 16:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.565976 -3.231514)'), GeomFromEWKT('SRID=4674;POINT (-38.566023 -3.231489)'))) / (select extract(epoch from '2026-05-28 16:32:47'::timestamp) - extract(epoch from '2026-05-28 16:32: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'), 46535, 'SRID=4674;POINT (-38.566036 -3.231479)', '2026-05-28 16:32:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566023 -3.231489)'), GeomFromEWKT('SRID=4674;POINT (-38.566036 -3.231479)'))) / (select extract(epoch from '2026-05-28 16:32:49'::timestamp) - extract(epoch from '2026-05-28 16:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566023 -3.231489)'), GeomFromEWKT('SRID=4674;POINT (-38.566036 -3.231479)'))) / (select extract(epoch from '2026-05-28 16:32:49'::timestamp) - extract(epoch from '2026-05-28 16:32: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'), 46535, 'SRID=4674;POINT (-38.566048 -3.231473)', '2026-05-28 16:32:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566036 -3.231479)'), GeomFromEWKT('SRID=4674;POINT (-38.566048 -3.231473)'))) / (select extract(epoch from '2026-05-28 16:32:51'::timestamp) - extract(epoch from '2026-05-28 16:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566036 -3.231479)'), GeomFromEWKT('SRID=4674;POINT (-38.566048 -3.231473)'))) / (select extract(epoch from '2026-05-28 16:32:51'::timestamp) - extract(epoch from '2026-05-28 16:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566089 -3.231441)', '2026-05-28 16:32:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566048 -3.231473)'), GeomFromEWKT('SRID=4674;POINT (-38.566089 -3.231441)'))) / (select extract(epoch from '2026-05-28 16:32:57'::timestamp) - extract(epoch from '2026-05-28 16:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566048 -3.231473)'), GeomFromEWKT('SRID=4674;POINT (-38.566089 -3.231441)'))) / (select extract(epoch from '2026-05-28 16:32:57'::timestamp) - extract(epoch from '2026-05-28 16:32:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566138 -3.231406)', '2026-05-28 16:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566089 -3.231441)'), GeomFromEWKT('SRID=4674;POINT (-38.566138 -3.231406)'))) / (select extract(epoch from '2026-05-28 16:33:05'::timestamp) - extract(epoch from '2026-05-28 16:32:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566089 -3.231441)'), GeomFromEWKT('SRID=4674;POINT (-38.566138 -3.231406)'))) / (select extract(epoch from '2026-05-28 16:33:05'::timestamp) - extract(epoch from '2026-05-28 16:32:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56618 -3.23139)', '2026-05-28 16:33:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566138 -3.231406)'), GeomFromEWKT('SRID=4674;POINT (-38.56618 -3.23139)'))) / (select extract(epoch from '2026-05-28 16:33:10'::timestamp) - extract(epoch from '2026-05-28 16:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566138 -3.231406)'), GeomFromEWKT('SRID=4674;POINT (-38.56618 -3.23139)'))) / (select extract(epoch from '2026-05-28 16:33:10'::timestamp) - extract(epoch from '2026-05-28 16:33: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'), 46535, 'SRID=4674;POINT (-38.566245 -3.231359)', '2026-05-28 16:33:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56618 -3.23139)'), GeomFromEWKT('SRID=4674;POINT (-38.566245 -3.231359)'))) / (select extract(epoch from '2026-05-28 16:33:20'::timestamp) - extract(epoch from '2026-05-28 16:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56618 -3.23139)'), GeomFromEWKT('SRID=4674;POINT (-38.566245 -3.231359)'))) / (select extract(epoch from '2026-05-28 16:33:20'::timestamp) - extract(epoch from '2026-05-28 16:33: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'), 46535, 'SRID=4674;POINT (-38.56628 -3.231331)', '2026-05-28 16:33:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566245 -3.231359)'), GeomFromEWKT('SRID=4674;POINT (-38.56628 -3.231331)'))) / (select extract(epoch from '2026-05-28 16:33:25'::timestamp) - extract(epoch from '2026-05-28 16:33:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566245 -3.231359)'), GeomFromEWKT('SRID=4674;POINT (-38.56628 -3.231331)'))) / (select extract(epoch from '2026-05-28 16:33:25'::timestamp) - extract(epoch from '2026-05-28 16:33: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'), 46535, 'SRID=4674;POINT (-38.566295 -3.231319)', '2026-05-28 16:33:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56628 -3.231331)'), GeomFromEWKT('SRID=4674;POINT (-38.566295 -3.231319)'))) / (select extract(epoch from '2026-05-28 16:33:27'::timestamp) - extract(epoch from '2026-05-28 16:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56628 -3.231331)'), GeomFromEWKT('SRID=4674;POINT (-38.566295 -3.231319)'))) / (select extract(epoch from '2026-05-28 16:33:27'::timestamp) - extract(epoch from '2026-05-28 16:33: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'), 46535, 'SRID=4674;POINT (-38.566337 -3.231279)', '2026-05-28 16:33:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566295 -3.231319)'), GeomFromEWKT('SRID=4674;POINT (-38.566337 -3.231279)'))) / (select extract(epoch from '2026-05-28 16:33:35'::timestamp) - extract(epoch from '2026-05-28 16:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566295 -3.231319)'), GeomFromEWKT('SRID=4674;POINT (-38.566337 -3.231279)'))) / (select extract(epoch from '2026-05-28 16:33:35'::timestamp) - extract(epoch from '2026-05-28 16:33:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566369 -3.231239)', '2026-05-28 16:33:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566337 -3.231279)'), GeomFromEWKT('SRID=4674;POINT (-38.566369 -3.231239)'))) / (select extract(epoch from '2026-05-28 16:33:42'::timestamp) - extract(epoch from '2026-05-28 16:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566337 -3.231279)'), GeomFromEWKT('SRID=4674;POINT (-38.566369 -3.231239)'))) / (select extract(epoch from '2026-05-28 16:33:42'::timestamp) - extract(epoch from '2026-05-28 16:33: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'), 46535, 'SRID=4674;POINT (-38.566395 -3.231207)', '2026-05-28 16:33:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566369 -3.231239)'), GeomFromEWKT('SRID=4674;POINT (-38.566395 -3.231207)'))) / (select extract(epoch from '2026-05-28 16:33:47'::timestamp) - extract(epoch from '2026-05-28 16:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566369 -3.231239)'), GeomFromEWKT('SRID=4674;POINT (-38.566395 -3.231207)'))) / (select extract(epoch from '2026-05-28 16:33:47'::timestamp) - extract(epoch from '2026-05-28 16:33: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'), 46535, 'SRID=4674;POINT (-38.566398 -3.231198)', '2026-05-28 16:33:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566395 -3.231207)'), GeomFromEWKT('SRID=4674;POINT (-38.566398 -3.231198)'))) / (select extract(epoch from '2026-05-28 16:33:48'::timestamp) - extract(epoch from '2026-05-28 16:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566395 -3.231207)'), GeomFromEWKT('SRID=4674;POINT (-38.566398 -3.231198)'))) / (select extract(epoch from '2026-05-28 16:33:48'::timestamp) - extract(epoch from '2026-05-28 16:33:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566437 -3.23117)', '2026-05-28 16:33:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566398 -3.231198)'), GeomFromEWKT('SRID=4674;POINT (-38.566437 -3.23117)'))) / (select extract(epoch from '2026-05-28 16:33:54'::timestamp) - extract(epoch from '2026-05-28 16:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566398 -3.231198)'), GeomFromEWKT('SRID=4674;POINT (-38.566437 -3.23117)'))) / (select extract(epoch from '2026-05-28 16:33:54'::timestamp) - extract(epoch from '2026-05-28 16:33: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'), 46535, 'SRID=4674;POINT (-38.566444 -3.231155)', '2026-05-28 16:33:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566437 -3.23117)'), GeomFromEWKT('SRID=4674;POINT (-38.566444 -3.231155)'))) / (select extract(epoch from '2026-05-28 16:33:56'::timestamp) - extract(epoch from '2026-05-28 16:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566437 -3.23117)'), GeomFromEWKT('SRID=4674;POINT (-38.566444 -3.231155)'))) / (select extract(epoch from '2026-05-28 16:33:56'::timestamp) - extract(epoch from '2026-05-28 16:33: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'), 46535, 'SRID=4674;POINT (-38.566464 -3.231143)', '2026-05-28 16:33:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566444 -3.231155)'), GeomFromEWKT('SRID=4674;POINT (-38.566464 -3.231143)'))) / (select extract(epoch from '2026-05-28 16:33:59'::timestamp) - extract(epoch from '2026-05-28 16:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566444 -3.231155)'), GeomFromEWKT('SRID=4674;POINT (-38.566464 -3.231143)'))) / (select extract(epoch from '2026-05-28 16:33:59'::timestamp) - extract(epoch from '2026-05-28 16:33:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566473 -3.231129)', '2026-05-28 16:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566464 -3.231143)'), GeomFromEWKT('SRID=4674;POINT (-38.566473 -3.231129)'))) / (select extract(epoch from '2026-05-28 16:34:02'::timestamp) - extract(epoch from '2026-05-28 16:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566464 -3.231143)'), GeomFromEWKT('SRID=4674;POINT (-38.566473 -3.231129)'))) / (select extract(epoch from '2026-05-28 16:34:02'::timestamp) - extract(epoch from '2026-05-28 16:33:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56649 -3.231115)', '2026-05-28 16:34:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566473 -3.231129)'), GeomFromEWKT('SRID=4674;POINT (-38.56649 -3.231115)'))) / (select extract(epoch from '2026-05-28 16:34:04'::timestamp) - extract(epoch from '2026-05-28 16:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566473 -3.231129)'), GeomFromEWKT('SRID=4674;POINT (-38.56649 -3.231115)'))) / (select extract(epoch from '2026-05-28 16:34:04'::timestamp) - extract(epoch from '2026-05-28 16:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566528 -3.231074)', '2026-05-28 16:34:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56649 -3.231115)'), GeomFromEWKT('SRID=4674;POINT (-38.566528 -3.231074)'))) / (select extract(epoch from '2026-05-28 16:34:13'::timestamp) - extract(epoch from '2026-05-28 16:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56649 -3.231115)'), GeomFromEWKT('SRID=4674;POINT (-38.566528 -3.231074)'))) / (select extract(epoch from '2026-05-28 16:34:13'::timestamp) - extract(epoch from '2026-05-28 16:34: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'), 46535, 'SRID=4674;POINT (-38.566563 -3.231046)', '2026-05-28 16:34:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566528 -3.231074)'), GeomFromEWKT('SRID=4674;POINT (-38.566563 -3.231046)'))) / (select extract(epoch from '2026-05-28 16:34:19'::timestamp) - extract(epoch from '2026-05-28 16:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566528 -3.231074)'), GeomFromEWKT('SRID=4674;POINT (-38.566563 -3.231046)'))) / (select extract(epoch from '2026-05-28 16:34:19'::timestamp) - extract(epoch from '2026-05-28 16:34: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'), 46535, 'SRID=4674;POINT (-38.566617 -3.230989)', '2026-05-28 16:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566563 -3.231046)'), GeomFromEWKT('SRID=4674;POINT (-38.566617 -3.230989)'))) / (select extract(epoch from '2026-05-28 16:34:28'::timestamp) - extract(epoch from '2026-05-28 16:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566563 -3.231046)'), GeomFromEWKT('SRID=4674;POINT (-38.566617 -3.230989)'))) / (select extract(epoch from '2026-05-28 16:34:28'::timestamp) - extract(epoch from '2026-05-28 16:34: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'), 46535, 'SRID=4674;POINT (-38.566664 -3.230941)', '2026-05-28 16:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566617 -3.230989)'), GeomFromEWKT('SRID=4674;POINT (-38.566664 -3.230941)'))) / (select extract(epoch from '2026-05-28 16:34:36'::timestamp) - extract(epoch from '2026-05-28 16:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566617 -3.230989)'), GeomFromEWKT('SRID=4674;POINT (-38.566664 -3.230941)'))) / (select extract(epoch from '2026-05-28 16:34:36'::timestamp) - extract(epoch from '2026-05-28 16:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566702 -3.2309)', '2026-05-28 16:34:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566664 -3.230941)'), GeomFromEWKT('SRID=4674;POINT (-38.566702 -3.2309)'))) / (select extract(epoch from '2026-05-28 16:34:43'::timestamp) - extract(epoch from '2026-05-28 16:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566664 -3.230941)'), GeomFromEWKT('SRID=4674;POINT (-38.566702 -3.2309)'))) / (select extract(epoch from '2026-05-28 16:34:43'::timestamp) - extract(epoch from '2026-05-28 16:34: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'), 46535, 'SRID=4674;POINT (-38.56674 -3.230848)', '2026-05-28 16:34:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566702 -3.2309)'), GeomFromEWKT('SRID=4674;POINT (-38.56674 -3.230848)'))) / (select extract(epoch from '2026-05-28 16:34:52'::timestamp) - extract(epoch from '2026-05-28 16:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566702 -3.2309)'), GeomFromEWKT('SRID=4674;POINT (-38.56674 -3.230848)'))) / (select extract(epoch from '2026-05-28 16:34:52'::timestamp) - extract(epoch from '2026-05-28 16:34: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'), 46535, 'SRID=4674;POINT (-38.56675 -3.230841)', '2026-05-28 16:34:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56674 -3.230848)'), GeomFromEWKT('SRID=4674;POINT (-38.56675 -3.230841)'))) / (select extract(epoch from '2026-05-28 16:34:53'::timestamp) - extract(epoch from '2026-05-28 16:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56674 -3.230848)'), GeomFromEWKT('SRID=4674;POINT (-38.56675 -3.230841)'))) / (select extract(epoch from '2026-05-28 16:34:53'::timestamp) - extract(epoch from '2026-05-28 16:34:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566778 -3.230808)', '2026-05-28 16:34:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56675 -3.230841)'), GeomFromEWKT('SRID=4674;POINT (-38.566778 -3.230808)'))) / (select extract(epoch from '2026-05-28 16:34:59'::timestamp) - extract(epoch from '2026-05-28 16:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56675 -3.230841)'), GeomFromEWKT('SRID=4674;POINT (-38.566778 -3.230808)'))) / (select extract(epoch from '2026-05-28 16:34:59'::timestamp) - extract(epoch from '2026-05-28 16:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566817 -3.230761)', '2026-05-28 16:35:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566778 -3.230808)'), GeomFromEWKT('SRID=4674;POINT (-38.566817 -3.230761)'))) / (select extract(epoch from '2026-05-28 16:35:09'::timestamp) - extract(epoch from '2026-05-28 16:34:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566778 -3.230808)'), GeomFromEWKT('SRID=4674;POINT (-38.566817 -3.230761)'))) / (select extract(epoch from '2026-05-28 16:35:09'::timestamp) - extract(epoch from '2026-05-28 16:34:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566833 -3.230761)', '2026-05-28 16:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566817 -3.230761)'), GeomFromEWKT('SRID=4674;POINT (-38.566833 -3.230761)'))) / (select extract(epoch from '2026-05-28 16:35:10'::timestamp) - extract(epoch from '2026-05-28 16:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566817 -3.230761)'), GeomFromEWKT('SRID=4674;POINT (-38.566833 -3.230761)'))) / (select extract(epoch from '2026-05-28 16:35:10'::timestamp) - extract(epoch from '2026-05-28 16:35:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
