 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.819806 -3.514918)', '2026-07-17 17:31:57', 19.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81977 -3.514821)'), GeomFromEWKT('SRID=4674;POINT (-38.819806 -3.514918)'))) / (select extract(epoch from '2026-07-17 17:31:57'::timestamp) - extract(epoch from '2026-07-17 17:31:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.81977 -3.514821)'), GeomFromEWKT('SRID=4674;POINT (-38.819806 -3.514918)'))) / (select extract(epoch from '2026-07-17 17:31:57'::timestamp) - extract(epoch from '2026-07-17 17:31: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'), 47317, 'SRID=4674;POINT (-38.819855 -3.515027)', '2026-07-17 17:32:03', 20.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819806 -3.514918)'), GeomFromEWKT('SRID=4674;POINT (-38.819855 -3.515027)'))) / (select extract(epoch from '2026-07-17 17:32:03'::timestamp) - extract(epoch from '2026-07-17 17:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819806 -3.514918)'), GeomFromEWKT('SRID=4674;POINT (-38.819855 -3.515027)'))) / (select extract(epoch from '2026-07-17 17:32:03'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.819931 -3.515194)', '2026-07-17 17:32:11', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819855 -3.515027)'), GeomFromEWKT('SRID=4674;POINT (-38.819931 -3.515194)'))) / (select extract(epoch from '2026-07-17 17:32:11'::timestamp) - extract(epoch from '2026-07-17 17:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819855 -3.515027)'), GeomFromEWKT('SRID=4674;POINT (-38.819931 -3.515194)'))) / (select extract(epoch from '2026-07-17 17:32:11'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47317, 'SRID=4674;POINT (-38.819937 -3.515215)', '2026-07-17 17:32:12', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819931 -3.515194)'), GeomFromEWKT('SRID=4674;POINT (-38.819937 -3.515215)'))) / (select extract(epoch from '2026-07-17 17:32:12'::timestamp) - extract(epoch from '2026-07-17 17:32:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819931 -3.515194)'), GeomFromEWKT('SRID=4674;POINT (-38.819937 -3.515215)'))) / (select extract(epoch from '2026-07-17 17:32:12'::timestamp) - extract(epoch from '2026-07-17 17:32:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.819993 -3.51539)', '2026-07-17 17:32:20', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819937 -3.515215)'), GeomFromEWKT('SRID=4674;POINT (-38.819993 -3.51539)'))) / (select extract(epoch from '2026-07-17 17:32:20'::timestamp) - extract(epoch from '2026-07-17 17:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819937 -3.515215)'), GeomFromEWKT('SRID=4674;POINT (-38.819993 -3.51539)'))) / (select extract(epoch from '2026-07-17 17:32:20'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47317, 'SRID=4674;POINT (-38.820033 -3.515517)', '2026-07-17 17:32:26', 19.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819993 -3.51539)'), GeomFromEWKT('SRID=4674;POINT (-38.820033 -3.515517)'))) / (select extract(epoch from '2026-07-17 17:32:26'::timestamp) - extract(epoch from '2026-07-17 17:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.819993 -3.51539)'), GeomFromEWKT('SRID=4674;POINT (-38.820033 -3.515517)'))) / (select extract(epoch from '2026-07-17 17:32:26'::timestamp) - extract(epoch from '2026-07-17 17:32:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.820077 -3.515635)', '2026-07-17 17:32:32', 18.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820033 -3.515517)'), GeomFromEWKT('SRID=4674;POINT (-38.820077 -3.515635)'))) / (select extract(epoch from '2026-07-17 17:32:32'::timestamp) - extract(epoch from '2026-07-17 17:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820033 -3.515517)'), GeomFromEWKT('SRID=4674;POINT (-38.820077 -3.515635)'))) / (select extract(epoch from '2026-07-17 17:32:32'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47317, 'SRID=4674;POINT (-38.820119 -3.515805)', '2026-07-17 17:32:40', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820077 -3.515635)'), GeomFromEWKT('SRID=4674;POINT (-38.820119 -3.515805)'))) / (select extract(epoch from '2026-07-17 17:32:40'::timestamp) - extract(epoch from '2026-07-17 17:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820077 -3.515635)'), GeomFromEWKT('SRID=4674;POINT (-38.820119 -3.515805)'))) / (select extract(epoch from '2026-07-17 17:32:40'::timestamp) - extract(epoch from '2026-07-17 17:32:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.820166 -3.515972)', '2026-07-17 17:32:48', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820119 -3.515805)'), GeomFromEWKT('SRID=4674;POINT (-38.820166 -3.515972)'))) / (select extract(epoch from '2026-07-17 17:32:48'::timestamp) - extract(epoch from '2026-07-17 17:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820119 -3.515805)'), GeomFromEWKT('SRID=4674;POINT (-38.820166 -3.515972)'))) / (select extract(epoch from '2026-07-17 17:32:48'::timestamp) - extract(epoch from '2026-07-17 17:32:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.820234 -3.516146)', '2026-07-17 17:32:56', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820166 -3.515972)'), GeomFromEWKT('SRID=4674;POINT (-38.820234 -3.516146)'))) / (select extract(epoch from '2026-07-17 17:32:56'::timestamp) - extract(epoch from '2026-07-17 17:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820166 -3.515972)'), GeomFromEWKT('SRID=4674;POINT (-38.820234 -3.516146)'))) / (select extract(epoch from '2026-07-17 17:32:56'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47317, 'SRID=4674;POINT (-38.820291 -3.516292)', '2026-07-17 17:33:03', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820234 -3.516146)'), GeomFromEWKT('SRID=4674;POINT (-38.820291 -3.516292)'))) / (select extract(epoch from '2026-07-17 17:33:03'::timestamp) - extract(epoch from '2026-07-17 17:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820234 -3.516146)'), GeomFromEWKT('SRID=4674;POINT (-38.820291 -3.516292)'))) / (select extract(epoch from '2026-07-17 17:33:03'::timestamp) - extract(epoch from '2026-07-17 17:32: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'), 47317, 'SRID=4674;POINT (-38.82033 -3.516397)', '2026-07-17 17:33:08', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820291 -3.516292)'), GeomFromEWKT('SRID=4674;POINT (-38.82033 -3.516397)'))) / (select extract(epoch from '2026-07-17 17:33:08'::timestamp) - extract(epoch from '2026-07-17 17:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820291 -3.516292)'), GeomFromEWKT('SRID=4674;POINT (-38.82033 -3.516397)'))) / (select extract(epoch from '2026-07-17 17:33:08'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.820372 -3.516529)', '2026-07-17 17:33:14', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82033 -3.516397)'), GeomFromEWKT('SRID=4674;POINT (-38.820372 -3.516529)'))) / (select extract(epoch from '2026-07-17 17:33:14'::timestamp) - extract(epoch from '2026-07-17 17:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82033 -3.516397)'), GeomFromEWKT('SRID=4674;POINT (-38.820372 -3.516529)'))) / (select extract(epoch from '2026-07-17 17:33:14'::timestamp) - extract(epoch from '2026-07-17 17:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.820424 -3.516709)', '2026-07-17 17:33:22', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820372 -3.516529)'), GeomFromEWKT('SRID=4674;POINT (-38.820424 -3.516709)'))) / (select extract(epoch from '2026-07-17 17:33:22'::timestamp) - extract(epoch from '2026-07-17 17:33:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820372 -3.516529)'), GeomFromEWKT('SRID=4674;POINT (-38.820424 -3.516709)'))) / (select extract(epoch from '2026-07-17 17:33:22'::timestamp) - extract(epoch from '2026-07-17 17:33:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.820472 -3.516889)', '2026-07-17 17:33:30', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820424 -3.516709)'), GeomFromEWKT('SRID=4674;POINT (-38.820472 -3.516889)'))) / (select extract(epoch from '2026-07-17 17:33:30'::timestamp) - extract(epoch from '2026-07-17 17:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820424 -3.516709)'), GeomFromEWKT('SRID=4674;POINT (-38.820472 -3.516889)'))) / (select extract(epoch from '2026-07-17 17:33:30'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47317, 'SRID=4674;POINT (-38.820498 -3.51702)', '2026-07-17 17:33:37', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820472 -3.516889)'), GeomFromEWKT('SRID=4674;POINT (-38.820498 -3.51702)'))) / (select extract(epoch from '2026-07-17 17:33:37'::timestamp) - extract(epoch from '2026-07-17 17:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820472 -3.516889)'), GeomFromEWKT('SRID=4674;POINT (-38.820498 -3.51702)'))) / (select extract(epoch from '2026-07-17 17:33:37'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47317, 'SRID=4674;POINT (-38.820548 -3.517137)', '2026-07-17 17:33:43', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820498 -3.51702)'), GeomFromEWKT('SRID=4674;POINT (-38.820548 -3.517137)'))) / (select extract(epoch from '2026-07-17 17:33:43'::timestamp) - extract(epoch from '2026-07-17 17:33:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820498 -3.51702)'), GeomFromEWKT('SRID=4674;POINT (-38.820548 -3.517137)'))) / (select extract(epoch from '2026-07-17 17:33:43'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47317, 'SRID=4674;POINT (-38.820582 -3.517247)', '2026-07-17 17:33:48', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820548 -3.517137)'), GeomFromEWKT('SRID=4674;POINT (-38.820582 -3.517247)'))) / (select extract(epoch from '2026-07-17 17:33:48'::timestamp) - extract(epoch from '2026-07-17 17:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820548 -3.517137)'), GeomFromEWKT('SRID=4674;POINT (-38.820582 -3.517247)'))) / (select extract(epoch from '2026-07-17 17:33:48'::timestamp) - extract(epoch from '2026-07-17 17:33: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'), 47317, 'SRID=4674;POINT (-38.820618 -3.517373)', '2026-07-17 17:33:54', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820582 -3.517247)'), GeomFromEWKT('SRID=4674;POINT (-38.820618 -3.517373)'))) / (select extract(epoch from '2026-07-17 17:33:54'::timestamp) - extract(epoch from '2026-07-17 17:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820582 -3.517247)'), GeomFromEWKT('SRID=4674;POINT (-38.820618 -3.517373)'))) / (select extract(epoch from '2026-07-17 17:33:54'::timestamp) - extract(epoch from '2026-07-17 17:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.820651 -3.517501)', '2026-07-17 17:34:00', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820618 -3.517373)'), GeomFromEWKT('SRID=4674;POINT (-38.820651 -3.517501)'))) / (select extract(epoch from '2026-07-17 17:34:00'::timestamp) - extract(epoch from '2026-07-17 17:33:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820618 -3.517373)'), GeomFromEWKT('SRID=4674;POINT (-38.820651 -3.517501)'))) / (select extract(epoch from '2026-07-17 17:34:00'::timestamp) - extract(epoch from '2026-07-17 17:33:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.820677 -3.517646)', '2026-07-17 17:34:07', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820651 -3.517501)'), GeomFromEWKT('SRID=4674;POINT (-38.820677 -3.517646)'))) / (select extract(epoch from '2026-07-17 17:34:07'::timestamp) - extract(epoch from '2026-07-17 17:34:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820651 -3.517501)'), GeomFromEWKT('SRID=4674;POINT (-38.820677 -3.517646)'))) / (select extract(epoch from '2026-07-17 17:34:07'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47317, 'SRID=4674;POINT (-38.820707 -3.517777)', '2026-07-17 17:34:13', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820677 -3.517646)'), GeomFromEWKT('SRID=4674;POINT (-38.820707 -3.517777)'))) / (select extract(epoch from '2026-07-17 17:34:13'::timestamp) - extract(epoch from '2026-07-17 17:34:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820677 -3.517646)'), GeomFromEWKT('SRID=4674;POINT (-38.820707 -3.517777)'))) / (select extract(epoch from '2026-07-17 17:34:13'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47317, 'SRID=4674;POINT (-38.820765 -3.517963)', '2026-07-17 17:34:21', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820707 -3.517777)'), GeomFromEWKT('SRID=4674;POINT (-38.820765 -3.517963)'))) / (select extract(epoch from '2026-07-17 17:34:21'::timestamp) - extract(epoch from '2026-07-17 17:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820707 -3.517777)'), GeomFromEWKT('SRID=4674;POINT (-38.820765 -3.517963)'))) / (select extract(epoch from '2026-07-17 17:34:21'::timestamp) - extract(epoch from '2026-07-17 17:34:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.820771 -3.517985)', '2026-07-17 17:34:22', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820765 -3.517963)'), GeomFromEWKT('SRID=4674;POINT (-38.820771 -3.517985)'))) / (select extract(epoch from '2026-07-17 17:34:22'::timestamp) - extract(epoch from '2026-07-17 17:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820765 -3.517963)'), GeomFromEWKT('SRID=4674;POINT (-38.820771 -3.517985)'))) / (select extract(epoch from '2026-07-17 17:34:22'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47317, 'SRID=4674;POINT (-38.820805 -3.518129)', '2026-07-17 17:34:28', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820771 -3.517985)'), GeomFromEWKT('SRID=4674;POINT (-38.820805 -3.518129)'))) / (select extract(epoch from '2026-07-17 17:34:28'::timestamp) - extract(epoch from '2026-07-17 17:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820771 -3.517985)'), GeomFromEWKT('SRID=4674;POINT (-38.820805 -3.518129)'))) / (select extract(epoch from '2026-07-17 17:34:28'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47317, 'SRID=4674;POINT (-38.820832 -3.518279)', '2026-07-17 17:34:35', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820805 -3.518129)'), GeomFromEWKT('SRID=4674;POINT (-38.820832 -3.518279)'))) / (select extract(epoch from '2026-07-17 17:34:35'::timestamp) - extract(epoch from '2026-07-17 17:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820805 -3.518129)'), GeomFromEWKT('SRID=4674;POINT (-38.820832 -3.518279)'))) / (select extract(epoch from '2026-07-17 17:34:35'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.820863 -3.518402)', '2026-07-17 17:34:41', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820832 -3.518279)'), GeomFromEWKT('SRID=4674;POINT (-38.820863 -3.518402)'))) / (select extract(epoch from '2026-07-17 17:34:41'::timestamp) - extract(epoch from '2026-07-17 17:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820832 -3.518279)'), GeomFromEWKT('SRID=4674;POINT (-38.820863 -3.518402)'))) / (select extract(epoch from '2026-07-17 17:34:41'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47317, 'SRID=4674;POINT (-38.820905 -3.518507)', '2026-07-17 17:34:46', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820863 -3.518402)'), GeomFromEWKT('SRID=4674;POINT (-38.820905 -3.518507)'))) / (select extract(epoch from '2026-07-17 17:34:46'::timestamp) - extract(epoch from '2026-07-17 17:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820863 -3.518402)'), GeomFromEWKT('SRID=4674;POINT (-38.820905 -3.518507)'))) / (select extract(epoch from '2026-07-17 17:34:46'::timestamp) - extract(epoch from '2026-07-17 17:34: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'), 47317, 'SRID=4674;POINT (-38.820959 -3.518647)', '2026-07-17 17:34:53', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820905 -3.518507)'), GeomFromEWKT('SRID=4674;POINT (-38.820959 -3.518647)'))) / (select extract(epoch from '2026-07-17 17:34:53'::timestamp) - extract(epoch from '2026-07-17 17:34:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820905 -3.518507)'), GeomFromEWKT('SRID=4674;POINT (-38.820959 -3.518647)'))) / (select extract(epoch from '2026-07-17 17:34:53'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.821014 -3.518835)', '2026-07-17 17:35:02', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820959 -3.518647)'), GeomFromEWKT('SRID=4674;POINT (-38.821014 -3.518835)'))) / (select extract(epoch from '2026-07-17 17:35:02'::timestamp) - extract(epoch from '2026-07-17 17:34:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.820959 -3.518647)'), GeomFromEWKT('SRID=4674;POINT (-38.821014 -3.518835)'))) / (select extract(epoch from '2026-07-17 17:35:02'::timestamp) - extract(epoch from '2026-07-17 17:34:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.821062 -3.518991)', '2026-07-17 17:35:09', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821014 -3.518835)'), GeomFromEWKT('SRID=4674;POINT (-38.821062 -3.518991)'))) / (select extract(epoch from '2026-07-17 17:35:09'::timestamp) - extract(epoch from '2026-07-17 17:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821014 -3.518835)'), GeomFromEWKT('SRID=4674;POINT (-38.821062 -3.518991)'))) / (select extract(epoch from '2026-07-17 17:35:09'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47317, 'SRID=4674;POINT (-38.821091 -3.51917)', '2026-07-17 17:35:17', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821062 -3.518991)'), GeomFromEWKT('SRID=4674;POINT (-38.821091 -3.51917)'))) / (select extract(epoch from '2026-07-17 17:35:17'::timestamp) - extract(epoch from '2026-07-17 17:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821062 -3.518991)'), GeomFromEWKT('SRID=4674;POINT (-38.821091 -3.51917)'))) / (select extract(epoch from '2026-07-17 17:35:17'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47317, 'SRID=4674;POINT (-38.821118 -3.519309)', '2026-07-17 17:35:24', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821091 -3.51917)'), GeomFromEWKT('SRID=4674;POINT (-38.821118 -3.519309)'))) / (select extract(epoch from '2026-07-17 17:35:24'::timestamp) - extract(epoch from '2026-07-17 17:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821091 -3.51917)'), GeomFromEWKT('SRID=4674;POINT (-38.821118 -3.519309)'))) / (select extract(epoch from '2026-07-17 17:35:24'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.821166 -3.519436)', '2026-07-17 17:35:30', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821118 -3.519309)'), GeomFromEWKT('SRID=4674;POINT (-38.821166 -3.519436)'))) / (select extract(epoch from '2026-07-17 17:35:30'::timestamp) - extract(epoch from '2026-07-17 17:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821118 -3.519309)'), GeomFromEWKT('SRID=4674;POINT (-38.821166 -3.519436)'))) / (select extract(epoch from '2026-07-17 17:35:30'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47317, 'SRID=4674;POINT (-38.821226 -3.519594)', '2026-07-17 17:35:37', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821166 -3.519436)'), GeomFromEWKT('SRID=4674;POINT (-38.821226 -3.519594)'))) / (select extract(epoch from '2026-07-17 17:35:37'::timestamp) - extract(epoch from '2026-07-17 17:35:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821166 -3.519436)'), GeomFromEWKT('SRID=4674;POINT (-38.821226 -3.519594)'))) / (select extract(epoch from '2026-07-17 17:35:37'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47317, 'SRID=4674;POINT (-38.821257 -3.519705)', '2026-07-17 17:35:42', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821226 -3.519594)'), GeomFromEWKT('SRID=4674;POINT (-38.821257 -3.519705)'))) / (select extract(epoch from '2026-07-17 17:35:42'::timestamp) - extract(epoch from '2026-07-17 17:35:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821226 -3.519594)'), GeomFromEWKT('SRID=4674;POINT (-38.821257 -3.519705)'))) / (select extract(epoch from '2026-07-17 17:35:42'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.821296 -3.519835)', '2026-07-17 17:35:48', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821257 -3.519705)'), GeomFromEWKT('SRID=4674;POINT (-38.821296 -3.519835)'))) / (select extract(epoch from '2026-07-17 17:35:48'::timestamp) - extract(epoch from '2026-07-17 17:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821257 -3.519705)'), GeomFromEWKT('SRID=4674;POINT (-38.821296 -3.519835)'))) / (select extract(epoch from '2026-07-17 17:35:48'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47317, 'SRID=4674;POINT (-38.82136 -3.520005)', '2026-07-17 17:35:56', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821296 -3.519835)'), GeomFromEWKT('SRID=4674;POINT (-38.82136 -3.520005)'))) / (select extract(epoch from '2026-07-17 17:35:56'::timestamp) - extract(epoch from '2026-07-17 17:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821296 -3.519835)'), GeomFromEWKT('SRID=4674;POINT (-38.82136 -3.520005)'))) / (select extract(epoch from '2026-07-17 17:35:56'::timestamp) - extract(epoch from '2026-07-17 17:35: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'), 47317, 'SRID=4674;POINT (-38.821386 -3.520179)', '2026-07-17 17:36:04', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82136 -3.520005)'), GeomFromEWKT('SRID=4674;POINT (-38.821386 -3.520179)'))) / (select extract(epoch from '2026-07-17 17:36:04'::timestamp) - extract(epoch from '2026-07-17 17:35:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82136 -3.520005)'), GeomFromEWKT('SRID=4674;POINT (-38.821386 -3.520179)'))) / (select extract(epoch from '2026-07-17 17:36:04'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.821405 -3.520298)', '2026-07-17 17:36:10', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821386 -3.520179)'), GeomFromEWKT('SRID=4674;POINT (-38.821405 -3.520298)'))) / (select extract(epoch from '2026-07-17 17:36:10'::timestamp) - extract(epoch from '2026-07-17 17:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821386 -3.520179)'), GeomFromEWKT('SRID=4674;POINT (-38.821405 -3.520298)'))) / (select extract(epoch from '2026-07-17 17:36:10'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.821417 -3.520425)', '2026-07-17 17:36:16', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821405 -3.520298)'), GeomFromEWKT('SRID=4674;POINT (-38.821417 -3.520425)'))) / (select extract(epoch from '2026-07-17 17:36:16'::timestamp) - extract(epoch from '2026-07-17 17:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821405 -3.520298)'), GeomFromEWKT('SRID=4674;POINT (-38.821417 -3.520425)'))) / (select extract(epoch from '2026-07-17 17:36:16'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.821463 -3.520611)', '2026-07-17 17:36:25', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821417 -3.520425)'), GeomFromEWKT('SRID=4674;POINT (-38.821463 -3.520611)'))) / (select extract(epoch from '2026-07-17 17:36:25'::timestamp) - extract(epoch from '2026-07-17 17:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821417 -3.520425)'), GeomFromEWKT('SRID=4674;POINT (-38.821463 -3.520611)'))) / (select extract(epoch from '2026-07-17 17:36:25'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.821516 -3.52078)', '2026-07-17 17:36:32', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821463 -3.520611)'), GeomFromEWKT('SRID=4674;POINT (-38.821516 -3.52078)'))) / (select extract(epoch from '2026-07-17 17:36:32'::timestamp) - extract(epoch from '2026-07-17 17:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821463 -3.520611)'), GeomFromEWKT('SRID=4674;POINT (-38.821516 -3.52078)'))) / (select extract(epoch from '2026-07-17 17:36:32'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47317, 'SRID=4674;POINT (-38.821575 -3.520957)', '2026-07-17 17:36:40', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821516 -3.52078)'), GeomFromEWKT('SRID=4674;POINT (-38.821575 -3.520957)'))) / (select extract(epoch from '2026-07-17 17:36:40'::timestamp) - extract(epoch from '2026-07-17 17:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821516 -3.52078)'), GeomFromEWKT('SRID=4674;POINT (-38.821575 -3.520957)'))) / (select extract(epoch from '2026-07-17 17:36:40'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47317, 'SRID=4674;POINT (-38.821614 -3.521095)', '2026-07-17 17:36:46', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821575 -3.520957)'), GeomFromEWKT('SRID=4674;POINT (-38.821614 -3.521095)'))) / (select extract(epoch from '2026-07-17 17:36:46'::timestamp) - extract(epoch from '2026-07-17 17:36:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821575 -3.520957)'), GeomFromEWKT('SRID=4674;POINT (-38.821614 -3.521095)'))) / (select extract(epoch from '2026-07-17 17:36:46'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47317, 'SRID=4674;POINT (-38.821661 -3.521257)', '2026-07-17 17:36:54', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821614 -3.521095)'), GeomFromEWKT('SRID=4674;POINT (-38.821661 -3.521257)'))) / (select extract(epoch from '2026-07-17 17:36:54'::timestamp) - extract(epoch from '2026-07-17 17:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821614 -3.521095)'), GeomFromEWKT('SRID=4674;POINT (-38.821661 -3.521257)'))) / (select extract(epoch from '2026-07-17 17:36:54'::timestamp) - extract(epoch from '2026-07-17 17:36: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'), 47317, 'SRID=4674;POINT (-38.82168 -3.521418)', '2026-07-17 17:37:02', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821661 -3.521257)'), GeomFromEWKT('SRID=4674;POINT (-38.82168 -3.521418)'))) / (select extract(epoch from '2026-07-17 17:37:02'::timestamp) - extract(epoch from '2026-07-17 17:36:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821661 -3.521257)'), GeomFromEWKT('SRID=4674;POINT (-38.82168 -3.521418)'))) / (select extract(epoch from '2026-07-17 17:37:02'::timestamp) - extract(epoch from '2026-07-17 17:36:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.821708 -3.521523)', '2026-07-17 17:37:07', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82168 -3.521418)'), GeomFromEWKT('SRID=4674;POINT (-38.821708 -3.521523)'))) / (select extract(epoch from '2026-07-17 17:37:07'::timestamp) - extract(epoch from '2026-07-17 17:37:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82168 -3.521418)'), GeomFromEWKT('SRID=4674;POINT (-38.821708 -3.521523)'))) / (select extract(epoch from '2026-07-17 17:37:07'::timestamp) - extract(epoch from '2026-07-17 17:37:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.821741 -3.521638)', '2026-07-17 17:37:12', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821708 -3.521523)'), GeomFromEWKT('SRID=4674;POINT (-38.821741 -3.521638)'))) / (select extract(epoch from '2026-07-17 17:37:12'::timestamp) - extract(epoch from '2026-07-17 17:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821708 -3.521523)'), GeomFromEWKT('SRID=4674;POINT (-38.821741 -3.521638)'))) / (select extract(epoch from '2026-07-17 17:37:12'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47317, 'SRID=4674;POINT (-38.821779 -3.52179)', '2026-07-17 17:37:19', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821741 -3.521638)'), GeomFromEWKT('SRID=4674;POINT (-38.821779 -3.52179)'))) / (select extract(epoch from '2026-07-17 17:37:19'::timestamp) - extract(epoch from '2026-07-17 17:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821741 -3.521638)'), GeomFromEWKT('SRID=4674;POINT (-38.821779 -3.52179)'))) / (select extract(epoch from '2026-07-17 17:37:19'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47317, 'SRID=4674;POINT (-38.821807 -3.521914)', '2026-07-17 17:37:26', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821779 -3.52179)'), GeomFromEWKT('SRID=4674;POINT (-38.821807 -3.521914)'))) / (select extract(epoch from '2026-07-17 17:37:26'::timestamp) - extract(epoch from '2026-07-17 17:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821779 -3.52179)'), GeomFromEWKT('SRID=4674;POINT (-38.821807 -3.521914)'))) / (select extract(epoch from '2026-07-17 17:37:26'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47317, 'SRID=4674;POINT (-38.82183 -3.522032)', '2026-07-17 17:37:32', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821807 -3.521914)'), GeomFromEWKT('SRID=4674;POINT (-38.82183 -3.522032)'))) / (select extract(epoch from '2026-07-17 17:37:32'::timestamp) - extract(epoch from '2026-07-17 17:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821807 -3.521914)'), GeomFromEWKT('SRID=4674;POINT (-38.82183 -3.522032)'))) / (select extract(epoch from '2026-07-17 17:37:32'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.821858 -3.52221)', '2026-07-17 17:37:40', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82183 -3.522032)'), GeomFromEWKT('SRID=4674;POINT (-38.821858 -3.52221)'))) / (select extract(epoch from '2026-07-17 17:37:40'::timestamp) - extract(epoch from '2026-07-17 17:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82183 -3.522032)'), GeomFromEWKT('SRID=4674;POINT (-38.821858 -3.52221)'))) / (select extract(epoch from '2026-07-17 17:37:40'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47317, 'SRID=4674;POINT (-38.821881 -3.522375)', '2026-07-17 17:37:47', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821858 -3.52221)'), GeomFromEWKT('SRID=4674;POINT (-38.821881 -3.522375)'))) / (select extract(epoch from '2026-07-17 17:37:47'::timestamp) - extract(epoch from '2026-07-17 17:37:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821858 -3.52221)'), GeomFromEWKT('SRID=4674;POINT (-38.821881 -3.522375)'))) / (select extract(epoch from '2026-07-17 17:37:47'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.821923 -3.522552)', '2026-07-17 17:37:54', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821881 -3.522375)'), GeomFromEWKT('SRID=4674;POINT (-38.821923 -3.522552)'))) / (select extract(epoch from '2026-07-17 17:37:54'::timestamp) - extract(epoch from '2026-07-17 17:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821881 -3.522375)'), GeomFromEWKT('SRID=4674;POINT (-38.821923 -3.522552)'))) / (select extract(epoch from '2026-07-17 17:37:54'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.821928 -3.522574)', '2026-07-17 17:37:55', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821923 -3.522552)'), GeomFromEWKT('SRID=4674;POINT (-38.821928 -3.522574)'))) / (select extract(epoch from '2026-07-17 17:37:55'::timestamp) - extract(epoch from '2026-07-17 17:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821923 -3.522552)'), GeomFromEWKT('SRID=4674;POINT (-38.821928 -3.522574)'))) / (select extract(epoch from '2026-07-17 17:37:55'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47317, 'SRID=4674;POINT (-38.821976 -3.5227)', '2026-07-17 17:38:01', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821928 -3.522574)'), GeomFromEWKT('SRID=4674;POINT (-38.821976 -3.5227)'))) / (select extract(epoch from '2026-07-17 17:38:01'::timestamp) - extract(epoch from '2026-07-17 17:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821928 -3.522574)'), GeomFromEWKT('SRID=4674;POINT (-38.821976 -3.5227)'))) / (select extract(epoch from '2026-07-17 17:38:01'::timestamp) - extract(epoch from '2026-07-17 17:37: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'), 47317, 'SRID=4674;POINT (-38.822019 -3.522835)', '2026-07-17 17:38:07', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821976 -3.5227)'), GeomFromEWKT('SRID=4674;POINT (-38.822019 -3.522835)'))) / (select extract(epoch from '2026-07-17 17:38:07'::timestamp) - extract(epoch from '2026-07-17 17:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.821976 -3.5227)'), GeomFromEWKT('SRID=4674;POINT (-38.822019 -3.522835)'))) / (select extract(epoch from '2026-07-17 17:38:07'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47317, 'SRID=4674;POINT (-38.82206 -3.52296)', '2026-07-17 17:38:13', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822019 -3.522835)'), GeomFromEWKT('SRID=4674;POINT (-38.82206 -3.52296)'))) / (select extract(epoch from '2026-07-17 17:38:13'::timestamp) - extract(epoch from '2026-07-17 17:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822019 -3.522835)'), GeomFromEWKT('SRID=4674;POINT (-38.82206 -3.52296)'))) / (select extract(epoch from '2026-07-17 17:38:13'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47317, 'SRID=4674;POINT (-38.822093 -3.523122)', '2026-07-17 17:38:22', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82206 -3.52296)'), GeomFromEWKT('SRID=4674;POINT (-38.822093 -3.523122)'))) / (select extract(epoch from '2026-07-17 17:38:22'::timestamp) - extract(epoch from '2026-07-17 17:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82206 -3.52296)'), GeomFromEWKT('SRID=4674;POINT (-38.822093 -3.523122)'))) / (select extract(epoch from '2026-07-17 17:38:22'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.822131 -3.523267)', '2026-07-17 17:38:29', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822093 -3.523122)'), GeomFromEWKT('SRID=4674;POINT (-38.822131 -3.523267)'))) / (select extract(epoch from '2026-07-17 17:38:29'::timestamp) - extract(epoch from '2026-07-17 17:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822093 -3.523122)'), GeomFromEWKT('SRID=4674;POINT (-38.822131 -3.523267)'))) / (select extract(epoch from '2026-07-17 17:38:29'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47317, 'SRID=4674;POINT (-38.822147 -3.52341)', '2026-07-17 17:38:36', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822131 -3.523267)'), GeomFromEWKT('SRID=4674;POINT (-38.822147 -3.52341)'))) / (select extract(epoch from '2026-07-17 17:38:36'::timestamp) - extract(epoch from '2026-07-17 17:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822131 -3.523267)'), GeomFromEWKT('SRID=4674;POINT (-38.822147 -3.52341)'))) / (select extract(epoch from '2026-07-17 17:38:36'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47317, 'SRID=4674;POINT (-38.822183 -3.523583)', '2026-07-17 17:38:44', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822147 -3.52341)'), GeomFromEWKT('SRID=4674;POINT (-38.822183 -3.523583)'))) / (select extract(epoch from '2026-07-17 17:38:44'::timestamp) - extract(epoch from '2026-07-17 17:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822147 -3.52341)'), GeomFromEWKT('SRID=4674;POINT (-38.822183 -3.523583)'))) / (select extract(epoch from '2026-07-17 17:38:44'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.822245 -3.523699)', '2026-07-17 17:38:50', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822183 -3.523583)'), GeomFromEWKT('SRID=4674;POINT (-38.822245 -3.523699)'))) / (select extract(epoch from '2026-07-17 17:38:50'::timestamp) - extract(epoch from '2026-07-17 17:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822183 -3.523583)'), GeomFromEWKT('SRID=4674;POINT (-38.822245 -3.523699)'))) / (select extract(epoch from '2026-07-17 17:38:50'::timestamp) - extract(epoch from '2026-07-17 17:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.822308 -3.523875)', '2026-07-17 17:38:58', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822245 -3.523699)'), GeomFromEWKT('SRID=4674;POINT (-38.822308 -3.523875)'))) / (select extract(epoch from '2026-07-17 17:38:58'::timestamp) - extract(epoch from '2026-07-17 17:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822245 -3.523699)'), GeomFromEWKT('SRID=4674;POINT (-38.822308 -3.523875)'))) / (select extract(epoch from '2026-07-17 17:38:58'::timestamp) - extract(epoch from '2026-07-17 17:38: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'), 47317, 'SRID=4674;POINT (-38.822361 -3.524049)', '2026-07-17 17:39:06', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822308 -3.523875)'), GeomFromEWKT('SRID=4674;POINT (-38.822361 -3.524049)'))) / (select extract(epoch from '2026-07-17 17:39:06'::timestamp) - extract(epoch from '2026-07-17 17:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822308 -3.523875)'), GeomFromEWKT('SRID=4674;POINT (-38.822361 -3.524049)'))) / (select extract(epoch from '2026-07-17 17:39:06'::timestamp) - extract(epoch from '2026-07-17 17:38:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.822403 -3.524247)', '2026-07-17 17:39:15', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822361 -3.524049)'), GeomFromEWKT('SRID=4674;POINT (-38.822403 -3.524247)'))) / (select extract(epoch from '2026-07-17 17:39:15'::timestamp) - extract(epoch from '2026-07-17 17:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822361 -3.524049)'), GeomFromEWKT('SRID=4674;POINT (-38.822403 -3.524247)'))) / (select extract(epoch from '2026-07-17 17:39:15'::timestamp) - extract(epoch from '2026-07-17 17:39: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'), 47317, 'SRID=4674;POINT (-38.82243 -3.524374)', '2026-07-17 17:39:21', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822403 -3.524247)'), GeomFromEWKT('SRID=4674;POINT (-38.82243 -3.524374)'))) / (select extract(epoch from '2026-07-17 17:39:21'::timestamp) - extract(epoch from '2026-07-17 17:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822403 -3.524247)'), GeomFromEWKT('SRID=4674;POINT (-38.82243 -3.524374)'))) / (select extract(epoch from '2026-07-17 17:39:21'::timestamp) - extract(epoch from '2026-07-17 17:39:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.822471 -3.524517)', '2026-07-17 17:39:28', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82243 -3.524374)'), GeomFromEWKT('SRID=4674;POINT (-38.822471 -3.524517)'))) / (select extract(epoch from '2026-07-17 17:39:28'::timestamp) - extract(epoch from '2026-07-17 17:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82243 -3.524374)'), GeomFromEWKT('SRID=4674;POINT (-38.822471 -3.524517)'))) / (select extract(epoch from '2026-07-17 17:39:28'::timestamp) - extract(epoch from '2026-07-17 17:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.822505 -3.524624)', '2026-07-17 17:39:34', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822471 -3.524517)'), GeomFromEWKT('SRID=4674;POINT (-38.822505 -3.524624)'))) / (select extract(epoch from '2026-07-17 17:39:34'::timestamp) - extract(epoch from '2026-07-17 17:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822471 -3.524517)'), GeomFromEWKT('SRID=4674;POINT (-38.822505 -3.524624)'))) / (select extract(epoch from '2026-07-17 17:39:34'::timestamp) - extract(epoch from '2026-07-17 17:39: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'), 47317, 'SRID=4674;POINT (-38.822553 -3.524753)', '2026-07-17 17:39:40', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822505 -3.524624)'), GeomFromEWKT('SRID=4674;POINT (-38.822553 -3.524753)'))) / (select extract(epoch from '2026-07-17 17:39:40'::timestamp) - extract(epoch from '2026-07-17 17:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822505 -3.524624)'), GeomFromEWKT('SRID=4674;POINT (-38.822553 -3.524753)'))) / (select extract(epoch from '2026-07-17 17:39:40'::timestamp) - extract(epoch from '2026-07-17 17:39: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'), 47317, 'SRID=4674;POINT (-38.822593 -3.524876)', '2026-07-17 17:39:46', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822553 -3.524753)'), GeomFromEWKT('SRID=4674;POINT (-38.822593 -3.524876)'))) / (select extract(epoch from '2026-07-17 17:39:46'::timestamp) - extract(epoch from '2026-07-17 17:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822553 -3.524753)'), GeomFromEWKT('SRID=4674;POINT (-38.822593 -3.524876)'))) / (select extract(epoch from '2026-07-17 17:39:46'::timestamp) - extract(epoch from '2026-07-17 17:39: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'), 47317, 'SRID=4674;POINT (-38.822646 -3.525054)', '2026-07-17 17:39:55', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822593 -3.524876)'), GeomFromEWKT('SRID=4674;POINT (-38.822646 -3.525054)'))) / (select extract(epoch from '2026-07-17 17:39:55'::timestamp) - extract(epoch from '2026-07-17 17:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822593 -3.524876)'), GeomFromEWKT('SRID=4674;POINT (-38.822646 -3.525054)'))) / (select extract(epoch from '2026-07-17 17:39:55'::timestamp) - extract(epoch from '2026-07-17 17:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.822701 -3.525232)', '2026-07-17 17:40:03', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822646 -3.525054)'), GeomFromEWKT('SRID=4674;POINT (-38.822701 -3.525232)'))) / (select extract(epoch from '2026-07-17 17:40:03'::timestamp) - extract(epoch from '2026-07-17 17:39:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822646 -3.525054)'), GeomFromEWKT('SRID=4674;POINT (-38.822701 -3.525232)'))) / (select extract(epoch from '2026-07-17 17:40:03'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.822735 -3.525384)', '2026-07-17 17:40:10', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822701 -3.525232)'), GeomFromEWKT('SRID=4674;POINT (-38.822735 -3.525384)'))) / (select extract(epoch from '2026-07-17 17:40:10'::timestamp) - extract(epoch from '2026-07-17 17:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822701 -3.525232)'), GeomFromEWKT('SRID=4674;POINT (-38.822735 -3.525384)'))) / (select extract(epoch from '2026-07-17 17:40:10'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47317, 'SRID=4674;POINT (-38.822771 -3.525516)', '2026-07-17 17:40:16', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822735 -3.525384)'), GeomFromEWKT('SRID=4674;POINT (-38.822771 -3.525516)'))) / (select extract(epoch from '2026-07-17 17:40:16'::timestamp) - extract(epoch from '2026-07-17 17:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822735 -3.525384)'), GeomFromEWKT('SRID=4674;POINT (-38.822771 -3.525516)'))) / (select extract(epoch from '2026-07-17 17:40:16'::timestamp) - extract(epoch from '2026-07-17 17:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.822807 -3.525657)', '2026-07-17 17:40:23', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822771 -3.525516)'), GeomFromEWKT('SRID=4674;POINT (-38.822807 -3.525657)'))) / (select extract(epoch from '2026-07-17 17:40:23'::timestamp) - extract(epoch from '2026-07-17 17:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822771 -3.525516)'), GeomFromEWKT('SRID=4674;POINT (-38.822807 -3.525657)'))) / (select extract(epoch from '2026-07-17 17:40:23'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.822853 -3.525787)', '2026-07-17 17:40:29', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822807 -3.525657)'), GeomFromEWKT('SRID=4674;POINT (-38.822853 -3.525787)'))) / (select extract(epoch from '2026-07-17 17:40:29'::timestamp) - extract(epoch from '2026-07-17 17:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822807 -3.525657)'), GeomFromEWKT('SRID=4674;POINT (-38.822853 -3.525787)'))) / (select extract(epoch from '2026-07-17 17:40:29'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47317, 'SRID=4674;POINT (-38.822883 -3.525934)', '2026-07-17 17:40:35', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822853 -3.525787)'), GeomFromEWKT('SRID=4674;POINT (-38.822883 -3.525934)'))) / (select extract(epoch from '2026-07-17 17:40:35'::timestamp) - extract(epoch from '2026-07-17 17:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822853 -3.525787)'), GeomFromEWKT('SRID=4674;POINT (-38.822883 -3.525934)'))) / (select extract(epoch from '2026-07-17 17:40:35'::timestamp) - extract(epoch from '2026-07-17 17:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.822922 -3.526092)', '2026-07-17 17:40:42', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822883 -3.525934)'), GeomFromEWKT('SRID=4674;POINT (-38.822922 -3.526092)'))) / (select extract(epoch from '2026-07-17 17:40:42'::timestamp) - extract(epoch from '2026-07-17 17:40:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822883 -3.525934)'), GeomFromEWKT('SRID=4674;POINT (-38.822922 -3.526092)'))) / (select extract(epoch from '2026-07-17 17:40:42'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47317, 'SRID=4674;POINT (-38.822963 -3.526258)', '2026-07-17 17:40:50', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822922 -3.526092)'), GeomFromEWKT('SRID=4674;POINT (-38.822963 -3.526258)'))) / (select extract(epoch from '2026-07-17 17:40:50'::timestamp) - extract(epoch from '2026-07-17 17:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822922 -3.526092)'), GeomFromEWKT('SRID=4674;POINT (-38.822963 -3.526258)'))) / (select extract(epoch from '2026-07-17 17:40:50'::timestamp) - extract(epoch from '2026-07-17 17:40: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'), 47317, 'SRID=4674;POINT (-38.822986 -3.526384)', '2026-07-17 17:40:56', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822963 -3.526258)'), GeomFromEWKT('SRID=4674;POINT (-38.822986 -3.526384)'))) / (select extract(epoch from '2026-07-17 17:40:56'::timestamp) - extract(epoch from '2026-07-17 17:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822963 -3.526258)'), GeomFromEWKT('SRID=4674;POINT (-38.822986 -3.526384)'))) / (select extract(epoch from '2026-07-17 17:40:56'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.822998 -3.526501)', '2026-07-17 17:41:02', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822986 -3.526384)'), GeomFromEWKT('SRID=4674;POINT (-38.822998 -3.526501)'))) / (select extract(epoch from '2026-07-17 17:41:02'::timestamp) - extract(epoch from '2026-07-17 17:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822986 -3.526384)'), GeomFromEWKT('SRID=4674;POINT (-38.822998 -3.526501)'))) / (select extract(epoch from '2026-07-17 17:41:02'::timestamp) - extract(epoch from '2026-07-17 17:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.823047 -3.526651)', '2026-07-17 17:41:09', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822998 -3.526501)'), GeomFromEWKT('SRID=4674;POINT (-38.823047 -3.526651)'))) / (select extract(epoch from '2026-07-17 17:41:09'::timestamp) - extract(epoch from '2026-07-17 17:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.822998 -3.526501)'), GeomFromEWKT('SRID=4674;POINT (-38.823047 -3.526651)'))) / (select extract(epoch from '2026-07-17 17:41:09'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47317, 'SRID=4674;POINT (-38.823102 -3.526817)', '2026-07-17 17:41:17', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823047 -3.526651)'), GeomFromEWKT('SRID=4674;POINT (-38.823102 -3.526817)'))) / (select extract(epoch from '2026-07-17 17:41:17'::timestamp) - extract(epoch from '2026-07-17 17:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823047 -3.526651)'), GeomFromEWKT('SRID=4674;POINT (-38.823102 -3.526817)'))) / (select extract(epoch from '2026-07-17 17:41:17'::timestamp) - extract(epoch from '2026-07-17 17:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.823168 -3.526998)', '2026-07-17 17:41:25', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823102 -3.526817)'), GeomFromEWKT('SRID=4674;POINT (-38.823168 -3.526998)'))) / (select extract(epoch from '2026-07-17 17:41:25'::timestamp) - extract(epoch from '2026-07-17 17:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823102 -3.526817)'), GeomFromEWKT('SRID=4674;POINT (-38.823168 -3.526998)'))) / (select extract(epoch from '2026-07-17 17:41:25'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47317, 'SRID=4674;POINT (-38.823219 -3.527186)', '2026-07-17 17:41:33', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823168 -3.526998)'), GeomFromEWKT('SRID=4674;POINT (-38.823219 -3.527186)'))) / (select extract(epoch from '2026-07-17 17:41:33'::timestamp) - extract(epoch from '2026-07-17 17:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823168 -3.526998)'), GeomFromEWKT('SRID=4674;POINT (-38.823219 -3.527186)'))) / (select extract(epoch from '2026-07-17 17:41:33'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.823246 -3.527344)', '2026-07-17 17:41:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823219 -3.527186)'), GeomFromEWKT('SRID=4674;POINT (-38.823246 -3.527344)'))) / (select extract(epoch from '2026-07-17 17:41:40'::timestamp) - extract(epoch from '2026-07-17 17:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823219 -3.527186)'), GeomFromEWKT('SRID=4674;POINT (-38.823246 -3.527344)'))) / (select extract(epoch from '2026-07-17 17:41:40'::timestamp) - extract(epoch from '2026-07-17 17:41:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.823284 -3.527505)', '2026-07-17 17:41:47', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823246 -3.527344)'), GeomFromEWKT('SRID=4674;POINT (-38.823284 -3.527505)'))) / (select extract(epoch from '2026-07-17 17:41:47'::timestamp) - extract(epoch from '2026-07-17 17:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823246 -3.527344)'), GeomFromEWKT('SRID=4674;POINT (-38.823284 -3.527505)'))) / (select extract(epoch from '2026-07-17 17:41:47'::timestamp) - extract(epoch from '2026-07-17 17:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.823338 -3.52769)', '2026-07-17 17:41:55', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823284 -3.527505)'), GeomFromEWKT('SRID=4674;POINT (-38.823338 -3.52769)'))) / (select extract(epoch from '2026-07-17 17:41:55'::timestamp) - extract(epoch from '2026-07-17 17:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823284 -3.527505)'), GeomFromEWKT('SRID=4674;POINT (-38.823338 -3.52769)'))) / (select extract(epoch from '2026-07-17 17:41:55'::timestamp) - extract(epoch from '2026-07-17 17:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.823346 -3.527713)', '2026-07-17 17:41:56', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823338 -3.52769)'), GeomFromEWKT('SRID=4674;POINT (-38.823346 -3.527713)'))) / (select extract(epoch from '2026-07-17 17:41:56'::timestamp) - extract(epoch from '2026-07-17 17:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823338 -3.52769)'), GeomFromEWKT('SRID=4674;POINT (-38.823346 -3.527713)'))) / (select extract(epoch from '2026-07-17 17:41:56'::timestamp) - extract(epoch from '2026-07-17 17:41: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'), 47317, 'SRID=4674;POINT (-38.823401 -3.52792)', '2026-07-17 17:42:05', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823346 -3.527713)'), GeomFromEWKT('SRID=4674;POINT (-38.823401 -3.52792)'))) / (select extract(epoch from '2026-07-17 17:42:05'::timestamp) - extract(epoch from '2026-07-17 17:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823346 -3.527713)'), GeomFromEWKT('SRID=4674;POINT (-38.823401 -3.52792)'))) / (select extract(epoch from '2026-07-17 17:42:05'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.823456 -3.528117)', '2026-07-17 17:42:14', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823401 -3.52792)'), GeomFromEWKT('SRID=4674;POINT (-38.823456 -3.528117)'))) / (select extract(epoch from '2026-07-17 17:42:14'::timestamp) - extract(epoch from '2026-07-17 17:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823401 -3.52792)'), GeomFromEWKT('SRID=4674;POINT (-38.823456 -3.528117)'))) / (select extract(epoch from '2026-07-17 17:42:14'::timestamp) - extract(epoch from '2026-07-17 17:42: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'), 47317, 'SRID=4674;POINT (-38.823495 -3.528297)', '2026-07-17 17:42:22', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823456 -3.528117)'), GeomFromEWKT('SRID=4674;POINT (-38.823495 -3.528297)'))) / (select extract(epoch from '2026-07-17 17:42:22'::timestamp) - extract(epoch from '2026-07-17 17:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823456 -3.528117)'), GeomFromEWKT('SRID=4674;POINT (-38.823495 -3.528297)'))) / (select extract(epoch from '2026-07-17 17:42:22'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.823521 -3.52842)', '2026-07-17 17:42:28', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823495 -3.528297)'), GeomFromEWKT('SRID=4674;POINT (-38.823521 -3.52842)'))) / (select extract(epoch from '2026-07-17 17:42:28'::timestamp) - extract(epoch from '2026-07-17 17:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823495 -3.528297)'), GeomFromEWKT('SRID=4674;POINT (-38.823521 -3.52842)'))) / (select extract(epoch from '2026-07-17 17:42:28'::timestamp) - extract(epoch from '2026-07-17 17:42: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'), 47317, 'SRID=4674;POINT (-38.823544 -3.528591)', '2026-07-17 17:42:36', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823521 -3.52842)'), GeomFromEWKT('SRID=4674;POINT (-38.823544 -3.528591)'))) / (select extract(epoch from '2026-07-17 17:42:36'::timestamp) - extract(epoch from '2026-07-17 17:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823521 -3.52842)'), GeomFromEWKT('SRID=4674;POINT (-38.823544 -3.528591)'))) / (select extract(epoch from '2026-07-17 17:42:36'::timestamp) - extract(epoch from '2026-07-17 17:42: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'), 47317, 'SRID=4674;POINT (-38.823566 -3.52872)', '2026-07-17 17:42:43', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823544 -3.528591)'), GeomFromEWKT('SRID=4674;POINT (-38.823566 -3.52872)'))) / (select extract(epoch from '2026-07-17 17:42:43'::timestamp) - extract(epoch from '2026-07-17 17:42:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823544 -3.528591)'), GeomFromEWKT('SRID=4674;POINT (-38.823566 -3.52872)'))) / (select extract(epoch from '2026-07-17 17:42:43'::timestamp) - extract(epoch from '2026-07-17 17:42:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.823603 -3.528868)', '2026-07-17 17:42:50', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823566 -3.52872)'), GeomFromEWKT('SRID=4674;POINT (-38.823603 -3.528868)'))) / (select extract(epoch from '2026-07-17 17:42:50'::timestamp) - extract(epoch from '2026-07-17 17:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823566 -3.52872)'), GeomFromEWKT('SRID=4674;POINT (-38.823603 -3.528868)'))) / (select extract(epoch from '2026-07-17 17:42:50'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.823634 -3.529058)', '2026-07-17 17:42:59', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823603 -3.528868)'), GeomFromEWKT('SRID=4674;POINT (-38.823634 -3.529058)'))) / (select extract(epoch from '2026-07-17 17:42:59'::timestamp) - extract(epoch from '2026-07-17 17:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823603 -3.528868)'), GeomFromEWKT('SRID=4674;POINT (-38.823634 -3.529058)'))) / (select extract(epoch from '2026-07-17 17:42:59'::timestamp) - extract(epoch from '2026-07-17 17:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.823661 -3.529218)', '2026-07-17 17:43:06', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823634 -3.529058)'), GeomFromEWKT('SRID=4674;POINT (-38.823661 -3.529218)'))) / (select extract(epoch from '2026-07-17 17:43:06'::timestamp) - extract(epoch from '2026-07-17 17:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823634 -3.529058)'), GeomFromEWKT('SRID=4674;POINT (-38.823661 -3.529218)'))) / (select extract(epoch from '2026-07-17 17:43:06'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.823697 -3.529394)', '2026-07-17 17:43:14', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823661 -3.529218)'), GeomFromEWKT('SRID=4674;POINT (-38.823697 -3.529394)'))) / (select extract(epoch from '2026-07-17 17:43:14'::timestamp) - extract(epoch from '2026-07-17 17:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823661 -3.529218)'), GeomFromEWKT('SRID=4674;POINT (-38.823697 -3.529394)'))) / (select extract(epoch from '2026-07-17 17:43:14'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47317, 'SRID=4674;POINT (-38.823742 -3.529573)', '2026-07-17 17:43:22', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823697 -3.529394)'), GeomFromEWKT('SRID=4674;POINT (-38.823742 -3.529573)'))) / (select extract(epoch from '2026-07-17 17:43:22'::timestamp) - extract(epoch from '2026-07-17 17:43:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823697 -3.529394)'), GeomFromEWKT('SRID=4674;POINT (-38.823742 -3.529573)'))) / (select extract(epoch from '2026-07-17 17:43:22'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47317, 'SRID=4674;POINT (-38.823745 -3.529596)', '2026-07-17 17:43:23', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823742 -3.529573)'), GeomFromEWKT('SRID=4674;POINT (-38.823745 -3.529596)'))) / (select extract(epoch from '2026-07-17 17:43:23'::timestamp) - extract(epoch from '2026-07-17 17:43:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823742 -3.529573)'), GeomFromEWKT('SRID=4674;POINT (-38.823745 -3.529596)'))) / (select extract(epoch from '2026-07-17 17:43:23'::timestamp) - extract(epoch from '2026-07-17 17:43:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.823777 -3.529746)', '2026-07-17 17:43:30', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823745 -3.529596)'), GeomFromEWKT('SRID=4674;POINT (-38.823777 -3.529746)'))) / (select extract(epoch from '2026-07-17 17:43:30'::timestamp) - extract(epoch from '2026-07-17 17:43:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823745 -3.529596)'), GeomFromEWKT('SRID=4674;POINT (-38.823777 -3.529746)'))) / (select extract(epoch from '2026-07-17 17:43:30'::timestamp) - extract(epoch from '2026-07-17 17:43:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.823824 -3.529929)', '2026-07-17 17:43:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823777 -3.529746)'), GeomFromEWKT('SRID=4674;POINT (-38.823824 -3.529929)'))) / (select extract(epoch from '2026-07-17 17:43:39'::timestamp) - extract(epoch from '2026-07-17 17:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823777 -3.529746)'), GeomFromEWKT('SRID=4674;POINT (-38.823824 -3.529929)'))) / (select extract(epoch from '2026-07-17 17:43:39'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.823872 -3.530114)', '2026-07-17 17:43:47', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823824 -3.529929)'), GeomFromEWKT('SRID=4674;POINT (-38.823872 -3.530114)'))) / (select extract(epoch from '2026-07-17 17:43:47'::timestamp) - extract(epoch from '2026-07-17 17:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823824 -3.529929)'), GeomFromEWKT('SRID=4674;POINT (-38.823872 -3.530114)'))) / (select extract(epoch from '2026-07-17 17:43:47'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47317, 'SRID=4674;POINT (-38.823879 -3.530155)', '2026-07-17 17:43:49', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823872 -3.530114)'), GeomFromEWKT('SRID=4674;POINT (-38.823879 -3.530155)'))) / (select extract(epoch from '2026-07-17 17:43:49'::timestamp) - extract(epoch from '2026-07-17 17:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823872 -3.530114)'), GeomFromEWKT('SRID=4674;POINT (-38.823879 -3.530155)'))) / (select extract(epoch from '2026-07-17 17:43:49'::timestamp) - extract(epoch from '2026-07-17 17:43:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.823921 -3.530289)', '2026-07-17 17:43:55', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823879 -3.530155)'), GeomFromEWKT('SRID=4674;POINT (-38.823921 -3.530289)'))) / (select extract(epoch from '2026-07-17 17:43:55'::timestamp) - extract(epoch from '2026-07-17 17:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823879 -3.530155)'), GeomFromEWKT('SRID=4674;POINT (-38.823921 -3.530289)'))) / (select extract(epoch from '2026-07-17 17:43:55'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47317, 'SRID=4674;POINT (-38.823964 -3.530454)', '2026-07-17 17:44:03', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823921 -3.530289)'), GeomFromEWKT('SRID=4674;POINT (-38.823964 -3.530454)'))) / (select extract(epoch from '2026-07-17 17:44:03'::timestamp) - extract(epoch from '2026-07-17 17:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823921 -3.530289)'), GeomFromEWKT('SRID=4674;POINT (-38.823964 -3.530454)'))) / (select extract(epoch from '2026-07-17 17:44:03'::timestamp) - extract(epoch from '2026-07-17 17:43: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'), 47317, 'SRID=4674;POINT (-38.824001 -3.530643)', '2026-07-17 17:44:12', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823964 -3.530454)'), GeomFromEWKT('SRID=4674;POINT (-38.824001 -3.530643)'))) / (select extract(epoch from '2026-07-17 17:44:12'::timestamp) - extract(epoch from '2026-07-17 17:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.823964 -3.530454)'), GeomFromEWKT('SRID=4674;POINT (-38.824001 -3.530643)'))) / (select extract(epoch from '2026-07-17 17:44:12'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.824011 -3.530683)', '2026-07-17 17:44:14', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824001 -3.530643)'), GeomFromEWKT('SRID=4674;POINT (-38.824011 -3.530683)'))) / (select extract(epoch from '2026-07-17 17:44:14'::timestamp) - extract(epoch from '2026-07-17 17:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824001 -3.530643)'), GeomFromEWKT('SRID=4674;POINT (-38.824011 -3.530683)'))) / (select extract(epoch from '2026-07-17 17:44:14'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47317, 'SRID=4674;POINT (-38.824041 -3.530854)', '2026-07-17 17:44:22', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824011 -3.530683)'), GeomFromEWKT('SRID=4674;POINT (-38.824041 -3.530854)'))) / (select extract(epoch from '2026-07-17 17:44:22'::timestamp) - extract(epoch from '2026-07-17 17:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824011 -3.530683)'), GeomFromEWKT('SRID=4674;POINT (-38.824041 -3.530854)'))) / (select extract(epoch from '2026-07-17 17:44:22'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47317, 'SRID=4674;POINT (-38.82406 -3.53101)', '2026-07-17 17:44:30', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824041 -3.530854)'), GeomFromEWKT('SRID=4674;POINT (-38.82406 -3.53101)'))) / (select extract(epoch from '2026-07-17 17:44:30'::timestamp) - extract(epoch from '2026-07-17 17:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824041 -3.530854)'), GeomFromEWKT('SRID=4674;POINT (-38.82406 -3.53101)'))) / (select extract(epoch from '2026-07-17 17:44:30'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.824093 -3.531128)', '2026-07-17 17:44:36', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82406 -3.53101)'), GeomFromEWKT('SRID=4674;POINT (-38.824093 -3.531128)'))) / (select extract(epoch from '2026-07-17 17:44:36'::timestamp) - extract(epoch from '2026-07-17 17:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82406 -3.53101)'), GeomFromEWKT('SRID=4674;POINT (-38.824093 -3.531128)'))) / (select extract(epoch from '2026-07-17 17:44:36'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47317, 'SRID=4674;POINT (-38.824121 -3.531278)', '2026-07-17 17:44:43', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824093 -3.531128)'), GeomFromEWKT('SRID=4674;POINT (-38.824121 -3.531278)'))) / (select extract(epoch from '2026-07-17 17:44:43'::timestamp) - extract(epoch from '2026-07-17 17:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824093 -3.531128)'), GeomFromEWKT('SRID=4674;POINT (-38.824121 -3.531278)'))) / (select extract(epoch from '2026-07-17 17:44:43'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47317, 'SRID=4674;POINT (-38.824146 -3.531437)', '2026-07-17 17:44:50', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824121 -3.531278)'), GeomFromEWKT('SRID=4674;POINT (-38.824146 -3.531437)'))) / (select extract(epoch from '2026-07-17 17:44:50'::timestamp) - extract(epoch from '2026-07-17 17:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824121 -3.531278)'), GeomFromEWKT('SRID=4674;POINT (-38.824146 -3.531437)'))) / (select extract(epoch from '2026-07-17 17:44:50'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.824178 -3.531588)', '2026-07-17 17:44:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824146 -3.531437)'), GeomFromEWKT('SRID=4674;POINT (-38.824178 -3.531588)'))) / (select extract(epoch from '2026-07-17 17:44:57'::timestamp) - extract(epoch from '2026-07-17 17:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824146 -3.531437)'), GeomFromEWKT('SRID=4674;POINT (-38.824178 -3.531588)'))) / (select extract(epoch from '2026-07-17 17:44:57'::timestamp) - extract(epoch from '2026-07-17 17:44: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'), 47317, 'SRID=4674;POINT (-38.824221 -3.531757)', '2026-07-17 17:45:05', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824178 -3.531588)'), GeomFromEWKT('SRID=4674;POINT (-38.824221 -3.531757)'))) / (select extract(epoch from '2026-07-17 17:45:05'::timestamp) - extract(epoch from '2026-07-17 17:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824178 -3.531588)'), GeomFromEWKT('SRID=4674;POINT (-38.824221 -3.531757)'))) / (select extract(epoch from '2026-07-17 17:45:05'::timestamp) - extract(epoch from '2026-07-17 17:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.824261 -3.531918)', '2026-07-17 17:45:12', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824221 -3.531757)'), GeomFromEWKT('SRID=4674;POINT (-38.824261 -3.531918)'))) / (select extract(epoch from '2026-07-17 17:45:12'::timestamp) - extract(epoch from '2026-07-17 17:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824221 -3.531757)'), GeomFromEWKT('SRID=4674;POINT (-38.824261 -3.531918)'))) / (select extract(epoch from '2026-07-17 17:45:12'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47317, 'SRID=4674;POINT (-38.824282 -3.53206)', '2026-07-17 17:45:19', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824261 -3.531918)'), GeomFromEWKT('SRID=4674;POINT (-38.824282 -3.53206)'))) / (select extract(epoch from '2026-07-17 17:45:19'::timestamp) - extract(epoch from '2026-07-17 17:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824261 -3.531918)'), GeomFromEWKT('SRID=4674;POINT (-38.824282 -3.53206)'))) / (select extract(epoch from '2026-07-17 17:45:19'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.824305 -3.532187)', '2026-07-17 17:45:25', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824282 -3.53206)'), GeomFromEWKT('SRID=4674;POINT (-38.824305 -3.532187)'))) / (select extract(epoch from '2026-07-17 17:45:25'::timestamp) - extract(epoch from '2026-07-17 17:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824282 -3.53206)'), GeomFromEWKT('SRID=4674;POINT (-38.824305 -3.532187)'))) / (select extract(epoch from '2026-07-17 17:45:25'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.824339 -3.532376)', '2026-07-17 17:45:34', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824305 -3.532187)'), GeomFromEWKT('SRID=4674;POINT (-38.824339 -3.532376)'))) / (select extract(epoch from '2026-07-17 17:45:34'::timestamp) - extract(epoch from '2026-07-17 17:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824305 -3.532187)'), GeomFromEWKT('SRID=4674;POINT (-38.824339 -3.532376)'))) / (select extract(epoch from '2026-07-17 17:45:34'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.824341 -3.5324)', '2026-07-17 17:45:35', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824339 -3.532376)'), GeomFromEWKT('SRID=4674;POINT (-38.824341 -3.5324)'))) / (select extract(epoch from '2026-07-17 17:45:35'::timestamp) - extract(epoch from '2026-07-17 17:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824339 -3.532376)'), GeomFromEWKT('SRID=4674;POINT (-38.824341 -3.5324)'))) / (select extract(epoch from '2026-07-17 17:45:35'::timestamp) - extract(epoch from '2026-07-17 17:45:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.82436 -3.53259)', '2026-07-17 17:45:43', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824341 -3.5324)'), GeomFromEWKT('SRID=4674;POINT (-38.82436 -3.53259)'))) / (select extract(epoch from '2026-07-17 17:45:43'::timestamp) - extract(epoch from '2026-07-17 17:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824341 -3.5324)'), GeomFromEWKT('SRID=4674;POINT (-38.82436 -3.53259)'))) / (select extract(epoch from '2026-07-17 17:45:43'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47317, 'SRID=4674;POINT (-38.824369 -3.532743)', '2026-07-17 17:45:50', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82436 -3.53259)'), GeomFromEWKT('SRID=4674;POINT (-38.824369 -3.532743)'))) / (select extract(epoch from '2026-07-17 17:45:50'::timestamp) - extract(epoch from '2026-07-17 17:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82436 -3.53259)'), GeomFromEWKT('SRID=4674;POINT (-38.824369 -3.532743)'))) / (select extract(epoch from '2026-07-17 17:45:50'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47317, 'SRID=4674;POINT (-38.824417 -3.532918)', '2026-07-17 17:45:58', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824369 -3.532743)'), GeomFromEWKT('SRID=4674;POINT (-38.824417 -3.532918)'))) / (select extract(epoch from '2026-07-17 17:45:58'::timestamp) - extract(epoch from '2026-07-17 17:45:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824369 -3.532743)'), GeomFromEWKT('SRID=4674;POINT (-38.824417 -3.532918)'))) / (select extract(epoch from '2026-07-17 17:45:58'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.824438 -3.533057)', '2026-07-17 17:46:04', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824417 -3.532918)'), GeomFromEWKT('SRID=4674;POINT (-38.824438 -3.533057)'))) / (select extract(epoch from '2026-07-17 17:46:04'::timestamp) - extract(epoch from '2026-07-17 17:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824417 -3.532918)'), GeomFromEWKT('SRID=4674;POINT (-38.824438 -3.533057)'))) / (select extract(epoch from '2026-07-17 17:46:04'::timestamp) - extract(epoch from '2026-07-17 17:45: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'), 47317, 'SRID=4674;POINT (-38.82448 -3.533245)', '2026-07-17 17:46:12', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824438 -3.533057)'), GeomFromEWKT('SRID=4674;POINT (-38.82448 -3.533245)'))) / (select extract(epoch from '2026-07-17 17:46:12'::timestamp) - extract(epoch from '2026-07-17 17:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824438 -3.533057)'), GeomFromEWKT('SRID=4674;POINT (-38.82448 -3.533245)'))) / (select extract(epoch from '2026-07-17 17:46:12'::timestamp) - extract(epoch from '2026-07-17 17:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.824509 -3.533411)', '2026-07-17 17:46:20', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82448 -3.533245)'), GeomFromEWKT('SRID=4674;POINT (-38.824509 -3.533411)'))) / (select extract(epoch from '2026-07-17 17:46:20'::timestamp) - extract(epoch from '2026-07-17 17:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82448 -3.533245)'), GeomFromEWKT('SRID=4674;POINT (-38.824509 -3.533411)'))) / (select extract(epoch from '2026-07-17 17:46:20'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47317, 'SRID=4674;POINT (-38.824547 -3.533602)', '2026-07-17 17:46:29', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824509 -3.533411)'), GeomFromEWKT('SRID=4674;POINT (-38.824547 -3.533602)'))) / (select extract(epoch from '2026-07-17 17:46:29'::timestamp) - extract(epoch from '2026-07-17 17:46:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824509 -3.533411)'), GeomFromEWKT('SRID=4674;POINT (-38.824547 -3.533602)'))) / (select extract(epoch from '2026-07-17 17:46:29'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47317, 'SRID=4674;POINT (-38.824578 -3.533777)', '2026-07-17 17:46:37', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824547 -3.533602)'), GeomFromEWKT('SRID=4674;POINT (-38.824578 -3.533777)'))) / (select extract(epoch from '2026-07-17 17:46:37'::timestamp) - extract(epoch from '2026-07-17 17:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824547 -3.533602)'), GeomFromEWKT('SRID=4674;POINT (-38.824578 -3.533777)'))) / (select extract(epoch from '2026-07-17 17:46:37'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47317, 'SRID=4674;POINT (-38.824594 -3.533948)', '2026-07-17 17:46:44', 20.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824578 -3.533777)'), GeomFromEWKT('SRID=4674;POINT (-38.824594 -3.533948)'))) / (select extract(epoch from '2026-07-17 17:46:44'::timestamp) - extract(epoch from '2026-07-17 17:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824578 -3.533777)'), GeomFromEWKT('SRID=4674;POINT (-38.824594 -3.533948)'))) / (select extract(epoch from '2026-07-17 17:46:44'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47317, 'SRID=4674;POINT (-38.824622 -3.534113)', '2026-07-17 17:46:51', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824594 -3.533948)'), GeomFromEWKT('SRID=4674;POINT (-38.824622 -3.534113)'))) / (select extract(epoch from '2026-07-17 17:46:51'::timestamp) - extract(epoch from '2026-07-17 17:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824594 -3.533948)'), GeomFromEWKT('SRID=4674;POINT (-38.824622 -3.534113)'))) / (select extract(epoch from '2026-07-17 17:46:51'::timestamp) - extract(epoch from '2026-07-17 17:46:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.82463 -3.534272)', '2026-07-17 17:46:58', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824622 -3.534113)'), GeomFromEWKT('SRID=4674;POINT (-38.82463 -3.534272)'))) / (select extract(epoch from '2026-07-17 17:46:58'::timestamp) - extract(epoch from '2026-07-17 17:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824622 -3.534113)'), GeomFromEWKT('SRID=4674;POINT (-38.82463 -3.534272)'))) / (select extract(epoch from '2026-07-17 17:46:58'::timestamp) - extract(epoch from '2026-07-17 17:46: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'), 47317, 'SRID=4674;POINT (-38.824656 -3.534419)', '2026-07-17 17:47:05', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82463 -3.534272)'), GeomFromEWKT('SRID=4674;POINT (-38.824656 -3.534419)'))) / (select extract(epoch from '2026-07-17 17:47:05'::timestamp) - extract(epoch from '2026-07-17 17:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82463 -3.534272)'), GeomFromEWKT('SRID=4674;POINT (-38.824656 -3.534419)'))) / (select extract(epoch from '2026-07-17 17:47:05'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.824678 -3.534594)', '2026-07-17 17:47:13', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824656 -3.534419)'), GeomFromEWKT('SRID=4674;POINT (-38.824678 -3.534594)'))) / (select extract(epoch from '2026-07-17 17:47:13'::timestamp) - extract(epoch from '2026-07-17 17:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824656 -3.534419)'), GeomFromEWKT('SRID=4674;POINT (-38.824678 -3.534594)'))) / (select extract(epoch from '2026-07-17 17:47:13'::timestamp) - extract(epoch from '2026-07-17 17:47: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'), 47317, 'SRID=4674;POINT (-38.824699 -3.534735)', '2026-07-17 17:47:19', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824678 -3.534594)'), GeomFromEWKT('SRID=4674;POINT (-38.824699 -3.534735)'))) / (select extract(epoch from '2026-07-17 17:47:19'::timestamp) - extract(epoch from '2026-07-17 17:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824678 -3.534594)'), GeomFromEWKT('SRID=4674;POINT (-38.824699 -3.534735)'))) / (select extract(epoch from '2026-07-17 17:47:19'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.824715 -3.534877)', '2026-07-17 17:47:25', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824699 -3.534735)'), GeomFromEWKT('SRID=4674;POINT (-38.824715 -3.534877)'))) / (select extract(epoch from '2026-07-17 17:47:25'::timestamp) - extract(epoch from '2026-07-17 17:47:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824699 -3.534735)'), GeomFromEWKT('SRID=4674;POINT (-38.824715 -3.534877)'))) / (select extract(epoch from '2026-07-17 17:47:25'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.824732 -3.535048)', '2026-07-17 17:47:32', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824715 -3.534877)'), GeomFromEWKT('SRID=4674;POINT (-38.824732 -3.535048)'))) / (select extract(epoch from '2026-07-17 17:47:32'::timestamp) - extract(epoch from '2026-07-17 17:47:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824715 -3.534877)'), GeomFromEWKT('SRID=4674;POINT (-38.824732 -3.535048)'))) / (select extract(epoch from '2026-07-17 17:47:32'::timestamp) - extract(epoch from '2026-07-17 17:47:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.824759 -3.53523)', '2026-07-17 17:47:40', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824732 -3.535048)'), GeomFromEWKT('SRID=4674;POINT (-38.824759 -3.53523)'))) / (select extract(epoch from '2026-07-17 17:47:40'::timestamp) - extract(epoch from '2026-07-17 17:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824732 -3.535048)'), GeomFromEWKT('SRID=4674;POINT (-38.824759 -3.53523)'))) / (select extract(epoch from '2026-07-17 17:47:40'::timestamp) - extract(epoch from '2026-07-17 17:47: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'), 47317, 'SRID=4674;POINT (-38.824777 -3.535419)', '2026-07-17 17:47:48', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824759 -3.53523)'), GeomFromEWKT('SRID=4674;POINT (-38.824777 -3.535419)'))) / (select extract(epoch from '2026-07-17 17:47:48'::timestamp) - extract(epoch from '2026-07-17 17:47:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824759 -3.53523)'), GeomFromEWKT('SRID=4674;POINT (-38.824777 -3.535419)'))) / (select extract(epoch from '2026-07-17 17:47:48'::timestamp) - extract(epoch from '2026-07-17 17:47: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'), 47317, 'SRID=4674;POINT (-38.824781 -3.535441)', '2026-07-17 17:47:49', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824777 -3.535419)'), GeomFromEWKT('SRID=4674;POINT (-38.824781 -3.535441)'))) / (select extract(epoch from '2026-07-17 17:47:49'::timestamp) - extract(epoch from '2026-07-17 17:47:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824777 -3.535419)'), GeomFromEWKT('SRID=4674;POINT (-38.824781 -3.535441)'))) / (select extract(epoch from '2026-07-17 17:47:49'::timestamp) - extract(epoch from '2026-07-17 17:47: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'), 47317, 'SRID=4674;POINT (-38.824812 -3.5356)', '2026-07-17 17:47:56', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824781 -3.535441)'), GeomFromEWKT('SRID=4674;POINT (-38.824812 -3.5356)'))) / (select extract(epoch from '2026-07-17 17:47:56'::timestamp) - extract(epoch from '2026-07-17 17:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824781 -3.535441)'), GeomFromEWKT('SRID=4674;POINT (-38.824812 -3.5356)'))) / (select extract(epoch from '2026-07-17 17:47:56'::timestamp) - extract(epoch from '2026-07-17 17:47: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'), 47317, 'SRID=4674;POINT (-38.824822 -3.53576)', '2026-07-17 17:48:03', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824812 -3.5356)'), GeomFromEWKT('SRID=4674;POINT (-38.824822 -3.53576)'))) / (select extract(epoch from '2026-07-17 17:48:03'::timestamp) - extract(epoch from '2026-07-17 17:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824812 -3.5356)'), GeomFromEWKT('SRID=4674;POINT (-38.824822 -3.53576)'))) / (select extract(epoch from '2026-07-17 17:48:03'::timestamp) - extract(epoch from '2026-07-17 17:47: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'), 47317, 'SRID=4674;POINT (-38.824835 -3.535936)', '2026-07-17 17:48:11', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824822 -3.53576)'), GeomFromEWKT('SRID=4674;POINT (-38.824835 -3.535936)'))) / (select extract(epoch from '2026-07-17 17:48:11'::timestamp) - extract(epoch from '2026-07-17 17:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824822 -3.53576)'), GeomFromEWKT('SRID=4674;POINT (-38.824835 -3.535936)'))) / (select extract(epoch from '2026-07-17 17:48:11'::timestamp) - extract(epoch from '2026-07-17 17:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.824866 -3.536115)', '2026-07-17 17:48:19', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824835 -3.535936)'), GeomFromEWKT('SRID=4674;POINT (-38.824866 -3.536115)'))) / (select extract(epoch from '2026-07-17 17:48:19'::timestamp) - extract(epoch from '2026-07-17 17:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824835 -3.535936)'), GeomFromEWKT('SRID=4674;POINT (-38.824866 -3.536115)'))) / (select extract(epoch from '2026-07-17 17:48:19'::timestamp) - extract(epoch from '2026-07-17 17:48:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.824889 -3.536263)', '2026-07-17 17:48:26', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824866 -3.536115)'), GeomFromEWKT('SRID=4674;POINT (-38.824889 -3.536263)'))) / (select extract(epoch from '2026-07-17 17:48:26'::timestamp) - extract(epoch from '2026-07-17 17:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824866 -3.536115)'), GeomFromEWKT('SRID=4674;POINT (-38.824889 -3.536263)'))) / (select extract(epoch from '2026-07-17 17:48:26'::timestamp) - extract(epoch from '2026-07-17 17:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.824912 -3.536437)', '2026-07-17 17:48:34', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824889 -3.536263)'), GeomFromEWKT('SRID=4674;POINT (-38.824912 -3.536437)'))) / (select extract(epoch from '2026-07-17 17:48:34'::timestamp) - extract(epoch from '2026-07-17 17:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824889 -3.536263)'), GeomFromEWKT('SRID=4674;POINT (-38.824912 -3.536437)'))) / (select extract(epoch from '2026-07-17 17:48:34'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.824932 -3.536579)', '2026-07-17 17:48:40', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824912 -3.536437)'), GeomFromEWKT('SRID=4674;POINT (-38.824932 -3.536579)'))) / (select extract(epoch from '2026-07-17 17:48:40'::timestamp) - extract(epoch from '2026-07-17 17:48:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824912 -3.536437)'), GeomFromEWKT('SRID=4674;POINT (-38.824932 -3.536579)'))) / (select extract(epoch from '2026-07-17 17:48:40'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47317, 'SRID=4674;POINT (-38.824962 -3.536714)', '2026-07-17 17:48:46', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824932 -3.536579)'), GeomFromEWKT('SRID=4674;POINT (-38.824962 -3.536714)'))) / (select extract(epoch from '2026-07-17 17:48:46'::timestamp) - extract(epoch from '2026-07-17 17:48:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824932 -3.536579)'), GeomFromEWKT('SRID=4674;POINT (-38.824962 -3.536714)'))) / (select extract(epoch from '2026-07-17 17:48:46'::timestamp) - extract(epoch from '2026-07-17 17:48:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.824988 -3.536894)', '2026-07-17 17:48:54', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824962 -3.536714)'), GeomFromEWKT('SRID=4674;POINT (-38.824988 -3.536894)'))) / (select extract(epoch from '2026-07-17 17:48:54'::timestamp) - extract(epoch from '2026-07-17 17:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824962 -3.536714)'), GeomFromEWKT('SRID=4674;POINT (-38.824988 -3.536894)'))) / (select extract(epoch from '2026-07-17 17:48:54'::timestamp) - extract(epoch from '2026-07-17 17:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.825008 -3.537084)', '2026-07-17 17:49:02', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824988 -3.536894)'), GeomFromEWKT('SRID=4674;POINT (-38.825008 -3.537084)'))) / (select extract(epoch from '2026-07-17 17:49:02'::timestamp) - extract(epoch from '2026-07-17 17:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.824988 -3.536894)'), GeomFromEWKT('SRID=4674;POINT (-38.825008 -3.537084)'))) / (select extract(epoch from '2026-07-17 17:49:02'::timestamp) - extract(epoch from '2026-07-17 17:48: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'), 47317, 'SRID=4674;POINT (-38.825014 -3.537134)', '2026-07-17 17:49:04', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825008 -3.537084)'), GeomFromEWKT('SRID=4674;POINT (-38.825014 -3.537134)'))) / (select extract(epoch from '2026-07-17 17:49:04'::timestamp) - extract(epoch from '2026-07-17 17:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825008 -3.537084)'), GeomFromEWKT('SRID=4674;POINT (-38.825014 -3.537134)'))) / (select extract(epoch from '2026-07-17 17:49:04'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47317, 'SRID=4674;POINT (-38.825043 -3.537324)', '2026-07-17 17:49:12', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825014 -3.537134)'), GeomFromEWKT('SRID=4674;POINT (-38.825043 -3.537324)'))) / (select extract(epoch from '2026-07-17 17:49:12'::timestamp) - extract(epoch from '2026-07-17 17:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825014 -3.537134)'), GeomFromEWKT('SRID=4674;POINT (-38.825043 -3.537324)'))) / (select extract(epoch from '2026-07-17 17:49:12'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47317, 'SRID=4674;POINT (-38.825064 -3.537476)', '2026-07-17 17:49:19', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825043 -3.537324)'), GeomFromEWKT('SRID=4674;POINT (-38.825064 -3.537476)'))) / (select extract(epoch from '2026-07-17 17:49:19'::timestamp) - extract(epoch from '2026-07-17 17:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825043 -3.537324)'), GeomFromEWKT('SRID=4674;POINT (-38.825064 -3.537476)'))) / (select extract(epoch from '2026-07-17 17:49:19'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47317, 'SRID=4674;POINT (-38.825089 -3.537651)', '2026-07-17 17:49:27', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825064 -3.537476)'), GeomFromEWKT('SRID=4674;POINT (-38.825089 -3.537651)'))) / (select extract(epoch from '2026-07-17 17:49:27'::timestamp) - extract(epoch from '2026-07-17 17:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825064 -3.537476)'), GeomFromEWKT('SRID=4674;POINT (-38.825089 -3.537651)'))) / (select extract(epoch from '2026-07-17 17:49:27'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.825113 -3.537815)', '2026-07-17 17:49:34', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825089 -3.537651)'), GeomFromEWKT('SRID=4674;POINT (-38.825113 -3.537815)'))) / (select extract(epoch from '2026-07-17 17:49:34'::timestamp) - extract(epoch from '2026-07-17 17:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825089 -3.537651)'), GeomFromEWKT('SRID=4674;POINT (-38.825113 -3.537815)'))) / (select extract(epoch from '2026-07-17 17:49:34'::timestamp) - extract(epoch from '2026-07-17 17:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.825125 -3.537951)', '2026-07-17 17:49:40', 18, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825113 -3.537815)'), GeomFromEWKT('SRID=4674;POINT (-38.825125 -3.537951)'))) / (select extract(epoch from '2026-07-17 17:49:40'::timestamp) - extract(epoch from '2026-07-17 17:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825113 -3.537815)'), GeomFromEWKT('SRID=4674;POINT (-38.825125 -3.537951)'))) / (select extract(epoch from '2026-07-17 17:49:40'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.825142 -3.538107)', '2026-07-17 17:49:47', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825125 -3.537951)'), GeomFromEWKT('SRID=4674;POINT (-38.825142 -3.538107)'))) / (select extract(epoch from '2026-07-17 17:49:47'::timestamp) - extract(epoch from '2026-07-17 17:49:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825125 -3.537951)'), GeomFromEWKT('SRID=4674;POINT (-38.825142 -3.538107)'))) / (select extract(epoch from '2026-07-17 17:49:47'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.825167 -3.53826)', '2026-07-17 17:49:54', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825142 -3.538107)'), GeomFromEWKT('SRID=4674;POINT (-38.825167 -3.53826)'))) / (select extract(epoch from '2026-07-17 17:49:54'::timestamp) - extract(epoch from '2026-07-17 17:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825142 -3.538107)'), GeomFromEWKT('SRID=4674;POINT (-38.825167 -3.53826)'))) / (select extract(epoch from '2026-07-17 17:49:54'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47317, 'SRID=4674;POINT (-38.825186 -3.538424)', '2026-07-17 17:50:02', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825167 -3.53826)'), GeomFromEWKT('SRID=4674;POINT (-38.825186 -3.538424)'))) / (select extract(epoch from '2026-07-17 17:50:02'::timestamp) - extract(epoch from '2026-07-17 17:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825167 -3.53826)'), GeomFromEWKT('SRID=4674;POINT (-38.825186 -3.538424)'))) / (select extract(epoch from '2026-07-17 17:50:02'::timestamp) - extract(epoch from '2026-07-17 17:49: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'), 47317, 'SRID=4674;POINT (-38.825201 -3.538569)', '2026-07-17 17:50:09', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825186 -3.538424)'), GeomFromEWKT('SRID=4674;POINT (-38.825201 -3.538569)'))) / (select extract(epoch from '2026-07-17 17:50:09'::timestamp) - extract(epoch from '2026-07-17 17:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825186 -3.538424)'), GeomFromEWKT('SRID=4674;POINT (-38.825201 -3.538569)'))) / (select extract(epoch from '2026-07-17 17:50:09'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47317, 'SRID=4674;POINT (-38.825207 -3.538724)', '2026-07-17 17:50:17', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825201 -3.538569)'), GeomFromEWKT('SRID=4674;POINT (-38.825207 -3.538724)'))) / (select extract(epoch from '2026-07-17 17:50:17'::timestamp) - extract(epoch from '2026-07-17 17:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825201 -3.538569)'), GeomFromEWKT('SRID=4674;POINT (-38.825207 -3.538724)'))) / (select extract(epoch from '2026-07-17 17:50:17'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47317, 'SRID=4674;POINT (-38.825227 -3.53888)', '2026-07-17 17:50:25', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825207 -3.538724)'), GeomFromEWKT('SRID=4674;POINT (-38.825227 -3.53888)'))) / (select extract(epoch from '2026-07-17 17:50:25'::timestamp) - extract(epoch from '2026-07-17 17:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825207 -3.538724)'), GeomFromEWKT('SRID=4674;POINT (-38.825227 -3.53888)'))) / (select extract(epoch from '2026-07-17 17:50:25'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47317, 'SRID=4674;POINT (-38.825252 -3.539041)', '2026-07-17 17:50:32', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825227 -3.53888)'), GeomFromEWKT('SRID=4674;POINT (-38.825252 -3.539041)'))) / (select extract(epoch from '2026-07-17 17:50:32'::timestamp) - extract(epoch from '2026-07-17 17:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825227 -3.53888)'), GeomFromEWKT('SRID=4674;POINT (-38.825252 -3.539041)'))) / (select extract(epoch from '2026-07-17 17:50:32'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47317, 'SRID=4674;POINT (-38.825255 -3.539226)', '2026-07-17 17:50:40', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825252 -3.539041)'), GeomFromEWKT('SRID=4674;POINT (-38.825255 -3.539226)'))) / (select extract(epoch from '2026-07-17 17:50:40'::timestamp) - extract(epoch from '2026-07-17 17:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825252 -3.539041)'), GeomFromEWKT('SRID=4674;POINT (-38.825255 -3.539226)'))) / (select extract(epoch from '2026-07-17 17:50:40'::timestamp) - extract(epoch from '2026-07-17 17: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'), 47317, 'SRID=4674;POINT (-38.825277 -3.53941)', '2026-07-17 17:50:48', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825255 -3.539226)'), GeomFromEWKT('SRID=4674;POINT (-38.825277 -3.53941)'))) / (select extract(epoch from '2026-07-17 17:50:48'::timestamp) - extract(epoch from '2026-07-17 17:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825255 -3.539226)'), GeomFromEWKT('SRID=4674;POINT (-38.825277 -3.53941)'))) / (select extract(epoch from '2026-07-17 17:50:48'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47317, 'SRID=4674;POINT (-38.825289 -3.539556)', '2026-07-17 17:50:54', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825277 -3.53941)'), GeomFromEWKT('SRID=4674;POINT (-38.825289 -3.539556)'))) / (select extract(epoch from '2026-07-17 17:50:54'::timestamp) - extract(epoch from '2026-07-17 17:50:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825277 -3.53941)'), GeomFromEWKT('SRID=4674;POINT (-38.825289 -3.539556)'))) / (select extract(epoch from '2026-07-17 17:50:54'::timestamp) - extract(epoch from '2026-07-17 17:50:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.825301 -3.539714)', '2026-07-17 17:51:01', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825289 -3.539556)'), GeomFromEWKT('SRID=4674;POINT (-38.825301 -3.539714)'))) / (select extract(epoch from '2026-07-17 17:51:01'::timestamp) - extract(epoch from '2026-07-17 17:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825289 -3.539556)'), GeomFromEWKT('SRID=4674;POINT (-38.825301 -3.539714)'))) / (select extract(epoch from '2026-07-17 17:51:01'::timestamp) - extract(epoch from '2026-07-17 17:50: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'), 47317, 'SRID=4674;POINT (-38.82529 -3.539867)', '2026-07-17 17:51:08', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825301 -3.539714)'), GeomFromEWKT('SRID=4674;POINT (-38.82529 -3.539867)'))) / (select extract(epoch from '2026-07-17 17:51:08'::timestamp) - extract(epoch from '2026-07-17 17:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825301 -3.539714)'), GeomFromEWKT('SRID=4674;POINT (-38.82529 -3.539867)'))) / (select extract(epoch from '2026-07-17 17:51:08'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47317, 'SRID=4674;POINT (-38.825291 -3.540068)', '2026-07-17 17:51:17', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82529 -3.539867)'), GeomFromEWKT('SRID=4674;POINT (-38.825291 -3.540068)'))) / (select extract(epoch from '2026-07-17 17:51:17'::timestamp) - extract(epoch from '2026-07-17 17:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.82529 -3.539867)'), GeomFromEWKT('SRID=4674;POINT (-38.825291 -3.540068)'))) / (select extract(epoch from '2026-07-17 17:51:17'::timestamp) - extract(epoch from '2026-07-17 17:51: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'), 47317, 'SRID=4674;POINT (-38.825304 -3.540204)', '2026-07-17 17:51:24', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825291 -3.540068)'), GeomFromEWKT('SRID=4674;POINT (-38.825304 -3.540204)'))) / (select extract(epoch from '2026-07-17 17:51:24'::timestamp) - extract(epoch from '2026-07-17 17:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825291 -3.540068)'), GeomFromEWKT('SRID=4674;POINT (-38.825304 -3.540204)'))) / (select extract(epoch from '2026-07-17 17:51:24'::timestamp) - extract(epoch from '2026-07-17 17:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47317, 'SRID=4674;POINT (-38.825338 -3.540404)', '2026-07-17 17:51:33', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825304 -3.540204)'), GeomFromEWKT('SRID=4674;POINT (-38.825338 -3.540404)'))) / (select extract(epoch from '2026-07-17 17:51:33'::timestamp) - extract(epoch from '2026-07-17 17:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.825304 -3.540204)'), GeomFromEWKT('SRID=4674;POINT (-38.825338 -3.540404)'))) / (select extract(epoch from '2026-07-17 17:51:33'::timestamp) - extract(epoch from '2026-07-17 17:51:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
