 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576941 -3.377059)', '2026-05-28 09:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576942 -3.377191)'), GeomFromEWKT('SRID=4674;POINT (-38.576941 -3.377059)'))) / (select extract(epoch from '2026-05-28 09:06:52'::timestamp) - extract(epoch from '2026-05-28 09:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576942 -3.377191)'), GeomFromEWKT('SRID=4674;POINT (-38.576941 -3.377059)'))) / (select extract(epoch from '2026-05-28 09:06:52'::timestamp) - extract(epoch from '2026-05-28 09:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576938 -3.376928)', '2026-05-28 09:06:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576941 -3.377059)'), GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.376928)'))) / (select extract(epoch from '2026-05-28 09:06:58'::timestamp) - extract(epoch from '2026-05-28 09:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576941 -3.377059)'), GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.376928)'))) / (select extract(epoch from '2026-05-28 09:06:58'::timestamp) - extract(epoch from '2026-05-28 09:06:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576954 -3.376821)', '2026-05-28 09:07:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.376928)'), GeomFromEWKT('SRID=4674;POINT (-38.576954 -3.376821)'))) / (select extract(epoch from '2026-05-28 09:07:03'::timestamp) - extract(epoch from '2026-05-28 09:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.376928)'), GeomFromEWKT('SRID=4674;POINT (-38.576954 -3.376821)'))) / (select extract(epoch from '2026-05-28 09:07:03'::timestamp) - extract(epoch from '2026-05-28 09:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576969 -3.3767)', '2026-05-28 09:07:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576954 -3.376821)'), GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.3767)'))) / (select extract(epoch from '2026-05-28 09:07:09'::timestamp) - extract(epoch from '2026-05-28 09:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576954 -3.376821)'), GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.3767)'))) / (select extract(epoch from '2026-05-28 09:07:09'::timestamp) - extract(epoch from '2026-05-28 09:07:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576971 -3.376588)', '2026-05-28 09:07:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.3767)'), GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.376588)'))) / (select extract(epoch from '2026-05-28 09:07:14'::timestamp) - extract(epoch from '2026-05-28 09:07:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.3767)'), GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.376588)'))) / (select extract(epoch from '2026-05-28 09:07:14'::timestamp) - extract(epoch from '2026-05-28 09:07:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576969 -3.376457)', '2026-05-28 09:07:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.376588)'), GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.376457)'))) / (select extract(epoch from '2026-05-28 09:07:20'::timestamp) - extract(epoch from '2026-05-28 09:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576971 -3.376588)'), GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.376457)'))) / (select extract(epoch from '2026-05-28 09:07:20'::timestamp) - extract(epoch from '2026-05-28 09:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576956 -3.376352)', '2026-05-28 09:07:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.376457)'), GeomFromEWKT('SRID=4674;POINT (-38.576956 -3.376352)'))) / (select extract(epoch from '2026-05-28 09:07:25'::timestamp) - extract(epoch from '2026-05-28 09:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576969 -3.376457)'), GeomFromEWKT('SRID=4674;POINT (-38.576956 -3.376352)'))) / (select extract(epoch from '2026-05-28 09:07:25'::timestamp) - extract(epoch from '2026-05-28 09:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576942 -3.376247)', '2026-05-28 09:07:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576956 -3.376352)'), GeomFromEWKT('SRID=4674;POINT (-38.576942 -3.376247)'))) / (select extract(epoch from '2026-05-28 09:07:30'::timestamp) - extract(epoch from '2026-05-28 09:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576956 -3.376352)'), GeomFromEWKT('SRID=4674;POINT (-38.576942 -3.376247)'))) / (select extract(epoch from '2026-05-28 09:07:30'::timestamp) - extract(epoch from '2026-05-28 09:07:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576937 -3.37614)', '2026-05-28 09:07:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576942 -3.376247)'), GeomFromEWKT('SRID=4674;POINT (-38.576937 -3.37614)'))) / (select extract(epoch from '2026-05-28 09:07:35'::timestamp) - extract(epoch from '2026-05-28 09:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576942 -3.376247)'), GeomFromEWKT('SRID=4674;POINT (-38.576937 -3.37614)'))) / (select extract(epoch from '2026-05-28 09:07:35'::timestamp) - extract(epoch from '2026-05-28 09:07:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576934 -3.375998)', '2026-05-28 09:07:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576937 -3.37614)'), GeomFromEWKT('SRID=4674;POINT (-38.576934 -3.375998)'))) / (select extract(epoch from '2026-05-28 09:07:42'::timestamp) - extract(epoch from '2026-05-28 09:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576937 -3.37614)'), GeomFromEWKT('SRID=4674;POINT (-38.576934 -3.375998)'))) / (select extract(epoch from '2026-05-28 09:07:42'::timestamp) - extract(epoch from '2026-05-28 09:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576935 -3.375891)', '2026-05-28 09:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576934 -3.375998)'), GeomFromEWKT('SRID=4674;POINT (-38.576935 -3.375891)'))) / (select extract(epoch from '2026-05-28 09:07:47'::timestamp) - extract(epoch from '2026-05-28 09:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576934 -3.375998)'), GeomFromEWKT('SRID=4674;POINT (-38.576935 -3.375891)'))) / (select extract(epoch from '2026-05-28 09:07:47'::timestamp) - extract(epoch from '2026-05-28 09:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576928 -3.375763)', '2026-05-28 09:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576935 -3.375891)'), GeomFromEWKT('SRID=4674;POINT (-38.576928 -3.375763)'))) / (select extract(epoch from '2026-05-28 09:07:53'::timestamp) - extract(epoch from '2026-05-28 09:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576935 -3.375891)'), GeomFromEWKT('SRID=4674;POINT (-38.576928 -3.375763)'))) / (select extract(epoch from '2026-05-28 09:07:53'::timestamp) - extract(epoch from '2026-05-28 09:07:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576922 -3.375606)', '2026-05-28 09:08:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576928 -3.375763)'), GeomFromEWKT('SRID=4674;POINT (-38.576922 -3.375606)'))) / (select extract(epoch from '2026-05-28 09:08:00'::timestamp) - extract(epoch from '2026-05-28 09:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576928 -3.375763)'), GeomFromEWKT('SRID=4674;POINT (-38.576922 -3.375606)'))) / (select extract(epoch from '2026-05-28 09:08:00'::timestamp) - extract(epoch from '2026-05-28 09:07:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576927 -3.375494)', '2026-05-28 09:08:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576922 -3.375606)'), GeomFromEWKT('SRID=4674;POINT (-38.576927 -3.375494)'))) / (select extract(epoch from '2026-05-28 09:08:05'::timestamp) - extract(epoch from '2026-05-28 09:08:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576922 -3.375606)'), GeomFromEWKT('SRID=4674;POINT (-38.576927 -3.375494)'))) / (select extract(epoch from '2026-05-28 09:08:05'::timestamp) - extract(epoch from '2026-05-28 09:08:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576938 -3.375367)', '2026-05-28 09:08:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576927 -3.375494)'), GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.375367)'))) / (select extract(epoch from '2026-05-28 09:08:11'::timestamp) - extract(epoch from '2026-05-28 09:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576927 -3.375494)'), GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.375367)'))) / (select extract(epoch from '2026-05-28 09:08:11'::timestamp) - extract(epoch from '2026-05-28 09:08:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576943 -3.37523)', '2026-05-28 09:08:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.375367)'), GeomFromEWKT('SRID=4674;POINT (-38.576943 -3.37523)'))) / (select extract(epoch from '2026-05-28 09:08:17'::timestamp) - extract(epoch from '2026-05-28 09:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576938 -3.375367)'), GeomFromEWKT('SRID=4674;POINT (-38.576943 -3.37523)'))) / (select extract(epoch from '2026-05-28 09:08:17'::timestamp) - extract(epoch from '2026-05-28 09:08:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576951 -3.375103)', '2026-05-28 09:08:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576943 -3.37523)'), GeomFromEWKT('SRID=4674;POINT (-38.576951 -3.375103)'))) / (select extract(epoch from '2026-05-28 09:08:23'::timestamp) - extract(epoch from '2026-05-28 09:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576943 -3.37523)'), GeomFromEWKT('SRID=4674;POINT (-38.576951 -3.375103)'))) / (select extract(epoch from '2026-05-28 09:08:23'::timestamp) - extract(epoch from '2026-05-28 09:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576961 -3.374948)', '2026-05-28 09:08:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576951 -3.375103)'), GeomFromEWKT('SRID=4674;POINT (-38.576961 -3.374948)'))) / (select extract(epoch from '2026-05-28 09:08:30'::timestamp) - extract(epoch from '2026-05-28 09:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576951 -3.375103)'), GeomFromEWKT('SRID=4674;POINT (-38.576961 -3.374948)'))) / (select extract(epoch from '2026-05-28 09:08:30'::timestamp) - extract(epoch from '2026-05-28 09:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576979 -3.374818)', '2026-05-28 09:08:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576961 -3.374948)'), GeomFromEWKT('SRID=4674;POINT (-38.576979 -3.374818)'))) / (select extract(epoch from '2026-05-28 09:08:36'::timestamp) - extract(epoch from '2026-05-28 09:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576961 -3.374948)'), GeomFromEWKT('SRID=4674;POINT (-38.576979 -3.374818)'))) / (select extract(epoch from '2026-05-28 09:08:36'::timestamp) - extract(epoch from '2026-05-28 09:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576996 -3.374664)', '2026-05-28 09:08:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576979 -3.374818)'), GeomFromEWKT('SRID=4674;POINT (-38.576996 -3.374664)'))) / (select extract(epoch from '2026-05-28 09:08:43'::timestamp) - extract(epoch from '2026-05-28 09:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576979 -3.374818)'), GeomFromEWKT('SRID=4674;POINT (-38.576996 -3.374664)'))) / (select extract(epoch from '2026-05-28 09:08:43'::timestamp) - extract(epoch from '2026-05-28 09:08:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577017 -3.374493)', '2026-05-28 09:08:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576996 -3.374664)'), GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.374493)'))) / (select extract(epoch from '2026-05-28 09:08:51'::timestamp) - extract(epoch from '2026-05-28 09:08:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576996 -3.374664)'), GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.374493)'))) / (select extract(epoch from '2026-05-28 09:08:51'::timestamp) - extract(epoch from '2026-05-28 09:08:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577032 -3.374356)', '2026-05-28 09:08:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.374493)'), GeomFromEWKT('SRID=4674;POINT (-38.577032 -3.374356)'))) / (select extract(epoch from '2026-05-28 09:08:57'::timestamp) - extract(epoch from '2026-05-28 09:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577017 -3.374493)'), GeomFromEWKT('SRID=4674;POINT (-38.577032 -3.374356)'))) / (select extract(epoch from '2026-05-28 09:08:57'::timestamp) - extract(epoch from '2026-05-28 09:08:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577044 -3.374219)', '2026-05-28 09:09:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577032 -3.374356)'), GeomFromEWKT('SRID=4674;POINT (-38.577044 -3.374219)'))) / (select extract(epoch from '2026-05-28 09:09:03'::timestamp) - extract(epoch from '2026-05-28 09:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577032 -3.374356)'), GeomFromEWKT('SRID=4674;POINT (-38.577044 -3.374219)'))) / (select extract(epoch from '2026-05-28 09:09:03'::timestamp) - extract(epoch from '2026-05-28 09:08:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577065 -3.374083)', '2026-05-28 09:09:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577044 -3.374219)'), GeomFromEWKT('SRID=4674;POINT (-38.577065 -3.374083)'))) / (select extract(epoch from '2026-05-28 09:09:09'::timestamp) - extract(epoch from '2026-05-28 09:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577044 -3.374219)'), GeomFromEWKT('SRID=4674;POINT (-38.577065 -3.374083)'))) / (select extract(epoch from '2026-05-28 09:09:09'::timestamp) - extract(epoch from '2026-05-28 09:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577094 -3.373921)', '2026-05-28 09:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577065 -3.374083)'), GeomFromEWKT('SRID=4674;POINT (-38.577094 -3.373921)'))) / (select extract(epoch from '2026-05-28 09:09:16'::timestamp) - extract(epoch from '2026-05-28 09:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577065 -3.374083)'), GeomFromEWKT('SRID=4674;POINT (-38.577094 -3.373921)'))) / (select extract(epoch from '2026-05-28 09:09:16'::timestamp) - extract(epoch from '2026-05-28 09:09:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577127 -3.373772)', '2026-05-28 09:09:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577094 -3.373921)'), GeomFromEWKT('SRID=4674;POINT (-38.577127 -3.373772)'))) / (select extract(epoch from '2026-05-28 09:09:23'::timestamp) - extract(epoch from '2026-05-28 09:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577094 -3.373921)'), GeomFromEWKT('SRID=4674;POINT (-38.577127 -3.373772)'))) / (select extract(epoch from '2026-05-28 09:09:23'::timestamp) - extract(epoch from '2026-05-28 09:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577161 -3.373638)', '2026-05-28 09:09:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577127 -3.373772)'), GeomFromEWKT('SRID=4674;POINT (-38.577161 -3.373638)'))) / (select extract(epoch from '2026-05-28 09:09:29'::timestamp) - extract(epoch from '2026-05-28 09:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577127 -3.373772)'), GeomFromEWKT('SRID=4674;POINT (-38.577161 -3.373638)'))) / (select extract(epoch from '2026-05-28 09:09:29'::timestamp) - extract(epoch from '2026-05-28 09:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577193 -3.373474)', '2026-05-28 09:09:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577161 -3.373638)'), GeomFromEWKT('SRID=4674;POINT (-38.577193 -3.373474)'))) / (select extract(epoch from '2026-05-28 09:09:36'::timestamp) - extract(epoch from '2026-05-28 09:09:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577161 -3.373638)'), GeomFromEWKT('SRID=4674;POINT (-38.577193 -3.373474)'))) / (select extract(epoch from '2026-05-28 09:09:36'::timestamp) - extract(epoch from '2026-05-28 09:09:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577201 -3.373348)', '2026-05-28 09:09:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577193 -3.373474)'), GeomFromEWKT('SRID=4674;POINT (-38.577201 -3.373348)'))) / (select extract(epoch from '2026-05-28 09:09:42'::timestamp) - extract(epoch from '2026-05-28 09:09:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577193 -3.373474)'), GeomFromEWKT('SRID=4674;POINT (-38.577201 -3.373348)'))) / (select extract(epoch from '2026-05-28 09:09:42'::timestamp) - extract(epoch from '2026-05-28 09:09:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577198 -3.37322)', '2026-05-28 09:09:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577201 -3.373348)'), GeomFromEWKT('SRID=4674;POINT (-38.577198 -3.37322)'))) / (select extract(epoch from '2026-05-28 09:09:48'::timestamp) - extract(epoch from '2026-05-28 09:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577201 -3.373348)'), GeomFromEWKT('SRID=4674;POINT (-38.577198 -3.37322)'))) / (select extract(epoch from '2026-05-28 09:09:48'::timestamp) - extract(epoch from '2026-05-28 09:09:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577209 -3.37312)', '2026-05-28 09:09:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577198 -3.37322)'), GeomFromEWKT('SRID=4674;POINT (-38.577209 -3.37312)'))) / (select extract(epoch from '2026-05-28 09:09:53'::timestamp) - extract(epoch from '2026-05-28 09:09:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577198 -3.37322)'), GeomFromEWKT('SRID=4674;POINT (-38.577209 -3.37312)'))) / (select extract(epoch from '2026-05-28 09:09:53'::timestamp) - extract(epoch from '2026-05-28 09:09:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577225 -3.373014)', '2026-05-28 09:09:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577209 -3.37312)'), GeomFromEWKT('SRID=4674;POINT (-38.577225 -3.373014)'))) / (select extract(epoch from '2026-05-28 09:09:58'::timestamp) - extract(epoch from '2026-05-28 09:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577209 -3.37312)'), GeomFromEWKT('SRID=4674;POINT (-38.577225 -3.373014)'))) / (select extract(epoch from '2026-05-28 09:09:58'::timestamp) - extract(epoch from '2026-05-28 09:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577238 -3.372897)', '2026-05-28 09:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577225 -3.373014)'), GeomFromEWKT('SRID=4674;POINT (-38.577238 -3.372897)'))) / (select extract(epoch from '2026-05-28 09:10:04'::timestamp) - extract(epoch from '2026-05-28 09:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577225 -3.373014)'), GeomFromEWKT('SRID=4674;POINT (-38.577238 -3.372897)'))) / (select extract(epoch from '2026-05-28 09:10:04'::timestamp) - extract(epoch from '2026-05-28 09:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577248 -3.372792)', '2026-05-28 09:10:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577238 -3.372897)'), GeomFromEWKT('SRID=4674;POINT (-38.577248 -3.372792)'))) / (select extract(epoch from '2026-05-28 09:10:09'::timestamp) - extract(epoch from '2026-05-28 09:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577238 -3.372897)'), GeomFromEWKT('SRID=4674;POINT (-38.577248 -3.372792)'))) / (select extract(epoch from '2026-05-28 09:10:09'::timestamp) - extract(epoch from '2026-05-28 09:10:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577254 -3.372656)', '2026-05-28 09:10:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577248 -3.372792)'), GeomFromEWKT('SRID=4674;POINT (-38.577254 -3.372656)'))) / (select extract(epoch from '2026-05-28 09:10:15'::timestamp) - extract(epoch from '2026-05-28 09:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577248 -3.372792)'), GeomFromEWKT('SRID=4674;POINT (-38.577254 -3.372656)'))) / (select extract(epoch from '2026-05-28 09:10:15'::timestamp) - extract(epoch from '2026-05-28 09:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577257 -3.372515)', '2026-05-28 09:10:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577254 -3.372656)'), GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.372515)'))) / (select extract(epoch from '2026-05-28 09:10:21'::timestamp) - extract(epoch from '2026-05-28 09:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577254 -3.372656)'), GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.372515)'))) / (select extract(epoch from '2026-05-28 09:10:21'::timestamp) - extract(epoch from '2026-05-28 09:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577258 -3.372411)', '2026-05-28 09:10:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.372515)'), GeomFromEWKT('SRID=4674;POINT (-38.577258 -3.372411)'))) / (select extract(epoch from '2026-05-28 09:10:25'::timestamp) - extract(epoch from '2026-05-28 09:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.372515)'), GeomFromEWKT('SRID=4674;POINT (-38.577258 -3.372411)'))) / (select extract(epoch from '2026-05-28 09:10:25'::timestamp) - extract(epoch from '2026-05-28 09:10:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577257 -3.372301)', '2026-05-28 09:10:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577258 -3.372411)'), GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.372301)'))) / (select extract(epoch from '2026-05-28 09:10:30'::timestamp) - extract(epoch from '2026-05-28 09:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577258 -3.372411)'), GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.372301)'))) / (select extract(epoch from '2026-05-28 09:10:30'::timestamp) - extract(epoch from '2026-05-28 09:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577252 -3.372172)', '2026-05-28 09:10:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.372301)'), GeomFromEWKT('SRID=4674;POINT (-38.577252 -3.372172)'))) / (select extract(epoch from '2026-05-28 09:10:36'::timestamp) - extract(epoch from '2026-05-28 09:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.372301)'), GeomFromEWKT('SRID=4674;POINT (-38.577252 -3.372172)'))) / (select extract(epoch from '2026-05-28 09:10:36'::timestamp) - extract(epoch from '2026-05-28 09:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577248 -3.372003)', '2026-05-28 09:10:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577252 -3.372172)'), GeomFromEWKT('SRID=4674;POINT (-38.577248 -3.372003)'))) / (select extract(epoch from '2026-05-28 09:10:44'::timestamp) - extract(epoch from '2026-05-28 09:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577252 -3.372172)'), GeomFromEWKT('SRID=4674;POINT (-38.577248 -3.372003)'))) / (select extract(epoch from '2026-05-28 09:10:44'::timestamp) - extract(epoch from '2026-05-28 09:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577253 -3.37189)', '2026-05-28 09:10:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577248 -3.372003)'), GeomFromEWKT('SRID=4674;POINT (-38.577253 -3.37189)'))) / (select extract(epoch from '2026-05-28 09:10:49'::timestamp) - extract(epoch from '2026-05-28 09:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577248 -3.372003)'), GeomFromEWKT('SRID=4674;POINT (-38.577253 -3.37189)'))) / (select extract(epoch from '2026-05-28 09:10:49'::timestamp) - extract(epoch from '2026-05-28 09:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577254 -3.3718)', '2026-05-28 09:10:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577253 -3.37189)'), GeomFromEWKT('SRID=4674;POINT (-38.577254 -3.3718)'))) / (select extract(epoch from '2026-05-28 09:10:53'::timestamp) - extract(epoch from '2026-05-28 09:10:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577253 -3.37189)'), GeomFromEWKT('SRID=4674;POINT (-38.577254 -3.3718)'))) / (select extract(epoch from '2026-05-28 09:10:53'::timestamp) - extract(epoch from '2026-05-28 09:10:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577247 -3.371691)', '2026-05-28 09:10:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577254 -3.3718)'), GeomFromEWKT('SRID=4674;POINT (-38.577247 -3.371691)'))) / (select extract(epoch from '2026-05-28 09:10:58'::timestamp) - extract(epoch from '2026-05-28 09:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577254 -3.3718)'), GeomFromEWKT('SRID=4674;POINT (-38.577247 -3.371691)'))) / (select extract(epoch from '2026-05-28 09:10:58'::timestamp) - extract(epoch from '2026-05-28 09:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577236 -3.371563)', '2026-05-28 09:11:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577247 -3.371691)'), GeomFromEWKT('SRID=4674;POINT (-38.577236 -3.371563)'))) / (select extract(epoch from '2026-05-28 09:11:04'::timestamp) - extract(epoch from '2026-05-28 09:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577247 -3.371691)'), GeomFromEWKT('SRID=4674;POINT (-38.577236 -3.371563)'))) / (select extract(epoch from '2026-05-28 09:11:04'::timestamp) - extract(epoch from '2026-05-28 09:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577238 -3.371447)', '2026-05-28 09:11:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577236 -3.371563)'), GeomFromEWKT('SRID=4674;POINT (-38.577238 -3.371447)'))) / (select extract(epoch from '2026-05-28 09:11:10'::timestamp) - extract(epoch from '2026-05-28 09:11:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577236 -3.371563)'), GeomFromEWKT('SRID=4674;POINT (-38.577238 -3.371447)'))) / (select extract(epoch from '2026-05-28 09:11:10'::timestamp) - extract(epoch from '2026-05-28 09:11:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577242 -3.371347)', '2026-05-28 09:11:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577238 -3.371447)'), GeomFromEWKT('SRID=4674;POINT (-38.577242 -3.371347)'))) / (select extract(epoch from '2026-05-28 09:11:15'::timestamp) - extract(epoch from '2026-05-28 09:11:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577238 -3.371447)'), GeomFromEWKT('SRID=4674;POINT (-38.577242 -3.371347)'))) / (select extract(epoch from '2026-05-28 09:11:15'::timestamp) - extract(epoch from '2026-05-28 09:11:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577243 -3.371224)', '2026-05-28 09:11:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577242 -3.371347)'), GeomFromEWKT('SRID=4674;POINT (-38.577243 -3.371224)'))) / (select extract(epoch from '2026-05-28 09:11:21'::timestamp) - extract(epoch from '2026-05-28 09:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577242 -3.371347)'), GeomFromEWKT('SRID=4674;POINT (-38.577243 -3.371224)'))) / (select extract(epoch from '2026-05-28 09:11:21'::timestamp) - extract(epoch from '2026-05-28 09:11:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577257 -3.371117)', '2026-05-28 09:11:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577243 -3.371224)'), GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.371117)'))) / (select extract(epoch from '2026-05-28 09:11:26'::timestamp) - extract(epoch from '2026-05-28 09:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577243 -3.371224)'), GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.371117)'))) / (select extract(epoch from '2026-05-28 09:11:26'::timestamp) - extract(epoch from '2026-05-28 09:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577263 -3.37101)', '2026-05-28 09:11:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.371117)'), GeomFromEWKT('SRID=4674;POINT (-38.577263 -3.37101)'))) / (select extract(epoch from '2026-05-28 09:11:31'::timestamp) - extract(epoch from '2026-05-28 09:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577257 -3.371117)'), GeomFromEWKT('SRID=4674;POINT (-38.577263 -3.37101)'))) / (select extract(epoch from '2026-05-28 09:11:31'::timestamp) - extract(epoch from '2026-05-28 09:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577265 -3.370878)', '2026-05-28 09:11:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577263 -3.37101)'), GeomFromEWKT('SRID=4674;POINT (-38.577265 -3.370878)'))) / (select extract(epoch from '2026-05-28 09:11:37'::timestamp) - extract(epoch from '2026-05-28 09:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577263 -3.37101)'), GeomFromEWKT('SRID=4674;POINT (-38.577265 -3.370878)'))) / (select extract(epoch from '2026-05-28 09:11:37'::timestamp) - extract(epoch from '2026-05-28 09:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577268 -3.370746)', '2026-05-28 09:11:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577265 -3.370878)'), GeomFromEWKT('SRID=4674;POINT (-38.577268 -3.370746)'))) / (select extract(epoch from '2026-05-28 09:11:43'::timestamp) - extract(epoch from '2026-05-28 09:11:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577265 -3.370878)'), GeomFromEWKT('SRID=4674;POINT (-38.577268 -3.370746)'))) / (select extract(epoch from '2026-05-28 09:11:43'::timestamp) - extract(epoch from '2026-05-28 09:11:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577266 -3.370642)', '2026-05-28 09:11:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577268 -3.370746)'), GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.370642)'))) / (select extract(epoch from '2026-05-28 09:11:48'::timestamp) - extract(epoch from '2026-05-28 09:11:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577268 -3.370746)'), GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.370642)'))) / (select extract(epoch from '2026-05-28 09:11:48'::timestamp) - extract(epoch from '2026-05-28 09:11:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577273 -3.370511)', '2026-05-28 09:11:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.370642)'), GeomFromEWKT('SRID=4674;POINT (-38.577273 -3.370511)'))) / (select extract(epoch from '2026-05-28 09:11:54'::timestamp) - extract(epoch from '2026-05-28 09:11:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.370642)'), GeomFromEWKT('SRID=4674;POINT (-38.577273 -3.370511)'))) / (select extract(epoch from '2026-05-28 09:11:54'::timestamp) - extract(epoch from '2026-05-28 09:11:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577274 -3.370361)', '2026-05-28 09:12:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577273 -3.370511)'), GeomFromEWKT('SRID=4674;POINT (-38.577274 -3.370361)'))) / (select extract(epoch from '2026-05-28 09:12:01'::timestamp) - extract(epoch from '2026-05-28 09:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577273 -3.370511)'), GeomFromEWKT('SRID=4674;POINT (-38.577274 -3.370361)'))) / (select extract(epoch from '2026-05-28 09:12:01'::timestamp) - extract(epoch from '2026-05-28 09:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577266 -3.370215)', '2026-05-28 09:12:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577274 -3.370361)'), GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.370215)'))) / (select extract(epoch from '2026-05-28 09:12:08'::timestamp) - extract(epoch from '2026-05-28 09:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577274 -3.370361)'), GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.370215)'))) / (select extract(epoch from '2026-05-28 09:12:08'::timestamp) - extract(epoch from '2026-05-28 09:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577264 -3.370108)', '2026-05-28 09:12:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.370215)'), GeomFromEWKT('SRID=4674;POINT (-38.577264 -3.370108)'))) / (select extract(epoch from '2026-05-28 09:12:13'::timestamp) - extract(epoch from '2026-05-28 09:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577266 -3.370215)'), GeomFromEWKT('SRID=4674;POINT (-38.577264 -3.370108)'))) / (select extract(epoch from '2026-05-28 09:12:13'::timestamp) - extract(epoch from '2026-05-28 09:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577271 -3.369989)', '2026-05-28 09:12:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577264 -3.370108)'), GeomFromEWKT('SRID=4674;POINT (-38.577271 -3.369989)'))) / (select extract(epoch from '2026-05-28 09:12:18'::timestamp) - extract(epoch from '2026-05-28 09:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577264 -3.370108)'), GeomFromEWKT('SRID=4674;POINT (-38.577271 -3.369989)'))) / (select extract(epoch from '2026-05-28 09:12:18'::timestamp) - extract(epoch from '2026-05-28 09:12:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577278 -3.369874)', '2026-05-28 09:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577271 -3.369989)'), GeomFromEWKT('SRID=4674;POINT (-38.577278 -3.369874)'))) / (select extract(epoch from '2026-05-28 09:12:23'::timestamp) - extract(epoch from '2026-05-28 09:12:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577271 -3.369989)'), GeomFromEWKT('SRID=4674;POINT (-38.577278 -3.369874)'))) / (select extract(epoch from '2026-05-28 09:12:23'::timestamp) - extract(epoch from '2026-05-28 09:12:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577298 -3.369706)', '2026-05-28 09:12:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577278 -3.369874)'), GeomFromEWKT('SRID=4674;POINT (-38.577298 -3.369706)'))) / (select extract(epoch from '2026-05-28 09:12:31'::timestamp) - extract(epoch from '2026-05-28 09:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577278 -3.369874)'), GeomFromEWKT('SRID=4674;POINT (-38.577298 -3.369706)'))) / (select extract(epoch from '2026-05-28 09:12:31'::timestamp) - extract(epoch from '2026-05-28 09:12:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577317 -3.369594)', '2026-05-28 09:12:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577298 -3.369706)'), GeomFromEWKT('SRID=4674;POINT (-38.577317 -3.369594)'))) / (select extract(epoch from '2026-05-28 09:12:36'::timestamp) - extract(epoch from '2026-05-28 09:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577298 -3.369706)'), GeomFromEWKT('SRID=4674;POINT (-38.577317 -3.369594)'))) / (select extract(epoch from '2026-05-28 09:12:36'::timestamp) - extract(epoch from '2026-05-28 09:12:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577334 -3.369461)', '2026-05-28 09:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577317 -3.369594)'), GeomFromEWKT('SRID=4674;POINT (-38.577334 -3.369461)'))) / (select extract(epoch from '2026-05-28 09:12:42'::timestamp) - extract(epoch from '2026-05-28 09:12:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577317 -3.369594)'), GeomFromEWKT('SRID=4674;POINT (-38.577334 -3.369461)'))) / (select extract(epoch from '2026-05-28 09:12:42'::timestamp) - extract(epoch from '2026-05-28 09:12:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577345 -3.369331)', '2026-05-28 09:12:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577334 -3.369461)'), GeomFromEWKT('SRID=4674;POINT (-38.577345 -3.369331)'))) / (select extract(epoch from '2026-05-28 09:12:48'::timestamp) - extract(epoch from '2026-05-28 09:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577334 -3.369461)'), GeomFromEWKT('SRID=4674;POINT (-38.577345 -3.369331)'))) / (select extract(epoch from '2026-05-28 09:12:48'::timestamp) - extract(epoch from '2026-05-28 09:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57735 -3.369193)', '2026-05-28 09:12:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577345 -3.369331)'), GeomFromEWKT('SRID=4674;POINT (-38.57735 -3.369193)'))) / (select extract(epoch from '2026-05-28 09:12:54'::timestamp) - extract(epoch from '2026-05-28 09:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577345 -3.369331)'), GeomFromEWKT('SRID=4674;POINT (-38.57735 -3.369193)'))) / (select extract(epoch from '2026-05-28 09:12:54'::timestamp) - extract(epoch from '2026-05-28 09:12:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577353 -3.36909)', '2026-05-28 09:12:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57735 -3.369193)'), GeomFromEWKT('SRID=4674;POINT (-38.577353 -3.36909)'))) / (select extract(epoch from '2026-05-28 09:12:58'::timestamp) - extract(epoch from '2026-05-28 09:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57735 -3.369193)'), GeomFromEWKT('SRID=4674;POINT (-38.577353 -3.36909)'))) / (select extract(epoch from '2026-05-28 09:12:58'::timestamp) - extract(epoch from '2026-05-28 09:12:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577369 -3.368985)', '2026-05-28 09:13:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577353 -3.36909)'), GeomFromEWKT('SRID=4674;POINT (-38.577369 -3.368985)'))) / (select extract(epoch from '2026-05-28 09:13:03'::timestamp) - extract(epoch from '2026-05-28 09:12:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577353 -3.36909)'), GeomFromEWKT('SRID=4674;POINT (-38.577369 -3.368985)'))) / (select extract(epoch from '2026-05-28 09:13:03'::timestamp) - extract(epoch from '2026-05-28 09:12:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577378 -3.368852)', '2026-05-28 09:13:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577369 -3.368985)'), GeomFromEWKT('SRID=4674;POINT (-38.577378 -3.368852)'))) / (select extract(epoch from '2026-05-28 09:13:09'::timestamp) - extract(epoch from '2026-05-28 09:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577369 -3.368985)'), GeomFromEWKT('SRID=4674;POINT (-38.577378 -3.368852)'))) / (select extract(epoch from '2026-05-28 09:13:09'::timestamp) - extract(epoch from '2026-05-28 09:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577385 -3.368744)', '2026-05-28 09:13:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577378 -3.368852)'), GeomFromEWKT('SRID=4674;POINT (-38.577385 -3.368744)'))) / (select extract(epoch from '2026-05-28 09:13:14'::timestamp) - extract(epoch from '2026-05-28 09:13:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577378 -3.368852)'), GeomFromEWKT('SRID=4674;POINT (-38.577385 -3.368744)'))) / (select extract(epoch from '2026-05-28 09:13:14'::timestamp) - extract(epoch from '2026-05-28 09:13:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577401 -3.368625)', '2026-05-28 09:13:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577385 -3.368744)'), GeomFromEWKT('SRID=4674;POINT (-38.577401 -3.368625)'))) / (select extract(epoch from '2026-05-28 09:13:19'::timestamp) - extract(epoch from '2026-05-28 09:13:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577385 -3.368744)'), GeomFromEWKT('SRID=4674;POINT (-38.577401 -3.368625)'))) / (select extract(epoch from '2026-05-28 09:13:19'::timestamp) - extract(epoch from '2026-05-28 09:13:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577421 -3.36852)', '2026-05-28 09:13:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577401 -3.368625)'), GeomFromEWKT('SRID=4674;POINT (-38.577421 -3.36852)'))) / (select extract(epoch from '2026-05-28 09:13:24'::timestamp) - extract(epoch from '2026-05-28 09:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577401 -3.368625)'), GeomFromEWKT('SRID=4674;POINT (-38.577421 -3.36852)'))) / (select extract(epoch from '2026-05-28 09:13:24'::timestamp) - extract(epoch from '2026-05-28 09:13:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577448 -3.368397)', '2026-05-28 09:13:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577421 -3.36852)'), GeomFromEWKT('SRID=4674;POINT (-38.577448 -3.368397)'))) / (select extract(epoch from '2026-05-28 09:13:30'::timestamp) - extract(epoch from '2026-05-28 09:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577421 -3.36852)'), GeomFromEWKT('SRID=4674;POINT (-38.577448 -3.368397)'))) / (select extract(epoch from '2026-05-28 09:13:30'::timestamp) - extract(epoch from '2026-05-28 09:13:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577472 -3.368259)', '2026-05-28 09:13:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577448 -3.368397)'), GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.368259)'))) / (select extract(epoch from '2026-05-28 09:13:36'::timestamp) - extract(epoch from '2026-05-28 09:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577448 -3.368397)'), GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.368259)'))) / (select extract(epoch from '2026-05-28 09:13:36'::timestamp) - extract(epoch from '2026-05-28 09:13:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577495 -3.368128)', '2026-05-28 09:13:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.368259)'), GeomFromEWKT('SRID=4674;POINT (-38.577495 -3.368128)'))) / (select extract(epoch from '2026-05-28 09:13:42'::timestamp) - extract(epoch from '2026-05-28 09:13:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577472 -3.368259)'), GeomFromEWKT('SRID=4674;POINT (-38.577495 -3.368128)'))) / (select extract(epoch from '2026-05-28 09:13:42'::timestamp) - extract(epoch from '2026-05-28 09:13:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577496 -3.368025)', '2026-05-28 09:13:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577495 -3.368128)'), GeomFromEWKT('SRID=4674;POINT (-38.577496 -3.368025)'))) / (select extract(epoch from '2026-05-28 09:13:47'::timestamp) - extract(epoch from '2026-05-28 09:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577495 -3.368128)'), GeomFromEWKT('SRID=4674;POINT (-38.577496 -3.368025)'))) / (select extract(epoch from '2026-05-28 09:13:47'::timestamp) - extract(epoch from '2026-05-28 09:13:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577508 -3.36788)', '2026-05-28 09:13:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577496 -3.368025)'), GeomFromEWKT('SRID=4674;POINT (-38.577508 -3.36788)'))) / (select extract(epoch from '2026-05-28 09:13:54'::timestamp) - extract(epoch from '2026-05-28 09:13:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577496 -3.368025)'), GeomFromEWKT('SRID=4674;POINT (-38.577508 -3.36788)'))) / (select extract(epoch from '2026-05-28 09:13:54'::timestamp) - extract(epoch from '2026-05-28 09:13:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577528 -3.367745)', '2026-05-28 09:14:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577508 -3.36788)'), GeomFromEWKT('SRID=4674;POINT (-38.577528 -3.367745)'))) / (select extract(epoch from '2026-05-28 09:14:00'::timestamp) - extract(epoch from '2026-05-28 09:13:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577508 -3.36788)'), GeomFromEWKT('SRID=4674;POINT (-38.577528 -3.367745)'))) / (select extract(epoch from '2026-05-28 09:14:00'::timestamp) - extract(epoch from '2026-05-28 09:13:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577563 -3.367585)', '2026-05-28 09:14:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577528 -3.367745)'), GeomFromEWKT('SRID=4674;POINT (-38.577563 -3.367585)'))) / (select extract(epoch from '2026-05-28 09:14:07'::timestamp) - extract(epoch from '2026-05-28 09:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577528 -3.367745)'), GeomFromEWKT('SRID=4674;POINT (-38.577563 -3.367585)'))) / (select extract(epoch from '2026-05-28 09:14:07'::timestamp) - extract(epoch from '2026-05-28 09:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577582 -3.367455)', '2026-05-28 09:14:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577563 -3.367585)'), GeomFromEWKT('SRID=4674;POINT (-38.577582 -3.367455)'))) / (select extract(epoch from '2026-05-28 09:14:13'::timestamp) - extract(epoch from '2026-05-28 09:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577563 -3.367585)'), GeomFromEWKT('SRID=4674;POINT (-38.577582 -3.367455)'))) / (select extract(epoch from '2026-05-28 09:14:13'::timestamp) - extract(epoch from '2026-05-28 09:14:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577596 -3.367327)', '2026-05-28 09:14:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577582 -3.367455)'), GeomFromEWKT('SRID=4674;POINT (-38.577596 -3.367327)'))) / (select extract(epoch from '2026-05-28 09:14:19'::timestamp) - extract(epoch from '2026-05-28 09:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577582 -3.367455)'), GeomFromEWKT('SRID=4674;POINT (-38.577596 -3.367327)'))) / (select extract(epoch from '2026-05-28 09:14:19'::timestamp) - extract(epoch from '2026-05-28 09:14:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577604 -3.367208)', '2026-05-28 09:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577596 -3.367327)'), GeomFromEWKT('SRID=4674;POINT (-38.577604 -3.367208)'))) / (select extract(epoch from '2026-05-28 09:14:25'::timestamp) - extract(epoch from '2026-05-28 09:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577596 -3.367327)'), GeomFromEWKT('SRID=4674;POINT (-38.577604 -3.367208)'))) / (select extract(epoch from '2026-05-28 09:14:25'::timestamp) - extract(epoch from '2026-05-28 09:14:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577624 -3.3671)', '2026-05-28 09:14:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577604 -3.367208)'), GeomFromEWKT('SRID=4674;POINT (-38.577624 -3.3671)'))) / (select extract(epoch from '2026-05-28 09:14:30'::timestamp) - extract(epoch from '2026-05-28 09:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577604 -3.367208)'), GeomFromEWKT('SRID=4674;POINT (-38.577624 -3.3671)'))) / (select extract(epoch from '2026-05-28 09:14:30'::timestamp) - extract(epoch from '2026-05-28 09:14:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577632 -3.367006)', '2026-05-28 09:14:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577624 -3.3671)'), GeomFromEWKT('SRID=4674;POINT (-38.577632 -3.367006)'))) / (select extract(epoch from '2026-05-28 09:14:34'::timestamp) - extract(epoch from '2026-05-28 09:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577624 -3.3671)'), GeomFromEWKT('SRID=4674;POINT (-38.577632 -3.367006)'))) / (select extract(epoch from '2026-05-28 09:14:34'::timestamp) - extract(epoch from '2026-05-28 09:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577651 -3.366877)', '2026-05-28 09:14:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577632 -3.367006)'), GeomFromEWKT('SRID=4674;POINT (-38.577651 -3.366877)'))) / (select extract(epoch from '2026-05-28 09:14:40'::timestamp) - extract(epoch from '2026-05-28 09:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577632 -3.367006)'), GeomFromEWKT('SRID=4674;POINT (-38.577651 -3.366877)'))) / (select extract(epoch from '2026-05-28 09:14:40'::timestamp) - extract(epoch from '2026-05-28 09:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577672 -3.366735)', '2026-05-28 09:14:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577651 -3.366877)'), GeomFromEWKT('SRID=4674;POINT (-38.577672 -3.366735)'))) / (select extract(epoch from '2026-05-28 09:14:46'::timestamp) - extract(epoch from '2026-05-28 09:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577651 -3.366877)'), GeomFromEWKT('SRID=4674;POINT (-38.577672 -3.366735)'))) / (select extract(epoch from '2026-05-28 09:14:46'::timestamp) - extract(epoch from '2026-05-28 09:14:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577689 -3.366621)', '2026-05-28 09:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577672 -3.366735)'), GeomFromEWKT('SRID=4674;POINT (-38.577689 -3.366621)'))) / (select extract(epoch from '2026-05-28 09:14:51'::timestamp) - extract(epoch from '2026-05-28 09:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577672 -3.366735)'), GeomFromEWKT('SRID=4674;POINT (-38.577689 -3.366621)'))) / (select extract(epoch from '2026-05-28 09:14:51'::timestamp) - extract(epoch from '2026-05-28 09:14:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577696 -3.366512)', '2026-05-28 09:14:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577689 -3.366621)'), GeomFromEWKT('SRID=4674;POINT (-38.577696 -3.366512)'))) / (select extract(epoch from '2026-05-28 09:14:56'::timestamp) - extract(epoch from '2026-05-28 09:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577689 -3.366621)'), GeomFromEWKT('SRID=4674;POINT (-38.577696 -3.366512)'))) / (select extract(epoch from '2026-05-28 09:14:56'::timestamp) - extract(epoch from '2026-05-28 09:14:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577694 -3.366387)', '2026-05-28 09:15:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577696 -3.366512)'), GeomFromEWKT('SRID=4674;POINT (-38.577694 -3.366387)'))) / (select extract(epoch from '2026-05-28 09:15:02'::timestamp) - extract(epoch from '2026-05-28 09:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577696 -3.366512)'), GeomFromEWKT('SRID=4674;POINT (-38.577694 -3.366387)'))) / (select extract(epoch from '2026-05-28 09:15:02'::timestamp) - extract(epoch from '2026-05-28 09:14:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577702 -3.366235)', '2026-05-28 09:15:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577694 -3.366387)'), GeomFromEWKT('SRID=4674;POINT (-38.577702 -3.366235)'))) / (select extract(epoch from '2026-05-28 09:15:09'::timestamp) - extract(epoch from '2026-05-28 09:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577694 -3.366387)'), GeomFromEWKT('SRID=4674;POINT (-38.577702 -3.366235)'))) / (select extract(epoch from '2026-05-28 09:15:09'::timestamp) - extract(epoch from '2026-05-28 09:15:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577743 -3.366087)', '2026-05-28 09:15:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577702 -3.366235)'), GeomFromEWKT('SRID=4674;POINT (-38.577743 -3.366087)'))) / (select extract(epoch from '2026-05-28 09:15:16'::timestamp) - extract(epoch from '2026-05-28 09:15:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577702 -3.366235)'), GeomFromEWKT('SRID=4674;POINT (-38.577743 -3.366087)'))) / (select extract(epoch from '2026-05-28 09:15:16'::timestamp) - extract(epoch from '2026-05-28 09:15:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577791 -3.365958)', '2026-05-28 09:15:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577743 -3.366087)'), GeomFromEWKT('SRID=4674;POINT (-38.577791 -3.365958)'))) / (select extract(epoch from '2026-05-28 09:15:22'::timestamp) - extract(epoch from '2026-05-28 09:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577743 -3.366087)'), GeomFromEWKT('SRID=4674;POINT (-38.577791 -3.365958)'))) / (select extract(epoch from '2026-05-28 09:15:22'::timestamp) - extract(epoch from '2026-05-28 09:15:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577827 -3.365872)', '2026-05-28 09:15:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577791 -3.365958)'), GeomFromEWKT('SRID=4674;POINT (-38.577827 -3.365872)'))) / (select extract(epoch from '2026-05-28 09:15:27'::timestamp) - extract(epoch from '2026-05-28 09:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577791 -3.365958)'), GeomFromEWKT('SRID=4674;POINT (-38.577827 -3.365872)'))) / (select extract(epoch from '2026-05-28 09:15:27'::timestamp) - extract(epoch from '2026-05-28 09:15:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57788 -3.365739)', '2026-05-28 09:15:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577827 -3.365872)'), GeomFromEWKT('SRID=4674;POINT (-38.57788 -3.365739)'))) / (select extract(epoch from '2026-05-28 09:15:34'::timestamp) - extract(epoch from '2026-05-28 09:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577827 -3.365872)'), GeomFromEWKT('SRID=4674;POINT (-38.57788 -3.365739)'))) / (select extract(epoch from '2026-05-28 09:15:34'::timestamp) - extract(epoch from '2026-05-28 09:15:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577911 -3.365635)', '2026-05-28 09:15:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57788 -3.365739)'), GeomFromEWKT('SRID=4674;POINT (-38.577911 -3.365635)'))) / (select extract(epoch from '2026-05-28 09:15:39'::timestamp) - extract(epoch from '2026-05-28 09:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57788 -3.365739)'), GeomFromEWKT('SRID=4674;POINT (-38.577911 -3.365635)'))) / (select extract(epoch from '2026-05-28 09:15:39'::timestamp) - extract(epoch from '2026-05-28 09:15:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577939 -3.365503)', '2026-05-28 09:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577911 -3.365635)'), GeomFromEWKT('SRID=4674;POINT (-38.577939 -3.365503)'))) / (select extract(epoch from '2026-05-28 09:15:45'::timestamp) - extract(epoch from '2026-05-28 09:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577911 -3.365635)'), GeomFromEWKT('SRID=4674;POINT (-38.577939 -3.365503)'))) / (select extract(epoch from '2026-05-28 09:15:45'::timestamp) - extract(epoch from '2026-05-28 09:15:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577968 -3.365368)', '2026-05-28 09:15:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577939 -3.365503)'), GeomFromEWKT('SRID=4674;POINT (-38.577968 -3.365368)'))) / (select extract(epoch from '2026-05-28 09:15:51'::timestamp) - extract(epoch from '2026-05-28 09:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577939 -3.365503)'), GeomFromEWKT('SRID=4674;POINT (-38.577968 -3.365368)'))) / (select extract(epoch from '2026-05-28 09:15:51'::timestamp) - extract(epoch from '2026-05-28 09:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577992 -3.365256)', '2026-05-28 09:15:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577968 -3.365368)'), GeomFromEWKT('SRID=4674;POINT (-38.577992 -3.365256)'))) / (select extract(epoch from '2026-05-28 09:15:56'::timestamp) - extract(epoch from '2026-05-28 09:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577968 -3.365368)'), GeomFromEWKT('SRID=4674;POINT (-38.577992 -3.365256)'))) / (select extract(epoch from '2026-05-28 09:15:56'::timestamp) - extract(epoch from '2026-05-28 09:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578007 -3.365147)', '2026-05-28 09:16:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577992 -3.365256)'), GeomFromEWKT('SRID=4674;POINT (-38.578007 -3.365147)'))) / (select extract(epoch from '2026-05-28 09:16:01'::timestamp) - extract(epoch from '2026-05-28 09:15:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577992 -3.365256)'), GeomFromEWKT('SRID=4674;POINT (-38.578007 -3.365147)'))) / (select extract(epoch from '2026-05-28 09:16:01'::timestamp) - extract(epoch from '2026-05-28 09:15:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578022 -3.365013)', '2026-05-28 09:16:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578007 -3.365147)'), GeomFromEWKT('SRID=4674;POINT (-38.578022 -3.365013)'))) / (select extract(epoch from '2026-05-28 09:16:07'::timestamp) - extract(epoch from '2026-05-28 09:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578007 -3.365147)'), GeomFromEWKT('SRID=4674;POINT (-38.578022 -3.365013)'))) / (select extract(epoch from '2026-05-28 09:16:07'::timestamp) - extract(epoch from '2026-05-28 09:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578039 -3.364888)', '2026-05-28 09:16:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578022 -3.365013)'), GeomFromEWKT('SRID=4674;POINT (-38.578039 -3.364888)'))) / (select extract(epoch from '2026-05-28 09:16:13'::timestamp) - extract(epoch from '2026-05-28 09:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578022 -3.365013)'), GeomFromEWKT('SRID=4674;POINT (-38.578039 -3.364888)'))) / (select extract(epoch from '2026-05-28 09:16:13'::timestamp) - extract(epoch from '2026-05-28 09:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578054 -3.364779)', '2026-05-28 09:16:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578039 -3.364888)'), GeomFromEWKT('SRID=4674;POINT (-38.578054 -3.364779)'))) / (select extract(epoch from '2026-05-28 09:16:18'::timestamp) - extract(epoch from '2026-05-28 09:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578039 -3.364888)'), GeomFromEWKT('SRID=4674;POINT (-38.578054 -3.364779)'))) / (select extract(epoch from '2026-05-28 09:16:18'::timestamp) - extract(epoch from '2026-05-28 09:16:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578073 -3.364643)', '2026-05-28 09:16:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578054 -3.364779)'), GeomFromEWKT('SRID=4674;POINT (-38.578073 -3.364643)'))) / (select extract(epoch from '2026-05-28 09:16:25'::timestamp) - extract(epoch from '2026-05-28 09:16:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578054 -3.364779)'), GeomFromEWKT('SRID=4674;POINT (-38.578073 -3.364643)'))) / (select extract(epoch from '2026-05-28 09:16:25'::timestamp) - extract(epoch from '2026-05-28 09:16:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578084 -3.364527)', '2026-05-28 09:16:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578073 -3.364643)'), GeomFromEWKT('SRID=4674;POINT (-38.578084 -3.364527)'))) / (select extract(epoch from '2026-05-28 09:16:31'::timestamp) - extract(epoch from '2026-05-28 09:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578073 -3.364643)'), GeomFromEWKT('SRID=4674;POINT (-38.578084 -3.364527)'))) / (select extract(epoch from '2026-05-28 09:16:31'::timestamp) - extract(epoch from '2026-05-28 09:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578086 -3.36449)', '2026-05-28 09:16:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578084 -3.364527)'), GeomFromEWKT('SRID=4674;POINT (-38.578086 -3.36449)'))) / (select extract(epoch from '2026-05-28 09:16:33'::timestamp) - extract(epoch from '2026-05-28 09:16:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578084 -3.364527)'), GeomFromEWKT('SRID=4674;POINT (-38.578086 -3.36449)'))) / (select extract(epoch from '2026-05-28 09:16:33'::timestamp) - extract(epoch from '2026-05-28 09:16:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578105 -3.364446)', '2026-05-28 09:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578086 -3.36449)'), GeomFromEWKT('SRID=4674;POINT (-38.578105 -3.364446)'))) / (select extract(epoch from '2026-05-28 09:16:35'::timestamp) - extract(epoch from '2026-05-28 09:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578086 -3.36449)'), GeomFromEWKT('SRID=4674;POINT (-38.578105 -3.364446)'))) / (select extract(epoch from '2026-05-28 09:16:35'::timestamp) - extract(epoch from '2026-05-28 09:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578114 -3.364373)', '2026-05-28 09:16:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578105 -3.364446)'), GeomFromEWKT('SRID=4674;POINT (-38.578114 -3.364373)'))) / (select extract(epoch from '2026-05-28 09:16:39'::timestamp) - extract(epoch from '2026-05-28 09:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578105 -3.364446)'), GeomFromEWKT('SRID=4674;POINT (-38.578114 -3.364373)'))) / (select extract(epoch from '2026-05-28 09:16:39'::timestamp) - extract(epoch from '2026-05-28 09:16:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57814 -3.364273)', '2026-05-28 09:16:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578114 -3.364373)'), GeomFromEWKT('SRID=4674;POINT (-38.57814 -3.364273)'))) / (select extract(epoch from '2026-05-28 09:16:44'::timestamp) - extract(epoch from '2026-05-28 09:16:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578114 -3.364373)'), GeomFromEWKT('SRID=4674;POINT (-38.57814 -3.364273)'))) / (select extract(epoch from '2026-05-28 09:16:44'::timestamp) - extract(epoch from '2026-05-28 09:16:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578161 -3.364146)', '2026-05-28 09:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57814 -3.364273)'), GeomFromEWKT('SRID=4674;POINT (-38.578161 -3.364146)'))) / (select extract(epoch from '2026-05-28 09:16:50'::timestamp) - extract(epoch from '2026-05-28 09:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57814 -3.364273)'), GeomFromEWKT('SRID=4674;POINT (-38.578161 -3.364146)'))) / (select extract(epoch from '2026-05-28 09:16:50'::timestamp) - extract(epoch from '2026-05-28 09:16:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578173 -3.364038)', '2026-05-28 09:16:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578161 -3.364146)'), GeomFromEWKT('SRID=4674;POINT (-38.578173 -3.364038)'))) / (select extract(epoch from '2026-05-28 09:16:55'::timestamp) - extract(epoch from '2026-05-28 09:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578161 -3.364146)'), GeomFromEWKT('SRID=4674;POINT (-38.578173 -3.364038)'))) / (select extract(epoch from '2026-05-28 09:16:55'::timestamp) - extract(epoch from '2026-05-28 09:16:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578178 -3.363933)', '2026-05-28 09:16:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578173 -3.364038)'), GeomFromEWKT('SRID=4674;POINT (-38.578178 -3.363933)'))) / (select extract(epoch from '2026-05-28 09:16:59'::timestamp) - extract(epoch from '2026-05-28 09:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578173 -3.364038)'), GeomFromEWKT('SRID=4674;POINT (-38.578178 -3.363933)'))) / (select extract(epoch from '2026-05-28 09:16:59'::timestamp) - extract(epoch from '2026-05-28 09:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578203 -3.363811)', '2026-05-28 09:17:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578178 -3.363933)'), GeomFromEWKT('SRID=4674;POINT (-38.578203 -3.363811)'))) / (select extract(epoch from '2026-05-28 09:17:04'::timestamp) - extract(epoch from '2026-05-28 09:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578178 -3.363933)'), GeomFromEWKT('SRID=4674;POINT (-38.578203 -3.363811)'))) / (select extract(epoch from '2026-05-28 09:17:04'::timestamp) - extract(epoch from '2026-05-28 09:16:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578235 -3.363661)', '2026-05-28 09:17:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578203 -3.363811)'), GeomFromEWKT('SRID=4674;POINT (-38.578235 -3.363661)'))) / (select extract(epoch from '2026-05-28 09:17:11'::timestamp) - extract(epoch from '2026-05-28 09:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578203 -3.363811)'), GeomFromEWKT('SRID=4674;POINT (-38.578235 -3.363661)'))) / (select extract(epoch from '2026-05-28 09:17:11'::timestamp) - extract(epoch from '2026-05-28 09:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578263 -3.363526)', '2026-05-28 09:17:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578235 -3.363661)'), GeomFromEWKT('SRID=4674;POINT (-38.578263 -3.363526)'))) / (select extract(epoch from '2026-05-28 09:17:17'::timestamp) - extract(epoch from '2026-05-28 09:17:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578235 -3.363661)'), GeomFromEWKT('SRID=4674;POINT (-38.578263 -3.363526)'))) / (select extract(epoch from '2026-05-28 09:17:17'::timestamp) - extract(epoch from '2026-05-28 09:17:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578291 -3.363391)', '2026-05-28 09:17:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578263 -3.363526)'), GeomFromEWKT('SRID=4674;POINT (-38.578291 -3.363391)'))) / (select extract(epoch from '2026-05-28 09:17:23'::timestamp) - extract(epoch from '2026-05-28 09:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578263 -3.363526)'), GeomFromEWKT('SRID=4674;POINT (-38.578291 -3.363391)'))) / (select extract(epoch from '2026-05-28 09:17:23'::timestamp) - extract(epoch from '2026-05-28 09:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57831 -3.363276)', '2026-05-28 09:17:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578291 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-38.57831 -3.363276)'))) / (select extract(epoch from '2026-05-28 09:17:28'::timestamp) - extract(epoch from '2026-05-28 09:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578291 -3.363391)'), GeomFromEWKT('SRID=4674;POINT (-38.57831 -3.363276)'))) / (select extract(epoch from '2026-05-28 09:17:28'::timestamp) - extract(epoch from '2026-05-28 09:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578327 -3.363167)', '2026-05-28 09:17:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57831 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-38.578327 -3.363167)'))) / (select extract(epoch from '2026-05-28 09:17:33'::timestamp) - extract(epoch from '2026-05-28 09:17:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57831 -3.363276)'), GeomFromEWKT('SRID=4674;POINT (-38.578327 -3.363167)'))) / (select extract(epoch from '2026-05-28 09:17:33'::timestamp) - extract(epoch from '2026-05-28 09:17:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578363 -3.363014)', '2026-05-28 09:17:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578327 -3.363167)'), GeomFromEWKT('SRID=4674;POINT (-38.578363 -3.363014)'))) / (select extract(epoch from '2026-05-28 09:17:40'::timestamp) - extract(epoch from '2026-05-28 09:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578327 -3.363167)'), GeomFromEWKT('SRID=4674;POINT (-38.578363 -3.363014)'))) / (select extract(epoch from '2026-05-28 09:17:40'::timestamp) - extract(epoch from '2026-05-28 09:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578384 -3.362863)', '2026-05-28 09:17:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578363 -3.363014)'), GeomFromEWKT('SRID=4674;POINT (-38.578384 -3.362863)'))) / (select extract(epoch from '2026-05-28 09:17:47'::timestamp) - extract(epoch from '2026-05-28 09:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578363 -3.363014)'), GeomFromEWKT('SRID=4674;POINT (-38.578384 -3.362863)'))) / (select extract(epoch from '2026-05-28 09:17:47'::timestamp) - extract(epoch from '2026-05-28 09:17:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578395 -3.362749)', '2026-05-28 09:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578384 -3.362863)'), GeomFromEWKT('SRID=4674;POINT (-38.578395 -3.362749)'))) / (select extract(epoch from '2026-05-28 09:17:52'::timestamp) - extract(epoch from '2026-05-28 09:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578384 -3.362863)'), GeomFromEWKT('SRID=4674;POINT (-38.578395 -3.362749)'))) / (select extract(epoch from '2026-05-28 09:17:52'::timestamp) - extract(epoch from '2026-05-28 09:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578396 -3.362646)', '2026-05-28 09:17:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578395 -3.362749)'), GeomFromEWKT('SRID=4674;POINT (-38.578396 -3.362646)'))) / (select extract(epoch from '2026-05-28 09:17:57'::timestamp) - extract(epoch from '2026-05-28 09:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578395 -3.362749)'), GeomFromEWKT('SRID=4674;POINT (-38.578396 -3.362646)'))) / (select extract(epoch from '2026-05-28 09:17:57'::timestamp) - extract(epoch from '2026-05-28 09:17:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578401 -3.36254)', '2026-05-28 09:18:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578396 -3.362646)'), GeomFromEWKT('SRID=4674;POINT (-38.578401 -3.36254)'))) / (select extract(epoch from '2026-05-28 09:18:02'::timestamp) - extract(epoch from '2026-05-28 09:17:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578396 -3.362646)'), GeomFromEWKT('SRID=4674;POINT (-38.578401 -3.36254)'))) / (select extract(epoch from '2026-05-28 09:18:02'::timestamp) - extract(epoch from '2026-05-28 09:17:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578402 -3.362412)', '2026-05-28 09:18:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578401 -3.36254)'), GeomFromEWKT('SRID=4674;POINT (-38.578402 -3.362412)'))) / (select extract(epoch from '2026-05-28 09:18:08'::timestamp) - extract(epoch from '2026-05-28 09:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578401 -3.36254)'), GeomFromEWKT('SRID=4674;POINT (-38.578402 -3.362412)'))) / (select extract(epoch from '2026-05-28 09:18:08'::timestamp) - extract(epoch from '2026-05-28 09:18:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578428 -3.362234)', '2026-05-28 09:18:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578402 -3.362412)'), GeomFromEWKT('SRID=4674;POINT (-38.578428 -3.362234)'))) / (select extract(epoch from '2026-05-28 09:18:16'::timestamp) - extract(epoch from '2026-05-28 09:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578402 -3.362412)'), GeomFromEWKT('SRID=4674;POINT (-38.578428 -3.362234)'))) / (select extract(epoch from '2026-05-28 09:18:16'::timestamp) - extract(epoch from '2026-05-28 09:18:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578445 -3.362098)', '2026-05-28 09:18:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578428 -3.362234)'), GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.362098)'))) / (select extract(epoch from '2026-05-28 09:18:22'::timestamp) - extract(epoch from '2026-05-28 09:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578428 -3.362234)'), GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.362098)'))) / (select extract(epoch from '2026-05-28 09:18:22'::timestamp) - extract(epoch from '2026-05-28 09:18:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578445 -3.361963)', '2026-05-28 09:18:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.362098)'), GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361963)'))) / (select extract(epoch from '2026-05-28 09:18:28'::timestamp) - extract(epoch from '2026-05-28 09:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.362098)'), GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361963)'))) / (select extract(epoch from '2026-05-28 09:18:28'::timestamp) - extract(epoch from '2026-05-28 09:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578445 -3.361872)', '2026-05-28 09:18:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361963)'), GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361872)'))) / (select extract(epoch from '2026-05-28 09:18:33'::timestamp) - extract(epoch from '2026-05-28 09:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361963)'), GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361872)'))) / (select extract(epoch from '2026-05-28 09:18:33'::timestamp) - extract(epoch from '2026-05-28 09:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578445 -3.361775)', '2026-05-28 09:18:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361872)'), GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361775)'))) / (select extract(epoch from '2026-05-28 09:18:38'::timestamp) - extract(epoch from '2026-05-28 09:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361872)'), GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361775)'))) / (select extract(epoch from '2026-05-28 09:18:38'::timestamp) - extract(epoch from '2026-05-28 09:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57846 -3.36164)', '2026-05-28 09:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361775)'), GeomFromEWKT('SRID=4674;POINT (-38.57846 -3.36164)'))) / (select extract(epoch from '2026-05-28 09:18:44'::timestamp) - extract(epoch from '2026-05-28 09:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578445 -3.361775)'), GeomFromEWKT('SRID=4674;POINT (-38.57846 -3.36164)'))) / (select extract(epoch from '2026-05-28 09:18:44'::timestamp) - extract(epoch from '2026-05-28 09:18:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578472 -3.361503)', '2026-05-28 09:18:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57846 -3.36164)'), GeomFromEWKT('SRID=4674;POINT (-38.578472 -3.361503)'))) / (select extract(epoch from '2026-05-28 09:18:50'::timestamp) - extract(epoch from '2026-05-28 09:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57846 -3.36164)'), GeomFromEWKT('SRID=4674;POINT (-38.578472 -3.361503)'))) / (select extract(epoch from '2026-05-28 09:18:50'::timestamp) - extract(epoch from '2026-05-28 09:18:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578471 -3.361399)', '2026-05-28 09:18:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578472 -3.361503)'), GeomFromEWKT('SRID=4674;POINT (-38.578471 -3.361399)'))) / (select extract(epoch from '2026-05-28 09:18:55'::timestamp) - extract(epoch from '2026-05-28 09:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578472 -3.361503)'), GeomFromEWKT('SRID=4674;POINT (-38.578471 -3.361399)'))) / (select extract(epoch from '2026-05-28 09:18:55'::timestamp) - extract(epoch from '2026-05-28 09:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578486 -3.361265)', '2026-05-28 09:19:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578471 -3.361399)'), GeomFromEWKT('SRID=4674;POINT (-38.578486 -3.361265)'))) / (select extract(epoch from '2026-05-28 09:19:01'::timestamp) - extract(epoch from '2026-05-28 09:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578471 -3.361399)'), GeomFromEWKT('SRID=4674;POINT (-38.578486 -3.361265)'))) / (select extract(epoch from '2026-05-28 09:19:01'::timestamp) - extract(epoch from '2026-05-28 09:18:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578493 -3.361128)', '2026-05-28 09:19:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578486 -3.361265)'), GeomFromEWKT('SRID=4674;POINT (-38.578493 -3.361128)'))) / (select extract(epoch from '2026-05-28 09:19:07'::timestamp) - extract(epoch from '2026-05-28 09:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578486 -3.361265)'), GeomFromEWKT('SRID=4674;POINT (-38.578493 -3.361128)'))) / (select extract(epoch from '2026-05-28 09:19:07'::timestamp) - extract(epoch from '2026-05-28 09:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578503 -3.360982)', '2026-05-28 09:19:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578493 -3.361128)'), GeomFromEWKT('SRID=4674;POINT (-38.578503 -3.360982)'))) / (select extract(epoch from '2026-05-28 09:19:13'::timestamp) - extract(epoch from '2026-05-28 09:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578493 -3.361128)'), GeomFromEWKT('SRID=4674;POINT (-38.578503 -3.360982)'))) / (select extract(epoch from '2026-05-28 09:19:13'::timestamp) - extract(epoch from '2026-05-28 09:19:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578503 -3.3609)', '2026-05-28 09:19:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578503 -3.360982)'), GeomFromEWKT('SRID=4674;POINT (-38.578503 -3.3609)'))) / (select extract(epoch from '2026-05-28 09:19:17'::timestamp) - extract(epoch from '2026-05-28 09:19:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578503 -3.360982)'), GeomFromEWKT('SRID=4674;POINT (-38.578503 -3.3609)'))) / (select extract(epoch from '2026-05-28 09:19:17'::timestamp) - extract(epoch from '2026-05-28 09:19:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578499 -3.360787)', '2026-05-28 09:19:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578503 -3.3609)'), GeomFromEWKT('SRID=4674;POINT (-38.578499 -3.360787)'))) / (select extract(epoch from '2026-05-28 09:19:22'::timestamp) - extract(epoch from '2026-05-28 09:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578503 -3.3609)'), GeomFromEWKT('SRID=4674;POINT (-38.578499 -3.360787)'))) / (select extract(epoch from '2026-05-28 09:19:22'::timestamp) - extract(epoch from '2026-05-28 09:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578512 -3.360672)', '2026-05-28 09:19:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578499 -3.360787)'), GeomFromEWKT('SRID=4674;POINT (-38.578512 -3.360672)'))) / (select extract(epoch from '2026-05-28 09:19:27'::timestamp) - extract(epoch from '2026-05-28 09:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578499 -3.360787)'), GeomFromEWKT('SRID=4674;POINT (-38.578512 -3.360672)'))) / (select extract(epoch from '2026-05-28 09:19:27'::timestamp) - extract(epoch from '2026-05-28 09:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578529 -3.360547)', '2026-05-28 09:19:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578512 -3.360672)'), GeomFromEWKT('SRID=4674;POINT (-38.578529 -3.360547)'))) / (select extract(epoch from '2026-05-28 09:19:33'::timestamp) - extract(epoch from '2026-05-28 09:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578512 -3.360672)'), GeomFromEWKT('SRID=4674;POINT (-38.578529 -3.360547)'))) / (select extract(epoch from '2026-05-28 09:19:33'::timestamp) - extract(epoch from '2026-05-28 09:19:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578531 -3.360488)', '2026-05-28 09:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578529 -3.360547)'), GeomFromEWKT('SRID=4674;POINT (-38.578531 -3.360488)'))) / (select extract(epoch from '2026-05-28 09:19:36'::timestamp) - extract(epoch from '2026-05-28 09:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578529 -3.360547)'), GeomFromEWKT('SRID=4674;POINT (-38.578531 -3.360488)'))) / (select extract(epoch from '2026-05-28 09:19:36'::timestamp) - extract(epoch from '2026-05-28 09:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57855 -3.360443)', '2026-05-28 09:19:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578531 -3.360488)'), GeomFromEWKT('SRID=4674;POINT (-38.57855 -3.360443)'))) / (select extract(epoch from '2026-05-28 09:19:38'::timestamp) - extract(epoch from '2026-05-28 09:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578531 -3.360488)'), GeomFromEWKT('SRID=4674;POINT (-38.57855 -3.360443)'))) / (select extract(epoch from '2026-05-28 09:19:38'::timestamp) - extract(epoch from '2026-05-28 09:19:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578575 -3.360332)', '2026-05-28 09:19:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57855 -3.360443)'), GeomFromEWKT('SRID=4674;POINT (-38.578575 -3.360332)'))) / (select extract(epoch from '2026-05-28 09:19:43'::timestamp) - extract(epoch from '2026-05-28 09:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57855 -3.360443)'), GeomFromEWKT('SRID=4674;POINT (-38.578575 -3.360332)'))) / (select extract(epoch from '2026-05-28 09:19:43'::timestamp) - extract(epoch from '2026-05-28 09:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578604 -3.360228)', '2026-05-28 09:19:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578575 -3.360332)'), GeomFromEWKT('SRID=4674;POINT (-38.578604 -3.360228)'))) / (select extract(epoch from '2026-05-28 09:19:48'::timestamp) - extract(epoch from '2026-05-28 09:19:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578575 -3.360332)'), GeomFromEWKT('SRID=4674;POINT (-38.578604 -3.360228)'))) / (select extract(epoch from '2026-05-28 09:19:48'::timestamp) - extract(epoch from '2026-05-28 09:19:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578639 -3.360086)', '2026-05-28 09:19:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578604 -3.360228)'), GeomFromEWKT('SRID=4674;POINT (-38.578639 -3.360086)'))) / (select extract(epoch from '2026-05-28 09:19:55'::timestamp) - extract(epoch from '2026-05-28 09:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578604 -3.360228)'), GeomFromEWKT('SRID=4674;POINT (-38.578639 -3.360086)'))) / (select extract(epoch from '2026-05-28 09:19:55'::timestamp) - extract(epoch from '2026-05-28 09:19:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578661 -3.35994)', '2026-05-28 09:20:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578639 -3.360086)'), GeomFromEWKT('SRID=4674;POINT (-38.578661 -3.35994)'))) / (select extract(epoch from '2026-05-28 09:20:02'::timestamp) - extract(epoch from '2026-05-28 09:19:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578639 -3.360086)'), GeomFromEWKT('SRID=4674;POINT (-38.578661 -3.35994)'))) / (select extract(epoch from '2026-05-28 09:20:02'::timestamp) - extract(epoch from '2026-05-28 09:19:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578684 -3.359837)', '2026-05-28 09:20:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578661 -3.35994)'), GeomFromEWKT('SRID=4674;POINT (-38.578684 -3.359837)'))) / (select extract(epoch from '2026-05-28 09:20:07'::timestamp) - extract(epoch from '2026-05-28 09:20:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578661 -3.35994)'), GeomFromEWKT('SRID=4674;POINT (-38.578684 -3.359837)'))) / (select extract(epoch from '2026-05-28 09:20:07'::timestamp) - extract(epoch from '2026-05-28 09:20:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578717 -3.359707)', '2026-05-28 09:20:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578684 -3.359837)'), GeomFromEWKT('SRID=4674;POINT (-38.578717 -3.359707)'))) / (select extract(epoch from '2026-05-28 09:20:13'::timestamp) - extract(epoch from '2026-05-28 09:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578684 -3.359837)'), GeomFromEWKT('SRID=4674;POINT (-38.578717 -3.359707)'))) / (select extract(epoch from '2026-05-28 09:20:13'::timestamp) - extract(epoch from '2026-05-28 09:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578761 -3.359578)', '2026-05-28 09:20:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578717 -3.359707)'), GeomFromEWKT('SRID=4674;POINT (-38.578761 -3.359578)'))) / (select extract(epoch from '2026-05-28 09:20:19'::timestamp) - extract(epoch from '2026-05-28 09:20:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578717 -3.359707)'), GeomFromEWKT('SRID=4674;POINT (-38.578761 -3.359578)'))) / (select extract(epoch from '2026-05-28 09:20:19'::timestamp) - extract(epoch from '2026-05-28 09:20:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578792 -3.359449)', '2026-05-28 09:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578761 -3.359578)'), GeomFromEWKT('SRID=4674;POINT (-38.578792 -3.359449)'))) / (select extract(epoch from '2026-05-28 09:20:25'::timestamp) - extract(epoch from '2026-05-28 09:20:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578761 -3.359578)'), GeomFromEWKT('SRID=4674;POINT (-38.578792 -3.359449)'))) / (select extract(epoch from '2026-05-28 09:20:25'::timestamp) - extract(epoch from '2026-05-28 09:20:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57882 -3.359285)', '2026-05-28 09:20:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578792 -3.359449)'), GeomFromEWKT('SRID=4674;POINT (-38.57882 -3.359285)'))) / (select extract(epoch from '2026-05-28 09:20:33'::timestamp) - extract(epoch from '2026-05-28 09:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578792 -3.359449)'), GeomFromEWKT('SRID=4674;POINT (-38.57882 -3.359285)'))) / (select extract(epoch from '2026-05-28 09:20:33'::timestamp) - extract(epoch from '2026-05-28 09:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578845 -3.359168)', '2026-05-28 09:20:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57882 -3.359285)'), GeomFromEWKT('SRID=4674;POINT (-38.578845 -3.359168)'))) / (select extract(epoch from '2026-05-28 09:20:38'::timestamp) - extract(epoch from '2026-05-28 09:20:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57882 -3.359285)'), GeomFromEWKT('SRID=4674;POINT (-38.578845 -3.359168)'))) / (select extract(epoch from '2026-05-28 09:20:38'::timestamp) - extract(epoch from '2026-05-28 09:20:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57887 -3.358993)', '2026-05-28 09:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578845 -3.359168)'), GeomFromEWKT('SRID=4674;POINT (-38.57887 -3.358993)'))) / (select extract(epoch from '2026-05-28 09:20:46'::timestamp) - extract(epoch from '2026-05-28 09:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578845 -3.359168)'), GeomFromEWKT('SRID=4674;POINT (-38.57887 -3.358993)'))) / (select extract(epoch from '2026-05-28 09:20:46'::timestamp) - extract(epoch from '2026-05-28 09:20:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578888 -3.358857)', '2026-05-28 09:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57887 -3.358993)'), GeomFromEWKT('SRID=4674;POINT (-38.578888 -3.358857)'))) / (select extract(epoch from '2026-05-28 09:20:52'::timestamp) - extract(epoch from '2026-05-28 09:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57887 -3.358993)'), GeomFromEWKT('SRID=4674;POINT (-38.578888 -3.358857)'))) / (select extract(epoch from '2026-05-28 09:20:52'::timestamp) - extract(epoch from '2026-05-28 09:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578901 -3.358695)', '2026-05-28 09:20:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578888 -3.358857)'), GeomFromEWKT('SRID=4674;POINT (-38.578901 -3.358695)'))) / (select extract(epoch from '2026-05-28 09:20:59'::timestamp) - extract(epoch from '2026-05-28 09:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578888 -3.358857)'), GeomFromEWKT('SRID=4674;POINT (-38.578901 -3.358695)'))) / (select extract(epoch from '2026-05-28 09:20:59'::timestamp) - extract(epoch from '2026-05-28 09:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578907 -3.358588)', '2026-05-28 09:21:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578901 -3.358695)'), GeomFromEWKT('SRID=4674;POINT (-38.578907 -3.358588)'))) / (select extract(epoch from '2026-05-28 09:21:04'::timestamp) - extract(epoch from '2026-05-28 09:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578901 -3.358695)'), GeomFromEWKT('SRID=4674;POINT (-38.578907 -3.358588)'))) / (select extract(epoch from '2026-05-28 09:21:04'::timestamp) - extract(epoch from '2026-05-28 09:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578925 -3.358476)', '2026-05-28 09:21:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578907 -3.358588)'), GeomFromEWKT('SRID=4674;POINT (-38.578925 -3.358476)'))) / (select extract(epoch from '2026-05-28 09:21:09'::timestamp) - extract(epoch from '2026-05-28 09:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578907 -3.358588)'), GeomFromEWKT('SRID=4674;POINT (-38.578925 -3.358476)'))) / (select extract(epoch from '2026-05-28 09:21:09'::timestamp) - extract(epoch from '2026-05-28 09:21:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578932 -3.35837)', '2026-05-28 09:21:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578925 -3.358476)'), GeomFromEWKT('SRID=4674;POINT (-38.578932 -3.35837)'))) / (select extract(epoch from '2026-05-28 09:21:14'::timestamp) - extract(epoch from '2026-05-28 09:21:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578925 -3.358476)'), GeomFromEWKT('SRID=4674;POINT (-38.578932 -3.35837)'))) / (select extract(epoch from '2026-05-28 09:21:14'::timestamp) - extract(epoch from '2026-05-28 09:21:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578946 -3.358272)', '2026-05-28 09:21:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578932 -3.35837)'), GeomFromEWKT('SRID=4674;POINT (-38.578946 -3.358272)'))) / (select extract(epoch from '2026-05-28 09:21:19'::timestamp) - extract(epoch from '2026-05-28 09:21:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578932 -3.35837)'), GeomFromEWKT('SRID=4674;POINT (-38.578946 -3.358272)'))) / (select extract(epoch from '2026-05-28 09:21:19'::timestamp) - extract(epoch from '2026-05-28 09:21:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578975 -3.358166)', '2026-05-28 09:21:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578946 -3.358272)'), GeomFromEWKT('SRID=4674;POINT (-38.578975 -3.358166)'))) / (select extract(epoch from '2026-05-28 09:21:24'::timestamp) - extract(epoch from '2026-05-28 09:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578946 -3.358272)'), GeomFromEWKT('SRID=4674;POINT (-38.578975 -3.358166)'))) / (select extract(epoch from '2026-05-28 09:21:24'::timestamp) - extract(epoch from '2026-05-28 09:21:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579002 -3.358015)', '2026-05-28 09:21:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578975 -3.358166)'), GeomFromEWKT('SRID=4674;POINT (-38.579002 -3.358015)'))) / (select extract(epoch from '2026-05-28 09:21:31'::timestamp) - extract(epoch from '2026-05-28 09:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578975 -3.358166)'), GeomFromEWKT('SRID=4674;POINT (-38.579002 -3.358015)'))) / (select extract(epoch from '2026-05-28 09:21:31'::timestamp) - extract(epoch from '2026-05-28 09:21:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579017 -3.357883)', '2026-05-28 09:21:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579002 -3.358015)'), GeomFromEWKT('SRID=4674;POINT (-38.579017 -3.357883)'))) / (select extract(epoch from '2026-05-28 09:21:37'::timestamp) - extract(epoch from '2026-05-28 09:21:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579002 -3.358015)'), GeomFromEWKT('SRID=4674;POINT (-38.579017 -3.357883)'))) / (select extract(epoch from '2026-05-28 09:21:37'::timestamp) - extract(epoch from '2026-05-28 09:21:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579027 -3.357726)', '2026-05-28 09:21:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579017 -3.357883)'), GeomFromEWKT('SRID=4674;POINT (-38.579027 -3.357726)'))) / (select extract(epoch from '2026-05-28 09:21:44'::timestamp) - extract(epoch from '2026-05-28 09:21:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579017 -3.357883)'), GeomFromEWKT('SRID=4674;POINT (-38.579027 -3.357726)'))) / (select extract(epoch from '2026-05-28 09:21:44'::timestamp) - extract(epoch from '2026-05-28 09:21:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579042 -3.357614)', '2026-05-28 09:21:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579027 -3.357726)'), GeomFromEWKT('SRID=4674;POINT (-38.579042 -3.357614)'))) / (select extract(epoch from '2026-05-28 09:21:49'::timestamp) - extract(epoch from '2026-05-28 09:21:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579027 -3.357726)'), GeomFromEWKT('SRID=4674;POINT (-38.579042 -3.357614)'))) / (select extract(epoch from '2026-05-28 09:21:49'::timestamp) - extract(epoch from '2026-05-28 09:21:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579052 -3.357507)', '2026-05-28 09:21:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579042 -3.357614)'), GeomFromEWKT('SRID=4674;POINT (-38.579052 -3.357507)'))) / (select extract(epoch from '2026-05-28 09:21:54'::timestamp) - extract(epoch from '2026-05-28 09:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579042 -3.357614)'), GeomFromEWKT('SRID=4674;POINT (-38.579052 -3.357507)'))) / (select extract(epoch from '2026-05-28 09:21:54'::timestamp) - extract(epoch from '2026-05-28 09:21:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579062 -3.357364)', '2026-05-28 09:22:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579052 -3.357507)'), GeomFromEWKT('SRID=4674;POINT (-38.579062 -3.357364)'))) / (select extract(epoch from '2026-05-28 09:22:00'::timestamp) - extract(epoch from '2026-05-28 09:21:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579052 -3.357507)'), GeomFromEWKT('SRID=4674;POINT (-38.579062 -3.357364)'))) / (select extract(epoch from '2026-05-28 09:22:00'::timestamp) - extract(epoch from '2026-05-28 09:21:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579079 -3.357235)', '2026-05-28 09:22:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579062 -3.357364)'), GeomFromEWKT('SRID=4674;POINT (-38.579079 -3.357235)'))) / (select extract(epoch from '2026-05-28 09:22:06'::timestamp) - extract(epoch from '2026-05-28 09:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579062 -3.357364)'), GeomFromEWKT('SRID=4674;POINT (-38.579079 -3.357235)'))) / (select extract(epoch from '2026-05-28 09:22:06'::timestamp) - extract(epoch from '2026-05-28 09:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579102 -3.357105)', '2026-05-28 09:22:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579079 -3.357235)'), GeomFromEWKT('SRID=4674;POINT (-38.579102 -3.357105)'))) / (select extract(epoch from '2026-05-28 09:22:12'::timestamp) - extract(epoch from '2026-05-28 09:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579079 -3.357235)'), GeomFromEWKT('SRID=4674;POINT (-38.579102 -3.357105)'))) / (select extract(epoch from '2026-05-28 09:22:12'::timestamp) - extract(epoch from '2026-05-28 09:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579131 -3.356962)', '2026-05-28 09:22:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579102 -3.357105)'), GeomFromEWKT('SRID=4674;POINT (-38.579131 -3.356962)'))) / (select extract(epoch from '2026-05-28 09:22:19'::timestamp) - extract(epoch from '2026-05-28 09:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579102 -3.357105)'), GeomFromEWKT('SRID=4674;POINT (-38.579131 -3.356962)'))) / (select extract(epoch from '2026-05-28 09:22:19'::timestamp) - extract(epoch from '2026-05-28 09:22:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579164 -3.356841)', '2026-05-28 09:22:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579131 -3.356962)'), GeomFromEWKT('SRID=4674;POINT (-38.579164 -3.356841)'))) / (select extract(epoch from '2026-05-28 09:22:25'::timestamp) - extract(epoch from '2026-05-28 09:22:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579131 -3.356962)'), GeomFromEWKT('SRID=4674;POINT (-38.579164 -3.356841)'))) / (select extract(epoch from '2026-05-28 09:22:25'::timestamp) - extract(epoch from '2026-05-28 09:22:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579178 -3.356752)', '2026-05-28 09:22:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579164 -3.356841)'), GeomFromEWKT('SRID=4674;POINT (-38.579178 -3.356752)'))) / (select extract(epoch from '2026-05-28 09:22:29'::timestamp) - extract(epoch from '2026-05-28 09:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579164 -3.356841)'), GeomFromEWKT('SRID=4674;POINT (-38.579178 -3.356752)'))) / (select extract(epoch from '2026-05-28 09:22:29'::timestamp) - extract(epoch from '2026-05-28 09:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579188 -3.356732)', '2026-05-28 09:22:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579178 -3.356752)'), GeomFromEWKT('SRID=4674;POINT (-38.579188 -3.356732)'))) / (select extract(epoch from '2026-05-28 09:22:30'::timestamp) - extract(epoch from '2026-05-28 09:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579178 -3.356752)'), GeomFromEWKT('SRID=4674;POINT (-38.579188 -3.356732)'))) / (select extract(epoch from '2026-05-28 09:22:30'::timestamp) - extract(epoch from '2026-05-28 09:22:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579217 -3.356618)', '2026-05-28 09:22:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579188 -3.356732)'), GeomFromEWKT('SRID=4674;POINT (-38.579217 -3.356618)'))) / (select extract(epoch from '2026-05-28 09:22:36'::timestamp) - extract(epoch from '2026-05-28 09:22:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579188 -3.356732)'), GeomFromEWKT('SRID=4674;POINT (-38.579217 -3.356618)'))) / (select extract(epoch from '2026-05-28 09:22:36'::timestamp) - extract(epoch from '2026-05-28 09:22:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579251 -3.356496)', '2026-05-28 09:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579217 -3.356618)'), GeomFromEWKT('SRID=4674;POINT (-38.579251 -3.356496)'))) / (select extract(epoch from '2026-05-28 09:22:42'::timestamp) - extract(epoch from '2026-05-28 09:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579217 -3.356618)'), GeomFromEWKT('SRID=4674;POINT (-38.579251 -3.356496)'))) / (select extract(epoch from '2026-05-28 09:22:42'::timestamp) - extract(epoch from '2026-05-28 09:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579279 -3.356388)', '2026-05-28 09:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579251 -3.356496)'), GeomFromEWKT('SRID=4674;POINT (-38.579279 -3.356388)'))) / (select extract(epoch from '2026-05-28 09:22:47'::timestamp) - extract(epoch from '2026-05-28 09:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579251 -3.356496)'), GeomFromEWKT('SRID=4674;POINT (-38.579279 -3.356388)'))) / (select extract(epoch from '2026-05-28 09:22:47'::timestamp) - extract(epoch from '2026-05-28 09:22:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579315 -3.356273)', '2026-05-28 09:22:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579279 -3.356388)'), GeomFromEWKT('SRID=4674;POINT (-38.579315 -3.356273)'))) / (select extract(epoch from '2026-05-28 09:22:53'::timestamp) - extract(epoch from '2026-05-28 09:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579279 -3.356388)'), GeomFromEWKT('SRID=4674;POINT (-38.579315 -3.356273)'))) / (select extract(epoch from '2026-05-28 09:22:53'::timestamp) - extract(epoch from '2026-05-28 09:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579342 -3.356156)', '2026-05-28 09:22:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579315 -3.356273)'), GeomFromEWKT('SRID=4674;POINT (-38.579342 -3.356156)'))) / (select extract(epoch from '2026-05-28 09:22:59'::timestamp) - extract(epoch from '2026-05-28 09:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579315 -3.356273)'), GeomFromEWKT('SRID=4674;POINT (-38.579342 -3.356156)'))) / (select extract(epoch from '2026-05-28 09:22:59'::timestamp) - extract(epoch from '2026-05-28 09:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579383 -3.355971)', '2026-05-28 09:23:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579342 -3.356156)'), GeomFromEWKT('SRID=4674;POINT (-38.579383 -3.355971)'))) / (select extract(epoch from '2026-05-28 09:23:07'::timestamp) - extract(epoch from '2026-05-28 09:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579342 -3.356156)'), GeomFromEWKT('SRID=4674;POINT (-38.579383 -3.355971)'))) / (select extract(epoch from '2026-05-28 09:23:07'::timestamp) - extract(epoch from '2026-05-28 09:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579389 -3.355819)', '2026-05-28 09:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579383 -3.355971)'), GeomFromEWKT('SRID=4674;POINT (-38.579389 -3.355819)'))) / (select extract(epoch from '2026-05-28 09:23:14'::timestamp) - extract(epoch from '2026-05-28 09:23:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579383 -3.355971)'), GeomFromEWKT('SRID=4674;POINT (-38.579389 -3.355819)'))) / (select extract(epoch from '2026-05-28 09:23:14'::timestamp) - extract(epoch from '2026-05-28 09:23:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579384 -3.355685)', '2026-05-28 09:23:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579389 -3.355819)'), GeomFromEWKT('SRID=4674;POINT (-38.579384 -3.355685)'))) / (select extract(epoch from '2026-05-28 09:23:20'::timestamp) - extract(epoch from '2026-05-28 09:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579389 -3.355819)'), GeomFromEWKT('SRID=4674;POINT (-38.579384 -3.355685)'))) / (select extract(epoch from '2026-05-28 09:23:20'::timestamp) - extract(epoch from '2026-05-28 09:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579384 -3.35558)', '2026-05-28 09:23:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579384 -3.355685)'), GeomFromEWKT('SRID=4674;POINT (-38.579384 -3.35558)'))) / (select extract(epoch from '2026-05-28 09:23:25'::timestamp) - extract(epoch from '2026-05-28 09:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579384 -3.355685)'), GeomFromEWKT('SRID=4674;POINT (-38.579384 -3.35558)'))) / (select extract(epoch from '2026-05-28 09:23:25'::timestamp) - extract(epoch from '2026-05-28 09:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579399 -3.355451)', '2026-05-28 09:23:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579384 -3.35558)'), GeomFromEWKT('SRID=4674;POINT (-38.579399 -3.355451)'))) / (select extract(epoch from '2026-05-28 09:23:31'::timestamp) - extract(epoch from '2026-05-28 09:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579384 -3.35558)'), GeomFromEWKT('SRID=4674;POINT (-38.579399 -3.355451)'))) / (select extract(epoch from '2026-05-28 09:23:31'::timestamp) - extract(epoch from '2026-05-28 09:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579409 -3.355349)', '2026-05-28 09:23:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579399 -3.355451)'), GeomFromEWKT('SRID=4674;POINT (-38.579409 -3.355349)'))) / (select extract(epoch from '2026-05-28 09:23:36'::timestamp) - extract(epoch from '2026-05-28 09:23:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579399 -3.355451)'), GeomFromEWKT('SRID=4674;POINT (-38.579409 -3.355349)'))) / (select extract(epoch from '2026-05-28 09:23:36'::timestamp) - extract(epoch from '2026-05-28 09:23:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579415 -3.355247)', '2026-05-28 09:23:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579409 -3.355349)'), GeomFromEWKT('SRID=4674;POINT (-38.579415 -3.355247)'))) / (select extract(epoch from '2026-05-28 09:23:41'::timestamp) - extract(epoch from '2026-05-28 09:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579409 -3.355349)'), GeomFromEWKT('SRID=4674;POINT (-38.579415 -3.355247)'))) / (select extract(epoch from '2026-05-28 09:23:41'::timestamp) - extract(epoch from '2026-05-28 09:23:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579423 -3.35511)', '2026-05-28 09:23:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579415 -3.355247)'), GeomFromEWKT('SRID=4674;POINT (-38.579423 -3.35511)'))) / (select extract(epoch from '2026-05-28 09:23:47'::timestamp) - extract(epoch from '2026-05-28 09:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579415 -3.355247)'), GeomFromEWKT('SRID=4674;POINT (-38.579423 -3.35511)'))) / (select extract(epoch from '2026-05-28 09:23:47'::timestamp) - extract(epoch from '2026-05-28 09:23:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579426 -3.354998)', '2026-05-28 09:23:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579423 -3.35511)'), GeomFromEWKT('SRID=4674;POINT (-38.579426 -3.354998)'))) / (select extract(epoch from '2026-05-28 09:23:52'::timestamp) - extract(epoch from '2026-05-28 09:23:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579423 -3.35511)'), GeomFromEWKT('SRID=4674;POINT (-38.579426 -3.354998)'))) / (select extract(epoch from '2026-05-28 09:23:52'::timestamp) - extract(epoch from '2026-05-28 09:23:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579437 -3.354882)', '2026-05-28 09:23:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579426 -3.354998)'), GeomFromEWKT('SRID=4674;POINT (-38.579437 -3.354882)'))) / (select extract(epoch from '2026-05-28 09:23:57'::timestamp) - extract(epoch from '2026-05-28 09:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579426 -3.354998)'), GeomFromEWKT('SRID=4674;POINT (-38.579437 -3.354882)'))) / (select extract(epoch from '2026-05-28 09:23:57'::timestamp) - extract(epoch from '2026-05-28 09:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579454 -3.35476)', '2026-05-28 09:24:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579437 -3.354882)'), GeomFromEWKT('SRID=4674;POINT (-38.579454 -3.35476)'))) / (select extract(epoch from '2026-05-28 09:24:02'::timestamp) - extract(epoch from '2026-05-28 09:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579437 -3.354882)'), GeomFromEWKT('SRID=4674;POINT (-38.579454 -3.35476)'))) / (select extract(epoch from '2026-05-28 09:24:02'::timestamp) - extract(epoch from '2026-05-28 09:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57947 -3.354597)', '2026-05-28 09:24:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579454 -3.35476)'), GeomFromEWKT('SRID=4674;POINT (-38.57947 -3.354597)'))) / (select extract(epoch from '2026-05-28 09:24:09'::timestamp) - extract(epoch from '2026-05-28 09:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579454 -3.35476)'), GeomFromEWKT('SRID=4674;POINT (-38.57947 -3.354597)'))) / (select extract(epoch from '2026-05-28 09:24:09'::timestamp) - extract(epoch from '2026-05-28 09:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579485 -3.354467)', '2026-05-28 09:24:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57947 -3.354597)'), GeomFromEWKT('SRID=4674;POINT (-38.579485 -3.354467)'))) / (select extract(epoch from '2026-05-28 09:24:15'::timestamp) - extract(epoch from '2026-05-28 09:24:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57947 -3.354597)'), GeomFromEWKT('SRID=4674;POINT (-38.579485 -3.354467)'))) / (select extract(epoch from '2026-05-28 09:24:15'::timestamp) - extract(epoch from '2026-05-28 09:24:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579482 -3.354335)', '2026-05-28 09:24:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579485 -3.354467)'), GeomFromEWKT('SRID=4674;POINT (-38.579482 -3.354335)'))) / (select extract(epoch from '2026-05-28 09:24:21'::timestamp) - extract(epoch from '2026-05-28 09:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579485 -3.354467)'), GeomFromEWKT('SRID=4674;POINT (-38.579482 -3.354335)'))) / (select extract(epoch from '2026-05-28 09:24:21'::timestamp) - extract(epoch from '2026-05-28 09:24:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57948 -3.354207)', '2026-05-28 09:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579482 -3.354335)'), GeomFromEWKT('SRID=4674;POINT (-38.57948 -3.354207)'))) / (select extract(epoch from '2026-05-28 09:24:27'::timestamp) - extract(epoch from '2026-05-28 09:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579482 -3.354335)'), GeomFromEWKT('SRID=4674;POINT (-38.57948 -3.354207)'))) / (select extract(epoch from '2026-05-28 09:24:27'::timestamp) - extract(epoch from '2026-05-28 09:24:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579485 -3.354112)', '2026-05-28 09:24:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57948 -3.354207)'), GeomFromEWKT('SRID=4674;POINT (-38.579485 -3.354112)'))) / (select extract(epoch from '2026-05-28 09:24:32'::timestamp) - extract(epoch from '2026-05-28 09:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57948 -3.354207)'), GeomFromEWKT('SRID=4674;POINT (-38.579485 -3.354112)'))) / (select extract(epoch from '2026-05-28 09:24:32'::timestamp) - extract(epoch from '2026-05-28 09:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579483 -3.353969)', '2026-05-28 09:24:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579485 -3.354112)'), GeomFromEWKT('SRID=4674;POINT (-38.579483 -3.353969)'))) / (select extract(epoch from '2026-05-28 09:24:39'::timestamp) - extract(epoch from '2026-05-28 09:24:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579485 -3.354112)'), GeomFromEWKT('SRID=4674;POINT (-38.579483 -3.353969)'))) / (select extract(epoch from '2026-05-28 09:24:39'::timestamp) - extract(epoch from '2026-05-28 09:24:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579489 -3.353792)', '2026-05-28 09:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579483 -3.353969)'), GeomFromEWKT('SRID=4674;POINT (-38.579489 -3.353792)'))) / (select extract(epoch from '2026-05-28 09:24:47'::timestamp) - extract(epoch from '2026-05-28 09:24:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579483 -3.353969)'), GeomFromEWKT('SRID=4674;POINT (-38.579489 -3.353792)'))) / (select extract(epoch from '2026-05-28 09:24:47'::timestamp) - extract(epoch from '2026-05-28 09:24:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579488 -3.353663)', '2026-05-28 09:24:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579489 -3.353792)'), GeomFromEWKT('SRID=4674;POINT (-38.579488 -3.353663)'))) / (select extract(epoch from '2026-05-28 09:24:53'::timestamp) - extract(epoch from '2026-05-28 09:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579489 -3.353792)'), GeomFromEWKT('SRID=4674;POINT (-38.579488 -3.353663)'))) / (select extract(epoch from '2026-05-28 09:24:53'::timestamp) - extract(epoch from '2026-05-28 09:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579495 -3.353513)', '2026-05-28 09:25:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579488 -3.353663)'), GeomFromEWKT('SRID=4674;POINT (-38.579495 -3.353513)'))) / (select extract(epoch from '2026-05-28 09:25:00'::timestamp) - extract(epoch from '2026-05-28 09:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579488 -3.353663)'), GeomFromEWKT('SRID=4674;POINT (-38.579495 -3.353513)'))) / (select extract(epoch from '2026-05-28 09:25:00'::timestamp) - extract(epoch from '2026-05-28 09:24:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579504 -3.353385)', '2026-05-28 09:25:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579495 -3.353513)'), GeomFromEWKT('SRID=4674;POINT (-38.579504 -3.353385)'))) / (select extract(epoch from '2026-05-28 09:25:06'::timestamp) - extract(epoch from '2026-05-28 09:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579495 -3.353513)'), GeomFromEWKT('SRID=4674;POINT (-38.579504 -3.353385)'))) / (select extract(epoch from '2026-05-28 09:25:06'::timestamp) - extract(epoch from '2026-05-28 09:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579514 -3.35323)', '2026-05-28 09:25:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579504 -3.353385)'), GeomFromEWKT('SRID=4674;POINT (-38.579514 -3.35323)'))) / (select extract(epoch from '2026-05-28 09:25:13'::timestamp) - extract(epoch from '2026-05-28 09:25:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579504 -3.353385)'), GeomFromEWKT('SRID=4674;POINT (-38.579514 -3.35323)'))) / (select extract(epoch from '2026-05-28 09:25:13'::timestamp) - extract(epoch from '2026-05-28 09:25:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57952 -3.353071)', '2026-05-28 09:25:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579514 -3.35323)'), GeomFromEWKT('SRID=4674;POINT (-38.57952 -3.353071)'))) / (select extract(epoch from '2026-05-28 09:25:20'::timestamp) - extract(epoch from '2026-05-28 09:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579514 -3.35323)'), GeomFromEWKT('SRID=4674;POINT (-38.57952 -3.353071)'))) / (select extract(epoch from '2026-05-28 09:25:20'::timestamp) - extract(epoch from '2026-05-28 09:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579526 -3.352903)', '2026-05-28 09:25:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57952 -3.353071)'), GeomFromEWKT('SRID=4674;POINT (-38.579526 -3.352903)'))) / (select extract(epoch from '2026-05-28 09:25:28'::timestamp) - extract(epoch from '2026-05-28 09:25:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57952 -3.353071)'), GeomFromEWKT('SRID=4674;POINT (-38.579526 -3.352903)'))) / (select extract(epoch from '2026-05-28 09:25:28'::timestamp) - extract(epoch from '2026-05-28 09:25:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579532 -3.35281)', '2026-05-28 09:25:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579526 -3.352903)'), GeomFromEWKT('SRID=4674;POINT (-38.579532 -3.35281)'))) / (select extract(epoch from '2026-05-28 09:25:32'::timestamp) - extract(epoch from '2026-05-28 09:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579526 -3.352903)'), GeomFromEWKT('SRID=4674;POINT (-38.579532 -3.35281)'))) / (select extract(epoch from '2026-05-28 09:25:32'::timestamp) - extract(epoch from '2026-05-28 09:25:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579544 -3.352756)', '2026-05-28 09:25:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579532 -3.35281)'), GeomFromEWKT('SRID=4674;POINT (-38.579544 -3.352756)'))) / (select extract(epoch from '2026-05-28 09:25:34'::timestamp) - extract(epoch from '2026-05-28 09:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579532 -3.35281)'), GeomFromEWKT('SRID=4674;POINT (-38.579544 -3.352756)'))) / (select extract(epoch from '2026-05-28 09:25:34'::timestamp) - extract(epoch from '2026-05-28 09:25:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579541 -3.352686)', '2026-05-28 09:25:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579544 -3.352756)'), GeomFromEWKT('SRID=4674;POINT (-38.579541 -3.352686)'))) / (select extract(epoch from '2026-05-28 09:25:37'::timestamp) - extract(epoch from '2026-05-28 09:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579544 -3.352756)'), GeomFromEWKT('SRID=4674;POINT (-38.579541 -3.352686)'))) / (select extract(epoch from '2026-05-28 09:25:37'::timestamp) - extract(epoch from '2026-05-28 09:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579548 -3.352668)', '2026-05-28 09:25:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579541 -3.352686)'), GeomFromEWKT('SRID=4674;POINT (-38.579548 -3.352668)'))) / (select extract(epoch from '2026-05-28 09:25:38'::timestamp) - extract(epoch from '2026-05-28 09:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579541 -3.352686)'), GeomFromEWKT('SRID=4674;POINT (-38.579548 -3.352668)'))) / (select extract(epoch from '2026-05-28 09:25:38'::timestamp) - extract(epoch from '2026-05-28 09:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579558 -3.352555)', '2026-05-28 09:25:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579548 -3.352668)'), GeomFromEWKT('SRID=4674;POINT (-38.579558 -3.352555)'))) / (select extract(epoch from '2026-05-28 09:25:43'::timestamp) - extract(epoch from '2026-05-28 09:25:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579548 -3.352668)'), GeomFromEWKT('SRID=4674;POINT (-38.579558 -3.352555)'))) / (select extract(epoch from '2026-05-28 09:25:43'::timestamp) - extract(epoch from '2026-05-28 09:25:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579582 -3.352457)', '2026-05-28 09:25:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579558 -3.352555)'), GeomFromEWKT('SRID=4674;POINT (-38.579582 -3.352457)'))) / (select extract(epoch from '2026-05-28 09:25:48'::timestamp) - extract(epoch from '2026-05-28 09:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579558 -3.352555)'), GeomFromEWKT('SRID=4674;POINT (-38.579582 -3.352457)'))) / (select extract(epoch from '2026-05-28 09:25:48'::timestamp) - extract(epoch from '2026-05-28 09:25:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579607 -3.352391)', '2026-05-28 09:25:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579582 -3.352457)'), GeomFromEWKT('SRID=4674;POINT (-38.579607 -3.352391)'))) / (select extract(epoch from '2026-05-28 09:25:51'::timestamp) - extract(epoch from '2026-05-28 09:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579582 -3.352457)'), GeomFromEWKT('SRID=4674;POINT (-38.579607 -3.352391)'))) / (select extract(epoch from '2026-05-28 09:25:51'::timestamp) - extract(epoch from '2026-05-28 09:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579611 -3.352352)', '2026-05-28 09:25:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579607 -3.352391)'), GeomFromEWKT('SRID=4674;POINT (-38.579611 -3.352352)'))) / (select extract(epoch from '2026-05-28 09:25:53'::timestamp) - extract(epoch from '2026-05-28 09:25:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579607 -3.352391)'), GeomFromEWKT('SRID=4674;POINT (-38.579611 -3.352352)'))) / (select extract(epoch from '2026-05-28 09:25:53'::timestamp) - extract(epoch from '2026-05-28 09:25:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579652 -3.352258)', '2026-05-28 09:25:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579611 -3.352352)'), GeomFromEWKT('SRID=4674;POINT (-38.579652 -3.352258)'))) / (select extract(epoch from '2026-05-28 09:25:57'::timestamp) - extract(epoch from '2026-05-28 09:25:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579611 -3.352352)'), GeomFromEWKT('SRID=4674;POINT (-38.579652 -3.352258)'))) / (select extract(epoch from '2026-05-28 09:25:57'::timestamp) - extract(epoch from '2026-05-28 09:25:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579673 -3.35218)', '2026-05-28 09:26:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579652 -3.352258)'), GeomFromEWKT('SRID=4674;POINT (-38.579673 -3.35218)'))) / (select extract(epoch from '2026-05-28 09:26:01'::timestamp) - extract(epoch from '2026-05-28 09:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579652 -3.352258)'), GeomFromEWKT('SRID=4674;POINT (-38.579673 -3.35218)'))) / (select extract(epoch from '2026-05-28 09:26:01'::timestamp) - extract(epoch from '2026-05-28 09:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579689 -3.35208)', '2026-05-28 09:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579673 -3.35218)'), GeomFromEWKT('SRID=4674;POINT (-38.579689 -3.35208)'))) / (select extract(epoch from '2026-05-28 09:26:06'::timestamp) - extract(epoch from '2026-05-28 09:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579673 -3.35218)'), GeomFromEWKT('SRID=4674;POINT (-38.579689 -3.35208)'))) / (select extract(epoch from '2026-05-28 09:26:06'::timestamp) - extract(epoch from '2026-05-28 09:26:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.5797 -3.351972)', '2026-05-28 09:26:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579689 -3.35208)'), GeomFromEWKT('SRID=4674;POINT (-38.5797 -3.351972)'))) / (select extract(epoch from '2026-05-28 09:26:11'::timestamp) - extract(epoch from '2026-05-28 09:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579689 -3.35208)'), GeomFromEWKT('SRID=4674;POINT (-38.5797 -3.351972)'))) / (select extract(epoch from '2026-05-28 09:26:11'::timestamp) - extract(epoch from '2026-05-28 09:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579709 -3.351858)', '2026-05-28 09:26:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5797 -3.351972)'), GeomFromEWKT('SRID=4674;POINT (-38.579709 -3.351858)'))) / (select extract(epoch from '2026-05-28 09:26:17'::timestamp) - extract(epoch from '2026-05-28 09:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5797 -3.351972)'), GeomFromEWKT('SRID=4674;POINT (-38.579709 -3.351858)'))) / (select extract(epoch from '2026-05-28 09:26:17'::timestamp) - extract(epoch from '2026-05-28 09:26:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57971 -3.351713)', '2026-05-28 09:26:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579709 -3.351858)'), GeomFromEWKT('SRID=4674;POINT (-38.57971 -3.351713)'))) / (select extract(epoch from '2026-05-28 09:26:24'::timestamp) - extract(epoch from '2026-05-28 09:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579709 -3.351858)'), GeomFromEWKT('SRID=4674;POINT (-38.57971 -3.351713)'))) / (select extract(epoch from '2026-05-28 09:26:24'::timestamp) - extract(epoch from '2026-05-28 09:26:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579697 -3.351548)', '2026-05-28 09:26:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57971 -3.351713)'), GeomFromEWKT('SRID=4674;POINT (-38.579697 -3.351548)'))) / (select extract(epoch from '2026-05-28 09:26:32'::timestamp) - extract(epoch from '2026-05-28 09:26:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57971 -3.351713)'), GeomFromEWKT('SRID=4674;POINT (-38.579697 -3.351548)'))) / (select extract(epoch from '2026-05-28 09:26:32'::timestamp) - extract(epoch from '2026-05-28 09:26:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579692 -3.35143)', '2026-05-28 09:26:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579697 -3.351548)'), GeomFromEWKT('SRID=4674;POINT (-38.579692 -3.35143)'))) / (select extract(epoch from '2026-05-28 09:26:37'::timestamp) - extract(epoch from '2026-05-28 09:26:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579697 -3.351548)'), GeomFromEWKT('SRID=4674;POINT (-38.579692 -3.35143)'))) / (select extract(epoch from '2026-05-28 09:26:37'::timestamp) - extract(epoch from '2026-05-28 09:26:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579697 -3.351315)', '2026-05-28 09:26:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579692 -3.35143)'), GeomFromEWKT('SRID=4674;POINT (-38.579697 -3.351315)'))) / (select extract(epoch from '2026-05-28 09:26:42'::timestamp) - extract(epoch from '2026-05-28 09:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579692 -3.35143)'), GeomFromEWKT('SRID=4674;POINT (-38.579697 -3.351315)'))) / (select extract(epoch from '2026-05-28 09:26:42'::timestamp) - extract(epoch from '2026-05-28 09:26:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579705 -3.351186)', '2026-05-28 09:26:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579697 -3.351315)'), GeomFromEWKT('SRID=4674;POINT (-38.579705 -3.351186)'))) / (select extract(epoch from '2026-05-28 09:26:48'::timestamp) - extract(epoch from '2026-05-28 09:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579697 -3.351315)'), GeomFromEWKT('SRID=4674;POINT (-38.579705 -3.351186)'))) / (select extract(epoch from '2026-05-28 09:26:48'::timestamp) - extract(epoch from '2026-05-28 09:26:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579698 -3.351111)', '2026-05-28 09:26:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579705 -3.351186)'), GeomFromEWKT('SRID=4674;POINT (-38.579698 -3.351111)'))) / (select extract(epoch from '2026-05-28 09:26:52'::timestamp) - extract(epoch from '2026-05-28 09:26:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579705 -3.351186)'), GeomFromEWKT('SRID=4674;POINT (-38.579698 -3.351111)'))) / (select extract(epoch from '2026-05-28 09:26:52'::timestamp) - extract(epoch from '2026-05-28 09:26:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579699 -3.351002)', '2026-05-28 09:26:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579698 -3.351111)'), GeomFromEWKT('SRID=4674;POINT (-38.579699 -3.351002)'))) / (select extract(epoch from '2026-05-28 09:26:57'::timestamp) - extract(epoch from '2026-05-28 09:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579698 -3.351111)'), GeomFromEWKT('SRID=4674;POINT (-38.579699 -3.351002)'))) / (select extract(epoch from '2026-05-28 09:26:57'::timestamp) - extract(epoch from '2026-05-28 09:26:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579709 -3.350882)', '2026-05-28 09:27:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579699 -3.351002)'), GeomFromEWKT('SRID=4674;POINT (-38.579709 -3.350882)'))) / (select extract(epoch from '2026-05-28 09:27:02'::timestamp) - extract(epoch from '2026-05-28 09:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579699 -3.351002)'), GeomFromEWKT('SRID=4674;POINT (-38.579709 -3.350882)'))) / (select extract(epoch from '2026-05-28 09:27:02'::timestamp) - extract(epoch from '2026-05-28 09:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579708 -3.350841)', '2026-05-28 09:27:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579709 -3.350882)'), GeomFromEWKT('SRID=4674;POINT (-38.579708 -3.350841)'))) / (select extract(epoch from '2026-05-28 09:27:04'::timestamp) - extract(epoch from '2026-05-28 09:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579709 -3.350882)'), GeomFromEWKT('SRID=4674;POINT (-38.579708 -3.350841)'))) / (select extract(epoch from '2026-05-28 09:27:04'::timestamp) - extract(epoch from '2026-05-28 09:27:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579724 -3.350795)', '2026-05-28 09:27:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579708 -3.350841)'), GeomFromEWKT('SRID=4674;POINT (-38.579724 -3.350795)'))) / (select extract(epoch from '2026-05-28 09:27:06'::timestamp) - extract(epoch from '2026-05-28 09:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579708 -3.350841)'), GeomFromEWKT('SRID=4674;POINT (-38.579724 -3.350795)'))) / (select extract(epoch from '2026-05-28 09:27:06'::timestamp) - extract(epoch from '2026-05-28 09:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579727 -3.350714)', '2026-05-28 09:27:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579724 -3.350795)'), GeomFromEWKT('SRID=4674;POINT (-38.579727 -3.350714)'))) / (select extract(epoch from '2026-05-28 09:27:10'::timestamp) - extract(epoch from '2026-05-28 09:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579724 -3.350795)'), GeomFromEWKT('SRID=4674;POINT (-38.579727 -3.350714)'))) / (select extract(epoch from '2026-05-28 09:27:10'::timestamp) - extract(epoch from '2026-05-28 09:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579735 -3.350584)', '2026-05-28 09:27:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579727 -3.350714)'), GeomFromEWKT('SRID=4674;POINT (-38.579735 -3.350584)'))) / (select extract(epoch from '2026-05-28 09:27:16'::timestamp) - extract(epoch from '2026-05-28 09:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579727 -3.350714)'), GeomFromEWKT('SRID=4674;POINT (-38.579735 -3.350584)'))) / (select extract(epoch from '2026-05-28 09:27:16'::timestamp) - extract(epoch from '2026-05-28 09:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579746 -3.350477)', '2026-05-28 09:27:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579735 -3.350584)'), GeomFromEWKT('SRID=4674;POINT (-38.579746 -3.350477)'))) / (select extract(epoch from '2026-05-28 09:27:21'::timestamp) - extract(epoch from '2026-05-28 09:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579735 -3.350584)'), GeomFromEWKT('SRID=4674;POINT (-38.579746 -3.350477)'))) / (select extract(epoch from '2026-05-28 09:27:21'::timestamp) - extract(epoch from '2026-05-28 09:27:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579748 -3.350396)', '2026-05-28 09:27:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579746 -3.350477)'), GeomFromEWKT('SRID=4674;POINT (-38.579748 -3.350396)'))) / (select extract(epoch from '2026-05-28 09:27:25'::timestamp) - extract(epoch from '2026-05-28 09:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579746 -3.350477)'), GeomFromEWKT('SRID=4674;POINT (-38.579748 -3.350396)'))) / (select extract(epoch from '2026-05-28 09:27:25'::timestamp) - extract(epoch from '2026-05-28 09:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579744 -3.350312)', '2026-05-28 09:27:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579748 -3.350396)'), GeomFromEWKT('SRID=4674;POINT (-38.579744 -3.350312)'))) / (select extract(epoch from '2026-05-28 09:27:29'::timestamp) - extract(epoch from '2026-05-28 09:27:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579748 -3.350396)'), GeomFromEWKT('SRID=4674;POINT (-38.579744 -3.350312)'))) / (select extract(epoch from '2026-05-28 09:27:29'::timestamp) - extract(epoch from '2026-05-28 09:27:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57975 -3.350197)', '2026-05-28 09:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579744 -3.350312)'), GeomFromEWKT('SRID=4674;POINT (-38.57975 -3.350197)'))) / (select extract(epoch from '2026-05-28 09:27:34'::timestamp) - extract(epoch from '2026-05-28 09:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579744 -3.350312)'), GeomFromEWKT('SRID=4674;POINT (-38.57975 -3.350197)'))) / (select extract(epoch from '2026-05-28 09:27:34'::timestamp) - extract(epoch from '2026-05-28 09:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579751 -3.350095)', '2026-05-28 09:27:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57975 -3.350197)'), GeomFromEWKT('SRID=4674;POINT (-38.579751 -3.350095)'))) / (select extract(epoch from '2026-05-28 09:27:39'::timestamp) - extract(epoch from '2026-05-28 09:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57975 -3.350197)'), GeomFromEWKT('SRID=4674;POINT (-38.579751 -3.350095)'))) / (select extract(epoch from '2026-05-28 09:27:39'::timestamp) - extract(epoch from '2026-05-28 09:27:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579745 -3.349992)', '2026-05-28 09:27:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579751 -3.350095)'), GeomFromEWKT('SRID=4674;POINT (-38.579745 -3.349992)'))) / (select extract(epoch from '2026-05-28 09:27:44'::timestamp) - extract(epoch from '2026-05-28 09:27:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579751 -3.350095)'), GeomFromEWKT('SRID=4674;POINT (-38.579745 -3.349992)'))) / (select extract(epoch from '2026-05-28 09:27:44'::timestamp) - extract(epoch from '2026-05-28 09:27:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57974 -3.349843)', '2026-05-28 09:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579745 -3.349992)'), GeomFromEWKT('SRID=4674;POINT (-38.57974 -3.349843)'))) / (select extract(epoch from '2026-05-28 09:27:51'::timestamp) - extract(epoch from '2026-05-28 09:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579745 -3.349992)'), GeomFromEWKT('SRID=4674;POINT (-38.57974 -3.349843)'))) / (select extract(epoch from '2026-05-28 09:27:51'::timestamp) - extract(epoch from '2026-05-28 09:27:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579738 -3.349724)', '2026-05-28 09:27:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57974 -3.349843)'), GeomFromEWKT('SRID=4674;POINT (-38.579738 -3.349724)'))) / (select extract(epoch from '2026-05-28 09:27:57'::timestamp) - extract(epoch from '2026-05-28 09:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57974 -3.349843)'), GeomFromEWKT('SRID=4674;POINT (-38.579738 -3.349724)'))) / (select extract(epoch from '2026-05-28 09:27:57'::timestamp) - extract(epoch from '2026-05-28 09:27:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579749 -3.349647)', '2026-05-28 09:28:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579738 -3.349724)'), GeomFromEWKT('SRID=4674;POINT (-38.579749 -3.349647)'))) / (select extract(epoch from '2026-05-28 09:28:01'::timestamp) - extract(epoch from '2026-05-28 09:27:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579738 -3.349724)'), GeomFromEWKT('SRID=4674;POINT (-38.579749 -3.349647)'))) / (select extract(epoch from '2026-05-28 09:28:01'::timestamp) - extract(epoch from '2026-05-28 09:27:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579759 -3.349547)', '2026-05-28 09:28:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579749 -3.349647)'), GeomFromEWKT('SRID=4674;POINT (-38.579759 -3.349547)'))) / (select extract(epoch from '2026-05-28 09:28:06'::timestamp) - extract(epoch from '2026-05-28 09:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579749 -3.349647)'), GeomFromEWKT('SRID=4674;POINT (-38.579759 -3.349547)'))) / (select extract(epoch from '2026-05-28 09:28:06'::timestamp) - extract(epoch from '2026-05-28 09:28:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579771 -3.349447)', '2026-05-28 09:28:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579759 -3.349547)'), GeomFromEWKT('SRID=4674;POINT (-38.579771 -3.349447)'))) / (select extract(epoch from '2026-05-28 09:28:11'::timestamp) - extract(epoch from '2026-05-28 09:28:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579759 -3.349547)'), GeomFromEWKT('SRID=4674;POINT (-38.579771 -3.349447)'))) / (select extract(epoch from '2026-05-28 09:28:11'::timestamp) - extract(epoch from '2026-05-28 09:28:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579805 -3.349294)', '2026-05-28 09:28:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579771 -3.349447)'), GeomFromEWKT('SRID=4674;POINT (-38.579805 -3.349294)'))) / (select extract(epoch from '2026-05-28 09:28:18'::timestamp) - extract(epoch from '2026-05-28 09:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579771 -3.349447)'), GeomFromEWKT('SRID=4674;POINT (-38.579805 -3.349294)'))) / (select extract(epoch from '2026-05-28 09:28:18'::timestamp) - extract(epoch from '2026-05-28 09:28:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579833 -3.349168)', '2026-05-28 09:28:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579805 -3.349294)'), GeomFromEWKT('SRID=4674;POINT (-38.579833 -3.349168)'))) / (select extract(epoch from '2026-05-28 09:28:24'::timestamp) - extract(epoch from '2026-05-28 09:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579805 -3.349294)'), GeomFromEWKT('SRID=4674;POINT (-38.579833 -3.349168)'))) / (select extract(epoch from '2026-05-28 09:28:24'::timestamp) - extract(epoch from '2026-05-28 09:28:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579863 -3.348984)', '2026-05-28 09:28:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579833 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-38.579863 -3.348984)'))) / (select extract(epoch from '2026-05-28 09:28:32'::timestamp) - extract(epoch from '2026-05-28 09:28:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579833 -3.349168)'), GeomFromEWKT('SRID=4674;POINT (-38.579863 -3.348984)'))) / (select extract(epoch from '2026-05-28 09:28:32'::timestamp) - extract(epoch from '2026-05-28 09:28:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579893 -3.348812)', '2026-05-28 09:28:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579863 -3.348984)'), GeomFromEWKT('SRID=4674;POINT (-38.579893 -3.348812)'))) / (select extract(epoch from '2026-05-28 09:28:40'::timestamp) - extract(epoch from '2026-05-28 09:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579863 -3.348984)'), GeomFromEWKT('SRID=4674;POINT (-38.579893 -3.348812)'))) / (select extract(epoch from '2026-05-28 09:28:40'::timestamp) - extract(epoch from '2026-05-28 09:28:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579908 -3.348682)', '2026-05-28 09:28:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579893 -3.348812)'), GeomFromEWKT('SRID=4674;POINT (-38.579908 -3.348682)'))) / (select extract(epoch from '2026-05-28 09:28:46'::timestamp) - extract(epoch from '2026-05-28 09:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579893 -3.348812)'), GeomFromEWKT('SRID=4674;POINT (-38.579908 -3.348682)'))) / (select extract(epoch from '2026-05-28 09:28:46'::timestamp) - extract(epoch from '2026-05-28 09:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579927 -3.348524)', '2026-05-28 09:28:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579908 -3.348682)'), GeomFromEWKT('SRID=4674;POINT (-38.579927 -3.348524)'))) / (select extract(epoch from '2026-05-28 09:28:53'::timestamp) - extract(epoch from '2026-05-28 09:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579908 -3.348682)'), GeomFromEWKT('SRID=4674;POINT (-38.579927 -3.348524)'))) / (select extract(epoch from '2026-05-28 09:28:53'::timestamp) - extract(epoch from '2026-05-28 09:28:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579939 -3.348362)', '2026-05-28 09:29:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579927 -3.348524)'), GeomFromEWKT('SRID=4674;POINT (-38.579939 -3.348362)'))) / (select extract(epoch from '2026-05-28 09:29:00'::timestamp) - extract(epoch from '2026-05-28 09:28:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579927 -3.348524)'), GeomFromEWKT('SRID=4674;POINT (-38.579939 -3.348362)'))) / (select extract(epoch from '2026-05-28 09:29:00'::timestamp) - extract(epoch from '2026-05-28 09:28:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57994 -3.348256)', '2026-05-28 09:29:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579939 -3.348362)'), GeomFromEWKT('SRID=4674;POINT (-38.57994 -3.348256)'))) / (select extract(epoch from '2026-05-28 09:29:05'::timestamp) - extract(epoch from '2026-05-28 09:29:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579939 -3.348362)'), GeomFromEWKT('SRID=4674;POINT (-38.57994 -3.348256)'))) / (select extract(epoch from '2026-05-28 09:29:05'::timestamp) - extract(epoch from '2026-05-28 09:29:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579937 -3.348151)', '2026-05-28 09:29:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57994 -3.348256)'), GeomFromEWKT('SRID=4674;POINT (-38.579937 -3.348151)'))) / (select extract(epoch from '2026-05-28 09:29:10'::timestamp) - extract(epoch from '2026-05-28 09:29:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57994 -3.348256)'), GeomFromEWKT('SRID=4674;POINT (-38.579937 -3.348151)'))) / (select extract(epoch from '2026-05-28 09:29:10'::timestamp) - extract(epoch from '2026-05-28 09:29:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579927 -3.348016)', '2026-05-28 09:29:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579937 -3.348151)'), GeomFromEWKT('SRID=4674;POINT (-38.579927 -3.348016)'))) / (select extract(epoch from '2026-05-28 09:29:16'::timestamp) - extract(epoch from '2026-05-28 09:29:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579937 -3.348151)'), GeomFromEWKT('SRID=4674;POINT (-38.579927 -3.348016)'))) / (select extract(epoch from '2026-05-28 09:29:16'::timestamp) - extract(epoch from '2026-05-28 09:29:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57991 -3.347911)', '2026-05-28 09:29:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579927 -3.348016)'), GeomFromEWKT('SRID=4674;POINT (-38.57991 -3.347911)'))) / (select extract(epoch from '2026-05-28 09:29:21'::timestamp) - extract(epoch from '2026-05-28 09:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579927 -3.348016)'), GeomFromEWKT('SRID=4674;POINT (-38.57991 -3.347911)'))) / (select extract(epoch from '2026-05-28 09:29:21'::timestamp) - extract(epoch from '2026-05-28 09:29:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579882 -3.347783)', '2026-05-28 09:29:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57991 -3.347911)'), GeomFromEWKT('SRID=4674;POINT (-38.579882 -3.347783)'))) / (select extract(epoch from '2026-05-28 09:29:27'::timestamp) - extract(epoch from '2026-05-28 09:29:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57991 -3.347911)'), GeomFromEWKT('SRID=4674;POINT (-38.579882 -3.347783)'))) / (select extract(epoch from '2026-05-28 09:29:27'::timestamp) - extract(epoch from '2026-05-28 09:29:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579878 -3.347646)', '2026-05-28 09:29:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579882 -3.347783)'), GeomFromEWKT('SRID=4674;POINT (-38.579878 -3.347646)'))) / (select extract(epoch from '2026-05-28 09:29:34'::timestamp) - extract(epoch from '2026-05-28 09:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579882 -3.347783)'), GeomFromEWKT('SRID=4674;POINT (-38.579878 -3.347646)'))) / (select extract(epoch from '2026-05-28 09:29:34'::timestamp) - extract(epoch from '2026-05-28 09:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579877 -3.347537)', '2026-05-28 09:29:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579878 -3.347646)'), GeomFromEWKT('SRID=4674;POINT (-38.579877 -3.347537)'))) / (select extract(epoch from '2026-05-28 09:29:39'::timestamp) - extract(epoch from '2026-05-28 09:29:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579878 -3.347646)'), GeomFromEWKT('SRID=4674;POINT (-38.579877 -3.347537)'))) / (select extract(epoch from '2026-05-28 09:29:39'::timestamp) - extract(epoch from '2026-05-28 09:29:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57987 -3.347389)', '2026-05-28 09:29:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579877 -3.347537)'), GeomFromEWKT('SRID=4674;POINT (-38.57987 -3.347389)'))) / (select extract(epoch from '2026-05-28 09:29:46'::timestamp) - extract(epoch from '2026-05-28 09:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579877 -3.347537)'), GeomFromEWKT('SRID=4674;POINT (-38.57987 -3.347389)'))) / (select extract(epoch from '2026-05-28 09:29:46'::timestamp) - extract(epoch from '2026-05-28 09:29:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579853 -3.347256)', '2026-05-28 09:29:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57987 -3.347389)'), GeomFromEWKT('SRID=4674;POINT (-38.579853 -3.347256)'))) / (select extract(epoch from '2026-05-28 09:29:53'::timestamp) - extract(epoch from '2026-05-28 09:29:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57987 -3.347389)'), GeomFromEWKT('SRID=4674;POINT (-38.579853 -3.347256)'))) / (select extract(epoch from '2026-05-28 09:29:53'::timestamp) - extract(epoch from '2026-05-28 09:29:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579839 -3.347158)', '2026-05-28 09:29:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579853 -3.347256)'), GeomFromEWKT('SRID=4674;POINT (-38.579839 -3.347158)'))) / (select extract(epoch from '2026-05-28 09:29:58'::timestamp) - extract(epoch from '2026-05-28 09:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579853 -3.347256)'), GeomFromEWKT('SRID=4674;POINT (-38.579839 -3.347158)'))) / (select extract(epoch from '2026-05-28 09:29:58'::timestamp) - extract(epoch from '2026-05-28 09:29:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579806 -3.346999)', '2026-05-28 09:30:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579839 -3.347158)'), GeomFromEWKT('SRID=4674;POINT (-38.579806 -3.346999)'))) / (select extract(epoch from '2026-05-28 09:30:06'::timestamp) - extract(epoch from '2026-05-28 09:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579839 -3.347158)'), GeomFromEWKT('SRID=4674;POINT (-38.579806 -3.346999)'))) / (select extract(epoch from '2026-05-28 09:30:06'::timestamp) - extract(epoch from '2026-05-28 09:29:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57978 -3.346882)', '2026-05-28 09:30:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579806 -3.346999)'), GeomFromEWKT('SRID=4674;POINT (-38.57978 -3.346882)'))) / (select extract(epoch from '2026-05-28 09:30:12'::timestamp) - extract(epoch from '2026-05-28 09:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579806 -3.346999)'), GeomFromEWKT('SRID=4674;POINT (-38.57978 -3.346882)'))) / (select extract(epoch from '2026-05-28 09:30:12'::timestamp) - extract(epoch from '2026-05-28 09:30:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579772 -3.346788)', '2026-05-28 09:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57978 -3.346882)'), GeomFromEWKT('SRID=4674;POINT (-38.579772 -3.346788)'))) / (select extract(epoch from '2026-05-28 09:30:16'::timestamp) - extract(epoch from '2026-05-28 09:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57978 -3.346882)'), GeomFromEWKT('SRID=4674;POINT (-38.579772 -3.346788)'))) / (select extract(epoch from '2026-05-28 09:30:16'::timestamp) - extract(epoch from '2026-05-28 09:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579755 -3.346677)', '2026-05-28 09:30:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579772 -3.346788)'), GeomFromEWKT('SRID=4674;POINT (-38.579755 -3.346677)'))) / (select extract(epoch from '2026-05-28 09:30:21'::timestamp) - extract(epoch from '2026-05-28 09:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579772 -3.346788)'), GeomFromEWKT('SRID=4674;POINT (-38.579755 -3.346677)'))) / (select extract(epoch from '2026-05-28 09:30:21'::timestamp) - extract(epoch from '2026-05-28 09:30:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579738 -3.346607)', '2026-05-28 09:30:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579755 -3.346677)'), GeomFromEWKT('SRID=4674;POINT (-38.579738 -3.346607)'))) / (select extract(epoch from '2026-05-28 09:30:25'::timestamp) - extract(epoch from '2026-05-28 09:30:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579755 -3.346677)'), GeomFromEWKT('SRID=4674;POINT (-38.579738 -3.346607)'))) / (select extract(epoch from '2026-05-28 09:30:25'::timestamp) - extract(epoch from '2026-05-28 09:30:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579714 -3.346474)', '2026-05-28 09:30:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579738 -3.346607)'), GeomFromEWKT('SRID=4674;POINT (-38.579714 -3.346474)'))) / (select extract(epoch from '2026-05-28 09:30:32'::timestamp) - extract(epoch from '2026-05-28 09:30:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579738 -3.346607)'), GeomFromEWKT('SRID=4674;POINT (-38.579714 -3.346474)'))) / (select extract(epoch from '2026-05-28 09:30:32'::timestamp) - extract(epoch from '2026-05-28 09:30:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579716 -3.346371)', '2026-05-28 09:30:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579714 -3.346474)'), GeomFromEWKT('SRID=4674;POINT (-38.579716 -3.346371)'))) / (select extract(epoch from '2026-05-28 09:30:37'::timestamp) - extract(epoch from '2026-05-28 09:30:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579714 -3.346474)'), GeomFromEWKT('SRID=4674;POINT (-38.579716 -3.346371)'))) / (select extract(epoch from '2026-05-28 09:30:37'::timestamp) - extract(epoch from '2026-05-28 09:30:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579731 -3.346261)', '2026-05-28 09:30:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579716 -3.346371)'), GeomFromEWKT('SRID=4674;POINT (-38.579731 -3.346261)'))) / (select extract(epoch from '2026-05-28 09:30:42'::timestamp) - extract(epoch from '2026-05-28 09:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579716 -3.346371)'), GeomFromEWKT('SRID=4674;POINT (-38.579731 -3.346261)'))) / (select extract(epoch from '2026-05-28 09:30:42'::timestamp) - extract(epoch from '2026-05-28 09:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579731 -3.346226)', '2026-05-28 09:30:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579731 -3.346261)'), GeomFromEWKT('SRID=4674;POINT (-38.579731 -3.346226)'))) / (select extract(epoch from '2026-05-28 09:30:44'::timestamp) - extract(epoch from '2026-05-28 09:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579731 -3.346261)'), GeomFromEWKT('SRID=4674;POINT (-38.579731 -3.346226)'))) / (select extract(epoch from '2026-05-28 09:30:44'::timestamp) - extract(epoch from '2026-05-28 09:30:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579746 -3.346182)', '2026-05-28 09:30:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579731 -3.346226)'), GeomFromEWKT('SRID=4674;POINT (-38.579746 -3.346182)'))) / (select extract(epoch from '2026-05-28 09:30:46'::timestamp) - extract(epoch from '2026-05-28 09:30:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579731 -3.346226)'), GeomFromEWKT('SRID=4674;POINT (-38.579746 -3.346182)'))) / (select extract(epoch from '2026-05-28 09:30:46'::timestamp) - extract(epoch from '2026-05-28 09:30:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57975 -3.346091)', '2026-05-28 09:30:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579746 -3.346182)'), GeomFromEWKT('SRID=4674;POINT (-38.57975 -3.346091)'))) / (select extract(epoch from '2026-05-28 09:30:50'::timestamp) - extract(epoch from '2026-05-28 09:30:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579746 -3.346182)'), GeomFromEWKT('SRID=4674;POINT (-38.57975 -3.346091)'))) / (select extract(epoch from '2026-05-28 09:30:50'::timestamp) - extract(epoch from '2026-05-28 09:30:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579766 -3.345977)', '2026-05-28 09:30:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57975 -3.346091)'), GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345977)'))) / (select extract(epoch from '2026-05-28 09:30:55'::timestamp) - extract(epoch from '2026-05-28 09:30:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57975 -3.346091)'), GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345977)'))) / (select extract(epoch from '2026-05-28 09:30:55'::timestamp) - extract(epoch from '2026-05-28 09:30:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579769 -3.345847)', '2026-05-28 09:31:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345977)'), GeomFromEWKT('SRID=4674;POINT (-38.579769 -3.345847)'))) / (select extract(epoch from '2026-05-28 09:31:01'::timestamp) - extract(epoch from '2026-05-28 09:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345977)'), GeomFromEWKT('SRID=4674;POINT (-38.579769 -3.345847)'))) / (select extract(epoch from '2026-05-28 09:31:01'::timestamp) - extract(epoch from '2026-05-28 09:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579766 -3.345719)', '2026-05-28 09:31:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579769 -3.345847)'), GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345719)'))) / (select extract(epoch from '2026-05-28 09:31:07'::timestamp) - extract(epoch from '2026-05-28 09:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579769 -3.345847)'), GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345719)'))) / (select extract(epoch from '2026-05-28 09:31:07'::timestamp) - extract(epoch from '2026-05-28 09:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57976 -3.34562)', '2026-05-28 09:31:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345719)'), GeomFromEWKT('SRID=4674;POINT (-38.57976 -3.34562)'))) / (select extract(epoch from '2026-05-28 09:31:12'::timestamp) - extract(epoch from '2026-05-28 09:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345719)'), GeomFromEWKT('SRID=4674;POINT (-38.57976 -3.34562)'))) / (select extract(epoch from '2026-05-28 09:31:12'::timestamp) - extract(epoch from '2026-05-28 09:31:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579766 -3.345471)', '2026-05-28 09:31:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57976 -3.34562)'), GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345471)'))) / (select extract(epoch from '2026-05-28 09:31:19'::timestamp) - extract(epoch from '2026-05-28 09:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57976 -3.34562)'), GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345471)'))) / (select extract(epoch from '2026-05-28 09:31:19'::timestamp) - extract(epoch from '2026-05-28 09:31:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579773 -3.345346)', '2026-05-28 09:31:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345471)'), GeomFromEWKT('SRID=4674;POINT (-38.579773 -3.345346)'))) / (select extract(epoch from '2026-05-28 09:31:25'::timestamp) - extract(epoch from '2026-05-28 09:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579766 -3.345471)'), GeomFromEWKT('SRID=4674;POINT (-38.579773 -3.345346)'))) / (select extract(epoch from '2026-05-28 09:31:25'::timestamp) - extract(epoch from '2026-05-28 09:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579777 -3.34522)', '2026-05-28 09:31:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579773 -3.345346)'), GeomFromEWKT('SRID=4674;POINT (-38.579777 -3.34522)'))) / (select extract(epoch from '2026-05-28 09:31:31'::timestamp) - extract(epoch from '2026-05-28 09:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579773 -3.345346)'), GeomFromEWKT('SRID=4674;POINT (-38.579777 -3.34522)'))) / (select extract(epoch from '2026-05-28 09:31:31'::timestamp) - extract(epoch from '2026-05-28 09:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579783 -3.345088)', '2026-05-28 09:31:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579777 -3.34522)'), GeomFromEWKT('SRID=4674;POINT (-38.579783 -3.345088)'))) / (select extract(epoch from '2026-05-28 09:31:37'::timestamp) - extract(epoch from '2026-05-28 09:31:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579777 -3.34522)'), GeomFromEWKT('SRID=4674;POINT (-38.579783 -3.345088)'))) / (select extract(epoch from '2026-05-28 09:31:37'::timestamp) - extract(epoch from '2026-05-28 09:31:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579792 -3.344931)', '2026-05-28 09:31:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579783 -3.345088)'), GeomFromEWKT('SRID=4674;POINT (-38.579792 -3.344931)'))) / (select extract(epoch from '2026-05-28 09:31:44'::timestamp) - extract(epoch from '2026-05-28 09:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579783 -3.345088)'), GeomFromEWKT('SRID=4674;POINT (-38.579792 -3.344931)'))) / (select extract(epoch from '2026-05-28 09:31:44'::timestamp) - extract(epoch from '2026-05-28 09:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579802 -3.344793)', '2026-05-28 09:31:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579792 -3.344931)'), GeomFromEWKT('SRID=4674;POINT (-38.579802 -3.344793)'))) / (select extract(epoch from '2026-05-28 09:31:50'::timestamp) - extract(epoch from '2026-05-28 09:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579792 -3.344931)'), GeomFromEWKT('SRID=4674;POINT (-38.579802 -3.344793)'))) / (select extract(epoch from '2026-05-28 09:31:50'::timestamp) - extract(epoch from '2026-05-28 09:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579819 -3.344639)', '2026-05-28 09:31:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579802 -3.344793)'), GeomFromEWKT('SRID=4674;POINT (-38.579819 -3.344639)'))) / (select extract(epoch from '2026-05-28 09:31:57'::timestamp) - extract(epoch from '2026-05-28 09:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579802 -3.344793)'), GeomFromEWKT('SRID=4674;POINT (-38.579819 -3.344639)'))) / (select extract(epoch from '2026-05-28 09:31:57'::timestamp) - extract(epoch from '2026-05-28 09:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57983 -3.344487)', '2026-05-28 09:32:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579819 -3.344639)'), GeomFromEWKT('SRID=4674;POINT (-38.57983 -3.344487)'))) / (select extract(epoch from '2026-05-28 09:32:04'::timestamp) - extract(epoch from '2026-05-28 09:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579819 -3.344639)'), GeomFromEWKT('SRID=4674;POINT (-38.57983 -3.344487)'))) / (select extract(epoch from '2026-05-28 09:32:04'::timestamp) - extract(epoch from '2026-05-28 09:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579853 -3.344366)', '2026-05-28 09:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57983 -3.344487)'), GeomFromEWKT('SRID=4674;POINT (-38.579853 -3.344366)'))) / (select extract(epoch from '2026-05-28 09:32:10'::timestamp) - extract(epoch from '2026-05-28 09:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57983 -3.344487)'), GeomFromEWKT('SRID=4674;POINT (-38.579853 -3.344366)'))) / (select extract(epoch from '2026-05-28 09:32:10'::timestamp) - extract(epoch from '2026-05-28 09:32:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579872 -3.344238)', '2026-05-28 09:32:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579853 -3.344366)'), GeomFromEWKT('SRID=4674;POINT (-38.579872 -3.344238)'))) / (select extract(epoch from '2026-05-28 09:32:16'::timestamp) - extract(epoch from '2026-05-28 09:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579853 -3.344366)'), GeomFromEWKT('SRID=4674;POINT (-38.579872 -3.344238)'))) / (select extract(epoch from '2026-05-28 09:32:16'::timestamp) - extract(epoch from '2026-05-28 09:32:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579881 -3.344134)', '2026-05-28 09:32:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579872 -3.344238)'), GeomFromEWKT('SRID=4674;POINT (-38.579881 -3.344134)'))) / (select extract(epoch from '2026-05-28 09:32:21'::timestamp) - extract(epoch from '2026-05-28 09:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579872 -3.344238)'), GeomFromEWKT('SRID=4674;POINT (-38.579881 -3.344134)'))) / (select extract(epoch from '2026-05-28 09:32:21'::timestamp) - extract(epoch from '2026-05-28 09:32:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579891 -3.344008)', '2026-05-28 09:32:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579881 -3.344134)'), GeomFromEWKT('SRID=4674;POINT (-38.579891 -3.344008)'))) / (select extract(epoch from '2026-05-28 09:32:27'::timestamp) - extract(epoch from '2026-05-28 09:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579881 -3.344134)'), GeomFromEWKT('SRID=4674;POINT (-38.579891 -3.344008)'))) / (select extract(epoch from '2026-05-28 09:32:27'::timestamp) - extract(epoch from '2026-05-28 09:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579903 -3.343817)', '2026-05-28 09:32:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579891 -3.344008)'), GeomFromEWKT('SRID=4674;POINT (-38.579903 -3.343817)'))) / (select extract(epoch from '2026-05-28 09:32:36'::timestamp) - extract(epoch from '2026-05-28 09:32:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579891 -3.344008)'), GeomFromEWKT('SRID=4674;POINT (-38.579903 -3.343817)'))) / (select extract(epoch from '2026-05-28 09:32:36'::timestamp) - extract(epoch from '2026-05-28 09:32:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579913 -3.343679)', '2026-05-28 09:32:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579903 -3.343817)'), GeomFromEWKT('SRID=4674;POINT (-38.579913 -3.343679)'))) / (select extract(epoch from '2026-05-28 09:32:42'::timestamp) - extract(epoch from '2026-05-28 09:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579903 -3.343817)'), GeomFromEWKT('SRID=4674;POINT (-38.579913 -3.343679)'))) / (select extract(epoch from '2026-05-28 09:32:42'::timestamp) - extract(epoch from '2026-05-28 09:32:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579916 -3.343559)', '2026-05-28 09:32:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579913 -3.343679)'), GeomFromEWKT('SRID=4674;POINT (-38.579916 -3.343559)'))) / (select extract(epoch from '2026-05-28 09:32:48'::timestamp) - extract(epoch from '2026-05-28 09:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579913 -3.343679)'), GeomFromEWKT('SRID=4674;POINT (-38.579916 -3.343559)'))) / (select extract(epoch from '2026-05-28 09:32:48'::timestamp) - extract(epoch from '2026-05-28 09:32:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579924 -3.343457)', '2026-05-28 09:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579916 -3.343559)'), GeomFromEWKT('SRID=4674;POINT (-38.579924 -3.343457)'))) / (select extract(epoch from '2026-05-28 09:32:52'::timestamp) - extract(epoch from '2026-05-28 09:32:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579916 -3.343559)'), GeomFromEWKT('SRID=4674;POINT (-38.579924 -3.343457)'))) / (select extract(epoch from '2026-05-28 09:32:52'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.579937 -3.343361)', '2026-05-28 09:32:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579924 -3.343457)'), GeomFromEWKT('SRID=4674;POINT (-38.579937 -3.343361)'))) / (select extract(epoch from '2026-05-28 09:32:56'::timestamp) - extract(epoch from '2026-05-28 09:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579924 -3.343457)'), GeomFromEWKT('SRID=4674;POINT (-38.579937 -3.343361)'))) / (select extract(epoch from '2026-05-28 09:32:56'::timestamp) - extract(epoch from '2026-05-28 09:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579955 -3.343274)', '2026-05-28 09:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579937 -3.343361)'), GeomFromEWKT('SRID=4674;POINT (-38.579955 -3.343274)'))) / (select extract(epoch from '2026-05-28 09:33:00'::timestamp) - extract(epoch from '2026-05-28 09:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579937 -3.343361)'), GeomFromEWKT('SRID=4674;POINT (-38.579955 -3.343274)'))) / (select extract(epoch from '2026-05-28 09:33:00'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.58 -3.34316)', '2026-05-28 09:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579955 -3.343274)'), GeomFromEWKT('SRID=4674;POINT (-38.58 -3.34316)'))) / (select extract(epoch from '2026-05-28 09:33:06'::timestamp) - extract(epoch from '2026-05-28 09:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579955 -3.343274)'), GeomFromEWKT('SRID=4674;POINT (-38.58 -3.34316)'))) / (select extract(epoch from '2026-05-28 09:33:06'::timestamp) - extract(epoch from '2026-05-28 09:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580038 -3.343063)', '2026-05-28 09:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58 -3.34316)'), GeomFromEWKT('SRID=4674;POINT (-38.580038 -3.343063)'))) / (select extract(epoch from '2026-05-28 09:33:11'::timestamp) - extract(epoch from '2026-05-28 09:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58 -3.34316)'), GeomFromEWKT('SRID=4674;POINT (-38.580038 -3.343063)'))) / (select extract(epoch from '2026-05-28 09:33:11'::timestamp) - extract(epoch from '2026-05-28 09:33:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580074 -3.34295)', '2026-05-28 09:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580038 -3.343063)'), GeomFromEWKT('SRID=4674;POINT (-38.580074 -3.34295)'))) / (select extract(epoch from '2026-05-28 09:33:17'::timestamp) - extract(epoch from '2026-05-28 09:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580038 -3.343063)'), GeomFromEWKT('SRID=4674;POINT (-38.580074 -3.34295)'))) / (select extract(epoch from '2026-05-28 09:33:17'::timestamp) - extract(epoch from '2026-05-28 09:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580117 -3.342801)', '2026-05-28 09:33:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580074 -3.34295)'), GeomFromEWKT('SRID=4674;POINT (-38.580117 -3.342801)'))) / (select extract(epoch from '2026-05-28 09:33:24'::timestamp) - extract(epoch from '2026-05-28 09:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580074 -3.34295)'), GeomFromEWKT('SRID=4674;POINT (-38.580117 -3.342801)'))) / (select extract(epoch from '2026-05-28 09:33:24'::timestamp) - extract(epoch from '2026-05-28 09:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58016 -3.34267)', '2026-05-28 09:33:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580117 -3.342801)'), GeomFromEWKT('SRID=4674;POINT (-38.58016 -3.34267)'))) / (select extract(epoch from '2026-05-28 09:33:30'::timestamp) - extract(epoch from '2026-05-28 09:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580117 -3.342801)'), GeomFromEWKT('SRID=4674;POINT (-38.58016 -3.34267)'))) / (select extract(epoch from '2026-05-28 09:33:30'::timestamp) - extract(epoch from '2026-05-28 09:33:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580193 -3.342538)', '2026-05-28 09:33:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58016 -3.34267)'), GeomFromEWKT('SRID=4674;POINT (-38.580193 -3.342538)'))) / (select extract(epoch from '2026-05-28 09:33:36'::timestamp) - extract(epoch from '2026-05-28 09:33:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58016 -3.34267)'), GeomFromEWKT('SRID=4674;POINT (-38.580193 -3.342538)'))) / (select extract(epoch from '2026-05-28 09:33:36'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.580223 -3.342405)', '2026-05-28 09:33:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580193 -3.342538)'), GeomFromEWKT('SRID=4674;POINT (-38.580223 -3.342405)'))) / (select extract(epoch from '2026-05-28 09:33:42'::timestamp) - extract(epoch from '2026-05-28 09:33:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580193 -3.342538)'), GeomFromEWKT('SRID=4674;POINT (-38.580223 -3.342405)'))) / (select extract(epoch from '2026-05-28 09:33:42'::timestamp) - extract(epoch from '2026-05-28 09:33:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580254 -3.342274)', '2026-05-28 09:33:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580223 -3.342405)'), GeomFromEWKT('SRID=4674;POINT (-38.580254 -3.342274)'))) / (select extract(epoch from '2026-05-28 09:33:48'::timestamp) - extract(epoch from '2026-05-28 09:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580223 -3.342405)'), GeomFromEWKT('SRID=4674;POINT (-38.580254 -3.342274)'))) / (select extract(epoch from '2026-05-28 09:33:48'::timestamp) - extract(epoch from '2026-05-28 09:33:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580304 -3.342127)', '2026-05-28 09:33:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580254 -3.342274)'), GeomFromEWKT('SRID=4674;POINT (-38.580304 -3.342127)'))) / (select extract(epoch from '2026-05-28 09:33:55'::timestamp) - extract(epoch from '2026-05-28 09:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580254 -3.342274)'), GeomFromEWKT('SRID=4674;POINT (-38.580304 -3.342127)'))) / (select extract(epoch from '2026-05-28 09:33:55'::timestamp) - extract(epoch from '2026-05-28 09:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580352 -3.341984)', '2026-05-28 09:34:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580304 -3.342127)'), GeomFromEWKT('SRID=4674;POINT (-38.580352 -3.341984)'))) / (select extract(epoch from '2026-05-28 09:34:02'::timestamp) - extract(epoch from '2026-05-28 09:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580304 -3.342127)'), GeomFromEWKT('SRID=4674;POINT (-38.580352 -3.341984)'))) / (select extract(epoch from '2026-05-28 09:34:02'::timestamp) - extract(epoch from '2026-05-28 09:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580395 -3.341839)', '2026-05-28 09:34:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580352 -3.341984)'), GeomFromEWKT('SRID=4674;POINT (-38.580395 -3.341839)'))) / (select extract(epoch from '2026-05-28 09:34:09'::timestamp) - extract(epoch from '2026-05-28 09:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580352 -3.341984)'), GeomFromEWKT('SRID=4674;POINT (-38.580395 -3.341839)'))) / (select extract(epoch from '2026-05-28 09:34:09'::timestamp) - extract(epoch from '2026-05-28 09:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58044 -3.341705)', '2026-05-28 09:34:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580395 -3.341839)'), GeomFromEWKT('SRID=4674;POINT (-38.58044 -3.341705)'))) / (select extract(epoch from '2026-05-28 09:34:15'::timestamp) - extract(epoch from '2026-05-28 09:34:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580395 -3.341839)'), GeomFromEWKT('SRID=4674;POINT (-38.58044 -3.341705)'))) / (select extract(epoch from '2026-05-28 09:34:15'::timestamp) - extract(epoch from '2026-05-28 09:34:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580484 -3.341577)', '2026-05-28 09:34:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58044 -3.341705)'), GeomFromEWKT('SRID=4674;POINT (-38.580484 -3.341577)'))) / (select extract(epoch from '2026-05-28 09:34:21'::timestamp) - extract(epoch from '2026-05-28 09:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58044 -3.341705)'), GeomFromEWKT('SRID=4674;POINT (-38.580484 -3.341577)'))) / (select extract(epoch from '2026-05-28 09:34:21'::timestamp) - extract(epoch from '2026-05-28 09:34:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580538 -3.341454)', '2026-05-28 09:34:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580484 -3.341577)'), GeomFromEWKT('SRID=4674;POINT (-38.580538 -3.341454)'))) / (select extract(epoch from '2026-05-28 09:34:27'::timestamp) - extract(epoch from '2026-05-28 09:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580484 -3.341577)'), GeomFromEWKT('SRID=4674;POINT (-38.580538 -3.341454)'))) / (select extract(epoch from '2026-05-28 09:34:27'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.580568 -3.341349)', '2026-05-28 09:34:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580538 -3.341454)'), GeomFromEWKT('SRID=4674;POINT (-38.580568 -3.341349)'))) / (select extract(epoch from '2026-05-28 09:34:32'::timestamp) - extract(epoch from '2026-05-28 09:34:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580538 -3.341454)'), GeomFromEWKT('SRID=4674;POINT (-38.580568 -3.341349)'))) / (select extract(epoch from '2026-05-28 09:34:32'::timestamp) - extract(epoch from '2026-05-28 09:34:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58061 -3.341235)', '2026-05-28 09:34:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580568 -3.341349)'), GeomFromEWKT('SRID=4674;POINT (-38.58061 -3.341235)'))) / (select extract(epoch from '2026-05-28 09:34:37'::timestamp) - extract(epoch from '2026-05-28 09:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580568 -3.341349)'), GeomFromEWKT('SRID=4674;POINT (-38.58061 -3.341235)'))) / (select extract(epoch from '2026-05-28 09:34:37'::timestamp) - extract(epoch from '2026-05-28 09:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58067 -3.341102)', '2026-05-28 09:34:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58061 -3.341235)'), GeomFromEWKT('SRID=4674;POINT (-38.58067 -3.341102)'))) / (select extract(epoch from '2026-05-28 09:34:43'::timestamp) - extract(epoch from '2026-05-28 09:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58061 -3.341235)'), GeomFromEWKT('SRID=4674;POINT (-38.58067 -3.341102)'))) / (select extract(epoch from '2026-05-28 09:34:43'::timestamp) - extract(epoch from '2026-05-28 09:34:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580727 -3.340924)', '2026-05-28 09:34:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58067 -3.341102)'), GeomFromEWKT('SRID=4674;POINT (-38.580727 -3.340924)'))) / (select extract(epoch from '2026-05-28 09:34:51'::timestamp) - extract(epoch from '2026-05-28 09:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58067 -3.341102)'), GeomFromEWKT('SRID=4674;POINT (-38.580727 -3.340924)'))) / (select extract(epoch from '2026-05-28 09:34:51'::timestamp) - extract(epoch from '2026-05-28 09:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580758 -3.34082)', '2026-05-28 09:34:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580727 -3.340924)'), GeomFromEWKT('SRID=4674;POINT (-38.580758 -3.34082)'))) / (select extract(epoch from '2026-05-28 09:34:56'::timestamp) - extract(epoch from '2026-05-28 09:34:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580727 -3.340924)'), GeomFromEWKT('SRID=4674;POINT (-38.580758 -3.34082)'))) / (select extract(epoch from '2026-05-28 09:34:56'::timestamp) - extract(epoch from '2026-05-28 09:34:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58078 -3.340737)', '2026-05-28 09:35:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580758 -3.34082)'), GeomFromEWKT('SRID=4674;POINT (-38.58078 -3.340737)'))) / (select extract(epoch from '2026-05-28 09:35:00'::timestamp) - extract(epoch from '2026-05-28 09:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580758 -3.34082)'), GeomFromEWKT('SRID=4674;POINT (-38.58078 -3.340737)'))) / (select extract(epoch from '2026-05-28 09:35:00'::timestamp) - extract(epoch from '2026-05-28 09:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580816 -3.340626)', '2026-05-28 09:35:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58078 -3.340737)'), GeomFromEWKT('SRID=4674;POINT (-38.580816 -3.340626)'))) / (select extract(epoch from '2026-05-28 09:35:05'::timestamp) - extract(epoch from '2026-05-28 09:35:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58078 -3.340737)'), GeomFromEWKT('SRID=4674;POINT (-38.580816 -3.340626)'))) / (select extract(epoch from '2026-05-28 09:35:05'::timestamp) - extract(epoch from '2026-05-28 09:35:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580863 -3.340497)', '2026-05-28 09:35:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580816 -3.340626)'), GeomFromEWKT('SRID=4674;POINT (-38.580863 -3.340497)'))) / (select extract(epoch from '2026-05-28 09:35:11'::timestamp) - extract(epoch from '2026-05-28 09:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580816 -3.340626)'), GeomFromEWKT('SRID=4674;POINT (-38.580863 -3.340497)'))) / (select extract(epoch from '2026-05-28 09:35:11'::timestamp) - extract(epoch from '2026-05-28 09:35:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580905 -3.340391)', '2026-05-28 09:35:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580863 -3.340497)'), GeomFromEWKT('SRID=4674;POINT (-38.580905 -3.340391)'))) / (select extract(epoch from '2026-05-28 09:35:16'::timestamp) - extract(epoch from '2026-05-28 09:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580863 -3.340497)'), GeomFromEWKT('SRID=4674;POINT (-38.580905 -3.340391)'))) / (select extract(epoch from '2026-05-28 09:35:16'::timestamp) - extract(epoch from '2026-05-28 09:35:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580959 -3.340268)', '2026-05-28 09:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580905 -3.340391)'), GeomFromEWKT('SRID=4674;POINT (-38.580959 -3.340268)'))) / (select extract(epoch from '2026-05-28 09:35:22'::timestamp) - extract(epoch from '2026-05-28 09:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580905 -3.340391)'), GeomFromEWKT('SRID=4674;POINT (-38.580959 -3.340268)'))) / (select extract(epoch from '2026-05-28 09:35:22'::timestamp) - extract(epoch from '2026-05-28 09:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581018 -3.340164)', '2026-05-28 09:35:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580959 -3.340268)'), GeomFromEWKT('SRID=4674;POINT (-38.581018 -3.340164)'))) / (select extract(epoch from '2026-05-28 09:35:27'::timestamp) - extract(epoch from '2026-05-28 09:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580959 -3.340268)'), GeomFromEWKT('SRID=4674;POINT (-38.581018 -3.340164)'))) / (select extract(epoch from '2026-05-28 09:35:27'::timestamp) - extract(epoch from '2026-05-28 09:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581078 -3.340058)', '2026-05-28 09:35:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581018 -3.340164)'), GeomFromEWKT('SRID=4674;POINT (-38.581078 -3.340058)'))) / (select extract(epoch from '2026-05-28 09:35:32'::timestamp) - extract(epoch from '2026-05-28 09:35:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581018 -3.340164)'), GeomFromEWKT('SRID=4674;POINT (-38.581078 -3.340058)'))) / (select extract(epoch from '2026-05-28 09:35:32'::timestamp) - extract(epoch from '2026-05-28 09:35:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581152 -3.339937)', '2026-05-28 09:35:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581078 -3.340058)'), GeomFromEWKT('SRID=4674;POINT (-38.581152 -3.339937)'))) / (select extract(epoch from '2026-05-28 09:35:38'::timestamp) - extract(epoch from '2026-05-28 09:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581078 -3.340058)'), GeomFromEWKT('SRID=4674;POINT (-38.581152 -3.339937)'))) / (select extract(epoch from '2026-05-28 09:35:38'::timestamp) - extract(epoch from '2026-05-28 09:35:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581214 -3.339809)', '2026-05-28 09:35:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581152 -3.339937)'), GeomFromEWKT('SRID=4674;POINT (-38.581214 -3.339809)'))) / (select extract(epoch from '2026-05-28 09:35:44'::timestamp) - extract(epoch from '2026-05-28 09:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581152 -3.339937)'), GeomFromEWKT('SRID=4674;POINT (-38.581214 -3.339809)'))) / (select extract(epoch from '2026-05-28 09:35:44'::timestamp) - extract(epoch from '2026-05-28 09:35:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581268 -3.339693)', '2026-05-28 09:35:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581214 -3.339809)'), GeomFromEWKT('SRID=4674;POINT (-38.581268 -3.339693)'))) / (select extract(epoch from '2026-05-28 09:35:49'::timestamp) - extract(epoch from '2026-05-28 09:35:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581214 -3.339809)'), GeomFromEWKT('SRID=4674;POINT (-38.581268 -3.339693)'))) / (select extract(epoch from '2026-05-28 09:35:49'::timestamp) - extract(epoch from '2026-05-28 09:35:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581331 -3.339577)', '2026-05-28 09:35:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581268 -3.339693)'), GeomFromEWKT('SRID=4674;POINT (-38.581331 -3.339577)'))) / (select extract(epoch from '2026-05-28 09:35:54'::timestamp) - extract(epoch from '2026-05-28 09:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581268 -3.339693)'), GeomFromEWKT('SRID=4674;POINT (-38.581331 -3.339577)'))) / (select extract(epoch from '2026-05-28 09:35:54'::timestamp) - extract(epoch from '2026-05-28 09:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581378 -3.339477)', '2026-05-28 09:35:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581331 -3.339577)'), GeomFromEWKT('SRID=4674;POINT (-38.581378 -3.339477)'))) / (select extract(epoch from '2026-05-28 09:35:59'::timestamp) - extract(epoch from '2026-05-28 09:35:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581331 -3.339577)'), GeomFromEWKT('SRID=4674;POINT (-38.581378 -3.339477)'))) / (select extract(epoch from '2026-05-28 09:35:59'::timestamp) - extract(epoch from '2026-05-28 09:35:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581426 -3.339374)', '2026-05-28 09:36:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581378 -3.339477)'), GeomFromEWKT('SRID=4674;POINT (-38.581426 -3.339374)'))) / (select extract(epoch from '2026-05-28 09:36:04'::timestamp) - extract(epoch from '2026-05-28 09:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581378 -3.339477)'), GeomFromEWKT('SRID=4674;POINT (-38.581426 -3.339374)'))) / (select extract(epoch from '2026-05-28 09:36:04'::timestamp) - extract(epoch from '2026-05-28 09:35:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581483 -3.339226)', '2026-05-28 09:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581426 -3.339374)'), GeomFromEWKT('SRID=4674;POINT (-38.581483 -3.339226)'))) / (select extract(epoch from '2026-05-28 09:36:11'::timestamp) - extract(epoch from '2026-05-28 09:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581426 -3.339374)'), GeomFromEWKT('SRID=4674;POINT (-38.581483 -3.339226)'))) / (select extract(epoch from '2026-05-28 09:36:11'::timestamp) - extract(epoch from '2026-05-28 09:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581527 -3.339077)', '2026-05-28 09:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581483 -3.339226)'), GeomFromEWKT('SRID=4674;POINT (-38.581527 -3.339077)'))) / (select extract(epoch from '2026-05-28 09:36:18'::timestamp) - extract(epoch from '2026-05-28 09:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581483 -3.339226)'), GeomFromEWKT('SRID=4674;POINT (-38.581527 -3.339077)'))) / (select extract(epoch from '2026-05-28 09:36:18'::timestamp) - extract(epoch from '2026-05-28 09:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581575 -3.338934)', '2026-05-28 09:36:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581527 -3.339077)'), GeomFromEWKT('SRID=4674;POINT (-38.581575 -3.338934)'))) / (select extract(epoch from '2026-05-28 09:36:25'::timestamp) - extract(epoch from '2026-05-28 09:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581527 -3.339077)'), GeomFromEWKT('SRID=4674;POINT (-38.581575 -3.338934)'))) / (select extract(epoch from '2026-05-28 09:36:25'::timestamp) - extract(epoch from '2026-05-28 09:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58161 -3.338812)', '2026-05-28 09:36:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581575 -3.338934)'), GeomFromEWKT('SRID=4674;POINT (-38.58161 -3.338812)'))) / (select extract(epoch from '2026-05-28 09:36:31'::timestamp) - extract(epoch from '2026-05-28 09:36:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581575 -3.338934)'), GeomFromEWKT('SRID=4674;POINT (-38.58161 -3.338812)'))) / (select extract(epoch from '2026-05-28 09:36:31'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.58163 -3.338681)', '2026-05-28 09:36:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58161 -3.338812)'), GeomFromEWKT('SRID=4674;POINT (-38.58163 -3.338681)'))) / (select extract(epoch from '2026-05-28 09:36:37'::timestamp) - extract(epoch from '2026-05-28 09:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58161 -3.338812)'), GeomFromEWKT('SRID=4674;POINT (-38.58163 -3.338681)'))) / (select extract(epoch from '2026-05-28 09:36:37'::timestamp) - extract(epoch from '2026-05-28 09:36:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581653 -3.338535)', '2026-05-28 09:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58163 -3.338681)'), GeomFromEWKT('SRID=4674;POINT (-38.581653 -3.338535)'))) / (select extract(epoch from '2026-05-28 09:36:44'::timestamp) - extract(epoch from '2026-05-28 09:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58163 -3.338681)'), GeomFromEWKT('SRID=4674;POINT (-38.581653 -3.338535)'))) / (select extract(epoch from '2026-05-28 09:36:44'::timestamp) - extract(epoch from '2026-05-28 09:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58168 -3.338413)', '2026-05-28 09:36:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581653 -3.338535)'), GeomFromEWKT('SRID=4674;POINT (-38.58168 -3.338413)'))) / (select extract(epoch from '2026-05-28 09:36:50'::timestamp) - extract(epoch from '2026-05-28 09:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581653 -3.338535)'), GeomFromEWKT('SRID=4674;POINT (-38.58168 -3.338413)'))) / (select extract(epoch from '2026-05-28 09:36:50'::timestamp) - extract(epoch from '2026-05-28 09:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581708 -3.338295)', '2026-05-28 09:36:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58168 -3.338413)'), GeomFromEWKT('SRID=4674;POINT (-38.581708 -3.338295)'))) / (select extract(epoch from '2026-05-28 09:36:55'::timestamp) - extract(epoch from '2026-05-28 09:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58168 -3.338413)'), GeomFromEWKT('SRID=4674;POINT (-38.581708 -3.338295)'))) / (select extract(epoch from '2026-05-28 09:36:55'::timestamp) - extract(epoch from '2026-05-28 09:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581738 -3.338183)', '2026-05-28 09:37:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581708 -3.338295)'), GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.338183)'))) / (select extract(epoch from '2026-05-28 09:37:00'::timestamp) - extract(epoch from '2026-05-28 09:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581708 -3.338295)'), GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.338183)'))) / (select extract(epoch from '2026-05-28 09:37:00'::timestamp) - extract(epoch from '2026-05-28 09:36:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581764 -3.338082)', '2026-05-28 09:37:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.338183)'), GeomFromEWKT('SRID=4674;POINT (-38.581764 -3.338082)'))) / (select extract(epoch from '2026-05-28 09:37:05'::timestamp) - extract(epoch from '2026-05-28 09:37:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581738 -3.338183)'), GeomFromEWKT('SRID=4674;POINT (-38.581764 -3.338082)'))) / (select extract(epoch from '2026-05-28 09:37:05'::timestamp) - extract(epoch from '2026-05-28 09:37:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581797 -3.337944)', '2026-05-28 09:37:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581764 -3.338082)'), GeomFromEWKT('SRID=4674;POINT (-38.581797 -3.337944)'))) / (select extract(epoch from '2026-05-28 09:37:11'::timestamp) - extract(epoch from '2026-05-28 09:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581764 -3.338082)'), GeomFromEWKT('SRID=4674;POINT (-38.581797 -3.337944)'))) / (select extract(epoch from '2026-05-28 09:37:11'::timestamp) - extract(epoch from '2026-05-28 09:37:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581843 -3.33775)', '2026-05-28 09:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581797 -3.337944)'), GeomFromEWKT('SRID=4674;POINT (-38.581843 -3.33775)'))) / (select extract(epoch from '2026-05-28 09:37:20'::timestamp) - extract(epoch from '2026-05-28 09:37:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581797 -3.337944)'), GeomFromEWKT('SRID=4674;POINT (-38.581843 -3.33775)'))) / (select extract(epoch from '2026-05-28 09:37:20'::timestamp) - extract(epoch from '2026-05-28 09:37:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581867 -3.337621)', '2026-05-28 09:37:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581843 -3.33775)'), GeomFromEWKT('SRID=4674;POINT (-38.581867 -3.337621)'))) / (select extract(epoch from '2026-05-28 09:37:26'::timestamp) - extract(epoch from '2026-05-28 09:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581843 -3.33775)'), GeomFromEWKT('SRID=4674;POINT (-38.581867 -3.337621)'))) / (select extract(epoch from '2026-05-28 09:37:26'::timestamp) - extract(epoch from '2026-05-28 09:37:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581877 -3.337505)', '2026-05-28 09:37:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581867 -3.337621)'), GeomFromEWKT('SRID=4674;POINT (-38.581877 -3.337505)'))) / (select extract(epoch from '2026-05-28 09:37:31'::timestamp) - extract(epoch from '2026-05-28 09:37:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581867 -3.337621)'), GeomFromEWKT('SRID=4674;POINT (-38.581877 -3.337505)'))) / (select extract(epoch from '2026-05-28 09:37:31'::timestamp) - extract(epoch from '2026-05-28 09:37:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581887 -3.337397)', '2026-05-28 09:37:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581877 -3.337505)'), GeomFromEWKT('SRID=4674;POINT (-38.581887 -3.337397)'))) / (select extract(epoch from '2026-05-28 09:37:36'::timestamp) - extract(epoch from '2026-05-28 09:37:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581877 -3.337505)'), GeomFromEWKT('SRID=4674;POINT (-38.581887 -3.337397)'))) / (select extract(epoch from '2026-05-28 09:37:36'::timestamp) - extract(epoch from '2026-05-28 09:37:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581902 -3.337255)', '2026-05-28 09:37:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581887 -3.337397)'), GeomFromEWKT('SRID=4674;POINT (-38.581902 -3.337255)'))) / (select extract(epoch from '2026-05-28 09:37:43'::timestamp) - extract(epoch from '2026-05-28 09:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581887 -3.337397)'), GeomFromEWKT('SRID=4674;POINT (-38.581902 -3.337255)'))) / (select extract(epoch from '2026-05-28 09:37:43'::timestamp) - extract(epoch from '2026-05-28 09:37:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581917 -3.337147)', '2026-05-28 09:37:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581902 -3.337255)'), GeomFromEWKT('SRID=4674;POINT (-38.581917 -3.337147)'))) / (select extract(epoch from '2026-05-28 09:37:48'::timestamp) - extract(epoch from '2026-05-28 09:37:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581902 -3.337255)'), GeomFromEWKT('SRID=4674;POINT (-38.581917 -3.337147)'))) / (select extract(epoch from '2026-05-28 09:37:48'::timestamp) - extract(epoch from '2026-05-28 09:37:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581928 -3.337038)', '2026-05-28 09:37:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581917 -3.337147)'), GeomFromEWKT('SRID=4674;POINT (-38.581928 -3.337038)'))) / (select extract(epoch from '2026-05-28 09:37:53'::timestamp) - extract(epoch from '2026-05-28 09:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581917 -3.337147)'), GeomFromEWKT('SRID=4674;POINT (-38.581928 -3.337038)'))) / (select extract(epoch from '2026-05-28 09:37:53'::timestamp) - extract(epoch from '2026-05-28 09:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58193 -3.336927)', '2026-05-28 09:37:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581928 -3.337038)'), GeomFromEWKT('SRID=4674;POINT (-38.58193 -3.336927)'))) / (select extract(epoch from '2026-05-28 09:37:58'::timestamp) - extract(epoch from '2026-05-28 09:37:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581928 -3.337038)'), GeomFromEWKT('SRID=4674;POINT (-38.58193 -3.336927)'))) / (select extract(epoch from '2026-05-28 09:37:58'::timestamp) - extract(epoch from '2026-05-28 09:37:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581945 -3.336784)', '2026-05-28 09:38:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58193 -3.336927)'), GeomFromEWKT('SRID=4674;POINT (-38.581945 -3.336784)'))) / (select extract(epoch from '2026-05-28 09:38:04'::timestamp) - extract(epoch from '2026-05-28 09:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58193 -3.336927)'), GeomFromEWKT('SRID=4674;POINT (-38.581945 -3.336784)'))) / (select extract(epoch from '2026-05-28 09:38:04'::timestamp) - extract(epoch from '2026-05-28 09:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581969 -3.336672)', '2026-05-28 09:38:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581945 -3.336784)'), GeomFromEWKT('SRID=4674;POINT (-38.581969 -3.336672)'))) / (select extract(epoch from '2026-05-28 09:38:09'::timestamp) - extract(epoch from '2026-05-28 09:38:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581945 -3.336784)'), GeomFromEWKT('SRID=4674;POINT (-38.581969 -3.336672)'))) / (select extract(epoch from '2026-05-28 09:38:09'::timestamp) - extract(epoch from '2026-05-28 09:38:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581975 -3.336567)', '2026-05-28 09:38:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581969 -3.336672)'), GeomFromEWKT('SRID=4674;POINT (-38.581975 -3.336567)'))) / (select extract(epoch from '2026-05-28 09:38:14'::timestamp) - extract(epoch from '2026-05-28 09:38:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581969 -3.336672)'), GeomFromEWKT('SRID=4674;POINT (-38.581975 -3.336567)'))) / (select extract(epoch from '2026-05-28 09:38:14'::timestamp) - extract(epoch from '2026-05-28 09:38:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581992 -3.336458)', '2026-05-28 09:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581975 -3.336567)'), GeomFromEWKT('SRID=4674;POINT (-38.581992 -3.336458)'))) / (select extract(epoch from '2026-05-28 09:38:19'::timestamp) - extract(epoch from '2026-05-28 09:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581975 -3.336567)'), GeomFromEWKT('SRID=4674;POINT (-38.581992 -3.336458)'))) / (select extract(epoch from '2026-05-28 09:38:19'::timestamp) - extract(epoch from '2026-05-28 09:38:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582012 -3.336305)', '2026-05-28 09:38:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581992 -3.336458)'), GeomFromEWKT('SRID=4674;POINT (-38.582012 -3.336305)'))) / (select extract(epoch from '2026-05-28 09:38:26'::timestamp) - extract(epoch from '2026-05-28 09:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581992 -3.336458)'), GeomFromEWKT('SRID=4674;POINT (-38.582012 -3.336305)'))) / (select extract(epoch from '2026-05-28 09:38:26'::timestamp) - extract(epoch from '2026-05-28 09:38:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582028 -3.336178)', '2026-05-28 09:38:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582012 -3.336305)'), GeomFromEWKT('SRID=4674;POINT (-38.582028 -3.336178)'))) / (select extract(epoch from '2026-05-28 09:38:32'::timestamp) - extract(epoch from '2026-05-28 09:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582012 -3.336305)'), GeomFromEWKT('SRID=4674;POINT (-38.582028 -3.336178)'))) / (select extract(epoch from '2026-05-28 09:38:32'::timestamp) - extract(epoch from '2026-05-28 09:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582034 -3.336049)', '2026-05-28 09:38:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582028 -3.336178)'), GeomFromEWKT('SRID=4674;POINT (-38.582034 -3.336049)'))) / (select extract(epoch from '2026-05-28 09:38:38'::timestamp) - extract(epoch from '2026-05-28 09:38:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582028 -3.336178)'), GeomFromEWKT('SRID=4674;POINT (-38.582034 -3.336049)'))) / (select extract(epoch from '2026-05-28 09:38:38'::timestamp) - extract(epoch from '2026-05-28 09:38:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582016 -3.335923)', '2026-05-28 09:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582034 -3.336049)'), GeomFromEWKT('SRID=4674;POINT (-38.582016 -3.335923)'))) / (select extract(epoch from '2026-05-28 09:38:44'::timestamp) - extract(epoch from '2026-05-28 09:38:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582034 -3.336049)'), GeomFromEWKT('SRID=4674;POINT (-38.582016 -3.335923)'))) / (select extract(epoch from '2026-05-28 09:38:44'::timestamp) - extract(epoch from '2026-05-28 09:38:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581997 -3.335791)', '2026-05-28 09:38:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582016 -3.335923)'), GeomFromEWKT('SRID=4674;POINT (-38.581997 -3.335791)'))) / (select extract(epoch from '2026-05-28 09:38:50'::timestamp) - extract(epoch from '2026-05-28 09:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582016 -3.335923)'), GeomFromEWKT('SRID=4674;POINT (-38.581997 -3.335791)'))) / (select extract(epoch from '2026-05-28 09:38:50'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581979 -3.335669)', '2026-05-28 09:38:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581997 -3.335791)'), GeomFromEWKT('SRID=4674;POINT (-38.581979 -3.335669)'))) / (select extract(epoch from '2026-05-28 09:38:56'::timestamp) - extract(epoch from '2026-05-28 09:38:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581997 -3.335791)'), GeomFromEWKT('SRID=4674;POINT (-38.581979 -3.335669)'))) / (select extract(epoch from '2026-05-28 09:38:56'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581959 -3.335526)', '2026-05-28 09:39:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581979 -3.335669)'), GeomFromEWKT('SRID=4674;POINT (-38.581959 -3.335526)'))) / (select extract(epoch from '2026-05-28 09:39:03'::timestamp) - extract(epoch from '2026-05-28 09:38:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581979 -3.335669)'), GeomFromEWKT('SRID=4674;POINT (-38.581959 -3.335526)'))) / (select extract(epoch from '2026-05-28 09:39:03'::timestamp) - extract(epoch from '2026-05-28 09:38:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581923 -3.335383)', '2026-05-28 09:39:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581959 -3.335526)'), GeomFromEWKT('SRID=4674;POINT (-38.581923 -3.335383)'))) / (select extract(epoch from '2026-05-28 09:39:10'::timestamp) - extract(epoch from '2026-05-28 09:39:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581959 -3.335526)'), GeomFromEWKT('SRID=4674;POINT (-38.581923 -3.335383)'))) / (select extract(epoch from '2026-05-28 09:39:10'::timestamp) - extract(epoch from '2026-05-28 09:39:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581906 -3.335276)', '2026-05-28 09:39:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581923 -3.335383)'), GeomFromEWKT('SRID=4674;POINT (-38.581906 -3.335276)'))) / (select extract(epoch from '2026-05-28 09:39:15'::timestamp) - extract(epoch from '2026-05-28 09:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581923 -3.335383)'), GeomFromEWKT('SRID=4674;POINT (-38.581906 -3.335276)'))) / (select extract(epoch from '2026-05-28 09:39:15'::timestamp) - extract(epoch from '2026-05-28 09:39:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581891 -3.335126)', '2026-05-28 09:39:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581906 -3.335276)'), GeomFromEWKT('SRID=4674;POINT (-38.581891 -3.335126)'))) / (select extract(epoch from '2026-05-28 09:39:22'::timestamp) - extract(epoch from '2026-05-28 09:39:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581906 -3.335276)'), GeomFromEWKT('SRID=4674;POINT (-38.581891 -3.335126)'))) / (select extract(epoch from '2026-05-28 09:39:22'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581873 -3.335007)', '2026-05-28 09:39:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581891 -3.335126)'), GeomFromEWKT('SRID=4674;POINT (-38.581873 -3.335007)'))) / (select extract(epoch from '2026-05-28 09:39:28'::timestamp) - extract(epoch from '2026-05-28 09:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581891 -3.335126)'), GeomFromEWKT('SRID=4674;POINT (-38.581873 -3.335007)'))) / (select extract(epoch from '2026-05-28 09:39:28'::timestamp) - extract(epoch from '2026-05-28 09:39:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581878 -3.334933)', '2026-05-28 09:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581873 -3.335007)'), GeomFromEWKT('SRID=4674;POINT (-38.581878 -3.334933)'))) / (select extract(epoch from '2026-05-28 09:39:32'::timestamp) - extract(epoch from '2026-05-28 09:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581873 -3.335007)'), GeomFromEWKT('SRID=4674;POINT (-38.581878 -3.334933)'))) / (select extract(epoch from '2026-05-28 09:39:32'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581871 -3.334892)', '2026-05-28 09:39:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581878 -3.334933)'), GeomFromEWKT('SRID=4674;POINT (-38.581871 -3.334892)'))) / (select extract(epoch from '2026-05-28 09:39:34'::timestamp) - extract(epoch from '2026-05-28 09:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581878 -3.334933)'), GeomFromEWKT('SRID=4674;POINT (-38.581871 -3.334892)'))) / (select extract(epoch from '2026-05-28 09:39:34'::timestamp) - extract(epoch from '2026-05-28 09:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581865 -3.334777)', '2026-05-28 09:39:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581871 -3.334892)'), GeomFromEWKT('SRID=4674;POINT (-38.581865 -3.334777)'))) / (select extract(epoch from '2026-05-28 09:39:39'::timestamp) - extract(epoch from '2026-05-28 09:39:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581871 -3.334892)'), GeomFromEWKT('SRID=4674;POINT (-38.581865 -3.334777)'))) / (select extract(epoch from '2026-05-28 09:39:39'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581848 -3.334626)', '2026-05-28 09:39:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581865 -3.334777)'), GeomFromEWKT('SRID=4674;POINT (-38.581848 -3.334626)'))) / (select extract(epoch from '2026-05-28 09:39:46'::timestamp) - extract(epoch from '2026-05-28 09:39:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581865 -3.334777)'), GeomFromEWKT('SRID=4674;POINT (-38.581848 -3.334626)'))) / (select extract(epoch from '2026-05-28 09:39:46'::timestamp) - extract(epoch from '2026-05-28 09:39:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581844 -3.334513)', '2026-05-28 09:39:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581848 -3.334626)'), GeomFromEWKT('SRID=4674;POINT (-38.581844 -3.334513)'))) / (select extract(epoch from '2026-05-28 09:39:51'::timestamp) - extract(epoch from '2026-05-28 09:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581848 -3.334626)'), GeomFromEWKT('SRID=4674;POINT (-38.581844 -3.334513)'))) / (select extract(epoch from '2026-05-28 09:39:51'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581844 -3.334498)', '2026-05-28 09:39:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581844 -3.334513)'), GeomFromEWKT('SRID=4674;POINT (-38.581844 -3.334498)'))) / (select extract(epoch from '2026-05-28 09:39:52'::timestamp) - extract(epoch from '2026-05-28 09:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581844 -3.334513)'), GeomFromEWKT('SRID=4674;POINT (-38.581844 -3.334498)'))) / (select extract(epoch from '2026-05-28 09:39:52'::timestamp) - extract(epoch from '2026-05-28 09:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581851 -3.334408)', '2026-05-28 09:39:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581844 -3.334498)'), GeomFromEWKT('SRID=4674;POINT (-38.581851 -3.334408)'))) / (select extract(epoch from '2026-05-28 09:39:56'::timestamp) - extract(epoch from '2026-05-28 09:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581844 -3.334498)'), GeomFromEWKT('SRID=4674;POINT (-38.581851 -3.334408)'))) / (select extract(epoch from '2026-05-28 09:39:56'::timestamp) - extract(epoch from '2026-05-28 09:39:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58185 -3.334299)', '2026-05-28 09:40:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581851 -3.334408)'), GeomFromEWKT('SRID=4674;POINT (-38.58185 -3.334299)'))) / (select extract(epoch from '2026-05-28 09:40:01'::timestamp) - extract(epoch from '2026-05-28 09:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581851 -3.334408)'), GeomFromEWKT('SRID=4674;POINT (-38.58185 -3.334299)'))) / (select extract(epoch from '2026-05-28 09:40:01'::timestamp) - extract(epoch from '2026-05-28 09:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581841 -3.334206)', '2026-05-28 09:40:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58185 -3.334299)'), GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.334206)'))) / (select extract(epoch from '2026-05-28 09:40:05'::timestamp) - extract(epoch from '2026-05-28 09:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58185 -3.334299)'), GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.334206)'))) / (select extract(epoch from '2026-05-28 09:40:05'::timestamp) - extract(epoch from '2026-05-28 09:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581839 -3.334071)', '2026-05-28 09:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.334206)'), GeomFromEWKT('SRID=4674;POINT (-38.581839 -3.334071)'))) / (select extract(epoch from '2026-05-28 09:40:11'::timestamp) - extract(epoch from '2026-05-28 09:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.334206)'), GeomFromEWKT('SRID=4674;POINT (-38.581839 -3.334071)'))) / (select extract(epoch from '2026-05-28 09:40:11'::timestamp) - extract(epoch from '2026-05-28 09:40:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581825 -3.333984)', '2026-05-28 09:40:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581839 -3.334071)'), GeomFromEWKT('SRID=4674;POINT (-38.581825 -3.333984)'))) / (select extract(epoch from '2026-05-28 09:40:15'::timestamp) - extract(epoch from '2026-05-28 09:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581839 -3.334071)'), GeomFromEWKT('SRID=4674;POINT (-38.581825 -3.333984)'))) / (select extract(epoch from '2026-05-28 09:40:15'::timestamp) - extract(epoch from '2026-05-28 09:40:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581829 -3.333962)', '2026-05-28 09:40:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581825 -3.333984)'), GeomFromEWKT('SRID=4674;POINT (-38.581829 -3.333962)'))) / (select extract(epoch from '2026-05-28 09:40:16'::timestamp) - extract(epoch from '2026-05-28 09:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581825 -3.333984)'), GeomFromEWKT('SRID=4674;POINT (-38.581829 -3.333962)'))) / (select extract(epoch from '2026-05-28 09:40:16'::timestamp) - extract(epoch from '2026-05-28 09:40:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581816 -3.333874)', '2026-05-28 09:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581829 -3.333962)'), GeomFromEWKT('SRID=4674;POINT (-38.581816 -3.333874)'))) / (select extract(epoch from '2026-05-28 09:40:20'::timestamp) - extract(epoch from '2026-05-28 09:40:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581829 -3.333962)'), GeomFromEWKT('SRID=4674;POINT (-38.581816 -3.333874)'))) / (select extract(epoch from '2026-05-28 09:40:20'::timestamp) - extract(epoch from '2026-05-28 09:40:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581792 -3.333741)', '2026-05-28 09:40:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581816 -3.333874)'), GeomFromEWKT('SRID=4674;POINT (-38.581792 -3.333741)'))) / (select extract(epoch from '2026-05-28 09:40:27'::timestamp) - extract(epoch from '2026-05-28 09:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581816 -3.333874)'), GeomFromEWKT('SRID=4674;POINT (-38.581792 -3.333741)'))) / (select extract(epoch from '2026-05-28 09:40:27'::timestamp) - extract(epoch from '2026-05-28 09:40:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581763 -3.333616)', '2026-05-28 09:40:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581792 -3.333741)'), GeomFromEWKT('SRID=4674;POINT (-38.581763 -3.333616)'))) / (select extract(epoch from '2026-05-28 09:40:33'::timestamp) - extract(epoch from '2026-05-28 09:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581792 -3.333741)'), GeomFromEWKT('SRID=4674;POINT (-38.581763 -3.333616)'))) / (select extract(epoch from '2026-05-28 09:40:33'::timestamp) - extract(epoch from '2026-05-28 09:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581746 -3.33351)', '2026-05-28 09:40:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581763 -3.333616)'), GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.33351)'))) / (select extract(epoch from '2026-05-28 09:40:38'::timestamp) - extract(epoch from '2026-05-28 09:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581763 -3.333616)'), GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.33351)'))) / (select extract(epoch from '2026-05-28 09:40:38'::timestamp) - extract(epoch from '2026-05-28 09:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581732 -3.333419)', '2026-05-28 09:40:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.33351)'), GeomFromEWKT('SRID=4674;POINT (-38.581732 -3.333419)'))) / (select extract(epoch from '2026-05-28 09:40:43'::timestamp) - extract(epoch from '2026-05-28 09:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581746 -3.33351)'), GeomFromEWKT('SRID=4674;POINT (-38.581732 -3.333419)'))) / (select extract(epoch from '2026-05-28 09:40:43'::timestamp) - extract(epoch from '2026-05-28 09:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581733 -3.333318)', '2026-05-28 09:40:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581732 -3.333419)'), GeomFromEWKT('SRID=4674;POINT (-38.581733 -3.333318)'))) / (select extract(epoch from '2026-05-28 09:40:48'::timestamp) - extract(epoch from '2026-05-28 09:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581732 -3.333419)'), GeomFromEWKT('SRID=4674;POINT (-38.581733 -3.333318)'))) / (select extract(epoch from '2026-05-28 09:40:48'::timestamp) - extract(epoch from '2026-05-28 09:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581731 -3.333192)', '2026-05-28 09:40:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581733 -3.333318)'), GeomFromEWKT('SRID=4674;POINT (-38.581731 -3.333192)'))) / (select extract(epoch from '2026-05-28 09:40:54'::timestamp) - extract(epoch from '2026-05-28 09:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581733 -3.333318)'), GeomFromEWKT('SRID=4674;POINT (-38.581731 -3.333192)'))) / (select extract(epoch from '2026-05-28 09:40:54'::timestamp) - extract(epoch from '2026-05-28 09:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581716 -3.333036)', '2026-05-28 09:41:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581731 -3.333192)'), GeomFromEWKT('SRID=4674;POINT (-38.581716 -3.333036)'))) / (select extract(epoch from '2026-05-28 09:41:01'::timestamp) - extract(epoch from '2026-05-28 09:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581731 -3.333192)'), GeomFromEWKT('SRID=4674;POINT (-38.581716 -3.333036)'))) / (select extract(epoch from '2026-05-28 09:41:01'::timestamp) - extract(epoch from '2026-05-28 09:40:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58171 -3.33286)', '2026-05-28 09:41:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581716 -3.333036)'), GeomFromEWKT('SRID=4674;POINT (-38.58171 -3.33286)'))) / (select extract(epoch from '2026-05-28 09:41:09'::timestamp) - extract(epoch from '2026-05-28 09:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581716 -3.333036)'), GeomFromEWKT('SRID=4674;POINT (-38.58171 -3.33286)'))) / (select extract(epoch from '2026-05-28 09:41:09'::timestamp) - extract(epoch from '2026-05-28 09:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581715 -3.332729)', '2026-05-28 09:41:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58171 -3.33286)'), GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.332729)'))) / (select extract(epoch from '2026-05-28 09:41:15'::timestamp) - extract(epoch from '2026-05-28 09:41:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58171 -3.33286)'), GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.332729)'))) / (select extract(epoch from '2026-05-28 09:41:15'::timestamp) - extract(epoch from '2026-05-28 09:41:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581712 -3.332602)', '2026-05-28 09:41:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.332729)'), GeomFromEWKT('SRID=4674;POINT (-38.581712 -3.332602)'))) / (select extract(epoch from '2026-05-28 09:41:21'::timestamp) - extract(epoch from '2026-05-28 09:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581715 -3.332729)'), GeomFromEWKT('SRID=4674;POINT (-38.581712 -3.332602)'))) / (select extract(epoch from '2026-05-28 09:41:21'::timestamp) - extract(epoch from '2026-05-28 09:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581705 -3.332472)', '2026-05-28 09:41:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581712 -3.332602)'), GeomFromEWKT('SRID=4674;POINT (-38.581705 -3.332472)'))) / (select extract(epoch from '2026-05-28 09:41:27'::timestamp) - extract(epoch from '2026-05-28 09:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581712 -3.332602)'), GeomFromEWKT('SRID=4674;POINT (-38.581705 -3.332472)'))) / (select extract(epoch from '2026-05-28 09:41:27'::timestamp) - extract(epoch from '2026-05-28 09:41:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581707 -3.332357)', '2026-05-28 09:41:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581705 -3.332472)'), GeomFromEWKT('SRID=4674;POINT (-38.581707 -3.332357)'))) / (select extract(epoch from '2026-05-28 09:41:32'::timestamp) - extract(epoch from '2026-05-28 09:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581705 -3.332472)'), GeomFromEWKT('SRID=4674;POINT (-38.581707 -3.332357)'))) / (select extract(epoch from '2026-05-28 09:41:32'::timestamp) - extract(epoch from '2026-05-28 09:41:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581702 -3.332229)', '2026-05-28 09:41:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581707 -3.332357)'), GeomFromEWKT('SRID=4674;POINT (-38.581702 -3.332229)'))) / (select extract(epoch from '2026-05-28 09:41:38'::timestamp) - extract(epoch from '2026-05-28 09:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581707 -3.332357)'), GeomFromEWKT('SRID=4674;POINT (-38.581702 -3.332229)'))) / (select extract(epoch from '2026-05-28 09:41:38'::timestamp) - extract(epoch from '2026-05-28 09:41:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581697 -3.332101)', '2026-05-28 09:41:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581702 -3.332229)'), GeomFromEWKT('SRID=4674;POINT (-38.581697 -3.332101)'))) / (select extract(epoch from '2026-05-28 09:41:44'::timestamp) - extract(epoch from '2026-05-28 09:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581702 -3.332229)'), GeomFromEWKT('SRID=4674;POINT (-38.581697 -3.332101)'))) / (select extract(epoch from '2026-05-28 09:41:44'::timestamp) - extract(epoch from '2026-05-28 09:41:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581684 -3.331959)', '2026-05-28 09:41:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581697 -3.332101)'), GeomFromEWKT('SRID=4674;POINT (-38.581684 -3.331959)'))) / (select extract(epoch from '2026-05-28 09:41:51'::timestamp) - extract(epoch from '2026-05-28 09:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581697 -3.332101)'), GeomFromEWKT('SRID=4674;POINT (-38.581684 -3.331959)'))) / (select extract(epoch from '2026-05-28 09:41:51'::timestamp) - extract(epoch from '2026-05-28 09:41:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581686 -3.331859)', '2026-05-28 09:41:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581684 -3.331959)'), GeomFromEWKT('SRID=4674;POINT (-38.581686 -3.331859)'))) / (select extract(epoch from '2026-05-28 09:41:56'::timestamp) - extract(epoch from '2026-05-28 09:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581684 -3.331959)'), GeomFromEWKT('SRID=4674;POINT (-38.581686 -3.331859)'))) / (select extract(epoch from '2026-05-28 09:41:56'::timestamp) - extract(epoch from '2026-05-28 09:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58169 -3.33174)', '2026-05-28 09:42:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581686 -3.331859)'), GeomFromEWKT('SRID=4674;POINT (-38.58169 -3.33174)'))) / (select extract(epoch from '2026-05-28 09:42:02'::timestamp) - extract(epoch from '2026-05-28 09:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581686 -3.331859)'), GeomFromEWKT('SRID=4674;POINT (-38.58169 -3.33174)'))) / (select extract(epoch from '2026-05-28 09:42:02'::timestamp) - extract(epoch from '2026-05-28 09:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581691 -3.331719)', '2026-05-28 09:42:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58169 -3.33174)'), GeomFromEWKT('SRID=4674;POINT (-38.581691 -3.331719)'))) / (select extract(epoch from '2026-05-28 09:42:03'::timestamp) - extract(epoch from '2026-05-28 09:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58169 -3.33174)'), GeomFromEWKT('SRID=4674;POINT (-38.581691 -3.331719)'))) / (select extract(epoch from '2026-05-28 09:42:03'::timestamp) - extract(epoch from '2026-05-28 09:42:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581697 -3.331648)', '2026-05-28 09:42:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581691 -3.331719)'), GeomFromEWKT('SRID=4674;POINT (-38.581697 -3.331648)'))) / (select extract(epoch from '2026-05-28 09:42:06'::timestamp) - extract(epoch from '2026-05-28 09:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581691 -3.331719)'), GeomFromEWKT('SRID=4674;POINT (-38.581697 -3.331648)'))) / (select extract(epoch from '2026-05-28 09:42:06'::timestamp) - extract(epoch from '2026-05-28 09:42:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581698 -3.331535)', '2026-05-28 09:42:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581697 -3.331648)'), GeomFromEWKT('SRID=4674;POINT (-38.581698 -3.331535)'))) / (select extract(epoch from '2026-05-28 09:42:12'::timestamp) - extract(epoch from '2026-05-28 09:42:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581697 -3.331648)'), GeomFromEWKT('SRID=4674;POINT (-38.581698 -3.331535)'))) / (select extract(epoch from '2026-05-28 09:42:12'::timestamp) - extract(epoch from '2026-05-28 09:42:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581701 -3.331476)', '2026-05-28 09:42:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581698 -3.331535)'), GeomFromEWKT('SRID=4674;POINT (-38.581701 -3.331476)'))) / (select extract(epoch from '2026-05-28 09:42:15'::timestamp) - extract(epoch from '2026-05-28 09:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581698 -3.331535)'), GeomFromEWKT('SRID=4674;POINT (-38.581701 -3.331476)'))) / (select extract(epoch from '2026-05-28 09:42:15'::timestamp) - extract(epoch from '2026-05-28 09:42:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581717 -3.331434)', '2026-05-28 09:42:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581701 -3.331476)'), GeomFromEWKT('SRID=4674;POINT (-38.581717 -3.331434)'))) / (select extract(epoch from '2026-05-28 09:42:17'::timestamp) - extract(epoch from '2026-05-28 09:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581701 -3.331476)'), GeomFromEWKT('SRID=4674;POINT (-38.581717 -3.331434)'))) / (select extract(epoch from '2026-05-28 09:42:17'::timestamp) - extract(epoch from '2026-05-28 09:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581725 -3.331355)', '2026-05-28 09:42:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581717 -3.331434)'), GeomFromEWKT('SRID=4674;POINT (-38.581725 -3.331355)'))) / (select extract(epoch from '2026-05-28 09:42:21'::timestamp) - extract(epoch from '2026-05-28 09:42:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581717 -3.331434)'), GeomFromEWKT('SRID=4674;POINT (-38.581725 -3.331355)'))) / (select extract(epoch from '2026-05-28 09:42:21'::timestamp) - extract(epoch from '2026-05-28 09:42:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581732 -3.331255)', '2026-05-28 09:42:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581725 -3.331355)'), GeomFromEWKT('SRID=4674;POINT (-38.581732 -3.331255)'))) / (select extract(epoch from '2026-05-28 09:42:26'::timestamp) - extract(epoch from '2026-05-28 09:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581725 -3.331355)'), GeomFromEWKT('SRID=4674;POINT (-38.581732 -3.331255)'))) / (select extract(epoch from '2026-05-28 09:42:26'::timestamp) - extract(epoch from '2026-05-28 09:42:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58172 -3.331153)', '2026-05-28 09:42:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581732 -3.331255)'), GeomFromEWKT('SRID=4674;POINT (-38.58172 -3.331153)'))) / (select extract(epoch from '2026-05-28 09:42:31'::timestamp) - extract(epoch from '2026-05-28 09:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581732 -3.331255)'), GeomFromEWKT('SRID=4674;POINT (-38.58172 -3.331153)'))) / (select extract(epoch from '2026-05-28 09:42:31'::timestamp) - extract(epoch from '2026-05-28 09:42:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581717 -3.33103)', '2026-05-28 09:42:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58172 -3.331153)'), GeomFromEWKT('SRID=4674;POINT (-38.581717 -3.33103)'))) / (select extract(epoch from '2026-05-28 09:42:37'::timestamp) - extract(epoch from '2026-05-28 09:42:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58172 -3.331153)'), GeomFromEWKT('SRID=4674;POINT (-38.581717 -3.33103)'))) / (select extract(epoch from '2026-05-28 09:42:37'::timestamp) - extract(epoch from '2026-05-28 09:42:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581726 -3.330905)', '2026-05-28 09:42:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581717 -3.33103)'), GeomFromEWKT('SRID=4674;POINT (-38.581726 -3.330905)'))) / (select extract(epoch from '2026-05-28 09:42:43'::timestamp) - extract(epoch from '2026-05-28 09:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581717 -3.33103)'), GeomFromEWKT('SRID=4674;POINT (-38.581726 -3.330905)'))) / (select extract(epoch from '2026-05-28 09:42:43'::timestamp) - extract(epoch from '2026-05-28 09:42:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581719 -3.330873)', '2026-05-28 09:42:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581726 -3.330905)'), GeomFromEWKT('SRID=4674;POINT (-38.581719 -3.330873)'))) / (select extract(epoch from '2026-05-28 09:42:45'::timestamp) - extract(epoch from '2026-05-28 09:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581726 -3.330905)'), GeomFromEWKT('SRID=4674;POINT (-38.581719 -3.330873)'))) / (select extract(epoch from '2026-05-28 09:42:45'::timestamp) - extract(epoch from '2026-05-28 09:42:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581729 -3.330833)', '2026-05-28 09:42:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581719 -3.330873)'), GeomFromEWKT('SRID=4674;POINT (-38.581729 -3.330833)'))) / (select extract(epoch from '2026-05-28 09:42:47'::timestamp) - extract(epoch from '2026-05-28 09:42:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581719 -3.330873)'), GeomFromEWKT('SRID=4674;POINT (-38.581729 -3.330833)'))) / (select extract(epoch from '2026-05-28 09:42:47'::timestamp) - extract(epoch from '2026-05-28 09:42:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581722 -3.330729)', '2026-05-28 09:42:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581729 -3.330833)'), GeomFromEWKT('SRID=4674;POINT (-38.581722 -3.330729)'))) / (select extract(epoch from '2026-05-28 09:42:52'::timestamp) - extract(epoch from '2026-05-28 09:42:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581729 -3.330833)'), GeomFromEWKT('SRID=4674;POINT (-38.581722 -3.330729)'))) / (select extract(epoch from '2026-05-28 09:42:52'::timestamp) - extract(epoch from '2026-05-28 09:42:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581712 -3.330626)', '2026-05-28 09:42:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581722 -3.330729)'), GeomFromEWKT('SRID=4674;POINT (-38.581712 -3.330626)'))) / (select extract(epoch from '2026-05-28 09:42:57'::timestamp) - extract(epoch from '2026-05-28 09:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581722 -3.330729)'), GeomFromEWKT('SRID=4674;POINT (-38.581712 -3.330626)'))) / (select extract(epoch from '2026-05-28 09:42:57'::timestamp) - extract(epoch from '2026-05-28 09:42:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581688 -3.330497)', '2026-05-28 09:43:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581712 -3.330626)'), GeomFromEWKT('SRID=4674;POINT (-38.581688 -3.330497)'))) / (select extract(epoch from '2026-05-28 09:43:03'::timestamp) - extract(epoch from '2026-05-28 09:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581712 -3.330626)'), GeomFromEWKT('SRID=4674;POINT (-38.581688 -3.330497)'))) / (select extract(epoch from '2026-05-28 09:43:03'::timestamp) - extract(epoch from '2026-05-28 09:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581664 -3.330363)', '2026-05-28 09:43:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581688 -3.330497)'), GeomFromEWKT('SRID=4674;POINT (-38.581664 -3.330363)'))) / (select extract(epoch from '2026-05-28 09:43:10'::timestamp) - extract(epoch from '2026-05-28 09:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581688 -3.330497)'), GeomFromEWKT('SRID=4674;POINT (-38.581664 -3.330363)'))) / (select extract(epoch from '2026-05-28 09:43:10'::timestamp) - extract(epoch from '2026-05-28 09:43:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581644 -3.330175)', '2026-05-28 09:43:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581664 -3.330363)'), GeomFromEWKT('SRID=4674;POINT (-38.581644 -3.330175)'))) / (select extract(epoch from '2026-05-28 09:43:19'::timestamp) - extract(epoch from '2026-05-28 09:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581664 -3.330363)'), GeomFromEWKT('SRID=4674;POINT (-38.581644 -3.330175)'))) / (select extract(epoch from '2026-05-28 09:43:19'::timestamp) - extract(epoch from '2026-05-28 09:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58163 -3.330055)', '2026-05-28 09:43:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581644 -3.330175)'), GeomFromEWKT('SRID=4674;POINT (-38.58163 -3.330055)'))) / (select extract(epoch from '2026-05-28 09:43:25'::timestamp) - extract(epoch from '2026-05-28 09:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581644 -3.330175)'), GeomFromEWKT('SRID=4674;POINT (-38.58163 -3.330055)'))) / (select extract(epoch from '2026-05-28 09:43:25'::timestamp) - extract(epoch from '2026-05-28 09:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581615 -3.329952)', '2026-05-28 09:43:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58163 -3.330055)'), GeomFromEWKT('SRID=4674;POINT (-38.581615 -3.329952)'))) / (select extract(epoch from '2026-05-28 09:43:30'::timestamp) - extract(epoch from '2026-05-28 09:43:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58163 -3.330055)'), GeomFromEWKT('SRID=4674;POINT (-38.581615 -3.329952)'))) / (select extract(epoch from '2026-05-28 09:43:30'::timestamp) - extract(epoch from '2026-05-28 09:43:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581597 -3.329796)', '2026-05-28 09:43:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581615 -3.329952)'), GeomFromEWKT('SRID=4674;POINT (-38.581597 -3.329796)'))) / (select extract(epoch from '2026-05-28 09:43:38'::timestamp) - extract(epoch from '2026-05-28 09:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581615 -3.329952)'), GeomFromEWKT('SRID=4674;POINT (-38.581597 -3.329796)'))) / (select extract(epoch from '2026-05-28 09:43:38'::timestamp) - extract(epoch from '2026-05-28 09:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581578 -3.329669)', '2026-05-28 09:43:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581597 -3.329796)'), GeomFromEWKT('SRID=4674;POINT (-38.581578 -3.329669)'))) / (select extract(epoch from '2026-05-28 09:43:45'::timestamp) - extract(epoch from '2026-05-28 09:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581597 -3.329796)'), GeomFromEWKT('SRID=4674;POINT (-38.581578 -3.329669)'))) / (select extract(epoch from '2026-05-28 09:43:45'::timestamp) - extract(epoch from '2026-05-28 09:43:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581559 -3.329543)', '2026-05-28 09:43:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581578 -3.329669)'), GeomFromEWKT('SRID=4674;POINT (-38.581559 -3.329543)'))) / (select extract(epoch from '2026-05-28 09:43:51'::timestamp) - extract(epoch from '2026-05-28 09:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581578 -3.329669)'), GeomFromEWKT('SRID=4674;POINT (-38.581559 -3.329543)'))) / (select extract(epoch from '2026-05-28 09:43:51'::timestamp) - extract(epoch from '2026-05-28 09:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581534 -3.329398)', '2026-05-28 09:43:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581559 -3.329543)'), GeomFromEWKT('SRID=4674;POINT (-38.581534 -3.329398)'))) / (select extract(epoch from '2026-05-28 09:43:58'::timestamp) - extract(epoch from '2026-05-28 09:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581559 -3.329543)'), GeomFromEWKT('SRID=4674;POINT (-38.581534 -3.329398)'))) / (select extract(epoch from '2026-05-28 09:43:58'::timestamp) - extract(epoch from '2026-05-28 09:43:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581532 -3.329378)', '2026-05-28 09:43:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581534 -3.329398)'), GeomFromEWKT('SRID=4674;POINT (-38.581532 -3.329378)'))) / (select extract(epoch from '2026-05-28 09:43:59'::timestamp) - extract(epoch from '2026-05-28 09:43:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581534 -3.329398)'), GeomFromEWKT('SRID=4674;POINT (-38.581532 -3.329378)'))) / (select extract(epoch from '2026-05-28 09:43:59'::timestamp) - extract(epoch from '2026-05-28 09:43:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581519 -3.329295)', '2026-05-28 09:44:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581532 -3.329378)'), GeomFromEWKT('SRID=4674;POINT (-38.581519 -3.329295)'))) / (select extract(epoch from '2026-05-28 09:44:03'::timestamp) - extract(epoch from '2026-05-28 09:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581532 -3.329378)'), GeomFromEWKT('SRID=4674;POINT (-38.581519 -3.329295)'))) / (select extract(epoch from '2026-05-28 09:44:03'::timestamp) - extract(epoch from '2026-05-28 09:43:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581513 -3.329189)', '2026-05-28 09:44:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581519 -3.329295)'), GeomFromEWKT('SRID=4674;POINT (-38.581513 -3.329189)'))) / (select extract(epoch from '2026-05-28 09:44:08'::timestamp) - extract(epoch from '2026-05-28 09:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581519 -3.329295)'), GeomFromEWKT('SRID=4674;POINT (-38.581513 -3.329189)'))) / (select extract(epoch from '2026-05-28 09:44:08'::timestamp) - extract(epoch from '2026-05-28 09:44:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58151 -3.329069)', '2026-05-28 09:44:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581513 -3.329189)'), GeomFromEWKT('SRID=4674;POINT (-38.58151 -3.329069)'))) / (select extract(epoch from '2026-05-28 09:44:14'::timestamp) - extract(epoch from '2026-05-28 09:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581513 -3.329189)'), GeomFromEWKT('SRID=4674;POINT (-38.58151 -3.329069)'))) / (select extract(epoch from '2026-05-28 09:44:14'::timestamp) - extract(epoch from '2026-05-28 09:44:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581502 -3.328911)', '2026-05-28 09:44:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58151 -3.329069)'), GeomFromEWKT('SRID=4674;POINT (-38.581502 -3.328911)'))) / (select extract(epoch from '2026-05-28 09:44:22'::timestamp) - extract(epoch from '2026-05-28 09:44:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58151 -3.329069)'), GeomFromEWKT('SRID=4674;POINT (-38.581502 -3.328911)'))) / (select extract(epoch from '2026-05-28 09:44:22'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581505 -3.328768)', '2026-05-28 09:44:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581502 -3.328911)'), GeomFromEWKT('SRID=4674;POINT (-38.581505 -3.328768)'))) / (select extract(epoch from '2026-05-28 09:44:29'::timestamp) - extract(epoch from '2026-05-28 09:44:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581502 -3.328911)'), GeomFromEWKT('SRID=4674;POINT (-38.581505 -3.328768)'))) / (select extract(epoch from '2026-05-28 09:44:29'::timestamp) - extract(epoch from '2026-05-28 09:44:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581504 -3.328619)', '2026-05-28 09:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581505 -3.328768)'), GeomFromEWKT('SRID=4674;POINT (-38.581504 -3.328619)'))) / (select extract(epoch from '2026-05-28 09:44:36'::timestamp) - extract(epoch from '2026-05-28 09:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581505 -3.328768)'), GeomFromEWKT('SRID=4674;POINT (-38.581504 -3.328619)'))) / (select extract(epoch from '2026-05-28 09:44:36'::timestamp) - extract(epoch from '2026-05-28 09:44:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581507 -3.328488)', '2026-05-28 09:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581504 -3.328619)'), GeomFromEWKT('SRID=4674;POINT (-38.581507 -3.328488)'))) / (select extract(epoch from '2026-05-28 09:44:42'::timestamp) - extract(epoch from '2026-05-28 09:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581504 -3.328619)'), GeomFromEWKT('SRID=4674;POINT (-38.581507 -3.328488)'))) / (select extract(epoch from '2026-05-28 09:44:42'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581485 -3.328325)', '2026-05-28 09:44:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581507 -3.328488)'), GeomFromEWKT('SRID=4674;POINT (-38.581485 -3.328325)'))) / (select extract(epoch from '2026-05-28 09:44:50'::timestamp) - extract(epoch from '2026-05-28 09:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581507 -3.328488)'), GeomFromEWKT('SRID=4674;POINT (-38.581485 -3.328325)'))) / (select extract(epoch from '2026-05-28 09:44:50'::timestamp) - extract(epoch from '2026-05-28 09:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581479 -3.328225)', '2026-05-28 09:44:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581485 -3.328325)'), GeomFromEWKT('SRID=4674;POINT (-38.581479 -3.328225)'))) / (select extract(epoch from '2026-05-28 09:44:55'::timestamp) - extract(epoch from '2026-05-28 09:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581485 -3.328325)'), GeomFromEWKT('SRID=4674;POINT (-38.581479 -3.328225)'))) / (select extract(epoch from '2026-05-28 09:44:55'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581483 -3.328112)', '2026-05-28 09:45:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581479 -3.328225)'), GeomFromEWKT('SRID=4674;POINT (-38.581483 -3.328112)'))) / (select extract(epoch from '2026-05-28 09:45:00'::timestamp) - extract(epoch from '2026-05-28 09:44:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581479 -3.328225)'), GeomFromEWKT('SRID=4674;POINT (-38.581483 -3.328112)'))) / (select extract(epoch from '2026-05-28 09:45:00'::timestamp) - extract(epoch from '2026-05-28 09:44:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581474 -3.328006)', '2026-05-28 09:45:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581483 -3.328112)'), GeomFromEWKT('SRID=4674;POINT (-38.581474 -3.328006)'))) / (select extract(epoch from '2026-05-28 09:45:05'::timestamp) - extract(epoch from '2026-05-28 09:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581483 -3.328112)'), GeomFromEWKT('SRID=4674;POINT (-38.581474 -3.328006)'))) / (select extract(epoch from '2026-05-28 09:45:05'::timestamp) - extract(epoch from '2026-05-28 09:45:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581463 -3.327873)', '2026-05-28 09:45:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581474 -3.328006)'), GeomFromEWKT('SRID=4674;POINT (-38.581463 -3.327873)'))) / (select extract(epoch from '2026-05-28 09:45:12'::timestamp) - extract(epoch from '2026-05-28 09:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581474 -3.328006)'), GeomFromEWKT('SRID=4674;POINT (-38.581463 -3.327873)'))) / (select extract(epoch from '2026-05-28 09:45:12'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581448 -3.327754)', '2026-05-28 09:45:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581463 -3.327873)'), GeomFromEWKT('SRID=4674;POINT (-38.581448 -3.327754)'))) / (select extract(epoch from '2026-05-28 09:45:18'::timestamp) - extract(epoch from '2026-05-28 09:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581463 -3.327873)'), GeomFromEWKT('SRID=4674;POINT (-38.581448 -3.327754)'))) / (select extract(epoch from '2026-05-28 09:45:18'::timestamp) - extract(epoch from '2026-05-28 09:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58143 -3.327627)', '2026-05-28 09:45:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581448 -3.327754)'), GeomFromEWKT('SRID=4674;POINT (-38.58143 -3.327627)'))) / (select extract(epoch from '2026-05-28 09:45:24'::timestamp) - extract(epoch from '2026-05-28 09:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581448 -3.327754)'), GeomFromEWKT('SRID=4674;POINT (-38.58143 -3.327627)'))) / (select extract(epoch from '2026-05-28 09:45:24'::timestamp) - extract(epoch from '2026-05-28 09:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581411 -3.327492)', '2026-05-28 09:45:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58143 -3.327627)'), GeomFromEWKT('SRID=4674;POINT (-38.581411 -3.327492)'))) / (select extract(epoch from '2026-05-28 09:45:30'::timestamp) - extract(epoch from '2026-05-28 09:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58143 -3.327627)'), GeomFromEWKT('SRID=4674;POINT (-38.581411 -3.327492)'))) / (select extract(epoch from '2026-05-28 09:45:30'::timestamp) - extract(epoch from '2026-05-28 09:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581399 -3.327342)', '2026-05-28 09:45:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581411 -3.327492)'), GeomFromEWKT('SRID=4674;POINT (-38.581399 -3.327342)'))) / (select extract(epoch from '2026-05-28 09:45:37'::timestamp) - extract(epoch from '2026-05-28 09:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581411 -3.327492)'), GeomFromEWKT('SRID=4674;POINT (-38.581399 -3.327342)'))) / (select extract(epoch from '2026-05-28 09:45:37'::timestamp) - extract(epoch from '2026-05-28 09:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581386 -3.327212)', '2026-05-28 09:45:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581399 -3.327342)'), GeomFromEWKT('SRID=4674;POINT (-38.581386 -3.327212)'))) / (select extract(epoch from '2026-05-28 09:45:43'::timestamp) - extract(epoch from '2026-05-28 09:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581399 -3.327342)'), GeomFromEWKT('SRID=4674;POINT (-38.581386 -3.327212)'))) / (select extract(epoch from '2026-05-28 09:45:43'::timestamp) - extract(epoch from '2026-05-28 09:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581381 -3.327081)', '2026-05-28 09:45:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581386 -3.327212)'), GeomFromEWKT('SRID=4674;POINT (-38.581381 -3.327081)'))) / (select extract(epoch from '2026-05-28 09:45:49'::timestamp) - extract(epoch from '2026-05-28 09:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581386 -3.327212)'), GeomFromEWKT('SRID=4674;POINT (-38.581381 -3.327081)'))) / (select extract(epoch from '2026-05-28 09:45:49'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581391 -3.326951)', '2026-05-28 09:45:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581381 -3.327081)'), GeomFromEWKT('SRID=4674;POINT (-38.581391 -3.326951)'))) / (select extract(epoch from '2026-05-28 09:45:55'::timestamp) - extract(epoch from '2026-05-28 09:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581381 -3.327081)'), GeomFromEWKT('SRID=4674;POINT (-38.581391 -3.326951)'))) / (select extract(epoch from '2026-05-28 09:45:55'::timestamp) - extract(epoch from '2026-05-28 09:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581399 -3.326802)', '2026-05-28 09:46:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581391 -3.326951)'), GeomFromEWKT('SRID=4674;POINT (-38.581399 -3.326802)'))) / (select extract(epoch from '2026-05-28 09:46:02'::timestamp) - extract(epoch from '2026-05-28 09:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581391 -3.326951)'), GeomFromEWKT('SRID=4674;POINT (-38.581399 -3.326802)'))) / (select extract(epoch from '2026-05-28 09:46:02'::timestamp) - extract(epoch from '2026-05-28 09:45:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581408 -3.326689)', '2026-05-28 09:46:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581399 -3.326802)'), GeomFromEWKT('SRID=4674;POINT (-38.581408 -3.326689)'))) / (select extract(epoch from '2026-05-28 09:46:07'::timestamp) - extract(epoch from '2026-05-28 09:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581399 -3.326802)'), GeomFromEWKT('SRID=4674;POINT (-38.581408 -3.326689)'))) / (select extract(epoch from '2026-05-28 09:46:07'::timestamp) - extract(epoch from '2026-05-28 09:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581419 -3.326562)', '2026-05-28 09:46:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581408 -3.326689)'), GeomFromEWKT('SRID=4674;POINT (-38.581419 -3.326562)'))) / (select extract(epoch from '2026-05-28 09:46:13'::timestamp) - extract(epoch from '2026-05-28 09:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581408 -3.326689)'), GeomFromEWKT('SRID=4674;POINT (-38.581419 -3.326562)'))) / (select extract(epoch from '2026-05-28 09:46:13'::timestamp) - extract(epoch from '2026-05-28 09:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58142 -3.326457)', '2026-05-28 09:46:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581419 -3.326562)'), GeomFromEWKT('SRID=4674;POINT (-38.58142 -3.326457)'))) / (select extract(epoch from '2026-05-28 09:46:18'::timestamp) - extract(epoch from '2026-05-28 09:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581419 -3.326562)'), GeomFromEWKT('SRID=4674;POINT (-38.58142 -3.326457)'))) / (select extract(epoch from '2026-05-28 09:46:18'::timestamp) - extract(epoch from '2026-05-28 09:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581423 -3.326311)', '2026-05-28 09:46:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58142 -3.326457)'), GeomFromEWKT('SRID=4674;POINT (-38.581423 -3.326311)'))) / (select extract(epoch from '2026-05-28 09:46:25'::timestamp) - extract(epoch from '2026-05-28 09:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58142 -3.326457)'), GeomFromEWKT('SRID=4674;POINT (-38.581423 -3.326311)'))) / (select extract(epoch from '2026-05-28 09:46:25'::timestamp) - extract(epoch from '2026-05-28 09:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581414 -3.326189)', '2026-05-28 09:46:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581423 -3.326311)'), GeomFromEWKT('SRID=4674;POINT (-38.581414 -3.326189)'))) / (select extract(epoch from '2026-05-28 09:46:31'::timestamp) - extract(epoch from '2026-05-28 09:46:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581423 -3.326311)'), GeomFromEWKT('SRID=4674;POINT (-38.581414 -3.326189)'))) / (select extract(epoch from '2026-05-28 09:46:31'::timestamp) - extract(epoch from '2026-05-28 09:46:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58141 -3.326101)', '2026-05-28 09:46:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581414 -3.326189)'), GeomFromEWKT('SRID=4674;POINT (-38.58141 -3.326101)'))) / (select extract(epoch from '2026-05-28 09:46:35'::timestamp) - extract(epoch from '2026-05-28 09:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581414 -3.326189)'), GeomFromEWKT('SRID=4674;POINT (-38.58141 -3.326101)'))) / (select extract(epoch from '2026-05-28 09:46:35'::timestamp) - extract(epoch from '2026-05-28 09:46:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581389 -3.32599)', '2026-05-28 09:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58141 -3.326101)'), GeomFromEWKT('SRID=4674;POINT (-38.581389 -3.32599)'))) / (select extract(epoch from '2026-05-28 09:46:41'::timestamp) - extract(epoch from '2026-05-28 09:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58141 -3.326101)'), GeomFromEWKT('SRID=4674;POINT (-38.581389 -3.32599)'))) / (select extract(epoch from '2026-05-28 09:46:41'::timestamp) - extract(epoch from '2026-05-28 09:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581373 -3.325899)', '2026-05-28 09:46:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581389 -3.32599)'), GeomFromEWKT('SRID=4674;POINT (-38.581373 -3.325899)'))) / (select extract(epoch from '2026-05-28 09:46:46'::timestamp) - extract(epoch from '2026-05-28 09:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581389 -3.32599)'), GeomFromEWKT('SRID=4674;POINT (-38.581373 -3.325899)'))) / (select extract(epoch from '2026-05-28 09:46:46'::timestamp) - extract(epoch from '2026-05-28 09:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581354 -3.325774)', '2026-05-28 09:46:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581373 -3.325899)'), GeomFromEWKT('SRID=4674;POINT (-38.581354 -3.325774)'))) / (select extract(epoch from '2026-05-28 09:46:53'::timestamp) - extract(epoch from '2026-05-28 09:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581373 -3.325899)'), GeomFromEWKT('SRID=4674;POINT (-38.581354 -3.325774)'))) / (select extract(epoch from '2026-05-28 09:46:53'::timestamp) - extract(epoch from '2026-05-28 09:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581336 -3.325666)', '2026-05-28 09:46:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581354 -3.325774)'), GeomFromEWKT('SRID=4674;POINT (-38.581336 -3.325666)'))) / (select extract(epoch from '2026-05-28 09:46:59'::timestamp) - extract(epoch from '2026-05-28 09:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581354 -3.325774)'), GeomFromEWKT('SRID=4674;POINT (-38.581336 -3.325666)'))) / (select extract(epoch from '2026-05-28 09:46:59'::timestamp) - extract(epoch from '2026-05-28 09:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581317 -3.325544)', '2026-05-28 09:47:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581336 -3.325666)'), GeomFromEWKT('SRID=4674;POINT (-38.581317 -3.325544)'))) / (select extract(epoch from '2026-05-28 09:47:05'::timestamp) - extract(epoch from '2026-05-28 09:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581336 -3.325666)'), GeomFromEWKT('SRID=4674;POINT (-38.581317 -3.325544)'))) / (select extract(epoch from '2026-05-28 09:47:05'::timestamp) - extract(epoch from '2026-05-28 09:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581305 -3.325445)', '2026-05-28 09:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581317 -3.325544)'), GeomFromEWKT('SRID=4674;POINT (-38.581305 -3.325445)'))) / (select extract(epoch from '2026-05-28 09:47:10'::timestamp) - extract(epoch from '2026-05-28 09:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581317 -3.325544)'), GeomFromEWKT('SRID=4674;POINT (-38.581305 -3.325445)'))) / (select extract(epoch from '2026-05-28 09:47:10'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581299 -3.325344)', '2026-05-28 09:47:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581305 -3.325445)'), GeomFromEWKT('SRID=4674;POINT (-38.581299 -3.325344)'))) / (select extract(epoch from '2026-05-28 09:47:15'::timestamp) - extract(epoch from '2026-05-28 09:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581305 -3.325445)'), GeomFromEWKT('SRID=4674;POINT (-38.581299 -3.325344)'))) / (select extract(epoch from '2026-05-28 09:47:15'::timestamp) - extract(epoch from '2026-05-28 09:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581292 -3.325306)', '2026-05-28 09:47:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581299 -3.325344)'), GeomFromEWKT('SRID=4674;POINT (-38.581292 -3.325306)'))) / (select extract(epoch from '2026-05-28 09:47:17'::timestamp) - extract(epoch from '2026-05-28 09:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581299 -3.325344)'), GeomFromEWKT('SRID=4674;POINT (-38.581292 -3.325306)'))) / (select extract(epoch from '2026-05-28 09:47:17'::timestamp) - extract(epoch from '2026-05-28 09:47:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581286 -3.32522)', '2026-05-28 09:47:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581292 -3.325306)'), GeomFromEWKT('SRID=4674;POINT (-38.581286 -3.32522)'))) / (select extract(epoch from '2026-05-28 09:47:21'::timestamp) - extract(epoch from '2026-05-28 09:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581292 -3.325306)'), GeomFromEWKT('SRID=4674;POINT (-38.581286 -3.32522)'))) / (select extract(epoch from '2026-05-28 09:47:21'::timestamp) - extract(epoch from '2026-05-28 09:47:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581282 -3.325115)', '2026-05-28 09:47:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581286 -3.32522)'), GeomFromEWKT('SRID=4674;POINT (-38.581282 -3.325115)'))) / (select extract(epoch from '2026-05-28 09:47:26'::timestamp) - extract(epoch from '2026-05-28 09:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581286 -3.32522)'), GeomFromEWKT('SRID=4674;POINT (-38.581282 -3.325115)'))) / (select extract(epoch from '2026-05-28 09:47:26'::timestamp) - extract(epoch from '2026-05-28 09:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581278 -3.324986)', '2026-05-28 09:47:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581282 -3.325115)'), GeomFromEWKT('SRID=4674;POINT (-38.581278 -3.324986)'))) / (select extract(epoch from '2026-05-28 09:47:32'::timestamp) - extract(epoch from '2026-05-28 09:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581282 -3.325115)'), GeomFromEWKT('SRID=4674;POINT (-38.581278 -3.324986)'))) / (select extract(epoch from '2026-05-28 09:47:32'::timestamp) - extract(epoch from '2026-05-28 09:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581278 -3.32485)', '2026-05-28 09:47:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581278 -3.324986)'), GeomFromEWKT('SRID=4674;POINT (-38.581278 -3.32485)'))) / (select extract(epoch from '2026-05-28 09:47:38'::timestamp) - extract(epoch from '2026-05-28 09:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581278 -3.324986)'), GeomFromEWKT('SRID=4674;POINT (-38.581278 -3.32485)'))) / (select extract(epoch from '2026-05-28 09:47:38'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581287 -3.324697)', '2026-05-28 09:47:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581278 -3.32485)'), GeomFromEWKT('SRID=4674;POINT (-38.581287 -3.324697)'))) / (select extract(epoch from '2026-05-28 09:47:45'::timestamp) - extract(epoch from '2026-05-28 09:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581278 -3.32485)'), GeomFromEWKT('SRID=4674;POINT (-38.581287 -3.324697)'))) / (select extract(epoch from '2026-05-28 09:47:45'::timestamp) - extract(epoch from '2026-05-28 09:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581314 -3.324551)', '2026-05-28 09:47:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581287 -3.324697)'), GeomFromEWKT('SRID=4674;POINT (-38.581314 -3.324551)'))) / (select extract(epoch from '2026-05-28 09:47:52'::timestamp) - extract(epoch from '2026-05-28 09:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581287 -3.324697)'), GeomFromEWKT('SRID=4674;POINT (-38.581314 -3.324551)'))) / (select extract(epoch from '2026-05-28 09:47:52'::timestamp) - extract(epoch from '2026-05-28 09:47:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581332 -3.324414)', '2026-05-28 09:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581314 -3.324551)'), GeomFromEWKT('SRID=4674;POINT (-38.581332 -3.324414)'))) / (select extract(epoch from '2026-05-28 09:47:58'::timestamp) - extract(epoch from '2026-05-28 09:47:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581314 -3.324551)'), GeomFromEWKT('SRID=4674;POINT (-38.581332 -3.324414)'))) / (select extract(epoch from '2026-05-28 09:47:58'::timestamp) - extract(epoch from '2026-05-28 09:47:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581339 -3.324305)', '2026-05-28 09:48:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581332 -3.324414)'), GeomFromEWKT('SRID=4674;POINT (-38.581339 -3.324305)'))) / (select extract(epoch from '2026-05-28 09:48:03'::timestamp) - extract(epoch from '2026-05-28 09:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581332 -3.324414)'), GeomFromEWKT('SRID=4674;POINT (-38.581339 -3.324305)'))) / (select extract(epoch from '2026-05-28 09:48:03'::timestamp) - extract(epoch from '2026-05-28 09:47:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581366 -3.32419)', '2026-05-28 09:48:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581339 -3.324305)'), GeomFromEWKT('SRID=4674;POINT (-38.581366 -3.32419)'))) / (select extract(epoch from '2026-05-28 09:48:08'::timestamp) - extract(epoch from '2026-05-28 09:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581339 -3.324305)'), GeomFromEWKT('SRID=4674;POINT (-38.581366 -3.32419)'))) / (select extract(epoch from '2026-05-28 09:48:08'::timestamp) - extract(epoch from '2026-05-28 09:48:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581401 -3.324064)', '2026-05-28 09:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581366 -3.32419)'), GeomFromEWKT('SRID=4674;POINT (-38.581401 -3.324064)'))) / (select extract(epoch from '2026-05-28 09:48:14'::timestamp) - extract(epoch from '2026-05-28 09:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581366 -3.32419)'), GeomFromEWKT('SRID=4674;POINT (-38.581401 -3.324064)'))) / (select extract(epoch from '2026-05-28 09:48:14'::timestamp) - extract(epoch from '2026-05-28 09:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581418 -3.323929)', '2026-05-28 09:48:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581401 -3.324064)'), GeomFromEWKT('SRID=4674;POINT (-38.581418 -3.323929)'))) / (select extract(epoch from '2026-05-28 09:48:21'::timestamp) - extract(epoch from '2026-05-28 09:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581401 -3.324064)'), GeomFromEWKT('SRID=4674;POINT (-38.581418 -3.323929)'))) / (select extract(epoch from '2026-05-28 09:48:21'::timestamp) - extract(epoch from '2026-05-28 09:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581435 -3.32382)', '2026-05-28 09:48:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581418 -3.323929)'), GeomFromEWKT('SRID=4674;POINT (-38.581435 -3.32382)'))) / (select extract(epoch from '2026-05-28 09:48:26'::timestamp) - extract(epoch from '2026-05-28 09:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581418 -3.323929)'), GeomFromEWKT('SRID=4674;POINT (-38.581435 -3.32382)'))) / (select extract(epoch from '2026-05-28 09:48:26'::timestamp) - extract(epoch from '2026-05-28 09:48:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581447 -3.323695)', '2026-05-28 09:48:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581435 -3.32382)'), GeomFromEWKT('SRID=4674;POINT (-38.581447 -3.323695)'))) / (select extract(epoch from '2026-05-28 09:48:32'::timestamp) - extract(epoch from '2026-05-28 09:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581435 -3.32382)'), GeomFromEWKT('SRID=4674;POINT (-38.581447 -3.323695)'))) / (select extract(epoch from '2026-05-28 09:48:32'::timestamp) - extract(epoch from '2026-05-28 09:48:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581463 -3.32354)', '2026-05-28 09:48:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581447 -3.323695)'), GeomFromEWKT('SRID=4674;POINT (-38.581463 -3.32354)'))) / (select extract(epoch from '2026-05-28 09:48:39'::timestamp) - extract(epoch from '2026-05-28 09:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581447 -3.323695)'), GeomFromEWKT('SRID=4674;POINT (-38.581463 -3.32354)'))) / (select extract(epoch from '2026-05-28 09:48:39'::timestamp) - extract(epoch from '2026-05-28 09:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58147 -3.323396)', '2026-05-28 09:48:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581463 -3.32354)'), GeomFromEWKT('SRID=4674;POINT (-38.58147 -3.323396)'))) / (select extract(epoch from '2026-05-28 09:48:46'::timestamp) - extract(epoch from '2026-05-28 09:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581463 -3.32354)'), GeomFromEWKT('SRID=4674;POINT (-38.58147 -3.323396)'))) / (select extract(epoch from '2026-05-28 09:48:46'::timestamp) - extract(epoch from '2026-05-28 09:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581478 -3.32325)', '2026-05-28 09:48:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58147 -3.323396)'), GeomFromEWKT('SRID=4674;POINT (-38.581478 -3.32325)'))) / (select extract(epoch from '2026-05-28 09:48:53'::timestamp) - extract(epoch from '2026-05-28 09:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58147 -3.323396)'), GeomFromEWKT('SRID=4674;POINT (-38.581478 -3.32325)'))) / (select extract(epoch from '2026-05-28 09:48:53'::timestamp) - extract(epoch from '2026-05-28 09:48:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581487 -3.323119)', '2026-05-28 09:48:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581478 -3.32325)'), GeomFromEWKT('SRID=4674;POINT (-38.581487 -3.323119)'))) / (select extract(epoch from '2026-05-28 09:48:59'::timestamp) - extract(epoch from '2026-05-28 09:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581478 -3.32325)'), GeomFromEWKT('SRID=4674;POINT (-38.581487 -3.323119)'))) / (select extract(epoch from '2026-05-28 09:48:59'::timestamp) - extract(epoch from '2026-05-28 09:48:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581492 -3.322984)', '2026-05-28 09:49:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581487 -3.323119)'), GeomFromEWKT('SRID=4674;POINT (-38.581492 -3.322984)'))) / (select extract(epoch from '2026-05-28 09:49:05'::timestamp) - extract(epoch from '2026-05-28 09:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581487 -3.323119)'), GeomFromEWKT('SRID=4674;POINT (-38.581492 -3.322984)'))) / (select extract(epoch from '2026-05-28 09:49:05'::timestamp) - extract(epoch from '2026-05-28 09:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581503 -3.322836)', '2026-05-28 09:49:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581492 -3.322984)'), GeomFromEWKT('SRID=4674;POINT (-38.581503 -3.322836)'))) / (select extract(epoch from '2026-05-28 09:49:12'::timestamp) - extract(epoch from '2026-05-28 09:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581492 -3.322984)'), GeomFromEWKT('SRID=4674;POINT (-38.581503 -3.322836)'))) / (select extract(epoch from '2026-05-28 09:49:12'::timestamp) - extract(epoch from '2026-05-28 09:49:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581507 -3.322727)', '2026-05-28 09:49:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581503 -3.322836)'), GeomFromEWKT('SRID=4674;POINT (-38.581507 -3.322727)'))) / (select extract(epoch from '2026-05-28 09:49:17'::timestamp) - extract(epoch from '2026-05-28 09:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581503 -3.322836)'), GeomFromEWKT('SRID=4674;POINT (-38.581507 -3.322727)'))) / (select extract(epoch from '2026-05-28 09:49:17'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581517 -3.322622)', '2026-05-28 09:49:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581507 -3.322727)'), GeomFromEWKT('SRID=4674;POINT (-38.581517 -3.322622)'))) / (select extract(epoch from '2026-05-28 09:49:22'::timestamp) - extract(epoch from '2026-05-28 09:49:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581507 -3.322727)'), GeomFromEWKT('SRID=4674;POINT (-38.581517 -3.322622)'))) / (select extract(epoch from '2026-05-28 09:49:22'::timestamp) - extract(epoch from '2026-05-28 09:49:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581531 -3.322502)', '2026-05-28 09:49:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581517 -3.322622)'), GeomFromEWKT('SRID=4674;POINT (-38.581531 -3.322502)'))) / (select extract(epoch from '2026-05-28 09:49:27'::timestamp) - extract(epoch from '2026-05-28 09:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581517 -3.322622)'), GeomFromEWKT('SRID=4674;POINT (-38.581531 -3.322502)'))) / (select extract(epoch from '2026-05-28 09:49:27'::timestamp) - extract(epoch from '2026-05-28 09:49:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581539 -3.322373)', '2026-05-28 09:49:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581531 -3.322502)'), GeomFromEWKT('SRID=4674;POINT (-38.581539 -3.322373)'))) / (select extract(epoch from '2026-05-28 09:49:33'::timestamp) - extract(epoch from '2026-05-28 09:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581531 -3.322502)'), GeomFromEWKT('SRID=4674;POINT (-38.581539 -3.322373)'))) / (select extract(epoch from '2026-05-28 09:49:33'::timestamp) - extract(epoch from '2026-05-28 09:49:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581539 -3.322238)', '2026-05-28 09:49:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581539 -3.322373)'), GeomFromEWKT('SRID=4674;POINT (-38.581539 -3.322238)'))) / (select extract(epoch from '2026-05-28 09:49:39'::timestamp) - extract(epoch from '2026-05-28 09:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581539 -3.322373)'), GeomFromEWKT('SRID=4674;POINT (-38.581539 -3.322238)'))) / (select extract(epoch from '2026-05-28 09:49:39'::timestamp) - extract(epoch from '2026-05-28 09:49:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581546 -3.322113)', '2026-05-28 09:49:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581539 -3.322238)'), GeomFromEWKT('SRID=4674;POINT (-38.581546 -3.322113)'))) / (select extract(epoch from '2026-05-28 09:49:45'::timestamp) - extract(epoch from '2026-05-28 09:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581539 -3.322238)'), GeomFromEWKT('SRID=4674;POINT (-38.581546 -3.322113)'))) / (select extract(epoch from '2026-05-28 09:49:45'::timestamp) - extract(epoch from '2026-05-28 09:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58155 -3.322006)', '2026-05-28 09:49:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581546 -3.322113)'), GeomFromEWKT('SRID=4674;POINT (-38.58155 -3.322006)'))) / (select extract(epoch from '2026-05-28 09:49:50'::timestamp) - extract(epoch from '2026-05-28 09:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581546 -3.322113)'), GeomFromEWKT('SRID=4674;POINT (-38.58155 -3.322006)'))) / (select extract(epoch from '2026-05-28 09:49:50'::timestamp) - extract(epoch from '2026-05-28 09:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581558 -3.321899)', '2026-05-28 09:49:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58155 -3.322006)'), GeomFromEWKT('SRID=4674;POINT (-38.581558 -3.321899)'))) / (select extract(epoch from '2026-05-28 09:49:55'::timestamp) - extract(epoch from '2026-05-28 09:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58155 -3.322006)'), GeomFromEWKT('SRID=4674;POINT (-38.581558 -3.321899)'))) / (select extract(epoch from '2026-05-28 09:49:55'::timestamp) - extract(epoch from '2026-05-28 09:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581572 -3.321792)', '2026-05-28 09:50:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581558 -3.321899)'), GeomFromEWKT('SRID=4674;POINT (-38.581572 -3.321792)'))) / (select extract(epoch from '2026-05-28 09:50:00'::timestamp) - extract(epoch from '2026-05-28 09:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581558 -3.321899)'), GeomFromEWKT('SRID=4674;POINT (-38.581572 -3.321792)'))) / (select extract(epoch from '2026-05-28 09:50:00'::timestamp) - extract(epoch from '2026-05-28 09:49:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581587 -3.321689)', '2026-05-28 09:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581572 -3.321792)'), GeomFromEWKT('SRID=4674;POINT (-38.581587 -3.321689)'))) / (select extract(epoch from '2026-05-28 09:50:05'::timestamp) - extract(epoch from '2026-05-28 09:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581572 -3.321792)'), GeomFromEWKT('SRID=4674;POINT (-38.581587 -3.321689)'))) / (select extract(epoch from '2026-05-28 09:50:05'::timestamp) - extract(epoch from '2026-05-28 09:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581599 -3.321551)', '2026-05-28 09:50:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581587 -3.321689)'), GeomFromEWKT('SRID=4674;POINT (-38.581599 -3.321551)'))) / (select extract(epoch from '2026-05-28 09:50:12'::timestamp) - extract(epoch from '2026-05-28 09:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581587 -3.321689)'), GeomFromEWKT('SRID=4674;POINT (-38.581599 -3.321551)'))) / (select extract(epoch from '2026-05-28 09:50:12'::timestamp) - extract(epoch from '2026-05-28 09:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581597 -3.321496)', '2026-05-28 09:50:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581599 -3.321551)'), GeomFromEWKT('SRID=4674;POINT (-38.581597 -3.321496)'))) / (select extract(epoch from '2026-05-28 09:50:15'::timestamp) - extract(epoch from '2026-05-28 09:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581599 -3.321551)'), GeomFromEWKT('SRID=4674;POINT (-38.581597 -3.321496)'))) / (select extract(epoch from '2026-05-28 09:50:15'::timestamp) - extract(epoch from '2026-05-28 09:50:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581607 -3.321452)', '2026-05-28 09:50:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581597 -3.321496)'), GeomFromEWKT('SRID=4674;POINT (-38.581607 -3.321452)'))) / (select extract(epoch from '2026-05-28 09:50:17'::timestamp) - extract(epoch from '2026-05-28 09:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581597 -3.321496)'), GeomFromEWKT('SRID=4674;POINT (-38.581607 -3.321452)'))) / (select extract(epoch from '2026-05-28 09:50:17'::timestamp) - extract(epoch from '2026-05-28 09:50:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58161 -3.321327)', '2026-05-28 09:50:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581607 -3.321452)'), GeomFromEWKT('SRID=4674;POINT (-38.58161 -3.321327)'))) / (select extract(epoch from '2026-05-28 09:50:23'::timestamp) - extract(epoch from '2026-05-28 09:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581607 -3.321452)'), GeomFromEWKT('SRID=4674;POINT (-38.58161 -3.321327)'))) / (select extract(epoch from '2026-05-28 09:50:23'::timestamp) - extract(epoch from '2026-05-28 09: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'), 46535, 'SRID=4674;POINT (-38.581612 -3.321182)', '2026-05-28 09:50:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58161 -3.321327)'), GeomFromEWKT('SRID=4674;POINT (-38.581612 -3.321182)'))) / (select extract(epoch from '2026-05-28 09:50:30'::timestamp) - extract(epoch from '2026-05-28 09:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58161 -3.321327)'), GeomFromEWKT('SRID=4674;POINT (-38.581612 -3.321182)'))) / (select extract(epoch from '2026-05-28 09:50:30'::timestamp) - extract(epoch from '2026-05-28 09:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581625 -3.321051)', '2026-05-28 09:50:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581612 -3.321182)'), GeomFromEWKT('SRID=4674;POINT (-38.581625 -3.321051)'))) / (select extract(epoch from '2026-05-28 09:50:36'::timestamp) - extract(epoch from '2026-05-28 09:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581612 -3.321182)'), GeomFromEWKT('SRID=4674;POINT (-38.581625 -3.321051)'))) / (select extract(epoch from '2026-05-28 09:50:36'::timestamp) - extract(epoch from '2026-05-28 09:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581632 -3.320937)', '2026-05-28 09:50:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581625 -3.321051)'), GeomFromEWKT('SRID=4674;POINT (-38.581632 -3.320937)'))) / (select extract(epoch from '2026-05-28 09:50:41'::timestamp) - extract(epoch from '2026-05-28 09:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581625 -3.321051)'), GeomFromEWKT('SRID=4674;POINT (-38.581632 -3.320937)'))) / (select extract(epoch from '2026-05-28 09:50:41'::timestamp) - extract(epoch from '2026-05-28 09:50:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581635 -3.320825)', '2026-05-28 09:50:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581632 -3.320937)'), GeomFromEWKT('SRID=4674;POINT (-38.581635 -3.320825)'))) / (select extract(epoch from '2026-05-28 09:50:46'::timestamp) - extract(epoch from '2026-05-28 09:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581632 -3.320937)'), GeomFromEWKT('SRID=4674;POINT (-38.581635 -3.320825)'))) / (select extract(epoch from '2026-05-28 09:50:46'::timestamp) - extract(epoch from '2026-05-28 09:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
