 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.506617 -3.513692)', '2026-05-27 11:27:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506616 -3.513828)'), GeomFromEWKT('SRID=4674;POINT (-38.506617 -3.513692)'))) / (select extract(epoch from '2026-05-27 11:27:25'::timestamp) - extract(epoch from '2026-05-27 11:27:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506616 -3.513828)'), GeomFromEWKT('SRID=4674;POINT (-38.506617 -3.513692)'))) / (select extract(epoch from '2026-05-27 11:27:25'::timestamp) - extract(epoch from '2026-05-27 11:27: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.506625 -3.513532)', '2026-05-27 11:27:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506617 -3.513692)'), GeomFromEWKT('SRID=4674;POINT (-38.506625 -3.513532)'))) / (select extract(epoch from '2026-05-27 11:27:32'::timestamp) - extract(epoch from '2026-05-27 11:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506617 -3.513692)'), GeomFromEWKT('SRID=4674;POINT (-38.506625 -3.513532)'))) / (select extract(epoch from '2026-05-27 11:27:32'::timestamp) - extract(epoch from '2026-05-27 11:27: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.506644 -3.51341)', '2026-05-27 11:27:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506625 -3.513532)'), GeomFromEWKT('SRID=4674;POINT (-38.506644 -3.51341)'))) / (select extract(epoch from '2026-05-27 11:27:37'::timestamp) - extract(epoch from '2026-05-27 11:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506625 -3.513532)'), GeomFromEWKT('SRID=4674;POINT (-38.506644 -3.51341)'))) / (select extract(epoch from '2026-05-27 11:27:37'::timestamp) - extract(epoch from '2026-05-27 11:27:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.506673 -3.513285)', '2026-05-27 11:27:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506644 -3.51341)'), GeomFromEWKT('SRID=4674;POINT (-38.506673 -3.513285)'))) / (select extract(epoch from '2026-05-27 11:27:42'::timestamp) - extract(epoch from '2026-05-27 11:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506644 -3.51341)'), GeomFromEWKT('SRID=4674;POINT (-38.506673 -3.513285)'))) / (select extract(epoch from '2026-05-27 11:27:42'::timestamp) - extract(epoch from '2026-05-27 11:27: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.506719 -3.513136)', '2026-05-27 11:27:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506673 -3.513285)'), GeomFromEWKT('SRID=4674;POINT (-38.506719 -3.513136)'))) / (select extract(epoch from '2026-05-27 11:27:48'::timestamp) - extract(epoch from '2026-05-27 11:27:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506673 -3.513285)'), GeomFromEWKT('SRID=4674;POINT (-38.506719 -3.513136)'))) / (select extract(epoch from '2026-05-27 11:27:48'::timestamp) - extract(epoch from '2026-05-27 11:27: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.50676 -3.513007)', '2026-05-27 11:27:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506719 -3.513136)'), GeomFromEWKT('SRID=4674;POINT (-38.50676 -3.513007)'))) / (select extract(epoch from '2026-05-27 11:27:53'::timestamp) - extract(epoch from '2026-05-27 11:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506719 -3.513136)'), GeomFromEWKT('SRID=4674;POINT (-38.50676 -3.513007)'))) / (select extract(epoch from '2026-05-27 11:27:53'::timestamp) - extract(epoch from '2026-05-27 11:27: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.506835 -3.51284)', '2026-05-27 11:28:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50676 -3.513007)'), GeomFromEWKT('SRID=4674;POINT (-38.506835 -3.51284)'))) / (select extract(epoch from '2026-05-27 11:28:00'::timestamp) - extract(epoch from '2026-05-27 11:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50676 -3.513007)'), GeomFromEWKT('SRID=4674;POINT (-38.506835 -3.51284)'))) / (select extract(epoch from '2026-05-27 11:28:00'::timestamp) - extract(epoch from '2026-05-27 11:27: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.506893 -3.512699)', '2026-05-27 11:28:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506835 -3.51284)'), GeomFromEWKT('SRID=4674;POINT (-38.506893 -3.512699)'))) / (select extract(epoch from '2026-05-27 11:28:06'::timestamp) - extract(epoch from '2026-05-27 11:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506835 -3.51284)'), GeomFromEWKT('SRID=4674;POINT (-38.506893 -3.512699)'))) / (select extract(epoch from '2026-05-27 11:28:06'::timestamp) - extract(epoch from '2026-05-27 11:28: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.506941 -3.512565)', '2026-05-27 11:28:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506893 -3.512699)'), GeomFromEWKT('SRID=4674;POINT (-38.506941 -3.512565)'))) / (select extract(epoch from '2026-05-27 11:28:12'::timestamp) - extract(epoch from '2026-05-27 11:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506893 -3.512699)'), GeomFromEWKT('SRID=4674;POINT (-38.506941 -3.512565)'))) / (select extract(epoch from '2026-05-27 11:28:12'::timestamp) - extract(epoch from '2026-05-27 11:28: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.506969 -3.512456)', '2026-05-27 11:28:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506941 -3.512565)'), GeomFromEWKT('SRID=4674;POINT (-38.506969 -3.512456)'))) / (select extract(epoch from '2026-05-27 11:28:17'::timestamp) - extract(epoch from '2026-05-27 11:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506941 -3.512565)'), GeomFromEWKT('SRID=4674;POINT (-38.506969 -3.512456)'))) / (select extract(epoch from '2026-05-27 11:28:17'::timestamp) - extract(epoch from '2026-05-27 11: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.507038 -3.512276)', '2026-05-27 11:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506969 -3.512456)'), GeomFromEWKT('SRID=4674;POINT (-38.507038 -3.512276)'))) / (select extract(epoch from '2026-05-27 11:28:25'::timestamp) - extract(epoch from '2026-05-27 11:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.506969 -3.512456)'), GeomFromEWKT('SRID=4674;POINT (-38.507038 -3.512276)'))) / (select extract(epoch from '2026-05-27 11:28:25'::timestamp) - extract(epoch from '2026-05-27 11:28: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.507102 -3.512177)', '2026-05-27 11:28:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507038 -3.512276)'), GeomFromEWKT('SRID=4674;POINT (-38.507102 -3.512177)'))) / (select extract(epoch from '2026-05-27 11:28:30'::timestamp) - extract(epoch from '2026-05-27 11:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507038 -3.512276)'), GeomFromEWKT('SRID=4674;POINT (-38.507102 -3.512177)'))) / (select extract(epoch from '2026-05-27 11:28:30'::timestamp) - extract(epoch from '2026-05-27 11:28: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.507175 -3.512021)', '2026-05-27 11:28:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507102 -3.512177)'), GeomFromEWKT('SRID=4674;POINT (-38.507175 -3.512021)'))) / (select extract(epoch from '2026-05-27 11:28:37'::timestamp) - extract(epoch from '2026-05-27 11:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507102 -3.512177)'), GeomFromEWKT('SRID=4674;POINT (-38.507175 -3.512021)'))) / (select extract(epoch from '2026-05-27 11:28:37'::timestamp) - extract(epoch from '2026-05-27 11:28: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.50726 -3.511864)', '2026-05-27 11:28:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507175 -3.512021)'), GeomFromEWKT('SRID=4674;POINT (-38.50726 -3.511864)'))) / (select extract(epoch from '2026-05-27 11:28:44'::timestamp) - extract(epoch from '2026-05-27 11:28:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507175 -3.512021)'), GeomFromEWKT('SRID=4674;POINT (-38.50726 -3.511864)'))) / (select extract(epoch from '2026-05-27 11:28:44'::timestamp) - extract(epoch from '2026-05-27 11:28: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.507369 -3.511747)', '2026-05-27 11:28:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50726 -3.511864)'), GeomFromEWKT('SRID=4674;POINT (-38.507369 -3.511747)'))) / (select extract(epoch from '2026-05-27 11:28:50'::timestamp) - extract(epoch from '2026-05-27 11:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50726 -3.511864)'), GeomFromEWKT('SRID=4674;POINT (-38.507369 -3.511747)'))) / (select extract(epoch from '2026-05-27 11:28:50'::timestamp) - extract(epoch from '2026-05-27 11:28: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.507464 -3.511655)', '2026-05-27 11:28:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507369 -3.511747)'), GeomFromEWKT('SRID=4674;POINT (-38.507464 -3.511655)'))) / (select extract(epoch from '2026-05-27 11:28:55'::timestamp) - extract(epoch from '2026-05-27 11:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507369 -3.511747)'), GeomFromEWKT('SRID=4674;POINT (-38.507464 -3.511655)'))) / (select extract(epoch from '2026-05-27 11:28:55'::timestamp) - extract(epoch from '2026-05-27 11: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.507544 -3.511532)', '2026-05-27 11:29:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507464 -3.511655)'), GeomFromEWKT('SRID=4674;POINT (-38.507544 -3.511532)'))) / (select extract(epoch from '2026-05-27 11:29:01'::timestamp) - extract(epoch from '2026-05-27 11:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507464 -3.511655)'), GeomFromEWKT('SRID=4674;POINT (-38.507544 -3.511532)'))) / (select extract(epoch from '2026-05-27 11:29:01'::timestamp) - extract(epoch from '2026-05-27 11: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.507622 -3.511337)', '2026-05-27 11:29:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507544 -3.511532)'), GeomFromEWKT('SRID=4674;POINT (-38.507622 -3.511337)'))) / (select extract(epoch from '2026-05-27 11:29:09'::timestamp) - extract(epoch from '2026-05-27 11:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507544 -3.511532)'), GeomFromEWKT('SRID=4674;POINT (-38.507622 -3.511337)'))) / (select extract(epoch from '2026-05-27 11:29:09'::timestamp) - extract(epoch from '2026-05-27 11: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.507678 -3.511196)', '2026-05-27 11:29:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507622 -3.511337)'), GeomFromEWKT('SRID=4674;POINT (-38.507678 -3.511196)'))) / (select extract(epoch from '2026-05-27 11:29:15'::timestamp) - extract(epoch from '2026-05-27 11:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507622 -3.511337)'), GeomFromEWKT('SRID=4674;POINT (-38.507678 -3.511196)'))) / (select extract(epoch from '2026-05-27 11:29:15'::timestamp) - extract(epoch from '2026-05-27 11:29: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.507729 -3.511075)', '2026-05-27 11:29:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507678 -3.511196)'), GeomFromEWKT('SRID=4674;POINT (-38.507729 -3.511075)'))) / (select extract(epoch from '2026-05-27 11:29:20'::timestamp) - extract(epoch from '2026-05-27 11:29:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507678 -3.511196)'), GeomFromEWKT('SRID=4674;POINT (-38.507729 -3.511075)'))) / (select extract(epoch from '2026-05-27 11:29:20'::timestamp) - extract(epoch from '2026-05-27 11:29: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.507794 -3.510938)', '2026-05-27 11:29:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507729 -3.511075)'), GeomFromEWKT('SRID=4674;POINT (-38.507794 -3.510938)'))) / (select extract(epoch from '2026-05-27 11:29:26'::timestamp) - extract(epoch from '2026-05-27 11:29:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507729 -3.511075)'), GeomFromEWKT('SRID=4674;POINT (-38.507794 -3.510938)'))) / (select extract(epoch from '2026-05-27 11:29:26'::timestamp) - extract(epoch from '2026-05-27 11:29: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.507835 -3.510829)', '2026-05-27 11:29:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507794 -3.510938)'), GeomFromEWKT('SRID=4674;POINT (-38.507835 -3.510829)'))) / (select extract(epoch from '2026-05-27 11:29:31'::timestamp) - extract(epoch from '2026-05-27 11:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507794 -3.510938)'), GeomFromEWKT('SRID=4674;POINT (-38.507835 -3.510829)'))) / (select extract(epoch from '2026-05-27 11:29:31'::timestamp) - extract(epoch from '2026-05-27 11:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.507878 -3.51067)', '2026-05-27 11:29:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507835 -3.510829)'), GeomFromEWKT('SRID=4674;POINT (-38.507878 -3.51067)'))) / (select extract(epoch from '2026-05-27 11:29:38'::timestamp) - extract(epoch from '2026-05-27 11:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507835 -3.510829)'), GeomFromEWKT('SRID=4674;POINT (-38.507878 -3.51067)'))) / (select extract(epoch from '2026-05-27 11:29:38'::timestamp) - extract(epoch from '2026-05-27 11:29: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.507927 -3.510563)', '2026-05-27 11:29:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507878 -3.51067)'), GeomFromEWKT('SRID=4674;POINT (-38.507927 -3.510563)'))) / (select extract(epoch from '2026-05-27 11:29:43'::timestamp) - extract(epoch from '2026-05-27 11:29:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507878 -3.51067)'), GeomFromEWKT('SRID=4674;POINT (-38.507927 -3.510563)'))) / (select extract(epoch from '2026-05-27 11:29:43'::timestamp) - extract(epoch from '2026-05-27 11: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.507974 -3.510436)', '2026-05-27 11:29:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507927 -3.510563)'), GeomFromEWKT('SRID=4674;POINT (-38.507974 -3.510436)'))) / (select extract(epoch from '2026-05-27 11:29:49'::timestamp) - extract(epoch from '2026-05-27 11:29:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507927 -3.510563)'), GeomFromEWKT('SRID=4674;POINT (-38.507974 -3.510436)'))) / (select extract(epoch from '2026-05-27 11:29:49'::timestamp) - extract(epoch from '2026-05-27 11:29: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.508015 -3.51031)', '2026-05-27 11:29:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507974 -3.510436)'), GeomFromEWKT('SRID=4674;POINT (-38.508015 -3.51031)'))) / (select extract(epoch from '2026-05-27 11:29:55'::timestamp) - extract(epoch from '2026-05-27 11:29:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.507974 -3.510436)'), GeomFromEWKT('SRID=4674;POINT (-38.508015 -3.51031)'))) / (select extract(epoch from '2026-05-27 11:29:55'::timestamp) - extract(epoch from '2026-05-27 11:29: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.508054 -3.510182)', '2026-05-27 11:30:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508015 -3.51031)'), GeomFromEWKT('SRID=4674;POINT (-38.508054 -3.510182)'))) / (select extract(epoch from '2026-05-27 11:30:01'::timestamp) - extract(epoch from '2026-05-27 11:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508015 -3.51031)'), GeomFromEWKT('SRID=4674;POINT (-38.508054 -3.510182)'))) / (select extract(epoch from '2026-05-27 11:30:01'::timestamp) - extract(epoch from '2026-05-27 11: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.508083 -3.510079)', '2026-05-27 11:30:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508054 -3.510182)'), GeomFromEWKT('SRID=4674;POINT (-38.508083 -3.510079)'))) / (select extract(epoch from '2026-05-27 11:30:06'::timestamp) - extract(epoch from '2026-05-27 11:30:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508054 -3.510182)'), GeomFromEWKT('SRID=4674;POINT (-38.508083 -3.510079)'))) / (select extract(epoch from '2026-05-27 11:30:06'::timestamp) - extract(epoch from '2026-05-27 11:30: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.508129 -3.509911)', '2026-05-27 11:30:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508083 -3.510079)'), GeomFromEWKT('SRID=4674;POINT (-38.508129 -3.509911)'))) / (select extract(epoch from '2026-05-27 11:30:14'::timestamp) - extract(epoch from '2026-05-27 11:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508083 -3.510079)'), GeomFromEWKT('SRID=4674;POINT (-38.508129 -3.509911)'))) / (select extract(epoch from '2026-05-27 11:30:14'::timestamp) - extract(epoch from '2026-05-27 11:30: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.508174 -3.509784)', '2026-05-27 11:30:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508129 -3.509911)'), GeomFromEWKT('SRID=4674;POINT (-38.508174 -3.509784)'))) / (select extract(epoch from '2026-05-27 11:30:20'::timestamp) - extract(epoch from '2026-05-27 11:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508129 -3.509911)'), GeomFromEWKT('SRID=4674;POINT (-38.508174 -3.509784)'))) / (select extract(epoch from '2026-05-27 11:30:20'::timestamp) - extract(epoch from '2026-05-27 11: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.508234 -3.509655)', '2026-05-27 11:30:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508174 -3.509784)'), GeomFromEWKT('SRID=4674;POINT (-38.508234 -3.509655)'))) / (select extract(epoch from '2026-05-27 11:30:26'::timestamp) - extract(epoch from '2026-05-27 11:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508174 -3.509784)'), GeomFromEWKT('SRID=4674;POINT (-38.508234 -3.509655)'))) / (select extract(epoch from '2026-05-27 11:30:26'::timestamp) - extract(epoch from '2026-05-27 11:30:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.508299 -3.509502)', '2026-05-27 11:30:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508234 -3.509655)'), GeomFromEWKT('SRID=4674;POINT (-38.508299 -3.509502)'))) / (select extract(epoch from '2026-05-27 11:30:33'::timestamp) - extract(epoch from '2026-05-27 11:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508234 -3.509655)'), GeomFromEWKT('SRID=4674;POINT (-38.508299 -3.509502)'))) / (select extract(epoch from '2026-05-27 11:30:33'::timestamp) - extract(epoch from '2026-05-27 11: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.508346 -3.509325)', '2026-05-27 11:30:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508299 -3.509502)'), GeomFromEWKT('SRID=4674;POINT (-38.508346 -3.509325)'))) / (select extract(epoch from '2026-05-27 11:30:41'::timestamp) - extract(epoch from '2026-05-27 11:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508299 -3.509502)'), GeomFromEWKT('SRID=4674;POINT (-38.508346 -3.509325)'))) / (select extract(epoch from '2026-05-27 11:30:41'::timestamp) - extract(epoch from '2026-05-27 11:30:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.508395 -3.509161)', '2026-05-27 11:30:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508346 -3.509325)'), GeomFromEWKT('SRID=4674;POINT (-38.508395 -3.509161)'))) / (select extract(epoch from '2026-05-27 11:30:48'::timestamp) - extract(epoch from '2026-05-27 11:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508346 -3.509325)'), GeomFromEWKT('SRID=4674;POINT (-38.508395 -3.509161)'))) / (select extract(epoch from '2026-05-27 11:30:48'::timestamp) - extract(epoch from '2026-05-27 11: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.508443 -3.508998)', '2026-05-27 11:30:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508395 -3.509161)'), GeomFromEWKT('SRID=4674;POINT (-38.508443 -3.508998)'))) / (select extract(epoch from '2026-05-27 11:30:55'::timestamp) - extract(epoch from '2026-05-27 11:30:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508395 -3.509161)'), GeomFromEWKT('SRID=4674;POINT (-38.508443 -3.508998)'))) / (select extract(epoch from '2026-05-27 11:30:55'::timestamp) - extract(epoch from '2026-05-27 11:30: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.508493 -3.508876)', '2026-05-27 11:31:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508443 -3.508998)'), GeomFromEWKT('SRID=4674;POINT (-38.508493 -3.508876)'))) / (select extract(epoch from '2026-05-27 11:31:00'::timestamp) - extract(epoch from '2026-05-27 11:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508443 -3.508998)'), GeomFromEWKT('SRID=4674;POINT (-38.508493 -3.508876)'))) / (select extract(epoch from '2026-05-27 11:31:00'::timestamp) - extract(epoch from '2026-05-27 11:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.508548 -3.508737)', '2026-05-27 11:31:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508493 -3.508876)'), GeomFromEWKT('SRID=4674;POINT (-38.508548 -3.508737)'))) / (select extract(epoch from '2026-05-27 11:31:06'::timestamp) - extract(epoch from '2026-05-27 11:31:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508493 -3.508876)'), GeomFromEWKT('SRID=4674;POINT (-38.508548 -3.508737)'))) / (select extract(epoch from '2026-05-27 11:31:06'::timestamp) - extract(epoch from '2026-05-27 11:31: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.508597 -3.508625)', '2026-05-27 11:31:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508548 -3.508737)'), GeomFromEWKT('SRID=4674;POINT (-38.508597 -3.508625)'))) / (select extract(epoch from '2026-05-27 11:31:11'::timestamp) - extract(epoch from '2026-05-27 11:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508548 -3.508737)'), GeomFromEWKT('SRID=4674;POINT (-38.508597 -3.508625)'))) / (select extract(epoch from '2026-05-27 11:31:11'::timestamp) - extract(epoch from '2026-05-27 11:31: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.508634 -3.508524)', '2026-05-27 11:31:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508597 -3.508625)'), GeomFromEWKT('SRID=4674;POINT (-38.508634 -3.508524)'))) / (select extract(epoch from '2026-05-27 11:31:16'::timestamp) - extract(epoch from '2026-05-27 11:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508597 -3.508625)'), GeomFromEWKT('SRID=4674;POINT (-38.508634 -3.508524)'))) / (select extract(epoch from '2026-05-27 11:31:16'::timestamp) - extract(epoch from '2026-05-27 11:31: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.508666 -3.50841)', '2026-05-27 11:31:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508634 -3.508524)'), GeomFromEWKT('SRID=4674;POINT (-38.508666 -3.50841)'))) / (select extract(epoch from '2026-05-27 11:31:21'::timestamp) - extract(epoch from '2026-05-27 11:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508634 -3.508524)'), GeomFromEWKT('SRID=4674;POINT (-38.508666 -3.50841)'))) / (select extract(epoch from '2026-05-27 11:31:21'::timestamp) - extract(epoch from '2026-05-27 11:31: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.508722 -3.508292)', '2026-05-27 11:31:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508666 -3.50841)'), GeomFromEWKT('SRID=4674;POINT (-38.508722 -3.508292)'))) / (select extract(epoch from '2026-05-27 11:31:26'::timestamp) - extract(epoch from '2026-05-27 11:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508666 -3.50841)'), GeomFromEWKT('SRID=4674;POINT (-38.508722 -3.508292)'))) / (select extract(epoch from '2026-05-27 11:31:26'::timestamp) - extract(epoch from '2026-05-27 11:31: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.508768 -3.508176)', '2026-05-27 11:31:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508722 -3.508292)'), GeomFromEWKT('SRID=4674;POINT (-38.508768 -3.508176)'))) / (select extract(epoch from '2026-05-27 11:31:31'::timestamp) - extract(epoch from '2026-05-27 11:31:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508722 -3.508292)'), GeomFromEWKT('SRID=4674;POINT (-38.508768 -3.508176)'))) / (select extract(epoch from '2026-05-27 11:31:31'::timestamp) - extract(epoch from '2026-05-27 11: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.508811 -3.508068)', '2026-05-27 11:31:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508768 -3.508176)'), GeomFromEWKT('SRID=4674;POINT (-38.508811 -3.508068)'))) / (select extract(epoch from '2026-05-27 11:31:36'::timestamp) - extract(epoch from '2026-05-27 11:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508768 -3.508176)'), GeomFromEWKT('SRID=4674;POINT (-38.508811 -3.508068)'))) / (select extract(epoch from '2026-05-27 11:31:36'::timestamp) - extract(epoch from '2026-05-27 11: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.508853 -3.507953)', '2026-05-27 11:31:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508811 -3.508068)'), GeomFromEWKT('SRID=4674;POINT (-38.508853 -3.507953)'))) / (select extract(epoch from '2026-05-27 11:31:41'::timestamp) - extract(epoch from '2026-05-27 11:31:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508811 -3.508068)'), GeomFromEWKT('SRID=4674;POINT (-38.508853 -3.507953)'))) / (select extract(epoch from '2026-05-27 11:31:41'::timestamp) - extract(epoch from '2026-05-27 11:31: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.508901 -3.50783)', '2026-05-27 11:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508853 -3.507953)'), GeomFromEWKT('SRID=4674;POINT (-38.508901 -3.50783)'))) / (select extract(epoch from '2026-05-27 11:31:46'::timestamp) - extract(epoch from '2026-05-27 11:31:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508853 -3.507953)'), GeomFromEWKT('SRID=4674;POINT (-38.508901 -3.50783)'))) / (select extract(epoch from '2026-05-27 11:31:46'::timestamp) - extract(epoch from '2026-05-27 11:31: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.508946 -3.507702)', '2026-05-27 11:31:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508901 -3.50783)'), GeomFromEWKT('SRID=4674;POINT (-38.508946 -3.507702)'))) / (select extract(epoch from '2026-05-27 11:31:51'::timestamp) - extract(epoch from '2026-05-27 11:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508901 -3.50783)'), GeomFromEWKT('SRID=4674;POINT (-38.508946 -3.507702)'))) / (select extract(epoch from '2026-05-27 11:31:51'::timestamp) - extract(epoch from '2026-05-27 11:31:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.508997 -3.507564)', '2026-05-27 11:31:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508946 -3.507702)'), GeomFromEWKT('SRID=4674;POINT (-38.508997 -3.507564)'))) / (select extract(epoch from '2026-05-27 11:31:57'::timestamp) - extract(epoch from '2026-05-27 11:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508946 -3.507702)'), GeomFromEWKT('SRID=4674;POINT (-38.508997 -3.507564)'))) / (select extract(epoch from '2026-05-27 11:31:57'::timestamp) - extract(epoch from '2026-05-27 11:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.509028 -3.507445)', '2026-05-27 11:32:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508997 -3.507564)'), GeomFromEWKT('SRID=4674;POINT (-38.509028 -3.507445)'))) / (select extract(epoch from '2026-05-27 11:32:02'::timestamp) - extract(epoch from '2026-05-27 11:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.508997 -3.507564)'), GeomFromEWKT('SRID=4674;POINT (-38.509028 -3.507445)'))) / (select extract(epoch from '2026-05-27 11:32:02'::timestamp) - extract(epoch from '2026-05-27 11:31: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.509055 -3.507327)', '2026-05-27 11:32:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509028 -3.507445)'), GeomFromEWKT('SRID=4674;POINT (-38.509055 -3.507327)'))) / (select extract(epoch from '2026-05-27 11:32:07'::timestamp) - extract(epoch from '2026-05-27 11:32:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509028 -3.507445)'), GeomFromEWKT('SRID=4674;POINT (-38.509055 -3.507327)'))) / (select extract(epoch from '2026-05-27 11:32:07'::timestamp) - extract(epoch from '2026-05-27 11:32: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.509108 -3.507183)', '2026-05-27 11:32:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509055 -3.507327)'), GeomFromEWKT('SRID=4674;POINT (-38.509108 -3.507183)'))) / (select extract(epoch from '2026-05-27 11:32:13'::timestamp) - extract(epoch from '2026-05-27 11:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509055 -3.507327)'), GeomFromEWKT('SRID=4674;POINT (-38.509108 -3.507183)'))) / (select extract(epoch from '2026-05-27 11:32:13'::timestamp) - extract(epoch from '2026-05-27 11:32: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.509175 -3.507044)', '2026-05-27 11:32:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509108 -3.507183)'), GeomFromEWKT('SRID=4674;POINT (-38.509175 -3.507044)'))) / (select extract(epoch from '2026-05-27 11:32:19'::timestamp) - extract(epoch from '2026-05-27 11:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509108 -3.507183)'), GeomFromEWKT('SRID=4674;POINT (-38.509175 -3.507044)'))) / (select extract(epoch from '2026-05-27 11:32:19'::timestamp) - extract(epoch from '2026-05-27 11: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.509247 -3.50686)', '2026-05-27 11:32:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509175 -3.507044)'), GeomFromEWKT('SRID=4674;POINT (-38.509247 -3.50686)'))) / (select extract(epoch from '2026-05-27 11:32:27'::timestamp) - extract(epoch from '2026-05-27 11:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509175 -3.507044)'), GeomFromEWKT('SRID=4674;POINT (-38.509247 -3.50686)'))) / (select extract(epoch from '2026-05-27 11:32:27'::timestamp) - extract(epoch from '2026-05-27 11:32: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.509292 -3.506707)', '2026-05-27 11:32:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509247 -3.50686)'), GeomFromEWKT('SRID=4674;POINT (-38.509292 -3.506707)'))) / (select extract(epoch from '2026-05-27 11:32:34'::timestamp) - extract(epoch from '2026-05-27 11:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509247 -3.50686)'), GeomFromEWKT('SRID=4674;POINT (-38.509292 -3.506707)'))) / (select extract(epoch from '2026-05-27 11:32:34'::timestamp) - extract(epoch from '2026-05-27 11: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.509336 -3.506544)', '2026-05-27 11:32:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509292 -3.506707)'), GeomFromEWKT('SRID=4674;POINT (-38.509336 -3.506544)'))) / (select extract(epoch from '2026-05-27 11:32:41'::timestamp) - extract(epoch from '2026-05-27 11:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509292 -3.506707)'), GeomFromEWKT('SRID=4674;POINT (-38.509336 -3.506544)'))) / (select extract(epoch from '2026-05-27 11:32:41'::timestamp) - extract(epoch from '2026-05-27 11: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.509377 -3.506396)', '2026-05-27 11:32:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509336 -3.506544)'), GeomFromEWKT('SRID=4674;POINT (-38.509377 -3.506396)'))) / (select extract(epoch from '2026-05-27 11:32:47'::timestamp) - extract(epoch from '2026-05-27 11:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509336 -3.506544)'), GeomFromEWKT('SRID=4674;POINT (-38.509377 -3.506396)'))) / (select extract(epoch from '2026-05-27 11:32:47'::timestamp) - extract(epoch from '2026-05-27 11:32: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.509425 -3.506226)', '2026-05-27 11:32:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509377 -3.506396)'), GeomFromEWKT('SRID=4674;POINT (-38.509425 -3.506226)'))) / (select extract(epoch from '2026-05-27 11:32:54'::timestamp) - extract(epoch from '2026-05-27 11:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509377 -3.506396)'), GeomFromEWKT('SRID=4674;POINT (-38.509425 -3.506226)'))) / (select extract(epoch from '2026-05-27 11:32:54'::timestamp) - extract(epoch from '2026-05-27 11: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.509474 -3.506122)', '2026-05-27 11:32:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509425 -3.506226)'), GeomFromEWKT('SRID=4674;POINT (-38.509474 -3.506122)'))) / (select extract(epoch from '2026-05-27 11:32:58'::timestamp) - extract(epoch from '2026-05-27 11:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509425 -3.506226)'), GeomFromEWKT('SRID=4674;POINT (-38.509474 -3.506122)'))) / (select extract(epoch from '2026-05-27 11:32:58'::timestamp) - extract(epoch from '2026-05-27 11:32:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.509514 -3.506015)', '2026-05-27 11:33:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509474 -3.506122)'), GeomFromEWKT('SRID=4674;POINT (-38.509514 -3.506015)'))) / (select extract(epoch from '2026-05-27 11:33:03'::timestamp) - extract(epoch from '2026-05-27 11:32:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509474 -3.506122)'), GeomFromEWKT('SRID=4674;POINT (-38.509514 -3.506015)'))) / (select extract(epoch from '2026-05-27 11:33:03'::timestamp) - extract(epoch from '2026-05-27 11:32: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.509569 -3.505857)', '2026-05-27 11:33:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509514 -3.506015)'), GeomFromEWKT('SRID=4674;POINT (-38.509569 -3.505857)'))) / (select extract(epoch from '2026-05-27 11:33:10'::timestamp) - extract(epoch from '2026-05-27 11:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509514 -3.506015)'), GeomFromEWKT('SRID=4674;POINT (-38.509569 -3.505857)'))) / (select extract(epoch from '2026-05-27 11:33:10'::timestamp) - extract(epoch from '2026-05-27 11:33:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.509602 -3.505748)', '2026-05-27 11:33:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509569 -3.505857)'), GeomFromEWKT('SRID=4674;POINT (-38.509602 -3.505748)'))) / (select extract(epoch from '2026-05-27 11:33:15'::timestamp) - extract(epoch from '2026-05-27 11:33:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509569 -3.505857)'), GeomFromEWKT('SRID=4674;POINT (-38.509602 -3.505748)'))) / (select extract(epoch from '2026-05-27 11:33:15'::timestamp) - extract(epoch from '2026-05-27 11: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.509646 -3.505627)', '2026-05-27 11:33:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509602 -3.505748)'), GeomFromEWKT('SRID=4674;POINT (-38.509646 -3.505627)'))) / (select extract(epoch from '2026-05-27 11:33:21'::timestamp) - extract(epoch from '2026-05-27 11:33:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509602 -3.505748)'), GeomFromEWKT('SRID=4674;POINT (-38.509646 -3.505627)'))) / (select extract(epoch from '2026-05-27 11:33:21'::timestamp) - extract(epoch from '2026-05-27 11:33: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.509683 -3.505494)', '2026-05-27 11:33:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509646 -3.505627)'), GeomFromEWKT('SRID=4674;POINT (-38.509683 -3.505494)'))) / (select extract(epoch from '2026-05-27 11:33:27'::timestamp) - extract(epoch from '2026-05-27 11:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509646 -3.505627)'), GeomFromEWKT('SRID=4674;POINT (-38.509683 -3.505494)'))) / (select extract(epoch from '2026-05-27 11:33:27'::timestamp) - extract(epoch from '2026-05-27 11:33:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.509727 -3.505352)', '2026-05-27 11:33:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509683 -3.505494)'), GeomFromEWKT('SRID=4674;POINT (-38.509727 -3.505352)'))) / (select extract(epoch from '2026-05-27 11:33:33'::timestamp) - extract(epoch from '2026-05-27 11:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509683 -3.505494)'), GeomFromEWKT('SRID=4674;POINT (-38.509727 -3.505352)'))) / (select extract(epoch from '2026-05-27 11:33:33'::timestamp) - extract(epoch from '2026-05-27 11: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.509769 -3.505196)', '2026-05-27 11:33:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509727 -3.505352)'), GeomFromEWKT('SRID=4674;POINT (-38.509769 -3.505196)'))) / (select extract(epoch from '2026-05-27 11:33:40'::timestamp) - extract(epoch from '2026-05-27 11:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509727 -3.505352)'), GeomFromEWKT('SRID=4674;POINT (-38.509769 -3.505196)'))) / (select extract(epoch from '2026-05-27 11:33:40'::timestamp) - extract(epoch from '2026-05-27 11:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.509797 -3.505058)', '2026-05-27 11:33:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509769 -3.505196)'), GeomFromEWKT('SRID=4674;POINT (-38.509797 -3.505058)'))) / (select extract(epoch from '2026-05-27 11:33:46'::timestamp) - extract(epoch from '2026-05-27 11:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509769 -3.505196)'), GeomFromEWKT('SRID=4674;POINT (-38.509797 -3.505058)'))) / (select extract(epoch from '2026-05-27 11:33:46'::timestamp) - extract(epoch from '2026-05-27 11:33: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.509828 -3.504913)', '2026-05-27 11:33:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509797 -3.505058)'), GeomFromEWKT('SRID=4674;POINT (-38.509828 -3.504913)'))) / (select extract(epoch from '2026-05-27 11:33:52'::timestamp) - extract(epoch from '2026-05-27 11:33:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509797 -3.505058)'), GeomFromEWKT('SRID=4674;POINT (-38.509828 -3.504913)'))) / (select extract(epoch from '2026-05-27 11:33:52'::timestamp) - extract(epoch from '2026-05-27 11:33:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.50986 -3.504747)', '2026-05-27 11:33:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509828 -3.504913)'), GeomFromEWKT('SRID=4674;POINT (-38.50986 -3.504747)'))) / (select extract(epoch from '2026-05-27 11:33:59'::timestamp) - extract(epoch from '2026-05-27 11:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509828 -3.504913)'), GeomFromEWKT('SRID=4674;POINT (-38.50986 -3.504747)'))) / (select extract(epoch from '2026-05-27 11:33:59'::timestamp) - extract(epoch from '2026-05-27 11:33: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.509907 -3.504617)', '2026-05-27 11:34:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50986 -3.504747)'), GeomFromEWKT('SRID=4674;POINT (-38.509907 -3.504617)'))) / (select extract(epoch from '2026-05-27 11:34:05'::timestamp) - extract(epoch from '2026-05-27 11:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.50986 -3.504747)'), GeomFromEWKT('SRID=4674;POINT (-38.509907 -3.504617)'))) / (select extract(epoch from '2026-05-27 11:34:05'::timestamp) - extract(epoch from '2026-05-27 11: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.509995 -3.50449)', '2026-05-27 11:34:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509907 -3.504617)'), GeomFromEWKT('SRID=4674;POINT (-38.509995 -3.50449)'))) / (select extract(epoch from '2026-05-27 11:34:12'::timestamp) - extract(epoch from '2026-05-27 11:34:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509907 -3.504617)'), GeomFromEWKT('SRID=4674;POINT (-38.509995 -3.50449)'))) / (select extract(epoch from '2026-05-27 11:34:12'::timestamp) - extract(epoch from '2026-05-27 11:34: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.510073 -3.504412)', '2026-05-27 11:34:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509995 -3.50449)'), GeomFromEWKT('SRID=4674;POINT (-38.510073 -3.504412)'))) / (select extract(epoch from '2026-05-27 11:34:17'::timestamp) - extract(epoch from '2026-05-27 11:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.509995 -3.50449)'), GeomFromEWKT('SRID=4674;POINT (-38.510073 -3.504412)'))) / (select extract(epoch from '2026-05-27 11:34:17'::timestamp) - extract(epoch from '2026-05-27 11:34: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.510165 -3.504309)', '2026-05-27 11:34:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510073 -3.504412)'), GeomFromEWKT('SRID=4674;POINT (-38.510165 -3.504309)'))) / (select extract(epoch from '2026-05-27 11:34:23'::timestamp) - extract(epoch from '2026-05-27 11:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510073 -3.504412)'), GeomFromEWKT('SRID=4674;POINT (-38.510165 -3.504309)'))) / (select extract(epoch from '2026-05-27 11:34:23'::timestamp) - extract(epoch from '2026-05-27 11:34: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.510228 -3.504223)', '2026-05-27 11:34:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510165 -3.504309)'), GeomFromEWKT('SRID=4674;POINT (-38.510228 -3.504223)'))) / (select extract(epoch from '2026-05-27 11:34:28'::timestamp) - extract(epoch from '2026-05-27 11:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510165 -3.504309)'), GeomFromEWKT('SRID=4674;POINT (-38.510228 -3.504223)'))) / (select extract(epoch from '2026-05-27 11:34:28'::timestamp) - extract(epoch from '2026-05-27 11:34: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.51029 -3.504111)', '2026-05-27 11:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510228 -3.504223)'), GeomFromEWKT('SRID=4674;POINT (-38.51029 -3.504111)'))) / (select extract(epoch from '2026-05-27 11:34:34'::timestamp) - extract(epoch from '2026-05-27 11:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510228 -3.504223)'), GeomFromEWKT('SRID=4674;POINT (-38.51029 -3.504111)'))) / (select extract(epoch from '2026-05-27 11:34:34'::timestamp) - extract(epoch from '2026-05-27 11: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.510348 -3.504007)', '2026-05-27 11:34:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51029 -3.504111)'), GeomFromEWKT('SRID=4674;POINT (-38.510348 -3.504007)'))) / (select extract(epoch from '2026-05-27 11:34:40'::timestamp) - extract(epoch from '2026-05-27 11:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51029 -3.504111)'), GeomFromEWKT('SRID=4674;POINT (-38.510348 -3.504007)'))) / (select extract(epoch from '2026-05-27 11:34:40'::timestamp) - extract(epoch from '2026-05-27 11:34: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.510409 -3.503897)', '2026-05-27 11:34:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510348 -3.504007)'), GeomFromEWKT('SRID=4674;POINT (-38.510409 -3.503897)'))) / (select extract(epoch from '2026-05-27 11:34:46'::timestamp) - extract(epoch from '2026-05-27 11:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510348 -3.504007)'), GeomFromEWKT('SRID=4674;POINT (-38.510409 -3.503897)'))) / (select extract(epoch from '2026-05-27 11:34:46'::timestamp) - extract(epoch from '2026-05-27 11:34: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.510449 -3.503795)', '2026-05-27 11:34:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510409 -3.503897)'), GeomFromEWKT('SRID=4674;POINT (-38.510449 -3.503795)'))) / (select extract(epoch from '2026-05-27 11:34:51'::timestamp) - extract(epoch from '2026-05-27 11:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510409 -3.503897)'), GeomFromEWKT('SRID=4674;POINT (-38.510449 -3.503795)'))) / (select extract(epoch from '2026-05-27 11:34:51'::timestamp) - extract(epoch from '2026-05-27 11:34: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.51049 -3.503685)', '2026-05-27 11:34:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510449 -3.503795)'), GeomFromEWKT('SRID=4674;POINT (-38.51049 -3.503685)'))) / (select extract(epoch from '2026-05-27 11:34:56'::timestamp) - extract(epoch from '2026-05-27 11:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510449 -3.503795)'), GeomFromEWKT('SRID=4674;POINT (-38.51049 -3.503685)'))) / (select extract(epoch from '2026-05-27 11:34:56'::timestamp) - extract(epoch from '2026-05-27 11:34: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.510522 -3.503569)', '2026-05-27 11:35:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51049 -3.503685)'), GeomFromEWKT('SRID=4674;POINT (-38.510522 -3.503569)'))) / (select extract(epoch from '2026-05-27 11:35:01'::timestamp) - extract(epoch from '2026-05-27 11:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51049 -3.503685)'), GeomFromEWKT('SRID=4674;POINT (-38.510522 -3.503569)'))) / (select extract(epoch from '2026-05-27 11:35:01'::timestamp) - extract(epoch from '2026-05-27 11:34: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.510561 -3.503449)', '2026-05-27 11:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510522 -3.503569)'), GeomFromEWKT('SRID=4674;POINT (-38.510561 -3.503449)'))) / (select extract(epoch from '2026-05-27 11:35:06'::timestamp) - extract(epoch from '2026-05-27 11:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510522 -3.503569)'), GeomFromEWKT('SRID=4674;POINT (-38.510561 -3.503449)'))) / (select extract(epoch from '2026-05-27 11:35:06'::timestamp) - extract(epoch from '2026-05-27 11:35: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.510624 -3.503342)', '2026-05-27 11:35:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510561 -3.503449)'), GeomFromEWKT('SRID=4674;POINT (-38.510624 -3.503342)'))) / (select extract(epoch from '2026-05-27 11:35:11'::timestamp) - extract(epoch from '2026-05-27 11:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510561 -3.503449)'), GeomFromEWKT('SRID=4674;POINT (-38.510624 -3.503342)'))) / (select extract(epoch from '2026-05-27 11:35:11'::timestamp) - extract(epoch from '2026-05-27 11:35: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.510693 -3.503216)', '2026-05-27 11:35:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510624 -3.503342)'), GeomFromEWKT('SRID=4674;POINT (-38.510693 -3.503216)'))) / (select extract(epoch from '2026-05-27 11:35:17'::timestamp) - extract(epoch from '2026-05-27 11:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510624 -3.503342)'), GeomFromEWKT('SRID=4674;POINT (-38.510693 -3.503216)'))) / (select extract(epoch from '2026-05-27 11:35:17'::timestamp) - extract(epoch from '2026-05-27 11:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.510749 -3.503109)', '2026-05-27 11:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510693 -3.503216)'), GeomFromEWKT('SRID=4674;POINT (-38.510749 -3.503109)'))) / (select extract(epoch from '2026-05-27 11:35:22'::timestamp) - extract(epoch from '2026-05-27 11:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510693 -3.503216)'), GeomFromEWKT('SRID=4674;POINT (-38.510749 -3.503109)'))) / (select extract(epoch from '2026-05-27 11:35:22'::timestamp) - extract(epoch from '2026-05-27 11:35: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.51079 -3.502943)', '2026-05-27 11:35:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510749 -3.503109)'), GeomFromEWKT('SRID=4674;POINT (-38.51079 -3.502943)'))) / (select extract(epoch from '2026-05-27 11:35:29'::timestamp) - extract(epoch from '2026-05-27 11:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510749 -3.503109)'), GeomFromEWKT('SRID=4674;POINT (-38.51079 -3.502943)'))) / (select extract(epoch from '2026-05-27 11:35:29'::timestamp) - extract(epoch from '2026-05-27 11:35: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.510841 -3.50275)', '2026-05-27 11:35:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51079 -3.502943)'), GeomFromEWKT('SRID=4674;POINT (-38.510841 -3.50275)'))) / (select extract(epoch from '2026-05-27 11:35:37'::timestamp) - extract(epoch from '2026-05-27 11:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51079 -3.502943)'), GeomFromEWKT('SRID=4674;POINT (-38.510841 -3.50275)'))) / (select extract(epoch from '2026-05-27 11:35:37'::timestamp) - extract(epoch from '2026-05-27 11:35: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.510905 -3.502594)', '2026-05-27 11:35:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510841 -3.50275)'), GeomFromEWKT('SRID=4674;POINT (-38.510905 -3.502594)'))) / (select extract(epoch from '2026-05-27 11:35:44'::timestamp) - extract(epoch from '2026-05-27 11:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510841 -3.50275)'), GeomFromEWKT('SRID=4674;POINT (-38.510905 -3.502594)'))) / (select extract(epoch from '2026-05-27 11:35:44'::timestamp) - extract(epoch from '2026-05-27 11:35:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.510985 -3.502474)', '2026-05-27 11:35:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510905 -3.502594)'), GeomFromEWKT('SRID=4674;POINT (-38.510985 -3.502474)'))) / (select extract(epoch from '2026-05-27 11:35:50'::timestamp) - extract(epoch from '2026-05-27 11:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510905 -3.502594)'), GeomFromEWKT('SRID=4674;POINT (-38.510985 -3.502474)'))) / (select extract(epoch from '2026-05-27 11:35:50'::timestamp) - extract(epoch from '2026-05-27 11:35: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.511083 -3.502377)', '2026-05-27 11:35:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510985 -3.502474)'), GeomFromEWKT('SRID=4674;POINT (-38.511083 -3.502377)'))) / (select extract(epoch from '2026-05-27 11:35:56'::timestamp) - extract(epoch from '2026-05-27 11:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.510985 -3.502474)'), GeomFromEWKT('SRID=4674;POINT (-38.511083 -3.502377)'))) / (select extract(epoch from '2026-05-27 11:35:56'::timestamp) - extract(epoch from '2026-05-27 11:35: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.511198 -3.502239)', '2026-05-27 11:36:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511083 -3.502377)'), GeomFromEWKT('SRID=4674;POINT (-38.511198 -3.502239)'))) / (select extract(epoch from '2026-05-27 11:36:04'::timestamp) - extract(epoch from '2026-05-27 11:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511083 -3.502377)'), GeomFromEWKT('SRID=4674;POINT (-38.511198 -3.502239)'))) / (select extract(epoch from '2026-05-27 11:36:04'::timestamp) - extract(epoch from '2026-05-27 11:35:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.511265 -3.502128)', '2026-05-27 11:36:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511198 -3.502239)'), GeomFromEWKT('SRID=4674;POINT (-38.511265 -3.502128)'))) / (select extract(epoch from '2026-05-27 11:36:10'::timestamp) - extract(epoch from '2026-05-27 11:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511198 -3.502239)'), GeomFromEWKT('SRID=4674;POINT (-38.511265 -3.502128)'))) / (select extract(epoch from '2026-05-27 11:36:10'::timestamp) - extract(epoch from '2026-05-27 11:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.511322 -3.502009)', '2026-05-27 11:36:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511265 -3.502128)'), GeomFromEWKT('SRID=4674;POINT (-38.511322 -3.502009)'))) / (select extract(epoch from '2026-05-27 11:36:16'::timestamp) - extract(epoch from '2026-05-27 11:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511265 -3.502128)'), GeomFromEWKT('SRID=4674;POINT (-38.511322 -3.502009)'))) / (select extract(epoch from '2026-05-27 11:36:16'::timestamp) - extract(epoch from '2026-05-27 11:36:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.511396 -3.501826)', '2026-05-27 11:36:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511322 -3.502009)'), GeomFromEWKT('SRID=4674;POINT (-38.511396 -3.501826)'))) / (select extract(epoch from '2026-05-27 11:36:24'::timestamp) - extract(epoch from '2026-05-27 11:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511322 -3.502009)'), GeomFromEWKT('SRID=4674;POINT (-38.511396 -3.501826)'))) / (select extract(epoch from '2026-05-27 11:36:24'::timestamp) - extract(epoch from '2026-05-27 11:36:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.511434 -3.501722)', '2026-05-27 11:36:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511396 -3.501826)'), GeomFromEWKT('SRID=4674;POINT (-38.511434 -3.501722)'))) / (select extract(epoch from '2026-05-27 11:36:29'::timestamp) - extract(epoch from '2026-05-27 11:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511396 -3.501826)'), GeomFromEWKT('SRID=4674;POINT (-38.511434 -3.501722)'))) / (select extract(epoch from '2026-05-27 11:36:29'::timestamp) - extract(epoch from '2026-05-27 11:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.511478 -3.5016)', '2026-05-27 11:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511434 -3.501722)'), GeomFromEWKT('SRID=4674;POINT (-38.511478 -3.5016)'))) / (select extract(epoch from '2026-05-27 11:36:34'::timestamp) - extract(epoch from '2026-05-27 11:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511434 -3.501722)'), GeomFromEWKT('SRID=4674;POINT (-38.511478 -3.5016)'))) / (select extract(epoch from '2026-05-27 11:36:34'::timestamp) - extract(epoch from '2026-05-27 11:36:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.511529 -3.501475)', '2026-05-27 11:36:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511478 -3.5016)'), GeomFromEWKT('SRID=4674;POINT (-38.511529 -3.501475)'))) / (select extract(epoch from '2026-05-27 11:36:39'::timestamp) - extract(epoch from '2026-05-27 11:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511478 -3.5016)'), GeomFromEWKT('SRID=4674;POINT (-38.511529 -3.501475)'))) / (select extract(epoch from '2026-05-27 11:36:39'::timestamp) - extract(epoch from '2026-05-27 11:36: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.511593 -3.501339)', '2026-05-27 11:36:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511529 -3.501475)'), GeomFromEWKT('SRID=4674;POINT (-38.511593 -3.501339)'))) / (select extract(epoch from '2026-05-27 11:36:45'::timestamp) - extract(epoch from '2026-05-27 11:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511529 -3.501475)'), GeomFromEWKT('SRID=4674;POINT (-38.511593 -3.501339)'))) / (select extract(epoch from '2026-05-27 11:36:45'::timestamp) - extract(epoch from '2026-05-27 11:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.511666 -3.501216)', '2026-05-27 11:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511593 -3.501339)'), GeomFromEWKT('SRID=4674;POINT (-38.511666 -3.501216)'))) / (select extract(epoch from '2026-05-27 11:36:51'::timestamp) - extract(epoch from '2026-05-27 11:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511593 -3.501339)'), GeomFromEWKT('SRID=4674;POINT (-38.511666 -3.501216)'))) / (select extract(epoch from '2026-05-27 11:36:51'::timestamp) - extract(epoch from '2026-05-27 11:36:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.511728 -3.501054)', '2026-05-27 11:36:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511666 -3.501216)'), GeomFromEWKT('SRID=4674;POINT (-38.511728 -3.501054)'))) / (select extract(epoch from '2026-05-27 11:36:58'::timestamp) - extract(epoch from '2026-05-27 11:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511666 -3.501216)'), GeomFromEWKT('SRID=4674;POINT (-38.511728 -3.501054)'))) / (select extract(epoch from '2026-05-27 11:36:58'::timestamp) - extract(epoch from '2026-05-27 11:36: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.511793 -3.50087)', '2026-05-27 11:37:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511728 -3.501054)'), GeomFromEWKT('SRID=4674;POINT (-38.511793 -3.50087)'))) / (select extract(epoch from '2026-05-27 11:37:06'::timestamp) - extract(epoch from '2026-05-27 11:36:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511728 -3.501054)'), GeomFromEWKT('SRID=4674;POINT (-38.511793 -3.50087)'))) / (select extract(epoch from '2026-05-27 11:37:06'::timestamp) - extract(epoch from '2026-05-27 11:36: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.511857 -3.500707)', '2026-05-27 11:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511793 -3.50087)'), GeomFromEWKT('SRID=4674;POINT (-38.511857 -3.500707)'))) / (select extract(epoch from '2026-05-27 11:37:13'::timestamp) - extract(epoch from '2026-05-27 11:37:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511793 -3.50087)'), GeomFromEWKT('SRID=4674;POINT (-38.511857 -3.500707)'))) / (select extract(epoch from '2026-05-27 11:37:13'::timestamp) - extract(epoch from '2026-05-27 11:37: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.511923 -3.500544)', '2026-05-27 11:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511857 -3.500707)'), GeomFromEWKT('SRID=4674;POINT (-38.511923 -3.500544)'))) / (select extract(epoch from '2026-05-27 11:37:20'::timestamp) - extract(epoch from '2026-05-27 11:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511857 -3.500707)'), GeomFromEWKT('SRID=4674;POINT (-38.511923 -3.500544)'))) / (select extract(epoch from '2026-05-27 11:37:20'::timestamp) - extract(epoch from '2026-05-27 11:37: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.512 -3.50041)', '2026-05-27 11:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511923 -3.500544)'), GeomFromEWKT('SRID=4674;POINT (-38.512 -3.50041)'))) / (select extract(epoch from '2026-05-27 11:37:26'::timestamp) - extract(epoch from '2026-05-27 11:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.511923 -3.500544)'), GeomFromEWKT('SRID=4674;POINT (-38.512 -3.50041)'))) / (select extract(epoch from '2026-05-27 11:37:26'::timestamp) - extract(epoch from '2026-05-27 11:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.51207 -3.500253)', '2026-05-27 11:37:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512 -3.50041)'), GeomFromEWKT('SRID=4674;POINT (-38.51207 -3.500253)'))) / (select extract(epoch from '2026-05-27 11:37:33'::timestamp) - extract(epoch from '2026-05-27 11:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512 -3.50041)'), GeomFromEWKT('SRID=4674;POINT (-38.51207 -3.500253)'))) / (select extract(epoch from '2026-05-27 11:37:33'::timestamp) - extract(epoch from '2026-05-27 11:37: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.512141 -3.500088)', '2026-05-27 11:37:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51207 -3.500253)'), GeomFromEWKT('SRID=4674;POINT (-38.512141 -3.500088)'))) / (select extract(epoch from '2026-05-27 11:37:40'::timestamp) - extract(epoch from '2026-05-27 11:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51207 -3.500253)'), GeomFromEWKT('SRID=4674;POINT (-38.512141 -3.500088)'))) / (select extract(epoch from '2026-05-27 11:37:40'::timestamp) - extract(epoch from '2026-05-27 11:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.512221 -3.499944)', '2026-05-27 11:37:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512141 -3.500088)'), GeomFromEWKT('SRID=4674;POINT (-38.512221 -3.499944)'))) / (select extract(epoch from '2026-05-27 11:37:47'::timestamp) - extract(epoch from '2026-05-27 11:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512141 -3.500088)'), GeomFromEWKT('SRID=4674;POINT (-38.512221 -3.499944)'))) / (select extract(epoch from '2026-05-27 11:37:47'::timestamp) - extract(epoch from '2026-05-27 11:37:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.512289 -3.499847)', '2026-05-27 11:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512221 -3.499944)'), GeomFromEWKT('SRID=4674;POINT (-38.512289 -3.499847)'))) / (select extract(epoch from '2026-05-27 11:37:52'::timestamp) - extract(epoch from '2026-05-27 11:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512221 -3.499944)'), GeomFromEWKT('SRID=4674;POINT (-38.512289 -3.499847)'))) / (select extract(epoch from '2026-05-27 11:37:52'::timestamp) - extract(epoch from '2026-05-27 11:37:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.512365 -3.499731)', '2026-05-27 11:37:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512289 -3.499847)'), GeomFromEWKT('SRID=4674;POINT (-38.512365 -3.499731)'))) / (select extract(epoch from '2026-05-27 11:37:58'::timestamp) - extract(epoch from '2026-05-27 11:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512289 -3.499847)'), GeomFromEWKT('SRID=4674;POINT (-38.512365 -3.499731)'))) / (select extract(epoch from '2026-05-27 11:37:58'::timestamp) - extract(epoch from '2026-05-27 11:37:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.512462 -3.499578)', '2026-05-27 11:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512365 -3.499731)'), GeomFromEWKT('SRID=4674;POINT (-38.512462 -3.499578)'))) / (select extract(epoch from '2026-05-27 11:38:06'::timestamp) - extract(epoch from '2026-05-27 11:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512365 -3.499731)'), GeomFromEWKT('SRID=4674;POINT (-38.512462 -3.499578)'))) / (select extract(epoch from '2026-05-27 11:38:06'::timestamp) - extract(epoch from '2026-05-27 11:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.512536 -3.499441)', '2026-05-27 11:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512462 -3.499578)'), GeomFromEWKT('SRID=4674;POINT (-38.512536 -3.499441)'))) / (select extract(epoch from '2026-05-27 11:38:13'::timestamp) - extract(epoch from '2026-05-27 11:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512462 -3.499578)'), GeomFromEWKT('SRID=4674;POINT (-38.512536 -3.499441)'))) / (select extract(epoch from '2026-05-27 11:38:13'::timestamp) - extract(epoch from '2026-05-27 11:38: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.512593 -3.499344)', '2026-05-27 11:38:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512536 -3.499441)'), GeomFromEWKT('SRID=4674;POINT (-38.512593 -3.499344)'))) / (select extract(epoch from '2026-05-27 11:38:18'::timestamp) - extract(epoch from '2026-05-27 11:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512536 -3.499441)'), GeomFromEWKT('SRID=4674;POINT (-38.512593 -3.499344)'))) / (select extract(epoch from '2026-05-27 11:38:18'::timestamp) - extract(epoch from '2026-05-27 11:38: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.512652 -3.499193)', '2026-05-27 11:38:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512593 -3.499344)'), GeomFromEWKT('SRID=4674;POINT (-38.512652 -3.499193)'))) / (select extract(epoch from '2026-05-27 11:38:25'::timestamp) - extract(epoch from '2026-05-27 11:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512593 -3.499344)'), GeomFromEWKT('SRID=4674;POINT (-38.512652 -3.499193)'))) / (select extract(epoch from '2026-05-27 11:38:25'::timestamp) - extract(epoch from '2026-05-27 11:38:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.512686 -3.499089)', '2026-05-27 11:38:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512652 -3.499193)'), GeomFromEWKT('SRID=4674;POINT (-38.512686 -3.499089)'))) / (select extract(epoch from '2026-05-27 11:38:30'::timestamp) - extract(epoch from '2026-05-27 11:38:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512652 -3.499193)'), GeomFromEWKT('SRID=4674;POINT (-38.512686 -3.499089)'))) / (select extract(epoch from '2026-05-27 11:38:30'::timestamp) - extract(epoch from '2026-05-27 11:38: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.512734 -3.49896)', '2026-05-27 11:38:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512686 -3.499089)'), GeomFromEWKT('SRID=4674;POINT (-38.512734 -3.49896)'))) / (select extract(epoch from '2026-05-27 11:38:36'::timestamp) - extract(epoch from '2026-05-27 11:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512686 -3.499089)'), GeomFromEWKT('SRID=4674;POINT (-38.512734 -3.49896)'))) / (select extract(epoch from '2026-05-27 11:38:36'::timestamp) - extract(epoch from '2026-05-27 11:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.512799 -3.498845)', '2026-05-27 11:38:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512734 -3.49896)'), GeomFromEWKT('SRID=4674;POINT (-38.512799 -3.498845)'))) / (select extract(epoch from '2026-05-27 11:38:42'::timestamp) - extract(epoch from '2026-05-27 11:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512734 -3.49896)'), GeomFromEWKT('SRID=4674;POINT (-38.512799 -3.498845)'))) / (select extract(epoch from '2026-05-27 11:38:42'::timestamp) - extract(epoch from '2026-05-27 11:38: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.512871 -3.498755)', '2026-05-27 11:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512799 -3.498845)'), GeomFromEWKT('SRID=4674;POINT (-38.512871 -3.498755)'))) / (select extract(epoch from '2026-05-27 11:38:47'::timestamp) - extract(epoch from '2026-05-27 11:38:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512799 -3.498845)'), GeomFromEWKT('SRID=4674;POINT (-38.512871 -3.498755)'))) / (select extract(epoch from '2026-05-27 11:38:47'::timestamp) - extract(epoch from '2026-05-27 11:38: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.512947 -3.498635)', '2026-05-27 11:38:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512871 -3.498755)'), GeomFromEWKT('SRID=4674;POINT (-38.512947 -3.498635)'))) / (select extract(epoch from '2026-05-27 11:38:53'::timestamp) - extract(epoch from '2026-05-27 11:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512871 -3.498755)'), GeomFromEWKT('SRID=4674;POINT (-38.512947 -3.498635)'))) / (select extract(epoch from '2026-05-27 11:38:53'::timestamp) - extract(epoch from '2026-05-27 11:38: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.512989 -3.498511)', '2026-05-27 11:38:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512947 -3.498635)'), GeomFromEWKT('SRID=4674;POINT (-38.512989 -3.498511)'))) / (select extract(epoch from '2026-05-27 11:38:59'::timestamp) - extract(epoch from '2026-05-27 11:38:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512947 -3.498635)'), GeomFromEWKT('SRID=4674;POINT (-38.512989 -3.498511)'))) / (select extract(epoch from '2026-05-27 11:38:59'::timestamp) - extract(epoch from '2026-05-27 11:38:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.513042 -3.498392)', '2026-05-27 11:39:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512989 -3.498511)'), GeomFromEWKT('SRID=4674;POINT (-38.513042 -3.498392)'))) / (select extract(epoch from '2026-05-27 11:39:05'::timestamp) - extract(epoch from '2026-05-27 11:38:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.512989 -3.498511)'), GeomFromEWKT('SRID=4674;POINT (-38.513042 -3.498392)'))) / (select extract(epoch from '2026-05-27 11:39:05'::timestamp) - extract(epoch from '2026-05-27 11:38: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.513098 -3.498306)', '2026-05-27 11:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513042 -3.498392)'), GeomFromEWKT('SRID=4674;POINT (-38.513098 -3.498306)'))) / (select extract(epoch from '2026-05-27 11:39:10'::timestamp) - extract(epoch from '2026-05-27 11:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513042 -3.498392)'), GeomFromEWKT('SRID=4674;POINT (-38.513098 -3.498306)'))) / (select extract(epoch from '2026-05-27 11:39:10'::timestamp) - extract(epoch from '2026-05-27 11:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.513146 -3.498197)', '2026-05-27 11:39:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513098 -3.498306)'), GeomFromEWKT('SRID=4674;POINT (-38.513146 -3.498197)'))) / (select extract(epoch from '2026-05-27 11:39:16'::timestamp) - extract(epoch from '2026-05-27 11:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513098 -3.498306)'), GeomFromEWKT('SRID=4674;POINT (-38.513146 -3.498197)'))) / (select extract(epoch from '2026-05-27 11:39:16'::timestamp) - extract(epoch from '2026-05-27 11:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.513201 -3.498094)', '2026-05-27 11:39:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513146 -3.498197)'), GeomFromEWKT('SRID=4674;POINT (-38.513201 -3.498094)'))) / (select extract(epoch from '2026-05-27 11:39:22'::timestamp) - extract(epoch from '2026-05-27 11:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513146 -3.498197)'), GeomFromEWKT('SRID=4674;POINT (-38.513201 -3.498094)'))) / (select extract(epoch from '2026-05-27 11:39:22'::timestamp) - extract(epoch from '2026-05-27 11:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.513253 -3.497943)', '2026-05-27 11:39:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513201 -3.498094)'), GeomFromEWKT('SRID=4674;POINT (-38.513253 -3.497943)'))) / (select extract(epoch from '2026-05-27 11:39:30'::timestamp) - extract(epoch from '2026-05-27 11:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513201 -3.498094)'), GeomFromEWKT('SRID=4674;POINT (-38.513253 -3.497943)'))) / (select extract(epoch from '2026-05-27 11:39:30'::timestamp) - extract(epoch from '2026-05-27 11:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.513302 -3.497815)', '2026-05-27 11:39:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513253 -3.497943)'), GeomFromEWKT('SRID=4674;POINT (-38.513302 -3.497815)'))) / (select extract(epoch from '2026-05-27 11:39:37'::timestamp) - extract(epoch from '2026-05-27 11:39:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513253 -3.497943)'), GeomFromEWKT('SRID=4674;POINT (-38.513302 -3.497815)'))) / (select extract(epoch from '2026-05-27 11:39:37'::timestamp) - extract(epoch from '2026-05-27 11:39:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.513351 -3.497694)', '2026-05-27 11:39:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513302 -3.497815)'), GeomFromEWKT('SRID=4674;POINT (-38.513351 -3.497694)'))) / (select extract(epoch from '2026-05-27 11:39:43'::timestamp) - extract(epoch from '2026-05-27 11:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513302 -3.497815)'), GeomFromEWKT('SRID=4674;POINT (-38.513351 -3.497694)'))) / (select extract(epoch from '2026-05-27 11:39:43'::timestamp) - extract(epoch from '2026-05-27 11:39: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.513408 -3.497539)', '2026-05-27 11:39:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513351 -3.497694)'), GeomFromEWKT('SRID=4674;POINT (-38.513408 -3.497539)'))) / (select extract(epoch from '2026-05-27 11:39:50'::timestamp) - extract(epoch from '2026-05-27 11:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513351 -3.497694)'), GeomFromEWKT('SRID=4674;POINT (-38.513408 -3.497539)'))) / (select extract(epoch from '2026-05-27 11:39:50'::timestamp) - extract(epoch from '2026-05-27 11:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.513454 -3.497434)', '2026-05-27 11:39:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513408 -3.497539)'), GeomFromEWKT('SRID=4674;POINT (-38.513454 -3.497434)'))) / (select extract(epoch from '2026-05-27 11:39:55'::timestamp) - extract(epoch from '2026-05-27 11:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513408 -3.497539)'), GeomFromEWKT('SRID=4674;POINT (-38.513454 -3.497434)'))) / (select extract(epoch from '2026-05-27 11:39:55'::timestamp) - extract(epoch from '2026-05-27 11:39:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.513496 -3.497321)', '2026-05-27 11:40:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513454 -3.497434)'), GeomFromEWKT('SRID=4674;POINT (-38.513496 -3.497321)'))) / (select extract(epoch from '2026-05-27 11:40:00'::timestamp) - extract(epoch from '2026-05-27 11:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513454 -3.497434)'), GeomFromEWKT('SRID=4674;POINT (-38.513496 -3.497321)'))) / (select extract(epoch from '2026-05-27 11:40:00'::timestamp) - extract(epoch from '2026-05-27 11:39:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.513567 -3.497197)', '2026-05-27 11:40:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513496 -3.497321)'), GeomFromEWKT('SRID=4674;POINT (-38.513567 -3.497197)'))) / (select extract(epoch from '2026-05-27 11:40:06'::timestamp) - extract(epoch from '2026-05-27 11:40:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513496 -3.497321)'), GeomFromEWKT('SRID=4674;POINT (-38.513567 -3.497197)'))) / (select extract(epoch from '2026-05-27 11:40:06'::timestamp) - extract(epoch from '2026-05-27 11:40:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.513628 -3.497103)', '2026-05-27 11:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513567 -3.497197)'), GeomFromEWKT('SRID=4674;POINT (-38.513628 -3.497103)'))) / (select extract(epoch from '2026-05-27 11:40:11'::timestamp) - extract(epoch from '2026-05-27 11:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513567 -3.497197)'), GeomFromEWKT('SRID=4674;POINT (-38.513628 -3.497103)'))) / (select extract(epoch from '2026-05-27 11:40:11'::timestamp) - extract(epoch from '2026-05-27 11:40: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.51369 -3.497007)', '2026-05-27 11:40:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513628 -3.497103)'), GeomFromEWKT('SRID=4674;POINT (-38.51369 -3.497007)'))) / (select extract(epoch from '2026-05-27 11:40:16'::timestamp) - extract(epoch from '2026-05-27 11:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513628 -3.497103)'), GeomFromEWKT('SRID=4674;POINT (-38.51369 -3.497007)'))) / (select extract(epoch from '2026-05-27 11:40:16'::timestamp) - extract(epoch from '2026-05-27 11:40: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.513753 -3.496879)', '2026-05-27 11:40:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51369 -3.497007)'), GeomFromEWKT('SRID=4674;POINT (-38.513753 -3.496879)'))) / (select extract(epoch from '2026-05-27 11:40:22'::timestamp) - extract(epoch from '2026-05-27 11:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51369 -3.497007)'), GeomFromEWKT('SRID=4674;POINT (-38.513753 -3.496879)'))) / (select extract(epoch from '2026-05-27 11:40:22'::timestamp) - extract(epoch from '2026-05-27 11:40: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.513812 -3.496757)', '2026-05-27 11:40:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513753 -3.496879)'), GeomFromEWKT('SRID=4674;POINT (-38.513812 -3.496757)'))) / (select extract(epoch from '2026-05-27 11:40:28'::timestamp) - extract(epoch from '2026-05-27 11:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513753 -3.496879)'), GeomFromEWKT('SRID=4674;POINT (-38.513812 -3.496757)'))) / (select extract(epoch from '2026-05-27 11:40:28'::timestamp) - extract(epoch from '2026-05-27 11:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.513867 -3.496647)', '2026-05-27 11:40:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513812 -3.496757)'), GeomFromEWKT('SRID=4674;POINT (-38.513867 -3.496647)'))) / (select extract(epoch from '2026-05-27 11:40:33'::timestamp) - extract(epoch from '2026-05-27 11:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513812 -3.496757)'), GeomFromEWKT('SRID=4674;POINT (-38.513867 -3.496647)'))) / (select extract(epoch from '2026-05-27 11:40:33'::timestamp) - extract(epoch from '2026-05-27 11:40: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.513924 -3.49653)', '2026-05-27 11:40:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513867 -3.496647)'), GeomFromEWKT('SRID=4674;POINT (-38.513924 -3.49653)'))) / (select extract(epoch from '2026-05-27 11:40:38'::timestamp) - extract(epoch from '2026-05-27 11:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513867 -3.496647)'), GeomFromEWKT('SRID=4674;POINT (-38.513924 -3.49653)'))) / (select extract(epoch from '2026-05-27 11:40:38'::timestamp) - extract(epoch from '2026-05-27 11:40: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.51397 -3.496386)', '2026-05-27 11:40:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513924 -3.49653)'), GeomFromEWKT('SRID=4674;POINT (-38.51397 -3.496386)'))) / (select extract(epoch from '2026-05-27 11:40:44'::timestamp) - extract(epoch from '2026-05-27 11:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.513924 -3.49653)'), GeomFromEWKT('SRID=4674;POINT (-38.51397 -3.496386)'))) / (select extract(epoch from '2026-05-27 11:40:44'::timestamp) - extract(epoch from '2026-05-27 11:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.514034 -3.49625)', '2026-05-27 11:40:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51397 -3.496386)'), GeomFromEWKT('SRID=4674;POINT (-38.514034 -3.49625)'))) / (select extract(epoch from '2026-05-27 11:40:50'::timestamp) - extract(epoch from '2026-05-27 11:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51397 -3.496386)'), GeomFromEWKT('SRID=4674;POINT (-38.514034 -3.49625)'))) / (select extract(epoch from '2026-05-27 11:40:50'::timestamp) - extract(epoch from '2026-05-27 11:40: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.514113 -3.496107)', '2026-05-27 11:40:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514034 -3.49625)'), GeomFromEWKT('SRID=4674;POINT (-38.514113 -3.496107)'))) / (select extract(epoch from '2026-05-27 11:40:57'::timestamp) - extract(epoch from '2026-05-27 11:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514034 -3.49625)'), GeomFromEWKT('SRID=4674;POINT (-38.514113 -3.496107)'))) / (select extract(epoch from '2026-05-27 11:40:57'::timestamp) - extract(epoch from '2026-05-27 11:40:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.514178 -3.495992)', '2026-05-27 11:41:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514113 -3.496107)'), GeomFromEWKT('SRID=4674;POINT (-38.514178 -3.495992)'))) / (select extract(epoch from '2026-05-27 11:41:03'::timestamp) - extract(epoch from '2026-05-27 11:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514113 -3.496107)'), GeomFromEWKT('SRID=4674;POINT (-38.514178 -3.495992)'))) / (select extract(epoch from '2026-05-27 11:41:03'::timestamp) - extract(epoch from '2026-05-27 11:40: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.514233 -3.495898)', '2026-05-27 11:41:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514178 -3.495992)'), GeomFromEWKT('SRID=4674;POINT (-38.514233 -3.495898)'))) / (select extract(epoch from '2026-05-27 11:41:08'::timestamp) - extract(epoch from '2026-05-27 11:41:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514178 -3.495992)'), GeomFromEWKT('SRID=4674;POINT (-38.514233 -3.495898)'))) / (select extract(epoch from '2026-05-27 11:41:08'::timestamp) - extract(epoch from '2026-05-27 11:41:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.514302 -3.49578)', '2026-05-27 11:41:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514233 -3.495898)'), GeomFromEWKT('SRID=4674;POINT (-38.514302 -3.49578)'))) / (select extract(epoch from '2026-05-27 11:41:14'::timestamp) - extract(epoch from '2026-05-27 11:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514233 -3.495898)'), GeomFromEWKT('SRID=4674;POINT (-38.514302 -3.49578)'))) / (select extract(epoch from '2026-05-27 11:41:14'::timestamp) - extract(epoch from '2026-05-27 11:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.514365 -3.495663)', '2026-05-27 11:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514302 -3.49578)'), GeomFromEWKT('SRID=4674;POINT (-38.514365 -3.495663)'))) / (select extract(epoch from '2026-05-27 11:41:20'::timestamp) - extract(epoch from '2026-05-27 11:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514302 -3.49578)'), GeomFromEWKT('SRID=4674;POINT (-38.514365 -3.495663)'))) / (select extract(epoch from '2026-05-27 11:41:20'::timestamp) - extract(epoch from '2026-05-27 11:41: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.514421 -3.495567)', '2026-05-27 11:41:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514365 -3.495663)'), GeomFromEWKT('SRID=4674;POINT (-38.514421 -3.495567)'))) / (select extract(epoch from '2026-05-27 11:41:25'::timestamp) - extract(epoch from '2026-05-27 11:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514365 -3.495663)'), GeomFromEWKT('SRID=4674;POINT (-38.514421 -3.495567)'))) / (select extract(epoch from '2026-05-27 11:41:25'::timestamp) - extract(epoch from '2026-05-27 11:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.51449 -3.495435)', '2026-05-27 11:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514421 -3.495567)'), GeomFromEWKT('SRID=4674;POINT (-38.51449 -3.495435)'))) / (select extract(epoch from '2026-05-27 11:41:31'::timestamp) - extract(epoch from '2026-05-27 11:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514421 -3.495567)'), GeomFromEWKT('SRID=4674;POINT (-38.51449 -3.495435)'))) / (select extract(epoch from '2026-05-27 11:41:31'::timestamp) - extract(epoch from '2026-05-27 11:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.514553 -3.495301)', '2026-05-27 11:41:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51449 -3.495435)'), GeomFromEWKT('SRID=4674;POINT (-38.514553 -3.495301)'))) / (select extract(epoch from '2026-05-27 11:41:37'::timestamp) - extract(epoch from '2026-05-27 11:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51449 -3.495435)'), GeomFromEWKT('SRID=4674;POINT (-38.514553 -3.495301)'))) / (select extract(epoch from '2026-05-27 11:41:37'::timestamp) - extract(epoch from '2026-05-27 11:41: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.514601 -3.495179)', '2026-05-27 11:41:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514553 -3.495301)'), GeomFromEWKT('SRID=4674;POINT (-38.514601 -3.495179)'))) / (select extract(epoch from '2026-05-27 11:41:42'::timestamp) - extract(epoch from '2026-05-27 11:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514553 -3.495301)'), GeomFromEWKT('SRID=4674;POINT (-38.514601 -3.495179)'))) / (select extract(epoch from '2026-05-27 11:41:42'::timestamp) - extract(epoch from '2026-05-27 11:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.514681 -3.495051)', '2026-05-27 11:41:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514601 -3.495179)'), GeomFromEWKT('SRID=4674;POINT (-38.514681 -3.495051)'))) / (select extract(epoch from '2026-05-27 11:41:48'::timestamp) - extract(epoch from '2026-05-27 11:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514601 -3.495179)'), GeomFromEWKT('SRID=4674;POINT (-38.514681 -3.495051)'))) / (select extract(epoch from '2026-05-27 11:41:48'::timestamp) - extract(epoch from '2026-05-27 11:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.514811 -3.494904)', '2026-05-27 11:41:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514681 -3.495051)'), GeomFromEWKT('SRID=4674;POINT (-38.514811 -3.494904)'))) / (select extract(epoch from '2026-05-27 11:41:56'::timestamp) - extract(epoch from '2026-05-27 11:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514681 -3.495051)'), GeomFromEWKT('SRID=4674;POINT (-38.514811 -3.494904)'))) / (select extract(epoch from '2026-05-27 11:41:56'::timestamp) - extract(epoch from '2026-05-27 11:41: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.514888 -3.494784)', '2026-05-27 11:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514811 -3.494904)'), GeomFromEWKT('SRID=4674;POINT (-38.514888 -3.494784)'))) / (select extract(epoch from '2026-05-27 11:42:02'::timestamp) - extract(epoch from '2026-05-27 11:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514811 -3.494904)'), GeomFromEWKT('SRID=4674;POINT (-38.514888 -3.494784)'))) / (select extract(epoch from '2026-05-27 11:42:02'::timestamp) - extract(epoch from '2026-05-27 11:41: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.514943 -3.494653)', '2026-05-27 11:42:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514888 -3.494784)'), GeomFromEWKT('SRID=4674;POINT (-38.514943 -3.494653)'))) / (select extract(epoch from '2026-05-27 11:42:08'::timestamp) - extract(epoch from '2026-05-27 11:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514888 -3.494784)'), GeomFromEWKT('SRID=4674;POINT (-38.514943 -3.494653)'))) / (select extract(epoch from '2026-05-27 11:42:08'::timestamp) - extract(epoch from '2026-05-27 11:42: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.514992 -3.494522)', '2026-05-27 11:42:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514943 -3.494653)'), GeomFromEWKT('SRID=4674;POINT (-38.514992 -3.494522)'))) / (select extract(epoch from '2026-05-27 11:42:14'::timestamp) - extract(epoch from '2026-05-27 11:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514943 -3.494653)'), GeomFromEWKT('SRID=4674;POINT (-38.514992 -3.494522)'))) / (select extract(epoch from '2026-05-27 11:42:14'::timestamp) - extract(epoch from '2026-05-27 11:42: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.515066 -3.494391)', '2026-05-27 11:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514992 -3.494522)'), GeomFromEWKT('SRID=4674;POINT (-38.515066 -3.494391)'))) / (select extract(epoch from '2026-05-27 11:42:20'::timestamp) - extract(epoch from '2026-05-27 11:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.514992 -3.494522)'), GeomFromEWKT('SRID=4674;POINT (-38.515066 -3.494391)'))) / (select extract(epoch from '2026-05-27 11:42:20'::timestamp) - extract(epoch from '2026-05-27 11:42: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.515119 -3.494323)', '2026-05-27 11:42:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515066 -3.494391)'), GeomFromEWKT('SRID=4674;POINT (-38.515119 -3.494323)'))) / (select extract(epoch from '2026-05-27 11:42:24'::timestamp) - extract(epoch from '2026-05-27 11:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515066 -3.494391)'), GeomFromEWKT('SRID=4674;POINT (-38.515119 -3.494323)'))) / (select extract(epoch from '2026-05-27 11:42:24'::timestamp) - extract(epoch from '2026-05-27 11:42: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.51521 -3.49422)', '2026-05-27 11:42:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515119 -3.494323)'), GeomFromEWKT('SRID=4674;POINT (-38.51521 -3.49422)'))) / (select extract(epoch from '2026-05-27 11:42:30'::timestamp) - extract(epoch from '2026-05-27 11:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515119 -3.494323)'), GeomFromEWKT('SRID=4674;POINT (-38.51521 -3.49422)'))) / (select extract(epoch from '2026-05-27 11:42:30'::timestamp) - extract(epoch from '2026-05-27 11:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.515337 -3.494085)', '2026-05-27 11:42:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51521 -3.49422)'), GeomFromEWKT('SRID=4674;POINT (-38.515337 -3.494085)'))) / (select extract(epoch from '2026-05-27 11:42:38'::timestamp) - extract(epoch from '2026-05-27 11:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51521 -3.49422)'), GeomFromEWKT('SRID=4674;POINT (-38.515337 -3.494085)'))) / (select extract(epoch from '2026-05-27 11:42:38'::timestamp) - extract(epoch from '2026-05-27 11:42: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.515416 -3.493995)', '2026-05-27 11:42:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515337 -3.494085)'), GeomFromEWKT('SRID=4674;POINT (-38.515416 -3.493995)'))) / (select extract(epoch from '2026-05-27 11:42:43'::timestamp) - extract(epoch from '2026-05-27 11:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515337 -3.494085)'), GeomFromEWKT('SRID=4674;POINT (-38.515416 -3.493995)'))) / (select extract(epoch from '2026-05-27 11:42:43'::timestamp) - extract(epoch from '2026-05-27 11:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.515496 -3.493867)', '2026-05-27 11:42:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515416 -3.493995)'), GeomFromEWKT('SRID=4674;POINT (-38.515496 -3.493867)'))) / (select extract(epoch from '2026-05-27 11:42:49'::timestamp) - extract(epoch from '2026-05-27 11:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515416 -3.493995)'), GeomFromEWKT('SRID=4674;POINT (-38.515496 -3.493867)'))) / (select extract(epoch from '2026-05-27 11:42:49'::timestamp) - extract(epoch from '2026-05-27 11:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.515558 -3.493765)', '2026-05-27 11:42:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515496 -3.493867)'), GeomFromEWKT('SRID=4674;POINT (-38.515558 -3.493765)'))) / (select extract(epoch from '2026-05-27 11:42:54'::timestamp) - extract(epoch from '2026-05-27 11:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515496 -3.493867)'), GeomFromEWKT('SRID=4674;POINT (-38.515558 -3.493765)'))) / (select extract(epoch from '2026-05-27 11:42:54'::timestamp) - extract(epoch from '2026-05-27 11:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.515628 -3.493669)', '2026-05-27 11:42:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515558 -3.493765)'), GeomFromEWKT('SRID=4674;POINT (-38.515628 -3.493669)'))) / (select extract(epoch from '2026-05-27 11:42:59'::timestamp) - extract(epoch from '2026-05-27 11:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515558 -3.493765)'), GeomFromEWKT('SRID=4674;POINT (-38.515628 -3.493669)'))) / (select extract(epoch from '2026-05-27 11:42:59'::timestamp) - extract(epoch from '2026-05-27 11:42: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.515716 -3.493539)', '2026-05-27 11:43:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515628 -3.493669)'), GeomFromEWKT('SRID=4674;POINT (-38.515716 -3.493539)'))) / (select extract(epoch from '2026-05-27 11:43:05'::timestamp) - extract(epoch from '2026-05-27 11:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515628 -3.493669)'), GeomFromEWKT('SRID=4674;POINT (-38.515716 -3.493539)'))) / (select extract(epoch from '2026-05-27 11:43:05'::timestamp) - extract(epoch from '2026-05-27 11:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.515828 -3.493392)', '2026-05-27 11:43:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515716 -3.493539)'), GeomFromEWKT('SRID=4674;POINT (-38.515828 -3.493392)'))) / (select extract(epoch from '2026-05-27 11:43:12'::timestamp) - extract(epoch from '2026-05-27 11:43:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515716 -3.493539)'), GeomFromEWKT('SRID=4674;POINT (-38.515828 -3.493392)'))) / (select extract(epoch from '2026-05-27 11:43:12'::timestamp) - extract(epoch from '2026-05-27 11:43:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.515953 -3.493299)', '2026-05-27 11:43:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515828 -3.493392)'), GeomFromEWKT('SRID=4674;POINT (-38.515953 -3.493299)'))) / (select extract(epoch from '2026-05-27 11:43:18'::timestamp) - extract(epoch from '2026-05-27 11:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515828 -3.493392)'), GeomFromEWKT('SRID=4674;POINT (-38.515953 -3.493299)'))) / (select extract(epoch from '2026-05-27 11:43:18'::timestamp) - extract(epoch from '2026-05-27 11:43: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.516074 -3.493199)', '2026-05-27 11:43:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515953 -3.493299)'), GeomFromEWKT('SRID=4674;POINT (-38.516074 -3.493199)'))) / (select extract(epoch from '2026-05-27 11:43:24'::timestamp) - extract(epoch from '2026-05-27 11:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.515953 -3.493299)'), GeomFromEWKT('SRID=4674;POINT (-38.516074 -3.493199)'))) / (select extract(epoch from '2026-05-27 11:43:24'::timestamp) - extract(epoch from '2026-05-27 11:43: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.516155 -3.493077)', '2026-05-27 11:43:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516074 -3.493199)'), GeomFromEWKT('SRID=4674;POINT (-38.516155 -3.493077)'))) / (select extract(epoch from '2026-05-27 11:43:30'::timestamp) - extract(epoch from '2026-05-27 11:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516074 -3.493199)'), GeomFromEWKT('SRID=4674;POINT (-38.516155 -3.493077)'))) / (select extract(epoch from '2026-05-27 11:43:30'::timestamp) - extract(epoch from '2026-05-27 11:43: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.51623 -3.492946)', '2026-05-27 11:43:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516155 -3.493077)'), GeomFromEWKT('SRID=4674;POINT (-38.51623 -3.492946)'))) / (select extract(epoch from '2026-05-27 11:43:36'::timestamp) - extract(epoch from '2026-05-27 11:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516155 -3.493077)'), GeomFromEWKT('SRID=4674;POINT (-38.51623 -3.492946)'))) / (select extract(epoch from '2026-05-27 11:43:36'::timestamp) - extract(epoch from '2026-05-27 11:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.516336 -3.492835)', '2026-05-27 11:43:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51623 -3.492946)'), GeomFromEWKT('SRID=4674;POINT (-38.516336 -3.492835)'))) / (select extract(epoch from '2026-05-27 11:43:42'::timestamp) - extract(epoch from '2026-05-27 11:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51623 -3.492946)'), GeomFromEWKT('SRID=4674;POINT (-38.516336 -3.492835)'))) / (select extract(epoch from '2026-05-27 11:43:42'::timestamp) - extract(epoch from '2026-05-27 11:43: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.51646 -3.49275)', '2026-05-27 11:43:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516336 -3.492835)'), GeomFromEWKT('SRID=4674;POINT (-38.51646 -3.49275)'))) / (select extract(epoch from '2026-05-27 11:43:48'::timestamp) - extract(epoch from '2026-05-27 11:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516336 -3.492835)'), GeomFromEWKT('SRID=4674;POINT (-38.51646 -3.49275)'))) / (select extract(epoch from '2026-05-27 11:43:48'::timestamp) - extract(epoch from '2026-05-27 11:43: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.516519 -3.49268)', '2026-05-27 11:43:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51646 -3.49275)'), GeomFromEWKT('SRID=4674;POINT (-38.516519 -3.49268)'))) / (select extract(epoch from '2026-05-27 11:43:52'::timestamp) - extract(epoch from '2026-05-27 11:43:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51646 -3.49275)'), GeomFromEWKT('SRID=4674;POINT (-38.516519 -3.49268)'))) / (select extract(epoch from '2026-05-27 11:43:52'::timestamp) - extract(epoch from '2026-05-27 11:43: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.516596 -3.492588)', '2026-05-27 11:43:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516519 -3.49268)'), GeomFromEWKT('SRID=4674;POINT (-38.516596 -3.492588)'))) / (select extract(epoch from '2026-05-27 11:43:57'::timestamp) - extract(epoch from '2026-05-27 11:43:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516519 -3.49268)'), GeomFromEWKT('SRID=4674;POINT (-38.516596 -3.492588)'))) / (select extract(epoch from '2026-05-27 11:43:57'::timestamp) - extract(epoch from '2026-05-27 11:43: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.51668 -3.492464)', '2026-05-27 11:44:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516596 -3.492588)'), GeomFromEWKT('SRID=4674;POINT (-38.51668 -3.492464)'))) / (select extract(epoch from '2026-05-27 11:44:03'::timestamp) - extract(epoch from '2026-05-27 11:43:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516596 -3.492588)'), GeomFromEWKT('SRID=4674;POINT (-38.51668 -3.492464)'))) / (select extract(epoch from '2026-05-27 11:44:03'::timestamp) - extract(epoch from '2026-05-27 11:43: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.516768 -3.492356)', '2026-05-27 11:44:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51668 -3.492464)'), GeomFromEWKT('SRID=4674;POINT (-38.516768 -3.492356)'))) / (select extract(epoch from '2026-05-27 11:44:09'::timestamp) - extract(epoch from '2026-05-27 11:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51668 -3.492464)'), GeomFromEWKT('SRID=4674;POINT (-38.516768 -3.492356)'))) / (select extract(epoch from '2026-05-27 11:44:09'::timestamp) - extract(epoch from '2026-05-27 11:44: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.516876 -3.492229)', '2026-05-27 11:44:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516768 -3.492356)'), GeomFromEWKT('SRID=4674;POINT (-38.516876 -3.492229)'))) / (select extract(epoch from '2026-05-27 11:44:16'::timestamp) - extract(epoch from '2026-05-27 11:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516768 -3.492356)'), GeomFromEWKT('SRID=4674;POINT (-38.516876 -3.492229)'))) / (select extract(epoch from '2026-05-27 11:44:16'::timestamp) - extract(epoch from '2026-05-27 11:44: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.516944 -3.492111)', '2026-05-27 11:44:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516876 -3.492229)'), GeomFromEWKT('SRID=4674;POINT (-38.516944 -3.492111)'))) / (select extract(epoch from '2026-05-27 11:44:22'::timestamp) - extract(epoch from '2026-05-27 11:44:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516876 -3.492229)'), GeomFromEWKT('SRID=4674;POINT (-38.516944 -3.492111)'))) / (select extract(epoch from '2026-05-27 11:44:22'::timestamp) - extract(epoch from '2026-05-27 11:44: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.516997 -3.492007)', '2026-05-27 11:44:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516944 -3.492111)'), GeomFromEWKT('SRID=4674;POINT (-38.516997 -3.492007)'))) / (select extract(epoch from '2026-05-27 11:44:27'::timestamp) - extract(epoch from '2026-05-27 11:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516944 -3.492111)'), GeomFromEWKT('SRID=4674;POINT (-38.516997 -3.492007)'))) / (select extract(epoch from '2026-05-27 11:44:27'::timestamp) - extract(epoch from '2026-05-27 11:44: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.517073 -3.491893)', '2026-05-27 11:44:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516997 -3.492007)'), GeomFromEWKT('SRID=4674;POINT (-38.517073 -3.491893)'))) / (select extract(epoch from '2026-05-27 11:44:33'::timestamp) - extract(epoch from '2026-05-27 11:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.516997 -3.492007)'), GeomFromEWKT('SRID=4674;POINT (-38.517073 -3.491893)'))) / (select extract(epoch from '2026-05-27 11:44:33'::timestamp) - extract(epoch from '2026-05-27 11:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.517149 -3.491806)', '2026-05-27 11:44:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517073 -3.491893)'), GeomFromEWKT('SRID=4674;POINT (-38.517149 -3.491806)'))) / (select extract(epoch from '2026-05-27 11:44:38'::timestamp) - extract(epoch from '2026-05-27 11:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517073 -3.491893)'), GeomFromEWKT('SRID=4674;POINT (-38.517149 -3.491806)'))) / (select extract(epoch from '2026-05-27 11:44:38'::timestamp) - extract(epoch from '2026-05-27 11:44: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.517218 -3.49173)', '2026-05-27 11:44:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517149 -3.491806)'), GeomFromEWKT('SRID=4674;POINT (-38.517218 -3.49173)'))) / (select extract(epoch from '2026-05-27 11:44:43'::timestamp) - extract(epoch from '2026-05-27 11:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517149 -3.491806)'), GeomFromEWKT('SRID=4674;POINT (-38.517218 -3.49173)'))) / (select extract(epoch from '2026-05-27 11:44:43'::timestamp) - extract(epoch from '2026-05-27 11:44: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.517314 -3.491655)', '2026-05-27 11:44:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517218 -3.49173)'), GeomFromEWKT('SRID=4674;POINT (-38.517314 -3.491655)'))) / (select extract(epoch from '2026-05-27 11:44:48'::timestamp) - extract(epoch from '2026-05-27 11:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517218 -3.49173)'), GeomFromEWKT('SRID=4674;POINT (-38.517314 -3.491655)'))) / (select extract(epoch from '2026-05-27 11:44:48'::timestamp) - extract(epoch from '2026-05-27 11:44: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.517423 -3.491573)', '2026-05-27 11:44:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517314 -3.491655)'), GeomFromEWKT('SRID=4674;POINT (-38.517423 -3.491573)'))) / (select extract(epoch from '2026-05-27 11:44:54'::timestamp) - extract(epoch from '2026-05-27 11:44:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517314 -3.491655)'), GeomFromEWKT('SRID=4674;POINT (-38.517423 -3.491573)'))) / (select extract(epoch from '2026-05-27 11:44:54'::timestamp) - extract(epoch from '2026-05-27 11:44: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.517534 -3.491493)', '2026-05-27 11:45:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517423 -3.491573)'), GeomFromEWKT('SRID=4674;POINT (-38.517534 -3.491493)'))) / (select extract(epoch from '2026-05-27 11:45:00'::timestamp) - extract(epoch from '2026-05-27 11:44:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517423 -3.491573)'), GeomFromEWKT('SRID=4674;POINT (-38.517534 -3.491493)'))) / (select extract(epoch from '2026-05-27 11:45:00'::timestamp) - extract(epoch from '2026-05-27 11:44: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.517658 -3.491407)', '2026-05-27 11:45:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517534 -3.491493)'), GeomFromEWKT('SRID=4674;POINT (-38.517658 -3.491407)'))) / (select extract(epoch from '2026-05-27 11:45:06'::timestamp) - extract(epoch from '2026-05-27 11:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517534 -3.491493)'), GeomFromEWKT('SRID=4674;POINT (-38.517658 -3.491407)'))) / (select extract(epoch from '2026-05-27 11:45:06'::timestamp) - extract(epoch from '2026-05-27 11:45: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.517763 -3.491322)', '2026-05-27 11:45:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517658 -3.491407)'), GeomFromEWKT('SRID=4674;POINT (-38.517763 -3.491322)'))) / (select extract(epoch from '2026-05-27 11:45:12'::timestamp) - extract(epoch from '2026-05-27 11:45:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517658 -3.491407)'), GeomFromEWKT('SRID=4674;POINT (-38.517763 -3.491322)'))) / (select extract(epoch from '2026-05-27 11:45:12'::timestamp) - extract(epoch from '2026-05-27 11:45: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.517874 -3.491203)', '2026-05-27 11:45:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517763 -3.491322)'), GeomFromEWKT('SRID=4674;POINT (-38.517874 -3.491203)'))) / (select extract(epoch from '2026-05-27 11:45:19'::timestamp) - extract(epoch from '2026-05-27 11:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517763 -3.491322)'), GeomFromEWKT('SRID=4674;POINT (-38.517874 -3.491203)'))) / (select extract(epoch from '2026-05-27 11:45:19'::timestamp) - extract(epoch from '2026-05-27 11:45: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.51797 -3.491109)', '2026-05-27 11:45:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517874 -3.491203)'), GeomFromEWKT('SRID=4674;POINT (-38.51797 -3.491109)'))) / (select extract(epoch from '2026-05-27 11:45:25'::timestamp) - extract(epoch from '2026-05-27 11:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.517874 -3.491203)'), GeomFromEWKT('SRID=4674;POINT (-38.51797 -3.491109)'))) / (select extract(epoch from '2026-05-27 11:45:25'::timestamp) - extract(epoch from '2026-05-27 11:45: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.518105 -3.490996)', '2026-05-27 11:45:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51797 -3.491109)'), GeomFromEWKT('SRID=4674;POINT (-38.518105 -3.490996)'))) / (select extract(epoch from '2026-05-27 11:45:32'::timestamp) - extract(epoch from '2026-05-27 11:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51797 -3.491109)'), GeomFromEWKT('SRID=4674;POINT (-38.518105 -3.490996)'))) / (select extract(epoch from '2026-05-27 11:45:32'::timestamp) - extract(epoch from '2026-05-27 11:45: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.518236 -3.490876)', '2026-05-27 11:45:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518105 -3.490996)'), GeomFromEWKT('SRID=4674;POINT (-38.518236 -3.490876)'))) / (select extract(epoch from '2026-05-27 11:45:39'::timestamp) - extract(epoch from '2026-05-27 11:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518105 -3.490996)'), GeomFromEWKT('SRID=4674;POINT (-38.518236 -3.490876)'))) / (select extract(epoch from '2026-05-27 11:45:39'::timestamp) - extract(epoch from '2026-05-27 11:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.518344 -3.490769)', '2026-05-27 11:45:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518236 -3.490876)'), GeomFromEWKT('SRID=4674;POINT (-38.518344 -3.490769)'))) / (select extract(epoch from '2026-05-27 11:45:45'::timestamp) - extract(epoch from '2026-05-27 11:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518236 -3.490876)'), GeomFromEWKT('SRID=4674;POINT (-38.518344 -3.490769)'))) / (select extract(epoch from '2026-05-27 11:45:45'::timestamp) - extract(epoch from '2026-05-27 11:45:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.518436 -3.490672)', '2026-05-27 11:45:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518344 -3.490769)'), GeomFromEWKT('SRID=4674;POINT (-38.518436 -3.490672)'))) / (select extract(epoch from '2026-05-27 11:45:50'::timestamp) - extract(epoch from '2026-05-27 11:45:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518344 -3.490769)'), GeomFromEWKT('SRID=4674;POINT (-38.518436 -3.490672)'))) / (select extract(epoch from '2026-05-27 11:45:50'::timestamp) - extract(epoch from '2026-05-27 11:45: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.518524 -3.490582)', '2026-05-27 11:45:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518436 -3.490672)'), GeomFromEWKT('SRID=4674;POINT (-38.518524 -3.490582)'))) / (select extract(epoch from '2026-05-27 11:45:55'::timestamp) - extract(epoch from '2026-05-27 11:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518436 -3.490672)'), GeomFromEWKT('SRID=4674;POINT (-38.518524 -3.490582)'))) / (select extract(epoch from '2026-05-27 11:45:55'::timestamp) - extract(epoch from '2026-05-27 11:45:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.518611 -3.490495)', '2026-05-27 11:46:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518524 -3.490582)'), GeomFromEWKT('SRID=4674;POINT (-38.518611 -3.490495)'))) / (select extract(epoch from '2026-05-27 11:46:00'::timestamp) - extract(epoch from '2026-05-27 11:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518524 -3.490582)'), GeomFromEWKT('SRID=4674;POINT (-38.518611 -3.490495)'))) / (select extract(epoch from '2026-05-27 11:46:00'::timestamp) - extract(epoch from '2026-05-27 11:45:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.518702 -3.490406)', '2026-05-27 11:46:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518611 -3.490495)'), GeomFromEWKT('SRID=4674;POINT (-38.518702 -3.490406)'))) / (select extract(epoch from '2026-05-27 11:46:05'::timestamp) - extract(epoch from '2026-05-27 11:46:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518611 -3.490495)'), GeomFromEWKT('SRID=4674;POINT (-38.518702 -3.490406)'))) / (select extract(epoch from '2026-05-27 11:46:05'::timestamp) - extract(epoch from '2026-05-27 11:46: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.518801 -3.49032)', '2026-05-27 11:46:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518702 -3.490406)'), GeomFromEWKT('SRID=4674;POINT (-38.518801 -3.49032)'))) / (select extract(epoch from '2026-05-27 11:46:10'::timestamp) - extract(epoch from '2026-05-27 11:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518702 -3.490406)'), GeomFromEWKT('SRID=4674;POINT (-38.518801 -3.49032)'))) / (select extract(epoch from '2026-05-27 11:46:10'::timestamp) - extract(epoch from '2026-05-27 11:46:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.518946 -3.490249)', '2026-05-27 11:46:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518801 -3.49032)'), GeomFromEWKT('SRID=4674;POINT (-38.518946 -3.490249)'))) / (select extract(epoch from '2026-05-27 11:46:16'::timestamp) - extract(epoch from '2026-05-27 11:46:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518801 -3.49032)'), GeomFromEWKT('SRID=4674;POINT (-38.518946 -3.490249)'))) / (select extract(epoch from '2026-05-27 11:46:16'::timestamp) - extract(epoch from '2026-05-27 11:46:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.519038 -3.490167)', '2026-05-27 11:46:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518946 -3.490249)'), GeomFromEWKT('SRID=4674;POINT (-38.519038 -3.490167)'))) / (select extract(epoch from '2026-05-27 11:46:21'::timestamp) - extract(epoch from '2026-05-27 11:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.518946 -3.490249)'), GeomFromEWKT('SRID=4674;POINT (-38.519038 -3.490167)'))) / (select extract(epoch from '2026-05-27 11:46:21'::timestamp) - extract(epoch from '2026-05-27 11:46: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.519152 -3.490026)', '2026-05-27 11:46:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519038 -3.490167)'), GeomFromEWKT('SRID=4674;POINT (-38.519152 -3.490026)'))) / (select extract(epoch from '2026-05-27 11:46:28'::timestamp) - extract(epoch from '2026-05-27 11:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519038 -3.490167)'), GeomFromEWKT('SRID=4674;POINT (-38.519152 -3.490026)'))) / (select extract(epoch from '2026-05-27 11:46:28'::timestamp) - extract(epoch from '2026-05-27 11:46:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.51925 -3.489899)', '2026-05-27 11:46:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519152 -3.490026)'), GeomFromEWKT('SRID=4674;POINT (-38.51925 -3.489899)'))) / (select extract(epoch from '2026-05-27 11:46:34'::timestamp) - extract(epoch from '2026-05-27 11:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519152 -3.490026)'), GeomFromEWKT('SRID=4674;POINT (-38.51925 -3.489899)'))) / (select extract(epoch from '2026-05-27 11:46:34'::timestamp) - extract(epoch from '2026-05-27 11:46: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.519382 -3.48974)', '2026-05-27 11:46:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51925 -3.489899)'), GeomFromEWKT('SRID=4674;POINT (-38.519382 -3.48974)'))) / (select extract(epoch from '2026-05-27 11:46:42'::timestamp) - extract(epoch from '2026-05-27 11:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.51925 -3.489899)'), GeomFromEWKT('SRID=4674;POINT (-38.519382 -3.48974)'))) / (select extract(epoch from '2026-05-27 11:46:42'::timestamp) - extract(epoch from '2026-05-27 11:46: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.519475 -3.489636)', '2026-05-27 11:46:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519382 -3.48974)'), GeomFromEWKT('SRID=4674;POINT (-38.519475 -3.489636)'))) / (select extract(epoch from '2026-05-27 11:46:47'::timestamp) - extract(epoch from '2026-05-27 11:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519382 -3.48974)'), GeomFromEWKT('SRID=4674;POINT (-38.519475 -3.489636)'))) / (select extract(epoch from '2026-05-27 11:46:47'::timestamp) - extract(epoch from '2026-05-27 11:46: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.519578 -3.489513)', '2026-05-27 11:46:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519475 -3.489636)'), GeomFromEWKT('SRID=4674;POINT (-38.519578 -3.489513)'))) / (select extract(epoch from '2026-05-27 11:46:53'::timestamp) - extract(epoch from '2026-05-27 11:46:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519475 -3.489636)'), GeomFromEWKT('SRID=4674;POINT (-38.519578 -3.489513)'))) / (select extract(epoch from '2026-05-27 11:46:53'::timestamp) - extract(epoch from '2026-05-27 11:46: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.519642 -3.489406)', '2026-05-27 11:46:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519578 -3.489513)'), GeomFromEWKT('SRID=4674;POINT (-38.519642 -3.489406)'))) / (select extract(epoch from '2026-05-27 11:46:58'::timestamp) - extract(epoch from '2026-05-27 11:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519578 -3.489513)'), GeomFromEWKT('SRID=4674;POINT (-38.519642 -3.489406)'))) / (select extract(epoch from '2026-05-27 11:46:58'::timestamp) - extract(epoch from '2026-05-27 11:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.519725 -3.489288)', '2026-05-27 11:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519642 -3.489406)'), GeomFromEWKT('SRID=4674;POINT (-38.519725 -3.489288)'))) / (select extract(epoch from '2026-05-27 11:47:03'::timestamp) - extract(epoch from '2026-05-27 11:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519642 -3.489406)'), GeomFromEWKT('SRID=4674;POINT (-38.519725 -3.489288)'))) / (select extract(epoch from '2026-05-27 11:47:03'::timestamp) - extract(epoch from '2026-05-27 11:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.519822 -3.48919)', '2026-05-27 11:47:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519725 -3.489288)'), GeomFromEWKT('SRID=4674;POINT (-38.519822 -3.48919)'))) / (select extract(epoch from '2026-05-27 11:47:08'::timestamp) - extract(epoch from '2026-05-27 11:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519725 -3.489288)'), GeomFromEWKT('SRID=4674;POINT (-38.519822 -3.48919)'))) / (select extract(epoch from '2026-05-27 11:47:08'::timestamp) - extract(epoch from '2026-05-27 11:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.519917 -3.489111)', '2026-05-27 11:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519822 -3.48919)'), GeomFromEWKT('SRID=4674;POINT (-38.519917 -3.489111)'))) / (select extract(epoch from '2026-05-27 11:47:13'::timestamp) - extract(epoch from '2026-05-27 11:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519822 -3.48919)'), GeomFromEWKT('SRID=4674;POINT (-38.519917 -3.489111)'))) / (select extract(epoch from '2026-05-27 11:47:13'::timestamp) - extract(epoch from '2026-05-27 11:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.52002 -3.488987)', '2026-05-27 11:47:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519917 -3.489111)'), GeomFromEWKT('SRID=4674;POINT (-38.52002 -3.488987)'))) / (select extract(epoch from '2026-05-27 11:47:19'::timestamp) - extract(epoch from '2026-05-27 11:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.519917 -3.489111)'), GeomFromEWKT('SRID=4674;POINT (-38.52002 -3.488987)'))) / (select extract(epoch from '2026-05-27 11:47:19'::timestamp) - extract(epoch from '2026-05-27 11:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.520102 -3.488868)', '2026-05-27 11:47:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52002 -3.488987)'), GeomFromEWKT('SRID=4674;POINT (-38.520102 -3.488868)'))) / (select extract(epoch from '2026-05-27 11:47:24'::timestamp) - extract(epoch from '2026-05-27 11:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52002 -3.488987)'), GeomFromEWKT('SRID=4674;POINT (-38.520102 -3.488868)'))) / (select extract(epoch from '2026-05-27 11:47:24'::timestamp) - extract(epoch from '2026-05-27 11:47: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.520186 -3.488758)', '2026-05-27 11:47:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520102 -3.488868)'), GeomFromEWKT('SRID=4674;POINT (-38.520186 -3.488758)'))) / (select extract(epoch from '2026-05-27 11:47:29'::timestamp) - extract(epoch from '2026-05-27 11:47:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520102 -3.488868)'), GeomFromEWKT('SRID=4674;POINT (-38.520186 -3.488758)'))) / (select extract(epoch from '2026-05-27 11:47:29'::timestamp) - extract(epoch from '2026-05-27 11:47: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.520302 -3.488638)', '2026-05-27 11:47:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520186 -3.488758)'), GeomFromEWKT('SRID=4674;POINT (-38.520302 -3.488638)'))) / (select extract(epoch from '2026-05-27 11:47:35'::timestamp) - extract(epoch from '2026-05-27 11:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520186 -3.488758)'), GeomFromEWKT('SRID=4674;POINT (-38.520302 -3.488638)'))) / (select extract(epoch from '2026-05-27 11:47:35'::timestamp) - extract(epoch from '2026-05-27 11:47: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.520368 -3.488562)', '2026-05-27 11:47:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520302 -3.488638)'), GeomFromEWKT('SRID=4674;POINT (-38.520368 -3.488562)'))) / (select extract(epoch from '2026-05-27 11:47:39'::timestamp) - extract(epoch from '2026-05-27 11:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520302 -3.488638)'), GeomFromEWKT('SRID=4674;POINT (-38.520368 -3.488562)'))) / (select extract(epoch from '2026-05-27 11:47:39'::timestamp) - extract(epoch from '2026-05-27 11:47:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.520481 -3.488461)', '2026-05-27 11:47:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520368 -3.488562)'), GeomFromEWKT('SRID=4674;POINT (-38.520481 -3.488461)'))) / (select extract(epoch from '2026-05-27 11:47:45'::timestamp) - extract(epoch from '2026-05-27 11:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520368 -3.488562)'), GeomFromEWKT('SRID=4674;POINT (-38.520481 -3.488461)'))) / (select extract(epoch from '2026-05-27 11:47:45'::timestamp) - extract(epoch from '2026-05-27 11:47:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.520573 -3.488362)', '2026-05-27 11:47:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520481 -3.488461)'), GeomFromEWKT('SRID=4674;POINT (-38.520573 -3.488362)'))) / (select extract(epoch from '2026-05-27 11:47:50'::timestamp) - extract(epoch from '2026-05-27 11:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520481 -3.488461)'), GeomFromEWKT('SRID=4674;POINT (-38.520573 -3.488362)'))) / (select extract(epoch from '2026-05-27 11:47:50'::timestamp) - extract(epoch from '2026-05-27 11:47: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.520658 -3.488275)', '2026-05-27 11:47:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520573 -3.488362)'), GeomFromEWKT('SRID=4674;POINT (-38.520658 -3.488275)'))) / (select extract(epoch from '2026-05-27 11:47:55'::timestamp) - extract(epoch from '2026-05-27 11:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520573 -3.488362)'), GeomFromEWKT('SRID=4674;POINT (-38.520658 -3.488275)'))) / (select extract(epoch from '2026-05-27 11:47:55'::timestamp) - extract(epoch from '2026-05-27 11:47:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.520747 -3.488187)', '2026-05-27 11:48:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520658 -3.488275)'), GeomFromEWKT('SRID=4674;POINT (-38.520747 -3.488187)'))) / (select extract(epoch from '2026-05-27 11:48:00'::timestamp) - extract(epoch from '2026-05-27 11:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520658 -3.488275)'), GeomFromEWKT('SRID=4674;POINT (-38.520747 -3.488187)'))) / (select extract(epoch from '2026-05-27 11:48:00'::timestamp) - extract(epoch from '2026-05-27 11:47:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.520842 -3.488089)', '2026-05-27 11:48:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520747 -3.488187)'), GeomFromEWKT('SRID=4674;POINT (-38.520842 -3.488089)'))) / (select extract(epoch from '2026-05-27 11:48:05'::timestamp) - extract(epoch from '2026-05-27 11:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520747 -3.488187)'), GeomFromEWKT('SRID=4674;POINT (-38.520842 -3.488089)'))) / (select extract(epoch from '2026-05-27 11:48:05'::timestamp) - extract(epoch from '2026-05-27 11:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.520959 -3.487925)', '2026-05-27 11:48:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520842 -3.488089)'), GeomFromEWKT('SRID=4674;POINT (-38.520959 -3.487925)'))) / (select extract(epoch from '2026-05-27 11:48:13'::timestamp) - extract(epoch from '2026-05-27 11:48:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520842 -3.488089)'), GeomFromEWKT('SRID=4674;POINT (-38.520959 -3.487925)'))) / (select extract(epoch from '2026-05-27 11:48:13'::timestamp) - extract(epoch from '2026-05-27 11:48: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.521071 -3.487757)', '2026-05-27 11:48:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520959 -3.487925)'), GeomFromEWKT('SRID=4674;POINT (-38.521071 -3.487757)'))) / (select extract(epoch from '2026-05-27 11:48:21'::timestamp) - extract(epoch from '2026-05-27 11:48:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.520959 -3.487925)'), GeomFromEWKT('SRID=4674;POINT (-38.521071 -3.487757)'))) / (select extract(epoch from '2026-05-27 11:48:21'::timestamp) - extract(epoch from '2026-05-27 11:48:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.521162 -3.487653)', '2026-05-27 11:48:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521071 -3.487757)'), GeomFromEWKT('SRID=4674;POINT (-38.521162 -3.487653)'))) / (select extract(epoch from '2026-05-27 11:48:26'::timestamp) - extract(epoch from '2026-05-27 11:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521071 -3.487757)'), GeomFromEWKT('SRID=4674;POINT (-38.521162 -3.487653)'))) / (select extract(epoch from '2026-05-27 11:48:26'::timestamp) - extract(epoch from '2026-05-27 11:48: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.521257 -3.487546)', '2026-05-27 11:48:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521162 -3.487653)'), GeomFromEWKT('SRID=4674;POINT (-38.521257 -3.487546)'))) / (select extract(epoch from '2026-05-27 11:48:32'::timestamp) - extract(epoch from '2026-05-27 11:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521162 -3.487653)'), GeomFromEWKT('SRID=4674;POINT (-38.521257 -3.487546)'))) / (select extract(epoch from '2026-05-27 11:48:32'::timestamp) - extract(epoch from '2026-05-27 11:48: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.521344 -3.487453)', '2026-05-27 11:48:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521257 -3.487546)'), GeomFromEWKT('SRID=4674;POINT (-38.521344 -3.487453)'))) / (select extract(epoch from '2026-05-27 11:48:37'::timestamp) - extract(epoch from '2026-05-27 11:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521257 -3.487546)'), GeomFromEWKT('SRID=4674;POINT (-38.521344 -3.487453)'))) / (select extract(epoch from '2026-05-27 11:48:37'::timestamp) - extract(epoch from '2026-05-27 11:48: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.521434 -3.487347)', '2026-05-27 11:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521344 -3.487453)'), GeomFromEWKT('SRID=4674;POINT (-38.521434 -3.487347)'))) / (select extract(epoch from '2026-05-27 11:48:42'::timestamp) - extract(epoch from '2026-05-27 11:48:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521344 -3.487453)'), GeomFromEWKT('SRID=4674;POINT (-38.521434 -3.487347)'))) / (select extract(epoch from '2026-05-27 11:48:42'::timestamp) - extract(epoch from '2026-05-27 11:48: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.521547 -3.487222)', '2026-05-27 11:48:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521434 -3.487347)'), GeomFromEWKT('SRID=4674;POINT (-38.521547 -3.487222)'))) / (select extract(epoch from '2026-05-27 11:48:49'::timestamp) - extract(epoch from '2026-05-27 11:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521434 -3.487347)'), GeomFromEWKT('SRID=4674;POINT (-38.521547 -3.487222)'))) / (select extract(epoch from '2026-05-27 11:48:49'::timestamp) - extract(epoch from '2026-05-27 11:48: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.521682 -3.487115)', '2026-05-27 11:48:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521547 -3.487222)'), GeomFromEWKT('SRID=4674;POINT (-38.521682 -3.487115)'))) / (select extract(epoch from '2026-05-27 11:48:56'::timestamp) - extract(epoch from '2026-05-27 11:48:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521547 -3.487222)'), GeomFromEWKT('SRID=4674;POINT (-38.521682 -3.487115)'))) / (select extract(epoch from '2026-05-27 11:48:56'::timestamp) - extract(epoch from '2026-05-27 11:48:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.521754 -3.48702)', '2026-05-27 11:49:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521682 -3.487115)'), GeomFromEWKT('SRID=4674;POINT (-38.521754 -3.48702)'))) / (select extract(epoch from '2026-05-27 11:49:01'::timestamp) - extract(epoch from '2026-05-27 11:48:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521682 -3.487115)'), GeomFromEWKT('SRID=4674;POINT (-38.521754 -3.48702)'))) / (select extract(epoch from '2026-05-27 11:49:01'::timestamp) - extract(epoch from '2026-05-27 11:48: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.521828 -3.486933)', '2026-05-27 11:49:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521754 -3.48702)'), GeomFromEWKT('SRID=4674;POINT (-38.521828 -3.486933)'))) / (select extract(epoch from '2026-05-27 11:49:06'::timestamp) - extract(epoch from '2026-05-27 11:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521754 -3.48702)'), GeomFromEWKT('SRID=4674;POINT (-38.521828 -3.486933)'))) / (select extract(epoch from '2026-05-27 11:49:06'::timestamp) - extract(epoch from '2026-05-27 11:49: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.521942 -3.486782)', '2026-05-27 11:49:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521828 -3.486933)'), GeomFromEWKT('SRID=4674;POINT (-38.521942 -3.486782)'))) / (select extract(epoch from '2026-05-27 11:49:14'::timestamp) - extract(epoch from '2026-05-27 11:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521828 -3.486933)'), GeomFromEWKT('SRID=4674;POINT (-38.521942 -3.486782)'))) / (select extract(epoch from '2026-05-27 11:49:14'::timestamp) - extract(epoch from '2026-05-27 11:49: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.52201 -3.48667)', '2026-05-27 11:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521942 -3.486782)'), GeomFromEWKT('SRID=4674;POINT (-38.52201 -3.48667)'))) / (select extract(epoch from '2026-05-27 11:49:19'::timestamp) - extract(epoch from '2026-05-27 11:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.521942 -3.486782)'), GeomFromEWKT('SRID=4674;POINT (-38.52201 -3.48667)'))) / (select extract(epoch from '2026-05-27 11:49:19'::timestamp) - extract(epoch from '2026-05-27 11:49: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.522103 -3.486552)', '2026-05-27 11:49:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52201 -3.48667)'), GeomFromEWKT('SRID=4674;POINT (-38.522103 -3.486552)'))) / (select extract(epoch from '2026-05-27 11:49:25'::timestamp) - extract(epoch from '2026-05-27 11:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52201 -3.48667)'), GeomFromEWKT('SRID=4674;POINT (-38.522103 -3.486552)'))) / (select extract(epoch from '2026-05-27 11:49:25'::timestamp) - extract(epoch from '2026-05-27 11:49: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.522236 -3.486377)', '2026-05-27 11:49:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522103 -3.486552)'), GeomFromEWKT('SRID=4674;POINT (-38.522236 -3.486377)'))) / (select extract(epoch from '2026-05-27 11:49:34'::timestamp) - extract(epoch from '2026-05-27 11:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522103 -3.486552)'), GeomFromEWKT('SRID=4674;POINT (-38.522236 -3.486377)'))) / (select extract(epoch from '2026-05-27 11:49:34'::timestamp) - extract(epoch from '2026-05-27 11:49: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.522327 -3.486257)', '2026-05-27 11:49:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522236 -3.486377)'), GeomFromEWKT('SRID=4674;POINT (-38.522327 -3.486257)'))) / (select extract(epoch from '2026-05-27 11:49:40'::timestamp) - extract(epoch from '2026-05-27 11:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522236 -3.486377)'), GeomFromEWKT('SRID=4674;POINT (-38.522327 -3.486257)'))) / (select extract(epoch from '2026-05-27 11:49:40'::timestamp) - extract(epoch from '2026-05-27 11:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.522421 -3.486151)', '2026-05-27 11:49:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522327 -3.486257)'), GeomFromEWKT('SRID=4674;POINT (-38.522421 -3.486151)'))) / (select extract(epoch from '2026-05-27 11:49:45'::timestamp) - extract(epoch from '2026-05-27 11:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522327 -3.486257)'), GeomFromEWKT('SRID=4674;POINT (-38.522421 -3.486151)'))) / (select extract(epoch from '2026-05-27 11:49:45'::timestamp) - extract(epoch from '2026-05-27 11:49: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.522507 -3.486065)', '2026-05-27 11:49:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522421 -3.486151)'), GeomFromEWKT('SRID=4674;POINT (-38.522507 -3.486065)'))) / (select extract(epoch from '2026-05-27 11:49:50'::timestamp) - extract(epoch from '2026-05-27 11:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522421 -3.486151)'), GeomFromEWKT('SRID=4674;POINT (-38.522507 -3.486065)'))) / (select extract(epoch from '2026-05-27 11:49:50'::timestamp) - extract(epoch from '2026-05-27 11:49: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.522586 -3.485976)', '2026-05-27 11:49:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522507 -3.486065)'), GeomFromEWKT('SRID=4674;POINT (-38.522586 -3.485976)'))) / (select extract(epoch from '2026-05-27 11:49:55'::timestamp) - extract(epoch from '2026-05-27 11:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522507 -3.486065)'), GeomFromEWKT('SRID=4674;POINT (-38.522586 -3.485976)'))) / (select extract(epoch from '2026-05-27 11:49:55'::timestamp) - extract(epoch from '2026-05-27 11:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.522706 -3.485886)', '2026-05-27 11:50:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522586 -3.485976)'), GeomFromEWKT('SRID=4674;POINT (-38.522706 -3.485886)'))) / (select extract(epoch from '2026-05-27 11:50:01'::timestamp) - extract(epoch from '2026-05-27 11:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522586 -3.485976)'), GeomFromEWKT('SRID=4674;POINT (-38.522706 -3.485886)'))) / (select extract(epoch from '2026-05-27 11:50:01'::timestamp) - extract(epoch from '2026-05-27 11:49: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.522815 -3.485797)', '2026-05-27 11:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522706 -3.485886)'), GeomFromEWKT('SRID=4674;POINT (-38.522815 -3.485797)'))) / (select extract(epoch from '2026-05-27 11:50:07'::timestamp) - extract(epoch from '2026-05-27 11:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522706 -3.485886)'), GeomFromEWKT('SRID=4674;POINT (-38.522815 -3.485797)'))) / (select extract(epoch from '2026-05-27 11:50:07'::timestamp) - extract(epoch from '2026-05-27 11:50: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.522911 -3.485664)', '2026-05-27 11:50:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522815 -3.485797)'), GeomFromEWKT('SRID=4674;POINT (-38.522911 -3.485664)'))) / (select extract(epoch from '2026-05-27 11:50:14'::timestamp) - extract(epoch from '2026-05-27 11:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522815 -3.485797)'), GeomFromEWKT('SRID=4674;POINT (-38.522911 -3.485664)'))) / (select extract(epoch from '2026-05-27 11:50:14'::timestamp) - extract(epoch from '2026-05-27 11:50: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.522993 -3.485548)', '2026-05-27 11:50:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522911 -3.485664)'), GeomFromEWKT('SRID=4674;POINT (-38.522993 -3.485548)'))) / (select extract(epoch from '2026-05-27 11:50:20'::timestamp) - extract(epoch from '2026-05-27 11:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522911 -3.485664)'), GeomFromEWKT('SRID=4674;POINT (-38.522993 -3.485548)'))) / (select extract(epoch from '2026-05-27 11:50:20'::timestamp) - extract(epoch from '2026-05-27 11:50: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.523087 -3.485448)', '2026-05-27 11:50:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522993 -3.485548)'), GeomFromEWKT('SRID=4674;POINT (-38.523087 -3.485448)'))) / (select extract(epoch from '2026-05-27 11:50:26'::timestamp) - extract(epoch from '2026-05-27 11:50:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.522993 -3.485548)'), GeomFromEWKT('SRID=4674;POINT (-38.523087 -3.485448)'))) / (select extract(epoch from '2026-05-27 11:50:26'::timestamp) - extract(epoch from '2026-05-27 11:50: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.523188 -3.485344)', '2026-05-27 11:50:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523087 -3.485448)'), GeomFromEWKT('SRID=4674;POINT (-38.523188 -3.485344)'))) / (select extract(epoch from '2026-05-27 11:50:32'::timestamp) - extract(epoch from '2026-05-27 11:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523087 -3.485448)'), GeomFromEWKT('SRID=4674;POINT (-38.523188 -3.485344)'))) / (select extract(epoch from '2026-05-27 11:50:32'::timestamp) - extract(epoch from '2026-05-27 11:50: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.523268 -3.485258)', '2026-05-27 11:50:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523188 -3.485344)'), GeomFromEWKT('SRID=4674;POINT (-38.523268 -3.485258)'))) / (select extract(epoch from '2026-05-27 11:50:37'::timestamp) - extract(epoch from '2026-05-27 11:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523188 -3.485344)'), GeomFromEWKT('SRID=4674;POINT (-38.523268 -3.485258)'))) / (select extract(epoch from '2026-05-27 11:50:37'::timestamp) - extract(epoch from '2026-05-27 11:50: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.523336 -3.485165)', '2026-05-27 11:50:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523268 -3.485258)'), GeomFromEWKT('SRID=4674;POINT (-38.523336 -3.485165)'))) / (select extract(epoch from '2026-05-27 11:50:42'::timestamp) - extract(epoch from '2026-05-27 11:50:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523268 -3.485258)'), GeomFromEWKT('SRID=4674;POINT (-38.523336 -3.485165)'))) / (select extract(epoch from '2026-05-27 11:50:42'::timestamp) - extract(epoch from '2026-05-27 11:50: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.5234 -3.485077)', '2026-05-27 11:50:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523336 -3.485165)'), GeomFromEWKT('SRID=4674;POINT (-38.5234 -3.485077)'))) / (select extract(epoch from '2026-05-27 11:50:47'::timestamp) - extract(epoch from '2026-05-27 11:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523336 -3.485165)'), GeomFromEWKT('SRID=4674;POINT (-38.5234 -3.485077)'))) / (select extract(epoch from '2026-05-27 11:50:47'::timestamp) - extract(epoch from '2026-05-27 11:50: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.523467 -3.484948)', '2026-05-27 11:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5234 -3.485077)'), GeomFromEWKT('SRID=4674;POINT (-38.523467 -3.484948)'))) / (select extract(epoch from '2026-05-27 11:50:53'::timestamp) - extract(epoch from '2026-05-27 11:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5234 -3.485077)'), GeomFromEWKT('SRID=4674;POINT (-38.523467 -3.484948)'))) / (select extract(epoch from '2026-05-27 11:50:53'::timestamp) - extract(epoch from '2026-05-27 11:50: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.523534 -3.484836)', '2026-05-27 11:50:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523467 -3.484948)'), GeomFromEWKT('SRID=4674;POINT (-38.523534 -3.484836)'))) / (select extract(epoch from '2026-05-27 11:50:58'::timestamp) - extract(epoch from '2026-05-27 11:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523467 -3.484948)'), GeomFromEWKT('SRID=4674;POINT (-38.523534 -3.484836)'))) / (select extract(epoch from '2026-05-27 11:50:58'::timestamp) - extract(epoch from '2026-05-27 11:50:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.523603 -3.484707)', '2026-05-27 11:51:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523534 -3.484836)'), GeomFromEWKT('SRID=4674;POINT (-38.523603 -3.484707)'))) / (select extract(epoch from '2026-05-27 11:51:04'::timestamp) - extract(epoch from '2026-05-27 11:50:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523534 -3.484836)'), GeomFromEWKT('SRID=4674;POINT (-38.523603 -3.484707)'))) / (select extract(epoch from '2026-05-27 11:51:04'::timestamp) - extract(epoch from '2026-05-27 11:50:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.52365 -3.484584)', '2026-05-27 11:51:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523603 -3.484707)'), GeomFromEWKT('SRID=4674;POINT (-38.52365 -3.484584)'))) / (select extract(epoch from '2026-05-27 11:51:09'::timestamp) - extract(epoch from '2026-05-27 11:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523603 -3.484707)'), GeomFromEWKT('SRID=4674;POINT (-38.52365 -3.484584)'))) / (select extract(epoch from '2026-05-27 11:51:09'::timestamp) - extract(epoch from '2026-05-27 11:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.523712 -3.484442)', '2026-05-27 11:51:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52365 -3.484584)'), GeomFromEWKT('SRID=4674;POINT (-38.523712 -3.484442)'))) / (select extract(epoch from '2026-05-27 11:51:15'::timestamp) - extract(epoch from '2026-05-27 11:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52365 -3.484584)'), GeomFromEWKT('SRID=4674;POINT (-38.523712 -3.484442)'))) / (select extract(epoch from '2026-05-27 11:51:15'::timestamp) - extract(epoch from '2026-05-27 11:51: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.523778 -3.484349)', '2026-05-27 11:51:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523712 -3.484442)'), GeomFromEWKT('SRID=4674;POINT (-38.523778 -3.484349)'))) / (select extract(epoch from '2026-05-27 11:51:20'::timestamp) - extract(epoch from '2026-05-27 11:51:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523712 -3.484442)'), GeomFromEWKT('SRID=4674;POINT (-38.523778 -3.484349)'))) / (select extract(epoch from '2026-05-27 11:51:20'::timestamp) - extract(epoch from '2026-05-27 11:51: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.52388 -3.484186)', '2026-05-27 11:51:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523778 -3.484349)'), GeomFromEWKT('SRID=4674;POINT (-38.52388 -3.484186)'))) / (select extract(epoch from '2026-05-27 11:51:28'::timestamp) - extract(epoch from '2026-05-27 11:51:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523778 -3.484349)'), GeomFromEWKT('SRID=4674;POINT (-38.52388 -3.484186)'))) / (select extract(epoch from '2026-05-27 11:51:28'::timestamp) - extract(epoch from '2026-05-27 11:51: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.523971 -3.483999)', '2026-05-27 11:51:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52388 -3.484186)'), GeomFromEWKT('SRID=4674;POINT (-38.523971 -3.483999)'))) / (select extract(epoch from '2026-05-27 11:51:36'::timestamp) - extract(epoch from '2026-05-27 11:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52388 -3.484186)'), GeomFromEWKT('SRID=4674;POINT (-38.523971 -3.483999)'))) / (select extract(epoch from '2026-05-27 11:51:36'::timestamp) - extract(epoch from '2026-05-27 11:51: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.524093 -3.483841)', '2026-05-27 11:51:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523971 -3.483999)'), GeomFromEWKT('SRID=4674;POINT (-38.524093 -3.483841)'))) / (select extract(epoch from '2026-05-27 11:51:44'::timestamp) - extract(epoch from '2026-05-27 11:51:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.523971 -3.483999)'), GeomFromEWKT('SRID=4674;POINT (-38.524093 -3.483841)'))) / (select extract(epoch from '2026-05-27 11:51:44'::timestamp) - extract(epoch from '2026-05-27 11:51:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.524172 -3.483732)', '2026-05-27 11:51:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524093 -3.483841)'), GeomFromEWKT('SRID=4674;POINT (-38.524172 -3.483732)'))) / (select extract(epoch from '2026-05-27 11:51:50'::timestamp) - extract(epoch from '2026-05-27 11:51:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524093 -3.483841)'), GeomFromEWKT('SRID=4674;POINT (-38.524172 -3.483732)'))) / (select extract(epoch from '2026-05-27 11:51:50'::timestamp) - extract(epoch from '2026-05-27 11:51: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.524245 -3.483602)', '2026-05-27 11:51:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524172 -3.483732)'), GeomFromEWKT('SRID=4674;POINT (-38.524245 -3.483602)'))) / (select extract(epoch from '2026-05-27 11:51:56'::timestamp) - extract(epoch from '2026-05-27 11:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524172 -3.483732)'), GeomFromEWKT('SRID=4674;POINT (-38.524245 -3.483602)'))) / (select extract(epoch from '2026-05-27 11:51:56'::timestamp) - extract(epoch from '2026-05-27 11:51: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.524313 -3.48347)', '2026-05-27 11:52:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524245 -3.483602)'), GeomFromEWKT('SRID=4674;POINT (-38.524313 -3.48347)'))) / (select extract(epoch from '2026-05-27 11:52:02'::timestamp) - extract(epoch from '2026-05-27 11:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524245 -3.483602)'), GeomFromEWKT('SRID=4674;POINT (-38.524313 -3.48347)'))) / (select extract(epoch from '2026-05-27 11:52:02'::timestamp) - extract(epoch from '2026-05-27 11:51: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.524386 -3.483343)', '2026-05-27 11:52:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524313 -3.48347)'), GeomFromEWKT('SRID=4674;POINT (-38.524386 -3.483343)'))) / (select extract(epoch from '2026-05-27 11:52:08'::timestamp) - extract(epoch from '2026-05-27 11:52:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524313 -3.48347)'), GeomFromEWKT('SRID=4674;POINT (-38.524386 -3.483343)'))) / (select extract(epoch from '2026-05-27 11:52:08'::timestamp) - extract(epoch from '2026-05-27 11:52: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.524479 -3.483244)', '2026-05-27 11:52:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524386 -3.483343)'), GeomFromEWKT('SRID=4674;POINT (-38.524479 -3.483244)'))) / (select extract(epoch from '2026-05-27 11:52:13'::timestamp) - extract(epoch from '2026-05-27 11:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524386 -3.483343)'), GeomFromEWKT('SRID=4674;POINT (-38.524479 -3.483244)'))) / (select extract(epoch from '2026-05-27 11:52:13'::timestamp) - extract(epoch from '2026-05-27 11:52: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.524539 -3.483176)', '2026-05-27 11:52:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524479 -3.483244)'), GeomFromEWKT('SRID=4674;POINT (-38.524539 -3.483176)'))) / (select extract(epoch from '2026-05-27 11:52:17'::timestamp) - extract(epoch from '2026-05-27 11:52:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524479 -3.483244)'), GeomFromEWKT('SRID=4674;POINT (-38.524539 -3.483176)'))) / (select extract(epoch from '2026-05-27 11:52:17'::timestamp) - extract(epoch from '2026-05-27 11:52: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.524662 -3.483053)', '2026-05-27 11:52:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524539 -3.483176)'), GeomFromEWKT('SRID=4674;POINT (-38.524662 -3.483053)'))) / (select extract(epoch from '2026-05-27 11:52:24'::timestamp) - extract(epoch from '2026-05-27 11:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524539 -3.483176)'), GeomFromEWKT('SRID=4674;POINT (-38.524662 -3.483053)'))) / (select extract(epoch from '2026-05-27 11:52:24'::timestamp) - extract(epoch from '2026-05-27 11:52: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.524746 -3.482937)', '2026-05-27 11:52:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524662 -3.483053)'), GeomFromEWKT('SRID=4674;POINT (-38.524746 -3.482937)'))) / (select extract(epoch from '2026-05-27 11:52:30'::timestamp) - extract(epoch from '2026-05-27 11:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524662 -3.483053)'), GeomFromEWKT('SRID=4674;POINT (-38.524746 -3.482937)'))) / (select extract(epoch from '2026-05-27 11:52:30'::timestamp) - extract(epoch from '2026-05-27 11:52: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.524828 -3.482789)', '2026-05-27 11:52:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524746 -3.482937)'), GeomFromEWKT('SRID=4674;POINT (-38.524828 -3.482789)'))) / (select extract(epoch from '2026-05-27 11:52:37'::timestamp) - extract(epoch from '2026-05-27 11:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524746 -3.482937)'), GeomFromEWKT('SRID=4674;POINT (-38.524828 -3.482789)'))) / (select extract(epoch from '2026-05-27 11:52:37'::timestamp) - extract(epoch from '2026-05-27 11:52: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.524899 -3.482696)', '2026-05-27 11:52:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524828 -3.482789)'), GeomFromEWKT('SRID=4674;POINT (-38.524899 -3.482696)'))) / (select extract(epoch from '2026-05-27 11:52:42'::timestamp) - extract(epoch from '2026-05-27 11:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524828 -3.482789)'), GeomFromEWKT('SRID=4674;POINT (-38.524899 -3.482696)'))) / (select extract(epoch from '2026-05-27 11:52:42'::timestamp) - extract(epoch from '2026-05-27 11:52: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.525018 -3.482578)', '2026-05-27 11:52:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524899 -3.482696)'), GeomFromEWKT('SRID=4674;POINT (-38.525018 -3.482578)'))) / (select extract(epoch from '2026-05-27 11:52:49'::timestamp) - extract(epoch from '2026-05-27 11:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.524899 -3.482696)'), GeomFromEWKT('SRID=4674;POINT (-38.525018 -3.482578)'))) / (select extract(epoch from '2026-05-27 11:52:49'::timestamp) - extract(epoch from '2026-05-27 11:52: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.525121 -3.482491)', '2026-05-27 11:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525018 -3.482578)'), GeomFromEWKT('SRID=4674;POINT (-38.525121 -3.482491)'))) / (select extract(epoch from '2026-05-27 11:52:55'::timestamp) - extract(epoch from '2026-05-27 11:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525018 -3.482578)'), GeomFromEWKT('SRID=4674;POINT (-38.525121 -3.482491)'))) / (select extract(epoch from '2026-05-27 11:52:55'::timestamp) - extract(epoch from '2026-05-27 11:52: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.5252 -3.482362)', '2026-05-27 11:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525121 -3.482491)'), GeomFromEWKT('SRID=4674;POINT (-38.5252 -3.482362)'))) / (select extract(epoch from '2026-05-27 11:53:02'::timestamp) - extract(epoch from '2026-05-27 11:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525121 -3.482491)'), GeomFromEWKT('SRID=4674;POINT (-38.5252 -3.482362)'))) / (select extract(epoch from '2026-05-27 11:53:02'::timestamp) - extract(epoch from '2026-05-27 11:52: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.525248 -3.482275)', '2026-05-27 11:53:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5252 -3.482362)'), GeomFromEWKT('SRID=4674;POINT (-38.525248 -3.482275)'))) / (select extract(epoch from '2026-05-27 11:53:07'::timestamp) - extract(epoch from '2026-05-27 11:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5252 -3.482362)'), GeomFromEWKT('SRID=4674;POINT (-38.525248 -3.482275)'))) / (select extract(epoch from '2026-05-27 11:53:07'::timestamp) - extract(epoch from '2026-05-27 11:53: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.525303 -3.48219)', '2026-05-27 11:53:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525248 -3.482275)'), GeomFromEWKT('SRID=4674;POINT (-38.525303 -3.48219)'))) / (select extract(epoch from '2026-05-27 11:53:12'::timestamp) - extract(epoch from '2026-05-27 11:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525248 -3.482275)'), GeomFromEWKT('SRID=4674;POINT (-38.525303 -3.48219)'))) / (select extract(epoch from '2026-05-27 11:53:12'::timestamp) - extract(epoch from '2026-05-27 11:53:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.525387 -3.482072)', '2026-05-27 11:53:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525303 -3.48219)'), GeomFromEWKT('SRID=4674;POINT (-38.525387 -3.482072)'))) / (select extract(epoch from '2026-05-27 11:53:19'::timestamp) - extract(epoch from '2026-05-27 11:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525303 -3.48219)'), GeomFromEWKT('SRID=4674;POINT (-38.525387 -3.482072)'))) / (select extract(epoch from '2026-05-27 11:53:19'::timestamp) - extract(epoch from '2026-05-27 11:53: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.525504 -3.481918)', '2026-05-27 11:53:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525387 -3.482072)'), GeomFromEWKT('SRID=4674;POINT (-38.525504 -3.481918)'))) / (select extract(epoch from '2026-05-27 11:53:27'::timestamp) - extract(epoch from '2026-05-27 11:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525387 -3.482072)'), GeomFromEWKT('SRID=4674;POINT (-38.525504 -3.481918)'))) / (select extract(epoch from '2026-05-27 11:53:27'::timestamp) - extract(epoch from '2026-05-27 11:53: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.525595 -3.481804)', '2026-05-27 11:53:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525504 -3.481918)'), GeomFromEWKT('SRID=4674;POINT (-38.525595 -3.481804)'))) / (select extract(epoch from '2026-05-27 11:53:33'::timestamp) - extract(epoch from '2026-05-27 11:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525504 -3.481918)'), GeomFromEWKT('SRID=4674;POINT (-38.525595 -3.481804)'))) / (select extract(epoch from '2026-05-27 11:53:33'::timestamp) - extract(epoch from '2026-05-27 11:53:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.525683 -3.48171)', '2026-05-27 11:53:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525595 -3.481804)'), GeomFromEWKT('SRID=4674;POINT (-38.525683 -3.48171)'))) / (select extract(epoch from '2026-05-27 11:53:38'::timestamp) - extract(epoch from '2026-05-27 11:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525595 -3.481804)'), GeomFromEWKT('SRID=4674;POINT (-38.525683 -3.48171)'))) / (select extract(epoch from '2026-05-27 11:53:38'::timestamp) - extract(epoch from '2026-05-27 11:53: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.525737 -3.48164)', '2026-05-27 11:53:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525683 -3.48171)'), GeomFromEWKT('SRID=4674;POINT (-38.525737 -3.48164)'))) / (select extract(epoch from '2026-05-27 11:53:42'::timestamp) - extract(epoch from '2026-05-27 11:53:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525683 -3.48171)'), GeomFromEWKT('SRID=4674;POINT (-38.525737 -3.48164)'))) / (select extract(epoch from '2026-05-27 11:53:42'::timestamp) - extract(epoch from '2026-05-27 11:53: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.52583 -3.481528)', '2026-05-27 11:53:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525737 -3.48164)'), GeomFromEWKT('SRID=4674;POINT (-38.52583 -3.481528)'))) / (select extract(epoch from '2026-05-27 11:53:48'::timestamp) - extract(epoch from '2026-05-27 11:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525737 -3.48164)'), GeomFromEWKT('SRID=4674;POINT (-38.52583 -3.481528)'))) / (select extract(epoch from '2026-05-27 11:53:48'::timestamp) - extract(epoch from '2026-05-27 11:53: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.525912 -3.481434)', '2026-05-27 11:53:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52583 -3.481528)'), GeomFromEWKT('SRID=4674;POINT (-38.525912 -3.481434)'))) / (select extract(epoch from '2026-05-27 11:53:53'::timestamp) - extract(epoch from '2026-05-27 11:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52583 -3.481528)'), GeomFromEWKT('SRID=4674;POINT (-38.525912 -3.481434)'))) / (select extract(epoch from '2026-05-27 11:53:53'::timestamp) - extract(epoch from '2026-05-27 11:53: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.526033 -3.481317)', '2026-05-27 11:54:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525912 -3.481434)'), GeomFromEWKT('SRID=4674;POINT (-38.526033 -3.481317)'))) / (select extract(epoch from '2026-05-27 11:54:00'::timestamp) - extract(epoch from '2026-05-27 11:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.525912 -3.481434)'), GeomFromEWKT('SRID=4674;POINT (-38.526033 -3.481317)'))) / (select extract(epoch from '2026-05-27 11:54:00'::timestamp) - extract(epoch from '2026-05-27 11:53:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.526137 -3.4812)', '2026-05-27 11:54:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526033 -3.481317)'), GeomFromEWKT('SRID=4674;POINT (-38.526137 -3.4812)'))) / (select extract(epoch from '2026-05-27 11:54:06'::timestamp) - extract(epoch from '2026-05-27 11:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526033 -3.481317)'), GeomFromEWKT('SRID=4674;POINT (-38.526137 -3.4812)'))) / (select extract(epoch from '2026-05-27 11:54:06'::timestamp) - extract(epoch from '2026-05-27 11:54:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.526248 -3.481045)', '2026-05-27 11:54:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526137 -3.4812)'), GeomFromEWKT('SRID=4674;POINT (-38.526248 -3.481045)'))) / (select extract(epoch from '2026-05-27 11:54:13'::timestamp) - extract(epoch from '2026-05-27 11:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526137 -3.4812)'), GeomFromEWKT('SRID=4674;POINT (-38.526248 -3.481045)'))) / (select extract(epoch from '2026-05-27 11:54:13'::timestamp) - extract(epoch from '2026-05-27 11:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.526349 -3.48092)', '2026-05-27 11:54:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526248 -3.481045)'), GeomFromEWKT('SRID=4674;POINT (-38.526349 -3.48092)'))) / (select extract(epoch from '2026-05-27 11:54:19'::timestamp) - extract(epoch from '2026-05-27 11:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526248 -3.481045)'), GeomFromEWKT('SRID=4674;POINT (-38.526349 -3.48092)'))) / (select extract(epoch from '2026-05-27 11:54:19'::timestamp) - extract(epoch from '2026-05-27 11:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.526464 -3.48079)', '2026-05-27 11:54:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526349 -3.48092)'), GeomFromEWKT('SRID=4674;POINT (-38.526464 -3.48079)'))) / (select extract(epoch from '2026-05-27 11:54:25'::timestamp) - extract(epoch from '2026-05-27 11:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526349 -3.48092)'), GeomFromEWKT('SRID=4674;POINT (-38.526464 -3.48079)'))) / (select extract(epoch from '2026-05-27 11:54:25'::timestamp) - extract(epoch from '2026-05-27 11:54: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.526544 -3.480685)', '2026-05-27 11:54:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526464 -3.48079)'), GeomFromEWKT('SRID=4674;POINT (-38.526544 -3.480685)'))) / (select extract(epoch from '2026-05-27 11:54:30'::timestamp) - extract(epoch from '2026-05-27 11:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526464 -3.48079)'), GeomFromEWKT('SRID=4674;POINT (-38.526544 -3.480685)'))) / (select extract(epoch from '2026-05-27 11:54:30'::timestamp) - extract(epoch from '2026-05-27 11:54:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.526641 -3.480582)', '2026-05-27 11:54:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526544 -3.480685)'), GeomFromEWKT('SRID=4674;POINT (-38.526641 -3.480582)'))) / (select extract(epoch from '2026-05-27 11:54:35'::timestamp) - extract(epoch from '2026-05-27 11:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526544 -3.480685)'), GeomFromEWKT('SRID=4674;POINT (-38.526641 -3.480582)'))) / (select extract(epoch from '2026-05-27 11:54:35'::timestamp) - extract(epoch from '2026-05-27 11:54: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.526762 -3.48046)', '2026-05-27 11:54:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526641 -3.480582)'), GeomFromEWKT('SRID=4674;POINT (-38.526762 -3.48046)'))) / (select extract(epoch from '2026-05-27 11:54:41'::timestamp) - extract(epoch from '2026-05-27 11:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526641 -3.480582)'), GeomFromEWKT('SRID=4674;POINT (-38.526762 -3.48046)'))) / (select extract(epoch from '2026-05-27 11:54:41'::timestamp) - extract(epoch from '2026-05-27 11:54: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.526881 -3.480355)', '2026-05-27 11:54:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526762 -3.48046)'), GeomFromEWKT('SRID=4674;POINT (-38.526881 -3.480355)'))) / (select extract(epoch from '2026-05-27 11:54:47'::timestamp) - extract(epoch from '2026-05-27 11:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526762 -3.48046)'), GeomFromEWKT('SRID=4674;POINT (-38.526881 -3.480355)'))) / (select extract(epoch from '2026-05-27 11:54:47'::timestamp) - extract(epoch from '2026-05-27 11:54: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.526984 -3.480272)', '2026-05-27 11:54:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526881 -3.480355)'), GeomFromEWKT('SRID=4674;POINT (-38.526984 -3.480272)'))) / (select extract(epoch from '2026-05-27 11:54:52'::timestamp) - extract(epoch from '2026-05-27 11:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526881 -3.480355)'), GeomFromEWKT('SRID=4674;POINT (-38.526984 -3.480272)'))) / (select extract(epoch from '2026-05-27 11:54:52'::timestamp) - extract(epoch from '2026-05-27 11:54: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.527076 -3.480184)', '2026-05-27 11:54:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526984 -3.480272)'), GeomFromEWKT('SRID=4674;POINT (-38.527076 -3.480184)'))) / (select extract(epoch from '2026-05-27 11:54:57'::timestamp) - extract(epoch from '2026-05-27 11:54:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.526984 -3.480272)'), GeomFromEWKT('SRID=4674;POINT (-38.527076 -3.480184)'))) / (select extract(epoch from '2026-05-27 11:54:57'::timestamp) - extract(epoch from '2026-05-27 11:54:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.527169 -3.480067)', '2026-05-27 11:55:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527076 -3.480184)'), GeomFromEWKT('SRID=4674;POINT (-38.527169 -3.480067)'))) / (select extract(epoch from '2026-05-27 11:55:03'::timestamp) - extract(epoch from '2026-05-27 11:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527076 -3.480184)'), GeomFromEWKT('SRID=4674;POINT (-38.527169 -3.480067)'))) / (select extract(epoch from '2026-05-27 11:55:03'::timestamp) - extract(epoch from '2026-05-27 11:54: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.527264 -3.479939)', '2026-05-27 11:55:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527169 -3.480067)'), GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.479939)'))) / (select extract(epoch from '2026-05-27 11:55:09'::timestamp) - extract(epoch from '2026-05-27 11:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527169 -3.480067)'), GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.479939)'))) / (select extract(epoch from '2026-05-27 11:55:09'::timestamp) - extract(epoch from '2026-05-27 11:55: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.527355 -3.479842)', '2026-05-27 11:55:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.479939)'), GeomFromEWKT('SRID=4674;POINT (-38.527355 -3.479842)'))) / (select extract(epoch from '2026-05-27 11:55:14'::timestamp) - extract(epoch from '2026-05-27 11:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527264 -3.479939)'), GeomFromEWKT('SRID=4674;POINT (-38.527355 -3.479842)'))) / (select extract(epoch from '2026-05-27 11:55:14'::timestamp) - extract(epoch from '2026-05-27 11: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.527448 -3.479722)', '2026-05-27 11:55:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527355 -3.479842)'), GeomFromEWKT('SRID=4674;POINT (-38.527448 -3.479722)'))) / (select extract(epoch from '2026-05-27 11:55:20'::timestamp) - extract(epoch from '2026-05-27 11:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527355 -3.479842)'), GeomFromEWKT('SRID=4674;POINT (-38.527448 -3.479722)'))) / (select extract(epoch from '2026-05-27 11:55:20'::timestamp) - extract(epoch from '2026-05-27 11:55: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.527532 -3.479621)', '2026-05-27 11:55:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527448 -3.479722)'), GeomFromEWKT('SRID=4674;POINT (-38.527532 -3.479621)'))) / (select extract(epoch from '2026-05-27 11:55:25'::timestamp) - extract(epoch from '2026-05-27 11:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527448 -3.479722)'), GeomFromEWKT('SRID=4674;POINT (-38.527532 -3.479621)'))) / (select extract(epoch from '2026-05-27 11:55:25'::timestamp) - extract(epoch from '2026-05-27 11:55:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.527605 -3.479523)', '2026-05-27 11:55:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527532 -3.479621)'), GeomFromEWKT('SRID=4674;POINT (-38.527605 -3.479523)'))) / (select extract(epoch from '2026-05-27 11:55:30'::timestamp) - extract(epoch from '2026-05-27 11:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527532 -3.479621)'), GeomFromEWKT('SRID=4674;POINT (-38.527605 -3.479523)'))) / (select extract(epoch from '2026-05-27 11:55:30'::timestamp) - extract(epoch from '2026-05-27 11:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.527684 -3.479423)', '2026-05-27 11:55:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527605 -3.479523)'), GeomFromEWKT('SRID=4674;POINT (-38.527684 -3.479423)'))) / (select extract(epoch from '2026-05-27 11:55:36'::timestamp) - extract(epoch from '2026-05-27 11:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527605 -3.479523)'), GeomFromEWKT('SRID=4674;POINT (-38.527684 -3.479423)'))) / (select extract(epoch from '2026-05-27 11:55:36'::timestamp) - extract(epoch from '2026-05-27 11:55:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.527758 -3.479324)', '2026-05-27 11:55:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527684 -3.479423)'), GeomFromEWKT('SRID=4674;POINT (-38.527758 -3.479324)'))) / (select extract(epoch from '2026-05-27 11:55:42'::timestamp) - extract(epoch from '2026-05-27 11:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527684 -3.479423)'), GeomFromEWKT('SRID=4674;POINT (-38.527758 -3.479324)'))) / (select extract(epoch from '2026-05-27 11:55:42'::timestamp) - extract(epoch from '2026-05-27 11:55: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.527839 -3.479216)', '2026-05-27 11:55:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527758 -3.479324)'), GeomFromEWKT('SRID=4674;POINT (-38.527839 -3.479216)'))) / (select extract(epoch from '2026-05-27 11:55:48'::timestamp) - extract(epoch from '2026-05-27 11:55:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527758 -3.479324)'), GeomFromEWKT('SRID=4674;POINT (-38.527839 -3.479216)'))) / (select extract(epoch from '2026-05-27 11:55:48'::timestamp) - extract(epoch from '2026-05-27 11:55:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.527949 -3.479104)', '2026-05-27 11:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527839 -3.479216)'), GeomFromEWKT('SRID=4674;POINT (-38.527949 -3.479104)'))) / (select extract(epoch from '2026-05-27 11:55:55'::timestamp) - extract(epoch from '2026-05-27 11:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527839 -3.479216)'), GeomFromEWKT('SRID=4674;POINT (-38.527949 -3.479104)'))) / (select extract(epoch from '2026-05-27 11:55:55'::timestamp) - extract(epoch from '2026-05-27 11:55: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.528041 -3.479028)', '2026-05-27 11:56:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527949 -3.479104)'), GeomFromEWKT('SRID=4674;POINT (-38.528041 -3.479028)'))) / (select extract(epoch from '2026-05-27 11:56:00'::timestamp) - extract(epoch from '2026-05-27 11:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.527949 -3.479104)'), GeomFromEWKT('SRID=4674;POINT (-38.528041 -3.479028)'))) / (select extract(epoch from '2026-05-27 11:56:00'::timestamp) - extract(epoch from '2026-05-27 11:55: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.528139 -3.478935)', '2026-05-27 11:56:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528041 -3.479028)'), GeomFromEWKT('SRID=4674;POINT (-38.528139 -3.478935)'))) / (select extract(epoch from '2026-05-27 11:56:06'::timestamp) - extract(epoch from '2026-05-27 11:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528041 -3.479028)'), GeomFromEWKT('SRID=4674;POINT (-38.528139 -3.478935)'))) / (select extract(epoch from '2026-05-27 11:56:06'::timestamp) - extract(epoch from '2026-05-27 11: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.528224 -3.478821)', '2026-05-27 11:56:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528139 -3.478935)'), GeomFromEWKT('SRID=4674;POINT (-38.528224 -3.478821)'))) / (select extract(epoch from '2026-05-27 11:56:12'::timestamp) - extract(epoch from '2026-05-27 11:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528139 -3.478935)'), GeomFromEWKT('SRID=4674;POINT (-38.528224 -3.478821)'))) / (select extract(epoch from '2026-05-27 11:56:12'::timestamp) - extract(epoch from '2026-05-27 11:56: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.528304 -3.478732)', '2026-05-27 11:56:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528224 -3.478821)'), GeomFromEWKT('SRID=4674;POINT (-38.528304 -3.478732)'))) / (select extract(epoch from '2026-05-27 11:56:17'::timestamp) - extract(epoch from '2026-05-27 11:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528224 -3.478821)'), GeomFromEWKT('SRID=4674;POINT (-38.528304 -3.478732)'))) / (select extract(epoch from '2026-05-27 11:56:17'::timestamp) - extract(epoch from '2026-05-27 11: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.528394 -3.478658)', '2026-05-27 11:56:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528304 -3.478732)'), GeomFromEWKT('SRID=4674;POINT (-38.528394 -3.478658)'))) / (select extract(epoch from '2026-05-27 11:56:22'::timestamp) - extract(epoch from '2026-05-27 11:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528304 -3.478732)'), GeomFromEWKT('SRID=4674;POINT (-38.528394 -3.478658)'))) / (select extract(epoch from '2026-05-27 11:56:22'::timestamp) - extract(epoch from '2026-05-27 11: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.528484 -3.478526)', '2026-05-27 11:56:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528394 -3.478658)'), GeomFromEWKT('SRID=4674;POINT (-38.528484 -3.478526)'))) / (select extract(epoch from '2026-05-27 11:56:29'::timestamp) - extract(epoch from '2026-05-27 11:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528394 -3.478658)'), GeomFromEWKT('SRID=4674;POINT (-38.528484 -3.478526)'))) / (select extract(epoch from '2026-05-27 11:56:29'::timestamp) - extract(epoch from '2026-05-27 11: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.528555 -3.478412)', '2026-05-27 11:56:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528484 -3.478526)'), GeomFromEWKT('SRID=4674;POINT (-38.528555 -3.478412)'))) / (select extract(epoch from '2026-05-27 11:56:35'::timestamp) - extract(epoch from '2026-05-27 11:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528484 -3.478526)'), GeomFromEWKT('SRID=4674;POINT (-38.528555 -3.478412)'))) / (select extract(epoch from '2026-05-27 11:56:35'::timestamp) - extract(epoch from '2026-05-27 11:56: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.528652 -3.478286)', '2026-05-27 11:56:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528555 -3.478412)'), GeomFromEWKT('SRID=4674;POINT (-38.528652 -3.478286)'))) / (select extract(epoch from '2026-05-27 11:56:42'::timestamp) - extract(epoch from '2026-05-27 11:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528555 -3.478412)'), GeomFromEWKT('SRID=4674;POINT (-38.528652 -3.478286)'))) / (select extract(epoch from '2026-05-27 11:56:42'::timestamp) - extract(epoch from '2026-05-27 11: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.528753 -3.478174)', '2026-05-27 11:56:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528652 -3.478286)'), GeomFromEWKT('SRID=4674;POINT (-38.528753 -3.478174)'))) / (select extract(epoch from '2026-05-27 11:56:48'::timestamp) - extract(epoch from '2026-05-27 11:56:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528652 -3.478286)'), GeomFromEWKT('SRID=4674;POINT (-38.528753 -3.478174)'))) / (select extract(epoch from '2026-05-27 11:56:48'::timestamp) - extract(epoch from '2026-05-27 11:56: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.528821 -3.478043)', '2026-05-27 11:56:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528753 -3.478174)'), GeomFromEWKT('SRID=4674;POINT (-38.528821 -3.478043)'))) / (select extract(epoch from '2026-05-27 11:56:54'::timestamp) - extract(epoch from '2026-05-27 11:56:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528753 -3.478174)'), GeomFromEWKT('SRID=4674;POINT (-38.528821 -3.478043)'))) / (select extract(epoch from '2026-05-27 11:56:54'::timestamp) - extract(epoch from '2026-05-27 11: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.528863 -3.477939)', '2026-05-27 11:56:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528821 -3.478043)'), GeomFromEWKT('SRID=4674;POINT (-38.528863 -3.477939)'))) / (select extract(epoch from '2026-05-27 11:56:59'::timestamp) - extract(epoch from '2026-05-27 11:56:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528821 -3.478043)'), GeomFromEWKT('SRID=4674;POINT (-38.528863 -3.477939)'))) / (select extract(epoch from '2026-05-27 11:56:59'::timestamp) - extract(epoch from '2026-05-27 11:56: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.52893 -3.477839)', '2026-05-27 11:57:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528863 -3.477939)'), GeomFromEWKT('SRID=4674;POINT (-38.52893 -3.477839)'))) / (select extract(epoch from '2026-05-27 11:57:04'::timestamp) - extract(epoch from '2026-05-27 11:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.528863 -3.477939)'), GeomFromEWKT('SRID=4674;POINT (-38.52893 -3.477839)'))) / (select extract(epoch from '2026-05-27 11:57:04'::timestamp) - extract(epoch from '2026-05-27 11:56: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.529047 -3.477714)', '2026-05-27 11:57:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52893 -3.477839)'), GeomFromEWKT('SRID=4674;POINT (-38.529047 -3.477714)'))) / (select extract(epoch from '2026-05-27 11:57:11'::timestamp) - extract(epoch from '2026-05-27 11:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.52893 -3.477839)'), GeomFromEWKT('SRID=4674;POINT (-38.529047 -3.477714)'))) / (select extract(epoch from '2026-05-27 11:57:11'::timestamp) - extract(epoch from '2026-05-27 11:57: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.529151 -3.477605)', '2026-05-27 11:57:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529047 -3.477714)'), GeomFromEWKT('SRID=4674;POINT (-38.529151 -3.477605)'))) / (select extract(epoch from '2026-05-27 11:57:17'::timestamp) - extract(epoch from '2026-05-27 11:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529047 -3.477714)'), GeomFromEWKT('SRID=4674;POINT (-38.529151 -3.477605)'))) / (select extract(epoch from '2026-05-27 11:57:17'::timestamp) - extract(epoch from '2026-05-27 11:57: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.529274 -3.477472)', '2026-05-27 11:57:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529151 -3.477605)'), GeomFromEWKT('SRID=4674;POINT (-38.529274 -3.477472)'))) / (select extract(epoch from '2026-05-27 11:57:24'::timestamp) - extract(epoch from '2026-05-27 11:57:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529151 -3.477605)'), GeomFromEWKT('SRID=4674;POINT (-38.529274 -3.477472)'))) / (select extract(epoch from '2026-05-27 11:57:24'::timestamp) - extract(epoch from '2026-05-27 11: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.529406 -3.477313)', '2026-05-27 11:57:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529274 -3.477472)'), GeomFromEWKT('SRID=4674;POINT (-38.529406 -3.477313)'))) / (select extract(epoch from '2026-05-27 11:57:32'::timestamp) - extract(epoch from '2026-05-27 11:57:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529274 -3.477472)'), GeomFromEWKT('SRID=4674;POINT (-38.529406 -3.477313)'))) / (select extract(epoch from '2026-05-27 11:57:32'::timestamp) - extract(epoch from '2026-05-27 11: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.529489 -3.477221)', '2026-05-27 11:57:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529406 -3.477313)'), GeomFromEWKT('SRID=4674;POINT (-38.529489 -3.477221)'))) / (select extract(epoch from '2026-05-27 11:57:37'::timestamp) - extract(epoch from '2026-05-27 11:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529406 -3.477313)'), GeomFromEWKT('SRID=4674;POINT (-38.529489 -3.477221)'))) / (select extract(epoch from '2026-05-27 11:57:37'::timestamp) - extract(epoch from '2026-05-27 11:57:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.529575 -3.477111)', '2026-05-27 11:57:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529489 -3.477221)'), GeomFromEWKT('SRID=4674;POINT (-38.529575 -3.477111)'))) / (select extract(epoch from '2026-05-27 11:57:43'::timestamp) - extract(epoch from '2026-05-27 11:57:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529489 -3.477221)'), GeomFromEWKT('SRID=4674;POINT (-38.529575 -3.477111)'))) / (select extract(epoch from '2026-05-27 11:57:43'::timestamp) - extract(epoch from '2026-05-27 11: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.529664 -3.477019)', '2026-05-27 11:57:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529575 -3.477111)'), GeomFromEWKT('SRID=4674;POINT (-38.529664 -3.477019)'))) / (select extract(epoch from '2026-05-27 11:57:48'::timestamp) - extract(epoch from '2026-05-27 11:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529575 -3.477111)'), GeomFromEWKT('SRID=4674;POINT (-38.529664 -3.477019)'))) / (select extract(epoch from '2026-05-27 11:57:48'::timestamp) - extract(epoch from '2026-05-27 11:57: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.529773 -3.476902)', '2026-05-27 11:57:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529664 -3.477019)'), GeomFromEWKT('SRID=4674;POINT (-38.529773 -3.476902)'))) / (select extract(epoch from '2026-05-27 11:57:54'::timestamp) - extract(epoch from '2026-05-27 11:57:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529664 -3.477019)'), GeomFromEWKT('SRID=4674;POINT (-38.529773 -3.476902)'))) / (select extract(epoch from '2026-05-27 11:57:54'::timestamp) - extract(epoch from '2026-05-27 11:57: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.529855 -3.476798)', '2026-05-27 11:57:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529773 -3.476902)'), GeomFromEWKT('SRID=4674;POINT (-38.529855 -3.476798)'))) / (select extract(epoch from '2026-05-27 11:57:59'::timestamp) - extract(epoch from '2026-05-27 11:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529773 -3.476902)'), GeomFromEWKT('SRID=4674;POINT (-38.529855 -3.476798)'))) / (select extract(epoch from '2026-05-27 11:57:59'::timestamp) - extract(epoch from '2026-05-27 11:57: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.529925 -3.476709)', '2026-05-27 11:58:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529855 -3.476798)'), GeomFromEWKT('SRID=4674;POINT (-38.529925 -3.476709)'))) / (select extract(epoch from '2026-05-27 11:58:04'::timestamp) - extract(epoch from '2026-05-27 11:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529855 -3.476798)'), GeomFromEWKT('SRID=4674;POINT (-38.529925 -3.476709)'))) / (select extract(epoch from '2026-05-27 11:58:04'::timestamp) - extract(epoch from '2026-05-27 11:57: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.529988 -3.476599)', '2026-05-27 11:58:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529925 -3.476709)'), GeomFromEWKT('SRID=4674;POINT (-38.529988 -3.476599)'))) / (select extract(epoch from '2026-05-27 11:58:09'::timestamp) - extract(epoch from '2026-05-27 11:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529925 -3.476709)'), GeomFromEWKT('SRID=4674;POINT (-38.529988 -3.476599)'))) / (select extract(epoch from '2026-05-27 11:58:09'::timestamp) - extract(epoch from '2026-05-27 11:58: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.530078 -3.476485)', '2026-05-27 11:58:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529988 -3.476599)'), GeomFromEWKT('SRID=4674;POINT (-38.530078 -3.476485)'))) / (select extract(epoch from '2026-05-27 11:58:15'::timestamp) - extract(epoch from '2026-05-27 11:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.529988 -3.476599)'), GeomFromEWKT('SRID=4674;POINT (-38.530078 -3.476485)'))) / (select extract(epoch from '2026-05-27 11:58:15'::timestamp) - extract(epoch from '2026-05-27 11:58: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.530163 -3.476391)', '2026-05-27 11:58:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530078 -3.476485)'), GeomFromEWKT('SRID=4674;POINT (-38.530163 -3.476391)'))) / (select extract(epoch from '2026-05-27 11:58:20'::timestamp) - extract(epoch from '2026-05-27 11:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530078 -3.476485)'), GeomFromEWKT('SRID=4674;POINT (-38.530163 -3.476391)'))) / (select extract(epoch from '2026-05-27 11:58:20'::timestamp) - extract(epoch from '2026-05-27 11:58: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.530245 -3.476256)', '2026-05-27 11:58:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530163 -3.476391)'), GeomFromEWKT('SRID=4674;POINT (-38.530245 -3.476256)'))) / (select extract(epoch from '2026-05-27 11:58:26'::timestamp) - extract(epoch from '2026-05-27 11:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530163 -3.476391)'), GeomFromEWKT('SRID=4674;POINT (-38.530245 -3.476256)'))) / (select extract(epoch from '2026-05-27 11:58:26'::timestamp) - extract(epoch from '2026-05-27 11:58: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.530306 -3.476115)', '2026-05-27 11:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530245 -3.476256)'), GeomFromEWKT('SRID=4674;POINT (-38.530306 -3.476115)'))) / (select extract(epoch from '2026-05-27 11:58:32'::timestamp) - extract(epoch from '2026-05-27 11:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530245 -3.476256)'), GeomFromEWKT('SRID=4674;POINT (-38.530306 -3.476115)'))) / (select extract(epoch from '2026-05-27 11:58:32'::timestamp) - extract(epoch from '2026-05-27 11: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.530347 -3.476011)', '2026-05-27 11:58:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530306 -3.476115)'), GeomFromEWKT('SRID=4674;POINT (-38.530347 -3.476011)'))) / (select extract(epoch from '2026-05-27 11:58:37'::timestamp) - extract(epoch from '2026-05-27 11:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530306 -3.476115)'), GeomFromEWKT('SRID=4674;POINT (-38.530347 -3.476011)'))) / (select extract(epoch from '2026-05-27 11:58:37'::timestamp) - extract(epoch from '2026-05-27 11:58: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.5304 -3.475906)', '2026-05-27 11:58:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530347 -3.476011)'), GeomFromEWKT('SRID=4674;POINT (-38.5304 -3.475906)'))) / (select extract(epoch from '2026-05-27 11:58:42'::timestamp) - extract(epoch from '2026-05-27 11:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530347 -3.476011)'), GeomFromEWKT('SRID=4674;POINT (-38.5304 -3.475906)'))) / (select extract(epoch from '2026-05-27 11:58:42'::timestamp) - extract(epoch from '2026-05-27 11:58: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.530461 -3.475778)', '2026-05-27 11:58:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5304 -3.475906)'), GeomFromEWKT('SRID=4674;POINT (-38.530461 -3.475778)'))) / (select extract(epoch from '2026-05-27 11:58:48'::timestamp) - extract(epoch from '2026-05-27 11:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5304 -3.475906)'), GeomFromEWKT('SRID=4674;POINT (-38.530461 -3.475778)'))) / (select extract(epoch from '2026-05-27 11:58:48'::timestamp) - extract(epoch from '2026-05-27 11:58: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.530526 -3.475657)', '2026-05-27 11:58:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530461 -3.475778)'), GeomFromEWKT('SRID=4674;POINT (-38.530526 -3.475657)'))) / (select extract(epoch from '2026-05-27 11:58:54'::timestamp) - extract(epoch from '2026-05-27 11:58:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530461 -3.475778)'), GeomFromEWKT('SRID=4674;POINT (-38.530526 -3.475657)'))) / (select extract(epoch from '2026-05-27 11:58:54'::timestamp) - extract(epoch from '2026-05-27 11: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.530599 -3.475521)', '2026-05-27 11:59:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530526 -3.475657)'), GeomFromEWKT('SRID=4674;POINT (-38.530599 -3.475521)'))) / (select extract(epoch from '2026-05-27 11:59:01'::timestamp) - extract(epoch from '2026-05-27 11:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530526 -3.475657)'), GeomFromEWKT('SRID=4674;POINT (-38.530599 -3.475521)'))) / (select extract(epoch from '2026-05-27 11:59:01'::timestamp) - extract(epoch from '2026-05-27 11:58: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.530663 -3.47539)', '2026-05-27 11:59:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530599 -3.475521)'), GeomFromEWKT('SRID=4674;POINT (-38.530663 -3.47539)'))) / (select extract(epoch from '2026-05-27 11:59:07'::timestamp) - extract(epoch from '2026-05-27 11:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530599 -3.475521)'), GeomFromEWKT('SRID=4674;POINT (-38.530663 -3.47539)'))) / (select extract(epoch from '2026-05-27 11:59:07'::timestamp) - extract(epoch from '2026-05-27 11:59: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.530711 -3.475283)', '2026-05-27 11:59:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530663 -3.47539)'), GeomFromEWKT('SRID=4674;POINT (-38.530711 -3.475283)'))) / (select extract(epoch from '2026-05-27 11:59:12'::timestamp) - extract(epoch from '2026-05-27 11:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530663 -3.47539)'), GeomFromEWKT('SRID=4674;POINT (-38.530711 -3.475283)'))) / (select extract(epoch from '2026-05-27 11:59:12'::timestamp) - extract(epoch from '2026-05-27 11: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.530762 -3.475206)', '2026-05-27 11:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530711 -3.475283)'), GeomFromEWKT('SRID=4674;POINT (-38.530762 -3.475206)'))) / (select extract(epoch from '2026-05-27 11:59:16'::timestamp) - extract(epoch from '2026-05-27 11:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530711 -3.475283)'), GeomFromEWKT('SRID=4674;POINT (-38.530762 -3.475206)'))) / (select extract(epoch from '2026-05-27 11:59:16'::timestamp) - extract(epoch from '2026-05-27 11: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.530833 -3.475109)', '2026-05-27 11:59:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530762 -3.475206)'), GeomFromEWKT('SRID=4674;POINT (-38.530833 -3.475109)'))) / (select extract(epoch from '2026-05-27 11:59:22'::timestamp) - extract(epoch from '2026-05-27 11:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530762 -3.475206)'), GeomFromEWKT('SRID=4674;POINT (-38.530833 -3.475109)'))) / (select extract(epoch from '2026-05-27 11:59:22'::timestamp) - extract(epoch from '2026-05-27 11:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.530911 -3.475006)', '2026-05-27 11:59:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530833 -3.475109)'), GeomFromEWKT('SRID=4674;POINT (-38.530911 -3.475006)'))) / (select extract(epoch from '2026-05-27 11:59:28'::timestamp) - extract(epoch from '2026-05-27 11:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530833 -3.475109)'), GeomFromEWKT('SRID=4674;POINT (-38.530911 -3.475006)'))) / (select extract(epoch from '2026-05-27 11:59:28'::timestamp) - extract(epoch from '2026-05-27 11: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.53096 -3.47491)', '2026-05-27 11:59:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530911 -3.475006)'), GeomFromEWKT('SRID=4674;POINT (-38.53096 -3.47491)'))) / (select extract(epoch from '2026-05-27 11:59:33'::timestamp) - extract(epoch from '2026-05-27 11:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.530911 -3.475006)'), GeomFromEWKT('SRID=4674;POINT (-38.53096 -3.47491)'))) / (select extract(epoch from '2026-05-27 11:59:33'::timestamp) - extract(epoch from '2026-05-27 11:59: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.531021 -3.474795)', '2026-05-27 11:59:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53096 -3.47491)'), GeomFromEWKT('SRID=4674;POINT (-38.531021 -3.474795)'))) / (select extract(epoch from '2026-05-27 11:59:39'::timestamp) - extract(epoch from '2026-05-27 11:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53096 -3.47491)'), GeomFromEWKT('SRID=4674;POINT (-38.531021 -3.474795)'))) / (select extract(epoch from '2026-05-27 11:59:39'::timestamp) - extract(epoch from '2026-05-27 11: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.531105 -3.474653)', '2026-05-27 11:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531021 -3.474795)'), GeomFromEWKT('SRID=4674;POINT (-38.531105 -3.474653)'))) / (select extract(epoch from '2026-05-27 11:59:46'::timestamp) - extract(epoch from '2026-05-27 11:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531021 -3.474795)'), GeomFromEWKT('SRID=4674;POINT (-38.531105 -3.474653)'))) / (select extract(epoch from '2026-05-27 11:59:46'::timestamp) - extract(epoch from '2026-05-27 11:59: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.531183 -3.47454)', '2026-05-27 11:59:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531105 -3.474653)'), GeomFromEWKT('SRID=4674;POINT (-38.531183 -3.47454)'))) / (select extract(epoch from '2026-05-27 11:59:51'::timestamp) - extract(epoch from '2026-05-27 11:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531105 -3.474653)'), GeomFromEWKT('SRID=4674;POINT (-38.531183 -3.47454)'))) / (select extract(epoch from '2026-05-27 11:59:51'::timestamp) - extract(epoch from '2026-05-27 11:59: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.531253 -3.474429)', '2026-05-27 11:59:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531183 -3.47454)'), GeomFromEWKT('SRID=4674;POINT (-38.531253 -3.474429)'))) / (select extract(epoch from '2026-05-27 11:59:56'::timestamp) - extract(epoch from '2026-05-27 11:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531183 -3.47454)'), GeomFromEWKT('SRID=4674;POINT (-38.531253 -3.474429)'))) / (select extract(epoch from '2026-05-27 11:59:56'::timestamp) - extract(epoch from '2026-05-27 11:59: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.531339 -3.474284)', '2026-05-27 12:00:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531253 -3.474429)'), GeomFromEWKT('SRID=4674;POINT (-38.531339 -3.474284)'))) / (select extract(epoch from '2026-05-27 12:00:03'::timestamp) - extract(epoch from '2026-05-27 11:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531253 -3.474429)'), GeomFromEWKT('SRID=4674;POINT (-38.531339 -3.474284)'))) / (select extract(epoch from '2026-05-27 12:00:03'::timestamp) - extract(epoch from '2026-05-27 11:59: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.531423 -3.474118)', '2026-05-27 12:00:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531339 -3.474284)'), GeomFromEWKT('SRID=4674;POINT (-38.531423 -3.474118)'))) / (select extract(epoch from '2026-05-27 12:00:11'::timestamp) - extract(epoch from '2026-05-27 12:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531339 -3.474284)'), GeomFromEWKT('SRID=4674;POINT (-38.531423 -3.474118)'))) / (select extract(epoch from '2026-05-27 12:00:11'::timestamp) - extract(epoch from '2026-05-27 12:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.531483 -3.474019)', '2026-05-27 12:00:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531423 -3.474118)'), GeomFromEWKT('SRID=4674;POINT (-38.531483 -3.474019)'))) / (select extract(epoch from '2026-05-27 12:00:16'::timestamp) - extract(epoch from '2026-05-27 12:00:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531423 -3.474118)'), GeomFromEWKT('SRID=4674;POINT (-38.531483 -3.474019)'))) / (select extract(epoch from '2026-05-27 12:00:16'::timestamp) - extract(epoch from '2026-05-27 12:00: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.53155 -3.473933)', '2026-05-27 12:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531483 -3.474019)'), GeomFromEWKT('SRID=4674;POINT (-38.53155 -3.473933)'))) / (select extract(epoch from '2026-05-27 12:00:21'::timestamp) - extract(epoch from '2026-05-27 12:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531483 -3.474019)'), GeomFromEWKT('SRID=4674;POINT (-38.53155 -3.473933)'))) / (select extract(epoch from '2026-05-27 12:00:21'::timestamp) - extract(epoch from '2026-05-27 12:00: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.53161 -3.473828)', '2026-05-27 12:00:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53155 -3.473933)'), GeomFromEWKT('SRID=4674;POINT (-38.53161 -3.473828)'))) / (select extract(epoch from '2026-05-27 12:00:26'::timestamp) - extract(epoch from '2026-05-27 12:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53155 -3.473933)'), GeomFromEWKT('SRID=4674;POINT (-38.53161 -3.473828)'))) / (select extract(epoch from '2026-05-27 12:00:26'::timestamp) - extract(epoch from '2026-05-27 12: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.531678 -3.473721)', '2026-05-27 12:00:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53161 -3.473828)'), GeomFromEWKT('SRID=4674;POINT (-38.531678 -3.473721)'))) / (select extract(epoch from '2026-05-27 12:00:31'::timestamp) - extract(epoch from '2026-05-27 12:00:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53161 -3.473828)'), GeomFromEWKT('SRID=4674;POINT (-38.531678 -3.473721)'))) / (select extract(epoch from '2026-05-27 12:00:31'::timestamp) - extract(epoch from '2026-05-27 12:00: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.531749 -3.473572)', '2026-05-27 12:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531678 -3.473721)'), GeomFromEWKT('SRID=4674;POINT (-38.531749 -3.473572)'))) / (select extract(epoch from '2026-05-27 12:00:38'::timestamp) - extract(epoch from '2026-05-27 12:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531678 -3.473721)'), GeomFromEWKT('SRID=4674;POINT (-38.531749 -3.473572)'))) / (select extract(epoch from '2026-05-27 12:00:38'::timestamp) - extract(epoch from '2026-05-27 12:00: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.531833 -3.473431)', '2026-05-27 12:00:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531749 -3.473572)'), GeomFromEWKT('SRID=4674;POINT (-38.531833 -3.473431)'))) / (select extract(epoch from '2026-05-27 12:00:45'::timestamp) - extract(epoch from '2026-05-27 12:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531749 -3.473572)'), GeomFromEWKT('SRID=4674;POINT (-38.531833 -3.473431)'))) / (select extract(epoch from '2026-05-27 12:00:45'::timestamp) - extract(epoch from '2026-05-27 12: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.531912 -3.47332)', '2026-05-27 12:00:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531833 -3.473431)'), GeomFromEWKT('SRID=4674;POINT (-38.531912 -3.47332)'))) / (select extract(epoch from '2026-05-27 12:00:51'::timestamp) - extract(epoch from '2026-05-27 12:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531833 -3.473431)'), GeomFromEWKT('SRID=4674;POINT (-38.531912 -3.47332)'))) / (select extract(epoch from '2026-05-27 12:00:51'::timestamp) - extract(epoch from '2026-05-27 12:00: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.532005 -3.47319)', '2026-05-27 12:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531912 -3.47332)'), GeomFromEWKT('SRID=4674;POINT (-38.532005 -3.47319)'))) / (select extract(epoch from '2026-05-27 12:00:58'::timestamp) - extract(epoch from '2026-05-27 12:00:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.531912 -3.47332)'), GeomFromEWKT('SRID=4674;POINT (-38.532005 -3.47319)'))) / (select extract(epoch from '2026-05-27 12:00:58'::timestamp) - extract(epoch from '2026-05-27 12:00: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.5321 -3.47305)', '2026-05-27 12:01:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532005 -3.47319)'), GeomFromEWKT('SRID=4674;POINT (-38.5321 -3.47305)'))) / (select extract(epoch from '2026-05-27 12:01:05'::timestamp) - extract(epoch from '2026-05-27 12:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532005 -3.47319)'), GeomFromEWKT('SRID=4674;POINT (-38.5321 -3.47305)'))) / (select extract(epoch from '2026-05-27 12:01:05'::timestamp) - extract(epoch from '2026-05-27 12:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.532171 -3.472923)', '2026-05-27 12:01:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5321 -3.47305)'), GeomFromEWKT('SRID=4674;POINT (-38.532171 -3.472923)'))) / (select extract(epoch from '2026-05-27 12:01:11'::timestamp) - extract(epoch from '2026-05-27 12:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5321 -3.47305)'), GeomFromEWKT('SRID=4674;POINT (-38.532171 -3.472923)'))) / (select extract(epoch from '2026-05-27 12:01:11'::timestamp) - extract(epoch from '2026-05-27 12: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.532232 -3.472809)', '2026-05-27 12:01:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532171 -3.472923)'), GeomFromEWKT('SRID=4674;POINT (-38.532232 -3.472809)'))) / (select extract(epoch from '2026-05-27 12:01:16'::timestamp) - extract(epoch from '2026-05-27 12:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532171 -3.472923)'), GeomFromEWKT('SRID=4674;POINT (-38.532232 -3.472809)'))) / (select extract(epoch from '2026-05-27 12:01:16'::timestamp) - extract(epoch from '2026-05-27 12: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.532299 -3.472665)', '2026-05-27 12:01:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532232 -3.472809)'), GeomFromEWKT('SRID=4674;POINT (-38.532299 -3.472665)'))) / (select extract(epoch from '2026-05-27 12:01:22'::timestamp) - extract(epoch from '2026-05-27 12:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532232 -3.472809)'), GeomFromEWKT('SRID=4674;POINT (-38.532299 -3.472665)'))) / (select extract(epoch from '2026-05-27 12:01:22'::timestamp) - extract(epoch from '2026-05-27 12:01: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.532328 -3.47262)', '2026-05-27 12:01:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532299 -3.472665)'), GeomFromEWKT('SRID=4674;POINT (-38.532328 -3.47262)'))) / (select extract(epoch from '2026-05-27 12:01:24'::timestamp) - extract(epoch from '2026-05-27 12:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532299 -3.472665)'), GeomFromEWKT('SRID=4674;POINT (-38.532328 -3.47262)'))) / (select extract(epoch from '2026-05-27 12:01:24'::timestamp) - extract(epoch from '2026-05-27 12:01: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.532347 -3.47257)', '2026-05-27 12:01:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532328 -3.47262)'), GeomFromEWKT('SRID=4674;POINT (-38.532347 -3.47257)'))) / (select extract(epoch from '2026-05-27 12:01:26'::timestamp) - extract(epoch from '2026-05-27 12:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532328 -3.47262)'), GeomFromEWKT('SRID=4674;POINT (-38.532347 -3.47257)'))) / (select extract(epoch from '2026-05-27 12:01:26'::timestamp) - extract(epoch from '2026-05-27 12:01: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.532423 -3.472468)', '2026-05-27 12:01:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532347 -3.47257)'), GeomFromEWKT('SRID=4674;POINT (-38.532423 -3.472468)'))) / (select extract(epoch from '2026-05-27 12:01:31'::timestamp) - extract(epoch from '2026-05-27 12:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532347 -3.47257)'), GeomFromEWKT('SRID=4674;POINT (-38.532423 -3.472468)'))) / (select extract(epoch from '2026-05-27 12:01:31'::timestamp) - extract(epoch from '2026-05-27 12:01:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.532501 -3.472359)', '2026-05-27 12:01:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532423 -3.472468)'), GeomFromEWKT('SRID=4674;POINT (-38.532501 -3.472359)'))) / (select extract(epoch from '2026-05-27 12:01:36'::timestamp) - extract(epoch from '2026-05-27 12:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532423 -3.472468)'), GeomFromEWKT('SRID=4674;POINT (-38.532501 -3.472359)'))) / (select extract(epoch from '2026-05-27 12:01:36'::timestamp) - extract(epoch from '2026-05-27 12:01:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.532579 -3.472228)', '2026-05-27 12:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532501 -3.472359)'), GeomFromEWKT('SRID=4674;POINT (-38.532579 -3.472228)'))) / (select extract(epoch from '2026-05-27 12:01:42'::timestamp) - extract(epoch from '2026-05-27 12:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532501 -3.472359)'), GeomFromEWKT('SRID=4674;POINT (-38.532579 -3.472228)'))) / (select extract(epoch from '2026-05-27 12:01:42'::timestamp) - extract(epoch from '2026-05-27 12:01: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.532628 -3.472111)', '2026-05-27 12:01:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532579 -3.472228)'), GeomFromEWKT('SRID=4674;POINT (-38.532628 -3.472111)'))) / (select extract(epoch from '2026-05-27 12:01:47'::timestamp) - extract(epoch from '2026-05-27 12:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532579 -3.472228)'), GeomFromEWKT('SRID=4674;POINT (-38.532628 -3.472111)'))) / (select extract(epoch from '2026-05-27 12:01:47'::timestamp) - extract(epoch from '2026-05-27 12:01: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.532684 -3.472005)', '2026-05-27 12:01:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532628 -3.472111)'), GeomFromEWKT('SRID=4674;POINT (-38.532684 -3.472005)'))) / (select extract(epoch from '2026-05-27 12:01:52'::timestamp) - extract(epoch from '2026-05-27 12:01:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532628 -3.472111)'), GeomFromEWKT('SRID=4674;POINT (-38.532684 -3.472005)'))) / (select extract(epoch from '2026-05-27 12:01:52'::timestamp) - extract(epoch from '2026-05-27 12:01: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.532732 -3.471925)', '2026-05-27 12:01:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532684 -3.472005)'), GeomFromEWKT('SRID=4674;POINT (-38.532732 -3.471925)'))) / (select extract(epoch from '2026-05-27 12:01:56'::timestamp) - extract(epoch from '2026-05-27 12:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532684 -3.472005)'), GeomFromEWKT('SRID=4674;POINT (-38.532732 -3.471925)'))) / (select extract(epoch from '2026-05-27 12:01:56'::timestamp) - extract(epoch from '2026-05-27 12:01: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.532792 -3.471818)', '2026-05-27 12:02:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532732 -3.471925)'), GeomFromEWKT('SRID=4674;POINT (-38.532792 -3.471818)'))) / (select extract(epoch from '2026-05-27 12:02:01'::timestamp) - extract(epoch from '2026-05-27 12:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532732 -3.471925)'), GeomFromEWKT('SRID=4674;POINT (-38.532792 -3.471818)'))) / (select extract(epoch from '2026-05-27 12:02:01'::timestamp) - extract(epoch from '2026-05-27 12: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.53286 -3.471666)', '2026-05-27 12:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532792 -3.471818)'), GeomFromEWKT('SRID=4674;POINT (-38.53286 -3.471666)'))) / (select extract(epoch from '2026-05-27 12:02:08'::timestamp) - extract(epoch from '2026-05-27 12:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532792 -3.471818)'), GeomFromEWKT('SRID=4674;POINT (-38.53286 -3.471666)'))) / (select extract(epoch from '2026-05-27 12:02:08'::timestamp) - extract(epoch from '2026-05-27 12:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.532944 -3.471541)', '2026-05-27 12:02:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53286 -3.471666)'), GeomFromEWKT('SRID=4674;POINT (-38.532944 -3.471541)'))) / (select extract(epoch from '2026-05-27 12:02:14'::timestamp) - extract(epoch from '2026-05-27 12:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53286 -3.471666)'), GeomFromEWKT('SRID=4674;POINT (-38.532944 -3.471541)'))) / (select extract(epoch from '2026-05-27 12:02:14'::timestamp) - extract(epoch from '2026-05-27 12:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.533026 -3.471448)', '2026-05-27 12:02:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532944 -3.471541)'), GeomFromEWKT('SRID=4674;POINT (-38.533026 -3.471448)'))) / (select extract(epoch from '2026-05-27 12:02:19'::timestamp) - extract(epoch from '2026-05-27 12:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.532944 -3.471541)'), GeomFromEWKT('SRID=4674;POINT (-38.533026 -3.471448)'))) / (select extract(epoch from '2026-05-27 12:02:19'::timestamp) - extract(epoch from '2026-05-27 12:02: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.533091 -3.471348)', '2026-05-27 12:02:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533026 -3.471448)'), GeomFromEWKT('SRID=4674;POINT (-38.533091 -3.471348)'))) / (select extract(epoch from '2026-05-27 12:02:24'::timestamp) - extract(epoch from '2026-05-27 12:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533026 -3.471448)'), GeomFromEWKT('SRID=4674;POINT (-38.533091 -3.471348)'))) / (select extract(epoch from '2026-05-27 12:02:24'::timestamp) - extract(epoch from '2026-05-27 12:02: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.533167 -3.471191)', '2026-05-27 12:02:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533091 -3.471348)'), GeomFromEWKT('SRID=4674;POINT (-38.533167 -3.471191)'))) / (select extract(epoch from '2026-05-27 12:02:31'::timestamp) - extract(epoch from '2026-05-27 12:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533091 -3.471348)'), GeomFromEWKT('SRID=4674;POINT (-38.533167 -3.471191)'))) / (select extract(epoch from '2026-05-27 12:02:31'::timestamp) - extract(epoch from '2026-05-27 12:02: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.533231 -3.471071)', '2026-05-27 12:02:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533167 -3.471191)'), GeomFromEWKT('SRID=4674;POINT (-38.533231 -3.471071)'))) / (select extract(epoch from '2026-05-27 12:02:37'::timestamp) - extract(epoch from '2026-05-27 12:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533167 -3.471191)'), GeomFromEWKT('SRID=4674;POINT (-38.533231 -3.471071)'))) / (select extract(epoch from '2026-05-27 12:02:37'::timestamp) - extract(epoch from '2026-05-27 12:02: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.5333 -3.470961)', '2026-05-27 12:02:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533231 -3.471071)'), GeomFromEWKT('SRID=4674;POINT (-38.5333 -3.470961)'))) / (select extract(epoch from '2026-05-27 12:02:42'::timestamp) - extract(epoch from '2026-05-27 12:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533231 -3.471071)'), GeomFromEWKT('SRID=4674;POINT (-38.5333 -3.470961)'))) / (select extract(epoch from '2026-05-27 12:02:42'::timestamp) - extract(epoch from '2026-05-27 12:02: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.53334 -3.470846)', '2026-05-27 12:02:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5333 -3.470961)'), GeomFromEWKT('SRID=4674;POINT (-38.53334 -3.470846)'))) / (select extract(epoch from '2026-05-27 12:02:47'::timestamp) - extract(epoch from '2026-05-27 12:02:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5333 -3.470961)'), GeomFromEWKT('SRID=4674;POINT (-38.53334 -3.470846)'))) / (select extract(epoch from '2026-05-27 12:02:47'::timestamp) - extract(epoch from '2026-05-27 12: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.533383 -3.470709)', '2026-05-27 12:02:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53334 -3.470846)'), GeomFromEWKT('SRID=4674;POINT (-38.533383 -3.470709)'))) / (select extract(epoch from '2026-05-27 12:02:53'::timestamp) - extract(epoch from '2026-05-27 12:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53334 -3.470846)'), GeomFromEWKT('SRID=4674;POINT (-38.533383 -3.470709)'))) / (select extract(epoch from '2026-05-27 12:02:53'::timestamp) - extract(epoch from '2026-05-27 12:02: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.533428 -3.470567)', '2026-05-27 12:02:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533383 -3.470709)'), GeomFromEWKT('SRID=4674;POINT (-38.533428 -3.470567)'))) / (select extract(epoch from '2026-05-27 12:02:59'::timestamp) - extract(epoch from '2026-05-27 12:02:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533383 -3.470709)'), GeomFromEWKT('SRID=4674;POINT (-38.533428 -3.470567)'))) / (select extract(epoch from '2026-05-27 12:02:59'::timestamp) - extract(epoch from '2026-05-27 12:02: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.533487 -3.470429)', '2026-05-27 12:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533428 -3.470567)'), GeomFromEWKT('SRID=4674;POINT (-38.533487 -3.470429)'))) / (select extract(epoch from '2026-05-27 12:03:05'::timestamp) - extract(epoch from '2026-05-27 12:02:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533428 -3.470567)'), GeomFromEWKT('SRID=4674;POINT (-38.533487 -3.470429)'))) / (select extract(epoch from '2026-05-27 12:03:05'::timestamp) - extract(epoch from '2026-05-27 12:02:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.533539 -3.470307)', '2026-05-27 12:03:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533487 -3.470429)'), GeomFromEWKT('SRID=4674;POINT (-38.533539 -3.470307)'))) / (select extract(epoch from '2026-05-27 12:03:10'::timestamp) - extract(epoch from '2026-05-27 12:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533487 -3.470429)'), GeomFromEWKT('SRID=4674;POINT (-38.533539 -3.470307)'))) / (select extract(epoch from '2026-05-27 12:03:10'::timestamp) - extract(epoch from '2026-05-27 12:03: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.533613 -3.470178)', '2026-05-27 12:03:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533539 -3.470307)'), GeomFromEWKT('SRID=4674;POINT (-38.533613 -3.470178)'))) / (select extract(epoch from '2026-05-27 12:03:16'::timestamp) - extract(epoch from '2026-05-27 12:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533539 -3.470307)'), GeomFromEWKT('SRID=4674;POINT (-38.533613 -3.470178)'))) / (select extract(epoch from '2026-05-27 12:03:16'::timestamp) - extract(epoch from '2026-05-27 12:03:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.533675 -3.470072)', '2026-05-27 12:03:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533613 -3.470178)'), GeomFromEWKT('SRID=4674;POINT (-38.533675 -3.470072)'))) / (select extract(epoch from '2026-05-27 12:03:21'::timestamp) - extract(epoch from '2026-05-27 12:03:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533613 -3.470178)'), GeomFromEWKT('SRID=4674;POINT (-38.533675 -3.470072)'))) / (select extract(epoch from '2026-05-27 12:03:21'::timestamp) - extract(epoch from '2026-05-27 12:03: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.533747 -3.469942)', '2026-05-27 12:03:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533675 -3.470072)'), GeomFromEWKT('SRID=4674;POINT (-38.533747 -3.469942)'))) / (select extract(epoch from '2026-05-27 12:03:27'::timestamp) - extract(epoch from '2026-05-27 12:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533675 -3.470072)'), GeomFromEWKT('SRID=4674;POINT (-38.533747 -3.469942)'))) / (select extract(epoch from '2026-05-27 12:03:27'::timestamp) - extract(epoch from '2026-05-27 12:03: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.53385 -3.469762)', '2026-05-27 12:03:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533747 -3.469942)'), GeomFromEWKT('SRID=4674;POINT (-38.53385 -3.469762)'))) / (select extract(epoch from '2026-05-27 12:03:35'::timestamp) - extract(epoch from '2026-05-27 12:03:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.533747 -3.469942)'), GeomFromEWKT('SRID=4674;POINT (-38.53385 -3.469762)'))) / (select extract(epoch from '2026-05-27 12:03:35'::timestamp) - extract(epoch from '2026-05-27 12:03: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.53393 -3.469628)', '2026-05-27 12:03:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53385 -3.469762)'), GeomFromEWKT('SRID=4674;POINT (-38.53393 -3.469628)'))) / (select extract(epoch from '2026-05-27 12:03:41'::timestamp) - extract(epoch from '2026-05-27 12:03:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53385 -3.469762)'), GeomFromEWKT('SRID=4674;POINT (-38.53393 -3.469628)'))) / (select extract(epoch from '2026-05-27 12:03:41'::timestamp) - extract(epoch from '2026-05-27 12:03:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.534015 -3.469467)', '2026-05-27 12:03:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53393 -3.469628)'), GeomFromEWKT('SRID=4674;POINT (-38.534015 -3.469467)'))) / (select extract(epoch from '2026-05-27 12:03:48'::timestamp) - extract(epoch from '2026-05-27 12:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53393 -3.469628)'), GeomFromEWKT('SRID=4674;POINT (-38.534015 -3.469467)'))) / (select extract(epoch from '2026-05-27 12:03:48'::timestamp) - extract(epoch from '2026-05-27 12:03: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.534118 -3.469319)', '2026-05-27 12:03:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534015 -3.469467)'), GeomFromEWKT('SRID=4674;POINT (-38.534118 -3.469319)'))) / (select extract(epoch from '2026-05-27 12:03:55'::timestamp) - extract(epoch from '2026-05-27 12:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534015 -3.469467)'), GeomFromEWKT('SRID=4674;POINT (-38.534118 -3.469319)'))) / (select extract(epoch from '2026-05-27 12:03:55'::timestamp) - extract(epoch from '2026-05-27 12: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.534214 -3.469232)', '2026-05-27 12:04:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534118 -3.469319)'), GeomFromEWKT('SRID=4674;POINT (-38.534214 -3.469232)'))) / (select extract(epoch from '2026-05-27 12:04:00'::timestamp) - extract(epoch from '2026-05-27 12:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534118 -3.469319)'), GeomFromEWKT('SRID=4674;POINT (-38.534214 -3.469232)'))) / (select extract(epoch from '2026-05-27 12:04:00'::timestamp) - extract(epoch from '2026-05-27 12:03: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.534266 -3.469153)', '2026-05-27 12:04:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534214 -3.469232)'), GeomFromEWKT('SRID=4674;POINT (-38.534266 -3.469153)'))) / (select extract(epoch from '2026-05-27 12:04:04'::timestamp) - extract(epoch from '2026-05-27 12:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534214 -3.469232)'), GeomFromEWKT('SRID=4674;POINT (-38.534266 -3.469153)'))) / (select extract(epoch from '2026-05-27 12:04:04'::timestamp) - extract(epoch from '2026-05-27 12:04: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.53427 -3.469132)', '2026-05-27 12:04:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534266 -3.469153)'), GeomFromEWKT('SRID=4674;POINT (-38.53427 -3.469132)'))) / (select extract(epoch from '2026-05-27 12:04:05'::timestamp) - extract(epoch from '2026-05-27 12:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534266 -3.469153)'), GeomFromEWKT('SRID=4674;POINT (-38.53427 -3.469132)'))) / (select extract(epoch from '2026-05-27 12:04:05'::timestamp) - extract(epoch from '2026-05-27 12:04:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.534275 -3.469112)', '2026-05-27 12:04:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53427 -3.469132)'), GeomFromEWKT('SRID=4674;POINT (-38.534275 -3.469112)'))) / (select extract(epoch from '2026-05-27 12:04:06'::timestamp) - extract(epoch from '2026-05-27 12:04:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53427 -3.469132)'), GeomFromEWKT('SRID=4674;POINT (-38.534275 -3.469112)'))) / (select extract(epoch from '2026-05-27 12:04:06'::timestamp) - extract(epoch from '2026-05-27 12:04: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.53431 -3.469051)', '2026-05-27 12:04:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534275 -3.469112)'), GeomFromEWKT('SRID=4674;POINT (-38.53431 -3.469051)'))) / (select extract(epoch from '2026-05-27 12:04:09'::timestamp) - extract(epoch from '2026-05-27 12:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534275 -3.469112)'), GeomFromEWKT('SRID=4674;POINT (-38.53431 -3.469051)'))) / (select extract(epoch from '2026-05-27 12:04:09'::timestamp) - extract(epoch from '2026-05-27 12: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.534364 -3.468944)', '2026-05-27 12:04:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53431 -3.469051)'), GeomFromEWKT('SRID=4674;POINT (-38.534364 -3.468944)'))) / (select extract(epoch from '2026-05-27 12:04:14'::timestamp) - extract(epoch from '2026-05-27 12:04:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53431 -3.469051)'), GeomFromEWKT('SRID=4674;POINT (-38.534364 -3.468944)'))) / (select extract(epoch from '2026-05-27 12:04:14'::timestamp) - extract(epoch from '2026-05-27 12:04:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.53441 -3.468841)', '2026-05-27 12:04:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534364 -3.468944)'), GeomFromEWKT('SRID=4674;POINT (-38.53441 -3.468841)'))) / (select extract(epoch from '2026-05-27 12:04:19'::timestamp) - extract(epoch from '2026-05-27 12:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534364 -3.468944)'), GeomFromEWKT('SRID=4674;POINT (-38.53441 -3.468841)'))) / (select extract(epoch from '2026-05-27 12:04:19'::timestamp) - extract(epoch from '2026-05-27 12:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.534467 -3.468701)', '2026-05-27 12:04:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53441 -3.468841)'), GeomFromEWKT('SRID=4674;POINT (-38.534467 -3.468701)'))) / (select extract(epoch from '2026-05-27 12:04:25'::timestamp) - extract(epoch from '2026-05-27 12:04:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53441 -3.468841)'), GeomFromEWKT('SRID=4674;POINT (-38.534467 -3.468701)'))) / (select extract(epoch from '2026-05-27 12:04:25'::timestamp) - extract(epoch from '2026-05-27 12:04:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.534523 -3.468533)', '2026-05-27 12:04:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534467 -3.468701)'), GeomFromEWKT('SRID=4674;POINT (-38.534523 -3.468533)'))) / (select extract(epoch from '2026-05-27 12:04:32'::timestamp) - extract(epoch from '2026-05-27 12:04:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534467 -3.468701)'), GeomFromEWKT('SRID=4674;POINT (-38.534523 -3.468533)'))) / (select extract(epoch from '2026-05-27 12:04:32'::timestamp) - extract(epoch from '2026-05-27 12:04: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.534575 -3.468396)', '2026-05-27 12:04:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534523 -3.468533)'), GeomFromEWKT('SRID=4674;POINT (-38.534575 -3.468396)'))) / (select extract(epoch from '2026-05-27 12:04:38'::timestamp) - extract(epoch from '2026-05-27 12:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534523 -3.468533)'), GeomFromEWKT('SRID=4674;POINT (-38.534575 -3.468396)'))) / (select extract(epoch from '2026-05-27 12:04:38'::timestamp) - extract(epoch from '2026-05-27 12: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.534654 -3.468211)', '2026-05-27 12:04:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534575 -3.468396)'), GeomFromEWKT('SRID=4674;POINT (-38.534654 -3.468211)'))) / (select extract(epoch from '2026-05-27 12:04:46'::timestamp) - extract(epoch from '2026-05-27 12:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534575 -3.468396)'), GeomFromEWKT('SRID=4674;POINT (-38.534654 -3.468211)'))) / (select extract(epoch from '2026-05-27 12:04:46'::timestamp) - extract(epoch from '2026-05-27 12:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.534725 -3.468084)', '2026-05-27 12:04:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534654 -3.468211)'), GeomFromEWKT('SRID=4674;POINT (-38.534725 -3.468084)'))) / (select extract(epoch from '2026-05-27 12:04:52'::timestamp) - extract(epoch from '2026-05-27 12:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534654 -3.468211)'), GeomFromEWKT('SRID=4674;POINT (-38.534725 -3.468084)'))) / (select extract(epoch from '2026-05-27 12:04:52'::timestamp) - extract(epoch from '2026-05-27 12:04:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.534779 -3.467951)', '2026-05-27 12:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534725 -3.468084)'), GeomFromEWKT('SRID=4674;POINT (-38.534779 -3.467951)'))) / (select extract(epoch from '2026-05-27 12:04:58'::timestamp) - extract(epoch from '2026-05-27 12:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534725 -3.468084)'), GeomFromEWKT('SRID=4674;POINT (-38.534779 -3.467951)'))) / (select extract(epoch from '2026-05-27 12:04:58'::timestamp) - extract(epoch from '2026-05-27 12:04: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.534835 -3.4678)', '2026-05-27 12:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534779 -3.467951)'), GeomFromEWKT('SRID=4674;POINT (-38.534835 -3.4678)'))) / (select extract(epoch from '2026-05-27 12:05:04'::timestamp) - extract(epoch from '2026-05-27 12:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534779 -3.467951)'), GeomFromEWKT('SRID=4674;POINT (-38.534835 -3.4678)'))) / (select extract(epoch from '2026-05-27 12:05:04'::timestamp) - extract(epoch from '2026-05-27 12:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.534919 -3.467663)', '2026-05-27 12:05:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534835 -3.4678)'), GeomFromEWKT('SRID=4674;POINT (-38.534919 -3.467663)'))) / (select extract(epoch from '2026-05-27 12:05:10'::timestamp) - extract(epoch from '2026-05-27 12:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534835 -3.4678)'), GeomFromEWKT('SRID=4674;POINT (-38.534919 -3.467663)'))) / (select extract(epoch from '2026-05-27 12:05:10'::timestamp) - extract(epoch from '2026-05-27 12:05: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.53499 -3.46757)', '2026-05-27 12:05:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534919 -3.467663)'), GeomFromEWKT('SRID=4674;POINT (-38.53499 -3.46757)'))) / (select extract(epoch from '2026-05-27 12:05:15'::timestamp) - extract(epoch from '2026-05-27 12:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.534919 -3.467663)'), GeomFromEWKT('SRID=4674;POINT (-38.53499 -3.46757)'))) / (select extract(epoch from '2026-05-27 12:05:15'::timestamp) - extract(epoch from '2026-05-27 12:05: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.535114 -3.46741)', '2026-05-27 12:05:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53499 -3.46757)'), GeomFromEWKT('SRID=4674;POINT (-38.535114 -3.46741)'))) / (select extract(epoch from '2026-05-27 12:05:23'::timestamp) - extract(epoch from '2026-05-27 12:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53499 -3.46757)'), GeomFromEWKT('SRID=4674;POINT (-38.535114 -3.46741)'))) / (select extract(epoch from '2026-05-27 12:05:23'::timestamp) - extract(epoch from '2026-05-27 12:05: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.535223 -3.467249)', '2026-05-27 12:05:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535114 -3.46741)'), GeomFromEWKT('SRID=4674;POINT (-38.535223 -3.467249)'))) / (select extract(epoch from '2026-05-27 12:05:30'::timestamp) - extract(epoch from '2026-05-27 12:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535114 -3.46741)'), GeomFromEWKT('SRID=4674;POINT (-38.535223 -3.467249)'))) / (select extract(epoch from '2026-05-27 12:05:30'::timestamp) - extract(epoch from '2026-05-27 12: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.535311 -3.467108)', '2026-05-27 12:05:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535223 -3.467249)'), GeomFromEWKT('SRID=4674;POINT (-38.535311 -3.467108)'))) / (select extract(epoch from '2026-05-27 12:05:36'::timestamp) - extract(epoch from '2026-05-27 12:05:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535223 -3.467249)'), GeomFromEWKT('SRID=4674;POINT (-38.535311 -3.467108)'))) / (select extract(epoch from '2026-05-27 12:05:36'::timestamp) - extract(epoch from '2026-05-27 12: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.535388 -3.466972)', '2026-05-27 12:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535311 -3.467108)'), GeomFromEWKT('SRID=4674;POINT (-38.535388 -3.466972)'))) / (select extract(epoch from '2026-05-27 12:05:42'::timestamp) - extract(epoch from '2026-05-27 12:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535311 -3.467108)'), GeomFromEWKT('SRID=4674;POINT (-38.535388 -3.466972)'))) / (select extract(epoch from '2026-05-27 12:05:42'::timestamp) - extract(epoch from '2026-05-27 12:05: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.53549 -3.466821)', '2026-05-27 12:05:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535388 -3.466972)'), GeomFromEWKT('SRID=4674;POINT (-38.53549 -3.466821)'))) / (select extract(epoch from '2026-05-27 12:05:49'::timestamp) - extract(epoch from '2026-05-27 12:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535388 -3.466972)'), GeomFromEWKT('SRID=4674;POINT (-38.53549 -3.466821)'))) / (select extract(epoch from '2026-05-27 12:05:49'::timestamp) - extract(epoch from '2026-05-27 12: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.53558 -3.466686)', '2026-05-27 12:05:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53549 -3.466821)'), GeomFromEWKT('SRID=4674;POINT (-38.53558 -3.466686)'))) / (select extract(epoch from '2026-05-27 12:05:55'::timestamp) - extract(epoch from '2026-05-27 12:05:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53549 -3.466821)'), GeomFromEWKT('SRID=4674;POINT (-38.53558 -3.466686)'))) / (select extract(epoch from '2026-05-27 12:05:55'::timestamp) - extract(epoch from '2026-05-27 12:05: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.535662 -3.466554)', '2026-05-27 12:06:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53558 -3.466686)'), GeomFromEWKT('SRID=4674;POINT (-38.535662 -3.466554)'))) / (select extract(epoch from '2026-05-27 12:06:01'::timestamp) - extract(epoch from '2026-05-27 12:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53558 -3.466686)'), GeomFromEWKT('SRID=4674;POINT (-38.535662 -3.466554)'))) / (select extract(epoch from '2026-05-27 12:06:01'::timestamp) - extract(epoch from '2026-05-27 12:05: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.535734 -3.466449)', '2026-05-27 12:06:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535662 -3.466554)'), GeomFromEWKT('SRID=4674;POINT (-38.535734 -3.466449)'))) / (select extract(epoch from '2026-05-27 12:06:06'::timestamp) - extract(epoch from '2026-05-27 12:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535662 -3.466554)'), GeomFromEWKT('SRID=4674;POINT (-38.535734 -3.466449)'))) / (select extract(epoch from '2026-05-27 12:06:06'::timestamp) - extract(epoch from '2026-05-27 12:06: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.535802 -3.466335)', '2026-05-27 12:06:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535734 -3.466449)'), GeomFromEWKT('SRID=4674;POINT (-38.535802 -3.466335)'))) / (select extract(epoch from '2026-05-27 12:06:11'::timestamp) - extract(epoch from '2026-05-27 12:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535734 -3.466449)'), GeomFromEWKT('SRID=4674;POINT (-38.535802 -3.466335)'))) / (select extract(epoch from '2026-05-27 12:06:11'::timestamp) - extract(epoch from '2026-05-27 12:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.535886 -3.466206)', '2026-05-27 12:06:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535802 -3.466335)'), GeomFromEWKT('SRID=4674;POINT (-38.535886 -3.466206)'))) / (select extract(epoch from '2026-05-27 12:06:17'::timestamp) - extract(epoch from '2026-05-27 12:06:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535802 -3.466335)'), GeomFromEWKT('SRID=4674;POINT (-38.535886 -3.466206)'))) / (select extract(epoch from '2026-05-27 12:06:17'::timestamp) - extract(epoch from '2026-05-27 12:06: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.535965 -3.466079)', '2026-05-27 12:06:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535886 -3.466206)'), GeomFromEWKT('SRID=4674;POINT (-38.535965 -3.466079)'))) / (select extract(epoch from '2026-05-27 12:06:23'::timestamp) - extract(epoch from '2026-05-27 12:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535886 -3.466206)'), GeomFromEWKT('SRID=4674;POINT (-38.535965 -3.466079)'))) / (select extract(epoch from '2026-05-27 12:06:23'::timestamp) - extract(epoch from '2026-05-27 12:06: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.536054 -3.465956)', '2026-05-27 12:06:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535965 -3.466079)'), GeomFromEWKT('SRID=4674;POINT (-38.536054 -3.465956)'))) / (select extract(epoch from '2026-05-27 12:06:29'::timestamp) - extract(epoch from '2026-05-27 12:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.535965 -3.466079)'), GeomFromEWKT('SRID=4674;POINT (-38.536054 -3.465956)'))) / (select extract(epoch from '2026-05-27 12:06:29'::timestamp) - extract(epoch from '2026-05-27 12: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.536129 -3.465834)', '2026-05-27 12:06:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536054 -3.465956)'), GeomFromEWKT('SRID=4674;POINT (-38.536129 -3.465834)'))) / (select extract(epoch from '2026-05-27 12:06:35'::timestamp) - extract(epoch from '2026-05-27 12:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536054 -3.465956)'), GeomFromEWKT('SRID=4674;POINT (-38.536129 -3.465834)'))) / (select extract(epoch from '2026-05-27 12:06:35'::timestamp) - extract(epoch from '2026-05-27 12:06:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.536184 -3.465721)', '2026-05-27 12:06:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536129 -3.465834)'), GeomFromEWKT('SRID=4674;POINT (-38.536184 -3.465721)'))) / (select extract(epoch from '2026-05-27 12:06:40'::timestamp) - extract(epoch from '2026-05-27 12:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536129 -3.465834)'), GeomFromEWKT('SRID=4674;POINT (-38.536184 -3.465721)'))) / (select extract(epoch from '2026-05-27 12:06:40'::timestamp) - extract(epoch from '2026-05-27 12:06: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.536229 -3.465608)', '2026-05-27 12:06:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536184 -3.465721)'), GeomFromEWKT('SRID=4674;POINT (-38.536229 -3.465608)'))) / (select extract(epoch from '2026-05-27 12:06:45'::timestamp) - extract(epoch from '2026-05-27 12:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536184 -3.465721)'), GeomFromEWKT('SRID=4674;POINT (-38.536229 -3.465608)'))) / (select extract(epoch from '2026-05-27 12:06:45'::timestamp) - extract(epoch from '2026-05-27 12: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.536301 -3.465484)', '2026-05-27 12:06:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536229 -3.465608)'), GeomFromEWKT('SRID=4674;POINT (-38.536301 -3.465484)'))) / (select extract(epoch from '2026-05-27 12:06:51'::timestamp) - extract(epoch from '2026-05-27 12:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536229 -3.465608)'), GeomFromEWKT('SRID=4674;POINT (-38.536301 -3.465484)'))) / (select extract(epoch from '2026-05-27 12:06:51'::timestamp) - extract(epoch from '2026-05-27 12:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.536385 -3.465357)', '2026-05-27 12:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536301 -3.465484)'), GeomFromEWKT('SRID=4674;POINT (-38.536385 -3.465357)'))) / (select extract(epoch from '2026-05-27 12:06:57'::timestamp) - extract(epoch from '2026-05-27 12:06:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536301 -3.465484)'), GeomFromEWKT('SRID=4674;POINT (-38.536385 -3.465357)'))) / (select extract(epoch from '2026-05-27 12:06:57'::timestamp) - extract(epoch from '2026-05-27 12:06: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.53643 -3.465244)', '2026-05-27 12:07:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536385 -3.465357)'), GeomFromEWKT('SRID=4674;POINT (-38.53643 -3.465244)'))) / (select extract(epoch from '2026-05-27 12:07:02'::timestamp) - extract(epoch from '2026-05-27 12:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536385 -3.465357)'), GeomFromEWKT('SRID=4674;POINT (-38.53643 -3.465244)'))) / (select extract(epoch from '2026-05-27 12:07:02'::timestamp) - extract(epoch from '2026-05-27 12:06: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.536484 -3.465081)', '2026-05-27 12:07:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53643 -3.465244)'), GeomFromEWKT('SRID=4674;POINT (-38.536484 -3.465081)'))) / (select extract(epoch from '2026-05-27 12:07:09'::timestamp) - extract(epoch from '2026-05-27 12:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53643 -3.465244)'), GeomFromEWKT('SRID=4674;POINT (-38.536484 -3.465081)'))) / (select extract(epoch from '2026-05-27 12:07:09'::timestamp) - extract(epoch from '2026-05-27 12:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.536528 -3.464964)', '2026-05-27 12:07:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536484 -3.465081)'), GeomFromEWKT('SRID=4674;POINT (-38.536528 -3.464964)'))) / (select extract(epoch from '2026-05-27 12:07:14'::timestamp) - extract(epoch from '2026-05-27 12:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536484 -3.465081)'), GeomFromEWKT('SRID=4674;POINT (-38.536528 -3.464964)'))) / (select extract(epoch from '2026-05-27 12:07:14'::timestamp) - extract(epoch from '2026-05-27 12:07: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.536574 -3.46485)', '2026-05-27 12:07:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536528 -3.464964)'), GeomFromEWKT('SRID=4674;POINT (-38.536574 -3.46485)'))) / (select extract(epoch from '2026-05-27 12:07:19'::timestamp) - extract(epoch from '2026-05-27 12:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536528 -3.464964)'), GeomFromEWKT('SRID=4674;POINT (-38.536574 -3.46485)'))) / (select extract(epoch from '2026-05-27 12:07:19'::timestamp) - extract(epoch from '2026-05-27 12:07: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.536612 -3.464754)', '2026-05-27 12:07:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536574 -3.46485)'), GeomFromEWKT('SRID=4674;POINT (-38.536612 -3.464754)'))) / (select extract(epoch from '2026-05-27 12:07:23'::timestamp) - extract(epoch from '2026-05-27 12:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536574 -3.46485)'), GeomFromEWKT('SRID=4674;POINT (-38.536612 -3.464754)'))) / (select extract(epoch from '2026-05-27 12:07:23'::timestamp) - extract(epoch from '2026-05-27 12:07:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.536623 -3.464736)', '2026-05-27 12:07:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536612 -3.464754)'), GeomFromEWKT('SRID=4674;POINT (-38.536623 -3.464736)'))) / (select extract(epoch from '2026-05-27 12:07:24'::timestamp) - extract(epoch from '2026-05-27 12:07:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536612 -3.464754)'), GeomFromEWKT('SRID=4674;POINT (-38.536623 -3.464736)'))) / (select extract(epoch from '2026-05-27 12:07:24'::timestamp) - extract(epoch from '2026-05-27 12: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.536644 -3.464671)', '2026-05-27 12:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536623 -3.464736)'), GeomFromEWKT('SRID=4674;POINT (-38.536644 -3.464671)'))) / (select extract(epoch from '2026-05-27 12:07:27'::timestamp) - extract(epoch from '2026-05-27 12:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536623 -3.464736)'), GeomFromEWKT('SRID=4674;POINT (-38.536644 -3.464671)'))) / (select extract(epoch from '2026-05-27 12:07:27'::timestamp) - extract(epoch from '2026-05-27 12:07:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.536689 -3.464558)', '2026-05-27 12:07:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536644 -3.464671)'), GeomFromEWKT('SRID=4674;POINT (-38.536689 -3.464558)'))) / (select extract(epoch from '2026-05-27 12:07:32'::timestamp) - extract(epoch from '2026-05-27 12:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536644 -3.464671)'), GeomFromEWKT('SRID=4674;POINT (-38.536689 -3.464558)'))) / (select extract(epoch from '2026-05-27 12:07:32'::timestamp) - extract(epoch from '2026-05-27 12:07: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.53673 -3.464434)', '2026-05-27 12:07:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536689 -3.464558)'), GeomFromEWKT('SRID=4674;POINT (-38.53673 -3.464434)'))) / (select extract(epoch from '2026-05-27 12:07:37'::timestamp) - extract(epoch from '2026-05-27 12:07:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536689 -3.464558)'), GeomFromEWKT('SRID=4674;POINT (-38.53673 -3.464434)'))) / (select extract(epoch from '2026-05-27 12:07:37'::timestamp) - extract(epoch from '2026-05-27 12:07: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.536797 -3.464294)', '2026-05-27 12:07:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53673 -3.464434)'), GeomFromEWKT('SRID=4674;POINT (-38.536797 -3.464294)'))) / (select extract(epoch from '2026-05-27 12:07:43'::timestamp) - extract(epoch from '2026-05-27 12:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53673 -3.464434)'), GeomFromEWKT('SRID=4674;POINT (-38.536797 -3.464294)'))) / (select extract(epoch from '2026-05-27 12:07:43'::timestamp) - extract(epoch from '2026-05-27 12:07: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.536875 -3.464121)', '2026-05-27 12:07:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536797 -3.464294)'), GeomFromEWKT('SRID=4674;POINT (-38.536875 -3.464121)'))) / (select extract(epoch from '2026-05-27 12:07:50'::timestamp) - extract(epoch from '2026-05-27 12:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536797 -3.464294)'), GeomFromEWKT('SRID=4674;POINT (-38.536875 -3.464121)'))) / (select extract(epoch from '2026-05-27 12:07:50'::timestamp) - extract(epoch from '2026-05-27 12:07: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.536907 -3.46403)', '2026-05-27 12:07:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536875 -3.464121)'), GeomFromEWKT('SRID=4674;POINT (-38.536907 -3.46403)'))) / (select extract(epoch from '2026-05-27 12:07:54'::timestamp) - extract(epoch from '2026-05-27 12:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536875 -3.464121)'), GeomFromEWKT('SRID=4674;POINT (-38.536907 -3.46403)'))) / (select extract(epoch from '2026-05-27 12:07:54'::timestamp) - extract(epoch from '2026-05-27 12:07: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.536952 -3.463902)', '2026-05-27 12:07:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536907 -3.46403)'), GeomFromEWKT('SRID=4674;POINT (-38.536952 -3.463902)'))) / (select extract(epoch from '2026-05-27 12:07:59'::timestamp) - extract(epoch from '2026-05-27 12:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536907 -3.46403)'), GeomFromEWKT('SRID=4674;POINT (-38.536952 -3.463902)'))) / (select extract(epoch from '2026-05-27 12:07:59'::timestamp) - extract(epoch from '2026-05-27 12:07:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.537 -3.463792)', '2026-05-27 12:08:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536952 -3.463902)'), GeomFromEWKT('SRID=4674;POINT (-38.537 -3.463792)'))) / (select extract(epoch from '2026-05-27 12:08:03'::timestamp) - extract(epoch from '2026-05-27 12:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.536952 -3.463902)'), GeomFromEWKT('SRID=4674;POINT (-38.537 -3.463792)'))) / (select extract(epoch from '2026-05-27 12:08:03'::timestamp) - extract(epoch from '2026-05-27 12:07: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.537058 -3.463697)', '2026-05-27 12:08:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537 -3.463792)'), GeomFromEWKT('SRID=4674;POINT (-38.537058 -3.463697)'))) / (select extract(epoch from '2026-05-27 12:08:08'::timestamp) - extract(epoch from '2026-05-27 12:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537 -3.463792)'), GeomFromEWKT('SRID=4674;POINT (-38.537058 -3.463697)'))) / (select extract(epoch from '2026-05-27 12:08:08'::timestamp) - extract(epoch from '2026-05-27 12:08: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.537098 -3.463596)', '2026-05-27 12:08:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537058 -3.463697)'), GeomFromEWKT('SRID=4674;POINT (-38.537098 -3.463596)'))) / (select extract(epoch from '2026-05-27 12:08:13'::timestamp) - extract(epoch from '2026-05-27 12:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537058 -3.463697)'), GeomFromEWKT('SRID=4674;POINT (-38.537098 -3.463596)'))) / (select extract(epoch from '2026-05-27 12:08:13'::timestamp) - extract(epoch from '2026-05-27 12:08: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.537162 -3.463522)', '2026-05-27 12:08:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537098 -3.463596)'), GeomFromEWKT('SRID=4674;POINT (-38.537162 -3.463522)'))) / (select extract(epoch from '2026-05-27 12:08:17'::timestamp) - extract(epoch from '2026-05-27 12:08:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537098 -3.463596)'), GeomFromEWKT('SRID=4674;POINT (-38.537162 -3.463522)'))) / (select extract(epoch from '2026-05-27 12:08:17'::timestamp) - extract(epoch from '2026-05-27 12:08: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.537236 -3.463428)', '2026-05-27 12:08:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537162 -3.463522)'), GeomFromEWKT('SRID=4674;POINT (-38.537236 -3.463428)'))) / (select extract(epoch from '2026-05-27 12:08:22'::timestamp) - extract(epoch from '2026-05-27 12:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537162 -3.463522)'), GeomFromEWKT('SRID=4674;POINT (-38.537236 -3.463428)'))) / (select extract(epoch from '2026-05-27 12:08:22'::timestamp) - extract(epoch from '2026-05-27 12:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.537302 -3.463314)', '2026-05-27 12:08:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537236 -3.463428)'), GeomFromEWKT('SRID=4674;POINT (-38.537302 -3.463314)'))) / (select extract(epoch from '2026-05-27 12:08:28'::timestamp) - extract(epoch from '2026-05-27 12:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537236 -3.463428)'), GeomFromEWKT('SRID=4674;POINT (-38.537302 -3.463314)'))) / (select extract(epoch from '2026-05-27 12:08:28'::timestamp) - extract(epoch from '2026-05-27 12:08: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.537369 -3.463213)', '2026-05-27 12:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537302 -3.463314)'), GeomFromEWKT('SRID=4674;POINT (-38.537369 -3.463213)'))) / (select extract(epoch from '2026-05-27 12:08:33'::timestamp) - extract(epoch from '2026-05-27 12:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537302 -3.463314)'), GeomFromEWKT('SRID=4674;POINT (-38.537369 -3.463213)'))) / (select extract(epoch from '2026-05-27 12:08:33'::timestamp) - extract(epoch from '2026-05-27 12: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.537426 -3.463113)', '2026-05-27 12:08:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537369 -3.463213)'), GeomFromEWKT('SRID=4674;POINT (-38.537426 -3.463113)'))) / (select extract(epoch from '2026-05-27 12:08:38'::timestamp) - extract(epoch from '2026-05-27 12:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537369 -3.463213)'), GeomFromEWKT('SRID=4674;POINT (-38.537426 -3.463113)'))) / (select extract(epoch from '2026-05-27 12:08:38'::timestamp) - extract(epoch from '2026-05-27 12:08: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.537503 -3.462992)', '2026-05-27 12:08:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537426 -3.463113)'), GeomFromEWKT('SRID=4674;POINT (-38.537503 -3.462992)'))) / (select extract(epoch from '2026-05-27 12:08:44'::timestamp) - extract(epoch from '2026-05-27 12:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537426 -3.463113)'), GeomFromEWKT('SRID=4674;POINT (-38.537503 -3.462992)'))) / (select extract(epoch from '2026-05-27 12:08:44'::timestamp) - extract(epoch from '2026-05-27 12:08: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.537593 -3.462866)', '2026-05-27 12:08:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537503 -3.462992)'), GeomFromEWKT('SRID=4674;POINT (-38.537593 -3.462866)'))) / (select extract(epoch from '2026-05-27 12:08:50'::timestamp) - extract(epoch from '2026-05-27 12:08:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537503 -3.462992)'), GeomFromEWKT('SRID=4674;POINT (-38.537593 -3.462866)'))) / (select extract(epoch from '2026-05-27 12:08:50'::timestamp) - extract(epoch from '2026-05-27 12: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.537687 -3.462718)', '2026-05-27 12:08:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537593 -3.462866)'), GeomFromEWKT('SRID=4674;POINT (-38.537687 -3.462718)'))) / (select extract(epoch from '2026-05-27 12:08:57'::timestamp) - extract(epoch from '2026-05-27 12:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537593 -3.462866)'), GeomFromEWKT('SRID=4674;POINT (-38.537687 -3.462718)'))) / (select extract(epoch from '2026-05-27 12:08:57'::timestamp) - extract(epoch from '2026-05-27 12: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.537702 -3.462698)', '2026-05-27 12:08:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537687 -3.462718)'), GeomFromEWKT('SRID=4674;POINT (-38.537702 -3.462698)'))) / (select extract(epoch from '2026-05-27 12:08:58'::timestamp) - extract(epoch from '2026-05-27 12:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537687 -3.462718)'), GeomFromEWKT('SRID=4674;POINT (-38.537702 -3.462698)'))) / (select extract(epoch from '2026-05-27 12:08:58'::timestamp) - extract(epoch from '2026-05-27 12:08: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.537746 -3.462632)', '2026-05-27 12:09:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537702 -3.462698)'), GeomFromEWKT('SRID=4674;POINT (-38.537746 -3.462632)'))) / (select extract(epoch from '2026-05-27 12:09:01'::timestamp) - extract(epoch from '2026-05-27 12:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537702 -3.462698)'), GeomFromEWKT('SRID=4674;POINT (-38.537746 -3.462632)'))) / (select extract(epoch from '2026-05-27 12:09:01'::timestamp) - extract(epoch from '2026-05-27 12: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.537813 -3.462552)', '2026-05-27 12:09:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537746 -3.462632)'), GeomFromEWKT('SRID=4674;POINT (-38.537813 -3.462552)'))) / (select extract(epoch from '2026-05-27 12:09:05'::timestamp) - extract(epoch from '2026-05-27 12:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537746 -3.462632)'), GeomFromEWKT('SRID=4674;POINT (-38.537813 -3.462552)'))) / (select extract(epoch from '2026-05-27 12:09:05'::timestamp) - extract(epoch from '2026-05-27 12:09: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.537831 -3.462508)', '2026-05-27 12:09:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537813 -3.462552)'), GeomFromEWKT('SRID=4674;POINT (-38.537831 -3.462508)'))) / (select extract(epoch from '2026-05-27 12:09:07'::timestamp) - extract(epoch from '2026-05-27 12:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537813 -3.462552)'), GeomFromEWKT('SRID=4674;POINT (-38.537831 -3.462508)'))) / (select extract(epoch from '2026-05-27 12:09:07'::timestamp) - extract(epoch from '2026-05-27 12:09: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.53789 -3.462425)', '2026-05-27 12:09:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537831 -3.462508)'), GeomFromEWKT('SRID=4674;POINT (-38.53789 -3.462425)'))) / (select extract(epoch from '2026-05-27 12:09:11'::timestamp) - extract(epoch from '2026-05-27 12:09:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537831 -3.462508)'), GeomFromEWKT('SRID=4674;POINT (-38.53789 -3.462425)'))) / (select extract(epoch from '2026-05-27 12:09:11'::timestamp) - extract(epoch from '2026-05-27 12:09:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.53791 -3.462381)', '2026-05-27 12:09:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53789 -3.462425)'), GeomFromEWKT('SRID=4674;POINT (-38.53791 -3.462381)'))) / (select extract(epoch from '2026-05-27 12:09:13'::timestamp) - extract(epoch from '2026-05-27 12:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53789 -3.462425)'), GeomFromEWKT('SRID=4674;POINT (-38.53791 -3.462381)'))) / (select extract(epoch from '2026-05-27 12:09:13'::timestamp) - extract(epoch from '2026-05-27 12:09: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.537977 -3.46226)', '2026-05-27 12:09:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53791 -3.462381)'), GeomFromEWKT('SRID=4674;POINT (-38.537977 -3.46226)'))) / (select extract(epoch from '2026-05-27 12:09:19'::timestamp) - extract(epoch from '2026-05-27 12:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53791 -3.462381)'), GeomFromEWKT('SRID=4674;POINT (-38.537977 -3.46226)'))) / (select extract(epoch from '2026-05-27 12:09:19'::timestamp) - extract(epoch from '2026-05-27 12:09: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.538047 -3.46215)', '2026-05-27 12:09:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537977 -3.46226)'), GeomFromEWKT('SRID=4674;POINT (-38.538047 -3.46215)'))) / (select extract(epoch from '2026-05-27 12:09:25'::timestamp) - extract(epoch from '2026-05-27 12:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.537977 -3.46226)'), GeomFromEWKT('SRID=4674;POINT (-38.538047 -3.46215)'))) / (select extract(epoch from '2026-05-27 12:09:25'::timestamp) - extract(epoch from '2026-05-27 12:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.538121 -3.462044)', '2026-05-27 12:09:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538047 -3.46215)'), GeomFromEWKT('SRID=4674;POINT (-38.538121 -3.462044)'))) / (select extract(epoch from '2026-05-27 12:09:31'::timestamp) - extract(epoch from '2026-05-27 12:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538047 -3.46215)'), GeomFromEWKT('SRID=4674;POINT (-38.538121 -3.462044)'))) / (select extract(epoch from '2026-05-27 12:09:31'::timestamp) - extract(epoch from '2026-05-27 12:09: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.538188 -3.461923)', '2026-05-27 12:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538121 -3.462044)'), GeomFromEWKT('SRID=4674;POINT (-38.538188 -3.461923)'))) / (select extract(epoch from '2026-05-27 12:09:37'::timestamp) - extract(epoch from '2026-05-27 12:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538121 -3.462044)'), GeomFromEWKT('SRID=4674;POINT (-38.538188 -3.461923)'))) / (select extract(epoch from '2026-05-27 12:09:37'::timestamp) - extract(epoch from '2026-05-27 12:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.538238 -3.461802)', '2026-05-27 12:09:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538188 -3.461923)'), GeomFromEWKT('SRID=4674;POINT (-38.538238 -3.461802)'))) / (select extract(epoch from '2026-05-27 12:09:42'::timestamp) - extract(epoch from '2026-05-27 12:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538188 -3.461923)'), GeomFromEWKT('SRID=4674;POINT (-38.538238 -3.461802)'))) / (select extract(epoch from '2026-05-27 12:09:42'::timestamp) - extract(epoch from '2026-05-27 12:09: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.538262 -3.461696)', '2026-05-27 12:09:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538238 -3.461802)'), GeomFromEWKT('SRID=4674;POINT (-38.538262 -3.461696)'))) / (select extract(epoch from '2026-05-27 12:09:47'::timestamp) - extract(epoch from '2026-05-27 12:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538238 -3.461802)'), GeomFromEWKT('SRID=4674;POINT (-38.538262 -3.461696)'))) / (select extract(epoch from '2026-05-27 12:09:47'::timestamp) - extract(epoch from '2026-05-27 12:09: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.53827 -3.461579)', '2026-05-27 12:09:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538262 -3.461696)'), GeomFromEWKT('SRID=4674;POINT (-38.53827 -3.461579)'))) / (select extract(epoch from '2026-05-27 12:09:52'::timestamp) - extract(epoch from '2026-05-27 12:09:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538262 -3.461696)'), GeomFromEWKT('SRID=4674;POINT (-38.53827 -3.461579)'))) / (select extract(epoch from '2026-05-27 12:09:52'::timestamp) - extract(epoch from '2026-05-27 12:09: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.538299 -3.461458)', '2026-05-27 12:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53827 -3.461579)'), GeomFromEWKT('SRID=4674;POINT (-38.538299 -3.461458)'))) / (select extract(epoch from '2026-05-27 12:09:57'::timestamp) - extract(epoch from '2026-05-27 12:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53827 -3.461579)'), GeomFromEWKT('SRID=4674;POINT (-38.538299 -3.461458)'))) / (select extract(epoch from '2026-05-27 12:09:57'::timestamp) - extract(epoch from '2026-05-27 12:09: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.538348 -3.461359)', '2026-05-27 12:10:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538299 -3.461458)'), GeomFromEWKT('SRID=4674;POINT (-38.538348 -3.461359)'))) / (select extract(epoch from '2026-05-27 12:10:01'::timestamp) - extract(epoch from '2026-05-27 12:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538299 -3.461458)'), GeomFromEWKT('SRID=4674;POINT (-38.538348 -3.461359)'))) / (select extract(epoch from '2026-05-27 12:10:01'::timestamp) - extract(epoch from '2026-05-27 12:09: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.53839 -3.461274)', '2026-05-27 12:10:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538348 -3.461359)'), GeomFromEWKT('SRID=4674;POINT (-38.53839 -3.461274)'))) / (select extract(epoch from '2026-05-27 12:10:05'::timestamp) - extract(epoch from '2026-05-27 12:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538348 -3.461359)'), GeomFromEWKT('SRID=4674;POINT (-38.53839 -3.461274)'))) / (select extract(epoch from '2026-05-27 12:10:05'::timestamp) - extract(epoch from '2026-05-27 12: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.538444 -3.461155)', '2026-05-27 12:10:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53839 -3.461274)'), GeomFromEWKT('SRID=4674;POINT (-38.538444 -3.461155)'))) / (select extract(epoch from '2026-05-27 12:10:10'::timestamp) - extract(epoch from '2026-05-27 12:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53839 -3.461274)'), GeomFromEWKT('SRID=4674;POINT (-38.538444 -3.461155)'))) / (select extract(epoch from '2026-05-27 12:10:10'::timestamp) - extract(epoch from '2026-05-27 12:10:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.538522 -3.461049)', '2026-05-27 12:10:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538444 -3.461155)'), GeomFromEWKT('SRID=4674;POINT (-38.538522 -3.461049)'))) / (select extract(epoch from '2026-05-27 12:10:15'::timestamp) - extract(epoch from '2026-05-27 12:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538444 -3.461155)'), GeomFromEWKT('SRID=4674;POINT (-38.538522 -3.461049)'))) / (select extract(epoch from '2026-05-27 12:10:15'::timestamp) - extract(epoch from '2026-05-27 12:10: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.538617 -3.460895)', '2026-05-27 12:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538522 -3.461049)'), GeomFromEWKT('SRID=4674;POINT (-38.538617 -3.460895)'))) / (select extract(epoch from '2026-05-27 12:10:22'::timestamp) - extract(epoch from '2026-05-27 12:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538522 -3.461049)'), GeomFromEWKT('SRID=4674;POINT (-38.538617 -3.460895)'))) / (select extract(epoch from '2026-05-27 12:10:22'::timestamp) - extract(epoch from '2026-05-27 12:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.53868 -3.460788)', '2026-05-27 12:10:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538617 -3.460895)'), GeomFromEWKT('SRID=4674;POINT (-38.53868 -3.460788)'))) / (select extract(epoch from '2026-05-27 12:10:27'::timestamp) - extract(epoch from '2026-05-27 12:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538617 -3.460895)'), GeomFromEWKT('SRID=4674;POINT (-38.53868 -3.460788)'))) / (select extract(epoch from '2026-05-27 12:10:27'::timestamp) - extract(epoch from '2026-05-27 12:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.538759 -3.460648)', '2026-05-27 12:10:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53868 -3.460788)'), GeomFromEWKT('SRID=4674;POINT (-38.538759 -3.460648)'))) / (select extract(epoch from '2026-05-27 12:10:33'::timestamp) - extract(epoch from '2026-05-27 12:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53868 -3.460788)'), GeomFromEWKT('SRID=4674;POINT (-38.538759 -3.460648)'))) / (select extract(epoch from '2026-05-27 12:10:33'::timestamp) - extract(epoch from '2026-05-27 12:10: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.53881 -3.460565)', '2026-05-27 12:10:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538759 -3.460648)'), GeomFromEWKT('SRID=4674;POINT (-38.53881 -3.460565)'))) / (select extract(epoch from '2026-05-27 12:10:37'::timestamp) - extract(epoch from '2026-05-27 12:10:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538759 -3.460648)'), GeomFromEWKT('SRID=4674;POINT (-38.53881 -3.460565)'))) / (select extract(epoch from '2026-05-27 12:10:37'::timestamp) - extract(epoch from '2026-05-27 12:10: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.538881 -3.460465)', '2026-05-27 12:10:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53881 -3.460565)'), GeomFromEWKT('SRID=4674;POINT (-38.538881 -3.460465)'))) / (select extract(epoch from '2026-05-27 12:10:42'::timestamp) - extract(epoch from '2026-05-27 12:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.53881 -3.460565)'), GeomFromEWKT('SRID=4674;POINT (-38.538881 -3.460465)'))) / (select extract(epoch from '2026-05-27 12:10:42'::timestamp) - extract(epoch from '2026-05-27 12: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.538964 -3.460323)', '2026-05-27 12:10:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538881 -3.460465)'), GeomFromEWKT('SRID=4674;POINT (-38.538964 -3.460323)'))) / (select extract(epoch from '2026-05-27 12:10:49'::timestamp) - extract(epoch from '2026-05-27 12:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538881 -3.460465)'), GeomFromEWKT('SRID=4674;POINT (-38.538964 -3.460323)'))) / (select extract(epoch from '2026-05-27 12:10:49'::timestamp) - extract(epoch from '2026-05-27 12:10: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.539038 -3.460199)', '2026-05-27 12:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538964 -3.460323)'), GeomFromEWKT('SRID=4674;POINT (-38.539038 -3.460199)'))) / (select extract(epoch from '2026-05-27 12:10:55'::timestamp) - extract(epoch from '2026-05-27 12:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.538964 -3.460323)'), GeomFromEWKT('SRID=4674;POINT (-38.539038 -3.460199)'))) / (select extract(epoch from '2026-05-27 12:10:55'::timestamp) - extract(epoch from '2026-05-27 12:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.539101 -3.460073)', '2026-05-27 12:11:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539038 -3.460199)'), GeomFromEWKT('SRID=4674;POINT (-38.539101 -3.460073)'))) / (select extract(epoch from '2026-05-27 12:11:01'::timestamp) - extract(epoch from '2026-05-27 12:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539038 -3.460199)'), GeomFromEWKT('SRID=4674;POINT (-38.539101 -3.460073)'))) / (select extract(epoch from '2026-05-27 12:11:01'::timestamp) - extract(epoch from '2026-05-27 12:10: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.539191 -3.459886)', '2026-05-27 12:11:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539101 -3.460073)'), GeomFromEWKT('SRID=4674;POINT (-38.539191 -3.459886)'))) / (select extract(epoch from '2026-05-27 12:11:10'::timestamp) - extract(epoch from '2026-05-27 12:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539101 -3.460073)'), GeomFromEWKT('SRID=4674;POINT (-38.539191 -3.459886)'))) / (select extract(epoch from '2026-05-27 12:11:10'::timestamp) - extract(epoch from '2026-05-27 12:11: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.539272 -3.459781)', '2026-05-27 12:11:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539191 -3.459886)'), GeomFromEWKT('SRID=4674;POINT (-38.539272 -3.459781)'))) / (select extract(epoch from '2026-05-27 12:11:16'::timestamp) - extract(epoch from '2026-05-27 12:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539191 -3.459886)'), GeomFromEWKT('SRID=4674;POINT (-38.539272 -3.459781)'))) / (select extract(epoch from '2026-05-27 12:11:16'::timestamp) - extract(epoch from '2026-05-27 12:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.539377 -3.459658)', '2026-05-27 12:11:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539272 -3.459781)'), GeomFromEWKT('SRID=4674;POINT (-38.539377 -3.459658)'))) / (select extract(epoch from '2026-05-27 12:11:23'::timestamp) - extract(epoch from '2026-05-27 12:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539272 -3.459781)'), GeomFromEWKT('SRID=4674;POINT (-38.539377 -3.459658)'))) / (select extract(epoch from '2026-05-27 12:11:23'::timestamp) - extract(epoch from '2026-05-27 12:11:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.539448 -3.459546)', '2026-05-27 12:11:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539377 -3.459658)'), GeomFromEWKT('SRID=4674;POINT (-38.539448 -3.459546)'))) / (select extract(epoch from '2026-05-27 12:11:29'::timestamp) - extract(epoch from '2026-05-27 12:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539377 -3.459658)'), GeomFromEWKT('SRID=4674;POINT (-38.539448 -3.459546)'))) / (select extract(epoch from '2026-05-27 12:11:29'::timestamp) - extract(epoch from '2026-05-27 12: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.539512 -3.459416)', '2026-05-27 12:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539448 -3.459546)'), GeomFromEWKT('SRID=4674;POINT (-38.539512 -3.459416)'))) / (select extract(epoch from '2026-05-27 12:11:36'::timestamp) - extract(epoch from '2026-05-27 12:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539448 -3.459546)'), GeomFromEWKT('SRID=4674;POINT (-38.539512 -3.459416)'))) / (select extract(epoch from '2026-05-27 12:11:36'::timestamp) - extract(epoch from '2026-05-27 12:11: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.539575 -3.459284)', '2026-05-27 12:11:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539512 -3.459416)'), GeomFromEWKT('SRID=4674;POINT (-38.539575 -3.459284)'))) / (select extract(epoch from '2026-05-27 12:11:43'::timestamp) - extract(epoch from '2026-05-27 12:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539512 -3.459416)'), GeomFromEWKT('SRID=4674;POINT (-38.539575 -3.459284)'))) / (select extract(epoch from '2026-05-27 12:11:43'::timestamp) - extract(epoch from '2026-05-27 12: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.539661 -3.459162)', '2026-05-27 12:11:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539575 -3.459284)'), GeomFromEWKT('SRID=4674;POINT (-38.539661 -3.459162)'))) / (select extract(epoch from '2026-05-27 12:11:50'::timestamp) - extract(epoch from '2026-05-27 12:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539575 -3.459284)'), GeomFromEWKT('SRID=4674;POINT (-38.539661 -3.459162)'))) / (select extract(epoch from '2026-05-27 12:11:50'::timestamp) - extract(epoch from '2026-05-27 12:11: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.539757 -3.459049)', '2026-05-27 12:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539661 -3.459162)'), GeomFromEWKT('SRID=4674;POINT (-38.539757 -3.459049)'))) / (select extract(epoch from '2026-05-27 12:11:56'::timestamp) - extract(epoch from '2026-05-27 12:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539661 -3.459162)'), GeomFromEWKT('SRID=4674;POINT (-38.539757 -3.459049)'))) / (select extract(epoch from '2026-05-27 12:11:56'::timestamp) - extract(epoch from '2026-05-27 12:11:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.539834 -3.45895)', '2026-05-27 12:12:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539757 -3.459049)'), GeomFromEWKT('SRID=4674;POINT (-38.539834 -3.45895)'))) / (select extract(epoch from '2026-05-27 12:12:01'::timestamp) - extract(epoch from '2026-05-27 12:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539757 -3.459049)'), GeomFromEWKT('SRID=4674;POINT (-38.539834 -3.45895)'))) / (select extract(epoch from '2026-05-27 12:12:01'::timestamp) - extract(epoch from '2026-05-27 12:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.539892 -3.458855)', '2026-05-27 12:12:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539834 -3.45895)'), GeomFromEWKT('SRID=4674;POINT (-38.539892 -3.458855)'))) / (select extract(epoch from '2026-05-27 12:12:06'::timestamp) - extract(epoch from '2026-05-27 12:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539834 -3.45895)'), GeomFromEWKT('SRID=4674;POINT (-38.539892 -3.458855)'))) / (select extract(epoch from '2026-05-27 12:12:06'::timestamp) - extract(epoch from '2026-05-27 12:12: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.539969 -3.458701)', '2026-05-27 12:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539892 -3.458855)'), GeomFromEWKT('SRID=4674;POINT (-38.539969 -3.458701)'))) / (select extract(epoch from '2026-05-27 12:12:13'::timestamp) - extract(epoch from '2026-05-27 12:12:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539892 -3.458855)'), GeomFromEWKT('SRID=4674;POINT (-38.539969 -3.458701)'))) / (select extract(epoch from '2026-05-27 12:12:13'::timestamp) - extract(epoch from '2026-05-27 12:12: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.540049 -3.458567)', '2026-05-27 12:12:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539969 -3.458701)'), GeomFromEWKT('SRID=4674;POINT (-38.540049 -3.458567)'))) / (select extract(epoch from '2026-05-27 12:12:19'::timestamp) - extract(epoch from '2026-05-27 12:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.539969 -3.458701)'), GeomFromEWKT('SRID=4674;POINT (-38.540049 -3.458567)'))) / (select extract(epoch from '2026-05-27 12:12:19'::timestamp) - extract(epoch from '2026-05-27 12:12: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.540138 -3.458408)', '2026-05-27 12:12:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540049 -3.458567)'), GeomFromEWKT('SRID=4674;POINT (-38.540138 -3.458408)'))) / (select extract(epoch from '2026-05-27 12:12:26'::timestamp) - extract(epoch from '2026-05-27 12:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540049 -3.458567)'), GeomFromEWKT('SRID=4674;POINT (-38.540138 -3.458408)'))) / (select extract(epoch from '2026-05-27 12:12:26'::timestamp) - extract(epoch from '2026-05-27 12:12: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.540216 -3.458284)', '2026-05-27 12:12:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540138 -3.458408)'), GeomFromEWKT('SRID=4674;POINT (-38.540216 -3.458284)'))) / (select extract(epoch from '2026-05-27 12:12:32'::timestamp) - extract(epoch from '2026-05-27 12:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540138 -3.458408)'), GeomFromEWKT('SRID=4674;POINT (-38.540216 -3.458284)'))) / (select extract(epoch from '2026-05-27 12:12:32'::timestamp) - extract(epoch from '2026-05-27 12:12: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.54029 -3.458158)', '2026-05-27 12:12:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540216 -3.458284)'), GeomFromEWKT('SRID=4674;POINT (-38.54029 -3.458158)'))) / (select extract(epoch from '2026-05-27 12:12:38'::timestamp) - extract(epoch from '2026-05-27 12:12:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.540216 -3.458284)'), GeomFromEWKT('SRID=4674;POINT (-38.54029 -3.458158)'))) / (select extract(epoch from '2026-05-27 12:12:38'::timestamp) - extract(epoch from '2026-05-27 12:12: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.540377 -3.458017)', '2026-05-27 12:12:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54029 -3.458158)'), GeomFromEWKT('SRID=4674;POINT (-38.540377 -3.458017)'))) / (select extract(epoch from '2026-05-27 12:12:45'::timestamp) - extract(epoch from '2026-05-27 12:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.54029 -3.458158)'), GeomFromEWKT('SRID=4674;POINT (-38.540377 -3.458017)'))) / (select extract(epoch from '2026-05-27 12:12:45'::timestamp) - extract(epoch from '2026-05-27 12:12:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
