 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566849 -3.230743)', '2026-05-28 16:35:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566833 -3.230761)'), GeomFromEWKT('SRID=4674;POINT (-38.566849 -3.230743)'))) / (select extract(epoch from '2026-05-28 16:35:14'::timestamp) - extract(epoch from '2026-05-28 16:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566833 -3.230761)'), GeomFromEWKT('SRID=4674;POINT (-38.566849 -3.230743)'))) / (select extract(epoch from '2026-05-28 16:35:14'::timestamp) - extract(epoch from '2026-05-28 16:35: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.566864 -3.230722)', '2026-05-28 16:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566849 -3.230743)'), GeomFromEWKT('SRID=4674;POINT (-38.566864 -3.230722)'))) / (select extract(epoch from '2026-05-28 16:35:22'::timestamp) - extract(epoch from '2026-05-28 16:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566849 -3.230743)'), GeomFromEWKT('SRID=4674;POINT (-38.566864 -3.230722)'))) / (select extract(epoch from '2026-05-28 16:35:22'::timestamp) - extract(epoch from '2026-05-28 16:35: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.566841 -3.230665)', '2026-05-28 16:36:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566864 -3.230722)'), GeomFromEWKT('SRID=4674;POINT (-38.566841 -3.230665)'))) / (select extract(epoch from '2026-05-28 16:36:37'::timestamp) - extract(epoch from '2026-05-28 16:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566864 -3.230722)'), GeomFromEWKT('SRID=4674;POINT (-38.566841 -3.230665)'))) / (select extract(epoch from '2026-05-28 16:36:37'::timestamp) - extract(epoch from '2026-05-28 16: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.566878 -3.230631)', '2026-05-28 16:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566841 -3.230665)'), GeomFromEWKT('SRID=4674;POINT (-38.566878 -3.230631)'))) / (select extract(epoch from '2026-05-28 16:36:44'::timestamp) - extract(epoch from '2026-05-28 16:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566841 -3.230665)'), GeomFromEWKT('SRID=4674;POINT (-38.566878 -3.230631)'))) / (select extract(epoch from '2026-05-28 16:36:44'::timestamp) - extract(epoch from '2026-05-28 16: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.566888 -3.230604)', '2026-05-28 16:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566878 -3.230631)'), GeomFromEWKT('SRID=4674;POINT (-38.566888 -3.230604)'))) / (select extract(epoch from '2026-05-28 16:36:51'::timestamp) - extract(epoch from '2026-05-28 16:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566878 -3.230631)'), GeomFromEWKT('SRID=4674;POINT (-38.566888 -3.230604)'))) / (select extract(epoch from '2026-05-28 16:36:51'::timestamp) - extract(epoch from '2026-05-28 16: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.566872 -3.230601)', '2026-05-28 16:37:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566888 -3.230604)'), GeomFromEWKT('SRID=4674;POINT (-38.566872 -3.230601)'))) / (select extract(epoch from '2026-05-28 16:37:10'::timestamp) - extract(epoch from '2026-05-28 16:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566888 -3.230604)'), GeomFromEWKT('SRID=4674;POINT (-38.566872 -3.230601)'))) / (select extract(epoch from '2026-05-28 16:37:10'::timestamp) - extract(epoch from '2026-05-28 16:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566884 -3.230587)', '2026-05-28 16:37:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566872 -3.230601)'), GeomFromEWKT('SRID=4674;POINT (-38.566884 -3.230587)'))) / (select extract(epoch from '2026-05-28 16:37:15'::timestamp) - extract(epoch from '2026-05-28 16:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566872 -3.230601)'), GeomFromEWKT('SRID=4674;POINT (-38.566884 -3.230587)'))) / (select extract(epoch from '2026-05-28 16:37:15'::timestamp) - extract(epoch from '2026-05-28 16:37: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.566906 -3.230567)', '2026-05-28 16:37:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566884 -3.230587)'), GeomFromEWKT('SRID=4674;POINT (-38.566906 -3.230567)'))) / (select extract(epoch from '2026-05-28 16:37:21'::timestamp) - extract(epoch from '2026-05-28 16:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566884 -3.230587)'), GeomFromEWKT('SRID=4674;POINT (-38.566906 -3.230567)'))) / (select extract(epoch from '2026-05-28 16:37:21'::timestamp) - extract(epoch from '2026-05-28 16:37: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.566927 -3.230545)', '2026-05-28 16:37:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566906 -3.230567)'), GeomFromEWKT('SRID=4674;POINT (-38.566927 -3.230545)'))) / (select extract(epoch from '2026-05-28 16:37:27'::timestamp) - extract(epoch from '2026-05-28 16:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566906 -3.230567)'), GeomFromEWKT('SRID=4674;POINT (-38.566927 -3.230545)'))) / (select extract(epoch from '2026-05-28 16:37:27'::timestamp) - extract(epoch from '2026-05-28 16:37: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.566934 -3.230533)', '2026-05-28 16:37:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566927 -3.230545)'), GeomFromEWKT('SRID=4674;POINT (-38.566934 -3.230533)'))) / (select extract(epoch from '2026-05-28 16:37:32'::timestamp) - extract(epoch from '2026-05-28 16:37:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566927 -3.230545)'), GeomFromEWKT('SRID=4674;POINT (-38.566934 -3.230533)'))) / (select extract(epoch from '2026-05-28 16:37:32'::timestamp) - extract(epoch from '2026-05-28 16:37: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.566946 -3.230528)', '2026-05-28 16:37:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566934 -3.230533)'), GeomFromEWKT('SRID=4674;POINT (-38.566946 -3.230528)'))) / (select extract(epoch from '2026-05-28 16:37:35'::timestamp) - extract(epoch from '2026-05-28 16:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566934 -3.230533)'), GeomFromEWKT('SRID=4674;POINT (-38.566946 -3.230528)'))) / (select extract(epoch from '2026-05-28 16:37:35'::timestamp) - extract(epoch from '2026-05-28 16:37:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566951 -3.230526)', '2026-05-28 16:37:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566946 -3.230528)'), GeomFromEWKT('SRID=4674;POINT (-38.566951 -3.230526)'))) / (select extract(epoch from '2026-05-28 16:37:47'::timestamp) - extract(epoch from '2026-05-28 16:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566946 -3.230528)'), GeomFromEWKT('SRID=4674;POINT (-38.566951 -3.230526)'))) / (select extract(epoch from '2026-05-28 16:37:47'::timestamp) - extract(epoch from '2026-05-28 16:37: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.566972 -3.230486)', '2026-05-28 16:38:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566951 -3.230526)'), GeomFromEWKT('SRID=4674;POINT (-38.566972 -3.230486)'))) / (select extract(epoch from '2026-05-28 16:38:03'::timestamp) - extract(epoch from '2026-05-28 16:37:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566951 -3.230526)'), GeomFromEWKT('SRID=4674;POINT (-38.566972 -3.230486)'))) / (select extract(epoch from '2026-05-28 16:38:03'::timestamp) - extract(epoch from '2026-05-28 16:37:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566988 -3.230439)', '2026-05-28 16:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566972 -3.230486)'), GeomFromEWKT('SRID=4674;POINT (-38.566988 -3.230439)'))) / (select extract(epoch from '2026-05-28 16:38:19'::timestamp) - extract(epoch from '2026-05-28 16:38:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566972 -3.230486)'), GeomFromEWKT('SRID=4674;POINT (-38.566988 -3.230439)'))) / (select extract(epoch from '2026-05-28 16:38:19'::timestamp) - extract(epoch from '2026-05-28 16:38: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.567008 -3.230413)', '2026-05-28 16:38:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566988 -3.230439)'), GeomFromEWKT('SRID=4674;POINT (-38.567008 -3.230413)'))) / (select extract(epoch from '2026-05-28 16:38:28'::timestamp) - extract(epoch from '2026-05-28 16:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566988 -3.230439)'), GeomFromEWKT('SRID=4674;POINT (-38.567008 -3.230413)'))) / (select extract(epoch from '2026-05-28 16:38:28'::timestamp) - extract(epoch from '2026-05-28 16: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.567024 -3.230383)', '2026-05-28 16:38:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567008 -3.230413)'), GeomFromEWKT('SRID=4674;POINT (-38.567024 -3.230383)'))) / (select extract(epoch from '2026-05-28 16:38:36'::timestamp) - extract(epoch from '2026-05-28 16:38:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567008 -3.230413)'), GeomFromEWKT('SRID=4674;POINT (-38.567024 -3.230383)'))) / (select extract(epoch from '2026-05-28 16:38:36'::timestamp) - extract(epoch from '2026-05-28 16:38: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.567036 -3.230383)', '2026-05-28 16:38:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567024 -3.230383)'), GeomFromEWKT('SRID=4674;POINT (-38.567036 -3.230383)'))) / (select extract(epoch from '2026-05-28 16:38:45'::timestamp) - extract(epoch from '2026-05-28 16:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567024 -3.230383)'), GeomFromEWKT('SRID=4674;POINT (-38.567036 -3.230383)'))) / (select extract(epoch from '2026-05-28 16:38:45'::timestamp) - extract(epoch from '2026-05-28 16:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567025 -3.230363)', '2026-05-28 16:39:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567036 -3.230383)'), GeomFromEWKT('SRID=4674;POINT (-38.567025 -3.230363)'))) / (select extract(epoch from '2026-05-28 16:39:05'::timestamp) - extract(epoch from '2026-05-28 16:38:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567036 -3.230383)'), GeomFromEWKT('SRID=4674;POINT (-38.567025 -3.230363)'))) / (select extract(epoch from '2026-05-28 16:39:05'::timestamp) - extract(epoch from '2026-05-28 16:38: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.567023 -3.230355)', '2026-05-28 16:39:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567025 -3.230363)'), GeomFromEWKT('SRID=4674;POINT (-38.567023 -3.230355)'))) / (select extract(epoch from '2026-05-28 16:39:25'::timestamp) - extract(epoch from '2026-05-28 16:39:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567025 -3.230363)'), GeomFromEWKT('SRID=4674;POINT (-38.567023 -3.230355)'))) / (select extract(epoch from '2026-05-28 16:39:25'::timestamp) - extract(epoch from '2026-05-28 16:39:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567026 -3.230334)', '2026-05-28 16:39:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567023 -3.230355)'), GeomFromEWKT('SRID=4674;POINT (-38.567026 -3.230334)'))) / (select extract(epoch from '2026-05-28 16:39:31'::timestamp) - extract(epoch from '2026-05-28 16:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567023 -3.230355)'), GeomFromEWKT('SRID=4674;POINT (-38.567026 -3.230334)'))) / (select extract(epoch from '2026-05-28 16:39:31'::timestamp) - extract(epoch from '2026-05-28 16:39: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.567059 -3.230308)', '2026-05-28 16:39:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567026 -3.230334)'), GeomFromEWKT('SRID=4674;POINT (-38.567059 -3.230308)'))) / (select extract(epoch from '2026-05-28 16:39:40'::timestamp) - extract(epoch from '2026-05-28 16:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567026 -3.230334)'), GeomFromEWKT('SRID=4674;POINT (-38.567059 -3.230308)'))) / (select extract(epoch from '2026-05-28 16:39:40'::timestamp) - extract(epoch from '2026-05-28 16:39: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.567072 -3.230281)', '2026-05-28 16:39:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567059 -3.230308)'), GeomFromEWKT('SRID=4674;POINT (-38.567072 -3.230281)'))) / (select extract(epoch from '2026-05-28 16:39:47'::timestamp) - extract(epoch from '2026-05-28 16:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567059 -3.230308)'), GeomFromEWKT('SRID=4674;POINT (-38.567072 -3.230281)'))) / (select extract(epoch from '2026-05-28 16:39:47'::timestamp) - extract(epoch from '2026-05-28 16:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567081 -3.230275)', '2026-05-28 16:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567072 -3.230281)'), GeomFromEWKT('SRID=4674;POINT (-38.567081 -3.230275)'))) / (select extract(epoch from '2026-05-28 16:39:59'::timestamp) - extract(epoch from '2026-05-28 16:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567072 -3.230281)'), GeomFromEWKT('SRID=4674;POINT (-38.567081 -3.230275)'))) / (select extract(epoch from '2026-05-28 16:39:59'::timestamp) - extract(epoch from '2026-05-28 16:39: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.567083 -3.230273)', '2026-05-28 16:40:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567081 -3.230275)'), GeomFromEWKT('SRID=4674;POINT (-38.567083 -3.230273)'))) / (select extract(epoch from '2026-05-28 16:40:20'::timestamp) - extract(epoch from '2026-05-28 16:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567081 -3.230275)'), GeomFromEWKT('SRID=4674;POINT (-38.567083 -3.230273)'))) / (select extract(epoch from '2026-05-28 16:40:20'::timestamp) - extract(epoch from '2026-05-28 16:39: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.567081 -3.230268)', '2026-05-28 16:40:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567083 -3.230273)'), GeomFromEWKT('SRID=4674;POINT (-38.567081 -3.230268)'))) / (select extract(epoch from '2026-05-28 16:40:34'::timestamp) - extract(epoch from '2026-05-28 16:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567083 -3.230273)'), GeomFromEWKT('SRID=4674;POINT (-38.567081 -3.230268)'))) / (select extract(epoch from '2026-05-28 16:40:34'::timestamp) - extract(epoch from '2026-05-28 16: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.567071 -3.230267)', '2026-05-28 16:40:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567081 -3.230268)'), GeomFromEWKT('SRID=4674;POINT (-38.567071 -3.230267)'))) / (select extract(epoch from '2026-05-28 16:40:43'::timestamp) - extract(epoch from '2026-05-28 16:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567081 -3.230268)'), GeomFromEWKT('SRID=4674;POINT (-38.567071 -3.230267)'))) / (select extract(epoch from '2026-05-28 16:40:43'::timestamp) - extract(epoch from '2026-05-28 16:40: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.567066 -3.230267)', '2026-05-28 16:40:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567071 -3.230267)'), GeomFromEWKT('SRID=4674;POINT (-38.567066 -3.230267)'))) / (select extract(epoch from '2026-05-28 16:40:49'::timestamp) - extract(epoch from '2026-05-28 16:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567071 -3.230267)'), GeomFromEWKT('SRID=4674;POINT (-38.567066 -3.230267)'))) / (select extract(epoch from '2026-05-28 16:40:49'::timestamp) - extract(epoch from '2026-05-28 16: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.567075 -3.230261)', '2026-05-28 16:40:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567066 -3.230267)'), GeomFromEWKT('SRID=4674;POINT (-38.567075 -3.230261)'))) / (select extract(epoch from '2026-05-28 16:40:56'::timestamp) - extract(epoch from '2026-05-28 16:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567066 -3.230267)'), GeomFromEWKT('SRID=4674;POINT (-38.567075 -3.230261)'))) / (select extract(epoch from '2026-05-28 16:40:56'::timestamp) - extract(epoch from '2026-05-28 16:40: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.567105 -3.230233)', '2026-05-28 16:41:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567075 -3.230261)'), GeomFromEWKT('SRID=4674;POINT (-38.567105 -3.230233)'))) / (select extract(epoch from '2026-05-28 16:41:12'::timestamp) - extract(epoch from '2026-05-28 16:40:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567075 -3.230261)'), GeomFromEWKT('SRID=4674;POINT (-38.567105 -3.230233)'))) / (select extract(epoch from '2026-05-28 16:41:12'::timestamp) - extract(epoch from '2026-05-28 16:40:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567128 -3.230201)', '2026-05-28 16:41:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567105 -3.230233)'), GeomFromEWKT('SRID=4674;POINT (-38.567128 -3.230201)'))) / (select extract(epoch from '2026-05-28 16:41:17'::timestamp) - extract(epoch from '2026-05-28 16:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567105 -3.230233)'), GeomFromEWKT('SRID=4674;POINT (-38.567128 -3.230201)'))) / (select extract(epoch from '2026-05-28 16:41:17'::timestamp) - extract(epoch from '2026-05-28 16:41: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.567141 -3.230191)', '2026-05-28 16:41:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567128 -3.230201)'), GeomFromEWKT('SRID=4674;POINT (-38.567141 -3.230191)'))) / (select extract(epoch from '2026-05-28 16:41:19'::timestamp) - extract(epoch from '2026-05-28 16:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567128 -3.230201)'), GeomFromEWKT('SRID=4674;POINT (-38.567141 -3.230191)'))) / (select extract(epoch from '2026-05-28 16:41:19'::timestamp) - extract(epoch from '2026-05-28 16:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567144 -3.230184)', '2026-05-28 16:41:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567141 -3.230191)'), GeomFromEWKT('SRID=4674;POINT (-38.567144 -3.230184)'))) / (select extract(epoch from '2026-05-28 16:41:20'::timestamp) - extract(epoch from '2026-05-28 16:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567141 -3.230191)'), GeomFromEWKT('SRID=4674;POINT (-38.567144 -3.230184)'))) / (select extract(epoch from '2026-05-28 16:41:20'::timestamp) - extract(epoch from '2026-05-28 16:41: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.567159 -3.230161)', '2026-05-28 16:41:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567144 -3.230184)'), GeomFromEWKT('SRID=4674;POINT (-38.567159 -3.230161)'))) / (select extract(epoch from '2026-05-28 16:41:24'::timestamp) - extract(epoch from '2026-05-28 16:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567144 -3.230184)'), GeomFromEWKT('SRID=4674;POINT (-38.567159 -3.230161)'))) / (select extract(epoch from '2026-05-28 16:41:24'::timestamp) - extract(epoch from '2026-05-28 16:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567157 -3.230157)', '2026-05-28 16:41:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567159 -3.230161)'), GeomFromEWKT('SRID=4674;POINT (-38.567157 -3.230157)'))) / (select extract(epoch from '2026-05-28 16:41:34'::timestamp) - extract(epoch from '2026-05-28 16:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567159 -3.230161)'), GeomFromEWKT('SRID=4674;POINT (-38.567157 -3.230157)'))) / (select extract(epoch from '2026-05-28 16:41:34'::timestamp) - extract(epoch from '2026-05-28 16:41: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.567157 -3.230157)', '2026-05-28 16:41:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567157 -3.230157)'), GeomFromEWKT('SRID=4674;POINT (-38.567157 -3.230157)'))) / (select extract(epoch from '2026-05-28 16:41:38'::timestamp) - extract(epoch from '2026-05-28 16:41:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567157 -3.230157)'), GeomFromEWKT('SRID=4674;POINT (-38.567157 -3.230157)'))) / (select extract(epoch from '2026-05-28 16:41:38'::timestamp) - extract(epoch from '2026-05-28 16:41: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.567131 -3.230157)', '2026-05-28 16:42:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567157 -3.230157)'), GeomFromEWKT('SRID=4674;POINT (-38.567131 -3.230157)'))) / (select extract(epoch from '2026-05-28 16:42:07'::timestamp) - extract(epoch from '2026-05-28 16:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567157 -3.230157)'), GeomFromEWKT('SRID=4674;POINT (-38.567131 -3.230157)'))) / (select extract(epoch from '2026-05-28 16:42:07'::timestamp) - extract(epoch from '2026-05-28 16: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.567126 -3.230151)', '2026-05-28 16:42:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567131 -3.230157)'), GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.230151)'))) / (select extract(epoch from '2026-05-28 16:42:20'::timestamp) - extract(epoch from '2026-05-28 16:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567131 -3.230157)'), GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.230151)'))) / (select extract(epoch from '2026-05-28 16:42:20'::timestamp) - extract(epoch from '2026-05-28 16:42: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.567117 -3.230141)', '2026-05-28 16:42:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.230151)'), GeomFromEWKT('SRID=4674;POINT (-38.567117 -3.230141)'))) / (select extract(epoch from '2026-05-28 16:42:33'::timestamp) - extract(epoch from '2026-05-28 16:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.230151)'), GeomFromEWKT('SRID=4674;POINT (-38.567117 -3.230141)'))) / (select extract(epoch from '2026-05-28 16:42:33'::timestamp) - extract(epoch from '2026-05-28 16:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567113 -3.230129)', '2026-05-28 16:42:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567117 -3.230141)'), GeomFromEWKT('SRID=4674;POINT (-38.567113 -3.230129)'))) / (select extract(epoch from '2026-05-28 16:42:43'::timestamp) - extract(epoch from '2026-05-28 16:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567117 -3.230141)'), GeomFromEWKT('SRID=4674;POINT (-38.567113 -3.230129)'))) / (select extract(epoch from '2026-05-28 16:42:43'::timestamp) - extract(epoch from '2026-05-28 16:42: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.567121 -3.230136)', '2026-05-28 16:42:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567113 -3.230129)'), GeomFromEWKT('SRID=4674;POINT (-38.567121 -3.230136)'))) / (select extract(epoch from '2026-05-28 16:42:48'::timestamp) - extract(epoch from '2026-05-28 16:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567113 -3.230129)'), GeomFromEWKT('SRID=4674;POINT (-38.567121 -3.230136)'))) / (select extract(epoch from '2026-05-28 16:42:48'::timestamp) - extract(epoch from '2026-05-28 16: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.567127 -3.230136)', '2026-05-28 16:42:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567121 -3.230136)'), GeomFromEWKT('SRID=4674;POINT (-38.567127 -3.230136)'))) / (select extract(epoch from '2026-05-28 16:42:54'::timestamp) - extract(epoch from '2026-05-28 16:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567121 -3.230136)'), GeomFromEWKT('SRID=4674;POINT (-38.567127 -3.230136)'))) / (select extract(epoch from '2026-05-28 16:42:54'::timestamp) - extract(epoch from '2026-05-28 16:42: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.567126 -3.230138)', '2026-05-28 16:42:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567127 -3.230136)'), GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.230138)'))) / (select extract(epoch from '2026-05-28 16:42:59'::timestamp) - extract(epoch from '2026-05-28 16:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567127 -3.230136)'), GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.230138)'))) / (select extract(epoch from '2026-05-28 16:42:59'::timestamp) - extract(epoch from '2026-05-28 16:42:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567129 -3.230137)', '2026-05-28 16:43:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.230138)'), GeomFromEWKT('SRID=4674;POINT (-38.567129 -3.230137)'))) / (select extract(epoch from '2026-05-28 16:43:08'::timestamp) - extract(epoch from '2026-05-28 16:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567126 -3.230138)'), GeomFromEWKT('SRID=4674;POINT (-38.567129 -3.230137)'))) / (select extract(epoch from '2026-05-28 16:43:08'::timestamp) - extract(epoch from '2026-05-28 16:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567127 -3.230131)', '2026-05-28 16:43:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567129 -3.230137)'), GeomFromEWKT('SRID=4674;POINT (-38.567127 -3.230131)'))) / (select extract(epoch from '2026-05-28 16:43:15'::timestamp) - extract(epoch from '2026-05-28 16:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567129 -3.230137)'), GeomFromEWKT('SRID=4674;POINT (-38.567127 -3.230131)'))) / (select extract(epoch from '2026-05-28 16:43:15'::timestamp) - extract(epoch from '2026-05-28 16:43: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.567117 -3.230129)', '2026-05-28 16:43:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567127 -3.230131)'), GeomFromEWKT('SRID=4674;POINT (-38.567117 -3.230129)'))) / (select extract(epoch from '2026-05-28 16:43:24'::timestamp) - extract(epoch from '2026-05-28 16:43:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567127 -3.230131)'), GeomFromEWKT('SRID=4674;POINT (-38.567117 -3.230129)'))) / (select extract(epoch from '2026-05-28 16:43:24'::timestamp) - extract(epoch from '2026-05-28 16:43: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.56711 -3.230127)', '2026-05-28 16:43:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567117 -3.230129)'), GeomFromEWKT('SRID=4674;POINT (-38.56711 -3.230127)'))) / (select extract(epoch from '2026-05-28 16:43:32'::timestamp) - extract(epoch from '2026-05-28 16:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567117 -3.230129)'), GeomFromEWKT('SRID=4674;POINT (-38.56711 -3.230127)'))) / (select extract(epoch from '2026-05-28 16:43:32'::timestamp) - extract(epoch from '2026-05-28 16:43:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56711 -3.230119)', '2026-05-28 16:43:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56711 -3.230127)'), GeomFromEWKT('SRID=4674;POINT (-38.56711 -3.230119)'))) / (select extract(epoch from '2026-05-28 16:43:37'::timestamp) - extract(epoch from '2026-05-28 16:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56711 -3.230127)'), GeomFromEWKT('SRID=4674;POINT (-38.56711 -3.230119)'))) / (select extract(epoch from '2026-05-28 16:43:37'::timestamp) - extract(epoch from '2026-05-28 16:43:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567116 -3.230117)', '2026-05-28 16:43:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56711 -3.230119)'), GeomFromEWKT('SRID=4674;POINT (-38.567116 -3.230117)'))) / (select extract(epoch from '2026-05-28 16:43:41'::timestamp) - extract(epoch from '2026-05-28 16:43:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56711 -3.230119)'), GeomFromEWKT('SRID=4674;POINT (-38.567116 -3.230117)'))) / (select extract(epoch from '2026-05-28 16:43:41'::timestamp) - extract(epoch from '2026-05-28 16:43: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.567098 -3.230119)', '2026-05-28 16:43:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567116 -3.230117)'), GeomFromEWKT('SRID=4674;POINT (-38.567098 -3.230119)'))) / (select extract(epoch from '2026-05-28 16:43:49'::timestamp) - extract(epoch from '2026-05-28 16:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567116 -3.230117)'), GeomFromEWKT('SRID=4674;POINT (-38.567098 -3.230119)'))) / (select extract(epoch from '2026-05-28 16:43:49'::timestamp) - extract(epoch from '2026-05-28 16:43: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.567082 -3.230128)', '2026-05-28 16:43:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567098 -3.230119)'), GeomFromEWKT('SRID=4674;POINT (-38.567082 -3.230128)'))) / (select extract(epoch from '2026-05-28 16:43:59'::timestamp) - extract(epoch from '2026-05-28 16:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567098 -3.230119)'), GeomFromEWKT('SRID=4674;POINT (-38.567082 -3.230128)'))) / (select extract(epoch from '2026-05-28 16:43:59'::timestamp) - extract(epoch from '2026-05-28 16:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567087 -3.230118)', '2026-05-28 16:44:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567082 -3.230128)'), GeomFromEWKT('SRID=4674;POINT (-38.567087 -3.230118)'))) / (select extract(epoch from '2026-05-28 16:44:05'::timestamp) - extract(epoch from '2026-05-28 16:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567082 -3.230128)'), GeomFromEWKT('SRID=4674;POINT (-38.567087 -3.230118)'))) / (select extract(epoch from '2026-05-28 16:44:05'::timestamp) - extract(epoch from '2026-05-28 16: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.56709 -3.230116)', '2026-05-28 16:44:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567087 -3.230118)'), GeomFromEWKT('SRID=4674;POINT (-38.56709 -3.230116)'))) / (select extract(epoch from '2026-05-28 16:44:12'::timestamp) - extract(epoch from '2026-05-28 16:44:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567087 -3.230118)'), GeomFromEWKT('SRID=4674;POINT (-38.56709 -3.230116)'))) / (select extract(epoch from '2026-05-28 16:44:12'::timestamp) - extract(epoch from '2026-05-28 16:44: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.567093 -3.230108)', '2026-05-28 16:44:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56709 -3.230116)'), GeomFromEWKT('SRID=4674;POINT (-38.567093 -3.230108)'))) / (select extract(epoch from '2026-05-28 16:44:20'::timestamp) - extract(epoch from '2026-05-28 16:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56709 -3.230116)'), GeomFromEWKT('SRID=4674;POINT (-38.567093 -3.230108)'))) / (select extract(epoch from '2026-05-28 16:44:20'::timestamp) - extract(epoch from '2026-05-28 16:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567085 -3.230106)', '2026-05-28 16:44:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567093 -3.230108)'), GeomFromEWKT('SRID=4674;POINT (-38.567085 -3.230106)'))) / (select extract(epoch from '2026-05-28 16:44:29'::timestamp) - extract(epoch from '2026-05-28 16:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567093 -3.230108)'), GeomFromEWKT('SRID=4674;POINT (-38.567085 -3.230106)'))) / (select extract(epoch from '2026-05-28 16:44:29'::timestamp) - extract(epoch from '2026-05-28 16:44: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.567085 -3.230102)', '2026-05-28 16:44:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567085 -3.230106)'), GeomFromEWKT('SRID=4674;POINT (-38.567085 -3.230102)'))) / (select extract(epoch from '2026-05-28 16:44:38'::timestamp) - extract(epoch from '2026-05-28 16:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567085 -3.230106)'), GeomFromEWKT('SRID=4674;POINT (-38.567085 -3.230102)'))) / (select extract(epoch from '2026-05-28 16:44:38'::timestamp) - extract(epoch from '2026-05-28 16: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.567088 -3.2301)', '2026-05-28 16:44:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567085 -3.230102)'), GeomFromEWKT('SRID=4674;POINT (-38.567088 -3.2301)'))) / (select extract(epoch from '2026-05-28 16:44:47'::timestamp) - extract(epoch from '2026-05-28 16:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567085 -3.230102)'), GeomFromEWKT('SRID=4674;POINT (-38.567088 -3.2301)'))) / (select extract(epoch from '2026-05-28 16:44:47'::timestamp) - extract(epoch from '2026-05-28 16:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566705 -3.230772)', '2026-05-28 19:37:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567088 -3.2301)'), GeomFromEWKT('SRID=4674;POINT (-38.566705 -3.230772)'))) / (select extract(epoch from '2026-05-28 19:37:49'::timestamp) - extract(epoch from '2026-05-28 16:44:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567088 -3.2301)'), GeomFromEWKT('SRID=4674;POINT (-38.566705 -3.230772)'))) / (select extract(epoch from '2026-05-28 19:37:49'::timestamp) - extract(epoch from '2026-05-28 16:44: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.566712 -3.230797)', '2026-05-28 19:37:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566705 -3.230772)'), GeomFromEWKT('SRID=4674;POINT (-38.566712 -3.230797)'))) / (select extract(epoch from '2026-05-28 19:37:57'::timestamp) - extract(epoch from '2026-05-28 19:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566705 -3.230772)'), GeomFromEWKT('SRID=4674;POINT (-38.566712 -3.230797)'))) / (select extract(epoch from '2026-05-28 19:37:57'::timestamp) - extract(epoch from '2026-05-28 19:37: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.566703 -3.230807)', '2026-05-28 19:38:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566712 -3.230797)'), GeomFromEWKT('SRID=4674;POINT (-38.566703 -3.230807)'))) / (select extract(epoch from '2026-05-28 19:38:06'::timestamp) - extract(epoch from '2026-05-28 19:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566712 -3.230797)'), GeomFromEWKT('SRID=4674;POINT (-38.566703 -3.230807)'))) / (select extract(epoch from '2026-05-28 19:38:06'::timestamp) - extract(epoch from '2026-05-28 19:37: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.566687 -3.230803)', '2026-05-28 19:38:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566703 -3.230807)'), GeomFromEWKT('SRID=4674;POINT (-38.566687 -3.230803)'))) / (select extract(epoch from '2026-05-28 19:38:15'::timestamp) - extract(epoch from '2026-05-28 19:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566703 -3.230807)'), GeomFromEWKT('SRID=4674;POINT (-38.566687 -3.230803)'))) / (select extract(epoch from '2026-05-28 19:38:15'::timestamp) - extract(epoch from '2026-05-28 19:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566683 -3.230797)', '2026-05-28 19:38:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566687 -3.230803)'), GeomFromEWKT('SRID=4674;POINT (-38.566683 -3.230797)'))) / (select extract(epoch from '2026-05-28 19:38:22'::timestamp) - extract(epoch from '2026-05-28 19:38:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566687 -3.230803)'), GeomFromEWKT('SRID=4674;POINT (-38.566683 -3.230797)'))) / (select extract(epoch from '2026-05-28 19:38:22'::timestamp) - extract(epoch from '2026-05-28 19:38: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.566676 -3.230805)', '2026-05-28 19:38:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566683 -3.230797)'), GeomFromEWKT('SRID=4674;POINT (-38.566676 -3.230805)'))) / (select extract(epoch from '2026-05-28 19:38:30'::timestamp) - extract(epoch from '2026-05-28 19:38:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566683 -3.230797)'), GeomFromEWKT('SRID=4674;POINT (-38.566676 -3.230805)'))) / (select extract(epoch from '2026-05-28 19:38:30'::timestamp) - extract(epoch from '2026-05-28 19:38:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.56669 -3.230797)', '2026-05-28 19:38:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566676 -3.230805)'), GeomFromEWKT('SRID=4674;POINT (-38.56669 -3.230797)'))) / (select extract(epoch from '2026-05-28 19:38:36'::timestamp) - extract(epoch from '2026-05-28 19:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566676 -3.230805)'), GeomFromEWKT('SRID=4674;POINT (-38.56669 -3.230797)'))) / (select extract(epoch from '2026-05-28 19:38:36'::timestamp) - extract(epoch from '2026-05-28 19:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566799 -3.230822)', '2026-05-28 19:38:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56669 -3.230797)'), GeomFromEWKT('SRID=4674;POINT (-38.566799 -3.230822)'))) / (select extract(epoch from '2026-05-28 19:38:41'::timestamp) - extract(epoch from '2026-05-28 19:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56669 -3.230797)'), GeomFromEWKT('SRID=4674;POINT (-38.566799 -3.230822)'))) / (select extract(epoch from '2026-05-28 19:38:41'::timestamp) - extract(epoch from '2026-05-28 19:38:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566822 -3.230828)', '2026-05-28 19:38:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566799 -3.230822)'), GeomFromEWKT('SRID=4674;POINT (-38.566822 -3.230828)'))) / (select extract(epoch from '2026-05-28 19:38:47'::timestamp) - extract(epoch from '2026-05-28 19:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566799 -3.230822)'), GeomFromEWKT('SRID=4674;POINT (-38.566822 -3.230828)'))) / (select extract(epoch from '2026-05-28 19:38:47'::timestamp) - extract(epoch from '2026-05-28 19:38: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.566831 -3.230828)', '2026-05-28 19:38:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566822 -3.230828)'), GeomFromEWKT('SRID=4674;POINT (-38.566831 -3.230828)'))) / (select extract(epoch from '2026-05-28 19:38:54'::timestamp) - extract(epoch from '2026-05-28 19:38:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566822 -3.230828)'), GeomFromEWKT('SRID=4674;POINT (-38.566831 -3.230828)'))) / (select extract(epoch from '2026-05-28 19:38:54'::timestamp) - extract(epoch from '2026-05-28 19:38:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.566836 -3.230833)', '2026-05-28 19:39:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566831 -3.230828)'), GeomFromEWKT('SRID=4674;POINT (-38.566836 -3.230833)'))) / (select extract(epoch from '2026-05-28 19:39:00'::timestamp) - extract(epoch from '2026-05-28 19:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566831 -3.230828)'), GeomFromEWKT('SRID=4674;POINT (-38.566836 -3.230833)'))) / (select extract(epoch from '2026-05-28 19:39:00'::timestamp) - extract(epoch from '2026-05-28 19:38: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.566838 -3.230837)', '2026-05-28 19:39:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566836 -3.230833)'), GeomFromEWKT('SRID=4674;POINT (-38.566838 -3.230837)'))) / (select extract(epoch from '2026-05-28 19:39:08'::timestamp) - extract(epoch from '2026-05-28 19:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566836 -3.230833)'), GeomFromEWKT('SRID=4674;POINT (-38.566838 -3.230837)'))) / (select extract(epoch from '2026-05-28 19:39:08'::timestamp) - extract(epoch from '2026-05-28 19:39: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.566846 -3.23084)', '2026-05-28 19:39:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566838 -3.230837)'), GeomFromEWKT('SRID=4674;POINT (-38.566846 -3.23084)'))) / (select extract(epoch from '2026-05-28 19:39:13'::timestamp) - extract(epoch from '2026-05-28 19:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566838 -3.230837)'), GeomFromEWKT('SRID=4674;POINT (-38.566846 -3.23084)'))) / (select extract(epoch from '2026-05-28 19:39:13'::timestamp) - extract(epoch from '2026-05-28 19:39: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.566857 -3.230847)', '2026-05-28 19:39:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566846 -3.23084)'), GeomFromEWKT('SRID=4674;POINT (-38.566857 -3.230847)'))) / (select extract(epoch from '2026-05-28 19:39:20'::timestamp) - extract(epoch from '2026-05-28 19:39:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566846 -3.23084)'), GeomFromEWKT('SRID=4674;POINT (-38.566857 -3.230847)'))) / (select extract(epoch from '2026-05-28 19:39:20'::timestamp) - extract(epoch from '2026-05-28 19:39: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.56732 -3.230405)', '2026-05-28 19:39:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566857 -3.230847)'), GeomFromEWKT('SRID=4674;POINT (-38.56732 -3.230405)'))) / (select extract(epoch from '2026-05-28 19:39:24'::timestamp) - extract(epoch from '2026-05-28 19:39:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.566857 -3.230847)'), GeomFromEWKT('SRID=4674;POINT (-38.56732 -3.230405)'))) / (select extract(epoch from '2026-05-28 19:39:24'::timestamp) - extract(epoch from '2026-05-28 19:39: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.567415 -3.230279)', '2026-05-28 19:39:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56732 -3.230405)'), GeomFromEWKT('SRID=4674;POINT (-38.567415 -3.230279)'))) / (select extract(epoch from '2026-05-28 19:39:26'::timestamp) - extract(epoch from '2026-05-28 19:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56732 -3.230405)'), GeomFromEWKT('SRID=4674;POINT (-38.567415 -3.230279)'))) / (select extract(epoch from '2026-05-28 19:39:26'::timestamp) - extract(epoch from '2026-05-28 19:39: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.567434 -3.230256)', '2026-05-28 19:39:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567415 -3.230279)'), GeomFromEWKT('SRID=4674;POINT (-38.567434 -3.230256)'))) / (select extract(epoch from '2026-05-28 19:39:33'::timestamp) - extract(epoch from '2026-05-28 19:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567415 -3.230279)'), GeomFromEWKT('SRID=4674;POINT (-38.567434 -3.230256)'))) / (select extract(epoch from '2026-05-28 19:39:33'::timestamp) - extract(epoch from '2026-05-28 19:39: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.567429 -3.230259)', '2026-05-28 19:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567434 -3.230256)'), GeomFromEWKT('SRID=4674;POINT (-38.567429 -3.230259)'))) / (select extract(epoch from '2026-05-28 19:39:38'::timestamp) - extract(epoch from '2026-05-28 19:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567434 -3.230256)'), GeomFromEWKT('SRID=4674;POINT (-38.567429 -3.230259)'))) / (select extract(epoch from '2026-05-28 19:39:38'::timestamp) - extract(epoch from '2026-05-28 19:39: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.567417 -3.230258)', '2026-05-28 19:39:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567429 -3.230259)'), GeomFromEWKT('SRID=4674;POINT (-38.567417 -3.230258)'))) / (select extract(epoch from '2026-05-28 19:39:47'::timestamp) - extract(epoch from '2026-05-28 19:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567429 -3.230259)'), GeomFromEWKT('SRID=4674;POINT (-38.567417 -3.230258)'))) / (select extract(epoch from '2026-05-28 19:39:47'::timestamp) - extract(epoch from '2026-05-28 19:39: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.567416 -3.230256)', '2026-05-28 19:39:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567417 -3.230258)'), GeomFromEWKT('SRID=4674;POINT (-38.567416 -3.230256)'))) / (select extract(epoch from '2026-05-28 19:39:53'::timestamp) - extract(epoch from '2026-05-28 19:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567417 -3.230258)'), GeomFromEWKT('SRID=4674;POINT (-38.567416 -3.230256)'))) / (select extract(epoch from '2026-05-28 19:39:53'::timestamp) - extract(epoch from '2026-05-28 19:39: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.567415 -3.230255)', '2026-05-28 19:39:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567416 -3.230256)'), GeomFromEWKT('SRID=4674;POINT (-38.567415 -3.230255)'))) / (select extract(epoch from '2026-05-28 19:39:59'::timestamp) - extract(epoch from '2026-05-28 19:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567416 -3.230256)'), GeomFromEWKT('SRID=4674;POINT (-38.567415 -3.230255)'))) / (select extract(epoch from '2026-05-28 19:39:59'::timestamp) - extract(epoch from '2026-05-28 19:39: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.56742 -3.230253)', '2026-05-28 19:40:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567415 -3.230255)'), GeomFromEWKT('SRID=4674;POINT (-38.56742 -3.230253)'))) / (select extract(epoch from '2026-05-28 19:40:04'::timestamp) - extract(epoch from '2026-05-28 19:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567415 -3.230255)'), GeomFromEWKT('SRID=4674;POINT (-38.56742 -3.230253)'))) / (select extract(epoch from '2026-05-28 19:40:04'::timestamp) - extract(epoch from '2026-05-28 19:39: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.56742 -3.23025)', '2026-05-28 19:40:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56742 -3.230253)'), GeomFromEWKT('SRID=4674;POINT (-38.56742 -3.23025)'))) / (select extract(epoch from '2026-05-28 19:40:11'::timestamp) - extract(epoch from '2026-05-28 19:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56742 -3.230253)'), GeomFromEWKT('SRID=4674;POINT (-38.56742 -3.23025)'))) / (select extract(epoch from '2026-05-28 19:40:11'::timestamp) - extract(epoch from '2026-05-28 19:40: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.567418 -3.230251)', '2026-05-28 19:40:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56742 -3.23025)'), GeomFromEWKT('SRID=4674;POINT (-38.567418 -3.230251)'))) / (select extract(epoch from '2026-05-28 19:40:17'::timestamp) - extract(epoch from '2026-05-28 19:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56742 -3.23025)'), GeomFromEWKT('SRID=4674;POINT (-38.567418 -3.230251)'))) / (select extract(epoch from '2026-05-28 19:40:17'::timestamp) - extract(epoch from '2026-05-28 19: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.567414 -3.230251)', '2026-05-28 19:40:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567418 -3.230251)'), GeomFromEWKT('SRID=4674;POINT (-38.567414 -3.230251)'))) / (select extract(epoch from '2026-05-28 19:40:22'::timestamp) - extract(epoch from '2026-05-28 19:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567418 -3.230251)'), GeomFromEWKT('SRID=4674;POINT (-38.567414 -3.230251)'))) / (select extract(epoch from '2026-05-28 19:40:22'::timestamp) - extract(epoch from '2026-05-28 19:40: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.567412 -3.23025)', '2026-05-28 19:40:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567414 -3.230251)'), GeomFromEWKT('SRID=4674;POINT (-38.567412 -3.23025)'))) / (select extract(epoch from '2026-05-28 19:40:29'::timestamp) - extract(epoch from '2026-05-28 19:40:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567414 -3.230251)'), GeomFromEWKT('SRID=4674;POINT (-38.567412 -3.23025)'))) / (select extract(epoch from '2026-05-28 19:40:29'::timestamp) - extract(epoch from '2026-05-28 19:40:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567409 -3.23025)', '2026-05-28 19:40:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567412 -3.23025)'), GeomFromEWKT('SRID=4674;POINT (-38.567409 -3.23025)'))) / (select extract(epoch from '2026-05-28 19:40:37'::timestamp) - extract(epoch from '2026-05-28 19:40:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567412 -3.23025)'), GeomFromEWKT('SRID=4674;POINT (-38.567409 -3.23025)'))) / (select extract(epoch from '2026-05-28 19:40:37'::timestamp) - extract(epoch from '2026-05-28 19:40:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567413 -3.230234)', '2026-05-28 19:40:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567409 -3.23025)'), GeomFromEWKT('SRID=4674;POINT (-38.567413 -3.230234)'))) / (select extract(epoch from '2026-05-28 19:40:45'::timestamp) - extract(epoch from '2026-05-28 19:40:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567409 -3.23025)'), GeomFromEWKT('SRID=4674;POINT (-38.567413 -3.230234)'))) / (select extract(epoch from '2026-05-28 19:40:45'::timestamp) - extract(epoch from '2026-05-28 19:40: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.567405 -3.230234)', '2026-05-28 19:40:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567413 -3.230234)'), GeomFromEWKT('SRID=4674;POINT (-38.567405 -3.230234)'))) / (select extract(epoch from '2026-05-28 19:40:52'::timestamp) - extract(epoch from '2026-05-28 19:40:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567413 -3.230234)'), GeomFromEWKT('SRID=4674;POINT (-38.567405 -3.230234)'))) / (select extract(epoch from '2026-05-28 19:40:52'::timestamp) - extract(epoch from '2026-05-28 19:40:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567398 -3.230229)', '2026-05-28 19:41:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567405 -3.230234)'), GeomFromEWKT('SRID=4674;POINT (-38.567398 -3.230229)'))) / (select extract(epoch from '2026-05-28 19:41:04'::timestamp) - extract(epoch from '2026-05-28 19:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567405 -3.230234)'), GeomFromEWKT('SRID=4674;POINT (-38.567398 -3.230229)'))) / (select extract(epoch from '2026-05-28 19:41:04'::timestamp) - extract(epoch from '2026-05-28 19:40:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567398 -3.230226)', '2026-05-28 19:41:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567398 -3.230229)'), GeomFromEWKT('SRID=4674;POINT (-38.567398 -3.230226)'))) / (select extract(epoch from '2026-05-28 19:41:11'::timestamp) - extract(epoch from '2026-05-28 19:41:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567398 -3.230229)'), GeomFromEWKT('SRID=4674;POINT (-38.567398 -3.230226)'))) / (select extract(epoch from '2026-05-28 19:41:11'::timestamp) - extract(epoch from '2026-05-28 19:41: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.567399 -3.230221)', '2026-05-28 19:41:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567398 -3.230226)'), GeomFromEWKT('SRID=4674;POINT (-38.567399 -3.230221)'))) / (select extract(epoch from '2026-05-28 19:41:17'::timestamp) - extract(epoch from '2026-05-28 19:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567398 -3.230226)'), GeomFromEWKT('SRID=4674;POINT (-38.567399 -3.230221)'))) / (select extract(epoch from '2026-05-28 19:41:17'::timestamp) - extract(epoch from '2026-05-28 19:41: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.56739 -3.23022)', '2026-05-28 19:41:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567399 -3.230221)'), GeomFromEWKT('SRID=4674;POINT (-38.56739 -3.23022)'))) / (select extract(epoch from '2026-05-28 19:41:29'::timestamp) - extract(epoch from '2026-05-28 19:41:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567399 -3.230221)'), GeomFromEWKT('SRID=4674;POINT (-38.56739 -3.23022)'))) / (select extract(epoch from '2026-05-28 19:41:29'::timestamp) - extract(epoch from '2026-05-28 19:41:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567396 -3.230218)', '2026-05-28 19:41:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56739 -3.23022)'), GeomFromEWKT('SRID=4674;POINT (-38.567396 -3.230218)'))) / (select extract(epoch from '2026-05-28 19:41:40'::timestamp) - extract(epoch from '2026-05-28 19:41:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.56739 -3.23022)'), GeomFromEWKT('SRID=4674;POINT (-38.567396 -3.230218)'))) / (select extract(epoch from '2026-05-28 19:41:40'::timestamp) - extract(epoch from '2026-05-28 19:41: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.567394 -3.23022)', '2026-05-28 19:41:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567396 -3.230218)'), GeomFromEWKT('SRID=4674;POINT (-38.567394 -3.23022)'))) / (select extract(epoch from '2026-05-28 19:41:45'::timestamp) - extract(epoch from '2026-05-28 19:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567396 -3.230218)'), GeomFromEWKT('SRID=4674;POINT (-38.567394 -3.23022)'))) / (select extract(epoch from '2026-05-28 19:41:45'::timestamp) - extract(epoch from '2026-05-28 19:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.567394 -3.230223)', '2026-05-28 19:41:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567394 -3.23022)'), GeomFromEWKT('SRID=4674;POINT (-38.567394 -3.230223)'))) / (select extract(epoch from '2026-05-28 19:41:50'::timestamp) - extract(epoch from '2026-05-28 19:41:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567394 -3.23022)'), GeomFromEWKT('SRID=4674;POINT (-38.567394 -3.230223)'))) / (select extract(epoch from '2026-05-28 19:41:50'::timestamp) - extract(epoch from '2026-05-28 19:41: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.568731 -3.2297)', '2026-05-29 08:47:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567394 -3.230223)'), GeomFromEWKT('SRID=4674;POINT (-38.568731 -3.2297)'))) / (select extract(epoch from '2026-05-29 08:47:39'::timestamp) - extract(epoch from '2026-05-28 19:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.567394 -3.230223)'), GeomFromEWKT('SRID=4674;POINT (-38.568731 -3.2297)'))) / (select extract(epoch from '2026-05-29 08:47:39'::timestamp) - extract(epoch from '2026-05-28 19:41: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.568777 -3.229673)', '2026-05-29 08:47:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568731 -3.2297)'), GeomFromEWKT('SRID=4674;POINT (-38.568777 -3.229673)'))) / (select extract(epoch from '2026-05-29 08:47:46'::timestamp) - extract(epoch from '2026-05-29 08:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568731 -3.2297)'), GeomFromEWKT('SRID=4674;POINT (-38.568777 -3.229673)'))) / (select extract(epoch from '2026-05-29 08:47:46'::timestamp) - extract(epoch from '2026-05-29 08:47:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.568828 -3.22965)', '2026-05-29 08:47:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568777 -3.229673)'), GeomFromEWKT('SRID=4674;POINT (-38.568828 -3.22965)'))) / (select extract(epoch from '2026-05-29 08:47:54'::timestamp) - extract(epoch from '2026-05-29 08:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568777 -3.229673)'), GeomFromEWKT('SRID=4674;POINT (-38.568828 -3.22965)'))) / (select extract(epoch from '2026-05-29 08:47:54'::timestamp) - extract(epoch from '2026-05-29 08:47: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.569021 -3.229624)', '2026-05-29 08:48:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568828 -3.22965)'), GeomFromEWKT('SRID=4674;POINT (-38.569021 -3.229624)'))) / (select extract(epoch from '2026-05-29 08:48:03'::timestamp) - extract(epoch from '2026-05-29 08:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.568828 -3.22965)'), GeomFromEWKT('SRID=4674;POINT (-38.569021 -3.229624)'))) / (select extract(epoch from '2026-05-29 08:48:03'::timestamp) - extract(epoch from '2026-05-29 08:47: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.569111 -3.229611)', '2026-05-29 08:48:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569021 -3.229624)'), GeomFromEWKT('SRID=4674;POINT (-38.569111 -3.229611)'))) / (select extract(epoch from '2026-05-29 08:48:12'::timestamp) - extract(epoch from '2026-05-29 08:48:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569021 -3.229624)'), GeomFromEWKT('SRID=4674;POINT (-38.569111 -3.229611)'))) / (select extract(epoch from '2026-05-29 08:48:12'::timestamp) - extract(epoch from '2026-05-29 08: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.569159 -3.229602)', '2026-05-29 08:48:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569111 -3.229611)'), GeomFromEWKT('SRID=4674;POINT (-38.569159 -3.229602)'))) / (select extract(epoch from '2026-05-29 08:48:18'::timestamp) - extract(epoch from '2026-05-29 08:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569111 -3.229611)'), GeomFromEWKT('SRID=4674;POINT (-38.569159 -3.229602)'))) / (select extract(epoch from '2026-05-29 08:48:18'::timestamp) - extract(epoch from '2026-05-29 08:48: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.569179 -3.229584)', '2026-05-29 08:48:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569159 -3.229602)'), GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.229584)'))) / (select extract(epoch from '2026-05-29 08:48:19'::timestamp) - extract(epoch from '2026-05-29 08:48:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569159 -3.229602)'), GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.229584)'))) / (select extract(epoch from '2026-05-29 08:48:19'::timestamp) - extract(epoch from '2026-05-29 08:48: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.5692 -3.229586)', '2026-05-29 08:48:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.229584)'), GeomFromEWKT('SRID=4674;POINT (-38.5692 -3.229586)'))) / (select extract(epoch from '2026-05-29 08:48:22'::timestamp) - extract(epoch from '2026-05-29 08:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569179 -3.229584)'), GeomFromEWKT('SRID=4674;POINT (-38.5692 -3.229586)'))) / (select extract(epoch from '2026-05-29 08:48:22'::timestamp) - extract(epoch from '2026-05-29 08:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569236 -3.229554)', '2026-05-29 08:48:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5692 -3.229586)'), GeomFromEWKT('SRID=4674;POINT (-38.569236 -3.229554)'))) / (select extract(epoch from '2026-05-29 08:48:26'::timestamp) - extract(epoch from '2026-05-29 08:48:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5692 -3.229586)'), GeomFromEWKT('SRID=4674;POINT (-38.569236 -3.229554)'))) / (select extract(epoch from '2026-05-29 08:48:26'::timestamp) - extract(epoch from '2026-05-29 08:48: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.569293 -3.22953)', '2026-05-29 08:48:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569236 -3.229554)'), GeomFromEWKT('SRID=4674;POINT (-38.569293 -3.22953)'))) / (select extract(epoch from '2026-05-29 08:48:32'::timestamp) - extract(epoch from '2026-05-29 08:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569236 -3.229554)'), GeomFromEWKT('SRID=4674;POINT (-38.569293 -3.22953)'))) / (select extract(epoch from '2026-05-29 08:48:32'::timestamp) - extract(epoch from '2026-05-29 08: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.569373 -3.229482)', '2026-05-29 08:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569293 -3.22953)'), GeomFromEWKT('SRID=4674;POINT (-38.569373 -3.229482)'))) / (select extract(epoch from '2026-05-29 08:48:42'::timestamp) - extract(epoch from '2026-05-29 08:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569293 -3.22953)'), GeomFromEWKT('SRID=4674;POINT (-38.569373 -3.229482)'))) / (select extract(epoch from '2026-05-29 08:48:42'::timestamp) - extract(epoch from '2026-05-29 08: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.569402 -3.229476)', '2026-05-29 08:48:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569373 -3.229482)'), GeomFromEWKT('SRID=4674;POINT (-38.569402 -3.229476)'))) / (select extract(epoch from '2026-05-29 08:48:46'::timestamp) - extract(epoch from '2026-05-29 08:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569373 -3.229482)'), GeomFromEWKT('SRID=4674;POINT (-38.569402 -3.229476)'))) / (select extract(epoch from '2026-05-29 08:48:46'::timestamp) - extract(epoch from '2026-05-29 08:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569413 -3.229477)', '2026-05-29 08:48:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569402 -3.229476)'), GeomFromEWKT('SRID=4674;POINT (-38.569413 -3.229477)'))) / (select extract(epoch from '2026-05-29 08:48:47'::timestamp) - extract(epoch from '2026-05-29 08:48:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569402 -3.229476)'), GeomFromEWKT('SRID=4674;POINT (-38.569413 -3.229477)'))) / (select extract(epoch from '2026-05-29 08:48:47'::timestamp) - extract(epoch from '2026-05-29 08: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.569442 -3.22947)', '2026-05-29 08:48:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569413 -3.229477)'), GeomFromEWKT('SRID=4674;POINT (-38.569442 -3.22947)'))) / (select extract(epoch from '2026-05-29 08:48:52'::timestamp) - extract(epoch from '2026-05-29 08:48:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569413 -3.229477)'), GeomFromEWKT('SRID=4674;POINT (-38.569442 -3.22947)'))) / (select extract(epoch from '2026-05-29 08:48:52'::timestamp) - extract(epoch from '2026-05-29 08:48: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.569458 -3.229466)', '2026-05-29 08:48:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569442 -3.22947)'), GeomFromEWKT('SRID=4674;POINT (-38.569458 -3.229466)'))) / (select extract(epoch from '2026-05-29 08:48:53'::timestamp) - extract(epoch from '2026-05-29 08:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569442 -3.22947)'), GeomFromEWKT('SRID=4674;POINT (-38.569458 -3.229466)'))) / (select extract(epoch from '2026-05-29 08:48:53'::timestamp) - extract(epoch from '2026-05-29 08:48: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.569502 -3.229448)', '2026-05-29 08:48:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569458 -3.229466)'), GeomFromEWKT('SRID=4674;POINT (-38.569502 -3.229448)'))) / (select extract(epoch from '2026-05-29 08:48:58'::timestamp) - extract(epoch from '2026-05-29 08:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569458 -3.229466)'), GeomFromEWKT('SRID=4674;POINT (-38.569502 -3.229448)'))) / (select extract(epoch from '2026-05-29 08:48:58'::timestamp) - extract(epoch from '2026-05-29 08: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.569532 -3.229419)', '2026-05-29 08:49:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569502 -3.229448)'), GeomFromEWKT('SRID=4674;POINT (-38.569532 -3.229419)'))) / (select extract(epoch from '2026-05-29 08:49:05'::timestamp) - extract(epoch from '2026-05-29 08:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569502 -3.229448)'), GeomFromEWKT('SRID=4674;POINT (-38.569532 -3.229419)'))) / (select extract(epoch from '2026-05-29 08:49:05'::timestamp) - extract(epoch from '2026-05-29 08:48: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.569539 -3.229403)', '2026-05-29 08:49:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569532 -3.229419)'), GeomFromEWKT('SRID=4674;POINT (-38.569539 -3.229403)'))) / (select extract(epoch from '2026-05-29 08:49:07'::timestamp) - extract(epoch from '2026-05-29 08:49:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569532 -3.229419)'), GeomFromEWKT('SRID=4674;POINT (-38.569539 -3.229403)'))) / (select extract(epoch from '2026-05-29 08:49:07'::timestamp) - extract(epoch from '2026-05-29 08: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.569551 -3.229385)', '2026-05-29 08:49:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569539 -3.229403)'), GeomFromEWKT('SRID=4674;POINT (-38.569551 -3.229385)'))) / (select extract(epoch from '2026-05-29 08:49:10'::timestamp) - extract(epoch from '2026-05-29 08:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569539 -3.229403)'), GeomFromEWKT('SRID=4674;POINT (-38.569551 -3.229385)'))) / (select extract(epoch from '2026-05-29 08:49:10'::timestamp) - extract(epoch from '2026-05-29 08:49:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569576 -3.229311)', '2026-05-29 08:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569551 -3.229385)'), GeomFromEWKT('SRID=4674;POINT (-38.569576 -3.229311)'))) / (select extract(epoch from '2026-05-29 08:49:19'::timestamp) - extract(epoch from '2026-05-29 08:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569551 -3.229385)'), GeomFromEWKT('SRID=4674;POINT (-38.569576 -3.229311)'))) / (select extract(epoch from '2026-05-29 08:49:19'::timestamp) - extract(epoch from '2026-05-29 08:49: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.569618 -3.229259)', '2026-05-29 08:49:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569576 -3.229311)'), GeomFromEWKT('SRID=4674;POINT (-38.569618 -3.229259)'))) / (select extract(epoch from '2026-05-29 08:49:28'::timestamp) - extract(epoch from '2026-05-29 08:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569576 -3.229311)'), GeomFromEWKT('SRID=4674;POINT (-38.569618 -3.229259)'))) / (select extract(epoch from '2026-05-29 08:49:28'::timestamp) - extract(epoch from '2026-05-29 08:49:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569636 -3.229262)', '2026-05-29 08:49:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569618 -3.229259)'), GeomFromEWKT('SRID=4674;POINT (-38.569636 -3.229262)'))) / (select extract(epoch from '2026-05-29 08:49:30'::timestamp) - extract(epoch from '2026-05-29 08:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569618 -3.229259)'), GeomFromEWKT('SRID=4674;POINT (-38.569636 -3.229262)'))) / (select extract(epoch from '2026-05-29 08:49:30'::timestamp) - extract(epoch from '2026-05-29 08:49: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.569653 -3.229249)', '2026-05-29 08:49:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569636 -3.229262)'), GeomFromEWKT('SRID=4674;POINT (-38.569653 -3.229249)'))) / (select extract(epoch from '2026-05-29 08:49:33'::timestamp) - extract(epoch from '2026-05-29 08:49:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569636 -3.229262)'), GeomFromEWKT('SRID=4674;POINT (-38.569653 -3.229249)'))) / (select extract(epoch from '2026-05-29 08:49:33'::timestamp) - extract(epoch from '2026-05-29 08:49: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.569671 -3.229236)', '2026-05-29 08:49:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569653 -3.229249)'), GeomFromEWKT('SRID=4674;POINT (-38.569671 -3.229236)'))) / (select extract(epoch from '2026-05-29 08:49:37'::timestamp) - extract(epoch from '2026-05-29 08:49:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569653 -3.229249)'), GeomFromEWKT('SRID=4674;POINT (-38.569671 -3.229236)'))) / (select extract(epoch from '2026-05-29 08:49:37'::timestamp) - extract(epoch from '2026-05-29 08: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.569679 -3.229231)', '2026-05-29 08:49:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569671 -3.229236)'), GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.229231)'))) / (select extract(epoch from '2026-05-29 08:49:38'::timestamp) - extract(epoch from '2026-05-29 08:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569671 -3.229236)'), GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.229231)'))) / (select extract(epoch from '2026-05-29 08:49:38'::timestamp) - extract(epoch from '2026-05-29 08:49: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.569687 -3.229224)', '2026-05-29 08:49:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.229231)'), GeomFromEWKT('SRID=4674;POINT (-38.569687 -3.229224)'))) / (select extract(epoch from '2026-05-29 08:49:39'::timestamp) - extract(epoch from '2026-05-29 08:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569679 -3.229231)'), GeomFromEWKT('SRID=4674;POINT (-38.569687 -3.229224)'))) / (select extract(epoch from '2026-05-29 08:49:39'::timestamp) - extract(epoch from '2026-05-29 08:49: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.569696 -3.229206)', '2026-05-29 08:49:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569687 -3.229224)'), GeomFromEWKT('SRID=4674;POINT (-38.569696 -3.229206)'))) / (select extract(epoch from '2026-05-29 08:49:42'::timestamp) - extract(epoch from '2026-05-29 08:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569687 -3.229224)'), GeomFromEWKT('SRID=4674;POINT (-38.569696 -3.229206)'))) / (select extract(epoch from '2026-05-29 08:49:42'::timestamp) - extract(epoch from '2026-05-29 08: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.569718 -3.229205)', '2026-05-29 08:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569696 -3.229206)'), GeomFromEWKT('SRID=4674;POINT (-38.569718 -3.229205)'))) / (select extract(epoch from '2026-05-29 08:49:44'::timestamp) - extract(epoch from '2026-05-29 08:49:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569696 -3.229206)'), GeomFromEWKT('SRID=4674;POINT (-38.569718 -3.229205)'))) / (select extract(epoch from '2026-05-29 08:49:44'::timestamp) - extract(epoch from '2026-05-29 08:49: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.569734 -3.229192)', '2026-05-29 08:49:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569718 -3.229205)'), GeomFromEWKT('SRID=4674;POINT (-38.569734 -3.229192)'))) / (select extract(epoch from '2026-05-29 08:49:47'::timestamp) - extract(epoch from '2026-05-29 08:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569718 -3.229205)'), GeomFromEWKT('SRID=4674;POINT (-38.569734 -3.229192)'))) / (select extract(epoch from '2026-05-29 08:49:47'::timestamp) - extract(epoch from '2026-05-29 08:49: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.569783 -3.229179)', '2026-05-29 08:49:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569734 -3.229192)'), GeomFromEWKT('SRID=4674;POINT (-38.569783 -3.229179)'))) / (select extract(epoch from '2026-05-29 08:49:54'::timestamp) - extract(epoch from '2026-05-29 08:49:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569734 -3.229192)'), GeomFromEWKT('SRID=4674;POINT (-38.569783 -3.229179)'))) / (select extract(epoch from '2026-05-29 08:49:54'::timestamp) - extract(epoch from '2026-05-29 08:49:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569841 -3.229185)', '2026-05-29 08:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569783 -3.229179)'), GeomFromEWKT('SRID=4674;POINT (-38.569841 -3.229185)'))) / (select extract(epoch from '2026-05-29 08:49:59'::timestamp) - extract(epoch from '2026-05-29 08:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569783 -3.229179)'), GeomFromEWKT('SRID=4674;POINT (-38.569841 -3.229185)'))) / (select extract(epoch from '2026-05-29 08:49:59'::timestamp) - extract(epoch from '2026-05-29 08:49:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.569852 -3.229191)', '2026-05-29 08:50:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569841 -3.229185)'), GeomFromEWKT('SRID=4674;POINT (-38.569852 -3.229191)'))) / (select extract(epoch from '2026-05-29 08:50:00'::timestamp) - extract(epoch from '2026-05-29 08:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569841 -3.229185)'), GeomFromEWKT('SRID=4674;POINT (-38.569852 -3.229191)'))) / (select extract(epoch from '2026-05-29 08:50:00'::timestamp) - extract(epoch from '2026-05-29 08:49: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.569931 -3.229202)', '2026-05-29 08:50:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569852 -3.229191)'), GeomFromEWKT('SRID=4674;POINT (-38.569931 -3.229202)'))) / (select extract(epoch from '2026-05-29 08:50:05'::timestamp) - extract(epoch from '2026-05-29 08:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569852 -3.229191)'), GeomFromEWKT('SRID=4674;POINT (-38.569931 -3.229202)'))) / (select extract(epoch from '2026-05-29 08:50:05'::timestamp) - extract(epoch from '2026-05-29 08: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.569982 -3.229216)', '2026-05-29 08:50:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569931 -3.229202)'), GeomFromEWKT('SRID=4674;POINT (-38.569982 -3.229216)'))) / (select extract(epoch from '2026-05-29 08:50:08'::timestamp) - extract(epoch from '2026-05-29 08:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569931 -3.229202)'), GeomFromEWKT('SRID=4674;POINT (-38.569982 -3.229216)'))) / (select extract(epoch from '2026-05-29 08:50:08'::timestamp) - extract(epoch from '2026-05-29 08: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.570046 -3.229217)', '2026-05-29 08:50:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569982 -3.229216)'), GeomFromEWKT('SRID=4674;POINT (-38.570046 -3.229217)'))) / (select extract(epoch from '2026-05-29 08:50:11'::timestamp) - extract(epoch from '2026-05-29 08:50:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.569982 -3.229216)'), GeomFromEWKT('SRID=4674;POINT (-38.570046 -3.229217)'))) / (select extract(epoch from '2026-05-29 08:50:11'::timestamp) - extract(epoch from '2026-05-29 08:50: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.570193 -3.229248)', '2026-05-29 08:50:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570046 -3.229217)'), GeomFromEWKT('SRID=4674;POINT (-38.570193 -3.229248)'))) / (select extract(epoch from '2026-05-29 08:50:19'::timestamp) - extract(epoch from '2026-05-29 08:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570046 -3.229217)'), GeomFromEWKT('SRID=4674;POINT (-38.570193 -3.229248)'))) / (select extract(epoch from '2026-05-29 08:50:19'::timestamp) - extract(epoch from '2026-05-29 08:50:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570328 -3.22928)', '2026-05-29 08:50:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570193 -3.229248)'), GeomFromEWKT('SRID=4674;POINT (-38.570328 -3.22928)'))) / (select extract(epoch from '2026-05-29 08:50:26'::timestamp) - extract(epoch from '2026-05-29 08:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570193 -3.229248)'), GeomFromEWKT('SRID=4674;POINT (-38.570328 -3.22928)'))) / (select extract(epoch from '2026-05-29 08:50:26'::timestamp) - extract(epoch from '2026-05-29 08:50: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.570457 -3.229314)', '2026-05-29 08:50:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570328 -3.22928)'), GeomFromEWKT('SRID=4674;POINT (-38.570457 -3.229314)'))) / (select extract(epoch from '2026-05-29 08:50:32'::timestamp) - extract(epoch from '2026-05-29 08:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570328 -3.22928)'), GeomFromEWKT('SRID=4674;POINT (-38.570457 -3.229314)'))) / (select extract(epoch from '2026-05-29 08:50:32'::timestamp) - extract(epoch from '2026-05-29 08:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570482 -3.229315)', '2026-05-29 08:50:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570457 -3.229314)'), GeomFromEWKT('SRID=4674;POINT (-38.570482 -3.229315)'))) / (select extract(epoch from '2026-05-29 08:50:33'::timestamp) - extract(epoch from '2026-05-29 08:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570457 -3.229314)'), GeomFromEWKT('SRID=4674;POINT (-38.570482 -3.229315)'))) / (select extract(epoch from '2026-05-29 08:50:33'::timestamp) - extract(epoch from '2026-05-29 08:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570552 -3.229297)', '2026-05-29 08:50:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570482 -3.229315)'), GeomFromEWKT('SRID=4674;POINT (-38.570552 -3.229297)'))) / (select extract(epoch from '2026-05-29 08:50:36'::timestamp) - extract(epoch from '2026-05-29 08:50:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570482 -3.229315)'), GeomFromEWKT('SRID=4674;POINT (-38.570552 -3.229297)'))) / (select extract(epoch from '2026-05-29 08:50:36'::timestamp) - extract(epoch from '2026-05-29 08:50: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.570619 -3.229271)', '2026-05-29 08:50:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570552 -3.229297)'), GeomFromEWKT('SRID=4674;POINT (-38.570619 -3.229271)'))) / (select extract(epoch from '2026-05-29 08:50:40'::timestamp) - extract(epoch from '2026-05-29 08:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570552 -3.229297)'), GeomFromEWKT('SRID=4674;POINT (-38.570619 -3.229271)'))) / (select extract(epoch from '2026-05-29 08:50:40'::timestamp) - extract(epoch from '2026-05-29 08: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.570656 -3.229248)', '2026-05-29 08:50:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570619 -3.229271)'), GeomFromEWKT('SRID=4674;POINT (-38.570656 -3.229248)'))) / (select extract(epoch from '2026-05-29 08:50:43'::timestamp) - extract(epoch from '2026-05-29 08:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570619 -3.229271)'), GeomFromEWKT('SRID=4674;POINT (-38.570656 -3.229248)'))) / (select extract(epoch from '2026-05-29 08:50:43'::timestamp) - extract(epoch from '2026-05-29 08:50:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57068 -3.229214)', '2026-05-29 08:50:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570656 -3.229248)'), GeomFromEWKT('SRID=4674;POINT (-38.57068 -3.229214)'))) / (select extract(epoch from '2026-05-29 08:50:45'::timestamp) - extract(epoch from '2026-05-29 08:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570656 -3.229248)'), GeomFromEWKT('SRID=4674;POINT (-38.57068 -3.229214)'))) / (select extract(epoch from '2026-05-29 08:50:45'::timestamp) - extract(epoch from '2026-05-29 08:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570728 -3.229126)', '2026-05-29 08:50:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57068 -3.229214)'), GeomFromEWKT('SRID=4674;POINT (-38.570728 -3.229126)'))) / (select extract(epoch from '2026-05-29 08:50:50'::timestamp) - extract(epoch from '2026-05-29 08:50:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57068 -3.229214)'), GeomFromEWKT('SRID=4674;POINT (-38.570728 -3.229126)'))) / (select extract(epoch from '2026-05-29 08:50:50'::timestamp) - extract(epoch from '2026-05-29 08:50: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.570793 -3.229062)', '2026-05-29 08:50:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570728 -3.229126)'), GeomFromEWKT('SRID=4674;POINT (-38.570793 -3.229062)'))) / (select extract(epoch from '2026-05-29 08:50:54'::timestamp) - extract(epoch from '2026-05-29 08:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570728 -3.229126)'), GeomFromEWKT('SRID=4674;POINT (-38.570793 -3.229062)'))) / (select extract(epoch from '2026-05-29 08:50:54'::timestamp) - extract(epoch from '2026-05-29 08:50:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570816 -3.229009)', '2026-05-29 08:50:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570793 -3.229062)'), GeomFromEWKT('SRID=4674;POINT (-38.570816 -3.229009)'))) / (select extract(epoch from '2026-05-29 08:50:57'::timestamp) - extract(epoch from '2026-05-29 08:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570793 -3.229062)'), GeomFromEWKT('SRID=4674;POINT (-38.570816 -3.229009)'))) / (select extract(epoch from '2026-05-29 08:50:57'::timestamp) - extract(epoch from '2026-05-29 08:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.570861 -3.228975)', '2026-05-29 08:50:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570816 -3.229009)'), GeomFromEWKT('SRID=4674;POINT (-38.570861 -3.228975)'))) / (select extract(epoch from '2026-05-29 08:50:59'::timestamp) - extract(epoch from '2026-05-29 08:50:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570816 -3.229009)'), GeomFromEWKT('SRID=4674;POINT (-38.570861 -3.228975)'))) / (select extract(epoch from '2026-05-29 08:50:59'::timestamp) - extract(epoch from '2026-05-29 08:50: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.570917 -3.228924)', '2026-05-29 08:51:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570861 -3.228975)'), GeomFromEWKT('SRID=4674;POINT (-38.570917 -3.228924)'))) / (select extract(epoch from '2026-05-29 08:51:03'::timestamp) - extract(epoch from '2026-05-29 08:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570861 -3.228975)'), GeomFromEWKT('SRID=4674;POINT (-38.570917 -3.228924)'))) / (select extract(epoch from '2026-05-29 08:51:03'::timestamp) - extract(epoch from '2026-05-29 08:50: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.571046 -3.228826)', '2026-05-29 08:51:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570917 -3.228924)'), GeomFromEWKT('SRID=4674;POINT (-38.571046 -3.228826)'))) / (select extract(epoch from '2026-05-29 08:51:10'::timestamp) - extract(epoch from '2026-05-29 08:51:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.570917 -3.228924)'), GeomFromEWKT('SRID=4674;POINT (-38.571046 -3.228826)'))) / (select extract(epoch from '2026-05-29 08:51:10'::timestamp) - extract(epoch from '2026-05-29 08:51: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.571171 -3.228708)', '2026-05-29 08:51:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571046 -3.228826)'), GeomFromEWKT('SRID=4674;POINT (-38.571171 -3.228708)'))) / (select extract(epoch from '2026-05-29 08:51:17'::timestamp) - extract(epoch from '2026-05-29 08:51:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571046 -3.228826)'), GeomFromEWKT('SRID=4674;POINT (-38.571171 -3.228708)'))) / (select extract(epoch from '2026-05-29 08:51:17'::timestamp) - extract(epoch from '2026-05-29 08:51:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571281 -3.228612)', '2026-05-29 08:51:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571171 -3.228708)'), GeomFromEWKT('SRID=4674;POINT (-38.571281 -3.228612)'))) / (select extract(epoch from '2026-05-29 08:51:23'::timestamp) - extract(epoch from '2026-05-29 08:51:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571171 -3.228708)'), GeomFromEWKT('SRID=4674;POINT (-38.571281 -3.228612)'))) / (select extract(epoch from '2026-05-29 08:51:23'::timestamp) - extract(epoch from '2026-05-29 08:51:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57137 -3.228528)', '2026-05-29 08:51:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571281 -3.228612)'), GeomFromEWKT('SRID=4674;POINT (-38.57137 -3.228528)'))) / (select extract(epoch from '2026-05-29 08:51:28'::timestamp) - extract(epoch from '2026-05-29 08:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571281 -3.228612)'), GeomFromEWKT('SRID=4674;POINT (-38.57137 -3.228528)'))) / (select extract(epoch from '2026-05-29 08:51:28'::timestamp) - extract(epoch from '2026-05-29 08:51:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571455 -3.228448)', '2026-05-29 08:51:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57137 -3.228528)'), GeomFromEWKT('SRID=4674;POINT (-38.571455 -3.228448)'))) / (select extract(epoch from '2026-05-29 08:51:33'::timestamp) - extract(epoch from '2026-05-29 08:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57137 -3.228528)'), GeomFromEWKT('SRID=4674;POINT (-38.571455 -3.228448)'))) / (select extract(epoch from '2026-05-29 08:51:33'::timestamp) - extract(epoch from '2026-05-29 08:51:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.571554 -3.22835)', '2026-05-29 08:51:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571455 -3.228448)'), GeomFromEWKT('SRID=4674;POINT (-38.571554 -3.22835)'))) / (select extract(epoch from '2026-05-29 08:51:39'::timestamp) - extract(epoch from '2026-05-29 08:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571455 -3.228448)'), GeomFromEWKT('SRID=4674;POINT (-38.571554 -3.22835)'))) / (select extract(epoch from '2026-05-29 08:51:39'::timestamp) - extract(epoch from '2026-05-29 08:51: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.571619 -3.22829)', '2026-05-29 08:51:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571554 -3.22835)'), GeomFromEWKT('SRID=4674;POINT (-38.571619 -3.22829)'))) / (select extract(epoch from '2026-05-29 08:51:43'::timestamp) - extract(epoch from '2026-05-29 08:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571554 -3.22835)'), GeomFromEWKT('SRID=4674;POINT (-38.571619 -3.22829)'))) / (select extract(epoch from '2026-05-29 08:51:43'::timestamp) - extract(epoch from '2026-05-29 08:51: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.571749 -3.228185)', '2026-05-29 08:51:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571619 -3.22829)'), GeomFromEWKT('SRID=4674;POINT (-38.571749 -3.228185)'))) / (select extract(epoch from '2026-05-29 08:51:50'::timestamp) - extract(epoch from '2026-05-29 08:51:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571619 -3.22829)'), GeomFromEWKT('SRID=4674;POINT (-38.571749 -3.228185)'))) / (select extract(epoch from '2026-05-29 08:51:50'::timestamp) - extract(epoch from '2026-05-29 08:51: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.571885 -3.228073)', '2026-05-29 08:51:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571749 -3.228185)'), GeomFromEWKT('SRID=4674;POINT (-38.571885 -3.228073)'))) / (select extract(epoch from '2026-05-29 08:51:57'::timestamp) - extract(epoch from '2026-05-29 08:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571749 -3.228185)'), GeomFromEWKT('SRID=4674;POINT (-38.571885 -3.228073)'))) / (select extract(epoch from '2026-05-29 08:51:57'::timestamp) - extract(epoch from '2026-05-29 08:51:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.572017 -3.227988)', '2026-05-29 08:52:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571885 -3.228073)'), GeomFromEWKT('SRID=4674;POINT (-38.572017 -3.227988)'))) / (select extract(epoch from '2026-05-29 08:52:03'::timestamp) - extract(epoch from '2026-05-29 08:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.571885 -3.228073)'), GeomFromEWKT('SRID=4674;POINT (-38.572017 -3.227988)'))) / (select extract(epoch from '2026-05-29 08:52:03'::timestamp) - extract(epoch from '2026-05-29 08:51: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.572157 -3.227898)', '2026-05-29 08:52:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572017 -3.227988)'), GeomFromEWKT('SRID=4674;POINT (-38.572157 -3.227898)'))) / (select extract(epoch from '2026-05-29 08:52:10'::timestamp) - extract(epoch from '2026-05-29 08:52:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572017 -3.227988)'), GeomFromEWKT('SRID=4674;POINT (-38.572157 -3.227898)'))) / (select extract(epoch from '2026-05-29 08:52:10'::timestamp) - extract(epoch from '2026-05-29 08:52: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.572273 -3.227823)', '2026-05-29 08:52:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572157 -3.227898)'), GeomFromEWKT('SRID=4674;POINT (-38.572273 -3.227823)'))) / (select extract(epoch from '2026-05-29 08:52:16'::timestamp) - extract(epoch from '2026-05-29 08:52:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572157 -3.227898)'), GeomFromEWKT('SRID=4674;POINT (-38.572273 -3.227823)'))) / (select extract(epoch from '2026-05-29 08:52:16'::timestamp) - extract(epoch from '2026-05-29 08:52: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.572402 -3.227746)', '2026-05-29 08:52:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572273 -3.227823)'), GeomFromEWKT('SRID=4674;POINT (-38.572402 -3.227746)'))) / (select extract(epoch from '2026-05-29 08:52:22'::timestamp) - extract(epoch from '2026-05-29 08:52:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572273 -3.227823)'), GeomFromEWKT('SRID=4674;POINT (-38.572402 -3.227746)'))) / (select extract(epoch from '2026-05-29 08:52:22'::timestamp) - extract(epoch from '2026-05-29 08:52: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.572551 -3.227644)', '2026-05-29 08:52:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572402 -3.227746)'), GeomFromEWKT('SRID=4674;POINT (-38.572551 -3.227644)'))) / (select extract(epoch from '2026-05-29 08:52:29'::timestamp) - extract(epoch from '2026-05-29 08:52:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572402 -3.227746)'), GeomFromEWKT('SRID=4674;POINT (-38.572551 -3.227644)'))) / (select extract(epoch from '2026-05-29 08:52:29'::timestamp) - extract(epoch from '2026-05-29 08:52: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.572613 -3.22759)', '2026-05-29 08:52:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572551 -3.227644)'), GeomFromEWKT('SRID=4674;POINT (-38.572613 -3.22759)'))) / (select extract(epoch from '2026-05-29 08:52:33'::timestamp) - extract(epoch from '2026-05-29 08:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572551 -3.227644)'), GeomFromEWKT('SRID=4674;POINT (-38.572613 -3.22759)'))) / (select extract(epoch from '2026-05-29 08:52:33'::timestamp) - extract(epoch from '2026-05-29 08:52: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.572699 -3.227519)', '2026-05-29 08:52:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572613 -3.22759)'), GeomFromEWKT('SRID=4674;POINT (-38.572699 -3.227519)'))) / (select extract(epoch from '2026-05-29 08:52:38'::timestamp) - extract(epoch from '2026-05-29 08:52:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572613 -3.22759)'), GeomFromEWKT('SRID=4674;POINT (-38.572699 -3.227519)'))) / (select extract(epoch from '2026-05-29 08:52:38'::timestamp) - extract(epoch from '2026-05-29 08:52: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.572769 -3.227441)', '2026-05-29 08:52:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572699 -3.227519)'), GeomFromEWKT('SRID=4674;POINT (-38.572769 -3.227441)'))) / (select extract(epoch from '2026-05-29 08:52:42'::timestamp) - extract(epoch from '2026-05-29 08:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572699 -3.227519)'), GeomFromEWKT('SRID=4674;POINT (-38.572769 -3.227441)'))) / (select extract(epoch from '2026-05-29 08:52:42'::timestamp) - extract(epoch from '2026-05-29 08:52: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.572872 -3.227349)', '2026-05-29 08:52:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572769 -3.227441)'), GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.227349)'))) / (select extract(epoch from '2026-05-29 08:52:48'::timestamp) - extract(epoch from '2026-05-29 08:52:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572769 -3.227441)'), GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.227349)'))) / (select extract(epoch from '2026-05-29 08:52:48'::timestamp) - extract(epoch from '2026-05-29 08:52:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573009 -3.227257)', '2026-05-29 08:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.227349)'), GeomFromEWKT('SRID=4674;POINT (-38.573009 -3.227257)'))) / (select extract(epoch from '2026-05-29 08:52:55'::timestamp) - extract(epoch from '2026-05-29 08:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.572872 -3.227349)'), GeomFromEWKT('SRID=4674;POINT (-38.573009 -3.227257)'))) / (select extract(epoch from '2026-05-29 08:52:55'::timestamp) - extract(epoch from '2026-05-29 08:52: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.573117 -3.227176)', '2026-05-29 08:53:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573009 -3.227257)'), GeomFromEWKT('SRID=4674;POINT (-38.573117 -3.227176)'))) / (select extract(epoch from '2026-05-29 08:53:01'::timestamp) - extract(epoch from '2026-05-29 08:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573009 -3.227257)'), GeomFromEWKT('SRID=4674;POINT (-38.573117 -3.227176)'))) / (select extract(epoch from '2026-05-29 08:53:01'::timestamp) - extract(epoch from '2026-05-29 08:52:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573258 -3.227104)', '2026-05-29 08:53:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573117 -3.227176)'), GeomFromEWKT('SRID=4674;POINT (-38.573258 -3.227104)'))) / (select extract(epoch from '2026-05-29 08:53:07'::timestamp) - extract(epoch from '2026-05-29 08:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573117 -3.227176)'), GeomFromEWKT('SRID=4674;POINT (-38.573258 -3.227104)'))) / (select extract(epoch from '2026-05-29 08:53:07'::timestamp) - extract(epoch from '2026-05-29 08:53: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.573391 -3.227044)', '2026-05-29 08:53:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573258 -3.227104)'), GeomFromEWKT('SRID=4674;POINT (-38.573391 -3.227044)'))) / (select extract(epoch from '2026-05-29 08:53:13'::timestamp) - extract(epoch from '2026-05-29 08:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573258 -3.227104)'), GeomFromEWKT('SRID=4674;POINT (-38.573391 -3.227044)'))) / (select extract(epoch from '2026-05-29 08:53:13'::timestamp) - extract(epoch from '2026-05-29 08:53:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573507 -3.226991)', '2026-05-29 08:53:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573391 -3.227044)'), GeomFromEWKT('SRID=4674;POINT (-38.573507 -3.226991)'))) / (select extract(epoch from '2026-05-29 08:53:18'::timestamp) - extract(epoch from '2026-05-29 08:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573391 -3.227044)'), GeomFromEWKT('SRID=4674;POINT (-38.573507 -3.226991)'))) / (select extract(epoch from '2026-05-29 08:53:18'::timestamp) - extract(epoch from '2026-05-29 08:53: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.57362 -3.226943)', '2026-05-29 08:53:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573507 -3.226991)'), GeomFromEWKT('SRID=4674;POINT (-38.57362 -3.226943)'))) / (select extract(epoch from '2026-05-29 08:53:23'::timestamp) - extract(epoch from '2026-05-29 08:53:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573507 -3.226991)'), GeomFromEWKT('SRID=4674;POINT (-38.57362 -3.226943)'))) / (select extract(epoch from '2026-05-29 08:53:23'::timestamp) - extract(epoch from '2026-05-29 08:53: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.5737 -3.226908)', '2026-05-29 08:53:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57362 -3.226943)'), GeomFromEWKT('SRID=4674;POINT (-38.5737 -3.226908)'))) / (select extract(epoch from '2026-05-29 08:53:27'::timestamp) - extract(epoch from '2026-05-29 08:53:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57362 -3.226943)'), GeomFromEWKT('SRID=4674;POINT (-38.5737 -3.226908)'))) / (select extract(epoch from '2026-05-29 08:53:27'::timestamp) - extract(epoch from '2026-05-29 08:53: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.573827 -3.226865)', '2026-05-29 08:53:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5737 -3.226908)'), GeomFromEWKT('SRID=4674;POINT (-38.573827 -3.226865)'))) / (select extract(epoch from '2026-05-29 08:53:32'::timestamp) - extract(epoch from '2026-05-29 08:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5737 -3.226908)'), GeomFromEWKT('SRID=4674;POINT (-38.573827 -3.226865)'))) / (select extract(epoch from '2026-05-29 08:53:32'::timestamp) - extract(epoch from '2026-05-29 08:53:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.573951 -3.22682)', '2026-05-29 08:53:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573827 -3.226865)'), GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.22682)'))) / (select extract(epoch from '2026-05-29 08:53:37'::timestamp) - extract(epoch from '2026-05-29 08:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573827 -3.226865)'), GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.22682)'))) / (select extract(epoch from '2026-05-29 08:53:37'::timestamp) - extract(epoch from '2026-05-29 08:53: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.574056 -3.226779)', '2026-05-29 08:53:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.22682)'), GeomFromEWKT('SRID=4674;POINT (-38.574056 -3.226779)'))) / (select extract(epoch from '2026-05-29 08:53:42'::timestamp) - extract(epoch from '2026-05-29 08:53:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.573951 -3.22682)'), GeomFromEWKT('SRID=4674;POINT (-38.574056 -3.226779)'))) / (select extract(epoch from '2026-05-29 08:53:42'::timestamp) - extract(epoch from '2026-05-29 08:53: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.574201 -3.226732)', '2026-05-29 08:53:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574056 -3.226779)'), GeomFromEWKT('SRID=4674;POINT (-38.574201 -3.226732)'))) / (select extract(epoch from '2026-05-29 08:53:48'::timestamp) - extract(epoch from '2026-05-29 08:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574056 -3.226779)'), GeomFromEWKT('SRID=4674;POINT (-38.574201 -3.226732)'))) / (select extract(epoch from '2026-05-29 08:53:48'::timestamp) - extract(epoch from '2026-05-29 08:53:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574315 -3.226702)', '2026-05-29 08:53:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574201 -3.226732)'), GeomFromEWKT('SRID=4674;POINT (-38.574315 -3.226702)'))) / (select extract(epoch from '2026-05-29 08:53:52'::timestamp) - extract(epoch from '2026-05-29 08:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574201 -3.226732)'), GeomFromEWKT('SRID=4674;POINT (-38.574315 -3.226702)'))) / (select extract(epoch from '2026-05-29 08:53:52'::timestamp) - extract(epoch from '2026-05-29 08:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57441 -3.226669)', '2026-05-29 08:53:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574315 -3.226702)'), GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.226669)'))) / (select extract(epoch from '2026-05-29 08:53:56'::timestamp) - extract(epoch from '2026-05-29 08:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574315 -3.226702)'), GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.226669)'))) / (select extract(epoch from '2026-05-29 08:53:56'::timestamp) - extract(epoch from '2026-05-29 08:53: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.574514 -3.226634)', '2026-05-29 08:54:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.226669)'), GeomFromEWKT('SRID=4674;POINT (-38.574514 -3.226634)'))) / (select extract(epoch from '2026-05-29 08:54:00'::timestamp) - extract(epoch from '2026-05-29 08:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57441 -3.226669)'), GeomFromEWKT('SRID=4674;POINT (-38.574514 -3.226634)'))) / (select extract(epoch from '2026-05-29 08:54:00'::timestamp) - extract(epoch from '2026-05-29 08:53: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.574598 -3.226604)', '2026-05-29 08:54:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574514 -3.226634)'), GeomFromEWKT('SRID=4674;POINT (-38.574598 -3.226604)'))) / (select extract(epoch from '2026-05-29 08:54:04'::timestamp) - extract(epoch from '2026-05-29 08:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574514 -3.226634)'), GeomFromEWKT('SRID=4674;POINT (-38.574598 -3.226604)'))) / (select extract(epoch from '2026-05-29 08:54:04'::timestamp) - extract(epoch from '2026-05-29 08:54:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.574706 -3.226553)', '2026-05-29 08:54:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574598 -3.226604)'), GeomFromEWKT('SRID=4674;POINT (-38.574706 -3.226553)'))) / (select extract(epoch from '2026-05-29 08:54:08'::timestamp) - extract(epoch from '2026-05-29 08:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574598 -3.226604)'), GeomFromEWKT('SRID=4674;POINT (-38.574706 -3.226553)'))) / (select extract(epoch from '2026-05-29 08:54:08'::timestamp) - extract(epoch from '2026-05-29 08:54: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.574787 -3.226516)', '2026-05-29 08:54:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574706 -3.226553)'), GeomFromEWKT('SRID=4674;POINT (-38.574787 -3.226516)'))) / (select extract(epoch from '2026-05-29 08:54:12'::timestamp) - extract(epoch from '2026-05-29 08:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574706 -3.226553)'), GeomFromEWKT('SRID=4674;POINT (-38.574787 -3.226516)'))) / (select extract(epoch from '2026-05-29 08:54:12'::timestamp) - extract(epoch from '2026-05-29 08:54: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.574909 -3.226472)', '2026-05-29 08:54:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574787 -3.226516)'), GeomFromEWKT('SRID=4674;POINT (-38.574909 -3.226472)'))) / (select extract(epoch from '2026-05-29 08:54:17'::timestamp) - extract(epoch from '2026-05-29 08:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574787 -3.226516)'), GeomFromEWKT('SRID=4674;POINT (-38.574909 -3.226472)'))) / (select extract(epoch from '2026-05-29 08:54:17'::timestamp) - extract(epoch from '2026-05-29 08:54: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.575022 -3.226423)', '2026-05-29 08:54:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574909 -3.226472)'), GeomFromEWKT('SRID=4674;POINT (-38.575022 -3.226423)'))) / (select extract(epoch from '2026-05-29 08:54:22'::timestamp) - extract(epoch from '2026-05-29 08:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.574909 -3.226472)'), GeomFromEWKT('SRID=4674;POINT (-38.575022 -3.226423)'))) / (select extract(epoch from '2026-05-29 08:54:22'::timestamp) - extract(epoch from '2026-05-29 08:54: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.575173 -3.226357)', '2026-05-29 08:54:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575022 -3.226423)'), GeomFromEWKT('SRID=4674;POINT (-38.575173 -3.226357)'))) / (select extract(epoch from '2026-05-29 08:54:29'::timestamp) - extract(epoch from '2026-05-29 08:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575022 -3.226423)'), GeomFromEWKT('SRID=4674;POINT (-38.575173 -3.226357)'))) / (select extract(epoch from '2026-05-29 08:54:29'::timestamp) - extract(epoch from '2026-05-29 08:54: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.575303 -3.226312)', '2026-05-29 08:54:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575173 -3.226357)'), GeomFromEWKT('SRID=4674;POINT (-38.575303 -3.226312)'))) / (select extract(epoch from '2026-05-29 08:54:34'::timestamp) - extract(epoch from '2026-05-29 08:54:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575173 -3.226357)'), GeomFromEWKT('SRID=4674;POINT (-38.575303 -3.226312)'))) / (select extract(epoch from '2026-05-29 08:54:34'::timestamp) - extract(epoch from '2026-05-29 08:54:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575405 -3.226272)', '2026-05-29 08:54:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575303 -3.226312)'), GeomFromEWKT('SRID=4674;POINT (-38.575405 -3.226272)'))) / (select extract(epoch from '2026-05-29 08:54:39'::timestamp) - extract(epoch from '2026-05-29 08:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575303 -3.226312)'), GeomFromEWKT('SRID=4674;POINT (-38.575405 -3.226272)'))) / (select extract(epoch from '2026-05-29 08:54:39'::timestamp) - extract(epoch from '2026-05-29 08:54: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.575532 -3.226224)', '2026-05-29 08:54:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575405 -3.226272)'), GeomFromEWKT('SRID=4674;POINT (-38.575532 -3.226224)'))) / (select extract(epoch from '2026-05-29 08:54:44'::timestamp) - extract(epoch from '2026-05-29 08:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575405 -3.226272)'), GeomFromEWKT('SRID=4674;POINT (-38.575532 -3.226224)'))) / (select extract(epoch from '2026-05-29 08:54:44'::timestamp) - extract(epoch from '2026-05-29 08:54:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575678 -3.226175)', '2026-05-29 08:54:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575532 -3.226224)'), GeomFromEWKT('SRID=4674;POINT (-38.575678 -3.226175)'))) / (select extract(epoch from '2026-05-29 08:54:51'::timestamp) - extract(epoch from '2026-05-29 08:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575532 -3.226224)'), GeomFromEWKT('SRID=4674;POINT (-38.575678 -3.226175)'))) / (select extract(epoch from '2026-05-29 08:54:51'::timestamp) - extract(epoch from '2026-05-29 08:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.575806 -3.226122)', '2026-05-29 08:54:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575678 -3.226175)'), GeomFromEWKT('SRID=4674;POINT (-38.575806 -3.226122)'))) / (select extract(epoch from '2026-05-29 08:54:57'::timestamp) - extract(epoch from '2026-05-29 08:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575678 -3.226175)'), GeomFromEWKT('SRID=4674;POINT (-38.575806 -3.226122)'))) / (select extract(epoch from '2026-05-29 08:54:57'::timestamp) - extract(epoch from '2026-05-29 08:54: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.575918 -3.226078)', '2026-05-29 08:55:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575806 -3.226122)'), GeomFromEWKT('SRID=4674;POINT (-38.575918 -3.226078)'))) / (select extract(epoch from '2026-05-29 08:55:02'::timestamp) - extract(epoch from '2026-05-29 08:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575806 -3.226122)'), GeomFromEWKT('SRID=4674;POINT (-38.575918 -3.226078)'))) / (select extract(epoch from '2026-05-29 08:55:02'::timestamp) - extract(epoch from '2026-05-29 08:54:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576044 -3.226024)', '2026-05-29 08:55:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575918 -3.226078)'), GeomFromEWKT('SRID=4674;POINT (-38.576044 -3.226024)'))) / (select extract(epoch from '2026-05-29 08:55:07'::timestamp) - extract(epoch from '2026-05-29 08:55:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.575918 -3.226078)'), GeomFromEWKT('SRID=4674;POINT (-38.576044 -3.226024)'))) / (select extract(epoch from '2026-05-29 08:55:07'::timestamp) - extract(epoch from '2026-05-29 08:55:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57608 -3.226008)', '2026-05-29 08:55:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576044 -3.226024)'), GeomFromEWKT('SRID=4674;POINT (-38.57608 -3.226008)'))) / (select extract(epoch from '2026-05-29 08:55:09'::timestamp) - extract(epoch from '2026-05-29 08:55:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576044 -3.226024)'), GeomFromEWKT('SRID=4674;POINT (-38.57608 -3.226008)'))) / (select extract(epoch from '2026-05-29 08:55:09'::timestamp) - extract(epoch from '2026-05-29 08:55: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.576129 -3.225982)', '2026-05-29 08:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57608 -3.226008)'), GeomFromEWKT('SRID=4674;POINT (-38.576129 -3.225982)'))) / (select extract(epoch from '2026-05-29 08:55:11'::timestamp) - extract(epoch from '2026-05-29 08:55:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57608 -3.226008)'), GeomFromEWKT('SRID=4674;POINT (-38.576129 -3.225982)'))) / (select extract(epoch from '2026-05-29 08:55:11'::timestamp) - extract(epoch from '2026-05-29 08:55:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576243 -3.225946)', '2026-05-29 08:55:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576129 -3.225982)'), GeomFromEWKT('SRID=4674;POINT (-38.576243 -3.225946)'))) / (select extract(epoch from '2026-05-29 08:55:16'::timestamp) - extract(epoch from '2026-05-29 08:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576129 -3.225982)'), GeomFromEWKT('SRID=4674;POINT (-38.576243 -3.225946)'))) / (select extract(epoch from '2026-05-29 08:55:16'::timestamp) - extract(epoch from '2026-05-29 08:55: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.576348 -3.225904)', '2026-05-29 08:55:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576243 -3.225946)'), GeomFromEWKT('SRID=4674;POINT (-38.576348 -3.225904)'))) / (select extract(epoch from '2026-05-29 08:55:21'::timestamp) - extract(epoch from '2026-05-29 08:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576243 -3.225946)'), GeomFromEWKT('SRID=4674;POINT (-38.576348 -3.225904)'))) / (select extract(epoch from '2026-05-29 08:55:21'::timestamp) - extract(epoch from '2026-05-29 08:55: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.576466 -3.225864)', '2026-05-29 08:55:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576348 -3.225904)'), GeomFromEWKT('SRID=4674;POINT (-38.576466 -3.225864)'))) / (select extract(epoch from '2026-05-29 08:55:26'::timestamp) - extract(epoch from '2026-05-29 08:55:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576348 -3.225904)'), GeomFromEWKT('SRID=4674;POINT (-38.576466 -3.225864)'))) / (select extract(epoch from '2026-05-29 08:55:26'::timestamp) - extract(epoch from '2026-05-29 08:55: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.576579 -3.225812)', '2026-05-29 08:55:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576466 -3.225864)'), GeomFromEWKT('SRID=4674;POINT (-38.576579 -3.225812)'))) / (select extract(epoch from '2026-05-29 08:55:31'::timestamp) - extract(epoch from '2026-05-29 08:55:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576466 -3.225864)'), GeomFromEWKT('SRID=4674;POINT (-38.576579 -3.225812)'))) / (select extract(epoch from '2026-05-29 08:55:31'::timestamp) - extract(epoch from '2026-05-29 08:55:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576676 -3.225763)', '2026-05-29 08:55:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576579 -3.225812)'), GeomFromEWKT('SRID=4674;POINT (-38.576676 -3.225763)'))) / (select extract(epoch from '2026-05-29 08:55:36'::timestamp) - extract(epoch from '2026-05-29 08:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576579 -3.225812)'), GeomFromEWKT('SRID=4674;POINT (-38.576676 -3.225763)'))) / (select extract(epoch from '2026-05-29 08:55:36'::timestamp) - extract(epoch from '2026-05-29 08:55: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.576826 -3.225698)', '2026-05-29 08:55:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576676 -3.225763)'), GeomFromEWKT('SRID=4674;POINT (-38.576826 -3.225698)'))) / (select extract(epoch from '2026-05-29 08:55:43'::timestamp) - extract(epoch from '2026-05-29 08:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576676 -3.225763)'), GeomFromEWKT('SRID=4674;POINT (-38.576826 -3.225698)'))) / (select extract(epoch from '2026-05-29 08:55:43'::timestamp) - extract(epoch from '2026-05-29 08:55:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.576963 -3.22565)', '2026-05-29 08:55:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576826 -3.225698)'), GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.22565)'))) / (select extract(epoch from '2026-05-29 08:55:49'::timestamp) - extract(epoch from '2026-05-29 08:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576826 -3.225698)'), GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.22565)'))) / (select extract(epoch from '2026-05-29 08:55:49'::timestamp) - extract(epoch from '2026-05-29 08:55: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.577079 -3.225613)', '2026-05-29 08:55:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.22565)'), GeomFromEWKT('SRID=4674;POINT (-38.577079 -3.225613)'))) / (select extract(epoch from '2026-05-29 08:55:54'::timestamp) - extract(epoch from '2026-05-29 08:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.576963 -3.22565)'), GeomFromEWKT('SRID=4674;POINT (-38.577079 -3.225613)'))) / (select extract(epoch from '2026-05-29 08:55:54'::timestamp) - extract(epoch from '2026-05-29 08:55: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.577197 -3.225573)', '2026-05-29 08:55:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577079 -3.225613)'), GeomFromEWKT('SRID=4674;POINT (-38.577197 -3.225573)'))) / (select extract(epoch from '2026-05-29 08:55:59'::timestamp) - extract(epoch from '2026-05-29 08:55:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577079 -3.225613)'), GeomFromEWKT('SRID=4674;POINT (-38.577197 -3.225573)'))) / (select extract(epoch from '2026-05-29 08:55:59'::timestamp) - extract(epoch from '2026-05-29 08:55:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577319 -3.225539)', '2026-05-29 08:56:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577197 -3.225573)'), GeomFromEWKT('SRID=4674;POINT (-38.577319 -3.225539)'))) / (select extract(epoch from '2026-05-29 08:56:04'::timestamp) - extract(epoch from '2026-05-29 08:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577197 -3.225573)'), GeomFromEWKT('SRID=4674;POINT (-38.577319 -3.225539)'))) / (select extract(epoch from '2026-05-29 08:56:04'::timestamp) - extract(epoch from '2026-05-29 08:55: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.577446 -3.225501)', '2026-05-29 08:56:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577319 -3.225539)'), GeomFromEWKT('SRID=4674;POINT (-38.577446 -3.225501)'))) / (select extract(epoch from '2026-05-29 08:56:09'::timestamp) - extract(epoch from '2026-05-29 08:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577319 -3.225539)'), GeomFromEWKT('SRID=4674;POINT (-38.577446 -3.225501)'))) / (select extract(epoch from '2026-05-29 08:56:09'::timestamp) - extract(epoch from '2026-05-29 08:56: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.577559 -3.225457)', '2026-05-29 08:56:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577446 -3.225501)'), GeomFromEWKT('SRID=4674;POINT (-38.577559 -3.225457)'))) / (select extract(epoch from '2026-05-29 08:56:13'::timestamp) - extract(epoch from '2026-05-29 08:56:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577446 -3.225501)'), GeomFromEWKT('SRID=4674;POINT (-38.577559 -3.225457)'))) / (select extract(epoch from '2026-05-29 08:56:13'::timestamp) - extract(epoch from '2026-05-29 08:56: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.577636 -3.225433)', '2026-05-29 08:56:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577559 -3.225457)'), GeomFromEWKT('SRID=4674;POINT (-38.577636 -3.225433)'))) / (select extract(epoch from '2026-05-29 08:56:17'::timestamp) - extract(epoch from '2026-05-29 08:56:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577559 -3.225457)'), GeomFromEWKT('SRID=4674;POINT (-38.577636 -3.225433)'))) / (select extract(epoch from '2026-05-29 08:56:17'::timestamp) - extract(epoch from '2026-05-29 08:56: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.577732 -3.225378)', '2026-05-29 08:56:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577636 -3.225433)'), GeomFromEWKT('SRID=4674;POINT (-38.577732 -3.225378)'))) / (select extract(epoch from '2026-05-29 08:56:21'::timestamp) - extract(epoch from '2026-05-29 08:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577636 -3.225433)'), GeomFromEWKT('SRID=4674;POINT (-38.577732 -3.225378)'))) / (select extract(epoch from '2026-05-29 08:56:21'::timestamp) - extract(epoch from '2026-05-29 08:56:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.577833 -3.225332)', '2026-05-29 08:56:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577732 -3.225378)'), GeomFromEWKT('SRID=4674;POINT (-38.577833 -3.225332)'))) / (select extract(epoch from '2026-05-29 08:56:26'::timestamp) - extract(epoch from '2026-05-29 08:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577732 -3.225378)'), GeomFromEWKT('SRID=4674;POINT (-38.577833 -3.225332)'))) / (select extract(epoch from '2026-05-29 08:56:26'::timestamp) - extract(epoch from '2026-05-29 08:56: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.577942 -3.225261)', '2026-05-29 08:56:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577833 -3.225332)'), GeomFromEWKT('SRID=4674;POINT (-38.577942 -3.225261)'))) / (select extract(epoch from '2026-05-29 08:56:32'::timestamp) - extract(epoch from '2026-05-29 08:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577833 -3.225332)'), GeomFromEWKT('SRID=4674;POINT (-38.577942 -3.225261)'))) / (select extract(epoch from '2026-05-29 08:56:32'::timestamp) - extract(epoch from '2026-05-29 08:56: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.578095 -3.225176)', '2026-05-29 08:56:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577942 -3.225261)'), GeomFromEWKT('SRID=4674;POINT (-38.578095 -3.225176)'))) / (select extract(epoch from '2026-05-29 08:56:39'::timestamp) - extract(epoch from '2026-05-29 08:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.577942 -3.225261)'), GeomFromEWKT('SRID=4674;POINT (-38.578095 -3.225176)'))) / (select extract(epoch from '2026-05-29 08:56:39'::timestamp) - extract(epoch from '2026-05-29 08:56: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.578213 -3.225131)', '2026-05-29 08:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578095 -3.225176)'), GeomFromEWKT('SRID=4674;POINT (-38.578213 -3.225131)'))) / (select extract(epoch from '2026-05-29 08:56:44'::timestamp) - extract(epoch from '2026-05-29 08:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578095 -3.225176)'), GeomFromEWKT('SRID=4674;POINT (-38.578213 -3.225131)'))) / (select extract(epoch from '2026-05-29 08:56:44'::timestamp) - extract(epoch from '2026-05-29 08:56: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.578306 -3.225093)', '2026-05-29 08:56:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578213 -3.225131)'), GeomFromEWKT('SRID=4674;POINT (-38.578306 -3.225093)'))) / (select extract(epoch from '2026-05-29 08:56:49'::timestamp) - extract(epoch from '2026-05-29 08:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578213 -3.225131)'), GeomFromEWKT('SRID=4674;POINT (-38.578306 -3.225093)'))) / (select extract(epoch from '2026-05-29 08:56:49'::timestamp) - extract(epoch from '2026-05-29 08:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578439 -3.225051)', '2026-05-29 08:56:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578306 -3.225093)'), GeomFromEWKT('SRID=4674;POINT (-38.578439 -3.225051)'))) / (select extract(epoch from '2026-05-29 08:56:55'::timestamp) - extract(epoch from '2026-05-29 08:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578306 -3.225093)'), GeomFromEWKT('SRID=4674;POINT (-38.578439 -3.225051)'))) / (select extract(epoch from '2026-05-29 08:56:55'::timestamp) - extract(epoch from '2026-05-29 08:56: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.578537 -3.225026)', '2026-05-29 08:56:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578439 -3.225051)'), GeomFromEWKT('SRID=4674;POINT (-38.578537 -3.225026)'))) / (select extract(epoch from '2026-05-29 08:56:59'::timestamp) - extract(epoch from '2026-05-29 08:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578439 -3.225051)'), GeomFromEWKT('SRID=4674;POINT (-38.578537 -3.225026)'))) / (select extract(epoch from '2026-05-29 08:56:59'::timestamp) - extract(epoch from '2026-05-29 08:56: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.578637 -3.22498)', '2026-05-29 08:57:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578537 -3.225026)'), GeomFromEWKT('SRID=4674;POINT (-38.578637 -3.22498)'))) / (select extract(epoch from '2026-05-29 08:57:04'::timestamp) - extract(epoch from '2026-05-29 08:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578537 -3.225026)'), GeomFromEWKT('SRID=4674;POINT (-38.578637 -3.22498)'))) / (select extract(epoch from '2026-05-29 08:57:04'::timestamp) - extract(epoch from '2026-05-29 08:56:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.57875 -3.224943)', '2026-05-29 08:57:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578637 -3.22498)'), GeomFromEWKT('SRID=4674;POINT (-38.57875 -3.224943)'))) / (select extract(epoch from '2026-05-29 08:57:09'::timestamp) - extract(epoch from '2026-05-29 08:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578637 -3.22498)'), GeomFromEWKT('SRID=4674;POINT (-38.57875 -3.224943)'))) / (select extract(epoch from '2026-05-29 08:57:09'::timestamp) - extract(epoch from '2026-05-29 08:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.578873 -3.224894)', '2026-05-29 08:57:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57875 -3.224943)'), GeomFromEWKT('SRID=4674;POINT (-38.578873 -3.224894)'))) / (select extract(epoch from '2026-05-29 08:57:15'::timestamp) - extract(epoch from '2026-05-29 08:57:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57875 -3.224943)'), GeomFromEWKT('SRID=4674;POINT (-38.578873 -3.224894)'))) / (select extract(epoch from '2026-05-29 08:57:15'::timestamp) - extract(epoch from '2026-05-29 08:57: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.579035 -3.224815)', '2026-05-29 08:57:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578873 -3.224894)'), GeomFromEWKT('SRID=4674;POINT (-38.579035 -3.224815)'))) / (select extract(epoch from '2026-05-29 08:57:22'::timestamp) - extract(epoch from '2026-05-29 08:57:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.578873 -3.224894)'), GeomFromEWKT('SRID=4674;POINT (-38.579035 -3.224815)'))) / (select extract(epoch from '2026-05-29 08:57:22'::timestamp) - extract(epoch from '2026-05-29 08:57: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.579151 -3.22476)', '2026-05-29 08:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579035 -3.224815)'), GeomFromEWKT('SRID=4674;POINT (-38.579151 -3.22476)'))) / (select extract(epoch from '2026-05-29 08:57:27'::timestamp) - extract(epoch from '2026-05-29 08:57:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579035 -3.224815)'), GeomFromEWKT('SRID=4674;POINT (-38.579151 -3.22476)'))) / (select extract(epoch from '2026-05-29 08:57:27'::timestamp) - extract(epoch from '2026-05-29 08:57:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579247 -3.22473)', '2026-05-29 08:57:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579151 -3.22476)'), GeomFromEWKT('SRID=4674;POINT (-38.579247 -3.22473)'))) / (select extract(epoch from '2026-05-29 08:57:31'::timestamp) - extract(epoch from '2026-05-29 08:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579151 -3.22476)'), GeomFromEWKT('SRID=4674;POINT (-38.579247 -3.22473)'))) / (select extract(epoch from '2026-05-29 08:57:31'::timestamp) - extract(epoch from '2026-05-29 08:57:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579364 -3.224697)', '2026-05-29 08:57:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579247 -3.22473)'), GeomFromEWKT('SRID=4674;POINT (-38.579364 -3.224697)'))) / (select extract(epoch from '2026-05-29 08:57:36'::timestamp) - extract(epoch from '2026-05-29 08:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579247 -3.22473)'), GeomFromEWKT('SRID=4674;POINT (-38.579364 -3.224697)'))) / (select extract(epoch from '2026-05-29 08:57:36'::timestamp) - extract(epoch from '2026-05-29 08:57:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.579479 -3.224678)', '2026-05-29 08:57:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579364 -3.224697)'), GeomFromEWKT('SRID=4674;POINT (-38.579479 -3.224678)'))) / (select extract(epoch from '2026-05-29 08:57:41'::timestamp) - extract(epoch from '2026-05-29 08:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579364 -3.224697)'), GeomFromEWKT('SRID=4674;POINT (-38.579479 -3.224678)'))) / (select extract(epoch from '2026-05-29 08:57:41'::timestamp) - extract(epoch from '2026-05-29 08:57: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.579606 -3.224658)', '2026-05-29 08:57:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579479 -3.224678)'), GeomFromEWKT('SRID=4674;POINT (-38.579606 -3.224658)'))) / (select extract(epoch from '2026-05-29 08:57:46'::timestamp) - extract(epoch from '2026-05-29 08:57:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579479 -3.224678)'), GeomFromEWKT('SRID=4674;POINT (-38.579606 -3.224658)'))) / (select extract(epoch from '2026-05-29 08:57:46'::timestamp) - extract(epoch from '2026-05-29 08:57: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.579743 -3.224638)', '2026-05-29 08:57:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579606 -3.224658)'), GeomFromEWKT('SRID=4674;POINT (-38.579743 -3.224638)'))) / (select extract(epoch from '2026-05-29 08:57:52'::timestamp) - extract(epoch from '2026-05-29 08:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579606 -3.224658)'), GeomFromEWKT('SRID=4674;POINT (-38.579743 -3.224638)'))) / (select extract(epoch from '2026-05-29 08:57:52'::timestamp) - extract(epoch from '2026-05-29 08:57: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.57986 -3.224621)', '2026-05-29 08:57:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579743 -3.224638)'), GeomFromEWKT('SRID=4674;POINT (-38.57986 -3.224621)'))) / (select extract(epoch from '2026-05-29 08:57:57'::timestamp) - extract(epoch from '2026-05-29 08:57:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579743 -3.224638)'), GeomFromEWKT('SRID=4674;POINT (-38.57986 -3.224621)'))) / (select extract(epoch from '2026-05-29 08:57:57'::timestamp) - extract(epoch from '2026-05-29 08:57: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.579968 -3.224599)', '2026-05-29 08:58:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57986 -3.224621)'), GeomFromEWKT('SRID=4674;POINT (-38.579968 -3.224599)'))) / (select extract(epoch from '2026-05-29 08:58:02'::timestamp) - extract(epoch from '2026-05-29 08:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.57986 -3.224621)'), GeomFromEWKT('SRID=4674;POINT (-38.579968 -3.224599)'))) / (select extract(epoch from '2026-05-29 08:58:02'::timestamp) - extract(epoch from '2026-05-29 08:57: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.580045 -3.224578)', '2026-05-29 08:58:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579968 -3.224599)'), GeomFromEWKT('SRID=4674;POINT (-38.580045 -3.224578)'))) / (select extract(epoch from '2026-05-29 08:58:06'::timestamp) - extract(epoch from '2026-05-29 08:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.579968 -3.224599)'), GeomFromEWKT('SRID=4674;POINT (-38.580045 -3.224578)'))) / (select extract(epoch from '2026-05-29 08:58:06'::timestamp) - extract(epoch from '2026-05-29 08:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580193 -3.224507)', '2026-05-29 08:58:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580045 -3.224578)'), GeomFromEWKT('SRID=4674;POINT (-38.580193 -3.224507)'))) / (select extract(epoch from '2026-05-29 08:58:13'::timestamp) - extract(epoch from '2026-05-29 08:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580045 -3.224578)'), GeomFromEWKT('SRID=4674;POINT (-38.580193 -3.224507)'))) / (select extract(epoch from '2026-05-29 08:58:13'::timestamp) - extract(epoch from '2026-05-29 08:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580352 -3.2244)', '2026-05-29 08:58:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580193 -3.224507)'), GeomFromEWKT('SRID=4674;POINT (-38.580352 -3.2244)'))) / (select extract(epoch from '2026-05-29 08:58:21'::timestamp) - extract(epoch from '2026-05-29 08:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580193 -3.224507)'), GeomFromEWKT('SRID=4674;POINT (-38.580352 -3.2244)'))) / (select extract(epoch from '2026-05-29 08:58:21'::timestamp) - extract(epoch from '2026-05-29 08:58: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.580453 -3.224332)', '2026-05-29 08:58:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580352 -3.2244)'), GeomFromEWKT('SRID=4674;POINT (-38.580453 -3.224332)'))) / (select extract(epoch from '2026-05-29 08:58:26'::timestamp) - extract(epoch from '2026-05-29 08:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580352 -3.2244)'), GeomFromEWKT('SRID=4674;POINT (-38.580453 -3.224332)'))) / (select extract(epoch from '2026-05-29 08:58:26'::timestamp) - extract(epoch from '2026-05-29 08:58: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.58057 -3.224256)', '2026-05-29 08:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580453 -3.224332)'), GeomFromEWKT('SRID=4674;POINT (-38.58057 -3.224256)'))) / (select extract(epoch from '2026-05-29 08:58:32'::timestamp) - extract(epoch from '2026-05-29 08:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580453 -3.224332)'), GeomFromEWKT('SRID=4674;POINT (-38.58057 -3.224256)'))) / (select extract(epoch from '2026-05-29 08:58:32'::timestamp) - extract(epoch from '2026-05-29 08:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.580692 -3.224187)', '2026-05-29 08:58:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58057 -3.224256)'), GeomFromEWKT('SRID=4674;POINT (-38.580692 -3.224187)'))) / (select extract(epoch from '2026-05-29 08:58:38'::timestamp) - extract(epoch from '2026-05-29 08:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58057 -3.224256)'), GeomFromEWKT('SRID=4674;POINT (-38.580692 -3.224187)'))) / (select extract(epoch from '2026-05-29 08:58:38'::timestamp) - extract(epoch from '2026-05-29 08:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58081 -3.224119)', '2026-05-29 08:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580692 -3.224187)'), GeomFromEWKT('SRID=4674;POINT (-38.58081 -3.224119)'))) / (select extract(epoch from '2026-05-29 08:58:44'::timestamp) - extract(epoch from '2026-05-29 08:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580692 -3.224187)'), GeomFromEWKT('SRID=4674;POINT (-38.58081 -3.224119)'))) / (select extract(epoch from '2026-05-29 08:58:44'::timestamp) - extract(epoch from '2026-05-29 08:58: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.580911 -3.224063)', '2026-05-29 08:58:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58081 -3.224119)'), GeomFromEWKT('SRID=4674;POINT (-38.580911 -3.224063)'))) / (select extract(epoch from '2026-05-29 08:58:49'::timestamp) - extract(epoch from '2026-05-29 08:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58081 -3.224119)'), GeomFromEWKT('SRID=4674;POINT (-38.580911 -3.224063)'))) / (select extract(epoch from '2026-05-29 08:58:49'::timestamp) - extract(epoch from '2026-05-29 08:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581059 -3.223995)', '2026-05-29 08:58:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580911 -3.224063)'), GeomFromEWKT('SRID=4674;POINT (-38.581059 -3.223995)'))) / (select extract(epoch from '2026-05-29 08:58:56'::timestamp) - extract(epoch from '2026-05-29 08:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.580911 -3.224063)'), GeomFromEWKT('SRID=4674;POINT (-38.581059 -3.223995)'))) / (select extract(epoch from '2026-05-29 08:58:56'::timestamp) - extract(epoch from '2026-05-29 08:58: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.581239 -3.2239)', '2026-05-29 08:59:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581059 -3.223995)'), GeomFromEWKT('SRID=4674;POINT (-38.581239 -3.2239)'))) / (select extract(epoch from '2026-05-29 08:59:05'::timestamp) - extract(epoch from '2026-05-29 08:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581059 -3.223995)'), GeomFromEWKT('SRID=4674;POINT (-38.581239 -3.2239)'))) / (select extract(epoch from '2026-05-29 08:59:05'::timestamp) - extract(epoch from '2026-05-29 08:58: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.581354 -3.223846)', '2026-05-29 08:59:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581239 -3.2239)'), GeomFromEWKT('SRID=4674;POINT (-38.581354 -3.223846)'))) / (select extract(epoch from '2026-05-29 08:59:10'::timestamp) - extract(epoch from '2026-05-29 08:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581239 -3.2239)'), GeomFromEWKT('SRID=4674;POINT (-38.581354 -3.223846)'))) / (select extract(epoch from '2026-05-29 08:59:10'::timestamp) - extract(epoch from '2026-05-29 08:59: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.581478 -3.223793)', '2026-05-29 08:59:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581354 -3.223846)'), GeomFromEWKT('SRID=4674;POINT (-38.581478 -3.223793)'))) / (select extract(epoch from '2026-05-29 08:59:16'::timestamp) - extract(epoch from '2026-05-29 08:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581354 -3.223846)'), GeomFromEWKT('SRID=4674;POINT (-38.581478 -3.223793)'))) / (select extract(epoch from '2026-05-29 08:59:16'::timestamp) - extract(epoch from '2026-05-29 08:59: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.581613 -3.223743)', '2026-05-29 08:59:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581478 -3.223793)'), GeomFromEWKT('SRID=4674;POINT (-38.581613 -3.223743)'))) / (select extract(epoch from '2026-05-29 08:59:22'::timestamp) - extract(epoch from '2026-05-29 08:59:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581478 -3.223793)'), GeomFromEWKT('SRID=4674;POINT (-38.581613 -3.223743)'))) / (select extract(epoch from '2026-05-29 08:59:22'::timestamp) - extract(epoch from '2026-05-29 08:59:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58173 -3.223698)', '2026-05-29 08:59:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581613 -3.223743)'), GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.223698)'))) / (select extract(epoch from '2026-05-29 08:59:27'::timestamp) - extract(epoch from '2026-05-29 08:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581613 -3.223743)'), GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.223698)'))) / (select extract(epoch from '2026-05-29 08:59:27'::timestamp) - extract(epoch from '2026-05-29 08:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.581841 -3.223654)', '2026-05-29 08:59:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.223698)'), GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.223654)'))) / (select extract(epoch from '2026-05-29 08:59:32'::timestamp) - extract(epoch from '2026-05-29 08:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58173 -3.223698)'), GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.223654)'))) / (select extract(epoch from '2026-05-29 08:59:32'::timestamp) - extract(epoch from '2026-05-29 08:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582005 -3.223601)', '2026-05-29 08:59:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.223654)'), GeomFromEWKT('SRID=4674;POINT (-38.582005 -3.223601)'))) / (select extract(epoch from '2026-05-29 08:59:39'::timestamp) - extract(epoch from '2026-05-29 08:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.581841 -3.223654)'), GeomFromEWKT('SRID=4674;POINT (-38.582005 -3.223601)'))) / (select extract(epoch from '2026-05-29 08:59:39'::timestamp) - extract(epoch from '2026-05-29 08:59: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.582127 -3.223566)', '2026-05-29 08:59:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582005 -3.223601)'), GeomFromEWKT('SRID=4674;POINT (-38.582127 -3.223566)'))) / (select extract(epoch from '2026-05-29 08:59:44'::timestamp) - extract(epoch from '2026-05-29 08:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582005 -3.223601)'), GeomFromEWKT('SRID=4674;POINT (-38.582127 -3.223566)'))) / (select extract(epoch from '2026-05-29 08:59:44'::timestamp) - extract(epoch from '2026-05-29 08:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.582217 -3.223547)', '2026-05-29 08:59:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582127 -3.223566)'), GeomFromEWKT('SRID=4674;POINT (-38.582217 -3.223547)'))) / (select extract(epoch from '2026-05-29 08:59:48'::timestamp) - extract(epoch from '2026-05-29 08:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582127 -3.223566)'), GeomFromEWKT('SRID=4674;POINT (-38.582217 -3.223547)'))) / (select extract(epoch from '2026-05-29 08:59:48'::timestamp) - extract(epoch from '2026-05-29 08:59: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.582341 -3.223509)', '2026-05-29 08:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582217 -3.223547)'), GeomFromEWKT('SRID=4674;POINT (-38.582341 -3.223509)'))) / (select extract(epoch from '2026-05-29 08:59:53'::timestamp) - extract(epoch from '2026-05-29 08:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582217 -3.223547)'), GeomFromEWKT('SRID=4674;POINT (-38.582341 -3.223509)'))) / (select extract(epoch from '2026-05-29 08:59:53'::timestamp) - extract(epoch from '2026-05-29 08:59: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.582461 -3.223483)', '2026-05-29 08:59:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582341 -3.223509)'), GeomFromEWKT('SRID=4674;POINT (-38.582461 -3.223483)'))) / (select extract(epoch from '2026-05-29 08:59:58'::timestamp) - extract(epoch from '2026-05-29 08:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582341 -3.223509)'), GeomFromEWKT('SRID=4674;POINT (-38.582461 -3.223483)'))) / (select extract(epoch from '2026-05-29 08:59:58'::timestamp) - extract(epoch from '2026-05-29 08:59: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.582591 -3.223443)', '2026-05-29 09:00:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582461 -3.223483)'), GeomFromEWKT('SRID=4674;POINT (-38.582591 -3.223443)'))) / (select extract(epoch from '2026-05-29 09:00:04'::timestamp) - extract(epoch from '2026-05-29 08:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582461 -3.223483)'), GeomFromEWKT('SRID=4674;POINT (-38.582591 -3.223443)'))) / (select extract(epoch from '2026-05-29 09:00:04'::timestamp) - extract(epoch from '2026-05-29 08:59:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58267 -3.223421)', '2026-05-29 09:00:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582591 -3.223443)'), GeomFromEWKT('SRID=4674;POINT (-38.58267 -3.223421)'))) / (select extract(epoch from '2026-05-29 09:00:08'::timestamp) - extract(epoch from '2026-05-29 09:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582591 -3.223443)'), GeomFromEWKT('SRID=4674;POINT (-38.58267 -3.223421)'))) / (select extract(epoch from '2026-05-29 09:00:08'::timestamp) - extract(epoch from '2026-05-29 09:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.58278 -3.223377)', '2026-05-29 09:00:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58267 -3.223421)'), GeomFromEWKT('SRID=4674;POINT (-38.58278 -3.223377)'))) / (select extract(epoch from '2026-05-29 09:00:13'::timestamp) - extract(epoch from '2026-05-29 09:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58267 -3.223421)'), GeomFromEWKT('SRID=4674;POINT (-38.58278 -3.223377)'))) / (select extract(epoch from '2026-05-29 09:00:13'::timestamp) - extract(epoch from '2026-05-29 09:00: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.582893 -3.223343)', '2026-05-29 09:00:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58278 -3.223377)'), GeomFromEWKT('SRID=4674;POINT (-38.582893 -3.223343)'))) / (select extract(epoch from '2026-05-29 09:00:18'::timestamp) - extract(epoch from '2026-05-29 09:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58278 -3.223377)'), GeomFromEWKT('SRID=4674;POINT (-38.582893 -3.223343)'))) / (select extract(epoch from '2026-05-29 09:00:18'::timestamp) - extract(epoch from '2026-05-29 09:00: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.582999 -3.223298)', '2026-05-29 09:00:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582893 -3.223343)'), GeomFromEWKT('SRID=4674;POINT (-38.582999 -3.223298)'))) / (select extract(epoch from '2026-05-29 09:00:23'::timestamp) - extract(epoch from '2026-05-29 09:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582893 -3.223343)'), GeomFromEWKT('SRID=4674;POINT (-38.582999 -3.223298)'))) / (select extract(epoch from '2026-05-29 09:00:23'::timestamp) - extract(epoch from '2026-05-29 09:00: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.583135 -3.22326)', '2026-05-29 09:00:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582999 -3.223298)'), GeomFromEWKT('SRID=4674;POINT (-38.583135 -3.22326)'))) / (select extract(epoch from '2026-05-29 09:00:29'::timestamp) - extract(epoch from '2026-05-29 09:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.582999 -3.223298)'), GeomFromEWKT('SRID=4674;POINT (-38.583135 -3.22326)'))) / (select extract(epoch from '2026-05-29 09:00:29'::timestamp) - extract(epoch from '2026-05-29 09:00: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.58327 -3.223224)', '2026-05-29 09:00:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583135 -3.22326)'), GeomFromEWKT('SRID=4674;POINT (-38.58327 -3.223224)'))) / (select extract(epoch from '2026-05-29 09:00:35'::timestamp) - extract(epoch from '2026-05-29 09:00:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583135 -3.22326)'), GeomFromEWKT('SRID=4674;POINT (-38.58327 -3.223224)'))) / (select extract(epoch from '2026-05-29 09:00:35'::timestamp) - extract(epoch from '2026-05-29 09:00: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.583407 -3.223195)', '2026-05-29 09:00:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58327 -3.223224)'), GeomFromEWKT('SRID=4674;POINT (-38.583407 -3.223195)'))) / (select extract(epoch from '2026-05-29 09:00:41'::timestamp) - extract(epoch from '2026-05-29 09:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58327 -3.223224)'), GeomFromEWKT('SRID=4674;POINT (-38.583407 -3.223195)'))) / (select extract(epoch from '2026-05-29 09:00:41'::timestamp) - extract(epoch from '2026-05-29 09:00: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.583526 -3.223179)', '2026-05-29 09:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583407 -3.223195)'), GeomFromEWKT('SRID=4674;POINT (-38.583526 -3.223179)'))) / (select extract(epoch from '2026-05-29 09:00:46'::timestamp) - extract(epoch from '2026-05-29 09:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583407 -3.223195)'), GeomFromEWKT('SRID=4674;POINT (-38.583526 -3.223179)'))) / (select extract(epoch from '2026-05-29 09:00:46'::timestamp) - extract(epoch from '2026-05-29 09:00: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.583643 -3.223175)', '2026-05-29 09:00:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583526 -3.223179)'), GeomFromEWKT('SRID=4674;POINT (-38.583643 -3.223175)'))) / (select extract(epoch from '2026-05-29 09:00:50'::timestamp) - extract(epoch from '2026-05-29 09:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583526 -3.223179)'), GeomFromEWKT('SRID=4674;POINT (-38.583643 -3.223175)'))) / (select extract(epoch from '2026-05-29 09:00:50'::timestamp) - extract(epoch from '2026-05-29 09:00: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.583762 -3.223157)', '2026-05-29 09:00:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583643 -3.223175)'), GeomFromEWKT('SRID=4674;POINT (-38.583762 -3.223157)'))) / (select extract(epoch from '2026-05-29 09:00:55'::timestamp) - extract(epoch from '2026-05-29 09:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583643 -3.223175)'), GeomFromEWKT('SRID=4674;POINT (-38.583762 -3.223157)'))) / (select extract(epoch from '2026-05-29 09:00:55'::timestamp) - extract(epoch from '2026-05-29 09:00: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.583883 -3.223151)', '2026-05-29 09:01:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583762 -3.223157)'), GeomFromEWKT('SRID=4674;POINT (-38.583883 -3.223151)'))) / (select extract(epoch from '2026-05-29 09:01:00'::timestamp) - extract(epoch from '2026-05-29 09:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583762 -3.223157)'), GeomFromEWKT('SRID=4674;POINT (-38.583883 -3.223151)'))) / (select extract(epoch from '2026-05-29 09:01:00'::timestamp) - extract(epoch from '2026-05-29 09:00: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.584097 -3.223131)', '2026-05-29 09:01:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583883 -3.223151)'), GeomFromEWKT('SRID=4674;POINT (-38.584097 -3.223131)'))) / (select extract(epoch from '2026-05-29 09:01:09'::timestamp) - extract(epoch from '2026-05-29 09:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.583883 -3.223151)'), GeomFromEWKT('SRID=4674;POINT (-38.584097 -3.223131)'))) / (select extract(epoch from '2026-05-29 09:01:09'::timestamp) - extract(epoch from '2026-05-29 09:01: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.584275 -3.223099)', '2026-05-29 09:01:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584097 -3.223131)'), GeomFromEWKT('SRID=4674;POINT (-38.584275 -3.223099)'))) / (select extract(epoch from '2026-05-29 09:01:17'::timestamp) - extract(epoch from '2026-05-29 09:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584097 -3.223131)'), GeomFromEWKT('SRID=4674;POINT (-38.584275 -3.223099)'))) / (select extract(epoch from '2026-05-29 09:01:17'::timestamp) - extract(epoch from '2026-05-29 09:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584406 -3.223081)', '2026-05-29 09:01:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584275 -3.223099)'), GeomFromEWKT('SRID=4674;POINT (-38.584406 -3.223081)'))) / (select extract(epoch from '2026-05-29 09:01:22'::timestamp) - extract(epoch from '2026-05-29 09:01:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584275 -3.223099)'), GeomFromEWKT('SRID=4674;POINT (-38.584406 -3.223081)'))) / (select extract(epoch from '2026-05-29 09:01:22'::timestamp) - extract(epoch from '2026-05-29 09:01: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.584514 -3.223058)', '2026-05-29 09:01:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584406 -3.223081)'), GeomFromEWKT('SRID=4674;POINT (-38.584514 -3.223058)'))) / (select extract(epoch from '2026-05-29 09:01:27'::timestamp) - extract(epoch from '2026-05-29 09:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584406 -3.223081)'), GeomFromEWKT('SRID=4674;POINT (-38.584514 -3.223058)'))) / (select extract(epoch from '2026-05-29 09:01:27'::timestamp) - extract(epoch from '2026-05-29 09:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584626 -3.223023)', '2026-05-29 09:01:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584514 -3.223058)'), GeomFromEWKT('SRID=4674;POINT (-38.584626 -3.223023)'))) / (select extract(epoch from '2026-05-29 09:01:32'::timestamp) - extract(epoch from '2026-05-29 09:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584514 -3.223058)'), GeomFromEWKT('SRID=4674;POINT (-38.584626 -3.223023)'))) / (select extract(epoch from '2026-05-29 09:01:32'::timestamp) - extract(epoch from '2026-05-29 09:01:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.584759 -3.222977)', '2026-05-29 09:01:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584626 -3.223023)'), GeomFromEWKT('SRID=4674;POINT (-38.584759 -3.222977)'))) / (select extract(epoch from '2026-05-29 09:01:37'::timestamp) - extract(epoch from '2026-05-29 09:01:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584626 -3.223023)'), GeomFromEWKT('SRID=4674;POINT (-38.584759 -3.222977)'))) / (select extract(epoch from '2026-05-29 09:01:37'::timestamp) - extract(epoch from '2026-05-29 09:01: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.584913 -3.222907)', '2026-05-29 09:01:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584759 -3.222977)'), GeomFromEWKT('SRID=4674;POINT (-38.584913 -3.222907)'))) / (select extract(epoch from '2026-05-29 09:01:44'::timestamp) - extract(epoch from '2026-05-29 09:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584759 -3.222977)'), GeomFromEWKT('SRID=4674;POINT (-38.584913 -3.222907)'))) / (select extract(epoch from '2026-05-29 09:01:44'::timestamp) - extract(epoch from '2026-05-29 09:01: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.585058 -3.22283)', '2026-05-29 09:01:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584913 -3.222907)'), GeomFromEWKT('SRID=4674;POINT (-38.585058 -3.22283)'))) / (select extract(epoch from '2026-05-29 09:01:51'::timestamp) - extract(epoch from '2026-05-29 09:01:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.584913 -3.222907)'), GeomFromEWKT('SRID=4674;POINT (-38.585058 -3.22283)'))) / (select extract(epoch from '2026-05-29 09:01:51'::timestamp) - extract(epoch from '2026-05-29 09:01: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.585191 -3.222757)', '2026-05-29 09:01:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585058 -3.22283)'), GeomFromEWKT('SRID=4674;POINT (-38.585191 -3.222757)'))) / (select extract(epoch from '2026-05-29 09:01:57'::timestamp) - extract(epoch from '2026-05-29 09:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585058 -3.22283)'), GeomFromEWKT('SRID=4674;POINT (-38.585191 -3.222757)'))) / (select extract(epoch from '2026-05-29 09:01:57'::timestamp) - extract(epoch from '2026-05-29 09:01: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.5853 -3.222678)', '2026-05-29 09:02:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585191 -3.222757)'), GeomFromEWKT('SRID=4674;POINT (-38.5853 -3.222678)'))) / (select extract(epoch from '2026-05-29 09:02:03'::timestamp) - extract(epoch from '2026-05-29 09:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585191 -3.222757)'), GeomFromEWKT('SRID=4674;POINT (-38.5853 -3.222678)'))) / (select extract(epoch from '2026-05-29 09:02:03'::timestamp) - extract(epoch from '2026-05-29 09:01: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.585385 -3.222604)', '2026-05-29 09:02:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5853 -3.222678)'), GeomFromEWKT('SRID=4674;POINT (-38.585385 -3.222604)'))) / (select extract(epoch from '2026-05-29 09:02:08'::timestamp) - extract(epoch from '2026-05-29 09:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5853 -3.222678)'), GeomFromEWKT('SRID=4674;POINT (-38.585385 -3.222604)'))) / (select extract(epoch from '2026-05-29 09:02:08'::timestamp) - extract(epoch from '2026-05-29 09:02: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.585503 -3.222508)', '2026-05-29 09:02:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585385 -3.222604)'), GeomFromEWKT('SRID=4674;POINT (-38.585503 -3.222508)'))) / (select extract(epoch from '2026-05-29 09:02:14'::timestamp) - extract(epoch from '2026-05-29 09:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585385 -3.222604)'), GeomFromEWKT('SRID=4674;POINT (-38.585503 -3.222508)'))) / (select extract(epoch from '2026-05-29 09:02:14'::timestamp) - extract(epoch from '2026-05-29 09:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585634 -3.222395)', '2026-05-29 09:02:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585503 -3.222508)'), GeomFromEWKT('SRID=4674;POINT (-38.585634 -3.222395)'))) / (select extract(epoch from '2026-05-29 09:02:21'::timestamp) - extract(epoch from '2026-05-29 09:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585503 -3.222508)'), GeomFromEWKT('SRID=4674;POINT (-38.585634 -3.222395)'))) / (select extract(epoch from '2026-05-29 09:02:21'::timestamp) - extract(epoch from '2026-05-29 09:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585738 -3.222295)', '2026-05-29 09:02:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585634 -3.222395)'), GeomFromEWKT('SRID=4674;POINT (-38.585738 -3.222295)'))) / (select extract(epoch from '2026-05-29 09:02:27'::timestamp) - extract(epoch from '2026-05-29 09:02:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585634 -3.222395)'), GeomFromEWKT('SRID=4674;POINT (-38.585738 -3.222295)'))) / (select extract(epoch from '2026-05-29 09:02:27'::timestamp) - extract(epoch from '2026-05-29 09:02:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.585834 -3.222206)', '2026-05-29 09:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585738 -3.222295)'), GeomFromEWKT('SRID=4674;POINT (-38.585834 -3.222206)'))) / (select extract(epoch from '2026-05-29 09:02:32'::timestamp) - extract(epoch from '2026-05-29 09:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585738 -3.222295)'), GeomFromEWKT('SRID=4674;POINT (-38.585834 -3.222206)'))) / (select extract(epoch from '2026-05-29 09:02:32'::timestamp) - extract(epoch from '2026-05-29 09:02: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.585912 -3.222123)', '2026-05-29 09:02:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585834 -3.222206)'), GeomFromEWKT('SRID=4674;POINT (-38.585912 -3.222123)'))) / (select extract(epoch from '2026-05-29 09:02:37'::timestamp) - extract(epoch from '2026-05-29 09:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585834 -3.222206)'), GeomFromEWKT('SRID=4674;POINT (-38.585912 -3.222123)'))) / (select extract(epoch from '2026-05-29 09:02:37'::timestamp) - extract(epoch from '2026-05-29 09:02: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.585988 -3.222069)', '2026-05-29 09:02:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585912 -3.222123)'), GeomFromEWKT('SRID=4674;POINT (-38.585988 -3.222069)'))) / (select extract(epoch from '2026-05-29 09:02:41'::timestamp) - extract(epoch from '2026-05-29 09:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585912 -3.222123)'), GeomFromEWKT('SRID=4674;POINT (-38.585988 -3.222069)'))) / (select extract(epoch from '2026-05-29 09:02:41'::timestamp) - extract(epoch from '2026-05-29 09:02:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.586057 -3.221997)', '2026-05-29 09:02:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585988 -3.222069)'), GeomFromEWKT('SRID=4674;POINT (-38.586057 -3.221997)'))) / (select extract(epoch from '2026-05-29 09:02:45'::timestamp) - extract(epoch from '2026-05-29 09:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.585988 -3.222069)'), GeomFromEWKT('SRID=4674;POINT (-38.586057 -3.221997)'))) / (select extract(epoch from '2026-05-29 09:02:45'::timestamp) - extract(epoch from '2026-05-29 09:02: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.586136 -3.221918)', '2026-05-29 09:02:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586057 -3.221997)'), GeomFromEWKT('SRID=4674;POINT (-38.586136 -3.221918)'))) / (select extract(epoch from '2026-05-29 09:02:50'::timestamp) - extract(epoch from '2026-05-29 09:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586057 -3.221997)'), GeomFromEWKT('SRID=4674;POINT (-38.586136 -3.221918)'))) / (select extract(epoch from '2026-05-29 09:02:50'::timestamp) - extract(epoch from '2026-05-29 09:02: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.586226 -3.221831)', '2026-05-29 09:02:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586136 -3.221918)'), GeomFromEWKT('SRID=4674;POINT (-38.586226 -3.221831)'))) / (select extract(epoch from '2026-05-29 09:02:56'::timestamp) - extract(epoch from '2026-05-29 09:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586136 -3.221918)'), GeomFromEWKT('SRID=4674;POINT (-38.586226 -3.221831)'))) / (select extract(epoch from '2026-05-29 09:02:56'::timestamp) - extract(epoch from '2026-05-29 09:02: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.586335 -3.221736)', '2026-05-29 09:03:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586226 -3.221831)'), GeomFromEWKT('SRID=4674;POINT (-38.586335 -3.221736)'))) / (select extract(epoch from '2026-05-29 09:03:02'::timestamp) - extract(epoch from '2026-05-29 09:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586226 -3.221831)'), GeomFromEWKT('SRID=4674;POINT (-38.586335 -3.221736)'))) / (select extract(epoch from '2026-05-29 09:03:02'::timestamp) - extract(epoch from '2026-05-29 09:02: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.586459 -3.221644)', '2026-05-29 09:03:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586335 -3.221736)'), GeomFromEWKT('SRID=4674;POINT (-38.586459 -3.221644)'))) / (select extract(epoch from '2026-05-29 09:03:08'::timestamp) - extract(epoch from '2026-05-29 09:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586335 -3.221736)'), GeomFromEWKT('SRID=4674;POINT (-38.586459 -3.221644)'))) / (select extract(epoch from '2026-05-29 09:03:08'::timestamp) - extract(epoch from '2026-05-29 09:03: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.586585 -3.221566)', '2026-05-29 09:03:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586459 -3.221644)'), GeomFromEWKT('SRID=4674;POINT (-38.586585 -3.221566)'))) / (select extract(epoch from '2026-05-29 09:03:14'::timestamp) - extract(epoch from '2026-05-29 09:03:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586459 -3.221644)'), GeomFromEWKT('SRID=4674;POINT (-38.586585 -3.221566)'))) / (select extract(epoch from '2026-05-29 09:03:14'::timestamp) - extract(epoch from '2026-05-29 09:03: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.586687 -3.221511)', '2026-05-29 09:03:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586585 -3.221566)'), GeomFromEWKT('SRID=4674;POINT (-38.586687 -3.221511)'))) / (select extract(epoch from '2026-05-29 09:03:19'::timestamp) - extract(epoch from '2026-05-29 09:03:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586585 -3.221566)'), GeomFromEWKT('SRID=4674;POINT (-38.586687 -3.221511)'))) / (select extract(epoch from '2026-05-29 09:03:19'::timestamp) - extract(epoch from '2026-05-29 09:03: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.5868 -3.221459)', '2026-05-29 09:03:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586687 -3.221511)'), GeomFromEWKT('SRID=4674;POINT (-38.5868 -3.221459)'))) / (select extract(epoch from '2026-05-29 09:03:24'::timestamp) - extract(epoch from '2026-05-29 09:03:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586687 -3.221511)'), GeomFromEWKT('SRID=4674;POINT (-38.5868 -3.221459)'))) / (select extract(epoch from '2026-05-29 09:03:24'::timestamp) - extract(epoch from '2026-05-29 09:03: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.586911 -3.221423)', '2026-05-29 09:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5868 -3.221459)'), GeomFromEWKT('SRID=4674;POINT (-38.586911 -3.221423)'))) / (select extract(epoch from '2026-05-29 09:03:29'::timestamp) - extract(epoch from '2026-05-29 09:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5868 -3.221459)'), GeomFromEWKT('SRID=4674;POINT (-38.586911 -3.221423)'))) / (select extract(epoch from '2026-05-29 09:03:29'::timestamp) - extract(epoch from '2026-05-29 09:03: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.587025 -3.221379)', '2026-05-29 09:03:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586911 -3.221423)'), GeomFromEWKT('SRID=4674;POINT (-38.587025 -3.221379)'))) / (select extract(epoch from '2026-05-29 09:03:34'::timestamp) - extract(epoch from '2026-05-29 09:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.586911 -3.221423)'), GeomFromEWKT('SRID=4674;POINT (-38.587025 -3.221379)'))) / (select extract(epoch from '2026-05-29 09:03:34'::timestamp) - extract(epoch from '2026-05-29 09:03: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.587117 -3.221349)', '2026-05-29 09:03:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587025 -3.221379)'), GeomFromEWKT('SRID=4674;POINT (-38.587117 -3.221349)'))) / (select extract(epoch from '2026-05-29 09:03:38'::timestamp) - extract(epoch from '2026-05-29 09:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587025 -3.221379)'), GeomFromEWKT('SRID=4674;POINT (-38.587117 -3.221349)'))) / (select extract(epoch from '2026-05-29 09:03:38'::timestamp) - extract(epoch from '2026-05-29 09:03: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.587236 -3.2213)', '2026-05-29 09:03:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587117 -3.221349)'), GeomFromEWKT('SRID=4674;POINT (-38.587236 -3.2213)'))) / (select extract(epoch from '2026-05-29 09:03:43'::timestamp) - extract(epoch from '2026-05-29 09:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587117 -3.221349)'), GeomFromEWKT('SRID=4674;POINT (-38.587236 -3.2213)'))) / (select extract(epoch from '2026-05-29 09:03:43'::timestamp) - extract(epoch from '2026-05-29 09:03: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.587332 -3.221258)', '2026-05-29 09:03:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587236 -3.2213)'), GeomFromEWKT('SRID=4674;POINT (-38.587332 -3.221258)'))) / (select extract(epoch from '2026-05-29 09:03:48'::timestamp) - extract(epoch from '2026-05-29 09:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587236 -3.2213)'), GeomFromEWKT('SRID=4674;POINT (-38.587332 -3.221258)'))) / (select extract(epoch from '2026-05-29 09:03:48'::timestamp) - extract(epoch from '2026-05-29 09:03: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.587484 -3.221193)', '2026-05-29 09:03:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587332 -3.221258)'), GeomFromEWKT('SRID=4674;POINT (-38.587484 -3.221193)'))) / (select extract(epoch from '2026-05-29 09:03:55'::timestamp) - extract(epoch from '2026-05-29 09:03:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587332 -3.221258)'), GeomFromEWKT('SRID=4674;POINT (-38.587484 -3.221193)'))) / (select extract(epoch from '2026-05-29 09:03:55'::timestamp) - extract(epoch from '2026-05-29 09:03:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587609 -3.221122)', '2026-05-29 09:04:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587484 -3.221193)'), GeomFromEWKT('SRID=4674;POINT (-38.587609 -3.221122)'))) / (select extract(epoch from '2026-05-29 09:04:01'::timestamp) - extract(epoch from '2026-05-29 09:03:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587484 -3.221193)'), GeomFromEWKT('SRID=4674;POINT (-38.587609 -3.221122)'))) / (select extract(epoch from '2026-05-29 09:04:01'::timestamp) - extract(epoch from '2026-05-29 09:03:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.587738 -3.221064)', '2026-05-29 09:04:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587609 -3.221122)'), GeomFromEWKT('SRID=4674;POINT (-38.587738 -3.221064)'))) / (select extract(epoch from '2026-05-29 09:04:07'::timestamp) - extract(epoch from '2026-05-29 09:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587609 -3.221122)'), GeomFromEWKT('SRID=4674;POINT (-38.587738 -3.221064)'))) / (select extract(epoch from '2026-05-29 09:04:07'::timestamp) - extract(epoch from '2026-05-29 09:04: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.587895 -3.221012)', '2026-05-29 09:04:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587738 -3.221064)'), GeomFromEWKT('SRID=4674;POINT (-38.587895 -3.221012)'))) / (select extract(epoch from '2026-05-29 09:04:14'::timestamp) - extract(epoch from '2026-05-29 09:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587738 -3.221064)'), GeomFromEWKT('SRID=4674;POINT (-38.587895 -3.221012)'))) / (select extract(epoch from '2026-05-29 09:04:14'::timestamp) - extract(epoch from '2026-05-29 09:04: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.588082 -3.220939)', '2026-05-29 09:04:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587895 -3.221012)'), GeomFromEWKT('SRID=4674;POINT (-38.588082 -3.220939)'))) / (select extract(epoch from '2026-05-29 09:04:22'::timestamp) - extract(epoch from '2026-05-29 09:04:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.587895 -3.221012)'), GeomFromEWKT('SRID=4674;POINT (-38.588082 -3.220939)'))) / (select extract(epoch from '2026-05-29 09:04:22'::timestamp) - extract(epoch from '2026-05-29 09:04:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588198 -3.220888)', '2026-05-29 09:04:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588082 -3.220939)'), GeomFromEWKT('SRID=4674;POINT (-38.588198 -3.220888)'))) / (select extract(epoch from '2026-05-29 09:04:27'::timestamp) - extract(epoch from '2026-05-29 09:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588082 -3.220939)'), GeomFromEWKT('SRID=4674;POINT (-38.588198 -3.220888)'))) / (select extract(epoch from '2026-05-29 09:04:27'::timestamp) - extract(epoch from '2026-05-29 09:04:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588314 -3.220835)', '2026-05-29 09:04:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588198 -3.220888)'), GeomFromEWKT('SRID=4674;POINT (-38.588314 -3.220835)'))) / (select extract(epoch from '2026-05-29 09:04:32'::timestamp) - extract(epoch from '2026-05-29 09:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588198 -3.220888)'), GeomFromEWKT('SRID=4674;POINT (-38.588314 -3.220835)'))) / (select extract(epoch from '2026-05-29 09:04:32'::timestamp) - extract(epoch from '2026-05-29 09:04: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.58843 -3.220775)', '2026-05-29 09:04:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588314 -3.220835)'), GeomFromEWKT('SRID=4674;POINT (-38.58843 -3.220775)'))) / (select extract(epoch from '2026-05-29 09:04:37'::timestamp) - extract(epoch from '2026-05-29 09:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588314 -3.220835)'), GeomFromEWKT('SRID=4674;POINT (-38.58843 -3.220775)'))) / (select extract(epoch from '2026-05-29 09:04:37'::timestamp) - extract(epoch from '2026-05-29 09:04:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588557 -3.22071)', '2026-05-29 09:04:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58843 -3.220775)'), GeomFromEWKT('SRID=4674;POINT (-38.588557 -3.22071)'))) / (select extract(epoch from '2026-05-29 09:04:43'::timestamp) - extract(epoch from '2026-05-29 09:04:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58843 -3.220775)'), GeomFromEWKT('SRID=4674;POINT (-38.588557 -3.22071)'))) / (select extract(epoch from '2026-05-29 09:04:43'::timestamp) - extract(epoch from '2026-05-29 09:04: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.588659 -3.220668)', '2026-05-29 09:04:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588557 -3.22071)'), GeomFromEWKT('SRID=4674;POINT (-38.588659 -3.220668)'))) / (select extract(epoch from '2026-05-29 09:04:48'::timestamp) - extract(epoch from '2026-05-29 09:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588557 -3.22071)'), GeomFromEWKT('SRID=4674;POINT (-38.588659 -3.220668)'))) / (select extract(epoch from '2026-05-29 09:04:48'::timestamp) - extract(epoch from '2026-05-29 09:04: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.58877 -3.220641)', '2026-05-29 09:04:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588659 -3.220668)'), GeomFromEWKT('SRID=4674;POINT (-38.58877 -3.220641)'))) / (select extract(epoch from '2026-05-29 09:04:53'::timestamp) - extract(epoch from '2026-05-29 09:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588659 -3.220668)'), GeomFromEWKT('SRID=4674;POINT (-38.58877 -3.220641)'))) / (select extract(epoch from '2026-05-29 09:04:53'::timestamp) - extract(epoch from '2026-05-29 09:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.588886 -3.220616)', '2026-05-29 09:04:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58877 -3.220641)'), GeomFromEWKT('SRID=4674;POINT (-38.588886 -3.220616)'))) / (select extract(epoch from '2026-05-29 09:04:58'::timestamp) - extract(epoch from '2026-05-29 09:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.58877 -3.220641)'), GeomFromEWKT('SRID=4674;POINT (-38.588886 -3.220616)'))) / (select extract(epoch from '2026-05-29 09:04:58'::timestamp) - extract(epoch from '2026-05-29 09:04: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.589003 -3.220577)', '2026-05-29 09:05:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588886 -3.220616)'), GeomFromEWKT('SRID=4674;POINT (-38.589003 -3.220577)'))) / (select extract(epoch from '2026-05-29 09:05:03'::timestamp) - extract(epoch from '2026-05-29 09:04:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.588886 -3.220616)'), GeomFromEWKT('SRID=4674;POINT (-38.589003 -3.220577)'))) / (select extract(epoch from '2026-05-29 09:05:03'::timestamp) - extract(epoch from '2026-05-29 09:04:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589112 -3.220536)', '2026-05-29 09:05:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589003 -3.220577)'), GeomFromEWKT('SRID=4674;POINT (-38.589112 -3.220536)'))) / (select extract(epoch from '2026-05-29 09:05:08'::timestamp) - extract(epoch from '2026-05-29 09:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589003 -3.220577)'), GeomFromEWKT('SRID=4674;POINT (-38.589112 -3.220536)'))) / (select extract(epoch from '2026-05-29 09:05:08'::timestamp) - extract(epoch from '2026-05-29 09:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589215 -3.220489)', '2026-05-29 09:05:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589112 -3.220536)'), GeomFromEWKT('SRID=4674;POINT (-38.589215 -3.220489)'))) / (select extract(epoch from '2026-05-29 09:05:13'::timestamp) - extract(epoch from '2026-05-29 09:05:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589112 -3.220536)'), GeomFromEWKT('SRID=4674;POINT (-38.589215 -3.220489)'))) / (select extract(epoch from '2026-05-29 09:05:13'::timestamp) - extract(epoch from '2026-05-29 09:05:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589321 -3.220426)', '2026-05-29 09:05:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589215 -3.220489)'), GeomFromEWKT('SRID=4674;POINT (-38.589321 -3.220426)'))) / (select extract(epoch from '2026-05-29 09:05:18'::timestamp) - extract(epoch from '2026-05-29 09:05:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589215 -3.220489)'), GeomFromEWKT('SRID=4674;POINT (-38.589321 -3.220426)'))) / (select extract(epoch from '2026-05-29 09:05:18'::timestamp) - extract(epoch from '2026-05-29 09:05:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.589394 -3.220379)', '2026-05-29 09:05:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589321 -3.220426)'), GeomFromEWKT('SRID=4674;POINT (-38.589394 -3.220379)'))) / (select extract(epoch from '2026-05-29 09:05:22'::timestamp) - extract(epoch from '2026-05-29 09:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589321 -3.220426)'), GeomFromEWKT('SRID=4674;POINT (-38.589394 -3.220379)'))) / (select extract(epoch from '2026-05-29 09:05:22'::timestamp) - extract(epoch from '2026-05-29 09:05: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.589489 -3.220338)', '2026-05-29 09:05:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589394 -3.220379)'), GeomFromEWKT('SRID=4674;POINT (-38.589489 -3.220338)'))) / (select extract(epoch from '2026-05-29 09:05:26'::timestamp) - extract(epoch from '2026-05-29 09:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589394 -3.220379)'), GeomFromEWKT('SRID=4674;POINT (-38.589489 -3.220338)'))) / (select extract(epoch from '2026-05-29 09:05:26'::timestamp) - extract(epoch from '2026-05-29 09:05: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.589582 -3.220291)', '2026-05-29 09:05:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589489 -3.220338)'), GeomFromEWKT('SRID=4674;POINT (-38.589582 -3.220291)'))) / (select extract(epoch from '2026-05-29 09:05:31'::timestamp) - extract(epoch from '2026-05-29 09:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589489 -3.220338)'), GeomFromEWKT('SRID=4674;POINT (-38.589582 -3.220291)'))) / (select extract(epoch from '2026-05-29 09:05:31'::timestamp) - extract(epoch from '2026-05-29 09:05: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.589719 -3.22023)', '2026-05-29 09:05:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589582 -3.220291)'), GeomFromEWKT('SRID=4674;POINT (-38.589719 -3.22023)'))) / (select extract(epoch from '2026-05-29 09:05:37'::timestamp) - extract(epoch from '2026-05-29 09:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589582 -3.220291)'), GeomFromEWKT('SRID=4674;POINT (-38.589719 -3.22023)'))) / (select extract(epoch from '2026-05-29 09:05:37'::timestamp) - extract(epoch from '2026-05-29 09:05: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.589826 -3.220188)', '2026-05-29 09:05:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589719 -3.22023)'), GeomFromEWKT('SRID=4674;POINT (-38.589826 -3.220188)'))) / (select extract(epoch from '2026-05-29 09:05:42'::timestamp) - extract(epoch from '2026-05-29 09:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589719 -3.22023)'), GeomFromEWKT('SRID=4674;POINT (-38.589826 -3.220188)'))) / (select extract(epoch from '2026-05-29 09:05:42'::timestamp) - extract(epoch from '2026-05-29 09:05: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.589932 -3.220144)', '2026-05-29 09:05:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589826 -3.220188)'), GeomFromEWKT('SRID=4674;POINT (-38.589932 -3.220144)'))) / (select extract(epoch from '2026-05-29 09:05:47'::timestamp) - extract(epoch from '2026-05-29 09:05:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589826 -3.220188)'), GeomFromEWKT('SRID=4674;POINT (-38.589932 -3.220144)'))) / (select extract(epoch from '2026-05-29 09:05:47'::timestamp) - extract(epoch from '2026-05-29 09:05:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.590039 -3.220092)', '2026-05-29 09:05:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589932 -3.220144)'), GeomFromEWKT('SRID=4674;POINT (-38.590039 -3.220092)'))) / (select extract(epoch from '2026-05-29 09:05:52'::timestamp) - extract(epoch from '2026-05-29 09:05:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.589932 -3.220144)'), GeomFromEWKT('SRID=4674;POINT (-38.590039 -3.220092)'))) / (select extract(epoch from '2026-05-29 09:05:52'::timestamp) - extract(epoch from '2026-05-29 09:05: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.590179 -3.220035)', '2026-05-29 09:05:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590039 -3.220092)'), GeomFromEWKT('SRID=4674;POINT (-38.590179 -3.220035)'))) / (select extract(epoch from '2026-05-29 09:05:58'::timestamp) - extract(epoch from '2026-05-29 09:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590039 -3.220092)'), GeomFromEWKT('SRID=4674;POINT (-38.590179 -3.220035)'))) / (select extract(epoch from '2026-05-29 09:05:58'::timestamp) - extract(epoch from '2026-05-29 09:05: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.590322 -3.21998)', '2026-05-29 09:06:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590179 -3.220035)'), GeomFromEWKT('SRID=4674;POINT (-38.590322 -3.21998)'))) / (select extract(epoch from '2026-05-29 09:06:04'::timestamp) - extract(epoch from '2026-05-29 09:05:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590179 -3.220035)'), GeomFromEWKT('SRID=4674;POINT (-38.590322 -3.21998)'))) / (select extract(epoch from '2026-05-29 09:06:04'::timestamp) - extract(epoch from '2026-05-29 09:05:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.590427 -3.219941)', '2026-05-29 09:06:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590322 -3.21998)'), GeomFromEWKT('SRID=4674;POINT (-38.590427 -3.219941)'))) / (select extract(epoch from '2026-05-29 09:06:09'::timestamp) - extract(epoch from '2026-05-29 09:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590322 -3.21998)'), GeomFromEWKT('SRID=4674;POINT (-38.590427 -3.219941)'))) / (select extract(epoch from '2026-05-29 09:06:09'::timestamp) - extract(epoch from '2026-05-29 09:06: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.590572 -3.219888)', '2026-05-29 09:06:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590427 -3.219941)'), GeomFromEWKT('SRID=4674;POINT (-38.590572 -3.219888)'))) / (select extract(epoch from '2026-05-29 09:06:15'::timestamp) - extract(epoch from '2026-05-29 09:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590427 -3.219941)'), GeomFromEWKT('SRID=4674;POINT (-38.590572 -3.219888)'))) / (select extract(epoch from '2026-05-29 09:06:15'::timestamp) - extract(epoch from '2026-05-29 09:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.59069 -3.219842)', '2026-05-29 09:06:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590572 -3.219888)'), GeomFromEWKT('SRID=4674;POINT (-38.59069 -3.219842)'))) / (select extract(epoch from '2026-05-29 09:06:20'::timestamp) - extract(epoch from '2026-05-29 09:06:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590572 -3.219888)'), GeomFromEWKT('SRID=4674;POINT (-38.59069 -3.219842)'))) / (select extract(epoch from '2026-05-29 09:06:20'::timestamp) - extract(epoch from '2026-05-29 09:06:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.590712 -3.219828)', '2026-05-29 09:06:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59069 -3.219842)'), GeomFromEWKT('SRID=4674;POINT (-38.590712 -3.219828)'))) / (select extract(epoch from '2026-05-29 09:06:21'::timestamp) - extract(epoch from '2026-05-29 09:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59069 -3.219842)'), GeomFromEWKT('SRID=4674;POINT (-38.590712 -3.219828)'))) / (select extract(epoch from '2026-05-29 09:06:21'::timestamp) - extract(epoch from '2026-05-29 09:06: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.590786 -3.219803)', '2026-05-29 09:06:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590712 -3.219828)'), GeomFromEWKT('SRID=4674;POINT (-38.590786 -3.219803)'))) / (select extract(epoch from '2026-05-29 09:06:24'::timestamp) - extract(epoch from '2026-05-29 09:06:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590712 -3.219828)'), GeomFromEWKT('SRID=4674;POINT (-38.590786 -3.219803)'))) / (select extract(epoch from '2026-05-29 09:06:24'::timestamp) - extract(epoch from '2026-05-29 09:06: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.590924 -3.219746)', '2026-05-29 09:06:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590786 -3.219803)'), GeomFromEWKT('SRID=4674;POINT (-38.590924 -3.219746)'))) / (select extract(epoch from '2026-05-29 09:06:30'::timestamp) - extract(epoch from '2026-05-29 09:06:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590786 -3.219803)'), GeomFromEWKT('SRID=4674;POINT (-38.590924 -3.219746)'))) / (select extract(epoch from '2026-05-29 09:06:30'::timestamp) - extract(epoch from '2026-05-29 09:06: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.591052 -3.219699)', '2026-05-29 09:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590924 -3.219746)'), GeomFromEWKT('SRID=4674;POINT (-38.591052 -3.219699)'))) / (select extract(epoch from '2026-05-29 09:06:36'::timestamp) - extract(epoch from '2026-05-29 09:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.590924 -3.219746)'), GeomFromEWKT('SRID=4674;POINT (-38.591052 -3.219699)'))) / (select extract(epoch from '2026-05-29 09:06:36'::timestamp) - extract(epoch from '2026-05-29 09:06: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.59117 -3.219652)', '2026-05-29 09:06:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591052 -3.219699)'), GeomFromEWKT('SRID=4674;POINT (-38.59117 -3.219652)'))) / (select extract(epoch from '2026-05-29 09:06:41'::timestamp) - extract(epoch from '2026-05-29 09:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591052 -3.219699)'), GeomFromEWKT('SRID=4674;POINT (-38.59117 -3.219652)'))) / (select extract(epoch from '2026-05-29 09:06:41'::timestamp) - extract(epoch from '2026-05-29 09:06: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.591273 -3.219609)', '2026-05-29 09:06:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59117 -3.219652)'), GeomFromEWKT('SRID=4674;POINT (-38.591273 -3.219609)'))) / (select extract(epoch from '2026-05-29 09:06:46'::timestamp) - extract(epoch from '2026-05-29 09:06:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59117 -3.219652)'), GeomFromEWKT('SRID=4674;POINT (-38.591273 -3.219609)'))) / (select extract(epoch from '2026-05-29 09:06:46'::timestamp) - extract(epoch from '2026-05-29 09:06: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.591402 -3.21956)', '2026-05-29 09:06:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591273 -3.219609)'), GeomFromEWKT('SRID=4674;POINT (-38.591402 -3.21956)'))) / (select extract(epoch from '2026-05-29 09:06:52'::timestamp) - extract(epoch from '2026-05-29 09:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591273 -3.219609)'), GeomFromEWKT('SRID=4674;POINT (-38.591402 -3.21956)'))) / (select extract(epoch from '2026-05-29 09:06:52'::timestamp) - extract(epoch from '2026-05-29 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.591516 -3.219518)', '2026-05-29 09:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591402 -3.21956)'), GeomFromEWKT('SRID=4674;POINT (-38.591516 -3.219518)'))) / (select extract(epoch from '2026-05-29 09:06:57'::timestamp) - extract(epoch from '2026-05-29 09:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591402 -3.21956)'), GeomFromEWKT('SRID=4674;POINT (-38.591516 -3.219518)'))) / (select extract(epoch from '2026-05-29 09:06:57'::timestamp) - extract(epoch from '2026-05-29 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.59162 -3.219473)', '2026-05-29 09:07:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591516 -3.219518)'), GeomFromEWKT('SRID=4674;POINT (-38.59162 -3.219473)'))) / (select extract(epoch from '2026-05-29 09:07:02'::timestamp) - extract(epoch from '2026-05-29 09:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591516 -3.219518)'), GeomFromEWKT('SRID=4674;POINT (-38.59162 -3.219473)'))) / (select extract(epoch from '2026-05-29 09:07:02'::timestamp) - extract(epoch from '2026-05-29 09:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.591737 -3.219413)', '2026-05-29 09:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59162 -3.219473)'), GeomFromEWKT('SRID=4674;POINT (-38.591737 -3.219413)'))) / (select extract(epoch from '2026-05-29 09:07:07'::timestamp) - extract(epoch from '2026-05-29 09:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59162 -3.219473)'), GeomFromEWKT('SRID=4674;POINT (-38.591737 -3.219413)'))) / (select extract(epoch from '2026-05-29 09:07:07'::timestamp) - extract(epoch from '2026-05-29 09:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.591846 -3.219379)', '2026-05-29 09:07:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591737 -3.219413)'), GeomFromEWKT('SRID=4674;POINT (-38.591846 -3.219379)'))) / (select extract(epoch from '2026-05-29 09:07:11'::timestamp) - extract(epoch from '2026-05-29 09:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591737 -3.219413)'), GeomFromEWKT('SRID=4674;POINT (-38.591846 -3.219379)'))) / (select extract(epoch from '2026-05-29 09:07:11'::timestamp) - extract(epoch from '2026-05-29 09:07: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.591923 -3.219341)', '2026-05-29 09:07:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591846 -3.219379)'), GeomFromEWKT('SRID=4674;POINT (-38.591923 -3.219341)'))) / (select extract(epoch from '2026-05-29 09:07:15'::timestamp) - extract(epoch from '2026-05-29 09:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591846 -3.219379)'), GeomFromEWKT('SRID=4674;POINT (-38.591923 -3.219341)'))) / (select extract(epoch from '2026-05-29 09:07:15'::timestamp) - extract(epoch from '2026-05-29 09:07: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.592035 -3.219302)', '2026-05-29 09:07:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591923 -3.219341)'), GeomFromEWKT('SRID=4674;POINT (-38.592035 -3.219302)'))) / (select extract(epoch from '2026-05-29 09:07:20'::timestamp) - extract(epoch from '2026-05-29 09:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.591923 -3.219341)'), GeomFromEWKT('SRID=4674;POINT (-38.592035 -3.219302)'))) / (select extract(epoch from '2026-05-29 09:07:20'::timestamp) - extract(epoch from '2026-05-29 09:07: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.592146 -3.219259)', '2026-05-29 09:07:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592035 -3.219302)'), GeomFromEWKT('SRID=4674;POINT (-38.592146 -3.219259)'))) / (select extract(epoch from '2026-05-29 09:07:25'::timestamp) - extract(epoch from '2026-05-29 09:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592035 -3.219302)'), GeomFromEWKT('SRID=4674;POINT (-38.592146 -3.219259)'))) / (select extract(epoch from '2026-05-29 09:07:25'::timestamp) - extract(epoch from '2026-05-29 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.592277 -3.219208)', '2026-05-29 09:07:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592146 -3.219259)'), GeomFromEWKT('SRID=4674;POINT (-38.592277 -3.219208)'))) / (select extract(epoch from '2026-05-29 09:07:31'::timestamp) - extract(epoch from '2026-05-29 09:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592146 -3.219259)'), GeomFromEWKT('SRID=4674;POINT (-38.592277 -3.219208)'))) / (select extract(epoch from '2026-05-29 09:07:31'::timestamp) - extract(epoch from '2026-05-29 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.592385 -3.219158)', '2026-05-29 09:07:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592277 -3.219208)'), GeomFromEWKT('SRID=4674;POINT (-38.592385 -3.219158)'))) / (select extract(epoch from '2026-05-29 09:07:36'::timestamp) - extract(epoch from '2026-05-29 09:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592277 -3.219208)'), GeomFromEWKT('SRID=4674;POINT (-38.592385 -3.219158)'))) / (select extract(epoch from '2026-05-29 09:07:36'::timestamp) - extract(epoch from '2026-05-29 09:07: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.5925 -3.21911)', '2026-05-29 09:07:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592385 -3.219158)'), GeomFromEWKT('SRID=4674;POINT (-38.5925 -3.21911)'))) / (select extract(epoch from '2026-05-29 09:07:41'::timestamp) - extract(epoch from '2026-05-29 09:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592385 -3.219158)'), GeomFromEWKT('SRID=4674;POINT (-38.5925 -3.21911)'))) / (select extract(epoch from '2026-05-29 09:07:41'::timestamp) - extract(epoch from '2026-05-29 09:07:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.592628 -3.219043)', '2026-05-29 09:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5925 -3.21911)'), GeomFromEWKT('SRID=4674;POINT (-38.592628 -3.219043)'))) / (select extract(epoch from '2026-05-29 09:07:47'::timestamp) - extract(epoch from '2026-05-29 09:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5925 -3.21911)'), GeomFromEWKT('SRID=4674;POINT (-38.592628 -3.219043)'))) / (select extract(epoch from '2026-05-29 09:07:47'::timestamp) - extract(epoch from '2026-05-29 09:07: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.592732 -3.218992)', '2026-05-29 09:07:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592628 -3.219043)'), GeomFromEWKT('SRID=4674;POINT (-38.592732 -3.218992)'))) / (select extract(epoch from '2026-05-29 09:07:52'::timestamp) - extract(epoch from '2026-05-29 09:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592628 -3.219043)'), GeomFromEWKT('SRID=4674;POINT (-38.592732 -3.218992)'))) / (select extract(epoch from '2026-05-29 09:07:52'::timestamp) - extract(epoch from '2026-05-29 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.59285 -3.21893)', '2026-05-29 09:07:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592732 -3.218992)'), GeomFromEWKT('SRID=4674;POINT (-38.59285 -3.21893)'))) / (select extract(epoch from '2026-05-29 09:07:57'::timestamp) - extract(epoch from '2026-05-29 09:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592732 -3.218992)'), GeomFromEWKT('SRID=4674;POINT (-38.59285 -3.21893)'))) / (select extract(epoch from '2026-05-29 09:07:57'::timestamp) - extract(epoch from '2026-05-29 09:07: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.592966 -3.218883)', '2026-05-29 09:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59285 -3.21893)'), GeomFromEWKT('SRID=4674;POINT (-38.592966 -3.218883)'))) / (select extract(epoch from '2026-05-29 09:08:01'::timestamp) - extract(epoch from '2026-05-29 09:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59285 -3.21893)'), GeomFromEWKT('SRID=4674;POINT (-38.592966 -3.218883)'))) / (select extract(epoch from '2026-05-29 09:08:01'::timestamp) - extract(epoch from '2026-05-29 09:07:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.593067 -3.21884)', '2026-05-29 09:08:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592966 -3.218883)'), GeomFromEWKT('SRID=4674;POINT (-38.593067 -3.21884)'))) / (select extract(epoch from '2026-05-29 09:08:06'::timestamp) - extract(epoch from '2026-05-29 09:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.592966 -3.218883)'), GeomFromEWKT('SRID=4674;POINT (-38.593067 -3.21884)'))) / (select extract(epoch from '2026-05-29 09:08:06'::timestamp) - extract(epoch from '2026-05-29 09:08: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.593202 -3.218798)', '2026-05-29 09:08:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593067 -3.21884)'), GeomFromEWKT('SRID=4674;POINT (-38.593202 -3.218798)'))) / (select extract(epoch from '2026-05-29 09:08:11'::timestamp) - extract(epoch from '2026-05-29 09:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593067 -3.21884)'), GeomFromEWKT('SRID=4674;POINT (-38.593202 -3.218798)'))) / (select extract(epoch from '2026-05-29 09:08:11'::timestamp) - extract(epoch from '2026-05-29 09:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.593332 -3.218763)', '2026-05-29 09:08:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593202 -3.218798)'), GeomFromEWKT('SRID=4674;POINT (-38.593332 -3.218763)'))) / (select extract(epoch from '2026-05-29 09:08:16'::timestamp) - extract(epoch from '2026-05-29 09:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593202 -3.218798)'), GeomFromEWKT('SRID=4674;POINT (-38.593332 -3.218763)'))) / (select extract(epoch from '2026-05-29 09:08:16'::timestamp) - extract(epoch from '2026-05-29 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.593446 -3.218729)', '2026-05-29 09:08:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593332 -3.218763)'), GeomFromEWKT('SRID=4674;POINT (-38.593446 -3.218729)'))) / (select extract(epoch from '2026-05-29 09:08:21'::timestamp) - extract(epoch from '2026-05-29 09:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593332 -3.218763)'), GeomFromEWKT('SRID=4674;POINT (-38.593446 -3.218729)'))) / (select extract(epoch from '2026-05-29 09:08:21'::timestamp) - extract(epoch from '2026-05-29 09:08:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.593557 -3.218691)', '2026-05-29 09:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593446 -3.218729)'), GeomFromEWKT('SRID=4674;POINT (-38.593557 -3.218691)'))) / (select extract(epoch from '2026-05-29 09:08:26'::timestamp) - extract(epoch from '2026-05-29 09:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593446 -3.218729)'), GeomFromEWKT('SRID=4674;POINT (-38.593557 -3.218691)'))) / (select extract(epoch from '2026-05-29 09:08:26'::timestamp) - extract(epoch from '2026-05-29 09:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.593673 -3.218654)', '2026-05-29 09:08:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593557 -3.218691)'), GeomFromEWKT('SRID=4674;POINT (-38.593673 -3.218654)'))) / (select extract(epoch from '2026-05-29 09:08:31'::timestamp) - extract(epoch from '2026-05-29 09:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593557 -3.218691)'), GeomFromEWKT('SRID=4674;POINT (-38.593673 -3.218654)'))) / (select extract(epoch from '2026-05-29 09:08:31'::timestamp) - extract(epoch from '2026-05-29 09:08: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.593782 -3.218624)', '2026-05-29 09:08:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593673 -3.218654)'), GeomFromEWKT('SRID=4674;POINT (-38.593782 -3.218624)'))) / (select extract(epoch from '2026-05-29 09:08:36'::timestamp) - extract(epoch from '2026-05-29 09:08:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593673 -3.218654)'), GeomFromEWKT('SRID=4674;POINT (-38.593782 -3.218624)'))) / (select extract(epoch from '2026-05-29 09:08:36'::timestamp) - extract(epoch from '2026-05-29 09:08: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.593821 -3.218617)', '2026-05-29 09:08:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593782 -3.218624)'), GeomFromEWKT('SRID=4674;POINT (-38.593821 -3.218617)'))) / (select extract(epoch from '2026-05-29 09:08:38'::timestamp) - extract(epoch from '2026-05-29 09:08:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593782 -3.218624)'), GeomFromEWKT('SRID=4674;POINT (-38.593821 -3.218617)'))) / (select extract(epoch from '2026-05-29 09:08:38'::timestamp) - extract(epoch from '2026-05-29 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.593863 -3.218598)', '2026-05-29 09:08:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593821 -3.218617)'), GeomFromEWKT('SRID=4674;POINT (-38.593863 -3.218598)'))) / (select extract(epoch from '2026-05-29 09:08:40'::timestamp) - extract(epoch from '2026-05-29 09:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593821 -3.218617)'), GeomFromEWKT('SRID=4674;POINT (-38.593863 -3.218598)'))) / (select extract(epoch from '2026-05-29 09:08:40'::timestamp) - extract(epoch from '2026-05-29 09:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.593985 -3.21857)', '2026-05-29 09:08:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593863 -3.218598)'), GeomFromEWKT('SRID=4674;POINT (-38.593985 -3.21857)'))) / (select extract(epoch from '2026-05-29 09:08:45'::timestamp) - extract(epoch from '2026-05-29 09:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593863 -3.218598)'), GeomFromEWKT('SRID=4674;POINT (-38.593985 -3.21857)'))) / (select extract(epoch from '2026-05-29 09:08:45'::timestamp) - extract(epoch from '2026-05-29 09:08: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.594131 -3.218517)', '2026-05-29 09:08:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593985 -3.21857)'), GeomFromEWKT('SRID=4674;POINT (-38.594131 -3.218517)'))) / (select extract(epoch from '2026-05-29 09:08:51'::timestamp) - extract(epoch from '2026-05-29 09:08:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.593985 -3.21857)'), GeomFromEWKT('SRID=4674;POINT (-38.594131 -3.218517)'))) / (select extract(epoch from '2026-05-29 09:08:51'::timestamp) - extract(epoch from '2026-05-29 09:08: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.594235 -3.21848)', '2026-05-29 09:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594131 -3.218517)'), GeomFromEWKT('SRID=4674;POINT (-38.594235 -3.21848)'))) / (select extract(epoch from '2026-05-29 09:08:56'::timestamp) - extract(epoch from '2026-05-29 09:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594131 -3.218517)'), GeomFromEWKT('SRID=4674;POINT (-38.594235 -3.21848)'))) / (select extract(epoch from '2026-05-29 09:08:56'::timestamp) - extract(epoch from '2026-05-29 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.594372 -3.218423)', '2026-05-29 09:09:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594235 -3.21848)'), GeomFromEWKT('SRID=4674;POINT (-38.594372 -3.218423)'))) / (select extract(epoch from '2026-05-29 09:09:01'::timestamp) - extract(epoch from '2026-05-29 09:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594235 -3.21848)'), GeomFromEWKT('SRID=4674;POINT (-38.594372 -3.218423)'))) / (select extract(epoch from '2026-05-29 09:09:01'::timestamp) - extract(epoch from '2026-05-29 09:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.594471 -3.218374)', '2026-05-29 09:09:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594372 -3.218423)'), GeomFromEWKT('SRID=4674;POINT (-38.594471 -3.218374)'))) / (select extract(epoch from '2026-05-29 09:09:05'::timestamp) - extract(epoch from '2026-05-29 09:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594372 -3.218423)'), GeomFromEWKT('SRID=4674;POINT (-38.594471 -3.218374)'))) / (select extract(epoch from '2026-05-29 09:09:05'::timestamp) - extract(epoch from '2026-05-29 09:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.59455 -3.218335)', '2026-05-29 09:09:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594471 -3.218374)'), GeomFromEWKT('SRID=4674;POINT (-38.59455 -3.218335)'))) / (select extract(epoch from '2026-05-29 09:09:09'::timestamp) - extract(epoch from '2026-05-29 09:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594471 -3.218374)'), GeomFromEWKT('SRID=4674;POINT (-38.59455 -3.218335)'))) / (select extract(epoch from '2026-05-29 09:09:09'::timestamp) - extract(epoch from '2026-05-29 09:09:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.594674 -3.21828)', '2026-05-29 09:09:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59455 -3.218335)'), GeomFromEWKT('SRID=4674;POINT (-38.594674 -3.21828)'))) / (select extract(epoch from '2026-05-29 09:09:15'::timestamp) - extract(epoch from '2026-05-29 09:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59455 -3.218335)'), GeomFromEWKT('SRID=4674;POINT (-38.594674 -3.21828)'))) / (select extract(epoch from '2026-05-29 09:09:15'::timestamp) - extract(epoch from '2026-05-29 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.594758 -3.218234)', '2026-05-29 09:09:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594674 -3.21828)'), GeomFromEWKT('SRID=4674;POINT (-38.594758 -3.218234)'))) / (select extract(epoch from '2026-05-29 09:09:19'::timestamp) - extract(epoch from '2026-05-29 09:09:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594674 -3.21828)'), GeomFromEWKT('SRID=4674;POINT (-38.594758 -3.218234)'))) / (select extract(epoch from '2026-05-29 09:09:19'::timestamp) - extract(epoch from '2026-05-29 09:09: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.594897 -3.218177)', '2026-05-29 09:09:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594758 -3.218234)'), GeomFromEWKT('SRID=4674;POINT (-38.594897 -3.218177)'))) / (select extract(epoch from '2026-05-29 09:09:25'::timestamp) - extract(epoch from '2026-05-29 09:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594758 -3.218234)'), GeomFromEWKT('SRID=4674;POINT (-38.594897 -3.218177)'))) / (select extract(epoch from '2026-05-29 09:09:25'::timestamp) - extract(epoch from '2026-05-29 09:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.595051 -3.218111)', '2026-05-29 09:09:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594897 -3.218177)'), GeomFromEWKT('SRID=4674;POINT (-38.595051 -3.218111)'))) / (select extract(epoch from '2026-05-29 09:09:32'::timestamp) - extract(epoch from '2026-05-29 09:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.594897 -3.218177)'), GeomFromEWKT('SRID=4674;POINT (-38.595051 -3.218111)'))) / (select extract(epoch from '2026-05-29 09:09:32'::timestamp) - extract(epoch from '2026-05-29 09:09:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.595193 -3.218047)', '2026-05-29 09:09:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595051 -3.218111)'), GeomFromEWKT('SRID=4674;POINT (-38.595193 -3.218047)'))) / (select extract(epoch from '2026-05-29 09:09:38'::timestamp) - extract(epoch from '2026-05-29 09:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595051 -3.218111)'), GeomFromEWKT('SRID=4674;POINT (-38.595193 -3.218047)'))) / (select extract(epoch from '2026-05-29 09:09:38'::timestamp) - extract(epoch from '2026-05-29 09:09: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.595348 -3.217965)', '2026-05-29 09:09:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595193 -3.218047)'), GeomFromEWKT('SRID=4674;POINT (-38.595348 -3.217965)'))) / (select extract(epoch from '2026-05-29 09:09:45'::timestamp) - extract(epoch from '2026-05-29 09:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595193 -3.218047)'), GeomFromEWKT('SRID=4674;POINT (-38.595348 -3.217965)'))) / (select extract(epoch from '2026-05-29 09:09:45'::timestamp) - extract(epoch from '2026-05-29 09:09: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.595451 -3.217906)', '2026-05-29 09:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595348 -3.217965)'), GeomFromEWKT('SRID=4674;POINT (-38.595451 -3.217906)'))) / (select extract(epoch from '2026-05-29 09:09:50'::timestamp) - extract(epoch from '2026-05-29 09:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595348 -3.217965)'), GeomFromEWKT('SRID=4674;POINT (-38.595451 -3.217906)'))) / (select extract(epoch from '2026-05-29 09:09:50'::timestamp) - extract(epoch from '2026-05-29 09:09: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.595601 -3.217817)', '2026-05-29 09:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595451 -3.217906)'), GeomFromEWKT('SRID=4674;POINT (-38.595601 -3.217817)'))) / (select extract(epoch from '2026-05-29 09:09:57'::timestamp) - extract(epoch from '2026-05-29 09:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595451 -3.217906)'), GeomFromEWKT('SRID=4674;POINT (-38.595601 -3.217817)'))) / (select extract(epoch from '2026-05-29 09:09:57'::timestamp) - extract(epoch from '2026-05-29 09:09: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.5957 -3.217771)', '2026-05-29 09:10:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595601 -3.217817)'), GeomFromEWKT('SRID=4674;POINT (-38.5957 -3.217771)'))) / (select extract(epoch from '2026-05-29 09:10:01'::timestamp) - extract(epoch from '2026-05-29 09:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595601 -3.217817)'), GeomFromEWKT('SRID=4674;POINT (-38.5957 -3.217771)'))) / (select extract(epoch from '2026-05-29 09:10:01'::timestamp) - extract(epoch from '2026-05-29 09:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.595811 -3.217712)', '2026-05-29 09:10:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5957 -3.217771)'), GeomFromEWKT('SRID=4674;POINT (-38.595811 -3.217712)'))) / (select extract(epoch from '2026-05-29 09:10:06'::timestamp) - extract(epoch from '2026-05-29 09:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5957 -3.217771)'), GeomFromEWKT('SRID=4674;POINT (-38.595811 -3.217712)'))) / (select extract(epoch from '2026-05-29 09:10:06'::timestamp) - extract(epoch from '2026-05-29 09:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.595902 -3.217675)', '2026-05-29 09:10:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595811 -3.217712)'), GeomFromEWKT('SRID=4674;POINT (-38.595902 -3.217675)'))) / (select extract(epoch from '2026-05-29 09:10:10'::timestamp) - extract(epoch from '2026-05-29 09:10:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595811 -3.217712)'), GeomFromEWKT('SRID=4674;POINT (-38.595902 -3.217675)'))) / (select extract(epoch from '2026-05-29 09:10:10'::timestamp) - extract(epoch from '2026-05-29 09:10:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.596019 -3.21762)', '2026-05-29 09:10:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595902 -3.217675)'), GeomFromEWKT('SRID=4674;POINT (-38.596019 -3.21762)'))) / (select extract(epoch from '2026-05-29 09:10:15'::timestamp) - extract(epoch from '2026-05-29 09:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.595902 -3.217675)'), GeomFromEWKT('SRID=4674;POINT (-38.596019 -3.21762)'))) / (select extract(epoch from '2026-05-29 09:10:15'::timestamp) - extract(epoch from '2026-05-29 09:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.596132 -3.217566)', '2026-05-29 09:10:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596019 -3.21762)'), GeomFromEWKT('SRID=4674;POINT (-38.596132 -3.217566)'))) / (select extract(epoch from '2026-05-29 09:10:20'::timestamp) - extract(epoch from '2026-05-29 09:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596019 -3.21762)'), GeomFromEWKT('SRID=4674;POINT (-38.596132 -3.217566)'))) / (select extract(epoch from '2026-05-29 09:10:20'::timestamp) - extract(epoch from '2026-05-29 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.596252 -3.217496)', '2026-05-29 09:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596132 -3.217566)'), GeomFromEWKT('SRID=4674;POINT (-38.596252 -3.217496)'))) / (select extract(epoch from '2026-05-29 09:10:26'::timestamp) - extract(epoch from '2026-05-29 09:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596132 -3.217566)'), GeomFromEWKT('SRID=4674;POINT (-38.596252 -3.217496)'))) / (select extract(epoch from '2026-05-29 09:10:26'::timestamp) - extract(epoch from '2026-05-29 09:10: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.596356 -3.217429)', '2026-05-29 09:10:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596252 -3.217496)'), GeomFromEWKT('SRID=4674;POINT (-38.596356 -3.217429)'))) / (select extract(epoch from '2026-05-29 09:10:31'::timestamp) - extract(epoch from '2026-05-29 09:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596252 -3.217496)'), GeomFromEWKT('SRID=4674;POINT (-38.596356 -3.217429)'))) / (select extract(epoch from '2026-05-29 09:10:31'::timestamp) - extract(epoch from '2026-05-29 09:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.5965 -3.217346)', '2026-05-29 09:10:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596356 -3.217429)'), GeomFromEWKT('SRID=4674;POINT (-38.5965 -3.217346)'))) / (select extract(epoch from '2026-05-29 09:10:38'::timestamp) - extract(epoch from '2026-05-29 09:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596356 -3.217429)'), GeomFromEWKT('SRID=4674;POINT (-38.5965 -3.217346)'))) / (select extract(epoch from '2026-05-29 09:10:38'::timestamp) - extract(epoch from '2026-05-29 09:10:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.596596 -3.217281)', '2026-05-29 09:10:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5965 -3.217346)'), GeomFromEWKT('SRID=4674;POINT (-38.596596 -3.217281)'))) / (select extract(epoch from '2026-05-29 09:10:43'::timestamp) - extract(epoch from '2026-05-29 09:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5965 -3.217346)'), GeomFromEWKT('SRID=4674;POINT (-38.596596 -3.217281)'))) / (select extract(epoch from '2026-05-29 09:10:43'::timestamp) - extract(epoch from '2026-05-29 09:10: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.596699 -3.217212)', '2026-05-29 09:10:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596596 -3.217281)'), GeomFromEWKT('SRID=4674;POINT (-38.596699 -3.217212)'))) / (select extract(epoch from '2026-05-29 09:10:48'::timestamp) - extract(epoch from '2026-05-29 09:10:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596596 -3.217281)'), GeomFromEWKT('SRID=4674;POINT (-38.596699 -3.217212)'))) / (select extract(epoch from '2026-05-29 09:10:48'::timestamp) - extract(epoch from '2026-05-29 09:10: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.596809 -3.217157)', '2026-05-29 09:10:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596699 -3.217212)'), GeomFromEWKT('SRID=4674;POINT (-38.596809 -3.217157)'))) / (select extract(epoch from '2026-05-29 09:10:53'::timestamp) - extract(epoch from '2026-05-29 09:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596699 -3.217212)'), GeomFromEWKT('SRID=4674;POINT (-38.596809 -3.217157)'))) / (select extract(epoch from '2026-05-29 09:10:53'::timestamp) - extract(epoch from '2026-05-29 09:10: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.596964 -3.217081)', '2026-05-29 09:11:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596809 -3.217157)'), GeomFromEWKT('SRID=4674;POINT (-38.596964 -3.217081)'))) / (select extract(epoch from '2026-05-29 09:11:00'::timestamp) - extract(epoch from '2026-05-29 09:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596809 -3.217157)'), GeomFromEWKT('SRID=4674;POINT (-38.596964 -3.217081)'))) / (select extract(epoch from '2026-05-29 09:11:00'::timestamp) - extract(epoch from '2026-05-29 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.597073 -3.21703)', '2026-05-29 09:11:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596964 -3.217081)'), GeomFromEWKT('SRID=4674;POINT (-38.597073 -3.21703)'))) / (select extract(epoch from '2026-05-29 09:11:05'::timestamp) - extract(epoch from '2026-05-29 09:11:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.596964 -3.217081)'), GeomFromEWKT('SRID=4674;POINT (-38.597073 -3.21703)'))) / (select extract(epoch from '2026-05-29 09:11:05'::timestamp) - extract(epoch from '2026-05-29 09:11: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.597176 -3.216995)', '2026-05-29 09:11:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597073 -3.21703)'), GeomFromEWKT('SRID=4674;POINT (-38.597176 -3.216995)'))) / (select extract(epoch from '2026-05-29 09:11:09'::timestamp) - extract(epoch from '2026-05-29 09:11:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597073 -3.21703)'), GeomFromEWKT('SRID=4674;POINT (-38.597176 -3.216995)'))) / (select extract(epoch from '2026-05-29 09:11:09'::timestamp) - extract(epoch from '2026-05-29 09:11: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.597299 -3.216941)', '2026-05-29 09:11:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597176 -3.216995)'), GeomFromEWKT('SRID=4674;POINT (-38.597299 -3.216941)'))) / (select extract(epoch from '2026-05-29 09:11:15'::timestamp) - extract(epoch from '2026-05-29 09:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597176 -3.216995)'), GeomFromEWKT('SRID=4674;POINT (-38.597299 -3.216941)'))) / (select extract(epoch from '2026-05-29 09:11:15'::timestamp) - extract(epoch from '2026-05-29 09:11: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.597405 -3.216903)', '2026-05-29 09:11:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597299 -3.216941)'), GeomFromEWKT('SRID=4674;POINT (-38.597405 -3.216903)'))) / (select extract(epoch from '2026-05-29 09:11:20'::timestamp) - extract(epoch from '2026-05-29 09:11:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597299 -3.216941)'), GeomFromEWKT('SRID=4674;POINT (-38.597405 -3.216903)'))) / (select extract(epoch from '2026-05-29 09:11:20'::timestamp) - extract(epoch from '2026-05-29 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.597536 -3.216872)', '2026-05-29 09:11:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597405 -3.216903)'), GeomFromEWKT('SRID=4674;POINT (-38.597536 -3.216872)'))) / (select extract(epoch from '2026-05-29 09:11:26'::timestamp) - extract(epoch from '2026-05-29 09:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597405 -3.216903)'), GeomFromEWKT('SRID=4674;POINT (-38.597536 -3.216872)'))) / (select extract(epoch from '2026-05-29 09:11:26'::timestamp) - extract(epoch from '2026-05-29 09:11: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.597677 -3.216823)', '2026-05-29 09:11:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597536 -3.216872)'), GeomFromEWKT('SRID=4674;POINT (-38.597677 -3.216823)'))) / (select extract(epoch from '2026-05-29 09:11:32'::timestamp) - extract(epoch from '2026-05-29 09:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597536 -3.216872)'), GeomFromEWKT('SRID=4674;POINT (-38.597677 -3.216823)'))) / (select extract(epoch from '2026-05-29 09:11:32'::timestamp) - extract(epoch from '2026-05-29 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.597789 -3.216789)', '2026-05-29 09:11:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597677 -3.216823)'), GeomFromEWKT('SRID=4674;POINT (-38.597789 -3.216789)'))) / (select extract(epoch from '2026-05-29 09:11:36'::timestamp) - extract(epoch from '2026-05-29 09:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597677 -3.216823)'), GeomFromEWKT('SRID=4674;POINT (-38.597789 -3.216789)'))) / (select extract(epoch from '2026-05-29 09:11:36'::timestamp) - extract(epoch from '2026-05-29 09:11: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.59789 -3.216751)', '2026-05-29 09:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597789 -3.216789)'), GeomFromEWKT('SRID=4674;POINT (-38.59789 -3.216751)'))) / (select extract(epoch from '2026-05-29 09:11:40'::timestamp) - extract(epoch from '2026-05-29 09:11:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597789 -3.216789)'), GeomFromEWKT('SRID=4674;POINT (-38.59789 -3.216751)'))) / (select extract(epoch from '2026-05-29 09:11:40'::timestamp) - extract(epoch from '2026-05-29 09:11:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.597969 -3.216708)', '2026-05-29 09:11:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59789 -3.216751)'), GeomFromEWKT('SRID=4674;POINT (-38.597969 -3.216708)'))) / (select extract(epoch from '2026-05-29 09:11:44'::timestamp) - extract(epoch from '2026-05-29 09:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59789 -3.216751)'), GeomFromEWKT('SRID=4674;POINT (-38.597969 -3.216708)'))) / (select extract(epoch from '2026-05-29 09:11:44'::timestamp) - extract(epoch from '2026-05-29 09:11: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.598073 -3.216641)', '2026-05-29 09:11:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597969 -3.216708)'), GeomFromEWKT('SRID=4674;POINT (-38.598073 -3.216641)'))) / (select extract(epoch from '2026-05-29 09:11:50'::timestamp) - extract(epoch from '2026-05-29 09:11:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.597969 -3.216708)'), GeomFromEWKT('SRID=4674;POINT (-38.598073 -3.216641)'))) / (select extract(epoch from '2026-05-29 09:11:50'::timestamp) - extract(epoch from '2026-05-29 09:11: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.598176 -3.216566)', '2026-05-29 09:11:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598073 -3.216641)'), GeomFromEWKT('SRID=4674;POINT (-38.598176 -3.216566)'))) / (select extract(epoch from '2026-05-29 09:11:56'::timestamp) - extract(epoch from '2026-05-29 09:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598073 -3.216641)'), GeomFromEWKT('SRID=4674;POINT (-38.598176 -3.216566)'))) / (select extract(epoch from '2026-05-29 09:11:56'::timestamp) - extract(epoch from '2026-05-29 09:11:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.598281 -3.216497)', '2026-05-29 09:12:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598176 -3.216566)'), GeomFromEWKT('SRID=4674;POINT (-38.598281 -3.216497)'))) / (select extract(epoch from '2026-05-29 09:12:02'::timestamp) - extract(epoch from '2026-05-29 09:11:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598176 -3.216566)'), GeomFromEWKT('SRID=4674;POINT (-38.598281 -3.216497)'))) / (select extract(epoch from '2026-05-29 09:12:02'::timestamp) - extract(epoch from '2026-05-29 09:11:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.598376 -3.21644)', '2026-05-29 09:12:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598281 -3.216497)'), GeomFromEWKT('SRID=4674;POINT (-38.598376 -3.21644)'))) / (select extract(epoch from '2026-05-29 09:12:07'::timestamp) - extract(epoch from '2026-05-29 09:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598281 -3.216497)'), GeomFromEWKT('SRID=4674;POINT (-38.598376 -3.21644)'))) / (select extract(epoch from '2026-05-29 09:12:07'::timestamp) - extract(epoch from '2026-05-29 09:12: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.598482 -3.216378)', '2026-05-29 09:12:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598376 -3.21644)'), GeomFromEWKT('SRID=4674;POINT (-38.598482 -3.216378)'))) / (select extract(epoch from '2026-05-29 09:12:12'::timestamp) - extract(epoch from '2026-05-29 09:12:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598376 -3.21644)'), GeomFromEWKT('SRID=4674;POINT (-38.598482 -3.216378)'))) / (select extract(epoch from '2026-05-29 09:12:12'::timestamp) - extract(epoch from '2026-05-29 09:12: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.598641 -3.216292)', '2026-05-29 09:12:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598482 -3.216378)'), GeomFromEWKT('SRID=4674;POINT (-38.598641 -3.216292)'))) / (select extract(epoch from '2026-05-29 09:12:19'::timestamp) - extract(epoch from '2026-05-29 09:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598482 -3.216378)'), GeomFromEWKT('SRID=4674;POINT (-38.598641 -3.216292)'))) / (select extract(epoch from '2026-05-29 09:12:19'::timestamp) - extract(epoch from '2026-05-29 09:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.598757 -3.216243)', '2026-05-29 09:12:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598641 -3.216292)'), GeomFromEWKT('SRID=4674;POINT (-38.598757 -3.216243)'))) / (select extract(epoch from '2026-05-29 09:12:23'::timestamp) - extract(epoch from '2026-05-29 09:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598641 -3.216292)'), GeomFromEWKT('SRID=4674;POINT (-38.598757 -3.216243)'))) / (select extract(epoch from '2026-05-29 09:12:23'::timestamp) - extract(epoch from '2026-05-29 09:12:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.598857 -3.216205)', '2026-05-29 09:12:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598757 -3.216243)'), GeomFromEWKT('SRID=4674;POINT (-38.598857 -3.216205)'))) / (select extract(epoch from '2026-05-29 09:12:28'::timestamp) - extract(epoch from '2026-05-29 09:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598757 -3.216243)'), GeomFromEWKT('SRID=4674;POINT (-38.598857 -3.216205)'))) / (select extract(epoch from '2026-05-29 09:12:28'::timestamp) - extract(epoch from '2026-05-29 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.598978 -3.216164)', '2026-05-29 09:12:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598857 -3.216205)'), GeomFromEWKT('SRID=4674;POINT (-38.598978 -3.216164)'))) / (select extract(epoch from '2026-05-29 09:12:33'::timestamp) - extract(epoch from '2026-05-29 09:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598857 -3.216205)'), GeomFromEWKT('SRID=4674;POINT (-38.598978 -3.216164)'))) / (select extract(epoch from '2026-05-29 09:12:33'::timestamp) - extract(epoch from '2026-05-29 09:12: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.5991 -3.216108)', '2026-05-29 09:12:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598978 -3.216164)'), GeomFromEWKT('SRID=4674;POINT (-38.5991 -3.216108)'))) / (select extract(epoch from '2026-05-29 09:12:38'::timestamp) - extract(epoch from '2026-05-29 09:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.598978 -3.216164)'), GeomFromEWKT('SRID=4674;POINT (-38.5991 -3.216108)'))) / (select extract(epoch from '2026-05-29 09:12:38'::timestamp) - extract(epoch from '2026-05-29 09:12: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.59923 -3.216048)', '2026-05-29 09:12:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5991 -3.216108)'), GeomFromEWKT('SRID=4674;POINT (-38.59923 -3.216048)'))) / (select extract(epoch from '2026-05-29 09:12:44'::timestamp) - extract(epoch from '2026-05-29 09:12:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.5991 -3.216108)'), GeomFromEWKT('SRID=4674;POINT (-38.59923 -3.216048)'))) / (select extract(epoch from '2026-05-29 09:12:44'::timestamp) - extract(epoch from '2026-05-29 09:12: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.599333 -3.215994)', '2026-05-29 09:12:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59923 -3.216048)'), GeomFromEWKT('SRID=4674;POINT (-38.599333 -3.215994)'))) / (select extract(epoch from '2026-05-29 09:12:49'::timestamp) - extract(epoch from '2026-05-29 09:12:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.59923 -3.216048)'), GeomFromEWKT('SRID=4674;POINT (-38.599333 -3.215994)'))) / (select extract(epoch from '2026-05-29 09:12:49'::timestamp) - extract(epoch from '2026-05-29 09:12: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.599379 -3.215972)', '2026-05-29 09:12:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599333 -3.215994)'), GeomFromEWKT('SRID=4674;POINT (-38.599379 -3.215972)'))) / (select extract(epoch from '2026-05-29 09:12:51'::timestamp) - extract(epoch from '2026-05-29 09:12:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599333 -3.215994)'), GeomFromEWKT('SRID=4674;POINT (-38.599379 -3.215972)'))) / (select extract(epoch from '2026-05-29 09:12:51'::timestamp) - extract(epoch from '2026-05-29 09:12: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.599418 -3.215941)', '2026-05-29 09:12:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599379 -3.215972)'), GeomFromEWKT('SRID=4674;POINT (-38.599418 -3.215941)'))) / (select extract(epoch from '2026-05-29 09:12:53'::timestamp) - extract(epoch from '2026-05-29 09:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599379 -3.215972)'), GeomFromEWKT('SRID=4674;POINT (-38.599418 -3.215941)'))) / (select extract(epoch from '2026-05-29 09:12:53'::timestamp) - extract(epoch from '2026-05-29 09:12: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.599511 -3.215897)', '2026-05-29 09:12:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599418 -3.215941)'), GeomFromEWKT('SRID=4674;POINT (-38.599511 -3.215897)'))) / (select extract(epoch from '2026-05-29 09:12:57'::timestamp) - extract(epoch from '2026-05-29 09:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599418 -3.215941)'), GeomFromEWKT('SRID=4674;POINT (-38.599511 -3.215897)'))) / (select extract(epoch from '2026-05-29 09:12:57'::timestamp) - extract(epoch from '2026-05-29 09:12: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.599624 -3.215838)', '2026-05-29 09:13:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599511 -3.215897)'), GeomFromEWKT('SRID=4674;POINT (-38.599624 -3.215838)'))) / (select extract(epoch from '2026-05-29 09:13:02'::timestamp) - extract(epoch from '2026-05-29 09:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599511 -3.215897)'), GeomFromEWKT('SRID=4674;POINT (-38.599624 -3.215838)'))) / (select extract(epoch from '2026-05-29 09:13:02'::timestamp) - extract(epoch from '2026-05-29 09:12: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.599725 -3.215774)', '2026-05-29 09:13:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599624 -3.215838)'), GeomFromEWKT('SRID=4674;POINT (-38.599725 -3.215774)'))) / (select extract(epoch from '2026-05-29 09:13:07'::timestamp) - extract(epoch from '2026-05-29 09:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599624 -3.215838)'), GeomFromEWKT('SRID=4674;POINT (-38.599725 -3.215774)'))) / (select extract(epoch from '2026-05-29 09:13:07'::timestamp) - extract(epoch from '2026-05-29 09:13: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.599846 -3.215715)', '2026-05-29 09:13:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599725 -3.215774)'), GeomFromEWKT('SRID=4674;POINT (-38.599846 -3.215715)'))) / (select extract(epoch from '2026-05-29 09:13:12'::timestamp) - extract(epoch from '2026-05-29 09:13:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599725 -3.215774)'), GeomFromEWKT('SRID=4674;POINT (-38.599846 -3.215715)'))) / (select extract(epoch from '2026-05-29 09:13:12'::timestamp) - extract(epoch from '2026-05-29 09:13: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.599966 -3.215661)', '2026-05-29 09:13:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599846 -3.215715)'), GeomFromEWKT('SRID=4674;POINT (-38.599966 -3.215661)'))) / (select extract(epoch from '2026-05-29 09:13:17'::timestamp) - extract(epoch from '2026-05-29 09:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599846 -3.215715)'), GeomFromEWKT('SRID=4674;POINT (-38.599966 -3.215661)'))) / (select extract(epoch from '2026-05-29 09:13:17'::timestamp) - extract(epoch from '2026-05-29 09:13: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.600122 -3.215594)', '2026-05-29 09:13:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599966 -3.215661)'), GeomFromEWKT('SRID=4674;POINT (-38.600122 -3.215594)'))) / (select extract(epoch from '2026-05-29 09:13:24'::timestamp) - extract(epoch from '2026-05-29 09:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.599966 -3.215661)'), GeomFromEWKT('SRID=4674;POINT (-38.600122 -3.215594)'))) / (select extract(epoch from '2026-05-29 09:13:24'::timestamp) - extract(epoch from '2026-05-29 09:13: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.600231 -3.215541)', '2026-05-29 09:13:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600122 -3.215594)'), GeomFromEWKT('SRID=4674;POINT (-38.600231 -3.215541)'))) / (select extract(epoch from '2026-05-29 09:13:29'::timestamp) - extract(epoch from '2026-05-29 09:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600122 -3.215594)'), GeomFromEWKT('SRID=4674;POINT (-38.600231 -3.215541)'))) / (select extract(epoch from '2026-05-29 09:13:29'::timestamp) - extract(epoch from '2026-05-29 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.600334 -3.215496)', '2026-05-29 09:13:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600231 -3.215541)'), GeomFromEWKT('SRID=4674;POINT (-38.600334 -3.215496)'))) / (select extract(epoch from '2026-05-29 09:13:34'::timestamp) - extract(epoch from '2026-05-29 09:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600231 -3.215541)'), GeomFromEWKT('SRID=4674;POINT (-38.600334 -3.215496)'))) / (select extract(epoch from '2026-05-29 09:13:34'::timestamp) - extract(epoch from '2026-05-29 09:13: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.600479 -3.215437)', '2026-05-29 09:13:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600334 -3.215496)'), GeomFromEWKT('SRID=4674;POINT (-38.600479 -3.215437)'))) / (select extract(epoch from '2026-05-29 09:13:41'::timestamp) - extract(epoch from '2026-05-29 09:13:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600334 -3.215496)'), GeomFromEWKT('SRID=4674;POINT (-38.600479 -3.215437)'))) / (select extract(epoch from '2026-05-29 09:13:41'::timestamp) - extract(epoch from '2026-05-29 09:13:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.600586 -3.215384)', '2026-05-29 09:13:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600479 -3.215437)'), GeomFromEWKT('SRID=4674;POINT (-38.600586 -3.215384)'))) / (select extract(epoch from '2026-05-29 09:13:46'::timestamp) - extract(epoch from '2026-05-29 09:13:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600479 -3.215437)'), GeomFromEWKT('SRID=4674;POINT (-38.600586 -3.215384)'))) / (select extract(epoch from '2026-05-29 09:13:46'::timestamp) - extract(epoch from '2026-05-29 09:13: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.600709 -3.215324)', '2026-05-29 09:13:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600586 -3.215384)'), GeomFromEWKT('SRID=4674;POINT (-38.600709 -3.215324)'))) / (select extract(epoch from '2026-05-29 09:13:52'::timestamp) - extract(epoch from '2026-05-29 09:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600586 -3.215384)'), GeomFromEWKT('SRID=4674;POINT (-38.600709 -3.215324)'))) / (select extract(epoch from '2026-05-29 09:13:52'::timestamp) - extract(epoch from '2026-05-29 09:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.600815 -3.215258)', '2026-05-29 09:13:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600709 -3.215324)'), GeomFromEWKT('SRID=4674;POINT (-38.600815 -3.215258)'))) / (select extract(epoch from '2026-05-29 09:13:57'::timestamp) - extract(epoch from '2026-05-29 09:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600709 -3.215324)'), GeomFromEWKT('SRID=4674;POINT (-38.600815 -3.215258)'))) / (select extract(epoch from '2026-05-29 09:13:57'::timestamp) - extract(epoch from '2026-05-29 09:13: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.600944 -3.21519)', '2026-05-29 09:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600815 -3.215258)'), GeomFromEWKT('SRID=4674;POINT (-38.600944 -3.21519)'))) / (select extract(epoch from '2026-05-29 09:14:03'::timestamp) - extract(epoch from '2026-05-29 09:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600815 -3.215258)'), GeomFromEWKT('SRID=4674;POINT (-38.600944 -3.21519)'))) / (select extract(epoch from '2026-05-29 09:14:03'::timestamp) - extract(epoch from '2026-05-29 09:13: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.601105 -3.215134)', '2026-05-29 09:14:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600944 -3.21519)'), GeomFromEWKT('SRID=4674;POINT (-38.601105 -3.215134)'))) / (select extract(epoch from '2026-05-29 09:14:10'::timestamp) - extract(epoch from '2026-05-29 09:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.600944 -3.21519)'), GeomFromEWKT('SRID=4674;POINT (-38.601105 -3.215134)'))) / (select extract(epoch from '2026-05-29 09:14:10'::timestamp) - extract(epoch from '2026-05-29 09:14: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.60121 -3.215099)', '2026-05-29 09:14:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601105 -3.215134)'), GeomFromEWKT('SRID=4674;POINT (-38.60121 -3.215099)'))) / (select extract(epoch from '2026-05-29 09:14:15'::timestamp) - extract(epoch from '2026-05-29 09:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601105 -3.215134)'), GeomFromEWKT('SRID=4674;POINT (-38.60121 -3.215099)'))) / (select extract(epoch from '2026-05-29 09:14:15'::timestamp) - extract(epoch from '2026-05-29 09:14: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.601366 -3.215042)', '2026-05-29 09:14:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60121 -3.215099)'), GeomFromEWKT('SRID=4674;POINT (-38.601366 -3.215042)'))) / (select extract(epoch from '2026-05-29 09:14:22'::timestamp) - extract(epoch from '2026-05-29 09:14:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60121 -3.215099)'), GeomFromEWKT('SRID=4674;POINT (-38.601366 -3.215042)'))) / (select extract(epoch from '2026-05-29 09:14:22'::timestamp) - extract(epoch from '2026-05-29 09:14: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.601517 -3.214983)', '2026-05-29 09:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601366 -3.215042)'), GeomFromEWKT('SRID=4674;POINT (-38.601517 -3.214983)'))) / (select extract(epoch from '2026-05-29 09:14:28'::timestamp) - extract(epoch from '2026-05-29 09:14:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601366 -3.215042)'), GeomFromEWKT('SRID=4674;POINT (-38.601517 -3.214983)'))) / (select extract(epoch from '2026-05-29 09:14:28'::timestamp) - extract(epoch from '2026-05-29 09:14: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.601642 -3.214921)', '2026-05-29 09:14:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601517 -3.214983)'), GeomFromEWKT('SRID=4674;POINT (-38.601642 -3.214921)'))) / (select extract(epoch from '2026-05-29 09:14:33'::timestamp) - extract(epoch from '2026-05-29 09:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601517 -3.214983)'), GeomFromEWKT('SRID=4674;POINT (-38.601642 -3.214921)'))) / (select extract(epoch from '2026-05-29 09:14:33'::timestamp) - extract(epoch from '2026-05-29 09:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.601784 -3.214862)', '2026-05-29 09:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601642 -3.214921)'), GeomFromEWKT('SRID=4674;POINT (-38.601784 -3.214862)'))) / (select extract(epoch from '2026-05-29 09:14:39'::timestamp) - extract(epoch from '2026-05-29 09:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601642 -3.214921)'), GeomFromEWKT('SRID=4674;POINT (-38.601784 -3.214862)'))) / (select extract(epoch from '2026-05-29 09:14:39'::timestamp) - extract(epoch from '2026-05-29 09:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.601928 -3.214789)', '2026-05-29 09:14:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601784 -3.214862)'), GeomFromEWKT('SRID=4674;POINT (-38.601928 -3.214789)'))) / (select extract(epoch from '2026-05-29 09:14:46'::timestamp) - extract(epoch from '2026-05-29 09:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601784 -3.214862)'), GeomFromEWKT('SRID=4674;POINT (-38.601928 -3.214789)'))) / (select extract(epoch from '2026-05-29 09:14:46'::timestamp) - extract(epoch from '2026-05-29 09:14:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.602062 -3.214688)', '2026-05-29 09:14:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601928 -3.214789)'), GeomFromEWKT('SRID=4674;POINT (-38.602062 -3.214688)'))) / (select extract(epoch from '2026-05-29 09:14:53'::timestamp) - extract(epoch from '2026-05-29 09:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.601928 -3.214789)'), GeomFromEWKT('SRID=4674;POINT (-38.602062 -3.214688)'))) / (select extract(epoch from '2026-05-29 09:14:53'::timestamp) - extract(epoch from '2026-05-29 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.602139 -3.21462)', '2026-05-29 09:14:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602062 -3.214688)'), GeomFromEWKT('SRID=4674;POINT (-38.602139 -3.21462)'))) / (select extract(epoch from '2026-05-29 09:14:57'::timestamp) - extract(epoch from '2026-05-29 09:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602062 -3.214688)'), GeomFromEWKT('SRID=4674;POINT (-38.602139 -3.21462)'))) / (select extract(epoch from '2026-05-29 09:14:57'::timestamp) - extract(epoch from '2026-05-29 09:14: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.602209 -3.214565)', '2026-05-29 09:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602139 -3.21462)'), GeomFromEWKT('SRID=4674;POINT (-38.602209 -3.214565)'))) / (select extract(epoch from '2026-05-29 09:15:01'::timestamp) - extract(epoch from '2026-05-29 09:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602139 -3.21462)'), GeomFromEWKT('SRID=4674;POINT (-38.602209 -3.214565)'))) / (select extract(epoch from '2026-05-29 09:15:01'::timestamp) - extract(epoch from '2026-05-29 09:14: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.602313 -3.214478)', '2026-05-29 09:15:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602209 -3.214565)'), GeomFromEWKT('SRID=4674;POINT (-38.602313 -3.214478)'))) / (select extract(epoch from '2026-05-29 09:15:07'::timestamp) - extract(epoch from '2026-05-29 09:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602209 -3.214565)'), GeomFromEWKT('SRID=4674;POINT (-38.602313 -3.214478)'))) / (select extract(epoch from '2026-05-29 09:15:07'::timestamp) - extract(epoch from '2026-05-29 09:15: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.602416 -3.214395)', '2026-05-29 09:15:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602313 -3.214478)'), GeomFromEWKT('SRID=4674;POINT (-38.602416 -3.214395)'))) / (select extract(epoch from '2026-05-29 09:15:13'::timestamp) - extract(epoch from '2026-05-29 09:15:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602313 -3.214478)'), GeomFromEWKT('SRID=4674;POINT (-38.602416 -3.214395)'))) / (select extract(epoch from '2026-05-29 09:15:13'::timestamp) - extract(epoch from '2026-05-29 09:15: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.602539 -3.214295)', '2026-05-29 09:15:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602416 -3.214395)'), GeomFromEWKT('SRID=4674;POINT (-38.602539 -3.214295)'))) / (select extract(epoch from '2026-05-29 09:15:20'::timestamp) - extract(epoch from '2026-05-29 09:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602416 -3.214395)'), GeomFromEWKT('SRID=4674;POINT (-38.602539 -3.214295)'))) / (select extract(epoch from '2026-05-29 09:15:20'::timestamp) - extract(epoch from '2026-05-29 09:15: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.602654 -3.214198)', '2026-05-29 09:15:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602539 -3.214295)'), GeomFromEWKT('SRID=4674;POINT (-38.602654 -3.214198)'))) / (select extract(epoch from '2026-05-29 09:15:26'::timestamp) - extract(epoch from '2026-05-29 09:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602539 -3.214295)'), GeomFromEWKT('SRID=4674;POINT (-38.602654 -3.214198)'))) / (select extract(epoch from '2026-05-29 09:15:26'::timestamp) - extract(epoch from '2026-05-29 09:15: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.602747 -3.214117)', '2026-05-29 09:15:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602654 -3.214198)'), GeomFromEWKT('SRID=4674;POINT (-38.602747 -3.214117)'))) / (select extract(epoch from '2026-05-29 09:15:31'::timestamp) - extract(epoch from '2026-05-29 09:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602654 -3.214198)'), GeomFromEWKT('SRID=4674;POINT (-38.602747 -3.214117)'))) / (select extract(epoch from '2026-05-29 09:15:31'::timestamp) - extract(epoch from '2026-05-29 09:15: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.602834 -3.214063)', '2026-05-29 09:15:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602747 -3.214117)'), GeomFromEWKT('SRID=4674;POINT (-38.602834 -3.214063)'))) / (select extract(epoch from '2026-05-29 09:15:36'::timestamp) - extract(epoch from '2026-05-29 09:15:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602747 -3.214117)'), GeomFromEWKT('SRID=4674;POINT (-38.602834 -3.214063)'))) / (select extract(epoch from '2026-05-29 09:15:36'::timestamp) - extract(epoch from '2026-05-29 09:15: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.602935 -3.214004)', '2026-05-29 09:15:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602834 -3.214063)'), GeomFromEWKT('SRID=4674;POINT (-38.602935 -3.214004)'))) / (select extract(epoch from '2026-05-29 09:15:41'::timestamp) - extract(epoch from '2026-05-29 09:15:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602834 -3.214063)'), GeomFromEWKT('SRID=4674;POINT (-38.602935 -3.214004)'))) / (select extract(epoch from '2026-05-29 09:15:41'::timestamp) - extract(epoch from '2026-05-29 09:15: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.603071 -3.213945)', '2026-05-29 09:15:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602935 -3.214004)'), GeomFromEWKT('SRID=4674;POINT (-38.603071 -3.213945)'))) / (select extract(epoch from '2026-05-29 09:15:46'::timestamp) - extract(epoch from '2026-05-29 09:15:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.602935 -3.214004)'), GeomFromEWKT('SRID=4674;POINT (-38.603071 -3.213945)'))) / (select extract(epoch from '2026-05-29 09:15:46'::timestamp) - extract(epoch from '2026-05-29 09:15: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.603165 -3.213886)', '2026-05-29 09:15:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603071 -3.213945)'), GeomFromEWKT('SRID=4674;POINT (-38.603165 -3.213886)'))) / (select extract(epoch from '2026-05-29 09:15:51'::timestamp) - extract(epoch from '2026-05-29 09:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603071 -3.213945)'), GeomFromEWKT('SRID=4674;POINT (-38.603165 -3.213886)'))) / (select extract(epoch from '2026-05-29 09:15:51'::timestamp) - extract(epoch from '2026-05-29 09:15: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.603248 -3.213836)', '2026-05-29 09:15:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603165 -3.213886)'), GeomFromEWKT('SRID=4674;POINT (-38.603248 -3.213836)'))) / (select extract(epoch from '2026-05-29 09:15:55'::timestamp) - extract(epoch from '2026-05-29 09:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603165 -3.213886)'), GeomFromEWKT('SRID=4674;POINT (-38.603248 -3.213836)'))) / (select extract(epoch from '2026-05-29 09:15:55'::timestamp) - extract(epoch from '2026-05-29 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.603358 -3.213776)', '2026-05-29 09:16:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603248 -3.213836)'), GeomFromEWKT('SRID=4674;POINT (-38.603358 -3.213776)'))) / (select extract(epoch from '2026-05-29 09:16:00'::timestamp) - extract(epoch from '2026-05-29 09:15:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603248 -3.213836)'), GeomFromEWKT('SRID=4674;POINT (-38.603358 -3.213776)'))) / (select extract(epoch from '2026-05-29 09:16:00'::timestamp) - extract(epoch from '2026-05-29 09:15:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.603498 -3.213704)', '2026-05-29 09:16:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603358 -3.213776)'), GeomFromEWKT('SRID=4674;POINT (-38.603498 -3.213704)'))) / (select extract(epoch from '2026-05-29 09:16:07'::timestamp) - extract(epoch from '2026-05-29 09:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603358 -3.213776)'), GeomFromEWKT('SRID=4674;POINT (-38.603498 -3.213704)'))) / (select extract(epoch from '2026-05-29 09:16:07'::timestamp) - extract(epoch from '2026-05-29 09:16: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.603624 -3.213638)', '2026-05-29 09:16:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603498 -3.213704)'), GeomFromEWKT('SRID=4674;POINT (-38.603624 -3.213638)'))) / (select extract(epoch from '2026-05-29 09:16:13'::timestamp) - extract(epoch from '2026-05-29 09:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603498 -3.213704)'), GeomFromEWKT('SRID=4674;POINT (-38.603624 -3.213638)'))) / (select extract(epoch from '2026-05-29 09:16:13'::timestamp) - extract(epoch from '2026-05-29 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.603742 -3.213558)', '2026-05-29 09:16:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603624 -3.213638)'), GeomFromEWKT('SRID=4674;POINT (-38.603742 -3.213558)'))) / (select extract(epoch from '2026-05-29 09:16:19'::timestamp) - extract(epoch from '2026-05-29 09:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603624 -3.213638)'), GeomFromEWKT('SRID=4674;POINT (-38.603742 -3.213558)'))) / (select extract(epoch from '2026-05-29 09:16:19'::timestamp) - extract(epoch from '2026-05-29 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.603885 -3.21349)', '2026-05-29 09:16:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603742 -3.213558)'), GeomFromEWKT('SRID=4674;POINT (-38.603885 -3.21349)'))) / (select extract(epoch from '2026-05-29 09:16:25'::timestamp) - extract(epoch from '2026-05-29 09:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603742 -3.213558)'), GeomFromEWKT('SRID=4674;POINT (-38.603885 -3.21349)'))) / (select extract(epoch from '2026-05-29 09:16:25'::timestamp) - extract(epoch from '2026-05-29 09:16: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.603992 -3.213437)', '2026-05-29 09:16:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603885 -3.21349)'), GeomFromEWKT('SRID=4674;POINT (-38.603992 -3.213437)'))) / (select extract(epoch from '2026-05-29 09:16:30'::timestamp) - extract(epoch from '2026-05-29 09:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603885 -3.21349)'), GeomFromEWKT('SRID=4674;POINT (-38.603992 -3.213437)'))) / (select extract(epoch from '2026-05-29 09:16:30'::timestamp) - extract(epoch from '2026-05-29 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.604107 -3.213376)', '2026-05-29 09:16:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603992 -3.213437)'), GeomFromEWKT('SRID=4674;POINT (-38.604107 -3.213376)'))) / (select extract(epoch from '2026-05-29 09:16:35'::timestamp) - extract(epoch from '2026-05-29 09:16:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.603992 -3.213437)'), GeomFromEWKT('SRID=4674;POINT (-38.604107 -3.213376)'))) / (select extract(epoch from '2026-05-29 09:16:35'::timestamp) - extract(epoch from '2026-05-29 09:16: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.604229 -3.213326)', '2026-05-29 09:16:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604107 -3.213376)'), GeomFromEWKT('SRID=4674;POINT (-38.604229 -3.213326)'))) / (select extract(epoch from '2026-05-29 09:16:40'::timestamp) - extract(epoch from '2026-05-29 09:16:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604107 -3.213376)'), GeomFromEWKT('SRID=4674;POINT (-38.604229 -3.213326)'))) / (select extract(epoch from '2026-05-29 09:16:40'::timestamp) - extract(epoch from '2026-05-29 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.604352 -3.213274)', '2026-05-29 09:16:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604229 -3.213326)'), GeomFromEWKT('SRID=4674;POINT (-38.604352 -3.213274)'))) / (select extract(epoch from '2026-05-29 09:16:46'::timestamp) - extract(epoch from '2026-05-29 09:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604229 -3.213326)'), GeomFromEWKT('SRID=4674;POINT (-38.604352 -3.213274)'))) / (select extract(epoch from '2026-05-29 09:16:46'::timestamp) - extract(epoch from '2026-05-29 09:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.604457 -3.213228)', '2026-05-29 09:16:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604352 -3.213274)'), GeomFromEWKT('SRID=4674;POINT (-38.604457 -3.213228)'))) / (select extract(epoch from '2026-05-29 09:16:50'::timestamp) - extract(epoch from '2026-05-29 09:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604352 -3.213274)'), GeomFromEWKT('SRID=4674;POINT (-38.604457 -3.213228)'))) / (select extract(epoch from '2026-05-29 09:16:50'::timestamp) - extract(epoch from '2026-05-29 09:16:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.604571 -3.21317)', '2026-05-29 09:16:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604457 -3.213228)'), GeomFromEWKT('SRID=4674;POINT (-38.604571 -3.21317)'))) / (select extract(epoch from '2026-05-29 09:16:55'::timestamp) - extract(epoch from '2026-05-29 09:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604457 -3.213228)'), GeomFromEWKT('SRID=4674;POINT (-38.604571 -3.21317)'))) / (select extract(epoch from '2026-05-29 09:16:55'::timestamp) - extract(epoch from '2026-05-29 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.604669 -3.213118)', '2026-05-29 09:17:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604571 -3.21317)'), GeomFromEWKT('SRID=4674;POINT (-38.604669 -3.213118)'))) / (select extract(epoch from '2026-05-29 09:17:00'::timestamp) - extract(epoch from '2026-05-29 09:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604571 -3.21317)'), GeomFromEWKT('SRID=4674;POINT (-38.604669 -3.213118)'))) / (select extract(epoch from '2026-05-29 09:17:00'::timestamp) - extract(epoch from '2026-05-29 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.604822 -3.213026)', '2026-05-29 09:17:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604669 -3.213118)'), GeomFromEWKT('SRID=4674;POINT (-38.604822 -3.213026)'))) / (select extract(epoch from '2026-05-29 09:17:08'::timestamp) - extract(epoch from '2026-05-29 09:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604669 -3.213118)'), GeomFromEWKT('SRID=4674;POINT (-38.604822 -3.213026)'))) / (select extract(epoch from '2026-05-29 09:17:08'::timestamp) - extract(epoch from '2026-05-29 09:17: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.604945 -3.212935)', '2026-05-29 09:17:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604822 -3.213026)'), GeomFromEWKT('SRID=4674;POINT (-38.604945 -3.212935)'))) / (select extract(epoch from '2026-05-29 09:17:14'::timestamp) - extract(epoch from '2026-05-29 09:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604822 -3.213026)'), GeomFromEWKT('SRID=4674;POINT (-38.604945 -3.212935)'))) / (select extract(epoch from '2026-05-29 09:17:14'::timestamp) - extract(epoch from '2026-05-29 09:17: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.605073 -3.212818)', '2026-05-29 09:17:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604945 -3.212935)'), GeomFromEWKT('SRID=4674;POINT (-38.605073 -3.212818)'))) / (select extract(epoch from '2026-05-29 09:17:21'::timestamp) - extract(epoch from '2026-05-29 09:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.604945 -3.212935)'), GeomFromEWKT('SRID=4674;POINT (-38.605073 -3.212818)'))) / (select extract(epoch from '2026-05-29 09:17:21'::timestamp) - extract(epoch from '2026-05-29 09:17: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.605154 -3.21275)', '2026-05-29 09:17:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605073 -3.212818)'), GeomFromEWKT('SRID=4674;POINT (-38.605154 -3.21275)'))) / (select extract(epoch from '2026-05-29 09:17:26'::timestamp) - extract(epoch from '2026-05-29 09:17:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605073 -3.212818)'), GeomFromEWKT('SRID=4674;POINT (-38.605154 -3.21275)'))) / (select extract(epoch from '2026-05-29 09:17:26'::timestamp) - extract(epoch from '2026-05-29 09:17:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.605254 -3.212664)', '2026-05-29 09:17:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605154 -3.21275)'), GeomFromEWKT('SRID=4674;POINT (-38.605254 -3.212664)'))) / (select extract(epoch from '2026-05-29 09:17:31'::timestamp) - extract(epoch from '2026-05-29 09:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605154 -3.21275)'), GeomFromEWKT('SRID=4674;POINT (-38.605254 -3.212664)'))) / (select extract(epoch from '2026-05-29 09:17:31'::timestamp) - extract(epoch from '2026-05-29 09:17: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.605363 -3.212588)', '2026-05-29 09:17:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605254 -3.212664)'), GeomFromEWKT('SRID=4674;POINT (-38.605363 -3.212588)'))) / (select extract(epoch from '2026-05-29 09:17:36'::timestamp) - extract(epoch from '2026-05-29 09:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605254 -3.212664)'), GeomFromEWKT('SRID=4674;POINT (-38.605363 -3.212588)'))) / (select extract(epoch from '2026-05-29 09:17:36'::timestamp) - extract(epoch from '2026-05-29 09:17: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.60543 -3.212532)', '2026-05-29 09:17:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605363 -3.212588)'), GeomFromEWKT('SRID=4674;POINT (-38.60543 -3.212532)'))) / (select extract(epoch from '2026-05-29 09:17:40'::timestamp) - extract(epoch from '2026-05-29 09:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605363 -3.212588)'), GeomFromEWKT('SRID=4674;POINT (-38.60543 -3.212532)'))) / (select extract(epoch from '2026-05-29 09:17:40'::timestamp) - extract(epoch from '2026-05-29 09:17: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.605522 -3.212464)', '2026-05-29 09:17:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60543 -3.212532)'), GeomFromEWKT('SRID=4674;POINT (-38.605522 -3.212464)'))) / (select extract(epoch from '2026-05-29 09:17:45'::timestamp) - extract(epoch from '2026-05-29 09:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60543 -3.212532)'), GeomFromEWKT('SRID=4674;POINT (-38.605522 -3.212464)'))) / (select extract(epoch from '2026-05-29 09:17:45'::timestamp) - extract(epoch from '2026-05-29 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.605633 -3.212403)', '2026-05-29 09:17:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605522 -3.212464)'), GeomFromEWKT('SRID=4674;POINT (-38.605633 -3.212403)'))) / (select extract(epoch from '2026-05-29 09:17:50'::timestamp) - extract(epoch from '2026-05-29 09:17:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605522 -3.212464)'), GeomFromEWKT('SRID=4674;POINT (-38.605633 -3.212403)'))) / (select extract(epoch from '2026-05-29 09:17:50'::timestamp) - extract(epoch from '2026-05-29 09:17: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.605742 -3.21235)', '2026-05-29 09:17:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605633 -3.212403)'), GeomFromEWKT('SRID=4674;POINT (-38.605742 -3.21235)'))) / (select extract(epoch from '2026-05-29 09:17:55'::timestamp) - extract(epoch from '2026-05-29 09:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605633 -3.212403)'), GeomFromEWKT('SRID=4674;POINT (-38.605742 -3.21235)'))) / (select extract(epoch from '2026-05-29 09:17:55'::timestamp) - extract(epoch from '2026-05-29 09:17: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.60586 -3.2123)', '2026-05-29 09:18:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605742 -3.21235)'), GeomFromEWKT('SRID=4674;POINT (-38.60586 -3.2123)'))) / (select extract(epoch from '2026-05-29 09:18:00'::timestamp) - extract(epoch from '2026-05-29 09:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.605742 -3.21235)'), GeomFromEWKT('SRID=4674;POINT (-38.60586 -3.2123)'))) / (select extract(epoch from '2026-05-29 09:18:00'::timestamp) - extract(epoch from '2026-05-29 09:17: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.606005 -3.21225)', '2026-05-29 09:18:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60586 -3.2123)'), GeomFromEWKT('SRID=4674;POINT (-38.606005 -3.21225)'))) / (select extract(epoch from '2026-05-29 09:18:06'::timestamp) - extract(epoch from '2026-05-29 09:18:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60586 -3.2123)'), GeomFromEWKT('SRID=4674;POINT (-38.606005 -3.21225)'))) / (select extract(epoch from '2026-05-29 09:18:06'::timestamp) - extract(epoch from '2026-05-29 09:18: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.606142 -3.212164)', '2026-05-29 09:18:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606005 -3.21225)'), GeomFromEWKT('SRID=4674;POINT (-38.606142 -3.212164)'))) / (select extract(epoch from '2026-05-29 09:18:13'::timestamp) - extract(epoch from '2026-05-29 09:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606005 -3.21225)'), GeomFromEWKT('SRID=4674;POINT (-38.606142 -3.212164)'))) / (select extract(epoch from '2026-05-29 09:18:13'::timestamp) - extract(epoch from '2026-05-29 09:18: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.606232 -3.212104)', '2026-05-29 09:18:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606142 -3.212164)'), GeomFromEWKT('SRID=4674;POINT (-38.606232 -3.212104)'))) / (select extract(epoch from '2026-05-29 09:18:18'::timestamp) - extract(epoch from '2026-05-29 09:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606142 -3.212164)'), GeomFromEWKT('SRID=4674;POINT (-38.606232 -3.212104)'))) / (select extract(epoch from '2026-05-29 09:18:18'::timestamp) - extract(epoch from '2026-05-29 09:18: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.606322 -3.21204)', '2026-05-29 09:18:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606232 -3.212104)'), GeomFromEWKT('SRID=4674;POINT (-38.606322 -3.21204)'))) / (select extract(epoch from '2026-05-29 09:18:23'::timestamp) - extract(epoch from '2026-05-29 09:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606232 -3.212104)'), GeomFromEWKT('SRID=4674;POINT (-38.606322 -3.21204)'))) / (select extract(epoch from '2026-05-29 09:18:23'::timestamp) - extract(epoch from '2026-05-29 09:18: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.60645 -3.211933)', '2026-05-29 09:18:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606322 -3.21204)'), GeomFromEWKT('SRID=4674;POINT (-38.60645 -3.211933)'))) / (select extract(epoch from '2026-05-29 09:18:30'::timestamp) - extract(epoch from '2026-05-29 09:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606322 -3.21204)'), GeomFromEWKT('SRID=4674;POINT (-38.60645 -3.211933)'))) / (select extract(epoch from '2026-05-29 09:18:30'::timestamp) - extract(epoch from '2026-05-29 09:18: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.606463 -3.211921)', '2026-05-29 09:18:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60645 -3.211933)'), GeomFromEWKT('SRID=4674;POINT (-38.606463 -3.211921)'))) / (select extract(epoch from '2026-05-29 09:18:31'::timestamp) - extract(epoch from '2026-05-29 09:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60645 -3.211933)'), GeomFromEWKT('SRID=4674;POINT (-38.606463 -3.211921)'))) / (select extract(epoch from '2026-05-29 09:18:31'::timestamp) - extract(epoch from '2026-05-29 09:18: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.606542 -3.211878)', '2026-05-29 09:18:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606463 -3.211921)'), GeomFromEWKT('SRID=4674;POINT (-38.606542 -3.211878)'))) / (select extract(epoch from '2026-05-29 09:18:34'::timestamp) - extract(epoch from '2026-05-29 09:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606463 -3.211921)'), GeomFromEWKT('SRID=4674;POINT (-38.606542 -3.211878)'))) / (select extract(epoch from '2026-05-29 09:18:34'::timestamp) - extract(epoch from '2026-05-29 09:18:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.60663 -3.211793)', '2026-05-29 09:18:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606542 -3.211878)'), GeomFromEWKT('SRID=4674;POINT (-38.60663 -3.211793)'))) / (select extract(epoch from '2026-05-29 09:18:39'::timestamp) - extract(epoch from '2026-05-29 09:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606542 -3.211878)'), GeomFromEWKT('SRID=4674;POINT (-38.60663 -3.211793)'))) / (select extract(epoch from '2026-05-29 09:18:39'::timestamp) - extract(epoch from '2026-05-29 09:18: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.606746 -3.211726)', '2026-05-29 09:18:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60663 -3.211793)'), GeomFromEWKT('SRID=4674;POINT (-38.606746 -3.211726)'))) / (select extract(epoch from '2026-05-29 09:18:44'::timestamp) - extract(epoch from '2026-05-29 09:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60663 -3.211793)'), GeomFromEWKT('SRID=4674;POINT (-38.606746 -3.211726)'))) / (select extract(epoch from '2026-05-29 09:18:44'::timestamp) - extract(epoch from '2026-05-29 09:18: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.606831 -3.211658)', '2026-05-29 09:18:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606746 -3.211726)'), GeomFromEWKT('SRID=4674;POINT (-38.606831 -3.211658)'))) / (select extract(epoch from '2026-05-29 09:18:49'::timestamp) - extract(epoch from '2026-05-29 09:18:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606746 -3.211726)'), GeomFromEWKT('SRID=4674;POINT (-38.606831 -3.211658)'))) / (select extract(epoch from '2026-05-29 09:18:49'::timestamp) - extract(epoch from '2026-05-29 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.606943 -3.211571)', '2026-05-29 09:18:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606831 -3.211658)'), GeomFromEWKT('SRID=4674;POINT (-38.606943 -3.211571)'))) / (select extract(epoch from '2026-05-29 09:18:55'::timestamp) - extract(epoch from '2026-05-29 09:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606831 -3.211658)'), GeomFromEWKT('SRID=4674;POINT (-38.606943 -3.211571)'))) / (select extract(epoch from '2026-05-29 09:18:55'::timestamp) - extract(epoch from '2026-05-29 09:18: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.607051 -3.211495)', '2026-05-29 09:19:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606943 -3.211571)'), GeomFromEWKT('SRID=4674;POINT (-38.607051 -3.211495)'))) / (select extract(epoch from '2026-05-29 09:19:01'::timestamp) - extract(epoch from '2026-05-29 09:18:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.606943 -3.211571)'), GeomFromEWKT('SRID=4674;POINT (-38.607051 -3.211495)'))) / (select extract(epoch from '2026-05-29 09:19:01'::timestamp) - extract(epoch from '2026-05-29 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.607169 -3.21144)', '2026-05-29 09:19:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607051 -3.211495)'), GeomFromEWKT('SRID=4674;POINT (-38.607169 -3.21144)'))) / (select extract(epoch from '2026-05-29 09:19:06'::timestamp) - extract(epoch from '2026-05-29 09:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607051 -3.211495)'), GeomFromEWKT('SRID=4674;POINT (-38.607169 -3.21144)'))) / (select extract(epoch from '2026-05-29 09:19:06'::timestamp) - extract(epoch from '2026-05-29 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.607276 -3.211385)', '2026-05-29 09:19:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607169 -3.21144)'), GeomFromEWKT('SRID=4674;POINT (-38.607276 -3.211385)'))) / (select extract(epoch from '2026-05-29 09:19:11'::timestamp) - extract(epoch from '2026-05-29 09:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607169 -3.21144)'), GeomFromEWKT('SRID=4674;POINT (-38.607276 -3.211385)'))) / (select extract(epoch from '2026-05-29 09:19:11'::timestamp) - extract(epoch from '2026-05-29 09:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.607383 -3.21132)', '2026-05-29 09:19:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607276 -3.211385)'), GeomFromEWKT('SRID=4674;POINT (-38.607383 -3.21132)'))) / (select extract(epoch from '2026-05-29 09:19:16'::timestamp) - extract(epoch from '2026-05-29 09:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607276 -3.211385)'), GeomFromEWKT('SRID=4674;POINT (-38.607383 -3.21132)'))) / (select extract(epoch from '2026-05-29 09:19:16'::timestamp) - extract(epoch from '2026-05-29 09:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.607509 -3.211255)', '2026-05-29 09:19:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607383 -3.21132)'), GeomFromEWKT('SRID=4674;POINT (-38.607509 -3.211255)'))) / (select extract(epoch from '2026-05-29 09:19:22'::timestamp) - extract(epoch from '2026-05-29 09:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607383 -3.21132)'), GeomFromEWKT('SRID=4674;POINT (-38.607509 -3.211255)'))) / (select extract(epoch from '2026-05-29 09:19:22'::timestamp) - extract(epoch from '2026-05-29 09:19:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.607614 -3.211194)', '2026-05-29 09:19:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607509 -3.211255)'), GeomFromEWKT('SRID=4674;POINT (-38.607614 -3.211194)'))) / (select extract(epoch from '2026-05-29 09:19:27'::timestamp) - extract(epoch from '2026-05-29 09:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607509 -3.211255)'), GeomFromEWKT('SRID=4674;POINT (-38.607614 -3.211194)'))) / (select extract(epoch from '2026-05-29 09:19:27'::timestamp) - extract(epoch from '2026-05-29 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.607709 -3.211128)', '2026-05-29 09:19:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607614 -3.211194)'), GeomFromEWKT('SRID=4674;POINT (-38.607709 -3.211128)'))) / (select extract(epoch from '2026-05-29 09:19:32'::timestamp) - extract(epoch from '2026-05-29 09:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607614 -3.211194)'), GeomFromEWKT('SRID=4674;POINT (-38.607709 -3.211128)'))) / (select extract(epoch from '2026-05-29 09:19:32'::timestamp) - extract(epoch from '2026-05-29 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.607793 -3.21108)', '2026-05-29 09:19:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607709 -3.211128)'), GeomFromEWKT('SRID=4674;POINT (-38.607793 -3.21108)'))) / (select extract(epoch from '2026-05-29 09:19:36'::timestamp) - extract(epoch from '2026-05-29 09:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607709 -3.211128)'), GeomFromEWKT('SRID=4674;POINT (-38.607793 -3.21108)'))) / (select extract(epoch from '2026-05-29 09:19:36'::timestamp) - extract(epoch from '2026-05-29 09:19: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.60789 -3.211028)', '2026-05-29 09:19:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607793 -3.21108)'), GeomFromEWKT('SRID=4674;POINT (-38.60789 -3.211028)'))) / (select extract(epoch from '2026-05-29 09:19:41'::timestamp) - extract(epoch from '2026-05-29 09:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.607793 -3.21108)'), GeomFromEWKT('SRID=4674;POINT (-38.60789 -3.211028)'))) / (select extract(epoch from '2026-05-29 09:19:41'::timestamp) - extract(epoch from '2026-05-29 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.608005 -3.210961)', '2026-05-29 09:19:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60789 -3.211028)'), GeomFromEWKT('SRID=4674;POINT (-38.608005 -3.210961)'))) / (select extract(epoch from '2026-05-29 09:19:47'::timestamp) - extract(epoch from '2026-05-29 09:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60789 -3.211028)'), GeomFromEWKT('SRID=4674;POINT (-38.608005 -3.210961)'))) / (select extract(epoch from '2026-05-29 09:19:47'::timestamp) - extract(epoch from '2026-05-29 09:19:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.60812 -3.210892)', '2026-05-29 09:19:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608005 -3.210961)'), GeomFromEWKT('SRID=4674;POINT (-38.60812 -3.210892)'))) / (select extract(epoch from '2026-05-29 09:19:52'::timestamp) - extract(epoch from '2026-05-29 09:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608005 -3.210961)'), GeomFromEWKT('SRID=4674;POINT (-38.60812 -3.210892)'))) / (select extract(epoch from '2026-05-29 09:19:52'::timestamp) - extract(epoch from '2026-05-29 09:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46535, 'SRID=4674;POINT (-38.608225 -3.210836)', '2026-05-29 09:19:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60812 -3.210892)'), GeomFromEWKT('SRID=4674;POINT (-38.608225 -3.210836)'))) / (select extract(epoch from '2026-05-29 09:19:57'::timestamp) - extract(epoch from '2026-05-29 09:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.60812 -3.210892)'), GeomFromEWKT('SRID=4674;POINT (-38.608225 -3.210836)'))) / (select extract(epoch from '2026-05-29 09:19:57'::timestamp) - extract(epoch from '2026-05-29 09:19: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.608359 -3.210765)', '2026-05-29 09:20:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608225 -3.210836)'), GeomFromEWKT('SRID=4674;POINT (-38.608359 -3.210765)'))) / (select extract(epoch from '2026-05-29 09:20:03'::timestamp) - extract(epoch from '2026-05-29 09:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608225 -3.210836)'), GeomFromEWKT('SRID=4674;POINT (-38.608359 -3.210765)'))) / (select extract(epoch from '2026-05-29 09:20:03'::timestamp) - extract(epoch from '2026-05-29 09:19: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.608496 -3.210689)', '2026-05-29 09:20:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608359 -3.210765)'), GeomFromEWKT('SRID=4674;POINT (-38.608496 -3.210689)'))) / (select extract(epoch from '2026-05-29 09:20:09'::timestamp) - extract(epoch from '2026-05-29 09:20:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608359 -3.210765)'), GeomFromEWKT('SRID=4674;POINT (-38.608496 -3.210689)'))) / (select extract(epoch from '2026-05-29 09:20:09'::timestamp) - extract(epoch from '2026-05-29 09:20: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.608609 -3.210622)', '2026-05-29 09:20:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608496 -3.210689)'), GeomFromEWKT('SRID=4674;POINT (-38.608609 -3.210622)'))) / (select extract(epoch from '2026-05-29 09:20:14'::timestamp) - extract(epoch from '2026-05-29 09:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608496 -3.210689)'), GeomFromEWKT('SRID=4674;POINT (-38.608609 -3.210622)'))) / (select extract(epoch from '2026-05-29 09:20:14'::timestamp) - extract(epoch from '2026-05-29 09:20: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.608746 -3.210548)', '2026-05-29 09:20:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608609 -3.210622)'), GeomFromEWKT('SRID=4674;POINT (-38.608746 -3.210548)'))) / (select extract(epoch from '2026-05-29 09:20:20'::timestamp) - extract(epoch from '2026-05-29 09:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608609 -3.210622)'), GeomFromEWKT('SRID=4674;POINT (-38.608746 -3.210548)'))) / (select extract(epoch from '2026-05-29 09:20:20'::timestamp) - extract(epoch from '2026-05-29 09:20: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.608854 -3.21048)', '2026-05-29 09:20:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608746 -3.210548)'), GeomFromEWKT('SRID=4674;POINT (-38.608854 -3.21048)'))) / (select extract(epoch from '2026-05-29 09:20:25'::timestamp) - extract(epoch from '2026-05-29 09:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-38.608746 -3.210548)'), GeomFromEWKT('SRID=4674;POINT (-38.608854 -3.21048)'))) / (select extract(epoch from '2026-05-29 09:20:25'::timestamp) - extract(epoch from '2026-05-29 09:20:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
