 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560105 -2.998827)', '2026-07-18 07:37:24', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56012 -2.998858)'), GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998827)'))) / (select extract(epoch from '2026-07-18 07:37:24'::timestamp) - extract(epoch from '2026-07-18 07:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56012 -2.998858)'), GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998827)'))) / (select extract(epoch from '2026-07-18 07:37:24'::timestamp) - extract(epoch from '2026-07-18 07:36: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'), 47846, 'SRID=4674;POINT (-39.560107 -2.998831)', '2026-07-18 07:37:34', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998827)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998831)'))) / (select extract(epoch from '2026-07-18 07:37:34'::timestamp) - extract(epoch from '2026-07-18 07:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998827)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998831)'))) / (select extract(epoch from '2026-07-18 07:37:34'::timestamp) - extract(epoch from '2026-07-18 07:37: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'), 47846, 'SRID=4674;POINT (-39.560094 -2.998842)', '2026-07-18 07:39:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998831)'), GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998842)'))) / (select extract(epoch from '2026-07-18 07:39:06'::timestamp) - extract(epoch from '2026-07-18 07:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998831)'), GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998842)'))) / (select extract(epoch from '2026-07-18 07:39:06'::timestamp) - extract(epoch from '2026-07-18 07:37: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'), 47846, 'SRID=4674;POINT (-39.560105 -2.998835)', '2026-07-18 07:39:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998842)'), GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998835)'))) / (select extract(epoch from '2026-07-18 07:39:19'::timestamp) - extract(epoch from '2026-07-18 07:39:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998842)'), GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998835)'))) / (select extract(epoch from '2026-07-18 07:39:19'::timestamp) - extract(epoch from '2026-07-18 07:39:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560107 -2.998857)', '2026-07-18 07:39:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998835)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998857)'))) / (select extract(epoch from '2026-07-18 07:39:37'::timestamp) - extract(epoch from '2026-07-18 07:39:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998835)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998857)'))) / (select extract(epoch from '2026-07-18 07:39:37'::timestamp) - extract(epoch from '2026-07-18 07:39: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'), 47846, 'SRID=4674;POINT (-39.560094 -2.998841)', '2026-07-18 07:39:54', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998857)'), GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998841)'))) / (select extract(epoch from '2026-07-18 07:39:54'::timestamp) - extract(epoch from '2026-07-18 07:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998857)'), GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998841)'))) / (select extract(epoch from '2026-07-18 07:39:54'::timestamp) - extract(epoch from '2026-07-18 07:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560111 -2.998854)', '2026-07-18 07:40:52', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998841)'), GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998854)'))) / (select extract(epoch from '2026-07-18 07:40:52'::timestamp) - extract(epoch from '2026-07-18 07:39:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998841)'), GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998854)'))) / (select extract(epoch from '2026-07-18 07:40:52'::timestamp) - extract(epoch from '2026-07-18 07:39: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'), 47846, 'SRID=4674;POINT (-39.560125 -2.998862)', '2026-07-18 07:41:05', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998854)'), GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998862)'))) / (select extract(epoch from '2026-07-18 07:41:05'::timestamp) - extract(epoch from '2026-07-18 07:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998854)'), GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998862)'))) / (select extract(epoch from '2026-07-18 07:41:05'::timestamp) - extract(epoch from '2026-07-18 07: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'), 47846, 'SRID=4674;POINT (-39.560117 -2.998852)', '2026-07-18 07:41:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998862)'), GeomFromEWKT('SRID=4674;POINT (-39.560117 -2.998852)'))) / (select extract(epoch from '2026-07-18 07:41:47'::timestamp) - extract(epoch from '2026-07-18 07:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998862)'), GeomFromEWKT('SRID=4674;POINT (-39.560117 -2.998852)'))) / (select extract(epoch from '2026-07-18 07:41:47'::timestamp) - extract(epoch from '2026-07-18 07:41: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'), 47846, 'SRID=4674;POINT (-39.560098 -2.998841)', '2026-07-18 07:42:27', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560117 -2.998852)'), GeomFromEWKT('SRID=4674;POINT (-39.560098 -2.998841)'))) / (select extract(epoch from '2026-07-18 07:42:27'::timestamp) - extract(epoch from '2026-07-18 07:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560117 -2.998852)'), GeomFromEWKT('SRID=4674;POINT (-39.560098 -2.998841)'))) / (select extract(epoch from '2026-07-18 07:42:27'::timestamp) - extract(epoch from '2026-07-18 07:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560104 -2.998845)', '2026-07-18 07:43:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560098 -2.998841)'), GeomFromEWKT('SRID=4674;POINT (-39.560104 -2.998845)'))) / (select extract(epoch from '2026-07-18 07:43:08'::timestamp) - extract(epoch from '2026-07-18 07:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560098 -2.998841)'), GeomFromEWKT('SRID=4674;POINT (-39.560104 -2.998845)'))) / (select extract(epoch from '2026-07-18 07:43:08'::timestamp) - extract(epoch from '2026-07-18 07:42: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'), 47846, 'SRID=4674;POINT (-39.560099 -2.99886)', '2026-07-18 07:44:57', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560104 -2.998845)'), GeomFromEWKT('SRID=4674;POINT (-39.560099 -2.99886)'))) / (select extract(epoch from '2026-07-18 07:44:57'::timestamp) - extract(epoch from '2026-07-18 07:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560104 -2.998845)'), GeomFromEWKT('SRID=4674;POINT (-39.560099 -2.99886)'))) / (select extract(epoch from '2026-07-18 07:44:57'::timestamp) - extract(epoch from '2026-07-18 07: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'), 47846, 'SRID=4674;POINT (-39.56009 -2.998845)', '2026-07-18 07:45:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560099 -2.99886)'), GeomFromEWKT('SRID=4674;POINT (-39.56009 -2.998845)'))) / (select extract(epoch from '2026-07-18 07:45:16'::timestamp) - extract(epoch from '2026-07-18 07:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560099 -2.99886)'), GeomFromEWKT('SRID=4674;POINT (-39.56009 -2.998845)'))) / (select extract(epoch from '2026-07-18 07:45:16'::timestamp) - extract(epoch from '2026-07-18 07:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560098 -2.99884)', '2026-07-18 07:45:32', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56009 -2.998845)'), GeomFromEWKT('SRID=4674;POINT (-39.560098 -2.99884)'))) / (select extract(epoch from '2026-07-18 07:45:32'::timestamp) - extract(epoch from '2026-07-18 07:45:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56009 -2.998845)'), GeomFromEWKT('SRID=4674;POINT (-39.560098 -2.99884)'))) / (select extract(epoch from '2026-07-18 07:45:32'::timestamp) - extract(epoch from '2026-07-18 07:45: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'), 47846, 'SRID=4674;POINT (-39.560094 -2.998842)', '2026-07-18 07:45:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560098 -2.99884)'), GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998842)'))) / (select extract(epoch from '2026-07-18 07:45:59'::timestamp) - extract(epoch from '2026-07-18 07:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560098 -2.99884)'), GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998842)'))) / (select extract(epoch from '2026-07-18 07:45:59'::timestamp) - extract(epoch from '2026-07-18 07:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560096 -2.998845)', '2026-07-18 07:46:04', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998842)'), GeomFromEWKT('SRID=4674;POINT (-39.560096 -2.998845)'))) / (select extract(epoch from '2026-07-18 07:46:04'::timestamp) - extract(epoch from '2026-07-18 07:45:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560094 -2.998842)'), GeomFromEWKT('SRID=4674;POINT (-39.560096 -2.998845)'))) / (select extract(epoch from '2026-07-18 07:46:04'::timestamp) - extract(epoch from '2026-07-18 07:45: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'), 47846, 'SRID=4674;POINT (-39.560088 -2.998826)', '2026-07-18 07:49:21', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560096 -2.998845)'), GeomFromEWKT('SRID=4674;POINT (-39.560088 -2.998826)'))) / (select extract(epoch from '2026-07-18 07:49:21'::timestamp) - extract(epoch from '2026-07-18 07:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560096 -2.998845)'), GeomFromEWKT('SRID=4674;POINT (-39.560088 -2.998826)'))) / (select extract(epoch from '2026-07-18 07:49:21'::timestamp) - extract(epoch from '2026-07-18 07:46:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560078 -2.998821)', '2026-07-18 07:49:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560088 -2.998826)'), GeomFromEWKT('SRID=4674;POINT (-39.560078 -2.998821)'))) / (select extract(epoch from '2026-07-18 07:49:49'::timestamp) - extract(epoch from '2026-07-18 07:49:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560088 -2.998826)'), GeomFromEWKT('SRID=4674;POINT (-39.560078 -2.998821)'))) / (select extract(epoch from '2026-07-18 07:49:49'::timestamp) - extract(epoch from '2026-07-18 07:49: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'), 47846, 'SRID=4674;POINT (-39.56008 -2.998835)', '2026-07-18 07:51:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560078 -2.998821)'), GeomFromEWKT('SRID=4674;POINT (-39.56008 -2.998835)'))) / (select extract(epoch from '2026-07-18 07:51:07'::timestamp) - extract(epoch from '2026-07-18 07:49:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560078 -2.998821)'), GeomFromEWKT('SRID=4674;POINT (-39.56008 -2.998835)'))) / (select extract(epoch from '2026-07-18 07:51:07'::timestamp) - extract(epoch from '2026-07-18 07:49: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'), 47846, 'SRID=4674;POINT (-39.560078 -2.998843)', '2026-07-18 07:51:32', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56008 -2.998835)'), GeomFromEWKT('SRID=4674;POINT (-39.560078 -2.998843)'))) / (select extract(epoch from '2026-07-18 07:51:32'::timestamp) - extract(epoch from '2026-07-18 07:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56008 -2.998835)'), GeomFromEWKT('SRID=4674;POINT (-39.560078 -2.998843)'))) / (select extract(epoch from '2026-07-18 07:51:32'::timestamp) - extract(epoch from '2026-07-18 07:51: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'), 47846, 'SRID=4674;POINT (-39.560082 -2.998845)', '2026-07-18 07:51:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560078 -2.998843)'), GeomFromEWKT('SRID=4674;POINT (-39.560082 -2.998845)'))) / (select extract(epoch from '2026-07-18 07:51:38'::timestamp) - extract(epoch from '2026-07-18 07:51:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560078 -2.998843)'), GeomFromEWKT('SRID=4674;POINT (-39.560082 -2.998845)'))) / (select extract(epoch from '2026-07-18 07:51:38'::timestamp) - extract(epoch from '2026-07-18 07:51: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'), 47846, 'SRID=4674;POINT (-39.560077 -2.998848)', '2026-07-18 07:52:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560082 -2.998845)'), GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998848)'))) / (select extract(epoch from '2026-07-18 07:52:01'::timestamp) - extract(epoch from '2026-07-18 07:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560082 -2.998845)'), GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998848)'))) / (select extract(epoch from '2026-07-18 07:52:01'::timestamp) - extract(epoch from '2026-07-18 07:51: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'), 47846, 'SRID=4674;POINT (-39.560077 -2.998852)', '2026-07-18 07:52:04', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998848)'), GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998852)'))) / (select extract(epoch from '2026-07-18 07:52:04'::timestamp) - extract(epoch from '2026-07-18 07:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998848)'), GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998852)'))) / (select extract(epoch from '2026-07-18 07:52:04'::timestamp) - extract(epoch from '2026-07-18 07:52: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'), 47846, 'SRID=4674;POINT (-39.560081 -2.998853)', '2026-07-18 07:52:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998852)'), GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998853)'))) / (select extract(epoch from '2026-07-18 07:52:07'::timestamp) - extract(epoch from '2026-07-18 07:52:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998852)'), GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998853)'))) / (select extract(epoch from '2026-07-18 07:52:07'::timestamp) - extract(epoch from '2026-07-18 07:52: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'), 47846, 'SRID=4674;POINT (-39.560081 -2.998848)', '2026-07-18 07:52:14', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998853)'), GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998848)'))) / (select extract(epoch from '2026-07-18 07:52:14'::timestamp) - extract(epoch from '2026-07-18 07:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998853)'), GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998848)'))) / (select extract(epoch from '2026-07-18 07:52:14'::timestamp) - extract(epoch from '2026-07-18 07:52: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'), 47846, 'SRID=4674;POINT (-39.560097 -2.998852)', '2026-07-18 07:52:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998848)'), GeomFromEWKT('SRID=4674;POINT (-39.560097 -2.998852)'))) / (select extract(epoch from '2026-07-18 07:52:37'::timestamp) - extract(epoch from '2026-07-18 07:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998848)'), GeomFromEWKT('SRID=4674;POINT (-39.560097 -2.998852)'))) / (select extract(epoch from '2026-07-18 07:52:37'::timestamp) - extract(epoch from '2026-07-18 07:52: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'), 47846, 'SRID=4674;POINT (-39.5601 -2.998851)', '2026-07-18 07:53:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560097 -2.998852)'), GeomFromEWKT('SRID=4674;POINT (-39.5601 -2.998851)'))) / (select extract(epoch from '2026-07-18 07:53:00'::timestamp) - extract(epoch from '2026-07-18 07:52:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560097 -2.998852)'), GeomFromEWKT('SRID=4674;POINT (-39.5601 -2.998851)'))) / (select extract(epoch from '2026-07-18 07:53:00'::timestamp) - extract(epoch from '2026-07-18 07:52:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560107 -2.99886)', '2026-07-18 07:53:15', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5601 -2.998851)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.99886)'))) / (select extract(epoch from '2026-07-18 07:53:15'::timestamp) - extract(epoch from '2026-07-18 07:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5601 -2.998851)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.99886)'))) / (select extract(epoch from '2026-07-18 07:53:15'::timestamp) - extract(epoch from '2026-07-18 07:53: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'), 47846, 'SRID=4674;POINT (-39.560109 -2.998859)', '2026-07-18 07:53:21', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.99886)'), GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998859)'))) / (select extract(epoch from '2026-07-18 07:53:21'::timestamp) - extract(epoch from '2026-07-18 07:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.99886)'), GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998859)'))) / (select extract(epoch from '2026-07-18 07:53:21'::timestamp) - extract(epoch from '2026-07-18 07:53: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'), 47846, 'SRID=4674;POINT (-39.56011 -2.998872)', '2026-07-18 07:54:24', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998859)'), GeomFromEWKT('SRID=4674;POINT (-39.56011 -2.998872)'))) / (select extract(epoch from '2026-07-18 07:54:24'::timestamp) - extract(epoch from '2026-07-18 07:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998859)'), GeomFromEWKT('SRID=4674;POINT (-39.56011 -2.998872)'))) / (select extract(epoch from '2026-07-18 07:54:24'::timestamp) - extract(epoch from '2026-07-18 07:53: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'), 47846, 'SRID=4674;POINT (-39.560132 -2.998866)', '2026-07-18 07:54:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56011 -2.998872)'), GeomFromEWKT('SRID=4674;POINT (-39.560132 -2.998866)'))) / (select extract(epoch from '2026-07-18 07:54:49'::timestamp) - extract(epoch from '2026-07-18 07:54:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56011 -2.998872)'), GeomFromEWKT('SRID=4674;POINT (-39.560132 -2.998866)'))) / (select extract(epoch from '2026-07-18 07:54:49'::timestamp) - extract(epoch from '2026-07-18 07:54: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'), 47846, 'SRID=4674;POINT (-39.560128 -2.998872)', '2026-07-18 07:54:59', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560132 -2.998866)'), GeomFromEWKT('SRID=4674;POINT (-39.560128 -2.998872)'))) / (select extract(epoch from '2026-07-18 07:54:59'::timestamp) - extract(epoch from '2026-07-18 07:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560132 -2.998866)'), GeomFromEWKT('SRID=4674;POINT (-39.560128 -2.998872)'))) / (select extract(epoch from '2026-07-18 07:54:59'::timestamp) - extract(epoch from '2026-07-18 07:54: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'), 47846, 'SRID=4674;POINT (-39.560129 -2.998866)', '2026-07-18 07:55:06', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560128 -2.998872)'), GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998866)'))) / (select extract(epoch from '2026-07-18 07:55:06'::timestamp) - extract(epoch from '2026-07-18 07:54:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560128 -2.998872)'), GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998866)'))) / (select extract(epoch from '2026-07-18 07:55:06'::timestamp) - extract(epoch from '2026-07-18 07:54: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'), 47846, 'SRID=4674;POINT (-39.560129 -2.998891)', '2026-07-18 07:55:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998866)'), GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998891)'))) / (select extract(epoch from '2026-07-18 07:55:25'::timestamp) - extract(epoch from '2026-07-18 07:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998866)'), GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998891)'))) / (select extract(epoch from '2026-07-18 07:55:25'::timestamp) - extract(epoch from '2026-07-18 07:55: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'), 47846, 'SRID=4674;POINT (-39.560116 -2.998897)', '2026-07-18 07:55:36', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998891)'), GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998897)'))) / (select extract(epoch from '2026-07-18 07:55:36'::timestamp) - extract(epoch from '2026-07-18 07:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998891)'), GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998897)'))) / (select extract(epoch from '2026-07-18 07:55:36'::timestamp) - extract(epoch from '2026-07-18 07:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.56014 -2.99889)', '2026-07-18 07:56:10', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998897)'), GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.99889)'))) / (select extract(epoch from '2026-07-18 07:56:10'::timestamp) - extract(epoch from '2026-07-18 07:55:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998897)'), GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.99889)'))) / (select extract(epoch from '2026-07-18 07:56:10'::timestamp) - extract(epoch from '2026-07-18 07: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'), 47846, 'SRID=4674;POINT (-39.560125 -2.998898)', '2026-07-18 07:56:45', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.99889)'), GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998898)'))) / (select extract(epoch from '2026-07-18 07:56:45'::timestamp) - extract(epoch from '2026-07-18 07:56:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.99889)'), GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998898)'))) / (select extract(epoch from '2026-07-18 07:56:45'::timestamp) - extract(epoch from '2026-07-18 07:56: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'), 47846, 'SRID=4674;POINT (-39.56011 -2.998897)', '2026-07-18 07:57:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998898)'), GeomFromEWKT('SRID=4674;POINT (-39.56011 -2.998897)'))) / (select extract(epoch from '2026-07-18 07:57:56'::timestamp) - extract(epoch from '2026-07-18 07:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998898)'), GeomFromEWKT('SRID=4674;POINT (-39.56011 -2.998897)'))) / (select extract(epoch from '2026-07-18 07:57:56'::timestamp) - extract(epoch from '2026-07-18 07:56: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'), 47846, 'SRID=4674;POINT (-39.560108 -2.998907)', '2026-07-18 07:58:31', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56011 -2.998897)'), GeomFromEWKT('SRID=4674;POINT (-39.560108 -2.998907)'))) / (select extract(epoch from '2026-07-18 07:58:31'::timestamp) - extract(epoch from '2026-07-18 07:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56011 -2.998897)'), GeomFromEWKT('SRID=4674;POINT (-39.560108 -2.998907)'))) / (select extract(epoch from '2026-07-18 07:58:31'::timestamp) - extract(epoch from '2026-07-18 07:57: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'), 47846, 'SRID=4674;POINT (-39.560109 -2.998907)', '2026-07-18 07:58:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560108 -2.998907)'), GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998907)'))) / (select extract(epoch from '2026-07-18 07:58:37'::timestamp) - extract(epoch from '2026-07-18 07:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560108 -2.998907)'), GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998907)'))) / (select extract(epoch from '2026-07-18 07:58:37'::timestamp) - extract(epoch from '2026-07-18 07:58: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'), 47846, 'SRID=4674;POINT (-39.560105 -2.998909)', '2026-07-18 07:58:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998907)'), GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998909)'))) / (select extract(epoch from '2026-07-18 07:58:46'::timestamp) - extract(epoch from '2026-07-18 07:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998907)'), GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998909)'))) / (select extract(epoch from '2026-07-18 07:58:46'::timestamp) - extract(epoch from '2026-07-18 07:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560111 -2.998913)', '2026-07-18 07:59:31', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998909)'), GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998913)'))) / (select extract(epoch from '2026-07-18 07:59:31'::timestamp) - extract(epoch from '2026-07-18 07:58:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560105 -2.998909)'), GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998913)'))) / (select extract(epoch from '2026-07-18 07:59:31'::timestamp) - extract(epoch from '2026-07-18 07:58:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560113 -2.998898)', '2026-07-18 07:59:55', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998913)'), GeomFromEWKT('SRID=4674;POINT (-39.560113 -2.998898)'))) / (select extract(epoch from '2026-07-18 07:59:55'::timestamp) - extract(epoch from '2026-07-18 07:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998913)'), GeomFromEWKT('SRID=4674;POINT (-39.560113 -2.998898)'))) / (select extract(epoch from '2026-07-18 07:59:55'::timestamp) - extract(epoch from '2026-07-18 07:59: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'), 47846, 'SRID=4674;POINT (-39.560116 -2.998887)', '2026-07-18 08:00:03', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560113 -2.998898)'), GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998887)'))) / (select extract(epoch from '2026-07-18 08:00:03'::timestamp) - extract(epoch from '2026-07-18 07:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560113 -2.998898)'), GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998887)'))) / (select extract(epoch from '2026-07-18 08:00:03'::timestamp) - extract(epoch from '2026-07-18 07:59: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'), 47846, 'SRID=4674;POINT (-39.560088 -2.998847)', '2026-07-18 08:01:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998887)'), GeomFromEWKT('SRID=4674;POINT (-39.560088 -2.998847)'))) / (select extract(epoch from '2026-07-18 08:01:07'::timestamp) - extract(epoch from '2026-07-18 08:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998887)'), GeomFromEWKT('SRID=4674;POINT (-39.560088 -2.998847)'))) / (select extract(epoch from '2026-07-18 08:01:07'::timestamp) - extract(epoch from '2026-07-18 08:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560082 -2.99885)', '2026-07-18 08:01:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560088 -2.998847)'), GeomFromEWKT('SRID=4674;POINT (-39.560082 -2.99885)'))) / (select extract(epoch from '2026-07-18 08:01:19'::timestamp) - extract(epoch from '2026-07-18 08:01:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560088 -2.998847)'), GeomFromEWKT('SRID=4674;POINT (-39.560082 -2.99885)'))) / (select extract(epoch from '2026-07-18 08:01:19'::timestamp) - extract(epoch from '2026-07-18 08:01: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'), 47846, 'SRID=4674;POINT (-39.560057 -2.998839)', '2026-07-18 08:02:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560082 -2.99885)'), GeomFromEWKT('SRID=4674;POINT (-39.560057 -2.998839)'))) / (select extract(epoch from '2026-07-18 08:02:24'::timestamp) - extract(epoch from '2026-07-18 08:01:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560082 -2.99885)'), GeomFromEWKT('SRID=4674;POINT (-39.560057 -2.998839)'))) / (select extract(epoch from '2026-07-18 08:02:24'::timestamp) - extract(epoch from '2026-07-18 08:01: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'), 47846, 'SRID=4674;POINT (-39.560056 -2.998822)', '2026-07-18 08:02:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560057 -2.998839)'), GeomFromEWKT('SRID=4674;POINT (-39.560056 -2.998822)'))) / (select extract(epoch from '2026-07-18 08:02:48'::timestamp) - extract(epoch from '2026-07-18 08:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560057 -2.998839)'), GeomFromEWKT('SRID=4674;POINT (-39.560056 -2.998822)'))) / (select extract(epoch from '2026-07-18 08:02:48'::timestamp) - extract(epoch from '2026-07-18 08:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560045 -2.998815)', '2026-07-18 08:04:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560056 -2.998822)'), GeomFromEWKT('SRID=4674;POINT (-39.560045 -2.998815)'))) / (select extract(epoch from '2026-07-18 08:04:11'::timestamp) - extract(epoch from '2026-07-18 08:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560056 -2.998822)'), GeomFromEWKT('SRID=4674;POINT (-39.560045 -2.998815)'))) / (select extract(epoch from '2026-07-18 08:04:11'::timestamp) - extract(epoch from '2026-07-18 08:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560046 -2.998814)', '2026-07-18 08:04:17', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560045 -2.998815)'), GeomFromEWKT('SRID=4674;POINT (-39.560046 -2.998814)'))) / (select extract(epoch from '2026-07-18 08:04:17'::timestamp) - extract(epoch from '2026-07-18 08:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560045 -2.998815)'), GeomFromEWKT('SRID=4674;POINT (-39.560046 -2.998814)'))) / (select extract(epoch from '2026-07-18 08:04:17'::timestamp) - extract(epoch from '2026-07-18 08:04:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560047 -2.99882)', '2026-07-18 08:04:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560046 -2.998814)'), GeomFromEWKT('SRID=4674;POINT (-39.560047 -2.99882)'))) / (select extract(epoch from '2026-07-18 08:04:43'::timestamp) - extract(epoch from '2026-07-18 08:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560046 -2.998814)'), GeomFromEWKT('SRID=4674;POINT (-39.560047 -2.99882)'))) / (select extract(epoch from '2026-07-18 08:04:43'::timestamp) - extract(epoch from '2026-07-18 08:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560053 -2.998823)', '2026-07-18 08:05:24', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560047 -2.99882)'), GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998823)'))) / (select extract(epoch from '2026-07-18 08:05:24'::timestamp) - extract(epoch from '2026-07-18 08:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560047 -2.99882)'), GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998823)'))) / (select extract(epoch from '2026-07-18 08:05:24'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.560053 -2.998823)', '2026-07-18 08:06:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998823)'), GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998823)'))) / (select extract(epoch from '2026-07-18 08:06:19'::timestamp) - extract(epoch from '2026-07-18 08:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998823)'), GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998823)'))) / (select extract(epoch from '2026-07-18 08:06:19'::timestamp) - extract(epoch from '2026-07-18 08:05: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'), 47846, 'SRID=4674;POINT (-39.560009 -2.998777)', '2026-07-18 08:07:48', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998823)'), GeomFromEWKT('SRID=4674;POINT (-39.560009 -2.998777)'))) / (select extract(epoch from '2026-07-18 08:07:48'::timestamp) - extract(epoch from '2026-07-18 08:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998823)'), GeomFromEWKT('SRID=4674;POINT (-39.560009 -2.998777)'))) / (select extract(epoch from '2026-07-18 08:07:48'::timestamp) - extract(epoch from '2026-07-18 08:06: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'), 47846, 'SRID=4674;POINT (-39.560015 -2.998787)', '2026-07-18 08:08:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560009 -2.998777)'), GeomFromEWKT('SRID=4674;POINT (-39.560015 -2.998787)'))) / (select extract(epoch from '2026-07-18 08:08:01'::timestamp) - extract(epoch from '2026-07-18 08:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560009 -2.998777)'), GeomFromEWKT('SRID=4674;POINT (-39.560015 -2.998787)'))) / (select extract(epoch from '2026-07-18 08:08:01'::timestamp) - extract(epoch from '2026-07-18 08:07: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'), 47846, 'SRID=4674;POINT (-39.560014 -2.998779)', '2026-07-18 08:08:06', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560015 -2.998787)'), GeomFromEWKT('SRID=4674;POINT (-39.560014 -2.998779)'))) / (select extract(epoch from '2026-07-18 08:08:06'::timestamp) - extract(epoch from '2026-07-18 08:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560015 -2.998787)'), GeomFromEWKT('SRID=4674;POINT (-39.560014 -2.998779)'))) / (select extract(epoch from '2026-07-18 08:08:06'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.560012 -2.998775)', '2026-07-18 08:08:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560014 -2.998779)'), GeomFromEWKT('SRID=4674;POINT (-39.560012 -2.998775)'))) / (select extract(epoch from '2026-07-18 08:08:19'::timestamp) - extract(epoch from '2026-07-18 08:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560014 -2.998779)'), GeomFromEWKT('SRID=4674;POINT (-39.560012 -2.998775)'))) / (select extract(epoch from '2026-07-18 08:08:19'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.560013 -2.998774)', '2026-07-18 08:08:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560012 -2.998775)'), GeomFromEWKT('SRID=4674;POINT (-39.560013 -2.998774)'))) / (select extract(epoch from '2026-07-18 08:08:33'::timestamp) - extract(epoch from '2026-07-18 08:08:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560012 -2.998775)'), GeomFromEWKT('SRID=4674;POINT (-39.560013 -2.998774)'))) / (select extract(epoch from '2026-07-18 08:08:33'::timestamp) - extract(epoch from '2026-07-18 08:08: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'), 47846, 'SRID=4674;POINT (-39.560003 -2.998768)', '2026-07-18 08:09:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560013 -2.998774)'), GeomFromEWKT('SRID=4674;POINT (-39.560003 -2.998768)'))) / (select extract(epoch from '2026-07-18 08:09:02'::timestamp) - extract(epoch from '2026-07-18 08:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560013 -2.998774)'), GeomFromEWKT('SRID=4674;POINT (-39.560003 -2.998768)'))) / (select extract(epoch from '2026-07-18 08:09:02'::timestamp) - extract(epoch from '2026-07-18 08:08:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560011 -2.998765)', '2026-07-18 08:09:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560003 -2.998768)'), GeomFromEWKT('SRID=4674;POINT (-39.560011 -2.998765)'))) / (select extract(epoch from '2026-07-18 08:09:08'::timestamp) - extract(epoch from '2026-07-18 08:09:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560003 -2.998768)'), GeomFromEWKT('SRID=4674;POINT (-39.560011 -2.998765)'))) / (select extract(epoch from '2026-07-18 08:09:08'::timestamp) - extract(epoch from '2026-07-18 08:09: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'), 47846, 'SRID=4674;POINT (-39.559979 -2.99874)', '2026-07-18 08:09:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560011 -2.998765)'), GeomFromEWKT('SRID=4674;POINT (-39.559979 -2.99874)'))) / (select extract(epoch from '2026-07-18 08:09:58'::timestamp) - extract(epoch from '2026-07-18 08:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560011 -2.998765)'), GeomFromEWKT('SRID=4674;POINT (-39.559979 -2.99874)'))) / (select extract(epoch from '2026-07-18 08:09:58'::timestamp) - extract(epoch from '2026-07-18 08:09: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'), 47846, 'SRID=4674;POINT (-39.559993 -2.998741)', '2026-07-18 08:10:51', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559979 -2.99874)'), GeomFromEWKT('SRID=4674;POINT (-39.559993 -2.998741)'))) / (select extract(epoch from '2026-07-18 08:10:51'::timestamp) - extract(epoch from '2026-07-18 08:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559979 -2.99874)'), GeomFromEWKT('SRID=4674;POINT (-39.559993 -2.998741)'))) / (select extract(epoch from '2026-07-18 08:10:51'::timestamp) - extract(epoch from '2026-07-18 08:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.55998 -2.998732)', '2026-07-18 08:11:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559993 -2.998741)'), GeomFromEWKT('SRID=4674;POINT (-39.55998 -2.998732)'))) / (select extract(epoch from '2026-07-18 08:11:21'::timestamp) - extract(epoch from '2026-07-18 08:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559993 -2.998741)'), GeomFromEWKT('SRID=4674;POINT (-39.55998 -2.998732)'))) / (select extract(epoch from '2026-07-18 08:11:21'::timestamp) - extract(epoch from '2026-07-18 08:10: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'), 47846, 'SRID=4674;POINT (-39.559986 -2.99874)', '2026-07-18 08:11:23', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55998 -2.998732)'), GeomFromEWKT('SRID=4674;POINT (-39.559986 -2.99874)'))) / (select extract(epoch from '2026-07-18 08:11:23'::timestamp) - extract(epoch from '2026-07-18 08:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55998 -2.998732)'), GeomFromEWKT('SRID=4674;POINT (-39.559986 -2.99874)'))) / (select extract(epoch from '2026-07-18 08:11:23'::timestamp) - extract(epoch from '2026-07-18 08:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559984 -2.998735)', '2026-07-18 08:11:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559986 -2.99874)'), GeomFromEWKT('SRID=4674;POINT (-39.559984 -2.998735)'))) / (select extract(epoch from '2026-07-18 08:11:31'::timestamp) - extract(epoch from '2026-07-18 08:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559986 -2.99874)'), GeomFromEWKT('SRID=4674;POINT (-39.559984 -2.998735)'))) / (select extract(epoch from '2026-07-18 08:11:31'::timestamp) - extract(epoch from '2026-07-18 08:11:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559968 -2.998723)', '2026-07-18 08:11:50', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559984 -2.998735)'), GeomFromEWKT('SRID=4674;POINT (-39.559968 -2.998723)'))) / (select extract(epoch from '2026-07-18 08:11:50'::timestamp) - extract(epoch from '2026-07-18 08:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559984 -2.998735)'), GeomFromEWKT('SRID=4674;POINT (-39.559968 -2.998723)'))) / (select extract(epoch from '2026-07-18 08:11:50'::timestamp) - extract(epoch from '2026-07-18 08:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559991 -2.998743)', '2026-07-18 08:13:02', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559968 -2.998723)'), GeomFromEWKT('SRID=4674;POINT (-39.559991 -2.998743)'))) / (select extract(epoch from '2026-07-18 08:13:02'::timestamp) - extract(epoch from '2026-07-18 08:11:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559968 -2.998723)'), GeomFromEWKT('SRID=4674;POINT (-39.559991 -2.998743)'))) / (select extract(epoch from '2026-07-18 08:13:02'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559988 -2.998745)', '2026-07-18 08:13:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559991 -2.998743)'), GeomFromEWKT('SRID=4674;POINT (-39.559988 -2.998745)'))) / (select extract(epoch from '2026-07-18 08:13:12'::timestamp) - extract(epoch from '2026-07-18 08:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559991 -2.998743)'), GeomFromEWKT('SRID=4674;POINT (-39.559988 -2.998745)'))) / (select extract(epoch from '2026-07-18 08:13:12'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559968 -2.998742)', '2026-07-18 08:13:42', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559988 -2.998745)'), GeomFromEWKT('SRID=4674;POINT (-39.559968 -2.998742)'))) / (select extract(epoch from '2026-07-18 08:13:42'::timestamp) - extract(epoch from '2026-07-18 08:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559988 -2.998745)'), GeomFromEWKT('SRID=4674;POINT (-39.559968 -2.998742)'))) / (select extract(epoch from '2026-07-18 08:13:42'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559979 -2.998741)', '2026-07-18 08:14:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559968 -2.998742)'), GeomFromEWKT('SRID=4674;POINT (-39.559979 -2.998741)'))) / (select extract(epoch from '2026-07-18 08:14:21'::timestamp) - extract(epoch from '2026-07-18 08:13:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559968 -2.998742)'), GeomFromEWKT('SRID=4674;POINT (-39.559979 -2.998741)'))) / (select extract(epoch from '2026-07-18 08:14:21'::timestamp) - extract(epoch from '2026-07-18 08:13:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559978 -2.998739)', '2026-07-18 08:14:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559979 -2.998741)'), GeomFromEWKT('SRID=4674;POINT (-39.559978 -2.998739)'))) / (select extract(epoch from '2026-07-18 08:14:37'::timestamp) - extract(epoch from '2026-07-18 08:14:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559979 -2.998741)'), GeomFromEWKT('SRID=4674;POINT (-39.559978 -2.998739)'))) / (select extract(epoch from '2026-07-18 08:14:37'::timestamp) - extract(epoch from '2026-07-18 08:14: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'), 47846, 'SRID=4674;POINT (-39.55998 -2.998743)', '2026-07-18 08:14:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559978 -2.998739)'), GeomFromEWKT('SRID=4674;POINT (-39.55998 -2.998743)'))) / (select extract(epoch from '2026-07-18 08:14:46'::timestamp) - extract(epoch from '2026-07-18 08:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559978 -2.998739)'), GeomFromEWKT('SRID=4674;POINT (-39.55998 -2.998743)'))) / (select extract(epoch from '2026-07-18 08:14:46'::timestamp) - extract(epoch from '2026-07-18 08:14: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'), 47846, 'SRID=4674;POINT (-39.559964 -2.998739)', '2026-07-18 08:15:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55998 -2.998743)'), GeomFromEWKT('SRID=4674;POINT (-39.559964 -2.998739)'))) / (select extract(epoch from '2026-07-18 08:15:00'::timestamp) - extract(epoch from '2026-07-18 08:14:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55998 -2.998743)'), GeomFromEWKT('SRID=4674;POINT (-39.559964 -2.998739)'))) / (select extract(epoch from '2026-07-18 08:15:00'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559965 -2.998738)', '2026-07-18 08:15:28', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559964 -2.998739)'), GeomFromEWKT('SRID=4674;POINT (-39.559965 -2.998738)'))) / (select extract(epoch from '2026-07-18 08:15:28'::timestamp) - extract(epoch from '2026-07-18 08:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559964 -2.998739)'), GeomFromEWKT('SRID=4674;POINT (-39.559965 -2.998738)'))) / (select extract(epoch from '2026-07-18 08:15:28'::timestamp) - extract(epoch from '2026-07-18 08:15: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'), 47846, 'SRID=4674;POINT (-39.559988 -2.998763)', '2026-07-18 08:16:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559965 -2.998738)'), GeomFromEWKT('SRID=4674;POINT (-39.559988 -2.998763)'))) / (select extract(epoch from '2026-07-18 08:16:13'::timestamp) - extract(epoch from '2026-07-18 08:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559965 -2.998738)'), GeomFromEWKT('SRID=4674;POINT (-39.559988 -2.998763)'))) / (select extract(epoch from '2026-07-18 08:16:13'::timestamp) - extract(epoch from '2026-07-18 08:15:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560002 -2.998762)', '2026-07-18 08:16:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559988 -2.998763)'), GeomFromEWKT('SRID=4674;POINT (-39.560002 -2.998762)'))) / (select extract(epoch from '2026-07-18 08:16:32'::timestamp) - extract(epoch from '2026-07-18 08:16:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559988 -2.998763)'), GeomFromEWKT('SRID=4674;POINT (-39.560002 -2.998762)'))) / (select extract(epoch from '2026-07-18 08:16:32'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.560019 -2.998765)', '2026-07-18 08:16:44', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560002 -2.998762)'), GeomFromEWKT('SRID=4674;POINT (-39.560019 -2.998765)'))) / (select extract(epoch from '2026-07-18 08:16:44'::timestamp) - extract(epoch from '2026-07-18 08:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560002 -2.998762)'), GeomFromEWKT('SRID=4674;POINT (-39.560019 -2.998765)'))) / (select extract(epoch from '2026-07-18 08:16:44'::timestamp) - extract(epoch from '2026-07-18 08:16: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'), 47846, 'SRID=4674;POINT (-39.560013 -2.998739)', '2026-07-18 08:17:58', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560019 -2.998765)'), GeomFromEWKT('SRID=4674;POINT (-39.560013 -2.998739)'))) / (select extract(epoch from '2026-07-18 08:17:58'::timestamp) - extract(epoch from '2026-07-18 08:16:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560019 -2.998765)'), GeomFromEWKT('SRID=4674;POINT (-39.560013 -2.998739)'))) / (select extract(epoch from '2026-07-18 08:17:58'::timestamp) - extract(epoch from '2026-07-18 08:16:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560053 -2.998714)', '2026-07-18 08:18:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560013 -2.998739)'), GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998714)'))) / (select extract(epoch from '2026-07-18 08:18:07'::timestamp) - extract(epoch from '2026-07-18 08:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560013 -2.998739)'), GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998714)'))) / (select extract(epoch from '2026-07-18 08:18:07'::timestamp) - extract(epoch from '2026-07-18 08:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560081 -2.998698)', '2026-07-18 08:18:12', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998714)'), GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998698)'))) / (select extract(epoch from '2026-07-18 08:18:12'::timestamp) - extract(epoch from '2026-07-18 08:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560053 -2.998714)'), GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998698)'))) / (select extract(epoch from '2026-07-18 08:18:12'::timestamp) - extract(epoch from '2026-07-18 08:18: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'), 47846, 'SRID=4674;POINT (-39.560107 -2.998639)', '2026-07-18 08:18:25', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998698)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998639)'))) / (select extract(epoch from '2026-07-18 08:18:25'::timestamp) - extract(epoch from '2026-07-18 08:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.998698)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998639)'))) / (select extract(epoch from '2026-07-18 08:18:25'::timestamp) - extract(epoch from '2026-07-18 08:18: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'), 47846, 'SRID=4674;POINT (-39.560124 -2.998637)', '2026-07-18 08:18:34', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998639)'), GeomFromEWKT('SRID=4674;POINT (-39.560124 -2.998637)'))) / (select extract(epoch from '2026-07-18 08:18:34'::timestamp) - extract(epoch from '2026-07-18 08:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998639)'), GeomFromEWKT('SRID=4674;POINT (-39.560124 -2.998637)'))) / (select extract(epoch from '2026-07-18 08:18:34'::timestamp) - extract(epoch from '2026-07-18 08:18:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560116 -2.998645)', '2026-07-18 08:19:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560124 -2.998637)'), GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998645)'))) / (select extract(epoch from '2026-07-18 08:19:33'::timestamp) - extract(epoch from '2026-07-18 08:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560124 -2.998637)'), GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998645)'))) / (select extract(epoch from '2026-07-18 08:19:33'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.560112 -2.998648)', '2026-07-18 08:19:36', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998645)'), GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998648)'))) / (select extract(epoch from '2026-07-18 08:19:36'::timestamp) - extract(epoch from '2026-07-18 08:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998645)'), GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998648)'))) / (select extract(epoch from '2026-07-18 08:19:36'::timestamp) - extract(epoch from '2026-07-18 08:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560111 -2.998643)', '2026-07-18 08:19:52', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998648)'), GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998643)'))) / (select extract(epoch from '2026-07-18 08:19:52'::timestamp) - extract(epoch from '2026-07-18 08:19:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998648)'), GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998643)'))) / (select extract(epoch from '2026-07-18 08:19:52'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.560107 -2.998642)', '2026-07-18 08:19:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998643)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998642)'))) / (select extract(epoch from '2026-07-18 08:19:57'::timestamp) - extract(epoch from '2026-07-18 08:19:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998643)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998642)'))) / (select extract(epoch from '2026-07-18 08:19:57'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.560109 -2.998643)', '2026-07-18 08:20:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998642)'), GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998643)'))) / (select extract(epoch from '2026-07-18 08:20:11'::timestamp) - extract(epoch from '2026-07-18 08:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.998642)'), GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998643)'))) / (select extract(epoch from '2026-07-18 08:20:11'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.560107 -2.99863)', '2026-07-18 08:20:15', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998643)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.99863)'))) / (select extract(epoch from '2026-07-18 08:20:15'::timestamp) - extract(epoch from '2026-07-18 08:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998643)'), GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.99863)'))) / (select extract(epoch from '2026-07-18 08:20:15'::timestamp) - extract(epoch from '2026-07-18 08:20: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'), 47846, 'SRID=4674;POINT (-39.560109 -2.998637)', '2026-07-18 08:20:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.99863)'), GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998637)'))) / (select extract(epoch from '2026-07-18 08:20:21'::timestamp) - extract(epoch from '2026-07-18 08:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560107 -2.99863)'), GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998637)'))) / (select extract(epoch from '2026-07-18 08:20:21'::timestamp) - extract(epoch from '2026-07-18 08:20: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'), 47846, 'SRID=4674;POINT (-39.560109 -2.998631)', '2026-07-18 08:20:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998637)'), GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998631)'))) / (select extract(epoch from '2026-07-18 08:20:35'::timestamp) - extract(epoch from '2026-07-18 08:20:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998637)'), GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998631)'))) / (select extract(epoch from '2026-07-18 08:20:35'::timestamp) - extract(epoch from '2026-07-18 08:20:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560101 -2.998624)', '2026-07-18 08:20:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998631)'), GeomFromEWKT('SRID=4674;POINT (-39.560101 -2.998624)'))) / (select extract(epoch from '2026-07-18 08:20:59'::timestamp) - extract(epoch from '2026-07-18 08:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560109 -2.998631)'), GeomFromEWKT('SRID=4674;POINT (-39.560101 -2.998624)'))) / (select extract(epoch from '2026-07-18 08:20:59'::timestamp) - extract(epoch from '2026-07-18 08:20: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'), 47846, 'SRID=4674;POINT (-39.560095 -2.998609)', '2026-07-18 08:21:23', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560101 -2.998624)'), GeomFromEWKT('SRID=4674;POINT (-39.560095 -2.998609)'))) / (select extract(epoch from '2026-07-18 08:21:23'::timestamp) - extract(epoch from '2026-07-18 08:20:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560101 -2.998624)'), GeomFromEWKT('SRID=4674;POINT (-39.560095 -2.998609)'))) / (select extract(epoch from '2026-07-18 08:21:23'::timestamp) - extract(epoch from '2026-07-18 08:20:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560099 -2.998619)', '2026-07-18 08:21:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560095 -2.998609)'), GeomFromEWKT('SRID=4674;POINT (-39.560099 -2.998619)'))) / (select extract(epoch from '2026-07-18 08:21:45'::timestamp) - extract(epoch from '2026-07-18 08:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560095 -2.998609)'), GeomFromEWKT('SRID=4674;POINT (-39.560099 -2.998619)'))) / (select extract(epoch from '2026-07-18 08:21:45'::timestamp) - extract(epoch from '2026-07-18 08:21: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'), 47846, 'SRID=4674;POINT (-39.560119 -2.998619)', '2026-07-18 08:22:03', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560099 -2.998619)'), GeomFromEWKT('SRID=4674;POINT (-39.560119 -2.998619)'))) / (select extract(epoch from '2026-07-18 08:22:03'::timestamp) - extract(epoch from '2026-07-18 08:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560099 -2.998619)'), GeomFromEWKT('SRID=4674;POINT (-39.560119 -2.998619)'))) / (select extract(epoch from '2026-07-18 08:22:03'::timestamp) - extract(epoch from '2026-07-18 08:21: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'), 47846, 'SRID=4674;POINT (-39.560118 -2.998625)', '2026-07-18 08:22:24', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560119 -2.998619)'), GeomFromEWKT('SRID=4674;POINT (-39.560118 -2.998625)'))) / (select extract(epoch from '2026-07-18 08:22:24'::timestamp) - extract(epoch from '2026-07-18 08:22:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560119 -2.998619)'), GeomFromEWKT('SRID=4674;POINT (-39.560118 -2.998625)'))) / (select extract(epoch from '2026-07-18 08:22:24'::timestamp) - extract(epoch from '2026-07-18 08:22: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'), 47846, 'SRID=4674;POINT (-39.560118 -2.998625)', '2026-07-18 08:22:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560118 -2.998625)'), GeomFromEWKT('SRID=4674;POINT (-39.560118 -2.998625)'))) / (select extract(epoch from '2026-07-18 08:22:27'::timestamp) - extract(epoch from '2026-07-18 08:22:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560118 -2.998625)'), GeomFromEWKT('SRID=4674;POINT (-39.560118 -2.998625)'))) / (select extract(epoch from '2026-07-18 08:22:27'::timestamp) - extract(epoch from '2026-07-18 08:22: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'), 47846, 'SRID=4674;POINT (-39.560117 -2.99863)', '2026-07-18 08:22:35', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560118 -2.998625)'), GeomFromEWKT('SRID=4674;POINT (-39.560117 -2.99863)'))) / (select extract(epoch from '2026-07-18 08:22:35'::timestamp) - extract(epoch from '2026-07-18 08:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560118 -2.998625)'), GeomFromEWKT('SRID=4674;POINT (-39.560117 -2.99863)'))) / (select extract(epoch from '2026-07-18 08:22:35'::timestamp) - extract(epoch from '2026-07-18 08:22: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'), 47846, 'SRID=4674;POINT (-39.560112 -2.998628)', '2026-07-18 08:22:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560117 -2.99863)'), GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998628)'))) / (select extract(epoch from '2026-07-18 08:22:50'::timestamp) - extract(epoch from '2026-07-18 08:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560117 -2.99863)'), GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998628)'))) / (select extract(epoch from '2026-07-18 08:22:50'::timestamp) - extract(epoch from '2026-07-18 08:22: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'), 47846, 'SRID=4674;POINT (-39.560114 -2.99864)', '2026-07-18 08:23:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998628)'), GeomFromEWKT('SRID=4674;POINT (-39.560114 -2.99864)'))) / (select extract(epoch from '2026-07-18 08:23:01'::timestamp) - extract(epoch from '2026-07-18 08:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998628)'), GeomFromEWKT('SRID=4674;POINT (-39.560114 -2.99864)'))) / (select extract(epoch from '2026-07-18 08:23:01'::timestamp) - extract(epoch from '2026-07-18 08:22:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.56014 -2.998639)', '2026-07-18 08:23:58', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560114 -2.99864)'), GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998639)'))) / (select extract(epoch from '2026-07-18 08:23:58'::timestamp) - extract(epoch from '2026-07-18 08:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560114 -2.99864)'), GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998639)'))) / (select extract(epoch from '2026-07-18 08:23:58'::timestamp) - extract(epoch from '2026-07-18 08:23: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'), 47846, 'SRID=4674;POINT (-39.560135 -2.998643)', '2026-07-18 08:24:01', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998639)'), GeomFromEWKT('SRID=4674;POINT (-39.560135 -2.998643)'))) / (select extract(epoch from '2026-07-18 08:24:01'::timestamp) - extract(epoch from '2026-07-18 08:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998639)'), GeomFromEWKT('SRID=4674;POINT (-39.560135 -2.998643)'))) / (select extract(epoch from '2026-07-18 08:24:01'::timestamp) - extract(epoch from '2026-07-18 08:23:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560129 -2.998652)', '2026-07-18 08:24:10', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560135 -2.998643)'), GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998652)'))) / (select extract(epoch from '2026-07-18 08:24:10'::timestamp) - extract(epoch from '2026-07-18 08:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560135 -2.998643)'), GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998652)'))) / (select extract(epoch from '2026-07-18 08:24:10'::timestamp) - extract(epoch from '2026-07-18 08:24: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'), 47846, 'SRID=4674;POINT (-39.560128 -2.998648)', '2026-07-18 08:24:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998652)'), GeomFromEWKT('SRID=4674;POINT (-39.560128 -2.998648)'))) / (select extract(epoch from '2026-07-18 08:24:25'::timestamp) - extract(epoch from '2026-07-18 08:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560129 -2.998652)'), GeomFromEWKT('SRID=4674;POINT (-39.560128 -2.998648)'))) / (select extract(epoch from '2026-07-18 08:24:25'::timestamp) - extract(epoch from '2026-07-18 08:24: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'), 47846, 'SRID=4674;POINT (-39.560111 -2.998636)', '2026-07-18 08:24:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560128 -2.998648)'), GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998636)'))) / (select extract(epoch from '2026-07-18 08:24:52'::timestamp) - extract(epoch from '2026-07-18 08:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560128 -2.998648)'), GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998636)'))) / (select extract(epoch from '2026-07-18 08:24:52'::timestamp) - extract(epoch from '2026-07-18 08:24: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'), 47846, 'SRID=4674;POINT (-39.560132 -2.998641)', '2026-07-18 08:25:28', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998636)'), GeomFromEWKT('SRID=4674;POINT (-39.560132 -2.998641)'))) / (select extract(epoch from '2026-07-18 08:25:28'::timestamp) - extract(epoch from '2026-07-18 08:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560111 -2.998636)'), GeomFromEWKT('SRID=4674;POINT (-39.560132 -2.998641)'))) / (select extract(epoch from '2026-07-18 08:25:28'::timestamp) - extract(epoch from '2026-07-18 08:24: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'), 47846, 'SRID=4674;POINT (-39.560136 -2.998648)', '2026-07-18 08:25:41', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560132 -2.998641)'), GeomFromEWKT('SRID=4674;POINT (-39.560136 -2.998648)'))) / (select extract(epoch from '2026-07-18 08:25:41'::timestamp) - extract(epoch from '2026-07-18 08:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560132 -2.998641)'), GeomFromEWKT('SRID=4674;POINT (-39.560136 -2.998648)'))) / (select extract(epoch from '2026-07-18 08:25:41'::timestamp) - extract(epoch from '2026-07-18 08:25:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560146 -2.998648)', '2026-07-18 08:26:14', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560136 -2.998648)'), GeomFromEWKT('SRID=4674;POINT (-39.560146 -2.998648)'))) / (select extract(epoch from '2026-07-18 08:26:14'::timestamp) - extract(epoch from '2026-07-18 08:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560136 -2.998648)'), GeomFromEWKT('SRID=4674;POINT (-39.560146 -2.998648)'))) / (select extract(epoch from '2026-07-18 08:26:14'::timestamp) - extract(epoch from '2026-07-18 08:25: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'), 47846, 'SRID=4674;POINT (-39.560134 -2.998647)', '2026-07-18 08:26:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560146 -2.998648)'), GeomFromEWKT('SRID=4674;POINT (-39.560134 -2.998647)'))) / (select extract(epoch from '2026-07-18 08:26:31'::timestamp) - extract(epoch from '2026-07-18 08:26:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560146 -2.998648)'), GeomFromEWKT('SRID=4674;POINT (-39.560134 -2.998647)'))) / (select extract(epoch from '2026-07-18 08:26:31'::timestamp) - extract(epoch from '2026-07-18 08:26: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'), 47846, 'SRID=4674;POINT (-39.560116 -2.998647)', '2026-07-18 08:27:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560134 -2.998647)'), GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998647)'))) / (select extract(epoch from '2026-07-18 08:27:06'::timestamp) - extract(epoch from '2026-07-18 08:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560134 -2.998647)'), GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998647)'))) / (select extract(epoch from '2026-07-18 08:27:06'::timestamp) - extract(epoch from '2026-07-18 08:26: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'), 47846, 'SRID=4674;POINT (-39.56012 -2.99865)', '2026-07-18 08:27:07', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998647)'), GeomFromEWKT('SRID=4674;POINT (-39.56012 -2.99865)'))) / (select extract(epoch from '2026-07-18 08:27:07'::timestamp) - extract(epoch from '2026-07-18 08:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560116 -2.998647)'), GeomFromEWKT('SRID=4674;POINT (-39.56012 -2.99865)'))) / (select extract(epoch from '2026-07-18 08:27:07'::timestamp) - extract(epoch from '2026-07-18 08:27:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560131 -2.998655)', '2026-07-18 08:27:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56012 -2.99865)'), GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998655)'))) / (select extract(epoch from '2026-07-18 08:27:12'::timestamp) - extract(epoch from '2026-07-18 08:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56012 -2.99865)'), GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998655)'))) / (select extract(epoch from '2026-07-18 08:27:12'::timestamp) - extract(epoch from '2026-07-18 08:27: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'), 47846, 'SRID=4674;POINT (-39.560131 -2.998664)', '2026-07-18 08:27:53', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998655)'), GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998664)'))) / (select extract(epoch from '2026-07-18 08:27:53'::timestamp) - extract(epoch from '2026-07-18 08:27:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998655)'), GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998664)'))) / (select extract(epoch from '2026-07-18 08:27:53'::timestamp) - extract(epoch from '2026-07-18 08:27: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'), 47846, 'SRID=4674;POINT (-39.560112 -2.998649)', '2026-07-18 08:28:12', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998664)'), GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998649)'))) / (select extract(epoch from '2026-07-18 08:28:12'::timestamp) - extract(epoch from '2026-07-18 08:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998664)'), GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998649)'))) / (select extract(epoch from '2026-07-18 08:28:12'::timestamp) - extract(epoch from '2026-07-18 08:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560125 -2.998653)', '2026-07-18 08:28:21', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998649)'), GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998653)'))) / (select extract(epoch from '2026-07-18 08:28:21'::timestamp) - extract(epoch from '2026-07-18 08:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998649)'), GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998653)'))) / (select extract(epoch from '2026-07-18 08:28:21'::timestamp) - extract(epoch from '2026-07-18 08:28:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560127 -2.998659)', '2026-07-18 08:28:33', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998653)'), GeomFromEWKT('SRID=4674;POINT (-39.560127 -2.998659)'))) / (select extract(epoch from '2026-07-18 08:28:33'::timestamp) - extract(epoch from '2026-07-18 08:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560125 -2.998653)'), GeomFromEWKT('SRID=4674;POINT (-39.560127 -2.998659)'))) / (select extract(epoch from '2026-07-18 08:28:33'::timestamp) - extract(epoch from '2026-07-18 08:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.56014 -2.998671)', '2026-07-18 08:28:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560127 -2.998659)'), GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998671)'))) / (select extract(epoch from '2026-07-18 08:28:57'::timestamp) - extract(epoch from '2026-07-18 08:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560127 -2.998659)'), GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998671)'))) / (select extract(epoch from '2026-07-18 08:28:57'::timestamp) - extract(epoch from '2026-07-18 08:28: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'), 47846, 'SRID=4674;POINT (-39.560133 -2.998662)', '2026-07-18 08:29:17', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998671)'), GeomFromEWKT('SRID=4674;POINT (-39.560133 -2.998662)'))) / (select extract(epoch from '2026-07-18 08:29:17'::timestamp) - extract(epoch from '2026-07-18 08:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998671)'), GeomFromEWKT('SRID=4674;POINT (-39.560133 -2.998662)'))) / (select extract(epoch from '2026-07-18 08:29:17'::timestamp) - extract(epoch from '2026-07-18 08:28: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'), 47846, 'SRID=4674;POINT (-39.560115 -2.998644)', '2026-07-18 08:29:48', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560133 -2.998662)'), GeomFromEWKT('SRID=4674;POINT (-39.560115 -2.998644)'))) / (select extract(epoch from '2026-07-18 08:29:48'::timestamp) - extract(epoch from '2026-07-18 08:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560133 -2.998662)'), GeomFromEWKT('SRID=4674;POINT (-39.560115 -2.998644)'))) / (select extract(epoch from '2026-07-18 08:29:48'::timestamp) - extract(epoch from '2026-07-18 08:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560121 -2.998655)', '2026-07-18 08:30:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560115 -2.998644)'), GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.998655)'))) / (select extract(epoch from '2026-07-18 08:30:47'::timestamp) - extract(epoch from '2026-07-18 08:29:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560115 -2.998644)'), GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.998655)'))) / (select extract(epoch from '2026-07-18 08:30:47'::timestamp) - extract(epoch from '2026-07-18 08:29: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'), 47846, 'SRID=4674;POINT (-39.56012 -2.998641)', '2026-07-18 08:30:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.998655)'), GeomFromEWKT('SRID=4674;POINT (-39.56012 -2.998641)'))) / (select extract(epoch from '2026-07-18 08:30:57'::timestamp) - extract(epoch from '2026-07-18 08:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.998655)'), GeomFromEWKT('SRID=4674;POINT (-39.56012 -2.998641)'))) / (select extract(epoch from '2026-07-18 08:30:57'::timestamp) - extract(epoch from '2026-07-18 08:30: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'), 47846, 'SRID=4674;POINT (-39.560138 -2.998621)', '2026-07-18 08:31:22', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56012 -2.998641)'), GeomFromEWKT('SRID=4674;POINT (-39.560138 -2.998621)'))) / (select extract(epoch from '2026-07-18 08:31:22'::timestamp) - extract(epoch from '2026-07-18 08:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56012 -2.998641)'), GeomFromEWKT('SRID=4674;POINT (-39.560138 -2.998621)'))) / (select extract(epoch from '2026-07-18 08:31:22'::timestamp) - extract(epoch from '2026-07-18 08:30:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560121 -2.998627)', '2026-07-18 08:31:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560138 -2.998621)'), GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.998627)'))) / (select extract(epoch from '2026-07-18 08:31:47'::timestamp) - extract(epoch from '2026-07-18 08:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560138 -2.998621)'), GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.998627)'))) / (select extract(epoch from '2026-07-18 08:31:47'::timestamp) - extract(epoch from '2026-07-18 08:31: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'), 47846, 'SRID=4674;POINT (-39.560119 -2.998634)', '2026-07-18 08:31:57', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.998627)'), GeomFromEWKT('SRID=4674;POINT (-39.560119 -2.998634)'))) / (select extract(epoch from '2026-07-18 08:31:57'::timestamp) - extract(epoch from '2026-07-18 08:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.998627)'), GeomFromEWKT('SRID=4674;POINT (-39.560119 -2.998634)'))) / (select extract(epoch from '2026-07-18 08:31:57'::timestamp) - extract(epoch from '2026-07-18 08:31: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'), 47846, 'SRID=4674;POINT (-39.560126 -2.998653)', '2026-07-18 08:32:24', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560119 -2.998634)'), GeomFromEWKT('SRID=4674;POINT (-39.560126 -2.998653)'))) / (select extract(epoch from '2026-07-18 08:32:24'::timestamp) - extract(epoch from '2026-07-18 08:31:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560119 -2.998634)'), GeomFromEWKT('SRID=4674;POINT (-39.560126 -2.998653)'))) / (select extract(epoch from '2026-07-18 08:32:24'::timestamp) - extract(epoch from '2026-07-18 08:31:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560126 -2.998667)', '2026-07-18 08:32:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560126 -2.998653)'), GeomFromEWKT('SRID=4674;POINT (-39.560126 -2.998667)'))) / (select extract(epoch from '2026-07-18 08:32:40'::timestamp) - extract(epoch from '2026-07-18 08:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560126 -2.998653)'), GeomFromEWKT('SRID=4674;POINT (-39.560126 -2.998667)'))) / (select extract(epoch from '2026-07-18 08:32:40'::timestamp) - extract(epoch from '2026-07-18 08:32: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'), 47846, 'SRID=4674;POINT (-39.56015 -2.998673)', '2026-07-18 08:32:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560126 -2.998667)'), GeomFromEWKT('SRID=4674;POINT (-39.56015 -2.998673)'))) / (select extract(epoch from '2026-07-18 08:32:47'::timestamp) - extract(epoch from '2026-07-18 08:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560126 -2.998667)'), GeomFromEWKT('SRID=4674;POINT (-39.56015 -2.998673)'))) / (select extract(epoch from '2026-07-18 08:32:47'::timestamp) - extract(epoch from '2026-07-18 08:32:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560147 -2.998674)', '2026-07-18 08:32:55', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56015 -2.998673)'), GeomFromEWKT('SRID=4674;POINT (-39.560147 -2.998674)'))) / (select extract(epoch from '2026-07-18 08:32:55'::timestamp) - extract(epoch from '2026-07-18 08:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56015 -2.998673)'), GeomFromEWKT('SRID=4674;POINT (-39.560147 -2.998674)'))) / (select extract(epoch from '2026-07-18 08:32:55'::timestamp) - extract(epoch from '2026-07-18 08:32:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560138 -2.998666)', '2026-07-18 08:33:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560147 -2.998674)'), GeomFromEWKT('SRID=4674;POINT (-39.560138 -2.998666)'))) / (select extract(epoch from '2026-07-18 08:33:43'::timestamp) - extract(epoch from '2026-07-18 08:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560147 -2.998674)'), GeomFromEWKT('SRID=4674;POINT (-39.560138 -2.998666)'))) / (select extract(epoch from '2026-07-18 08:33:43'::timestamp) - extract(epoch from '2026-07-18 08:32: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'), 47846, 'SRID=4674;POINT (-39.560124 -2.998677)', '2026-07-18 08:34:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560138 -2.998666)'), GeomFromEWKT('SRID=4674;POINT (-39.560124 -2.998677)'))) / (select extract(epoch from '2026-07-18 08:34:08'::timestamp) - extract(epoch from '2026-07-18 08:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560138 -2.998666)'), GeomFromEWKT('SRID=4674;POINT (-39.560124 -2.998677)'))) / (select extract(epoch from '2026-07-18 08:34:08'::timestamp) - extract(epoch from '2026-07-18 08:33:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560152 -2.998668)', '2026-07-18 08:34:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560124 -2.998677)'), GeomFromEWKT('SRID=4674;POINT (-39.560152 -2.998668)'))) / (select extract(epoch from '2026-07-18 08:34:17'::timestamp) - extract(epoch from '2026-07-18 08:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560124 -2.998677)'), GeomFromEWKT('SRID=4674;POINT (-39.560152 -2.998668)'))) / (select extract(epoch from '2026-07-18 08:34:17'::timestamp) - extract(epoch from '2026-07-18 08:34: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'), 47846, 'SRID=4674;POINT (-39.56015 -2.998679)', '2026-07-18 08:34:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560152 -2.998668)'), GeomFromEWKT('SRID=4674;POINT (-39.56015 -2.998679)'))) / (select extract(epoch from '2026-07-18 08:34:29'::timestamp) - extract(epoch from '2026-07-18 08:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560152 -2.998668)'), GeomFromEWKT('SRID=4674;POINT (-39.56015 -2.998679)'))) / (select extract(epoch from '2026-07-18 08:34:29'::timestamp) - extract(epoch from '2026-07-18 08:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560143 -2.998656)', '2026-07-18 08:35:08', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56015 -2.998679)'), GeomFromEWKT('SRID=4674;POINT (-39.560143 -2.998656)'))) / (select extract(epoch from '2026-07-18 08:35:08'::timestamp) - extract(epoch from '2026-07-18 08:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56015 -2.998679)'), GeomFromEWKT('SRID=4674;POINT (-39.560143 -2.998656)'))) / (select extract(epoch from '2026-07-18 08:35:08'::timestamp) - extract(epoch from '2026-07-18 08:34: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'), 47846, 'SRID=4674;POINT (-39.560131 -2.998649)', '2026-07-18 08:36:08', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560143 -2.998656)'), GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998649)'))) / (select extract(epoch from '2026-07-18 08:36:08'::timestamp) - extract(epoch from '2026-07-18 08:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560143 -2.998656)'), GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998649)'))) / (select extract(epoch from '2026-07-18 08:36:08'::timestamp) - extract(epoch from '2026-07-18 08:35: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'), 47846, 'SRID=4674;POINT (-39.560135 -2.998644)', '2026-07-18 08:36:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998649)'), GeomFromEWKT('SRID=4674;POINT (-39.560135 -2.998644)'))) / (select extract(epoch from '2026-07-18 08:36:10'::timestamp) - extract(epoch from '2026-07-18 08:36:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560131 -2.998649)'), GeomFromEWKT('SRID=4674;POINT (-39.560135 -2.998644)'))) / (select extract(epoch from '2026-07-18 08:36:10'::timestamp) - extract(epoch from '2026-07-18 08:36: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'), 47846, 'SRID=4674;POINT (-39.560121 -2.99864)', '2026-07-18 08:36:20', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560135 -2.998644)'), GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.99864)'))) / (select extract(epoch from '2026-07-18 08:36:20'::timestamp) - extract(epoch from '2026-07-18 08:36:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560135 -2.998644)'), GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.99864)'))) / (select extract(epoch from '2026-07-18 08:36:20'::timestamp) - extract(epoch from '2026-07-18 08:36:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560112 -2.998637)', '2026-07-18 08:36:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.99864)'), GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998637)'))) / (select extract(epoch from '2026-07-18 08:36:28'::timestamp) - extract(epoch from '2026-07-18 08:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560121 -2.99864)'), GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998637)'))) / (select extract(epoch from '2026-07-18 08:36:28'::timestamp) - extract(epoch from '2026-07-18 08:36: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'), 47846, 'SRID=4674;POINT (-39.560108 -2.998631)', '2026-07-18 08:36:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998637)'), GeomFromEWKT('SRID=4674;POINT (-39.560108 -2.998631)'))) / (select extract(epoch from '2026-07-18 08:36:39'::timestamp) - extract(epoch from '2026-07-18 08:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560112 -2.998637)'), GeomFromEWKT('SRID=4674;POINT (-39.560108 -2.998631)'))) / (select extract(epoch from '2026-07-18 08:36:39'::timestamp) - extract(epoch from '2026-07-18 08:36: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'), 47846, 'SRID=4674;POINT (-39.560106 -2.99865)', '2026-07-18 08:36:50', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560108 -2.998631)'), GeomFromEWKT('SRID=4674;POINT (-39.560106 -2.99865)'))) / (select extract(epoch from '2026-07-18 08:36:50'::timestamp) - extract(epoch from '2026-07-18 08:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560108 -2.998631)'), GeomFromEWKT('SRID=4674;POINT (-39.560106 -2.99865)'))) / (select extract(epoch from '2026-07-18 08:36:50'::timestamp) - extract(epoch from '2026-07-18 08:36:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560097 -2.998651)', '2026-07-18 08:36:52', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560106 -2.99865)'), GeomFromEWKT('SRID=4674;POINT (-39.560097 -2.998651)'))) / (select extract(epoch from '2026-07-18 08:36:52'::timestamp) - extract(epoch from '2026-07-18 08:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560106 -2.99865)'), GeomFromEWKT('SRID=4674;POINT (-39.560097 -2.998651)'))) / (select extract(epoch from '2026-07-18 08:36:52'::timestamp) - extract(epoch from '2026-07-18 08:36:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560077 -2.998634)', '2026-07-18 08:36:55', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560097 -2.998651)'), GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998634)'))) / (select extract(epoch from '2026-07-18 08:36:55'::timestamp) - extract(epoch from '2026-07-18 08:36:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560097 -2.998651)'), GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998634)'))) / (select extract(epoch from '2026-07-18 08:36:55'::timestamp) - extract(epoch from '2026-07-18 08:36: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'), 47846, 'SRID=4674;POINT (-39.560061 -2.998622)', '2026-07-18 08:36:57', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998634)'), GeomFromEWKT('SRID=4674;POINT (-39.560061 -2.998622)'))) / (select extract(epoch from '2026-07-18 08:36:57'::timestamp) - extract(epoch from '2026-07-18 08:36:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560077 -2.998634)'), GeomFromEWKT('SRID=4674;POINT (-39.560061 -2.998622)'))) / (select extract(epoch from '2026-07-18 08:36:57'::timestamp) - extract(epoch from '2026-07-18 08:36:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560031 -2.998607)', '2026-07-18 08:37:01', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560061 -2.998622)'), GeomFromEWKT('SRID=4674;POINT (-39.560031 -2.998607)'))) / (select extract(epoch from '2026-07-18 08:37:01'::timestamp) - extract(epoch from '2026-07-18 08:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560061 -2.998622)'), GeomFromEWKT('SRID=4674;POINT (-39.560031 -2.998607)'))) / (select extract(epoch from '2026-07-18 08:37:01'::timestamp) - extract(epoch from '2026-07-18 08:36: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'), 47846, 'SRID=4674;POINT (-39.559996 -2.998586)', '2026-07-18 08:37:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560031 -2.998607)'), GeomFromEWKT('SRID=4674;POINT (-39.559996 -2.998586)'))) / (select extract(epoch from '2026-07-18 08:37:07'::timestamp) - extract(epoch from '2026-07-18 08:37:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560031 -2.998607)'), GeomFromEWKT('SRID=4674;POINT (-39.559996 -2.998586)'))) / (select extract(epoch from '2026-07-18 08:37:07'::timestamp) - extract(epoch from '2026-07-18 08:37: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'), 47846, 'SRID=4674;POINT (-39.56 -2.998616)', '2026-07-18 08:37:17', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559996 -2.998586)'), GeomFromEWKT('SRID=4674;POINT (-39.56 -2.998616)'))) / (select extract(epoch from '2026-07-18 08:37:17'::timestamp) - extract(epoch from '2026-07-18 08:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559996 -2.998586)'), GeomFromEWKT('SRID=4674;POINT (-39.56 -2.998616)'))) / (select extract(epoch from '2026-07-18 08:37:17'::timestamp) - extract(epoch from '2026-07-18 08:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560002 -2.998629)', '2026-07-18 08:37:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56 -2.998616)'), GeomFromEWKT('SRID=4674;POINT (-39.560002 -2.998629)'))) / (select extract(epoch from '2026-07-18 08:37:25'::timestamp) - extract(epoch from '2026-07-18 08:37:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56 -2.998616)'), GeomFromEWKT('SRID=4674;POINT (-39.560002 -2.998629)'))) / (select extract(epoch from '2026-07-18 08:37:25'::timestamp) - extract(epoch from '2026-07-18 08:37: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'), 47846, 'SRID=4674;POINT (-39.559963 -2.998626)', '2026-07-18 08:37:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560002 -2.998629)'), GeomFromEWKT('SRID=4674;POINT (-39.559963 -2.998626)'))) / (select extract(epoch from '2026-07-18 08:37:38'::timestamp) - extract(epoch from '2026-07-18 08:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560002 -2.998629)'), GeomFromEWKT('SRID=4674;POINT (-39.559963 -2.998626)'))) / (select extract(epoch from '2026-07-18 08:37:38'::timestamp) - extract(epoch from '2026-07-18 08:37: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'), 47846, 'SRID=4674;POINT (-39.559942 -2.99862)', '2026-07-18 08:37:42', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559963 -2.998626)'), GeomFromEWKT('SRID=4674;POINT (-39.559942 -2.99862)'))) / (select extract(epoch from '2026-07-18 08:37:42'::timestamp) - extract(epoch from '2026-07-18 08:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559963 -2.998626)'), GeomFromEWKT('SRID=4674;POINT (-39.559942 -2.99862)'))) / (select extract(epoch from '2026-07-18 08:37:42'::timestamp) - extract(epoch from '2026-07-18 08:37: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'), 47846, 'SRID=4674;POINT (-39.55991 -2.998651)', '2026-07-18 08:37:50', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559942 -2.99862)'), GeomFromEWKT('SRID=4674;POINT (-39.55991 -2.998651)'))) / (select extract(epoch from '2026-07-18 08:37:50'::timestamp) - extract(epoch from '2026-07-18 08:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559942 -2.99862)'), GeomFromEWKT('SRID=4674;POINT (-39.55991 -2.998651)'))) / (select extract(epoch from '2026-07-18 08:37:50'::timestamp) - extract(epoch from '2026-07-18 08:37: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'), 47846, 'SRID=4674;POINT (-39.559898 -2.998681)', '2026-07-18 08:37:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55991 -2.998651)'), GeomFromEWKT('SRID=4674;POINT (-39.559898 -2.998681)'))) / (select extract(epoch from '2026-07-18 08:37:54'::timestamp) - extract(epoch from '2026-07-18 08:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55991 -2.998651)'), GeomFromEWKT('SRID=4674;POINT (-39.559898 -2.998681)'))) / (select extract(epoch from '2026-07-18 08:37:54'::timestamp) - extract(epoch from '2026-07-18 08:37: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'), 47846, 'SRID=4674;POINT (-39.559903 -2.998712)', '2026-07-18 08:37:57', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559898 -2.998681)'), GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.998712)'))) / (select extract(epoch from '2026-07-18 08:37:57'::timestamp) - extract(epoch from '2026-07-18 08:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559898 -2.998681)'), GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.998712)'))) / (select extract(epoch from '2026-07-18 08:37:57'::timestamp) - extract(epoch from '2026-07-18 08:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559903 -2.99875)', '2026-07-18 08:38:02', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.998712)'), GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.99875)'))) / (select extract(epoch from '2026-07-18 08:38:02'::timestamp) - extract(epoch from '2026-07-18 08:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.998712)'), GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.99875)'))) / (select extract(epoch from '2026-07-18 08:38:02'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559907 -2.99877)', '2026-07-18 08:38:07', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.99875)'), GeomFromEWKT('SRID=4674;POINT (-39.559907 -2.99877)'))) / (select extract(epoch from '2026-07-18 08:38:07'::timestamp) - extract(epoch from '2026-07-18 08:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.99875)'), GeomFromEWKT('SRID=4674;POINT (-39.559907 -2.99877)'))) / (select extract(epoch from '2026-07-18 08:38:07'::timestamp) - extract(epoch from '2026-07-18 08:38: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'), 47846, 'SRID=4674;POINT (-39.559883 -2.998796)', '2026-07-18 08:38:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559907 -2.99877)'), GeomFromEWKT('SRID=4674;POINT (-39.559883 -2.998796)'))) / (select extract(epoch from '2026-07-18 08:38:16'::timestamp) - extract(epoch from '2026-07-18 08:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559907 -2.99877)'), GeomFromEWKT('SRID=4674;POINT (-39.559883 -2.998796)'))) / (select extract(epoch from '2026-07-18 08:38:16'::timestamp) - extract(epoch from '2026-07-18 08:38:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559895 -2.998792)', '2026-07-18 08:38:24', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559883 -2.998796)'), GeomFromEWKT('SRID=4674;POINT (-39.559895 -2.998792)'))) / (select extract(epoch from '2026-07-18 08:38:24'::timestamp) - extract(epoch from '2026-07-18 08:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559883 -2.998796)'), GeomFromEWKT('SRID=4674;POINT (-39.559895 -2.998792)'))) / (select extract(epoch from '2026-07-18 08:38:24'::timestamp) - extract(epoch from '2026-07-18 08:38: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'), 47846, 'SRID=4674;POINT (-39.559901 -2.998798)', '2026-07-18 08:38:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559895 -2.998792)'), GeomFromEWKT('SRID=4674;POINT (-39.559901 -2.998798)'))) / (select extract(epoch from '2026-07-18 08:38:30'::timestamp) - extract(epoch from '2026-07-18 08:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559895 -2.998792)'), GeomFromEWKT('SRID=4674;POINT (-39.559901 -2.998798)'))) / (select extract(epoch from '2026-07-18 08:38:30'::timestamp) - extract(epoch from '2026-07-18 08:38: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'), 47846, 'SRID=4674;POINT (-39.559864 -2.998842)', '2026-07-18 08:38:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559901 -2.998798)'), GeomFromEWKT('SRID=4674;POINT (-39.559864 -2.998842)'))) / (select extract(epoch from '2026-07-18 08:38:44'::timestamp) - extract(epoch from '2026-07-18 08:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559901 -2.998798)'), GeomFromEWKT('SRID=4674;POINT (-39.559864 -2.998842)'))) / (select extract(epoch from '2026-07-18 08:38:44'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559855 -2.998852)', '2026-07-18 08:38:52', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559864 -2.998842)'), GeomFromEWKT('SRID=4674;POINT (-39.559855 -2.998852)'))) / (select extract(epoch from '2026-07-18 08:38:52'::timestamp) - extract(epoch from '2026-07-18 08:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559864 -2.998842)'), GeomFromEWKT('SRID=4674;POINT (-39.559855 -2.998852)'))) / (select extract(epoch from '2026-07-18 08:38:52'::timestamp) - extract(epoch from '2026-07-18 08:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559878 -2.99885)', '2026-07-18 08:39:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559855 -2.998852)'), GeomFromEWKT('SRID=4674;POINT (-39.559878 -2.99885)'))) / (select extract(epoch from '2026-07-18 08:39:32'::timestamp) - extract(epoch from '2026-07-18 08:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559855 -2.998852)'), GeomFromEWKT('SRID=4674;POINT (-39.559878 -2.99885)'))) / (select extract(epoch from '2026-07-18 08:39:32'::timestamp) - extract(epoch from '2026-07-18 08:38: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'), 47846, 'SRID=4674;POINT (-39.55988 -2.998854)', '2026-07-18 08:39:45', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559878 -2.99885)'), GeomFromEWKT('SRID=4674;POINT (-39.55988 -2.998854)'))) / (select extract(epoch from '2026-07-18 08:39:45'::timestamp) - extract(epoch from '2026-07-18 08:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559878 -2.99885)'), GeomFromEWKT('SRID=4674;POINT (-39.55988 -2.998854)'))) / (select extract(epoch from '2026-07-18 08:39:45'::timestamp) - extract(epoch from '2026-07-18 08:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559877 -2.998858)', '2026-07-18 08:39:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55988 -2.998854)'), GeomFromEWKT('SRID=4674;POINT (-39.559877 -2.998858)'))) / (select extract(epoch from '2026-07-18 08:39:56'::timestamp) - extract(epoch from '2026-07-18 08:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55988 -2.998854)'), GeomFromEWKT('SRID=4674;POINT (-39.559877 -2.998858)'))) / (select extract(epoch from '2026-07-18 08:39:56'::timestamp) - extract(epoch from '2026-07-18 08:39: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'), 47846, 'SRID=4674;POINT (-39.559884 -2.998836)', '2026-07-18 08:40:43', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559877 -2.998858)'), GeomFromEWKT('SRID=4674;POINT (-39.559884 -2.998836)'))) / (select extract(epoch from '2026-07-18 08:40:43'::timestamp) - extract(epoch from '2026-07-18 08:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559877 -2.998858)'), GeomFromEWKT('SRID=4674;POINT (-39.559884 -2.998836)'))) / (select extract(epoch from '2026-07-18 08:40:43'::timestamp) - extract(epoch from '2026-07-18 08:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559879 -2.998855)', '2026-07-18 08:40:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559884 -2.998836)'), GeomFromEWKT('SRID=4674;POINT (-39.559879 -2.998855)'))) / (select extract(epoch from '2026-07-18 08:40:59'::timestamp) - extract(epoch from '2026-07-18 08:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559884 -2.998836)'), GeomFromEWKT('SRID=4674;POINT (-39.559879 -2.998855)'))) / (select extract(epoch from '2026-07-18 08:40:59'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559901 -2.998851)', '2026-07-18 08:41:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559879 -2.998855)'), GeomFromEWKT('SRID=4674;POINT (-39.559901 -2.998851)'))) / (select extract(epoch from '2026-07-18 08:41:07'::timestamp) - extract(epoch from '2026-07-18 08:40:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559879 -2.998855)'), GeomFromEWKT('SRID=4674;POINT (-39.559901 -2.998851)'))) / (select extract(epoch from '2026-07-18 08:41:07'::timestamp) - extract(epoch from '2026-07-18 08:40: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'), 47846, 'SRID=4674;POINT (-39.559902 -2.998855)', '2026-07-18 08:41:26', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559901 -2.998851)'), GeomFromEWKT('SRID=4674;POINT (-39.559902 -2.998855)'))) / (select extract(epoch from '2026-07-18 08:41:26'::timestamp) - extract(epoch from '2026-07-18 08:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559901 -2.998851)'), GeomFromEWKT('SRID=4674;POINT (-39.559902 -2.998855)'))) / (select extract(epoch from '2026-07-18 08:41:26'::timestamp) - extract(epoch from '2026-07-18 08:41: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'), 47846, 'SRID=4674;POINT (-39.559908 -2.998858)', '2026-07-18 08:41:35', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559902 -2.998855)'), GeomFromEWKT('SRID=4674;POINT (-39.559908 -2.998858)'))) / (select extract(epoch from '2026-07-18 08:41:35'::timestamp) - extract(epoch from '2026-07-18 08:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559902 -2.998855)'), GeomFromEWKT('SRID=4674;POINT (-39.559908 -2.998858)'))) / (select extract(epoch from '2026-07-18 08:41:35'::timestamp) - extract(epoch from '2026-07-18 08:41: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'), 47846, 'SRID=4674;POINT (-39.559903 -2.998871)', '2026-07-18 08:41:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559908 -2.998858)'), GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.998871)'))) / (select extract(epoch from '2026-07-18 08:41:42'::timestamp) - extract(epoch from '2026-07-18 08:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559908 -2.998858)'), GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.998871)'))) / (select extract(epoch from '2026-07-18 08:41:42'::timestamp) - extract(epoch from '2026-07-18 08:41: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'), 47846, 'SRID=4674;POINT (-39.55991 -2.998907)', '2026-07-18 08:41:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.998871)'), GeomFromEWKT('SRID=4674;POINT (-39.55991 -2.998907)'))) / (select extract(epoch from '2026-07-18 08:41:52'::timestamp) - extract(epoch from '2026-07-18 08:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559903 -2.998871)'), GeomFromEWKT('SRID=4674;POINT (-39.55991 -2.998907)'))) / (select extract(epoch from '2026-07-18 08:41:52'::timestamp) - extract(epoch from '2026-07-18 08:41:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559897 -2.998944)', '2026-07-18 08:41:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55991 -2.998907)'), GeomFromEWKT('SRID=4674;POINT (-39.559897 -2.998944)'))) / (select extract(epoch from '2026-07-18 08:41:56'::timestamp) - extract(epoch from '2026-07-18 08:41:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55991 -2.998907)'), GeomFromEWKT('SRID=4674;POINT (-39.559897 -2.998944)'))) / (select extract(epoch from '2026-07-18 08:41:56'::timestamp) - extract(epoch from '2026-07-18 08:41: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'), 47846, 'SRID=4674;POINT (-39.559867 -2.998964)', '2026-07-18 08:41:59', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559897 -2.998944)'), GeomFromEWKT('SRID=4674;POINT (-39.559867 -2.998964)'))) / (select extract(epoch from '2026-07-18 08:41:59'::timestamp) - extract(epoch from '2026-07-18 08:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559897 -2.998944)'), GeomFromEWKT('SRID=4674;POINT (-39.559867 -2.998964)'))) / (select extract(epoch from '2026-07-18 08:41:59'::timestamp) - extract(epoch from '2026-07-18 08:41:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559772 -2.998995)', '2026-07-18 08:42:07', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559867 -2.998964)'), GeomFromEWKT('SRID=4674;POINT (-39.559772 -2.998995)'))) / (select extract(epoch from '2026-07-18 08:42:07'::timestamp) - extract(epoch from '2026-07-18 08:41:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559867 -2.998964)'), GeomFromEWKT('SRID=4674;POINT (-39.559772 -2.998995)'))) / (select extract(epoch from '2026-07-18 08:42:07'::timestamp) - extract(epoch from '2026-07-18 08:41: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'), 47846, 'SRID=4674;POINT (-39.559701 -2.999039)', '2026-07-18 08:42:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559772 -2.998995)'), GeomFromEWKT('SRID=4674;POINT (-39.559701 -2.999039)'))) / (select extract(epoch from '2026-07-18 08:42:14'::timestamp) - extract(epoch from '2026-07-18 08:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559772 -2.998995)'), GeomFromEWKT('SRID=4674;POINT (-39.559701 -2.999039)'))) / (select extract(epoch from '2026-07-18 08:42:14'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559671 -2.999074)', '2026-07-18 08:42:20', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559701 -2.999039)'), GeomFromEWKT('SRID=4674;POINT (-39.559671 -2.999074)'))) / (select extract(epoch from '2026-07-18 08:42:20'::timestamp) - extract(epoch from '2026-07-18 08:42:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559701 -2.999039)'), GeomFromEWKT('SRID=4674;POINT (-39.559671 -2.999074)'))) / (select extract(epoch from '2026-07-18 08:42:20'::timestamp) - extract(epoch from '2026-07-18 08:42:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559675 -2.999091)', '2026-07-18 08:42:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559671 -2.999074)'), GeomFromEWKT('SRID=4674;POINT (-39.559675 -2.999091)'))) / (select extract(epoch from '2026-07-18 08:42:22'::timestamp) - extract(epoch from '2026-07-18 08:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559671 -2.999074)'), GeomFromEWKT('SRID=4674;POINT (-39.559675 -2.999091)'))) / (select extract(epoch from '2026-07-18 08:42:22'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559665 -2.999115)', '2026-07-18 08:42:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559675 -2.999091)'), GeomFromEWKT('SRID=4674;POINT (-39.559665 -2.999115)'))) / (select extract(epoch from '2026-07-18 08:42:24'::timestamp) - extract(epoch from '2026-07-18 08:42:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559675 -2.999091)'), GeomFromEWKT('SRID=4674;POINT (-39.559665 -2.999115)'))) / (select extract(epoch from '2026-07-18 08:42:24'::timestamp) - extract(epoch from '2026-07-18 08:42:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559657 -2.999125)', '2026-07-18 08:42:25', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559665 -2.999115)'), GeomFromEWKT('SRID=4674;POINT (-39.559657 -2.999125)'))) / (select extract(epoch from '2026-07-18 08:42:25'::timestamp) - extract(epoch from '2026-07-18 08:42:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559665 -2.999115)'), GeomFromEWKT('SRID=4674;POINT (-39.559657 -2.999125)'))) / (select extract(epoch from '2026-07-18 08:42:25'::timestamp) - extract(epoch from '2026-07-18 08:42:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559649 -2.999142)', '2026-07-18 08:42:27', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559657 -2.999125)'), GeomFromEWKT('SRID=4674;POINT (-39.559649 -2.999142)'))) / (select extract(epoch from '2026-07-18 08:42:27'::timestamp) - extract(epoch from '2026-07-18 08:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559657 -2.999125)'), GeomFromEWKT('SRID=4674;POINT (-39.559649 -2.999142)'))) / (select extract(epoch from '2026-07-18 08:42:27'::timestamp) - extract(epoch from '2026-07-18 08:42: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'), 47846, 'SRID=4674;POINT (-39.559639 -2.999161)', '2026-07-18 08:42:29', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559649 -2.999142)'), GeomFromEWKT('SRID=4674;POINT (-39.559639 -2.999161)'))) / (select extract(epoch from '2026-07-18 08:42:29'::timestamp) - extract(epoch from '2026-07-18 08:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559649 -2.999142)'), GeomFromEWKT('SRID=4674;POINT (-39.559639 -2.999161)'))) / (select extract(epoch from '2026-07-18 08:42:29'::timestamp) - extract(epoch from '2026-07-18 08:42: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'), 47846, 'SRID=4674;POINT (-39.559614 -2.99919)', '2026-07-18 08:42:33', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559639 -2.999161)'), GeomFromEWKT('SRID=4674;POINT (-39.559614 -2.99919)'))) / (select extract(epoch from '2026-07-18 08:42:33'::timestamp) - extract(epoch from '2026-07-18 08:42:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559639 -2.999161)'), GeomFromEWKT('SRID=4674;POINT (-39.559614 -2.99919)'))) / (select extract(epoch from '2026-07-18 08:42:33'::timestamp) - extract(epoch from '2026-07-18 08:42: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'), 47846, 'SRID=4674;POINT (-39.559603 -2.999189)', '2026-07-18 08:42:34', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559614 -2.99919)'), GeomFromEWKT('SRID=4674;POINT (-39.559603 -2.999189)'))) / (select extract(epoch from '2026-07-18 08:42:34'::timestamp) - extract(epoch from '2026-07-18 08:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559614 -2.99919)'), GeomFromEWKT('SRID=4674;POINT (-39.559603 -2.999189)'))) / (select extract(epoch from '2026-07-18 08:42:34'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559572 -2.9992)', '2026-07-18 08:42:38', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559603 -2.999189)'), GeomFromEWKT('SRID=4674;POINT (-39.559572 -2.9992)'))) / (select extract(epoch from '2026-07-18 08:42:38'::timestamp) - extract(epoch from '2026-07-18 08:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559603 -2.999189)'), GeomFromEWKT('SRID=4674;POINT (-39.559572 -2.9992)'))) / (select extract(epoch from '2026-07-18 08:42:38'::timestamp) - extract(epoch from '2026-07-18 08:42: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'), 47846, 'SRID=4674;POINT (-39.559545 -2.999238)', '2026-07-18 08:42:43', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559572 -2.9992)'), GeomFromEWKT('SRID=4674;POINT (-39.559545 -2.999238)'))) / (select extract(epoch from '2026-07-18 08:42:43'::timestamp) - extract(epoch from '2026-07-18 08:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559572 -2.9992)'), GeomFromEWKT('SRID=4674;POINT (-39.559545 -2.999238)'))) / (select extract(epoch from '2026-07-18 08:42:43'::timestamp) - extract(epoch from '2026-07-18 08:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559533 -2.99928)', '2026-07-18 08:42:49', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559545 -2.999238)'), GeomFromEWKT('SRID=4674;POINT (-39.559533 -2.99928)'))) / (select extract(epoch from '2026-07-18 08:42:49'::timestamp) - extract(epoch from '2026-07-18 08:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559545 -2.999238)'), GeomFromEWKT('SRID=4674;POINT (-39.559533 -2.99928)'))) / (select extract(epoch from '2026-07-18 08:42:49'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.55953 -2.999314)', '2026-07-18 08:42:54', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559533 -2.99928)'), GeomFromEWKT('SRID=4674;POINT (-39.55953 -2.999314)'))) / (select extract(epoch from '2026-07-18 08:42:54'::timestamp) - extract(epoch from '2026-07-18 08:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559533 -2.99928)'), GeomFromEWKT('SRID=4674;POINT (-39.55953 -2.999314)'))) / (select extract(epoch from '2026-07-18 08:42:54'::timestamp) - extract(epoch from '2026-07-18 08:42:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.55953 -2.99933)', '2026-07-18 08:42:56', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55953 -2.999314)'), GeomFromEWKT('SRID=4674;POINT (-39.55953 -2.99933)'))) / (select extract(epoch from '2026-07-18 08:42:56'::timestamp) - extract(epoch from '2026-07-18 08:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55953 -2.999314)'), GeomFromEWKT('SRID=4674;POINT (-39.55953 -2.99933)'))) / (select extract(epoch from '2026-07-18 08:42:56'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559524 -2.999335)', '2026-07-18 08:42:57', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55953 -2.99933)'), GeomFromEWKT('SRID=4674;POINT (-39.559524 -2.999335)'))) / (select extract(epoch from '2026-07-18 08:42:57'::timestamp) - extract(epoch from '2026-07-18 08:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55953 -2.99933)'), GeomFromEWKT('SRID=4674;POINT (-39.559524 -2.999335)'))) / (select extract(epoch from '2026-07-18 08:42:57'::timestamp) - extract(epoch from '2026-07-18 08:42: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'), 47846, 'SRID=4674;POINT (-39.559492 -2.999354)', '2026-07-18 08:43:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559524 -2.999335)'), GeomFromEWKT('SRID=4674;POINT (-39.559492 -2.999354)'))) / (select extract(epoch from '2026-07-18 08:43:02'::timestamp) - extract(epoch from '2026-07-18 08:42:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559524 -2.999335)'), GeomFromEWKT('SRID=4674;POINT (-39.559492 -2.999354)'))) / (select extract(epoch from '2026-07-18 08:43:02'::timestamp) - extract(epoch from '2026-07-18 08:42:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559443 -2.999381)', '2026-07-18 08:43:09', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559492 -2.999354)'), GeomFromEWKT('SRID=4674;POINT (-39.559443 -2.999381)'))) / (select extract(epoch from '2026-07-18 08:43:09'::timestamp) - extract(epoch from '2026-07-18 08:43:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559492 -2.999354)'), GeomFromEWKT('SRID=4674;POINT (-39.559443 -2.999381)'))) / (select extract(epoch from '2026-07-18 08:43:09'::timestamp) - extract(epoch from '2026-07-18 08:43: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'), 47846, 'SRID=4674;POINT (-39.559425 -2.999411)', '2026-07-18 08:43:16', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559443 -2.999381)'), GeomFromEWKT('SRID=4674;POINT (-39.559425 -2.999411)'))) / (select extract(epoch from '2026-07-18 08:43:16'::timestamp) - extract(epoch from '2026-07-18 08:43:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559443 -2.999381)'), GeomFromEWKT('SRID=4674;POINT (-39.559425 -2.999411)'))) / (select extract(epoch from '2026-07-18 08:43:16'::timestamp) - extract(epoch from '2026-07-18 08:43: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'), 47846, 'SRID=4674;POINT (-39.559408 -2.999463)', '2026-07-18 08:43:24', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559425 -2.999411)'), GeomFromEWKT('SRID=4674;POINT (-39.559408 -2.999463)'))) / (select extract(epoch from '2026-07-18 08:43:24'::timestamp) - extract(epoch from '2026-07-18 08:43:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559425 -2.999411)'), GeomFromEWKT('SRID=4674;POINT (-39.559408 -2.999463)'))) / (select extract(epoch from '2026-07-18 08:43:24'::timestamp) - extract(epoch from '2026-07-18 08:43: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'), 47846, 'SRID=4674;POINT (-39.559414 -2.99947)', '2026-07-18 08:43:30', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559408 -2.999463)'), GeomFromEWKT('SRID=4674;POINT (-39.559414 -2.99947)'))) / (select extract(epoch from '2026-07-18 08:43:30'::timestamp) - extract(epoch from '2026-07-18 08:43:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559408 -2.999463)'), GeomFromEWKT('SRID=4674;POINT (-39.559414 -2.99947)'))) / (select extract(epoch from '2026-07-18 08:43:30'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559415 -2.999467)', '2026-07-18 08:43:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559414 -2.99947)'), GeomFromEWKT('SRID=4674;POINT (-39.559415 -2.999467)'))) / (select extract(epoch from '2026-07-18 08:43:32'::timestamp) - extract(epoch from '2026-07-18 08:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559414 -2.99947)'), GeomFromEWKT('SRID=4674;POINT (-39.559415 -2.999467)'))) / (select extract(epoch from '2026-07-18 08:43:32'::timestamp) - extract(epoch from '2026-07-18 08:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559435 -2.999461)', '2026-07-18 08:43:35', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559415 -2.999467)'), GeomFromEWKT('SRID=4674;POINT (-39.559435 -2.999461)'))) / (select extract(epoch from '2026-07-18 08:43:35'::timestamp) - extract(epoch from '2026-07-18 08:43:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559415 -2.999467)'), GeomFromEWKT('SRID=4674;POINT (-39.559435 -2.999461)'))) / (select extract(epoch from '2026-07-18 08:43:35'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559456 -2.999432)', '2026-07-18 08:43:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559435 -2.999461)'), GeomFromEWKT('SRID=4674;POINT (-39.559456 -2.999432)'))) / (select extract(epoch from '2026-07-18 08:43:42'::timestamp) - extract(epoch from '2026-07-18 08:43:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559435 -2.999461)'), GeomFromEWKT('SRID=4674;POINT (-39.559456 -2.999432)'))) / (select extract(epoch from '2026-07-18 08:43:42'::timestamp) - extract(epoch from '2026-07-18 08:43: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'), 47846, 'SRID=4674;POINT (-39.559463 -2.9994)', '2026-07-18 08:43:47', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559456 -2.999432)'), GeomFromEWKT('SRID=4674;POINT (-39.559463 -2.9994)'))) / (select extract(epoch from '2026-07-18 08:43:47'::timestamp) - extract(epoch from '2026-07-18 08:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559456 -2.999432)'), GeomFromEWKT('SRID=4674;POINT (-39.559463 -2.9994)'))) / (select extract(epoch from '2026-07-18 08:43:47'::timestamp) - extract(epoch from '2026-07-18 08:43:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559472 -2.99939)', '2026-07-18 08:43:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559463 -2.9994)'), GeomFromEWKT('SRID=4674;POINT (-39.559472 -2.99939)'))) / (select extract(epoch from '2026-07-18 08:43:49'::timestamp) - extract(epoch from '2026-07-18 08:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559463 -2.9994)'), GeomFromEWKT('SRID=4674;POINT (-39.559472 -2.99939)'))) / (select extract(epoch from '2026-07-18 08:43:49'::timestamp) - extract(epoch from '2026-07-18 08:43:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559488 -2.999369)', '2026-07-18 08:43:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559472 -2.99939)'), GeomFromEWKT('SRID=4674;POINT (-39.559488 -2.999369)'))) / (select extract(epoch from '2026-07-18 08:43:54'::timestamp) - extract(epoch from '2026-07-18 08:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559472 -2.99939)'), GeomFromEWKT('SRID=4674;POINT (-39.559488 -2.999369)'))) / (select extract(epoch from '2026-07-18 08:43:54'::timestamp) - extract(epoch from '2026-07-18 08: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'), 47846, 'SRID=4674;POINT (-39.559531 -2.99933)', '2026-07-18 08:44:04', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559488 -2.999369)'), GeomFromEWKT('SRID=4674;POINT (-39.559531 -2.99933)'))) / (select extract(epoch from '2026-07-18 08:44:04'::timestamp) - extract(epoch from '2026-07-18 08:43:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559488 -2.999369)'), GeomFromEWKT('SRID=4674;POINT (-39.559531 -2.99933)'))) / (select extract(epoch from '2026-07-18 08:44:04'::timestamp) - extract(epoch from '2026-07-18 08:43: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'), 47846, 'SRID=4674;POINT (-39.559555 -2.999295)', '2026-07-18 08:44:11', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559531 -2.99933)'), GeomFromEWKT('SRID=4674;POINT (-39.559555 -2.999295)'))) / (select extract(epoch from '2026-07-18 08:44:11'::timestamp) - extract(epoch from '2026-07-18 08:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559531 -2.99933)'), GeomFromEWKT('SRID=4674;POINT (-39.559555 -2.999295)'))) / (select extract(epoch from '2026-07-18 08:44:11'::timestamp) - extract(epoch from '2026-07-18 08:44: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'), 47846, 'SRID=4674;POINT (-39.559567 -2.999288)', '2026-07-18 08:44:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559555 -2.999295)'), GeomFromEWKT('SRID=4674;POINT (-39.559567 -2.999288)'))) / (select extract(epoch from '2026-07-18 08:44:13'::timestamp) - extract(epoch from '2026-07-18 08:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559555 -2.999295)'), GeomFromEWKT('SRID=4674;POINT (-39.559567 -2.999288)'))) / (select extract(epoch from '2026-07-18 08:44:13'::timestamp) - extract(epoch from '2026-07-18 08:44: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'), 47846, 'SRID=4674;POINT (-39.559602 -2.999244)', '2026-07-18 08:44:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559567 -2.999288)'), GeomFromEWKT('SRID=4674;POINT (-39.559602 -2.999244)'))) / (select extract(epoch from '2026-07-18 08:44:21'::timestamp) - extract(epoch from '2026-07-18 08:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559567 -2.999288)'), GeomFromEWKT('SRID=4674;POINT (-39.559602 -2.999244)'))) / (select extract(epoch from '2026-07-18 08:44:21'::timestamp) - extract(epoch from '2026-07-18 08:44: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'), 47846, 'SRID=4674;POINT (-39.559635 -2.999224)', '2026-07-18 08:44:28', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559602 -2.999244)'), GeomFromEWKT('SRID=4674;POINT (-39.559635 -2.999224)'))) / (select extract(epoch from '2026-07-18 08:44:28'::timestamp) - extract(epoch from '2026-07-18 08:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559602 -2.999244)'), GeomFromEWKT('SRID=4674;POINT (-39.559635 -2.999224)'))) / (select extract(epoch from '2026-07-18 08:44:28'::timestamp) - extract(epoch from '2026-07-18 08:44: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'), 47846, 'SRID=4674;POINT (-39.559665 -2.999207)', '2026-07-18 08:44:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559635 -2.999224)'), GeomFromEWKT('SRID=4674;POINT (-39.559665 -2.999207)'))) / (select extract(epoch from '2026-07-18 08:44:34'::timestamp) - extract(epoch from '2026-07-18 08:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559635 -2.999224)'), GeomFromEWKT('SRID=4674;POINT (-39.559665 -2.999207)'))) / (select extract(epoch from '2026-07-18 08:44:34'::timestamp) - extract(epoch from '2026-07-18 08:44: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'), 47846, 'SRID=4674;POINT (-39.55969 -2.999187)', '2026-07-18 08:44:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559665 -2.999207)'), GeomFromEWKT('SRID=4674;POINT (-39.55969 -2.999187)'))) / (select extract(epoch from '2026-07-18 08:44:39'::timestamp) - extract(epoch from '2026-07-18 08:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559665 -2.999207)'), GeomFromEWKT('SRID=4674;POINT (-39.55969 -2.999187)'))) / (select extract(epoch from '2026-07-18 08:44:39'::timestamp) - extract(epoch from '2026-07-18 08:44: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'), 47846, 'SRID=4674;POINT (-39.559717 -2.999169)', '2026-07-18 08:44:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55969 -2.999187)'), GeomFromEWKT('SRID=4674;POINT (-39.559717 -2.999169)'))) / (select extract(epoch from '2026-07-18 08:44:44'::timestamp) - extract(epoch from '2026-07-18 08:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55969 -2.999187)'), GeomFromEWKT('SRID=4674;POINT (-39.559717 -2.999169)'))) / (select extract(epoch from '2026-07-18 08:44:44'::timestamp) - extract(epoch from '2026-07-18 08:44: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'), 47846, 'SRID=4674;POINT (-39.55976 -2.99914)', '2026-07-18 08:44:51', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559717 -2.999169)'), GeomFromEWKT('SRID=4674;POINT (-39.55976 -2.99914)'))) / (select extract(epoch from '2026-07-18 08:44:51'::timestamp) - extract(epoch from '2026-07-18 08:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559717 -2.999169)'), GeomFromEWKT('SRID=4674;POINT (-39.55976 -2.99914)'))) / (select extract(epoch from '2026-07-18 08:44:51'::timestamp) - extract(epoch from '2026-07-18 08:44: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'), 47846, 'SRID=4674;POINT (-39.55979 -2.999087)', '2026-07-18 08:45:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55976 -2.99914)'), GeomFromEWKT('SRID=4674;POINT (-39.55979 -2.999087)'))) / (select extract(epoch from '2026-07-18 08:45:01'::timestamp) - extract(epoch from '2026-07-18 08:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55976 -2.99914)'), GeomFromEWKT('SRID=4674;POINT (-39.55979 -2.999087)'))) / (select extract(epoch from '2026-07-18 08:45:01'::timestamp) - extract(epoch from '2026-07-18 08:44: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'), 47846, 'SRID=4674;POINT (-39.559819 -2.999055)', '2026-07-18 08:45:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55979 -2.999087)'), GeomFromEWKT('SRID=4674;POINT (-39.559819 -2.999055)'))) / (select extract(epoch from '2026-07-18 08:45:07'::timestamp) - extract(epoch from '2026-07-18 08:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55979 -2.999087)'), GeomFromEWKT('SRID=4674;POINT (-39.559819 -2.999055)'))) / (select extract(epoch from '2026-07-18 08:45:07'::timestamp) - extract(epoch from '2026-07-18 08:45: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'), 47846, 'SRID=4674;POINT (-39.559847 -2.999047)', '2026-07-18 08:45:10', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559819 -2.999055)'), GeomFromEWKT('SRID=4674;POINT (-39.559847 -2.999047)'))) / (select extract(epoch from '2026-07-18 08:45:10'::timestamp) - extract(epoch from '2026-07-18 08:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559819 -2.999055)'), GeomFromEWKT('SRID=4674;POINT (-39.559847 -2.999047)'))) / (select extract(epoch from '2026-07-18 08:45:10'::timestamp) - extract(epoch from '2026-07-18 08:45: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'), 47846, 'SRID=4674;POINT (-39.559895 -2.998999)', '2026-07-18 08:45:18', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559847 -2.999047)'), GeomFromEWKT('SRID=4674;POINT (-39.559895 -2.998999)'))) / (select extract(epoch from '2026-07-18 08:45:18'::timestamp) - extract(epoch from '2026-07-18 08:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559847 -2.999047)'), GeomFromEWKT('SRID=4674;POINT (-39.559895 -2.998999)'))) / (select extract(epoch from '2026-07-18 08:45:18'::timestamp) - extract(epoch from '2026-07-18 08:45: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'), 47846, 'SRID=4674;POINT (-39.55992 -2.998952)', '2026-07-18 08:45:26', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559895 -2.998999)'), GeomFromEWKT('SRID=4674;POINT (-39.55992 -2.998952)'))) / (select extract(epoch from '2026-07-18 08:45:26'::timestamp) - extract(epoch from '2026-07-18 08:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559895 -2.998999)'), GeomFromEWKT('SRID=4674;POINT (-39.55992 -2.998952)'))) / (select extract(epoch from '2026-07-18 08:45:26'::timestamp) - extract(epoch from '2026-07-18 08:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559966 -2.998884)', '2026-07-18 08:45:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55992 -2.998952)'), GeomFromEWKT('SRID=4674;POINT (-39.559966 -2.998884)'))) / (select extract(epoch from '2026-07-18 08:45:37'::timestamp) - extract(epoch from '2026-07-18 08:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55992 -2.998952)'), GeomFromEWKT('SRID=4674;POINT (-39.559966 -2.998884)'))) / (select extract(epoch from '2026-07-18 08:45:37'::timestamp) - extract(epoch from '2026-07-18 08:45: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'), 47846, 'SRID=4674;POINT (-39.560014 -2.99878)', '2026-07-18 08:45:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559966 -2.998884)'), GeomFromEWKT('SRID=4674;POINT (-39.560014 -2.99878)'))) / (select extract(epoch from '2026-07-18 08:45:52'::timestamp) - extract(epoch from '2026-07-18 08:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559966 -2.998884)'), GeomFromEWKT('SRID=4674;POINT (-39.560014 -2.99878)'))) / (select extract(epoch from '2026-07-18 08:45:52'::timestamp) - extract(epoch from '2026-07-18 08:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560073 -2.99872)', '2026-07-18 08:46:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560014 -2.99878)'), GeomFromEWKT('SRID=4674;POINT (-39.560073 -2.99872)'))) / (select extract(epoch from '2026-07-18 08:46:02'::timestamp) - extract(epoch from '2026-07-18 08:45:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560014 -2.99878)'), GeomFromEWKT('SRID=4674;POINT (-39.560073 -2.99872)'))) / (select extract(epoch from '2026-07-18 08:46:02'::timestamp) - extract(epoch from '2026-07-18 08:45: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'), 47846, 'SRID=4674;POINT (-39.560092 -2.998695)', '2026-07-18 08:46:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560073 -2.99872)'), GeomFromEWKT('SRID=4674;POINT (-39.560092 -2.998695)'))) / (select extract(epoch from '2026-07-18 08:46:06'::timestamp) - extract(epoch from '2026-07-18 08:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560073 -2.99872)'), GeomFromEWKT('SRID=4674;POINT (-39.560092 -2.998695)'))) / (select extract(epoch from '2026-07-18 08:46:06'::timestamp) - extract(epoch from '2026-07-18 08:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560104 -2.99869)', '2026-07-18 08:46:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560092 -2.998695)'), GeomFromEWKT('SRID=4674;POINT (-39.560104 -2.99869)'))) / (select extract(epoch from '2026-07-18 08:46:09'::timestamp) - extract(epoch from '2026-07-18 08:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560092 -2.998695)'), GeomFromEWKT('SRID=4674;POINT (-39.560104 -2.99869)'))) / (select extract(epoch from '2026-07-18 08:46:09'::timestamp) - extract(epoch from '2026-07-18 08:46: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'), 47846, 'SRID=4674;POINT (-39.56014 -2.998624)', '2026-07-18 08:46:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560104 -2.99869)'), GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998624)'))) / (select extract(epoch from '2026-07-18 08:46:19'::timestamp) - extract(epoch from '2026-07-18 08:46:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560104 -2.99869)'), GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998624)'))) / (select extract(epoch from '2026-07-18 08:46:19'::timestamp) - extract(epoch from '2026-07-18 08:46: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'), 47846, 'SRID=4674;POINT (-39.560181 -2.998545)', '2026-07-18 08:46:29', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998624)'), GeomFromEWKT('SRID=4674;POINT (-39.560181 -2.998545)'))) / (select extract(epoch from '2026-07-18 08:46:29'::timestamp) - extract(epoch from '2026-07-18 08:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56014 -2.998624)'), GeomFromEWKT('SRID=4674;POINT (-39.560181 -2.998545)'))) / (select extract(epoch from '2026-07-18 08:46:29'::timestamp) - extract(epoch from '2026-07-18 08:46: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'), 47846, 'SRID=4674;POINT (-39.560203 -2.998532)', '2026-07-18 08:46:32', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560181 -2.998545)'), GeomFromEWKT('SRID=4674;POINT (-39.560203 -2.998532)'))) / (select extract(epoch from '2026-07-18 08:46:32'::timestamp) - extract(epoch from '2026-07-18 08:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560181 -2.998545)'), GeomFromEWKT('SRID=4674;POINT (-39.560203 -2.998532)'))) / (select extract(epoch from '2026-07-18 08:46:32'::timestamp) - extract(epoch from '2026-07-18 08:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560219 -2.998506)', '2026-07-18 08:46:36', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560203 -2.998532)'), GeomFromEWKT('SRID=4674;POINT (-39.560219 -2.998506)'))) / (select extract(epoch from '2026-07-18 08:46:36'::timestamp) - extract(epoch from '2026-07-18 08:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560203 -2.998532)'), GeomFromEWKT('SRID=4674;POINT (-39.560219 -2.998506)'))) / (select extract(epoch from '2026-07-18 08:46:36'::timestamp) - extract(epoch from '2026-07-18 08:46: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'), 47846, 'SRID=4674;POINT (-39.560233 -2.998491)', '2026-07-18 08:46:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560219 -2.998506)'), GeomFromEWKT('SRID=4674;POINT (-39.560233 -2.998491)'))) / (select extract(epoch from '2026-07-18 08:46:38'::timestamp) - extract(epoch from '2026-07-18 08:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560219 -2.998506)'), GeomFromEWKT('SRID=4674;POINT (-39.560233 -2.998491)'))) / (select extract(epoch from '2026-07-18 08:46:38'::timestamp) - extract(epoch from '2026-07-18 08:46: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'), 47846, 'SRID=4674;POINT (-39.560238 -2.998471)', '2026-07-18 08:46:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560233 -2.998491)'), GeomFromEWKT('SRID=4674;POINT (-39.560238 -2.998471)'))) / (select extract(epoch from '2026-07-18 08:46:41'::timestamp) - extract(epoch from '2026-07-18 08:46:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560233 -2.998491)'), GeomFromEWKT('SRID=4674;POINT (-39.560238 -2.998471)'))) / (select extract(epoch from '2026-07-18 08:46:41'::timestamp) - extract(epoch from '2026-07-18 08:46: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'), 47846, 'SRID=4674;POINT (-39.560251 -2.99844)', '2026-07-18 08:46:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560238 -2.998471)'), GeomFromEWKT('SRID=4674;POINT (-39.560251 -2.99844)'))) / (select extract(epoch from '2026-07-18 08:46:45'::timestamp) - extract(epoch from '2026-07-18 08:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560238 -2.998471)'), GeomFromEWKT('SRID=4674;POINT (-39.560251 -2.99844)'))) / (select extract(epoch from '2026-07-18 08:46:45'::timestamp) - extract(epoch from '2026-07-18 08:46:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560265 -2.99842)', '2026-07-18 08:46:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560251 -2.99844)'), GeomFromEWKT('SRID=4674;POINT (-39.560265 -2.99842)'))) / (select extract(epoch from '2026-07-18 08:46:48'::timestamp) - extract(epoch from '2026-07-18 08:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560251 -2.99844)'), GeomFromEWKT('SRID=4674;POINT (-39.560265 -2.99842)'))) / (select extract(epoch from '2026-07-18 08:46:48'::timestamp) - extract(epoch from '2026-07-18 08:46: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'), 47846, 'SRID=4674;POINT (-39.560281 -2.998403)', '2026-07-18 08:46:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560265 -2.99842)'), GeomFromEWKT('SRID=4674;POINT (-39.560281 -2.998403)'))) / (select extract(epoch from '2026-07-18 08:46:50'::timestamp) - extract(epoch from '2026-07-18 08:46:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560265 -2.99842)'), GeomFromEWKT('SRID=4674;POINT (-39.560281 -2.998403)'))) / (select extract(epoch from '2026-07-18 08:46:50'::timestamp) - extract(epoch from '2026-07-18 08:46: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'), 47846, 'SRID=4674;POINT (-39.56028 -2.998377)', '2026-07-18 08:46:53', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560281 -2.998403)'), GeomFromEWKT('SRID=4674;POINT (-39.56028 -2.998377)'))) / (select extract(epoch from '2026-07-18 08:46:53'::timestamp) - extract(epoch from '2026-07-18 08:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560281 -2.998403)'), GeomFromEWKT('SRID=4674;POINT (-39.56028 -2.998377)'))) / (select extract(epoch from '2026-07-18 08:46:53'::timestamp) - extract(epoch from '2026-07-18 08:46: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'), 47846, 'SRID=4674;POINT (-39.560305 -2.998334)', '2026-07-18 08:47:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56028 -2.998377)'), GeomFromEWKT('SRID=4674;POINT (-39.560305 -2.998334)'))) / (select extract(epoch from '2026-07-18 08:47:00'::timestamp) - extract(epoch from '2026-07-18 08:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56028 -2.998377)'), GeomFromEWKT('SRID=4674;POINT (-39.560305 -2.998334)'))) / (select extract(epoch from '2026-07-18 08:47:00'::timestamp) - extract(epoch from '2026-07-18 08:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560333 -2.998314)', '2026-07-18 08:47:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560305 -2.998334)'), GeomFromEWKT('SRID=4674;POINT (-39.560333 -2.998314)'))) / (select extract(epoch from '2026-07-18 08:47:04'::timestamp) - extract(epoch from '2026-07-18 08:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560305 -2.998334)'), GeomFromEWKT('SRID=4674;POINT (-39.560333 -2.998314)'))) / (select extract(epoch from '2026-07-18 08:47:04'::timestamp) - extract(epoch from '2026-07-18 08:47: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'), 47846, 'SRID=4674;POINT (-39.560343 -2.998294)', '2026-07-18 08:47:07', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560333 -2.998314)'), GeomFromEWKT('SRID=4674;POINT (-39.560343 -2.998294)'))) / (select extract(epoch from '2026-07-18 08:47:07'::timestamp) - extract(epoch from '2026-07-18 08:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560333 -2.998314)'), GeomFromEWKT('SRID=4674;POINT (-39.560343 -2.998294)'))) / (select extract(epoch from '2026-07-18 08:47:07'::timestamp) - extract(epoch from '2026-07-18 08:47: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'), 47846, 'SRID=4674;POINT (-39.560385 -2.998233)', '2026-07-18 08:47:18', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560343 -2.998294)'), GeomFromEWKT('SRID=4674;POINT (-39.560385 -2.998233)'))) / (select extract(epoch from '2026-07-18 08:47:18'::timestamp) - extract(epoch from '2026-07-18 08:47:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560343 -2.998294)'), GeomFromEWKT('SRID=4674;POINT (-39.560385 -2.998233)'))) / (select extract(epoch from '2026-07-18 08:47:18'::timestamp) - extract(epoch from '2026-07-18 08:47: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'), 47846, 'SRID=4674;POINT (-39.560415 -2.998173)', '2026-07-18 08:47:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560385 -2.998233)'), GeomFromEWKT('SRID=4674;POINT (-39.560415 -2.998173)'))) / (select extract(epoch from '2026-07-18 08:47:29'::timestamp) - extract(epoch from '2026-07-18 08:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560385 -2.998233)'), GeomFromEWKT('SRID=4674;POINT (-39.560415 -2.998173)'))) / (select extract(epoch from '2026-07-18 08:47:29'::timestamp) - extract(epoch from '2026-07-18 08:47: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'), 47846, 'SRID=4674;POINT (-39.560441 -2.998126)', '2026-07-18 08:47:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560415 -2.998173)'), GeomFromEWKT('SRID=4674;POINT (-39.560441 -2.998126)'))) / (select extract(epoch from '2026-07-18 08:47:39'::timestamp) - extract(epoch from '2026-07-18 08:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560415 -2.998173)'), GeomFromEWKT('SRID=4674;POINT (-39.560441 -2.998126)'))) / (select extract(epoch from '2026-07-18 08:47:39'::timestamp) - extract(epoch from '2026-07-18 08:47:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560476 -2.998059)', '2026-07-18 08:47:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560441 -2.998126)'), GeomFromEWKT('SRID=4674;POINT (-39.560476 -2.998059)'))) / (select extract(epoch from '2026-07-18 08:47:51'::timestamp) - extract(epoch from '2026-07-18 08:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560441 -2.998126)'), GeomFromEWKT('SRID=4674;POINT (-39.560476 -2.998059)'))) / (select extract(epoch from '2026-07-18 08:47:51'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.560519 -2.998005)', '2026-07-18 08:48:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560476 -2.998059)'), GeomFromEWKT('SRID=4674;POINT (-39.560519 -2.998005)'))) / (select extract(epoch from '2026-07-18 08:48:00'::timestamp) - extract(epoch from '2026-07-18 08:47:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560476 -2.998059)'), GeomFromEWKT('SRID=4674;POINT (-39.560519 -2.998005)'))) / (select extract(epoch from '2026-07-18 08:48:00'::timestamp) - extract(epoch from '2026-07-18 08:47: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'), 47846, 'SRID=4674;POINT (-39.56054 -2.997952)', '2026-07-18 08:48:07', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560519 -2.998005)'), GeomFromEWKT('SRID=4674;POINT (-39.56054 -2.997952)'))) / (select extract(epoch from '2026-07-18 08:48:07'::timestamp) - extract(epoch from '2026-07-18 08:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560519 -2.998005)'), GeomFromEWKT('SRID=4674;POINT (-39.56054 -2.997952)'))) / (select extract(epoch from '2026-07-18 08:48:07'::timestamp) - extract(epoch from '2026-07-18 08:48:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560548 -2.997924)', '2026-07-18 08:48:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56054 -2.997952)'), GeomFromEWKT('SRID=4674;POINT (-39.560548 -2.997924)'))) / (select extract(epoch from '2026-07-18 08:48:10'::timestamp) - extract(epoch from '2026-07-18 08:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56054 -2.997952)'), GeomFromEWKT('SRID=4674;POINT (-39.560548 -2.997924)'))) / (select extract(epoch from '2026-07-18 08:48:10'::timestamp) - extract(epoch from '2026-07-18 08:48: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'), 47846, 'SRID=4674;POINT (-39.560558 -2.997889)', '2026-07-18 08:48:14', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560548 -2.997924)'), GeomFromEWKT('SRID=4674;POINT (-39.560558 -2.997889)'))) / (select extract(epoch from '2026-07-18 08:48:14'::timestamp) - extract(epoch from '2026-07-18 08:48:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560548 -2.997924)'), GeomFromEWKT('SRID=4674;POINT (-39.560558 -2.997889)'))) / (select extract(epoch from '2026-07-18 08:48:14'::timestamp) - extract(epoch from '2026-07-18 08:48: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'), 47846, 'SRID=4674;POINT (-39.56057 -2.997852)', '2026-07-18 08:48:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560558 -2.997889)'), GeomFromEWKT('SRID=4674;POINT (-39.56057 -2.997852)'))) / (select extract(epoch from '2026-07-18 08:48:19'::timestamp) - extract(epoch from '2026-07-18 08:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560558 -2.997889)'), GeomFromEWKT('SRID=4674;POINT (-39.56057 -2.997852)'))) / (select extract(epoch from '2026-07-18 08:48:19'::timestamp) - extract(epoch from '2026-07-18 08:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560572 -2.997845)', '2026-07-18 08:48:21', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56057 -2.997852)'), GeomFromEWKT('SRID=4674;POINT (-39.560572 -2.997845)'))) / (select extract(epoch from '2026-07-18 08:48:21'::timestamp) - extract(epoch from '2026-07-18 08:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56057 -2.997852)'), GeomFromEWKT('SRID=4674;POINT (-39.560572 -2.997845)'))) / (select extract(epoch from '2026-07-18 08:48:21'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.560576 -2.997785)', '2026-07-18 08:48:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560572 -2.997845)'), GeomFromEWKT('SRID=4674;POINT (-39.560576 -2.997785)'))) / (select extract(epoch from '2026-07-18 08:48:29'::timestamp) - extract(epoch from '2026-07-18 08:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560572 -2.997845)'), GeomFromEWKT('SRID=4674;POINT (-39.560576 -2.997785)'))) / (select extract(epoch from '2026-07-18 08:48:29'::timestamp) - extract(epoch from '2026-07-18 08:48:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560603 -2.997706)', '2026-07-18 08:48:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560576 -2.997785)'), GeomFromEWKT('SRID=4674;POINT (-39.560603 -2.997706)'))) / (select extract(epoch from '2026-07-18 08:48:41'::timestamp) - extract(epoch from '2026-07-18 08:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560576 -2.997785)'), GeomFromEWKT('SRID=4674;POINT (-39.560603 -2.997706)'))) / (select extract(epoch from '2026-07-18 08:48:41'::timestamp) - extract(epoch from '2026-07-18 08:48: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'), 47846, 'SRID=4674;POINT (-39.560628 -2.997605)', '2026-07-18 08:48:53', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560603 -2.997706)'), GeomFromEWKT('SRID=4674;POINT (-39.560628 -2.997605)'))) / (select extract(epoch from '2026-07-18 08:48:53'::timestamp) - extract(epoch from '2026-07-18 08:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560603 -2.997706)'), GeomFromEWKT('SRID=4674;POINT (-39.560628 -2.997605)'))) / (select extract(epoch from '2026-07-18 08:48:53'::timestamp) - extract(epoch from '2026-07-18 08:48: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'), 47846, 'SRID=4674;POINT (-39.560675 -2.997518)', '2026-07-18 08:49:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560628 -2.997605)'), GeomFromEWKT('SRID=4674;POINT (-39.560675 -2.997518)'))) / (select extract(epoch from '2026-07-18 08:49:02'::timestamp) - extract(epoch from '2026-07-18 08:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560628 -2.997605)'), GeomFromEWKT('SRID=4674;POINT (-39.560675 -2.997518)'))) / (select extract(epoch from '2026-07-18 08:49:02'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.560732 -2.997395)', '2026-07-18 08:49:14', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560675 -2.997518)'), GeomFromEWKT('SRID=4674;POINT (-39.560732 -2.997395)'))) / (select extract(epoch from '2026-07-18 08:49:14'::timestamp) - extract(epoch from '2026-07-18 08:49:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560675 -2.997518)'), GeomFromEWKT('SRID=4674;POINT (-39.560732 -2.997395)'))) / (select extract(epoch from '2026-07-18 08:49:14'::timestamp) - extract(epoch from '2026-07-18 08:49:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560736 -2.997373)', '2026-07-18 08:49:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560732 -2.997395)'), GeomFromEWKT('SRID=4674;POINT (-39.560736 -2.997373)'))) / (select extract(epoch from '2026-07-18 08:49:16'::timestamp) - extract(epoch from '2026-07-18 08:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560732 -2.997395)'), GeomFromEWKT('SRID=4674;POINT (-39.560736 -2.997373)'))) / (select extract(epoch from '2026-07-18 08:49:16'::timestamp) - extract(epoch from '2026-07-18 08:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560748 -2.997323)', '2026-07-18 08:49:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560736 -2.997373)'), GeomFromEWKT('SRID=4674;POINT (-39.560748 -2.997323)'))) / (select extract(epoch from '2026-07-18 08:49:20'::timestamp) - extract(epoch from '2026-07-18 08:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560736 -2.997373)'), GeomFromEWKT('SRID=4674;POINT (-39.560748 -2.997323)'))) / (select extract(epoch from '2026-07-18 08:49:20'::timestamp) - extract(epoch from '2026-07-18 08:49: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'), 47846, 'SRID=4674;POINT (-39.560754 -2.997305)', '2026-07-18 08:49:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560748 -2.997323)'), GeomFromEWKT('SRID=4674;POINT (-39.560754 -2.997305)'))) / (select extract(epoch from '2026-07-18 08:49:22'::timestamp) - extract(epoch from '2026-07-18 08:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560748 -2.997323)'), GeomFromEWKT('SRID=4674;POINT (-39.560754 -2.997305)'))) / (select extract(epoch from '2026-07-18 08:49:22'::timestamp) - extract(epoch from '2026-07-18 08:49: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'), 47846, 'SRID=4674;POINT (-39.560758 -2.997281)', '2026-07-18 08:49:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560754 -2.997305)'), GeomFromEWKT('SRID=4674;POINT (-39.560758 -2.997281)'))) / (select extract(epoch from '2026-07-18 08:49:25'::timestamp) - extract(epoch from '2026-07-18 08:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560754 -2.997305)'), GeomFromEWKT('SRID=4674;POINT (-39.560758 -2.997281)'))) / (select extract(epoch from '2026-07-18 08:49:25'::timestamp) - extract(epoch from '2026-07-18 08:49:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560781 -2.99718)', '2026-07-18 08:49:35', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560758 -2.997281)'), GeomFromEWKT('SRID=4674;POINT (-39.560781 -2.99718)'))) / (select extract(epoch from '2026-07-18 08:49:35'::timestamp) - extract(epoch from '2026-07-18 08:49:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560758 -2.997281)'), GeomFromEWKT('SRID=4674;POINT (-39.560781 -2.99718)'))) / (select extract(epoch from '2026-07-18 08:49:35'::timestamp) - extract(epoch from '2026-07-18 08:49:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560772 -2.99708)', '2026-07-18 08:49:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560781 -2.99718)'), GeomFromEWKT('SRID=4674;POINT (-39.560772 -2.99708)'))) / (select extract(epoch from '2026-07-18 08:49:45'::timestamp) - extract(epoch from '2026-07-18 08:49:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560781 -2.99718)'), GeomFromEWKT('SRID=4674;POINT (-39.560772 -2.99708)'))) / (select extract(epoch from '2026-07-18 08:49:45'::timestamp) - extract(epoch from '2026-07-18 08:49: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'), 47846, 'SRID=4674;POINT (-39.560746 -2.996953)', '2026-07-18 08:49:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560772 -2.99708)'), GeomFromEWKT('SRID=4674;POINT (-39.560746 -2.996953)'))) / (select extract(epoch from '2026-07-18 08:49:53'::timestamp) - extract(epoch from '2026-07-18 08:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560772 -2.99708)'), GeomFromEWKT('SRID=4674;POINT (-39.560746 -2.996953)'))) / (select extract(epoch from '2026-07-18 08:49:53'::timestamp) - extract(epoch from '2026-07-18 08:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560702 -2.996844)', '2026-07-18 08:49:59', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560746 -2.996953)'), GeomFromEWKT('SRID=4674;POINT (-39.560702 -2.996844)'))) / (select extract(epoch from '2026-07-18 08:49:59'::timestamp) - extract(epoch from '2026-07-18 08:49:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560746 -2.996953)'), GeomFromEWKT('SRID=4674;POINT (-39.560702 -2.996844)'))) / (select extract(epoch from '2026-07-18 08:49:59'::timestamp) - extract(epoch from '2026-07-18 08:49: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'), 47846, 'SRID=4674;POINT (-39.560666 -2.996753)', '2026-07-18 08:50:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560702 -2.996844)'), GeomFromEWKT('SRID=4674;POINT (-39.560666 -2.996753)'))) / (select extract(epoch from '2026-07-18 08:50:05'::timestamp) - extract(epoch from '2026-07-18 08:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560702 -2.996844)'), GeomFromEWKT('SRID=4674;POINT (-39.560666 -2.996753)'))) / (select extract(epoch from '2026-07-18 08:50:05'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.560635 -2.996651)', '2026-07-18 08:50:11', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560666 -2.996753)'), GeomFromEWKT('SRID=4674;POINT (-39.560635 -2.996651)'))) / (select extract(epoch from '2026-07-18 08:50:11'::timestamp) - extract(epoch from '2026-07-18 08:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560666 -2.996753)'), GeomFromEWKT('SRID=4674;POINT (-39.560635 -2.996651)'))) / (select extract(epoch from '2026-07-18 08:50:11'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.560605 -2.996553)', '2026-07-18 08:50:17', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560635 -2.996651)'), GeomFromEWKT('SRID=4674;POINT (-39.560605 -2.996553)'))) / (select extract(epoch from '2026-07-18 08:50:17'::timestamp) - extract(epoch from '2026-07-18 08:50:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560635 -2.996651)'), GeomFromEWKT('SRID=4674;POINT (-39.560605 -2.996553)'))) / (select extract(epoch from '2026-07-18 08:50:17'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.560584 -2.996481)', '2026-07-18 08:50:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560605 -2.996553)'), GeomFromEWKT('SRID=4674;POINT (-39.560584 -2.996481)'))) / (select extract(epoch from '2026-07-18 08:50:21'::timestamp) - extract(epoch from '2026-07-18 08:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560605 -2.996553)'), GeomFromEWKT('SRID=4674;POINT (-39.560584 -2.996481)'))) / (select extract(epoch from '2026-07-18 08:50:21'::timestamp) - extract(epoch from '2026-07-18 08:50:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560583 -2.996446)', '2026-07-18 08:50:23', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560584 -2.996481)'), GeomFromEWKT('SRID=4674;POINT (-39.560583 -2.996446)'))) / (select extract(epoch from '2026-07-18 08:50:23'::timestamp) - extract(epoch from '2026-07-18 08:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560584 -2.996481)'), GeomFromEWKT('SRID=4674;POINT (-39.560583 -2.996446)'))) / (select extract(epoch from '2026-07-18 08:50:23'::timestamp) - extract(epoch from '2026-07-18 08:50: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'), 47846, 'SRID=4674;POINT (-39.56055 -2.996363)', '2026-07-18 08:50:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560583 -2.996446)'), GeomFromEWKT('SRID=4674;POINT (-39.56055 -2.996363)'))) / (select extract(epoch from '2026-07-18 08:50:29'::timestamp) - extract(epoch from '2026-07-18 08:50:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560583 -2.996446)'), GeomFromEWKT('SRID=4674;POINT (-39.56055 -2.996363)'))) / (select extract(epoch from '2026-07-18 08:50:29'::timestamp) - extract(epoch from '2026-07-18 08:50:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560506 -2.99627)', '2026-07-18 08:50:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56055 -2.996363)'), GeomFromEWKT('SRID=4674;POINT (-39.560506 -2.99627)'))) / (select extract(epoch from '2026-07-18 08:50:35'::timestamp) - extract(epoch from '2026-07-18 08:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56055 -2.996363)'), GeomFromEWKT('SRID=4674;POINT (-39.560506 -2.99627)'))) / (select extract(epoch from '2026-07-18 08:50:35'::timestamp) - extract(epoch from '2026-07-18 08:50: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'), 47846, 'SRID=4674;POINT (-39.560472 -2.996173)', '2026-07-18 08:50:40', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560506 -2.99627)'), GeomFromEWKT('SRID=4674;POINT (-39.560472 -2.996173)'))) / (select extract(epoch from '2026-07-18 08:50:40'::timestamp) - extract(epoch from '2026-07-18 08:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560506 -2.99627)'), GeomFromEWKT('SRID=4674;POINT (-39.560472 -2.996173)'))) / (select extract(epoch from '2026-07-18 08:50:40'::timestamp) - extract(epoch from '2026-07-18 08:50: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'), 47846, 'SRID=4674;POINT (-39.560438 -2.996036)', '2026-07-18 08:50:46', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560472 -2.996173)'), GeomFromEWKT('SRID=4674;POINT (-39.560438 -2.996036)'))) / (select extract(epoch from '2026-07-18 08:50:46'::timestamp) - extract(epoch from '2026-07-18 08:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560472 -2.996173)'), GeomFromEWKT('SRID=4674;POINT (-39.560438 -2.996036)'))) / (select extract(epoch from '2026-07-18 08:50:46'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.56039 -2.9959)', '2026-07-18 08:50:52', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560438 -2.996036)'), GeomFromEWKT('SRID=4674;POINT (-39.56039 -2.9959)'))) / (select extract(epoch from '2026-07-18 08:50:52'::timestamp) - extract(epoch from '2026-07-18 08:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560438 -2.996036)'), GeomFromEWKT('SRID=4674;POINT (-39.56039 -2.9959)'))) / (select extract(epoch from '2026-07-18 08:50:52'::timestamp) - extract(epoch from '2026-07-18 08:50: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'), 47846, 'SRID=4674;POINT (-39.560369 -2.995842)', '2026-07-18 08:50:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56039 -2.9959)'), GeomFromEWKT('SRID=4674;POINT (-39.560369 -2.995842)'))) / (select extract(epoch from '2026-07-18 08:50:55'::timestamp) - extract(epoch from '2026-07-18 08:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56039 -2.9959)'), GeomFromEWKT('SRID=4674;POINT (-39.560369 -2.995842)'))) / (select extract(epoch from '2026-07-18 08:50:55'::timestamp) - extract(epoch from '2026-07-18 08:50: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'), 47846, 'SRID=4674;POINT (-39.560359 -2.995825)', '2026-07-18 08:50:56', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560369 -2.995842)'), GeomFromEWKT('SRID=4674;POINT (-39.560359 -2.995825)'))) / (select extract(epoch from '2026-07-18 08:50:56'::timestamp) - extract(epoch from '2026-07-18 08:50:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560369 -2.995842)'), GeomFromEWKT('SRID=4674;POINT (-39.560359 -2.995825)'))) / (select extract(epoch from '2026-07-18 08:50:56'::timestamp) - extract(epoch from '2026-07-18 08:50: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'), 47846, 'SRID=4674;POINT (-39.560323 -2.99574)', '2026-07-18 08:51:00', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560359 -2.995825)'), GeomFromEWKT('SRID=4674;POINT (-39.560323 -2.99574)'))) / (select extract(epoch from '2026-07-18 08:51:00'::timestamp) - extract(epoch from '2026-07-18 08:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560359 -2.995825)'), GeomFromEWKT('SRID=4674;POINT (-39.560323 -2.99574)'))) / (select extract(epoch from '2026-07-18 08:51:00'::timestamp) - extract(epoch from '2026-07-18 08:50: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'), 47846, 'SRID=4674;POINT (-39.560281 -2.99565)', '2026-07-18 08:51:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560323 -2.99574)'), GeomFromEWKT('SRID=4674;POINT (-39.560281 -2.99565)'))) / (select extract(epoch from '2026-07-18 08:51:04'::timestamp) - extract(epoch from '2026-07-18 08:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560323 -2.99574)'), GeomFromEWKT('SRID=4674;POINT (-39.560281 -2.99565)'))) / (select extract(epoch from '2026-07-18 08:51:04'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.560273 -2.99563)', '2026-07-18 08:51:05', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560281 -2.99565)'), GeomFromEWKT('SRID=4674;POINT (-39.560273 -2.99563)'))) / (select extract(epoch from '2026-07-18 08:51:05'::timestamp) - extract(epoch from '2026-07-18 08:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560281 -2.99565)'), GeomFromEWKT('SRID=4674;POINT (-39.560273 -2.99563)'))) / (select extract(epoch from '2026-07-18 08:51:05'::timestamp) - extract(epoch from '2026-07-18 08:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.560219 -2.995527)', '2026-07-18 08:51:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560273 -2.99563)'), GeomFromEWKT('SRID=4674;POINT (-39.560219 -2.995527)'))) / (select extract(epoch from '2026-07-18 08:51:11'::timestamp) - extract(epoch from '2026-07-18 08:51:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560273 -2.99563)'), GeomFromEWKT('SRID=4674;POINT (-39.560219 -2.995527)'))) / (select extract(epoch from '2026-07-18 08:51:11'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.560151 -2.995405)', '2026-07-18 08:51:18', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560219 -2.995527)'), GeomFromEWKT('SRID=4674;POINT (-39.560151 -2.995405)'))) / (select extract(epoch from '2026-07-18 08:51:18'::timestamp) - extract(epoch from '2026-07-18 08:51:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560219 -2.995527)'), GeomFromEWKT('SRID=4674;POINT (-39.560151 -2.995405)'))) / (select extract(epoch from '2026-07-18 08:51:18'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.560081 -2.995272)', '2026-07-18 08:51:25', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560151 -2.995405)'), GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.995272)'))) / (select extract(epoch from '2026-07-18 08:51:25'::timestamp) - extract(epoch from '2026-07-18 08:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560151 -2.995405)'), GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.995272)'))) / (select extract(epoch from '2026-07-18 08:51:25'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.560073 -2.995252)', '2026-07-18 08:51:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.995272)'), GeomFromEWKT('SRID=4674;POINT (-39.560073 -2.995252)'))) / (select extract(epoch from '2026-07-18 08:51:26'::timestamp) - extract(epoch from '2026-07-18 08:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560081 -2.995272)'), GeomFromEWKT('SRID=4674;POINT (-39.560073 -2.995252)'))) / (select extract(epoch from '2026-07-18 08:51:26'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.56005 -2.995184)', '2026-07-18 08:51:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560073 -2.995252)'), GeomFromEWKT('SRID=4674;POINT (-39.56005 -2.995184)'))) / (select extract(epoch from '2026-07-18 08:51:29'::timestamp) - extract(epoch from '2026-07-18 08:51:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.560073 -2.995252)'), GeomFromEWKT('SRID=4674;POINT (-39.56005 -2.995184)'))) / (select extract(epoch from '2026-07-18 08:51:29'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.559982 -2.995054)', '2026-07-18 08:51:35', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56005 -2.995184)'), GeomFromEWKT('SRID=4674;POINT (-39.559982 -2.995054)'))) / (select extract(epoch from '2026-07-18 08:51:35'::timestamp) - extract(epoch from '2026-07-18 08:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.56005 -2.995184)'), GeomFromEWKT('SRID=4674;POINT (-39.559982 -2.995054)'))) / (select extract(epoch from '2026-07-18 08:51:35'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.559955 -2.994985)', '2026-07-18 08:51:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559982 -2.995054)'), GeomFromEWKT('SRID=4674;POINT (-39.559955 -2.994985)'))) / (select extract(epoch from '2026-07-18 08:51:38'::timestamp) - extract(epoch from '2026-07-18 08:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559982 -2.995054)'), GeomFromEWKT('SRID=4674;POINT (-39.559955 -2.994985)'))) / (select extract(epoch from '2026-07-18 08:51:38'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.559934 -2.994945)', '2026-07-18 08:51:40', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559955 -2.994985)'), GeomFromEWKT('SRID=4674;POINT (-39.559934 -2.994945)'))) / (select extract(epoch from '2026-07-18 08:51:40'::timestamp) - extract(epoch from '2026-07-18 08:51:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559955 -2.994985)'), GeomFromEWKT('SRID=4674;POINT (-39.559934 -2.994945)'))) / (select extract(epoch from '2026-07-18 08:51:40'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.559851 -2.994798)', '2026-07-18 08:51:47', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559934 -2.994945)'), GeomFromEWKT('SRID=4674;POINT (-39.559851 -2.994798)'))) / (select extract(epoch from '2026-07-18 08:51:47'::timestamp) - extract(epoch from '2026-07-18 08:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559934 -2.994945)'), GeomFromEWKT('SRID=4674;POINT (-39.559851 -2.994798)'))) / (select extract(epoch from '2026-07-18 08:51:47'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.559804 -2.994608)', '2026-07-18 08:51:55', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559851 -2.994798)'), GeomFromEWKT('SRID=4674;POINT (-39.559804 -2.994608)'))) / (select extract(epoch from '2026-07-18 08:51:55'::timestamp) - extract(epoch from '2026-07-18 08:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559851 -2.994798)'), GeomFromEWKT('SRID=4674;POINT (-39.559804 -2.994608)'))) / (select extract(epoch from '2026-07-18 08:51:55'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.559801 -2.994462)', '2026-07-18 08:52:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559804 -2.994608)'), GeomFromEWKT('SRID=4674;POINT (-39.559801 -2.994462)'))) / (select extract(epoch from '2026-07-18 08:52:01'::timestamp) - extract(epoch from '2026-07-18 08:51:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559804 -2.994608)'), GeomFromEWKT('SRID=4674;POINT (-39.559801 -2.994462)'))) / (select extract(epoch from '2026-07-18 08:52:01'::timestamp) - extract(epoch from '2026-07-18 08:51: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'), 47846, 'SRID=4674;POINT (-39.559781 -2.994274)', '2026-07-18 08:52:08', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559801 -2.994462)'), GeomFromEWKT('SRID=4674;POINT (-39.559781 -2.994274)'))) / (select extract(epoch from '2026-07-18 08:52:08'::timestamp) - extract(epoch from '2026-07-18 08:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559801 -2.994462)'), GeomFromEWKT('SRID=4674;POINT (-39.559781 -2.994274)'))) / (select extract(epoch from '2026-07-18 08:52:08'::timestamp) - extract(epoch from '2026-07-18 08:52: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'), 47846, 'SRID=4674;POINT (-39.559783 -2.994124)', '2026-07-18 08:52:14', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559781 -2.994274)'), GeomFromEWKT('SRID=4674;POINT (-39.559783 -2.994124)'))) / (select extract(epoch from '2026-07-18 08:52:14'::timestamp) - extract(epoch from '2026-07-18 08:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559781 -2.994274)'), GeomFromEWKT('SRID=4674;POINT (-39.559783 -2.994124)'))) / (select extract(epoch from '2026-07-18 08:52:14'::timestamp) - extract(epoch from '2026-07-18 08:52:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559756 -2.993975)', '2026-07-18 08:52:20', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559783 -2.994124)'), GeomFromEWKT('SRID=4674;POINT (-39.559756 -2.993975)'))) / (select extract(epoch from '2026-07-18 08:52:20'::timestamp) - extract(epoch from '2026-07-18 08:52:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559783 -2.994124)'), GeomFromEWKT('SRID=4674;POINT (-39.559756 -2.993975)'))) / (select extract(epoch from '2026-07-18 08:52:20'::timestamp) - extract(epoch from '2026-07-18 08:52: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'), 47846, 'SRID=4674;POINT (-39.559724 -2.993824)', '2026-07-18 08:52:26', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559756 -2.993975)'), GeomFromEWKT('SRID=4674;POINT (-39.559724 -2.993824)'))) / (select extract(epoch from '2026-07-18 08:52:26'::timestamp) - extract(epoch from '2026-07-18 08:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559756 -2.993975)'), GeomFromEWKT('SRID=4674;POINT (-39.559724 -2.993824)'))) / (select extract(epoch from '2026-07-18 08:52:26'::timestamp) - extract(epoch from '2026-07-18 08:52: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'), 47846, 'SRID=4674;POINT (-39.559701 -2.993679)', '2026-07-18 08:52:32', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559724 -2.993824)'), GeomFromEWKT('SRID=4674;POINT (-39.559701 -2.993679)'))) / (select extract(epoch from '2026-07-18 08:52:32'::timestamp) - extract(epoch from '2026-07-18 08:52:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559724 -2.993824)'), GeomFromEWKT('SRID=4674;POINT (-39.559701 -2.993679)'))) / (select extract(epoch from '2026-07-18 08:52:32'::timestamp) - extract(epoch from '2026-07-18 08:52: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'), 47846, 'SRID=4674;POINT (-39.559662 -2.993507)', '2026-07-18 08:52:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559701 -2.993679)'), GeomFromEWKT('SRID=4674;POINT (-39.559662 -2.993507)'))) / (select extract(epoch from '2026-07-18 08:52:39'::timestamp) - extract(epoch from '2026-07-18 08:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559701 -2.993679)'), GeomFromEWKT('SRID=4674;POINT (-39.559662 -2.993507)'))) / (select extract(epoch from '2026-07-18 08:52:39'::timestamp) - extract(epoch from '2026-07-18 08:52: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'), 47846, 'SRID=4674;POINT (-39.559629 -2.993418)', '2026-07-18 08:52:43', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559662 -2.993507)'), GeomFromEWKT('SRID=4674;POINT (-39.559629 -2.993418)'))) / (select extract(epoch from '2026-07-18 08:52:43'::timestamp) - extract(epoch from '2026-07-18 08:52:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559662 -2.993507)'), GeomFromEWKT('SRID=4674;POINT (-39.559629 -2.993418)'))) / (select extract(epoch from '2026-07-18 08:52:43'::timestamp) - extract(epoch from '2026-07-18 08:52: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'), 47846, 'SRID=4674;POINT (-39.559619 -2.993399)', '2026-07-18 08:52:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559629 -2.993418)'), GeomFromEWKT('SRID=4674;POINT (-39.559619 -2.993399)'))) / (select extract(epoch from '2026-07-18 08:52:44'::timestamp) - extract(epoch from '2026-07-18 08:52:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559629 -2.993418)'), GeomFromEWKT('SRID=4674;POINT (-39.559619 -2.993399)'))) / (select extract(epoch from '2026-07-18 08:52:44'::timestamp) - extract(epoch from '2026-07-18 08:52: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'), 47846, 'SRID=4674;POINT (-39.559575 -2.993293)', '2026-07-18 08:52:49', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559619 -2.993399)'), GeomFromEWKT('SRID=4674;POINT (-39.559575 -2.993293)'))) / (select extract(epoch from '2026-07-18 08:52:49'::timestamp) - extract(epoch from '2026-07-18 08:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559619 -2.993399)'), GeomFromEWKT('SRID=4674;POINT (-39.559575 -2.993293)'))) / (select extract(epoch from '2026-07-18 08:52:49'::timestamp) - extract(epoch from '2026-07-18 08:52: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'), 47846, 'SRID=4674;POINT (-39.55956 -2.993171)', '2026-07-18 08:52:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559575 -2.993293)'), GeomFromEWKT('SRID=4674;POINT (-39.55956 -2.993171)'))) / (select extract(epoch from '2026-07-18 08:52:54'::timestamp) - extract(epoch from '2026-07-18 08:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559575 -2.993293)'), GeomFromEWKT('SRID=4674;POINT (-39.55956 -2.993171)'))) / (select extract(epoch from '2026-07-18 08:52:54'::timestamp) - extract(epoch from '2026-07-18 08:52:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559561 -2.993035)', '2026-07-18 08:53:00', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55956 -2.993171)'), GeomFromEWKT('SRID=4674;POINT (-39.559561 -2.993035)'))) / (select extract(epoch from '2026-07-18 08:53:00'::timestamp) - extract(epoch from '2026-07-18 08:52:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55956 -2.993171)'), GeomFromEWKT('SRID=4674;POINT (-39.559561 -2.993035)'))) / (select extract(epoch from '2026-07-18 08:53:00'::timestamp) - extract(epoch from '2026-07-18 08:52: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'), 47846, 'SRID=4674;POINT (-39.559556 -2.992876)', '2026-07-18 08:53:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559561 -2.993035)'), GeomFromEWKT('SRID=4674;POINT (-39.559556 -2.992876)'))) / (select extract(epoch from '2026-07-18 08:53:06'::timestamp) - extract(epoch from '2026-07-18 08:53:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559561 -2.993035)'), GeomFromEWKT('SRID=4674;POINT (-39.559556 -2.992876)'))) / (select extract(epoch from '2026-07-18 08:53:06'::timestamp) - extract(epoch from '2026-07-18 08:53: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'), 47846, 'SRID=4674;POINT (-39.559532 -2.992725)', '2026-07-18 08:53:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559556 -2.992876)'), GeomFromEWKT('SRID=4674;POINT (-39.559532 -2.992725)'))) / (select extract(epoch from '2026-07-18 08:53:12'::timestamp) - extract(epoch from '2026-07-18 08:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559556 -2.992876)'), GeomFromEWKT('SRID=4674;POINT (-39.559532 -2.992725)'))) / (select extract(epoch from '2026-07-18 08:53:12'::timestamp) - extract(epoch from '2026-07-18 08:53: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'), 47846, 'SRID=4674;POINT (-39.559461 -2.992547)', '2026-07-18 08:53:20', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559532 -2.992725)'), GeomFromEWKT('SRID=4674;POINT (-39.559461 -2.992547)'))) / (select extract(epoch from '2026-07-18 08:53:20'::timestamp) - extract(epoch from '2026-07-18 08:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559532 -2.992725)'), GeomFromEWKT('SRID=4674;POINT (-39.559461 -2.992547)'))) / (select extract(epoch from '2026-07-18 08:53:20'::timestamp) - extract(epoch from '2026-07-18 08:53:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.55942 -2.992436)', '2026-07-18 08:53:25', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559461 -2.992547)'), GeomFromEWKT('SRID=4674;POINT (-39.55942 -2.992436)'))) / (select extract(epoch from '2026-07-18 08:53:25'::timestamp) - extract(epoch from '2026-07-18 08:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559461 -2.992547)'), GeomFromEWKT('SRID=4674;POINT (-39.55942 -2.992436)'))) / (select extract(epoch from '2026-07-18 08:53:25'::timestamp) - extract(epoch from '2026-07-18 08:53: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'), 47846, 'SRID=4674;POINT (-39.559373 -2.992301)', '2026-07-18 08:53:31', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55942 -2.992436)'), GeomFromEWKT('SRID=4674;POINT (-39.559373 -2.992301)'))) / (select extract(epoch from '2026-07-18 08:53:31'::timestamp) - extract(epoch from '2026-07-18 08:53:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55942 -2.992436)'), GeomFromEWKT('SRID=4674;POINT (-39.559373 -2.992301)'))) / (select extract(epoch from '2026-07-18 08:53:31'::timestamp) - extract(epoch from '2026-07-18 08:53: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'), 47846, 'SRID=4674;POINT (-39.559364 -2.992259)', '2026-07-18 08:53:33', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559373 -2.992301)'), GeomFromEWKT('SRID=4674;POINT (-39.559364 -2.992259)'))) / (select extract(epoch from '2026-07-18 08:53:33'::timestamp) - extract(epoch from '2026-07-18 08:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559373 -2.992301)'), GeomFromEWKT('SRID=4674;POINT (-39.559364 -2.992259)'))) / (select extract(epoch from '2026-07-18 08:53:33'::timestamp) - extract(epoch from '2026-07-18 08:53: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'), 47846, 'SRID=4674;POINT (-39.55934 -2.992221)', '2026-07-18 08:53:35', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559364 -2.992259)'), GeomFromEWKT('SRID=4674;POINT (-39.55934 -2.992221)'))) / (select extract(epoch from '2026-07-18 08:53:35'::timestamp) - extract(epoch from '2026-07-18 08:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559364 -2.992259)'), GeomFromEWKT('SRID=4674;POINT (-39.55934 -2.992221)'))) / (select extract(epoch from '2026-07-18 08:53:35'::timestamp) - extract(epoch from '2026-07-18 08:53:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559317 -2.992114)', '2026-07-18 08:53:40', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55934 -2.992221)'), GeomFromEWKT('SRID=4674;POINT (-39.559317 -2.992114)'))) / (select extract(epoch from '2026-07-18 08:53:40'::timestamp) - extract(epoch from '2026-07-18 08:53:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55934 -2.992221)'), GeomFromEWKT('SRID=4674;POINT (-39.559317 -2.992114)'))) / (select extract(epoch from '2026-07-18 08:53:40'::timestamp) - extract(epoch from '2026-07-18 08:53: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'), 47846, 'SRID=4674;POINT (-39.559284 -2.991957)', '2026-07-18 08:53:47', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559317 -2.992114)'), GeomFromEWKT('SRID=4674;POINT (-39.559284 -2.991957)'))) / (select extract(epoch from '2026-07-18 08:53:47'::timestamp) - extract(epoch from '2026-07-18 08:53:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559317 -2.992114)'), GeomFromEWKT('SRID=4674;POINT (-39.559284 -2.991957)'))) / (select extract(epoch from '2026-07-18 08:53:47'::timestamp) - extract(epoch from '2026-07-18 08:53: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'), 47846, 'SRID=4674;POINT (-39.559237 -2.991804)', '2026-07-18 08:53:54', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559284 -2.991957)'), GeomFromEWKT('SRID=4674;POINT (-39.559237 -2.991804)'))) / (select extract(epoch from '2026-07-18 08:53:54'::timestamp) - extract(epoch from '2026-07-18 08:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559284 -2.991957)'), GeomFromEWKT('SRID=4674;POINT (-39.559237 -2.991804)'))) / (select extract(epoch from '2026-07-18 08:53:54'::timestamp) - extract(epoch from '2026-07-18 08:53: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'), 47846, 'SRID=4674;POINT (-39.559187 -2.991671)', '2026-07-18 08:54:00', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559237 -2.991804)'), GeomFromEWKT('SRID=4674;POINT (-39.559187 -2.991671)'))) / (select extract(epoch from '2026-07-18 08:54:00'::timestamp) - extract(epoch from '2026-07-18 08:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559237 -2.991804)'), GeomFromEWKT('SRID=4674;POINT (-39.559187 -2.991671)'))) / (select extract(epoch from '2026-07-18 08:54:00'::timestamp) - extract(epoch from '2026-07-18 08:53: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'), 47846, 'SRID=4674;POINT (-39.559131 -2.991534)', '2026-07-18 08:54:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559187 -2.991671)'), GeomFromEWKT('SRID=4674;POINT (-39.559131 -2.991534)'))) / (select extract(epoch from '2026-07-18 08:54:06'::timestamp) - extract(epoch from '2026-07-18 08:54:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559187 -2.991671)'), GeomFromEWKT('SRID=4674;POINT (-39.559131 -2.991534)'))) / (select extract(epoch from '2026-07-18 08:54:06'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.559102 -2.991369)', '2026-07-18 08:54:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559131 -2.991534)'), GeomFromEWKT('SRID=4674;POINT (-39.559102 -2.991369)'))) / (select extract(epoch from '2026-07-18 08:54:13'::timestamp) - extract(epoch from '2026-07-18 08:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559131 -2.991534)'), GeomFromEWKT('SRID=4674;POINT (-39.559102 -2.991369)'))) / (select extract(epoch from '2026-07-18 08:54:13'::timestamp) - extract(epoch from '2026-07-18 08:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559096 -2.991323)', '2026-07-18 08:54:15', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559102 -2.991369)'), GeomFromEWKT('SRID=4674;POINT (-39.559096 -2.991323)'))) / (select extract(epoch from '2026-07-18 08:54:15'::timestamp) - extract(epoch from '2026-07-18 08:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559102 -2.991369)'), GeomFromEWKT('SRID=4674;POINT (-39.559096 -2.991323)'))) / (select extract(epoch from '2026-07-18 08:54:15'::timestamp) - extract(epoch from '2026-07-18 08:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559094 -2.991255)', '2026-07-18 08:54:18', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559096 -2.991323)'), GeomFromEWKT('SRID=4674;POINT (-39.559094 -2.991255)'))) / (select extract(epoch from '2026-07-18 08:54:18'::timestamp) - extract(epoch from '2026-07-18 08:54:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559096 -2.991323)'), GeomFromEWKT('SRID=4674;POINT (-39.559094 -2.991255)'))) / (select extract(epoch from '2026-07-18 08:54:18'::timestamp) - extract(epoch from '2026-07-18 08:54: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'), 47846, 'SRID=4674;POINT (-39.559085 -2.991191)', '2026-07-18 08:54:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559094 -2.991255)'), GeomFromEWKT('SRID=4674;POINT (-39.559085 -2.991191)'))) / (select extract(epoch from '2026-07-18 08:54:21'::timestamp) - extract(epoch from '2026-07-18 08:54:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559094 -2.991255)'), GeomFromEWKT('SRID=4674;POINT (-39.559085 -2.991191)'))) / (select extract(epoch from '2026-07-18 08:54:21'::timestamp) - extract(epoch from '2026-07-18 08:54: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'), 47846, 'SRID=4674;POINT (-39.559082 -2.991148)', '2026-07-18 08:54:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559085 -2.991191)'), GeomFromEWKT('SRID=4674;POINT (-39.559082 -2.991148)'))) / (select extract(epoch from '2026-07-18 08:54:23'::timestamp) - extract(epoch from '2026-07-18 08:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559085 -2.991191)'), GeomFromEWKT('SRID=4674;POINT (-39.559082 -2.991148)'))) / (select extract(epoch from '2026-07-18 08:54:23'::timestamp) - extract(epoch from '2026-07-18 08:54: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'), 47846, 'SRID=4674;POINT (-39.55906 -2.99099)', '2026-07-18 08:54:30', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559082 -2.991148)'), GeomFromEWKT('SRID=4674;POINT (-39.55906 -2.99099)'))) / (select extract(epoch from '2026-07-18 08:54:30'::timestamp) - extract(epoch from '2026-07-18 08:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559082 -2.991148)'), GeomFromEWKT('SRID=4674;POINT (-39.55906 -2.99099)'))) / (select extract(epoch from '2026-07-18 08:54:30'::timestamp) - extract(epoch from '2026-07-18 08:54: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'), 47846, 'SRID=4674;POINT (-39.559025 -2.990796)', '2026-07-18 08:54:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55906 -2.99099)'), GeomFromEWKT('SRID=4674;POINT (-39.559025 -2.990796)'))) / (select extract(epoch from '2026-07-18 08:54:38'::timestamp) - extract(epoch from '2026-07-18 08:54:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55906 -2.99099)'), GeomFromEWKT('SRID=4674;POINT (-39.559025 -2.990796)'))) / (select extract(epoch from '2026-07-18 08:54:38'::timestamp) - extract(epoch from '2026-07-18 08:54:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559024 -2.990772)', '2026-07-18 08:54:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559025 -2.990796)'), GeomFromEWKT('SRID=4674;POINT (-39.559024 -2.990772)'))) / (select extract(epoch from '2026-07-18 08:54:39'::timestamp) - extract(epoch from '2026-07-18 08:54:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559025 -2.990796)'), GeomFromEWKT('SRID=4674;POINT (-39.559024 -2.990772)'))) / (select extract(epoch from '2026-07-18 08:54:39'::timestamp) - extract(epoch from '2026-07-18 08:54:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559006 -2.990581)', '2026-07-18 08:54:47', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559024 -2.990772)'), GeomFromEWKT('SRID=4674;POINT (-39.559006 -2.990581)'))) / (select extract(epoch from '2026-07-18 08:54:47'::timestamp) - extract(epoch from '2026-07-18 08:54:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559024 -2.990772)'), GeomFromEWKT('SRID=4674;POINT (-39.559006 -2.990581)'))) / (select extract(epoch from '2026-07-18 08:54:47'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.559004 -2.990432)', '2026-07-18 08:54:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559006 -2.990581)'), GeomFromEWKT('SRID=4674;POINT (-39.559004 -2.990432)'))) / (select extract(epoch from '2026-07-18 08:54:53'::timestamp) - extract(epoch from '2026-07-18 08:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559006 -2.990581)'), GeomFromEWKT('SRID=4674;POINT (-39.559004 -2.990432)'))) / (select extract(epoch from '2026-07-18 08:54:53'::timestamp) - extract(epoch from '2026-07-18 08:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.559009 -2.99031)', '2026-07-18 08:54:58', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559004 -2.990432)'), GeomFromEWKT('SRID=4674;POINT (-39.559009 -2.99031)'))) / (select extract(epoch from '2026-07-18 08:54:58'::timestamp) - extract(epoch from '2026-07-18 08:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559004 -2.990432)'), GeomFromEWKT('SRID=4674;POINT (-39.559009 -2.99031)'))) / (select extract(epoch from '2026-07-18 08:54:58'::timestamp) - extract(epoch from '2026-07-18 08:54: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'), 47846, 'SRID=4674;POINT (-39.55904 -2.99013)', '2026-07-18 08:55:06', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559009 -2.99031)'), GeomFromEWKT('SRID=4674;POINT (-39.55904 -2.99013)'))) / (select extract(epoch from '2026-07-18 08:55:06'::timestamp) - extract(epoch from '2026-07-18 08:54:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559009 -2.99031)'), GeomFromEWKT('SRID=4674;POINT (-39.55904 -2.99013)'))) / (select extract(epoch from '2026-07-18 08:55:06'::timestamp) - extract(epoch from '2026-07-18 08:54: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'), 47846, 'SRID=4674;POINT (-39.55904 -2.990009)', '2026-07-18 08:55:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55904 -2.99013)'), GeomFromEWKT('SRID=4674;POINT (-39.55904 -2.990009)'))) / (select extract(epoch from '2026-07-18 08:55:11'::timestamp) - extract(epoch from '2026-07-18 08:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55904 -2.99013)'), GeomFromEWKT('SRID=4674;POINT (-39.55904 -2.990009)'))) / (select extract(epoch from '2026-07-18 08:55:11'::timestamp) - extract(epoch from '2026-07-18 08:55: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'), 47846, 'SRID=4674;POINT (-39.55903 -2.989833)', '2026-07-18 08:55:18', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55904 -2.990009)'), GeomFromEWKT('SRID=4674;POINT (-39.55903 -2.989833)'))) / (select extract(epoch from '2026-07-18 08:55:18'::timestamp) - extract(epoch from '2026-07-18 08:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55904 -2.990009)'), GeomFromEWKT('SRID=4674;POINT (-39.55903 -2.989833)'))) / (select extract(epoch from '2026-07-18 08:55:18'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.559029 -2.989692)', '2026-07-18 08:55:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55903 -2.989833)'), GeomFromEWKT('SRID=4674;POINT (-39.559029 -2.989692)'))) / (select extract(epoch from '2026-07-18 08:55:24'::timestamp) - extract(epoch from '2026-07-18 08:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55903 -2.989833)'), GeomFromEWKT('SRID=4674;POINT (-39.559029 -2.989692)'))) / (select extract(epoch from '2026-07-18 08:55:24'::timestamp) - extract(epoch from '2026-07-18 08:55: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'), 47846, 'SRID=4674;POINT (-39.559012 -2.989489)', '2026-07-18 08:55:32', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559029 -2.989692)'), GeomFromEWKT('SRID=4674;POINT (-39.559012 -2.989489)'))) / (select extract(epoch from '2026-07-18 08:55:32'::timestamp) - extract(epoch from '2026-07-18 08:55:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559029 -2.989692)'), GeomFromEWKT('SRID=4674;POINT (-39.559012 -2.989489)'))) / (select extract(epoch from '2026-07-18 08:55:32'::timestamp) - extract(epoch from '2026-07-18 08:55: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'), 47846, 'SRID=4674;POINT (-39.558991 -2.989341)', '2026-07-18 08:55:38', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559012 -2.989489)'), GeomFromEWKT('SRID=4674;POINT (-39.558991 -2.989341)'))) / (select extract(epoch from '2026-07-18 08:55:38'::timestamp) - extract(epoch from '2026-07-18 08:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.559012 -2.989489)'), GeomFromEWKT('SRID=4674;POINT (-39.558991 -2.989341)'))) / (select extract(epoch from '2026-07-18 08:55:38'::timestamp) - extract(epoch from '2026-07-18 08:55:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558955 -2.989177)', '2026-07-18 08:55:45', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558991 -2.989341)'), GeomFromEWKT('SRID=4674;POINT (-39.558955 -2.989177)'))) / (select extract(epoch from '2026-07-18 08:55:45'::timestamp) - extract(epoch from '2026-07-18 08:55:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558991 -2.989341)'), GeomFromEWKT('SRID=4674;POINT (-39.558955 -2.989177)'))) / (select extract(epoch from '2026-07-18 08:55:45'::timestamp) - extract(epoch from '2026-07-18 08:55:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558981 -2.989038)', '2026-07-18 08:55:51', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558955 -2.989177)'), GeomFromEWKT('SRID=4674;POINT (-39.558981 -2.989038)'))) / (select extract(epoch from '2026-07-18 08:55:51'::timestamp) - extract(epoch from '2026-07-18 08:55:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558955 -2.989177)'), GeomFromEWKT('SRID=4674;POINT (-39.558981 -2.989038)'))) / (select extract(epoch from '2026-07-18 08:55:51'::timestamp) - extract(epoch from '2026-07-18 08:55: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'), 47846, 'SRID=4674;POINT (-39.558976 -2.988895)', '2026-07-18 08:55:57', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558981 -2.989038)'), GeomFromEWKT('SRID=4674;POINT (-39.558976 -2.988895)'))) / (select extract(epoch from '2026-07-18 08:55:57'::timestamp) - extract(epoch from '2026-07-18 08:55:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558981 -2.989038)'), GeomFromEWKT('SRID=4674;POINT (-39.558976 -2.988895)'))) / (select extract(epoch from '2026-07-18 08:55:57'::timestamp) - extract(epoch from '2026-07-18 08:55: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'), 47846, 'SRID=4674;POINT (-39.558961 -2.988748)', '2026-07-18 08:56:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558976 -2.988895)'), GeomFromEWKT('SRID=4674;POINT (-39.558961 -2.988748)'))) / (select extract(epoch from '2026-07-18 08:56:03'::timestamp) - extract(epoch from '2026-07-18 08:55:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558976 -2.988895)'), GeomFromEWKT('SRID=4674;POINT (-39.558961 -2.988748)'))) / (select extract(epoch from '2026-07-18 08:56:03'::timestamp) - extract(epoch from '2026-07-18 08:55: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'), 47846, 'SRID=4674;POINT (-39.558956 -2.98863)', '2026-07-18 08:56:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558961 -2.988748)'), GeomFromEWKT('SRID=4674;POINT (-39.558956 -2.98863)'))) / (select extract(epoch from '2026-07-18 08:56:08'::timestamp) - extract(epoch from '2026-07-18 08:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558961 -2.988748)'), GeomFromEWKT('SRID=4674;POINT (-39.558956 -2.98863)'))) / (select extract(epoch from '2026-07-18 08:56:08'::timestamp) - extract(epoch from '2026-07-18 08:56: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'), 47846, 'SRID=4674;POINT (-39.558943 -2.988462)', '2026-07-18 08:56:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558956 -2.98863)'), GeomFromEWKT('SRID=4674;POINT (-39.558943 -2.988462)'))) / (select extract(epoch from '2026-07-18 08:56:15'::timestamp) - extract(epoch from '2026-07-18 08:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558956 -2.98863)'), GeomFromEWKT('SRID=4674;POINT (-39.558943 -2.988462)'))) / (select extract(epoch from '2026-07-18 08:56:15'::timestamp) - extract(epoch from '2026-07-18 08:56: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'), 47846, 'SRID=4674;POINT (-39.558935 -2.988285)', '2026-07-18 08:56:22', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558943 -2.988462)'), GeomFromEWKT('SRID=4674;POINT (-39.558935 -2.988285)'))) / (select extract(epoch from '2026-07-18 08:56:22'::timestamp) - extract(epoch from '2026-07-18 08:56:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558943 -2.988462)'), GeomFromEWKT('SRID=4674;POINT (-39.558935 -2.988285)'))) / (select extract(epoch from '2026-07-18 08:56:22'::timestamp) - extract(epoch from '2026-07-18 08:56:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558942 -2.988191)', '2026-07-18 08:56:26', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558935 -2.988285)'), GeomFromEWKT('SRID=4674;POINT (-39.558942 -2.988191)'))) / (select extract(epoch from '2026-07-18 08:56:26'::timestamp) - extract(epoch from '2026-07-18 08:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558935 -2.988285)'), GeomFromEWKT('SRID=4674;POINT (-39.558942 -2.988191)'))) / (select extract(epoch from '2026-07-18 08:56:26'::timestamp) - extract(epoch from '2026-07-18 08:56:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558938 -2.988144)', '2026-07-18 08:56:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558942 -2.988191)'), GeomFromEWKT('SRID=4674;POINT (-39.558938 -2.988144)'))) / (select extract(epoch from '2026-07-18 08:56:28'::timestamp) - extract(epoch from '2026-07-18 08:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558942 -2.988191)'), GeomFromEWKT('SRID=4674;POINT (-39.558938 -2.988144)'))) / (select extract(epoch from '2026-07-18 08:56:28'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558946 -2.9881)', '2026-07-18 08:56:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558938 -2.988144)'), GeomFromEWKT('SRID=4674;POINT (-39.558946 -2.9881)'))) / (select extract(epoch from '2026-07-18 08:56:30'::timestamp) - extract(epoch from '2026-07-18 08:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558938 -2.988144)'), GeomFromEWKT('SRID=4674;POINT (-39.558946 -2.9881)'))) / (select extract(epoch from '2026-07-18 08:56:30'::timestamp) - extract(epoch from '2026-07-18 08:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558922 -2.98802)', '2026-07-18 08:56:33', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558946 -2.9881)'), GeomFromEWKT('SRID=4674;POINT (-39.558922 -2.98802)'))) / (select extract(epoch from '2026-07-18 08:56:33'::timestamp) - extract(epoch from '2026-07-18 08:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558946 -2.9881)'), GeomFromEWKT('SRID=4674;POINT (-39.558922 -2.98802)'))) / (select extract(epoch from '2026-07-18 08:56:33'::timestamp) - extract(epoch from '2026-07-18 08:56: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'), 47846, 'SRID=4674;POINT (-39.558926 -2.987997)', '2026-07-18 08:56:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558922 -2.98802)'), GeomFromEWKT('SRID=4674;POINT (-39.558926 -2.987997)'))) / (select extract(epoch from '2026-07-18 08:56:34'::timestamp) - extract(epoch from '2026-07-18 08:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558922 -2.98802)'), GeomFromEWKT('SRID=4674;POINT (-39.558926 -2.987997)'))) / (select extract(epoch from '2026-07-18 08:56:34'::timestamp) - extract(epoch from '2026-07-18 08:56: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'), 47846, 'SRID=4674;POINT (-39.55891 -2.987876)', '2026-07-18 08:56:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558926 -2.987997)'), GeomFromEWKT('SRID=4674;POINT (-39.55891 -2.987876)'))) / (select extract(epoch from '2026-07-18 08:56:39'::timestamp) - extract(epoch from '2026-07-18 08:56:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558926 -2.987997)'), GeomFromEWKT('SRID=4674;POINT (-39.55891 -2.987876)'))) / (select extract(epoch from '2026-07-18 08:56:39'::timestamp) - extract(epoch from '2026-07-18 08:56:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558911 -2.987764)', '2026-07-18 08:56:44', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55891 -2.987876)'), GeomFromEWKT('SRID=4674;POINT (-39.558911 -2.987764)'))) / (select extract(epoch from '2026-07-18 08:56:44'::timestamp) - extract(epoch from '2026-07-18 08:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55891 -2.987876)'), GeomFromEWKT('SRID=4674;POINT (-39.558911 -2.987764)'))) / (select extract(epoch from '2026-07-18 08:56:44'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558931 -2.987642)', '2026-07-18 08:56:49', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558911 -2.987764)'), GeomFromEWKT('SRID=4674;POINT (-39.558931 -2.987642)'))) / (select extract(epoch from '2026-07-18 08:56:49'::timestamp) - extract(epoch from '2026-07-18 08:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558911 -2.987764)'), GeomFromEWKT('SRID=4674;POINT (-39.558931 -2.987642)'))) / (select extract(epoch from '2026-07-18 08:56:49'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558952 -2.987478)', '2026-07-18 08:56:56', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558931 -2.987642)'), GeomFromEWKT('SRID=4674;POINT (-39.558952 -2.987478)'))) / (select extract(epoch from '2026-07-18 08:56:56'::timestamp) - extract(epoch from '2026-07-18 08:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558931 -2.987642)'), GeomFromEWKT('SRID=4674;POINT (-39.558952 -2.987478)'))) / (select extract(epoch from '2026-07-18 08:56:56'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558938 -2.987327)', '2026-07-18 08:57:02', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558952 -2.987478)'), GeomFromEWKT('SRID=4674;POINT (-39.558938 -2.987327)'))) / (select extract(epoch from '2026-07-18 08:57:02'::timestamp) - extract(epoch from '2026-07-18 08:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558952 -2.987478)'), GeomFromEWKT('SRID=4674;POINT (-39.558938 -2.987327)'))) / (select extract(epoch from '2026-07-18 08:57:02'::timestamp) - extract(epoch from '2026-07-18 08:56:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558918 -2.987172)', '2026-07-18 08:57:08', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558938 -2.987327)'), GeomFromEWKT('SRID=4674;POINT (-39.558918 -2.987172)'))) / (select extract(epoch from '2026-07-18 08:57:08'::timestamp) - extract(epoch from '2026-07-18 08:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558938 -2.987327)'), GeomFromEWKT('SRID=4674;POINT (-39.558918 -2.987172)'))) / (select extract(epoch from '2026-07-18 08:57:08'::timestamp) - extract(epoch from '2026-07-18 08:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558905 -2.987102)', '2026-07-18 08:57:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558918 -2.987172)'), GeomFromEWKT('SRID=4674;POINT (-39.558905 -2.987102)'))) / (select extract(epoch from '2026-07-18 08:57:11'::timestamp) - extract(epoch from '2026-07-18 08:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558918 -2.987172)'), GeomFromEWKT('SRID=4674;POINT (-39.558905 -2.987102)'))) / (select extract(epoch from '2026-07-18 08:57:11'::timestamp) - extract(epoch from '2026-07-18 08:57: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'), 47846, 'SRID=4674;POINT (-39.558906 -2.987081)', '2026-07-18 08:57:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558905 -2.987102)'), GeomFromEWKT('SRID=4674;POINT (-39.558906 -2.987081)'))) / (select extract(epoch from '2026-07-18 08:57:12'::timestamp) - extract(epoch from '2026-07-18 08:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558905 -2.987102)'), GeomFromEWKT('SRID=4674;POINT (-39.558906 -2.987081)'))) / (select extract(epoch from '2026-07-18 08:57:12'::timestamp) - extract(epoch from '2026-07-18 08:57:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558898 -2.98706)', '2026-07-18 08:57:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558906 -2.987081)'), GeomFromEWKT('SRID=4674;POINT (-39.558898 -2.98706)'))) / (select extract(epoch from '2026-07-18 08:57:13'::timestamp) - extract(epoch from '2026-07-18 08:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558906 -2.987081)'), GeomFromEWKT('SRID=4674;POINT (-39.558898 -2.98706)'))) / (select extract(epoch from '2026-07-18 08:57:13'::timestamp) - extract(epoch from '2026-07-18 08:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558868 -2.986996)', '2026-07-18 08:57:16', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558898 -2.98706)'), GeomFromEWKT('SRID=4674;POINT (-39.558868 -2.986996)'))) / (select extract(epoch from '2026-07-18 08:57:16'::timestamp) - extract(epoch from '2026-07-18 08:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558898 -2.98706)'), GeomFromEWKT('SRID=4674;POINT (-39.558868 -2.986996)'))) / (select extract(epoch from '2026-07-18 08:57:16'::timestamp) - extract(epoch from '2026-07-18 08:57: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'), 47846, 'SRID=4674;POINT (-39.558831 -2.986826)', '2026-07-18 08:57:23', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558868 -2.986996)'), GeomFromEWKT('SRID=4674;POINT (-39.558831 -2.986826)'))) / (select extract(epoch from '2026-07-18 08:57:23'::timestamp) - extract(epoch from '2026-07-18 08:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558868 -2.986996)'), GeomFromEWKT('SRID=4674;POINT (-39.558831 -2.986826)'))) / (select extract(epoch from '2026-07-18 08:57:23'::timestamp) - extract(epoch from '2026-07-18 08:57: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'), 47846, 'SRID=4674;POINT (-39.558841 -2.986664)', '2026-07-18 08:57:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558831 -2.986826)'), GeomFromEWKT('SRID=4674;POINT (-39.558841 -2.986664)'))) / (select extract(epoch from '2026-07-18 08:57:29'::timestamp) - extract(epoch from '2026-07-18 08:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558831 -2.986826)'), GeomFromEWKT('SRID=4674;POINT (-39.558841 -2.986664)'))) / (select extract(epoch from '2026-07-18 08:57:29'::timestamp) - extract(epoch from '2026-07-18 08:57: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'), 47846, 'SRID=4674;POINT (-39.558845 -2.986519)', '2026-07-18 08:57:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558841 -2.986664)'), GeomFromEWKT('SRID=4674;POINT (-39.558845 -2.986519)'))) / (select extract(epoch from '2026-07-18 08:57:35'::timestamp) - extract(epoch from '2026-07-18 08:57:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558841 -2.986664)'), GeomFromEWKT('SRID=4674;POINT (-39.558845 -2.986519)'))) / (select extract(epoch from '2026-07-18 08:57:35'::timestamp) - extract(epoch from '2026-07-18 08:57:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558833 -2.986403)', '2026-07-18 08:57:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558845 -2.986519)'), GeomFromEWKT('SRID=4674;POINT (-39.558833 -2.986403)'))) / (select extract(epoch from '2026-07-18 08:57:40'::timestamp) - extract(epoch from '2026-07-18 08:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558845 -2.986519)'), GeomFromEWKT('SRID=4674;POINT (-39.558833 -2.986403)'))) / (select extract(epoch from '2026-07-18 08:57:40'::timestamp) - extract(epoch from '2026-07-18 08:57: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'), 47846, 'SRID=4674;POINT (-39.558796 -2.986296)', '2026-07-18 08:57:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558833 -2.986403)'), GeomFromEWKT('SRID=4674;POINT (-39.558796 -2.986296)'))) / (select extract(epoch from '2026-07-18 08:57:45'::timestamp) - extract(epoch from '2026-07-18 08:57:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558833 -2.986403)'), GeomFromEWKT('SRID=4674;POINT (-39.558796 -2.986296)'))) / (select extract(epoch from '2026-07-18 08:57:45'::timestamp) - extract(epoch from '2026-07-18 08:57: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'), 47846, 'SRID=4674;POINT (-39.55875 -2.986189)', '2026-07-18 08:57:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558796 -2.986296)'), GeomFromEWKT('SRID=4674;POINT (-39.55875 -2.986189)'))) / (select extract(epoch from '2026-07-18 08:57:50'::timestamp) - extract(epoch from '2026-07-18 08:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558796 -2.986296)'), GeomFromEWKT('SRID=4674;POINT (-39.55875 -2.986189)'))) / (select extract(epoch from '2026-07-18 08:57:50'::timestamp) - extract(epoch from '2026-07-18 08:57: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'), 47846, 'SRID=4674;POINT (-39.558724 -2.986059)', '2026-07-18 08:57:56', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55875 -2.986189)'), GeomFromEWKT('SRID=4674;POINT (-39.558724 -2.986059)'))) / (select extract(epoch from '2026-07-18 08:57:56'::timestamp) - extract(epoch from '2026-07-18 08:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55875 -2.986189)'), GeomFromEWKT('SRID=4674;POINT (-39.558724 -2.986059)'))) / (select extract(epoch from '2026-07-18 08:57:56'::timestamp) - extract(epoch from '2026-07-18 08:57:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558707 -2.985905)', '2026-07-18 08:58:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558724 -2.986059)'), GeomFromEWKT('SRID=4674;POINT (-39.558707 -2.985905)'))) / (select extract(epoch from '2026-07-18 08:58:03'::timestamp) - extract(epoch from '2026-07-18 08:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558724 -2.986059)'), GeomFromEWKT('SRID=4674;POINT (-39.558707 -2.985905)'))) / (select extract(epoch from '2026-07-18 08:58:03'::timestamp) - extract(epoch from '2026-07-18 08:57: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'), 47846, 'SRID=4674;POINT (-39.55867 -2.985782)', '2026-07-18 08:58:09', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558707 -2.985905)'), GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.985782)'))) / (select extract(epoch from '2026-07-18 08:58:09'::timestamp) - extract(epoch from '2026-07-18 08:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558707 -2.985905)'), GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.985782)'))) / (select extract(epoch from '2026-07-18 08:58:09'::timestamp) - extract(epoch from '2026-07-18 08:58: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'), 47846, 'SRID=4674;POINT (-39.558617 -2.985625)', '2026-07-18 08:58:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.985782)'), GeomFromEWKT('SRID=4674;POINT (-39.558617 -2.985625)'))) / (select extract(epoch from '2026-07-18 08:58:16'::timestamp) - extract(epoch from '2026-07-18 08:58:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55867 -2.985782)'), GeomFromEWKT('SRID=4674;POINT (-39.558617 -2.985625)'))) / (select extract(epoch from '2026-07-18 08:58:16'::timestamp) - extract(epoch from '2026-07-18 08:58:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558595 -2.985495)', '2026-07-18 08:58:22', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558617 -2.985625)'), GeomFromEWKT('SRID=4674;POINT (-39.558595 -2.985495)'))) / (select extract(epoch from '2026-07-18 08:58:22'::timestamp) - extract(epoch from '2026-07-18 08:58:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558617 -2.985625)'), GeomFromEWKT('SRID=4674;POINT (-39.558595 -2.985495)'))) / (select extract(epoch from '2026-07-18 08:58:22'::timestamp) - extract(epoch from '2026-07-18 08:58: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'), 47846, 'SRID=4674;POINT (-39.558552 -2.985313)', '2026-07-18 08:58:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558595 -2.985495)'), GeomFromEWKT('SRID=4674;POINT (-39.558552 -2.985313)'))) / (select extract(epoch from '2026-07-18 08:58:30'::timestamp) - extract(epoch from '2026-07-18 08:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558595 -2.985495)'), GeomFromEWKT('SRID=4674;POINT (-39.558552 -2.985313)'))) / (select extract(epoch from '2026-07-18 08:58:30'::timestamp) - extract(epoch from '2026-07-18 08:58: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'), 47846, 'SRID=4674;POINT (-39.558551 -2.985289)', '2026-07-18 08:58:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558552 -2.985313)'), GeomFromEWKT('SRID=4674;POINT (-39.558551 -2.985289)'))) / (select extract(epoch from '2026-07-18 08:58:31'::timestamp) - extract(epoch from '2026-07-18 08:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558552 -2.985313)'), GeomFromEWKT('SRID=4674;POINT (-39.558551 -2.985289)'))) / (select extract(epoch from '2026-07-18 08:58:31'::timestamp) - extract(epoch from '2026-07-18 08:58: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'), 47846, 'SRID=4674;POINT (-39.558527 -2.985148)', '2026-07-18 08:58:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558551 -2.985289)'), GeomFromEWKT('SRID=4674;POINT (-39.558527 -2.985148)'))) / (select extract(epoch from '2026-07-18 08:58:36'::timestamp) - extract(epoch from '2026-07-18 08:58:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558551 -2.985289)'), GeomFromEWKT('SRID=4674;POINT (-39.558527 -2.985148)'))) / (select extract(epoch from '2026-07-18 08:58:36'::timestamp) - extract(epoch from '2026-07-18 08:58: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'), 47846, 'SRID=4674;POINT (-39.558522 -2.98497)', '2026-07-18 08:58:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558527 -2.985148)'), GeomFromEWKT('SRID=4674;POINT (-39.558522 -2.98497)'))) / (select extract(epoch from '2026-07-18 08:58:43'::timestamp) - extract(epoch from '2026-07-18 08:58:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558527 -2.985148)'), GeomFromEWKT('SRID=4674;POINT (-39.558522 -2.98497)'))) / (select extract(epoch from '2026-07-18 08:58:43'::timestamp) - extract(epoch from '2026-07-18 08:58: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'), 47846, 'SRID=4674;POINT (-39.558518 -2.984948)', '2026-07-18 08:58:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558522 -2.98497)'), GeomFromEWKT('SRID=4674;POINT (-39.558518 -2.984948)'))) / (select extract(epoch from '2026-07-18 08:58:44'::timestamp) - extract(epoch from '2026-07-18 08:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558522 -2.98497)'), GeomFromEWKT('SRID=4674;POINT (-39.558518 -2.984948)'))) / (select extract(epoch from '2026-07-18 08:58:44'::timestamp) - extract(epoch from '2026-07-18 08:58: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'), 47846, 'SRID=4674;POINT (-39.558497 -2.984879)', '2026-07-18 08:58:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558518 -2.984948)'), GeomFromEWKT('SRID=4674;POINT (-39.558497 -2.984879)'))) / (select extract(epoch from '2026-07-18 08:58:47'::timestamp) - extract(epoch from '2026-07-18 08:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558518 -2.984948)'), GeomFromEWKT('SRID=4674;POINT (-39.558497 -2.984879)'))) / (select extract(epoch from '2026-07-18 08:58:47'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558482 -2.984704)', '2026-07-18 08:58:54', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558497 -2.984879)'), GeomFromEWKT('SRID=4674;POINT (-39.558482 -2.984704)'))) / (select extract(epoch from '2026-07-18 08:58:54'::timestamp) - extract(epoch from '2026-07-18 08:58:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558497 -2.984879)'), GeomFromEWKT('SRID=4674;POINT (-39.558482 -2.984704)'))) / (select extract(epoch from '2026-07-18 08:58:54'::timestamp) - extract(epoch from '2026-07-18 08:58: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'), 47846, 'SRID=4674;POINT (-39.558474 -2.984529)', '2026-07-18 08:59:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558482 -2.984704)'), GeomFromEWKT('SRID=4674;POINT (-39.558474 -2.984529)'))) / (select extract(epoch from '2026-07-18 08:59:01'::timestamp) - extract(epoch from '2026-07-18 08:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558482 -2.984704)'), GeomFromEWKT('SRID=4674;POINT (-39.558474 -2.984529)'))) / (select extract(epoch from '2026-07-18 08:59:01'::timestamp) - extract(epoch from '2026-07-18 08:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558474 -2.984362)', '2026-07-18 08:59:08', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558474 -2.984529)'), GeomFromEWKT('SRID=4674;POINT (-39.558474 -2.984362)'))) / (select extract(epoch from '2026-07-18 08:59:08'::timestamp) - extract(epoch from '2026-07-18 08:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558474 -2.984529)'), GeomFromEWKT('SRID=4674;POINT (-39.558474 -2.984362)'))) / (select extract(epoch from '2026-07-18 08:59:08'::timestamp) - extract(epoch from '2026-07-18 08:59:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558467 -2.984251)', '2026-07-18 08:59:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558474 -2.984362)'), GeomFromEWKT('SRID=4674;POINT (-39.558467 -2.984251)'))) / (select extract(epoch from '2026-07-18 08:59:13'::timestamp) - extract(epoch from '2026-07-18 08:59:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558474 -2.984362)'), GeomFromEWKT('SRID=4674;POINT (-39.558467 -2.984251)'))) / (select extract(epoch from '2026-07-18 08:59:13'::timestamp) - extract(epoch from '2026-07-18 08:59: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'), 47846, 'SRID=4674;POINT (-39.558437 -2.984112)', '2026-07-18 08:59:19', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558467 -2.984251)'), GeomFromEWKT('SRID=4674;POINT (-39.558437 -2.984112)'))) / (select extract(epoch from '2026-07-18 08:59:19'::timestamp) - extract(epoch from '2026-07-18 08:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558467 -2.984251)'), GeomFromEWKT('SRID=4674;POINT (-39.558437 -2.984112)'))) / (select extract(epoch from '2026-07-18 08:59:19'::timestamp) - extract(epoch from '2026-07-18 08:59: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'), 47846, 'SRID=4674;POINT (-39.558408 -2.984003)', '2026-07-18 08:59:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558437 -2.984112)'), GeomFromEWKT('SRID=4674;POINT (-39.558408 -2.984003)'))) / (select extract(epoch from '2026-07-18 08:59:24'::timestamp) - extract(epoch from '2026-07-18 08:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558437 -2.984112)'), GeomFromEWKT('SRID=4674;POINT (-39.558408 -2.984003)'))) / (select extract(epoch from '2026-07-18 08:59:24'::timestamp) - extract(epoch from '2026-07-18 08:59: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'), 47846, 'SRID=4674;POINT (-39.558394 -2.983881)', '2026-07-18 08:59:29', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558408 -2.984003)'), GeomFromEWKT('SRID=4674;POINT (-39.558394 -2.983881)'))) / (select extract(epoch from '2026-07-18 08:59:29'::timestamp) - extract(epoch from '2026-07-18 08:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558408 -2.984003)'), GeomFromEWKT('SRID=4674;POINT (-39.558394 -2.983881)'))) / (select extract(epoch from '2026-07-18 08:59:29'::timestamp) - extract(epoch from '2026-07-18 08:59: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'), 47846, 'SRID=4674;POINT (-39.55837 -2.98378)', '2026-07-18 08:59:33', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558394 -2.983881)'), GeomFromEWKT('SRID=4674;POINT (-39.55837 -2.98378)'))) / (select extract(epoch from '2026-07-18 08:59:33'::timestamp) - extract(epoch from '2026-07-18 08:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558394 -2.983881)'), GeomFromEWKT('SRID=4674;POINT (-39.55837 -2.98378)'))) / (select extract(epoch from '2026-07-18 08:59:33'::timestamp) - extract(epoch from '2026-07-18 08:59: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'), 47846, 'SRID=4674;POINT (-39.558358 -2.98365)', '2026-07-18 08:59:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55837 -2.98378)'), GeomFromEWKT('SRID=4674;POINT (-39.558358 -2.98365)'))) / (select extract(epoch from '2026-07-18 08:59:38'::timestamp) - extract(epoch from '2026-07-18 08:59:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55837 -2.98378)'), GeomFromEWKT('SRID=4674;POINT (-39.558358 -2.98365)'))) / (select extract(epoch from '2026-07-18 08:59:38'::timestamp) - extract(epoch from '2026-07-18 08:59:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558366 -2.983601)', '2026-07-18 08:59:40', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558358 -2.98365)'), GeomFromEWKT('SRID=4674;POINT (-39.558366 -2.983601)'))) / (select extract(epoch from '2026-07-18 08:59:40'::timestamp) - extract(epoch from '2026-07-18 08:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558358 -2.98365)'), GeomFromEWKT('SRID=4674;POINT (-39.558366 -2.983601)'))) / (select extract(epoch from '2026-07-18 08:59:40'::timestamp) - extract(epoch from '2026-07-18 08:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558365 -2.983556)', '2026-07-18 08:59:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558366 -2.983601)'), GeomFromEWKT('SRID=4674;POINT (-39.558365 -2.983556)'))) / (select extract(epoch from '2026-07-18 08:59:42'::timestamp) - extract(epoch from '2026-07-18 08:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558366 -2.983601)'), GeomFromEWKT('SRID=4674;POINT (-39.558365 -2.983556)'))) / (select extract(epoch from '2026-07-18 08:59:42'::timestamp) - extract(epoch from '2026-07-18 08:59: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'), 47846, 'SRID=4674;POINT (-39.55833 -2.98341)', '2026-07-18 08:59:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558365 -2.983556)'), GeomFromEWKT('SRID=4674;POINT (-39.55833 -2.98341)'))) / (select extract(epoch from '2026-07-18 08:59:48'::timestamp) - extract(epoch from '2026-07-18 08:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558365 -2.983556)'), GeomFromEWKT('SRID=4674;POINT (-39.55833 -2.98341)'))) / (select extract(epoch from '2026-07-18 08:59:48'::timestamp) - extract(epoch from '2026-07-18 08:59: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'), 47846, 'SRID=4674;POINT (-39.558314 -2.983262)', '2026-07-18 08:59:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55833 -2.98341)'), GeomFromEWKT('SRID=4674;POINT (-39.558314 -2.983262)'))) / (select extract(epoch from '2026-07-18 08:59:54'::timestamp) - extract(epoch from '2026-07-18 08:59:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55833 -2.98341)'), GeomFromEWKT('SRID=4674;POINT (-39.558314 -2.983262)'))) / (select extract(epoch from '2026-07-18 08:59:54'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558306 -2.983212)', '2026-07-18 08:59:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558314 -2.983262)'), GeomFromEWKT('SRID=4674;POINT (-39.558306 -2.983212)'))) / (select extract(epoch from '2026-07-18 08:59:56'::timestamp) - extract(epoch from '2026-07-18 08:59:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558314 -2.983262)'), GeomFromEWKT('SRID=4674;POINT (-39.558306 -2.983212)'))) / (select extract(epoch from '2026-07-18 08:59:56'::timestamp) - extract(epoch from '2026-07-18 08:59: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'), 47846, 'SRID=4674;POINT (-39.558285 -2.983168)', '2026-07-18 08:59:58', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558306 -2.983212)'), GeomFromEWKT('SRID=4674;POINT (-39.558285 -2.983168)'))) / (select extract(epoch from '2026-07-18 08:59:58'::timestamp) - extract(epoch from '2026-07-18 08:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558306 -2.983212)'), GeomFromEWKT('SRID=4674;POINT (-39.558285 -2.983168)'))) / (select extract(epoch from '2026-07-18 08:59:58'::timestamp) - extract(epoch from '2026-07-18 08:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558271 -2.983043)', '2026-07-18 09:00:03', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558285 -2.983168)'), GeomFromEWKT('SRID=4674;POINT (-39.558271 -2.983043)'))) / (select extract(epoch from '2026-07-18 09:00:03'::timestamp) - extract(epoch from '2026-07-18 08:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558285 -2.983168)'), GeomFromEWKT('SRID=4674;POINT (-39.558271 -2.983043)'))) / (select extract(epoch from '2026-07-18 09:00:03'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558293 -2.982908)', '2026-07-18 09:00:08', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558271 -2.983043)'), GeomFromEWKT('SRID=4674;POINT (-39.558293 -2.982908)'))) / (select extract(epoch from '2026-07-18 09:00:08'::timestamp) - extract(epoch from '2026-07-18 09:00:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558271 -2.983043)'), GeomFromEWKT('SRID=4674;POINT (-39.558293 -2.982908)'))) / (select extract(epoch from '2026-07-18 09:00:08'::timestamp) - extract(epoch from '2026-07-18 09:00:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.5583 -2.98279)', '2026-07-18 09:00:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558293 -2.982908)'), GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.98279)'))) / (select extract(epoch from '2026-07-18 09:00:13'::timestamp) - extract(epoch from '2026-07-18 09:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558293 -2.982908)'), GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.98279)'))) / (select extract(epoch from '2026-07-18 09:00:13'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558275 -2.982666)', '2026-07-18 09:00:18', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.98279)'), GeomFromEWKT('SRID=4674;POINT (-39.558275 -2.982666)'))) / (select extract(epoch from '2026-07-18 09:00:18'::timestamp) - extract(epoch from '2026-07-18 09:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.98279)'), GeomFromEWKT('SRID=4674;POINT (-39.558275 -2.982666)'))) / (select extract(epoch from '2026-07-18 09:00:18'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558284 -2.982546)', '2026-07-18 09:00:23', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558275 -2.982666)'), GeomFromEWKT('SRID=4674;POINT (-39.558284 -2.982546)'))) / (select extract(epoch from '2026-07-18 09:00:23'::timestamp) - extract(epoch from '2026-07-18 09:00:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558275 -2.982666)'), GeomFromEWKT('SRID=4674;POINT (-39.558284 -2.982546)'))) / (select extract(epoch from '2026-07-18 09:00:23'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.55828 -2.982416)', '2026-07-18 09:00:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558284 -2.982546)'), GeomFromEWKT('SRID=4674;POINT (-39.55828 -2.982416)'))) / (select extract(epoch from '2026-07-18 09:00:28'::timestamp) - extract(epoch from '2026-07-18 09:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558284 -2.982546)'), GeomFromEWKT('SRID=4674;POINT (-39.55828 -2.982416)'))) / (select extract(epoch from '2026-07-18 09:00:28'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558294 -2.98228)', '2026-07-18 09:00:33', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55828 -2.982416)'), GeomFromEWKT('SRID=4674;POINT (-39.558294 -2.98228)'))) / (select extract(epoch from '2026-07-18 09:00:33'::timestamp) - extract(epoch from '2026-07-18 09:00:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55828 -2.982416)'), GeomFromEWKT('SRID=4674;POINT (-39.558294 -2.98228)'))) / (select extract(epoch from '2026-07-18 09:00:33'::timestamp) - extract(epoch from '2026-07-18 09:00: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'), 47846, 'SRID=4674;POINT (-39.558277 -2.982185)', '2026-07-18 09:00:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558294 -2.98228)'), GeomFromEWKT('SRID=4674;POINT (-39.558277 -2.982185)'))) / (select extract(epoch from '2026-07-18 09:00:37'::timestamp) - extract(epoch from '2026-07-18 09:00:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558294 -2.98228)'), GeomFromEWKT('SRID=4674;POINT (-39.558277 -2.982185)'))) / (select extract(epoch from '2026-07-18 09:00:37'::timestamp) - extract(epoch from '2026-07-18 09:00:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558269 -2.982025)', '2026-07-18 09:00:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558277 -2.982185)'), GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.982025)'))) / (select extract(epoch from '2026-07-18 09:00:43'::timestamp) - extract(epoch from '2026-07-18 09:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558277 -2.982185)'), GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.982025)'))) / (select extract(epoch from '2026-07-18 09:00:43'::timestamp) - extract(epoch from '2026-07-18 09:00:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558282 -2.981899)', '2026-07-18 09:00:48', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.982025)'), GeomFromEWKT('SRID=4674;POINT (-39.558282 -2.981899)'))) / (select extract(epoch from '2026-07-18 09:00:48'::timestamp) - extract(epoch from '2026-07-18 09:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.982025)'), GeomFromEWKT('SRID=4674;POINT (-39.558282 -2.981899)'))) / (select extract(epoch from '2026-07-18 09:00:48'::timestamp) - extract(epoch from '2026-07-18 09:00:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558291 -2.981782)', '2026-07-18 09:00:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558282 -2.981899)'), GeomFromEWKT('SRID=4674;POINT (-39.558291 -2.981782)'))) / (select extract(epoch from '2026-07-18 09:00:53'::timestamp) - extract(epoch from '2026-07-18 09:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558282 -2.981899)'), GeomFromEWKT('SRID=4674;POINT (-39.558291 -2.981782)'))) / (select extract(epoch from '2026-07-18 09:00:53'::timestamp) - extract(epoch from '2026-07-18 09:00:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558297 -2.981625)', '2026-07-18 09:00:59', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558291 -2.981782)'), GeomFromEWKT('SRID=4674;POINT (-39.558297 -2.981625)'))) / (select extract(epoch from '2026-07-18 09:00:59'::timestamp) - extract(epoch from '2026-07-18 09:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558291 -2.981782)'), GeomFromEWKT('SRID=4674;POINT (-39.558297 -2.981625)'))) / (select extract(epoch from '2026-07-18 09:00:59'::timestamp) - extract(epoch from '2026-07-18 09:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558302 -2.981509)', '2026-07-18 09:01:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558297 -2.981625)'), GeomFromEWKT('SRID=4674;POINT (-39.558302 -2.981509)'))) / (select extract(epoch from '2026-07-18 09:01:04'::timestamp) - extract(epoch from '2026-07-18 09:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558297 -2.981625)'), GeomFromEWKT('SRID=4674;POINT (-39.558302 -2.981509)'))) / (select extract(epoch from '2026-07-18 09:01:04'::timestamp) - extract(epoch from '2026-07-18 09:00:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558301 -2.981467)', '2026-07-18 09:01:06', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558302 -2.981509)'), GeomFromEWKT('SRID=4674;POINT (-39.558301 -2.981467)'))) / (select extract(epoch from '2026-07-18 09:01:06'::timestamp) - extract(epoch from '2026-07-18 09:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558302 -2.981509)'), GeomFromEWKT('SRID=4674;POINT (-39.558301 -2.981467)'))) / (select extract(epoch from '2026-07-18 09:01:06'::timestamp) - extract(epoch from '2026-07-18 09:01:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558327 -2.981418)', '2026-07-18 09:01:08', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558301 -2.981467)'), GeomFromEWKT('SRID=4674;POINT (-39.558327 -2.981418)'))) / (select extract(epoch from '2026-07-18 09:01:08'::timestamp) - extract(epoch from '2026-07-18 09:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558301 -2.981467)'), GeomFromEWKT('SRID=4674;POINT (-39.558327 -2.981418)'))) / (select extract(epoch from '2026-07-18 09:01:08'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47846, 'SRID=4674;POINT (-39.558346 -2.981341)', '2026-07-18 09:01:12', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558327 -2.981418)'), GeomFromEWKT('SRID=4674;POINT (-39.558346 -2.981341)'))) / (select extract(epoch from '2026-07-18 09:01:12'::timestamp) - extract(epoch from '2026-07-18 09:01:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558327 -2.981418)'), GeomFromEWKT('SRID=4674;POINT (-39.558346 -2.981341)'))) / (select extract(epoch from '2026-07-18 09:01:12'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47846, 'SRID=4674;POINT (-39.558358 -2.981202)', '2026-07-18 09:01:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558346 -2.981341)'), GeomFromEWKT('SRID=4674;POINT (-39.558358 -2.981202)'))) / (select extract(epoch from '2026-07-18 09:01:18'::timestamp) - extract(epoch from '2026-07-18 09:01:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558346 -2.981341)'), GeomFromEWKT('SRID=4674;POINT (-39.558358 -2.981202)'))) / (select extract(epoch from '2026-07-18 09:01:18'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47846, 'SRID=4674;POINT (-39.558336 -2.981076)', '2026-07-18 09:01:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558358 -2.981202)'), GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.981076)'))) / (select extract(epoch from '2026-07-18 09:01:23'::timestamp) - extract(epoch from '2026-07-18 09:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558358 -2.981202)'), GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.981076)'))) / (select extract(epoch from '2026-07-18 09:01:23'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47846, 'SRID=4674;POINT (-39.558306 -2.980893)', '2026-07-18 09:01:30', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.981076)'), GeomFromEWKT('SRID=4674;POINT (-39.558306 -2.980893)'))) / (select extract(epoch from '2026-07-18 09:01:30'::timestamp) - extract(epoch from '2026-07-18 09:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.981076)'), GeomFromEWKT('SRID=4674;POINT (-39.558306 -2.980893)'))) / (select extract(epoch from '2026-07-18 09:01:30'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47846, 'SRID=4674;POINT (-39.558278 -2.98077)', '2026-07-18 09:01:35', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558306 -2.980893)'), GeomFromEWKT('SRID=4674;POINT (-39.558278 -2.98077)'))) / (select extract(epoch from '2026-07-18 09:01:35'::timestamp) - extract(epoch from '2026-07-18 09:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558306 -2.980893)'), GeomFromEWKT('SRID=4674;POINT (-39.558278 -2.98077)'))) / (select extract(epoch from '2026-07-18 09:01:35'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47846, 'SRID=4674;POINT (-39.558281 -2.980625)', '2026-07-18 09:01:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558278 -2.98077)'), GeomFromEWKT('SRID=4674;POINT (-39.558281 -2.980625)'))) / (select extract(epoch from '2026-07-18 09:01:41'::timestamp) - extract(epoch from '2026-07-18 09:01:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558278 -2.98077)'), GeomFromEWKT('SRID=4674;POINT (-39.558281 -2.980625)'))) / (select extract(epoch from '2026-07-18 09:01:41'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47846, 'SRID=4674;POINT (-39.558283 -2.980574)', '2026-07-18 09:01:43', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558281 -2.980625)'), GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.980574)'))) / (select extract(epoch from '2026-07-18 09:01:43'::timestamp) - extract(epoch from '2026-07-18 09:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558281 -2.980625)'), GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.980574)'))) / (select extract(epoch from '2026-07-18 09:01:43'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47846, 'SRID=4674;POINT (-39.558264 -2.980528)', '2026-07-18 09:01:45', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.980574)'), GeomFromEWKT('SRID=4674;POINT (-39.558264 -2.980528)'))) / (select extract(epoch from '2026-07-18 09:01:45'::timestamp) - extract(epoch from '2026-07-18 09:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.980574)'), GeomFromEWKT('SRID=4674;POINT (-39.558264 -2.980528)'))) / (select extract(epoch from '2026-07-18 09:01:45'::timestamp) - extract(epoch from '2026-07-18 09:01: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'), 47846, 'SRID=4674;POINT (-39.558233 -2.980392)', '2026-07-18 09:01:51', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558264 -2.980528)'), GeomFromEWKT('SRID=4674;POINT (-39.558233 -2.980392)'))) / (select extract(epoch from '2026-07-18 09:01:51'::timestamp) - extract(epoch from '2026-07-18 09:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558264 -2.980528)'), GeomFromEWKT('SRID=4674;POINT (-39.558233 -2.980392)'))) / (select extract(epoch from '2026-07-18 09:01:51'::timestamp) - extract(epoch from '2026-07-18 09:01:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.55823 -2.980262)', '2026-07-18 09:01:56', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558233 -2.980392)'), GeomFromEWKT('SRID=4674;POINT (-39.55823 -2.980262)'))) / (select extract(epoch from '2026-07-18 09:01:56'::timestamp) - extract(epoch from '2026-07-18 09:01:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558233 -2.980392)'), GeomFromEWKT('SRID=4674;POINT (-39.55823 -2.980262)'))) / (select extract(epoch from '2026-07-18 09:01:56'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558211 -2.980114)', '2026-07-18 09:02:02', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55823 -2.980262)'), GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.980114)'))) / (select extract(epoch from '2026-07-18 09:02:02'::timestamp) - extract(epoch from '2026-07-18 09:01:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55823 -2.980262)'), GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.980114)'))) / (select extract(epoch from '2026-07-18 09:02:02'::timestamp) - extract(epoch from '2026-07-18 09:01:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558225 -2.979947)', '2026-07-18 09:02:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.980114)'), GeomFromEWKT('SRID=4674;POINT (-39.558225 -2.979947)'))) / (select extract(epoch from '2026-07-18 09:02:09'::timestamp) - extract(epoch from '2026-07-18 09:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.980114)'), GeomFromEWKT('SRID=4674;POINT (-39.558225 -2.979947)'))) / (select extract(epoch from '2026-07-18 09:02:09'::timestamp) - extract(epoch from '2026-07-18 09:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558244 -2.979823)', '2026-07-18 09:02:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558225 -2.979947)'), GeomFromEWKT('SRID=4674;POINT (-39.558244 -2.979823)'))) / (select extract(epoch from '2026-07-18 09:02:14'::timestamp) - extract(epoch from '2026-07-18 09:02:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558225 -2.979947)'), GeomFromEWKT('SRID=4674;POINT (-39.558244 -2.979823)'))) / (select extract(epoch from '2026-07-18 09:02:14'::timestamp) - extract(epoch from '2026-07-18 09:02: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'), 47846, 'SRID=4674;POINT (-39.558284 -2.979689)', '2026-07-18 09:02:20', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558244 -2.979823)'), GeomFromEWKT('SRID=4674;POINT (-39.558284 -2.979689)'))) / (select extract(epoch from '2026-07-18 09:02:20'::timestamp) - extract(epoch from '2026-07-18 09:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558244 -2.979823)'), GeomFromEWKT('SRID=4674;POINT (-39.558284 -2.979689)'))) / (select extract(epoch from '2026-07-18 09:02:20'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558327 -2.979539)', '2026-07-18 09:02:27', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558284 -2.979689)'), GeomFromEWKT('SRID=4674;POINT (-39.558327 -2.979539)'))) / (select extract(epoch from '2026-07-18 09:02:27'::timestamp) - extract(epoch from '2026-07-18 09:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558284 -2.979689)'), GeomFromEWKT('SRID=4674;POINT (-39.558327 -2.979539)'))) / (select extract(epoch from '2026-07-18 09:02:27'::timestamp) - extract(epoch from '2026-07-18 09:02: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'), 47846, 'SRID=4674;POINT (-39.558308 -2.97943)', '2026-07-18 09:02:32', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558327 -2.979539)'), GeomFromEWKT('SRID=4674;POINT (-39.558308 -2.97943)'))) / (select extract(epoch from '2026-07-18 09:02:32'::timestamp) - extract(epoch from '2026-07-18 09:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558327 -2.979539)'), GeomFromEWKT('SRID=4674;POINT (-39.558308 -2.97943)'))) / (select extract(epoch from '2026-07-18 09:02:32'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.55833 -2.979306)', '2026-07-18 09:02:37', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558308 -2.97943)'), GeomFromEWKT('SRID=4674;POINT (-39.55833 -2.979306)'))) / (select extract(epoch from '2026-07-18 09:02:37'::timestamp) - extract(epoch from '2026-07-18 09:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558308 -2.97943)'), GeomFromEWKT('SRID=4674;POINT (-39.55833 -2.979306)'))) / (select extract(epoch from '2026-07-18 09:02:37'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.55838 -2.979177)', '2026-07-18 09:02:43', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55833 -2.979306)'), GeomFromEWKT('SRID=4674;POINT (-39.55838 -2.979177)'))) / (select extract(epoch from '2026-07-18 09:02:43'::timestamp) - extract(epoch from '2026-07-18 09:02:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55833 -2.979306)'), GeomFromEWKT('SRID=4674;POINT (-39.55838 -2.979177)'))) / (select extract(epoch from '2026-07-18 09:02:43'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.55836 -2.979022)', '2026-07-18 09:02:50', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55838 -2.979177)'), GeomFromEWKT('SRID=4674;POINT (-39.55836 -2.979022)'))) / (select extract(epoch from '2026-07-18 09:02:50'::timestamp) - extract(epoch from '2026-07-18 09:02:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55838 -2.979177)'), GeomFromEWKT('SRID=4674;POINT (-39.55836 -2.979022)'))) / (select extract(epoch from '2026-07-18 09:02:50'::timestamp) - extract(epoch from '2026-07-18 09:02: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'), 47846, 'SRID=4674;POINT (-39.558354 -2.978878)', '2026-07-18 09:02:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55836 -2.979022)'), GeomFromEWKT('SRID=4674;POINT (-39.558354 -2.978878)'))) / (select extract(epoch from '2026-07-18 09:02:56'::timestamp) - extract(epoch from '2026-07-18 09:02:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55836 -2.979022)'), GeomFromEWKT('SRID=4674;POINT (-39.558354 -2.978878)'))) / (select extract(epoch from '2026-07-18 09:02:56'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.55838 -2.978732)', '2026-07-18 09:03:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558354 -2.978878)'), GeomFromEWKT('SRID=4674;POINT (-39.55838 -2.978732)'))) / (select extract(epoch from '2026-07-18 09:03:02'::timestamp) - extract(epoch from '2026-07-18 09:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558354 -2.978878)'), GeomFromEWKT('SRID=4674;POINT (-39.55838 -2.978732)'))) / (select extract(epoch from '2026-07-18 09:03:02'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558371 -2.978626)', '2026-07-18 09:03:07', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55838 -2.978732)'), GeomFromEWKT('SRID=4674;POINT (-39.558371 -2.978626)'))) / (select extract(epoch from '2026-07-18 09:03:07'::timestamp) - extract(epoch from '2026-07-18 09:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55838 -2.978732)'), GeomFromEWKT('SRID=4674;POINT (-39.558371 -2.978626)'))) / (select extract(epoch from '2026-07-18 09:03:07'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558336 -2.978485)', '2026-07-18 09:03:13', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558371 -2.978626)'), GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.978485)'))) / (select extract(epoch from '2026-07-18 09:03:13'::timestamp) - extract(epoch from '2026-07-18 09:03:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558371 -2.978626)'), GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.978485)'))) / (select extract(epoch from '2026-07-18 09:03:13'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47846, 'SRID=4674;POINT (-39.55832 -2.978362)', '2026-07-18 09:03:18', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.978485)'), GeomFromEWKT('SRID=4674;POINT (-39.55832 -2.978362)'))) / (select extract(epoch from '2026-07-18 09:03:18'::timestamp) - extract(epoch from '2026-07-18 09:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558336 -2.978485)'), GeomFromEWKT('SRID=4674;POINT (-39.55832 -2.978362)'))) / (select extract(epoch from '2026-07-18 09:03:18'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47846, 'SRID=4674;POINT (-39.5583 -2.978249)', '2026-07-18 09:03:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55832 -2.978362)'), GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.978249)'))) / (select extract(epoch from '2026-07-18 09:03:23'::timestamp) - extract(epoch from '2026-07-18 09:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55832 -2.978362)'), GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.978249)'))) / (select extract(epoch from '2026-07-18 09:03:23'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47846, 'SRID=4674;POINT (-39.558282 -2.978127)', '2026-07-18 09:03:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.978249)'), GeomFromEWKT('SRID=4674;POINT (-39.558282 -2.978127)'))) / (select extract(epoch from '2026-07-18 09:03:28'::timestamp) - extract(epoch from '2026-07-18 09:03:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.978249)'), GeomFromEWKT('SRID=4674;POINT (-39.558282 -2.978127)'))) / (select extract(epoch from '2026-07-18 09:03:28'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47846, 'SRID=4674;POINT (-39.5583 -2.978012)', '2026-07-18 09:03:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558282 -2.978127)'), GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.978012)'))) / (select extract(epoch from '2026-07-18 09:03:33'::timestamp) - extract(epoch from '2026-07-18 09:03:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558282 -2.978127)'), GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.978012)'))) / (select extract(epoch from '2026-07-18 09:03:33'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47846, 'SRID=4674;POINT (-39.558292 -2.977898)', '2026-07-18 09:03:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.978012)'), GeomFromEWKT('SRID=4674;POINT (-39.558292 -2.977898)'))) / (select extract(epoch from '2026-07-18 09:03:38'::timestamp) - extract(epoch from '2026-07-18 09:03:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5583 -2.978012)'), GeomFromEWKT('SRID=4674;POINT (-39.558292 -2.977898)'))) / (select extract(epoch from '2026-07-18 09:03:38'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47846, 'SRID=4674;POINT (-39.558283 -2.977751)', '2026-07-18 09:03:44', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558292 -2.977898)'), GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.977751)'))) / (select extract(epoch from '2026-07-18 09:03:44'::timestamp) - extract(epoch from '2026-07-18 09:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558292 -2.977898)'), GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.977751)'))) / (select extract(epoch from '2026-07-18 09:03:44'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558281 -2.977589)', '2026-07-18 09:03:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.977751)'), GeomFromEWKT('SRID=4674;POINT (-39.558281 -2.977589)'))) / (select extract(epoch from '2026-07-18 09:03:50'::timestamp) - extract(epoch from '2026-07-18 09:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.977751)'), GeomFromEWKT('SRID=4674;POINT (-39.558281 -2.977589)'))) / (select extract(epoch from '2026-07-18 09:03:50'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47846, 'SRID=4674;POINT (-39.558265 -2.977441)', '2026-07-18 09:03:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558281 -2.977589)'), GeomFromEWKT('SRID=4674;POINT (-39.558265 -2.977441)'))) / (select extract(epoch from '2026-07-18 09:03:56'::timestamp) - extract(epoch from '2026-07-18 09:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558281 -2.977589)'), GeomFromEWKT('SRID=4674;POINT (-39.558265 -2.977441)'))) / (select extract(epoch from '2026-07-18 09:03:56'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47846, 'SRID=4674;POINT (-39.558265 -2.977316)', '2026-07-18 09:04:01', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558265 -2.977441)'), GeomFromEWKT('SRID=4674;POINT (-39.558265 -2.977316)'))) / (select extract(epoch from '2026-07-18 09:04:01'::timestamp) - extract(epoch from '2026-07-18 09:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558265 -2.977441)'), GeomFromEWKT('SRID=4674;POINT (-39.558265 -2.977316)'))) / (select extract(epoch from '2026-07-18 09:04:01'::timestamp) - extract(epoch from '2026-07-18 09:03: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'), 47846, 'SRID=4674;POINT (-39.558258 -2.977195)', '2026-07-18 09:04:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558265 -2.977316)'), GeomFromEWKT('SRID=4674;POINT (-39.558258 -2.977195)'))) / (select extract(epoch from '2026-07-18 09:04:06'::timestamp) - extract(epoch from '2026-07-18 09:04:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558265 -2.977316)'), GeomFromEWKT('SRID=4674;POINT (-39.558258 -2.977195)'))) / (select extract(epoch from '2026-07-18 09:04:06'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558249 -2.977046)', '2026-07-18 09:04:12', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558258 -2.977195)'), GeomFromEWKT('SRID=4674;POINT (-39.558249 -2.977046)'))) / (select extract(epoch from '2026-07-18 09:04:12'::timestamp) - extract(epoch from '2026-07-18 09:04:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558258 -2.977195)'), GeomFromEWKT('SRID=4674;POINT (-39.558249 -2.977046)'))) / (select extract(epoch from '2026-07-18 09:04:12'::timestamp) - extract(epoch from '2026-07-18 09:04:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558255 -2.976925)', '2026-07-18 09:04:17', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558249 -2.977046)'), GeomFromEWKT('SRID=4674;POINT (-39.558255 -2.976925)'))) / (select extract(epoch from '2026-07-18 09:04:17'::timestamp) - extract(epoch from '2026-07-18 09:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558249 -2.977046)'), GeomFromEWKT('SRID=4674;POINT (-39.558255 -2.976925)'))) / (select extract(epoch from '2026-07-18 09:04:17'::timestamp) - extract(epoch from '2026-07-18 09:04: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'), 47846, 'SRID=4674;POINT (-39.558263 -2.976759)', '2026-07-18 09:04:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558255 -2.976925)'), GeomFromEWKT('SRID=4674;POINT (-39.558263 -2.976759)'))) / (select extract(epoch from '2026-07-18 09:04:24'::timestamp) - extract(epoch from '2026-07-18 09:04:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558255 -2.976925)'), GeomFromEWKT('SRID=4674;POINT (-39.558263 -2.976759)'))) / (select extract(epoch from '2026-07-18 09:04:24'::timestamp) - extract(epoch from '2026-07-18 09:04:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.55825 -2.976645)', '2026-07-18 09:04:29', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558263 -2.976759)'), GeomFromEWKT('SRID=4674;POINT (-39.55825 -2.976645)'))) / (select extract(epoch from '2026-07-18 09:04:29'::timestamp) - extract(epoch from '2026-07-18 09:04:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558263 -2.976759)'), GeomFromEWKT('SRID=4674;POINT (-39.55825 -2.976645)'))) / (select extract(epoch from '2026-07-18 09:04:29'::timestamp) - extract(epoch from '2026-07-18 09:04: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'), 47846, 'SRID=4674;POINT (-39.55822 -2.976586)', '2026-07-18 09:04:32', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55825 -2.976645)'), GeomFromEWKT('SRID=4674;POINT (-39.55822 -2.976586)'))) / (select extract(epoch from '2026-07-18 09:04:32'::timestamp) - extract(epoch from '2026-07-18 09:04:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55825 -2.976645)'), GeomFromEWKT('SRID=4674;POINT (-39.55822 -2.976586)'))) / (select extract(epoch from '2026-07-18 09:04:32'::timestamp) - extract(epoch from '2026-07-18 09:04: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'), 47846, 'SRID=4674;POINT (-39.558219 -2.976563)', '2026-07-18 09:04:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55822 -2.976586)'), GeomFromEWKT('SRID=4674;POINT (-39.558219 -2.976563)'))) / (select extract(epoch from '2026-07-18 09:04:33'::timestamp) - extract(epoch from '2026-07-18 09:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55822 -2.976586)'), GeomFromEWKT('SRID=4674;POINT (-39.558219 -2.976563)'))) / (select extract(epoch from '2026-07-18 09:04:33'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558204 -2.976455)', '2026-07-18 09:04:38', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558219 -2.976563)'), GeomFromEWKT('SRID=4674;POINT (-39.558204 -2.976455)'))) / (select extract(epoch from '2026-07-18 09:04:38'::timestamp) - extract(epoch from '2026-07-18 09:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558219 -2.976563)'), GeomFromEWKT('SRID=4674;POINT (-39.558204 -2.976455)'))) / (select extract(epoch from '2026-07-18 09:04:38'::timestamp) - extract(epoch from '2026-07-18 09:04: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'), 47846, 'SRID=4674;POINT (-39.558211 -2.976345)', '2026-07-18 09:04:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558204 -2.976455)'), GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.976345)'))) / (select extract(epoch from '2026-07-18 09:04:43'::timestamp) - extract(epoch from '2026-07-18 09:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558204 -2.976455)'), GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.976345)'))) / (select extract(epoch from '2026-07-18 09:04:43'::timestamp) - extract(epoch from '2026-07-18 09:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558237 -2.976238)', '2026-07-18 09:04:47', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.976345)'), GeomFromEWKT('SRID=4674;POINT (-39.558237 -2.976238)'))) / (select extract(epoch from '2026-07-18 09:04:47'::timestamp) - extract(epoch from '2026-07-18 09:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.976345)'), GeomFromEWKT('SRID=4674;POINT (-39.558237 -2.976238)'))) / (select extract(epoch from '2026-07-18 09:04:47'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558269 -2.9761)', '2026-07-18 09:04:53', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558237 -2.976238)'), GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.9761)'))) / (select extract(epoch from '2026-07-18 09:04:53'::timestamp) - extract(epoch from '2026-07-18 09:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558237 -2.976238)'), GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.9761)'))) / (select extract(epoch from '2026-07-18 09:04:53'::timestamp) - extract(epoch from '2026-07-18 09:04: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'), 47846, 'SRID=4674;POINT (-39.558299 -2.975935)', '2026-07-18 09:05:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.9761)'), GeomFromEWKT('SRID=4674;POINT (-39.558299 -2.975935)'))) / (select extract(epoch from '2026-07-18 09:05:00'::timestamp) - extract(epoch from '2026-07-18 09:04:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558269 -2.9761)'), GeomFromEWKT('SRID=4674;POINT (-39.558299 -2.975935)'))) / (select extract(epoch from '2026-07-18 09:05:00'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558288 -2.975851)', '2026-07-18 09:05:04', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558299 -2.975935)'), GeomFromEWKT('SRID=4674;POINT (-39.558288 -2.975851)'))) / (select extract(epoch from '2026-07-18 09:05:04'::timestamp) - extract(epoch from '2026-07-18 09:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558299 -2.975935)'), GeomFromEWKT('SRID=4674;POINT (-39.558288 -2.975851)'))) / (select extract(epoch from '2026-07-18 09:05:04'::timestamp) - extract(epoch from '2026-07-18 09:05: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'), 47846, 'SRID=4674;POINT (-39.558279 -2.975834)', '2026-07-18 09:05:05', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558288 -2.975851)'), GeomFromEWKT('SRID=4674;POINT (-39.558279 -2.975834)'))) / (select extract(epoch from '2026-07-18 09:05:05'::timestamp) - extract(epoch from '2026-07-18 09:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558288 -2.975851)'), GeomFromEWKT('SRID=4674;POINT (-39.558279 -2.975834)'))) / (select extract(epoch from '2026-07-18 09:05:05'::timestamp) - extract(epoch from '2026-07-18 09:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558243 -2.975693)', '2026-07-18 09:05:11', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558279 -2.975834)'), GeomFromEWKT('SRID=4674;POINT (-39.558243 -2.975693)'))) / (select extract(epoch from '2026-07-18 09:05:11'::timestamp) - extract(epoch from '2026-07-18 09:05:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558279 -2.975834)'), GeomFromEWKT('SRID=4674;POINT (-39.558243 -2.975693)'))) / (select extract(epoch from '2026-07-18 09:05:11'::timestamp) - extract(epoch from '2026-07-18 09:05: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'), 47846, 'SRID=4674;POINT (-39.558247 -2.975552)', '2026-07-18 09:05:17', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558243 -2.975693)'), GeomFromEWKT('SRID=4674;POINT (-39.558247 -2.975552)'))) / (select extract(epoch from '2026-07-18 09:05:17'::timestamp) - extract(epoch from '2026-07-18 09:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558243 -2.975693)'), GeomFromEWKT('SRID=4674;POINT (-39.558247 -2.975552)'))) / (select extract(epoch from '2026-07-18 09:05:17'::timestamp) - extract(epoch from '2026-07-18 09:05: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'), 47846, 'SRID=4674;POINT (-39.558241 -2.975418)', '2026-07-18 09:05:24', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558247 -2.975552)'), GeomFromEWKT('SRID=4674;POINT (-39.558241 -2.975418)'))) / (select extract(epoch from '2026-07-18 09:05:24'::timestamp) - extract(epoch from '2026-07-18 09:05:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558247 -2.975552)'), GeomFromEWKT('SRID=4674;POINT (-39.558241 -2.975418)'))) / (select extract(epoch from '2026-07-18 09:05:24'::timestamp) - extract(epoch from '2026-07-18 09:05:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558211 -2.975266)', '2026-07-18 09:05:31', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558241 -2.975418)'), GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.975266)'))) / (select extract(epoch from '2026-07-18 09:05:31'::timestamp) - extract(epoch from '2026-07-18 09:05:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558241 -2.975418)'), GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.975266)'))) / (select extract(epoch from '2026-07-18 09:05:31'::timestamp) - extract(epoch from '2026-07-18 09:05: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'), 47846, 'SRID=4674;POINT (-39.5582 -2.975135)', '2026-07-18 09:05:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.975266)'), GeomFromEWKT('SRID=4674;POINT (-39.5582 -2.975135)'))) / (select extract(epoch from '2026-07-18 09:05:37'::timestamp) - extract(epoch from '2026-07-18 09:05:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558211 -2.975266)'), GeomFromEWKT('SRID=4674;POINT (-39.5582 -2.975135)'))) / (select extract(epoch from '2026-07-18 09:05:37'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.55821 -2.974994)', '2026-07-18 09:05:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5582 -2.975135)'), GeomFromEWKT('SRID=4674;POINT (-39.55821 -2.974994)'))) / (select extract(epoch from '2026-07-18 09:05:43'::timestamp) - extract(epoch from '2026-07-18 09:05:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.5582 -2.975135)'), GeomFromEWKT('SRID=4674;POINT (-39.55821 -2.974994)'))) / (select extract(epoch from '2026-07-18 09:05:43'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558207 -2.974837)', '2026-07-18 09:05:50', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55821 -2.974994)'), GeomFromEWKT('SRID=4674;POINT (-39.558207 -2.974837)'))) / (select extract(epoch from '2026-07-18 09:05:50'::timestamp) - extract(epoch from '2026-07-18 09:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.55821 -2.974994)'), GeomFromEWKT('SRID=4674;POINT (-39.558207 -2.974837)'))) / (select extract(epoch from '2026-07-18 09:05:50'::timestamp) - extract(epoch from '2026-07-18 09:05: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'), 47846, 'SRID=4674;POINT (-39.558201 -2.974716)', '2026-07-18 09:05:55', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558207 -2.974837)'), GeomFromEWKT('SRID=4674;POINT (-39.558201 -2.974716)'))) / (select extract(epoch from '2026-07-18 09:05:55'::timestamp) - extract(epoch from '2026-07-18 09:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558207 -2.974837)'), GeomFromEWKT('SRID=4674;POINT (-39.558201 -2.974716)'))) / (select extract(epoch from '2026-07-18 09:05:55'::timestamp) - extract(epoch from '2026-07-18 09:05: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'), 47846, 'SRID=4674;POINT (-39.558192 -2.974584)', '2026-07-18 09:06:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558201 -2.974716)'), GeomFromEWKT('SRID=4674;POINT (-39.558192 -2.974584)'))) / (select extract(epoch from '2026-07-18 09:06:00'::timestamp) - extract(epoch from '2026-07-18 09:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558201 -2.974716)'), GeomFromEWKT('SRID=4674;POINT (-39.558192 -2.974584)'))) / (select extract(epoch from '2026-07-18 09:06:00'::timestamp) - extract(epoch from '2026-07-18 09:05:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558172 -2.974445)', '2026-07-18 09:06:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558192 -2.974584)'), GeomFromEWKT('SRID=4674;POINT (-39.558172 -2.974445)'))) / (select extract(epoch from '2026-07-18 09:06:06'::timestamp) - extract(epoch from '2026-07-18 09:06:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558192 -2.974584)'), GeomFromEWKT('SRID=4674;POINT (-39.558172 -2.974445)'))) / (select extract(epoch from '2026-07-18 09:06:06'::timestamp) - extract(epoch from '2026-07-18 09:06: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'), 47846, 'SRID=4674;POINT (-39.558159 -2.974304)', '2026-07-18 09:06:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558172 -2.974445)'), GeomFromEWKT('SRID=4674;POINT (-39.558159 -2.974304)'))) / (select extract(epoch from '2026-07-18 09:06:12'::timestamp) - extract(epoch from '2026-07-18 09:06:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558172 -2.974445)'), GeomFromEWKT('SRID=4674;POINT (-39.558159 -2.974304)'))) / (select extract(epoch from '2026-07-18 09:06:12'::timestamp) - extract(epoch from '2026-07-18 09:06:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558169 -2.974167)', '2026-07-18 09:06:18', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558159 -2.974304)'), GeomFromEWKT('SRID=4674;POINT (-39.558169 -2.974167)'))) / (select extract(epoch from '2026-07-18 09:06:18'::timestamp) - extract(epoch from '2026-07-18 09:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558159 -2.974304)'), GeomFromEWKT('SRID=4674;POINT (-39.558169 -2.974167)'))) / (select extract(epoch from '2026-07-18 09:06:18'::timestamp) - extract(epoch from '2026-07-18 09:06: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'), 47846, 'SRID=4674;POINT (-39.558175 -2.974004)', '2026-07-18 09:06:25', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558169 -2.974167)'), GeomFromEWKT('SRID=4674;POINT (-39.558175 -2.974004)'))) / (select extract(epoch from '2026-07-18 09:06:25'::timestamp) - extract(epoch from '2026-07-18 09:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558169 -2.974167)'), GeomFromEWKT('SRID=4674;POINT (-39.558175 -2.974004)'))) / (select extract(epoch from '2026-07-18 09:06:25'::timestamp) - extract(epoch from '2026-07-18 09:06: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'), 47846, 'SRID=4674;POINT (-39.558161 -2.973896)', '2026-07-18 09:06:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558175 -2.974004)'), GeomFromEWKT('SRID=4674;POINT (-39.558161 -2.973896)'))) / (select extract(epoch from '2026-07-18 09:06:30'::timestamp) - extract(epoch from '2026-07-18 09:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558175 -2.974004)'), GeomFromEWKT('SRID=4674;POINT (-39.558161 -2.973896)'))) / (select extract(epoch from '2026-07-18 09:06:30'::timestamp) - extract(epoch from '2026-07-18 09:06: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'), 47846, 'SRID=4674;POINT (-39.558156 -2.973751)', '2026-07-18 09:06:36', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558161 -2.973896)'), GeomFromEWKT('SRID=4674;POINT (-39.558156 -2.973751)'))) / (select extract(epoch from '2026-07-18 09:06:36'::timestamp) - extract(epoch from '2026-07-18 09:06:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558161 -2.973896)'), GeomFromEWKT('SRID=4674;POINT (-39.558156 -2.973751)'))) / (select extract(epoch from '2026-07-18 09:06:36'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558164 -2.973609)', '2026-07-18 09:06:42', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558156 -2.973751)'), GeomFromEWKT('SRID=4674;POINT (-39.558164 -2.973609)'))) / (select extract(epoch from '2026-07-18 09:06:42'::timestamp) - extract(epoch from '2026-07-18 09:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558156 -2.973751)'), GeomFromEWKT('SRID=4674;POINT (-39.558164 -2.973609)'))) / (select extract(epoch from '2026-07-18 09:06:42'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558185 -2.973492)', '2026-07-18 09:06:47', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558164 -2.973609)'), GeomFromEWKT('SRID=4674;POINT (-39.558185 -2.973492)'))) / (select extract(epoch from '2026-07-18 09:06:47'::timestamp) - extract(epoch from '2026-07-18 09:06:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558164 -2.973609)'), GeomFromEWKT('SRID=4674;POINT (-39.558185 -2.973492)'))) / (select extract(epoch from '2026-07-18 09:06:47'::timestamp) - extract(epoch from '2026-07-18 09:06: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'), 47846, 'SRID=4674;POINT (-39.558176 -2.973374)', '2026-07-18 09:06:52', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558185 -2.973492)'), GeomFromEWKT('SRID=4674;POINT (-39.558176 -2.973374)'))) / (select extract(epoch from '2026-07-18 09:06:52'::timestamp) - extract(epoch from '2026-07-18 09:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558185 -2.973492)'), GeomFromEWKT('SRID=4674;POINT (-39.558176 -2.973374)'))) / (select extract(epoch from '2026-07-18 09:06:52'::timestamp) - extract(epoch from '2026-07-18 09:06: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'), 47846, 'SRID=4674;POINT (-39.558147 -2.973268)', '2026-07-18 09:06:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558176 -2.973374)'), GeomFromEWKT('SRID=4674;POINT (-39.558147 -2.973268)'))) / (select extract(epoch from '2026-07-18 09:06:57'::timestamp) - extract(epoch from '2026-07-18 09:06:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558176 -2.973374)'), GeomFromEWKT('SRID=4674;POINT (-39.558147 -2.973268)'))) / (select extract(epoch from '2026-07-18 09:06:57'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558137 -2.973152)', '2026-07-18 09:07:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558147 -2.973268)'), GeomFromEWKT('SRID=4674;POINT (-39.558137 -2.973152)'))) / (select extract(epoch from '2026-07-18 09:07:02'::timestamp) - extract(epoch from '2026-07-18 09:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558147 -2.973268)'), GeomFromEWKT('SRID=4674;POINT (-39.558137 -2.973152)'))) / (select extract(epoch from '2026-07-18 09:07:02'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558182 -2.972985)', '2026-07-18 09:07:10', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558137 -2.973152)'), GeomFromEWKT('SRID=4674;POINT (-39.558182 -2.972985)'))) / (select extract(epoch from '2026-07-18 09:07:10'::timestamp) - extract(epoch from '2026-07-18 09:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558137 -2.973152)'), GeomFromEWKT('SRID=4674;POINT (-39.558182 -2.972985)'))) / (select extract(epoch from '2026-07-18 09:07:10'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558179 -2.972942)', '2026-07-18 09:07:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558182 -2.972985)'), GeomFromEWKT('SRID=4674;POINT (-39.558179 -2.972942)'))) / (select extract(epoch from '2026-07-18 09:07:12'::timestamp) - extract(epoch from '2026-07-18 09:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558182 -2.972985)'), GeomFromEWKT('SRID=4674;POINT (-39.558179 -2.972942)'))) / (select extract(epoch from '2026-07-18 09:07:12'::timestamp) - extract(epoch from '2026-07-18 09:07: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'), 47846, 'SRID=4674;POINT (-39.558173 -2.972895)', '2026-07-18 09:07:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558179 -2.972942)'), GeomFromEWKT('SRID=4674;POINT (-39.558173 -2.972895)'))) / (select extract(epoch from '2026-07-18 09:07:14'::timestamp) - extract(epoch from '2026-07-18 09:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558179 -2.972942)'), GeomFromEWKT('SRID=4674;POINT (-39.558173 -2.972895)'))) / (select extract(epoch from '2026-07-18 09:07:14'::timestamp) - extract(epoch from '2026-07-18 09:07: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'), 47846, 'SRID=4674;POINT (-39.558165 -2.972769)', '2026-07-18 09:07:20', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558173 -2.972895)'), GeomFromEWKT('SRID=4674;POINT (-39.558165 -2.972769)'))) / (select extract(epoch from '2026-07-18 09:07:20'::timestamp) - extract(epoch from '2026-07-18 09:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558173 -2.972895)'), GeomFromEWKT('SRID=4674;POINT (-39.558165 -2.972769)'))) / (select extract(epoch from '2026-07-18 09:07:20'::timestamp) - extract(epoch from '2026-07-18 09:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558189 -2.972635)', '2026-07-18 09:07:26', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558165 -2.972769)'), GeomFromEWKT('SRID=4674;POINT (-39.558189 -2.972635)'))) / (select extract(epoch from '2026-07-18 09:07:26'::timestamp) - extract(epoch from '2026-07-18 09:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558165 -2.972769)'), GeomFromEWKT('SRID=4674;POINT (-39.558189 -2.972635)'))) / (select extract(epoch from '2026-07-18 09:07:26'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558204 -2.972528)', '2026-07-18 09:07:31', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558189 -2.972635)'), GeomFromEWKT('SRID=4674;POINT (-39.558204 -2.972528)'))) / (select extract(epoch from '2026-07-18 09:07:31'::timestamp) - extract(epoch from '2026-07-18 09:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558189 -2.972635)'), GeomFromEWKT('SRID=4674;POINT (-39.558204 -2.972528)'))) / (select extract(epoch from '2026-07-18 09:07:31'::timestamp) - extract(epoch from '2026-07-18 09:07: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'), 47846, 'SRID=4674;POINT (-39.558218 -2.972397)', '2026-07-18 09:07:37', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558204 -2.972528)'), GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972397)'))) / (select extract(epoch from '2026-07-18 09:07:37'::timestamp) - extract(epoch from '2026-07-18 09:07:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558204 -2.972528)'), GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972397)'))) / (select extract(epoch from '2026-07-18 09:07:37'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558223 -2.9723)', '2026-07-18 09:07:41', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972397)'), GeomFromEWKT('SRID=4674;POINT (-39.558223 -2.9723)'))) / (select extract(epoch from '2026-07-18 09:07:41'::timestamp) - extract(epoch from '2026-07-18 09:07:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972397)'), GeomFromEWKT('SRID=4674;POINT (-39.558223 -2.9723)'))) / (select extract(epoch from '2026-07-18 09:07:41'::timestamp) - extract(epoch from '2026-07-18 09:07:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558218 -2.972282)', '2026-07-18 09:07:42', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558223 -2.9723)'), GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972282)'))) / (select extract(epoch from '2026-07-18 09:07:42'::timestamp) - extract(epoch from '2026-07-18 09:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558223 -2.9723)'), GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972282)'))) / (select extract(epoch from '2026-07-18 09:07:42'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558218 -2.972178)', '2026-07-18 09:07:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972282)'), GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972178)'))) / (select extract(epoch from '2026-07-18 09:07:46'::timestamp) - extract(epoch from '2026-07-18 09:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972282)'), GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972178)'))) / (select extract(epoch from '2026-07-18 09:07:46'::timestamp) - extract(epoch from '2026-07-18 09:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558209 -2.97204)', '2026-07-18 09:07:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972178)'), GeomFromEWKT('SRID=4674;POINT (-39.558209 -2.97204)'))) / (select extract(epoch from '2026-07-18 09:07:52'::timestamp) - extract(epoch from '2026-07-18 09:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558218 -2.972178)'), GeomFromEWKT('SRID=4674;POINT (-39.558209 -2.97204)'))) / (select extract(epoch from '2026-07-18 09:07:52'::timestamp) - extract(epoch from '2026-07-18 09:07: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'), 47846, 'SRID=4674;POINT (-39.558212 -2.97193)', '2026-07-18 09:07:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558209 -2.97204)'), GeomFromEWKT('SRID=4674;POINT (-39.558212 -2.97193)'))) / (select extract(epoch from '2026-07-18 09:07:57'::timestamp) - extract(epoch from '2026-07-18 09:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558209 -2.97204)'), GeomFromEWKT('SRID=4674;POINT (-39.558212 -2.97193)'))) / (select extract(epoch from '2026-07-18 09:07:57'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558234 -2.971824)', '2026-07-18 09:08:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558212 -2.97193)'), GeomFromEWKT('SRID=4674;POINT (-39.558234 -2.971824)'))) / (select extract(epoch from '2026-07-18 09:08:02'::timestamp) - extract(epoch from '2026-07-18 09:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558212 -2.97193)'), GeomFromEWKT('SRID=4674;POINT (-39.558234 -2.971824)'))) / (select extract(epoch from '2026-07-18 09:08:02'::timestamp) - extract(epoch from '2026-07-18 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'), 47846, 'SRID=4674;POINT (-39.558266 -2.971703)', '2026-07-18 09:08:07', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558234 -2.971824)'), GeomFromEWKT('SRID=4674;POINT (-39.558266 -2.971703)'))) / (select extract(epoch from '2026-07-18 09:08:07'::timestamp) - extract(epoch from '2026-07-18 09:08:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558234 -2.971824)'), GeomFromEWKT('SRID=4674;POINT (-39.558266 -2.971703)'))) / (select extract(epoch from '2026-07-18 09:08:07'::timestamp) - extract(epoch from '2026-07-18 09:08: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'), 47846, 'SRID=4674;POINT (-39.558274 -2.971586)', '2026-07-18 09:08:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558266 -2.971703)'), GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971586)'))) / (select extract(epoch from '2026-07-18 09:08:12'::timestamp) - extract(epoch from '2026-07-18 09:08:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558266 -2.971703)'), GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971586)'))) / (select extract(epoch from '2026-07-18 09:08:12'::timestamp) - extract(epoch from '2026-07-18 09:08: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'), 47846, 'SRID=4674;POINT (-39.558274 -2.971459)', '2026-07-18 09:08:18', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971586)'), GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971459)'))) / (select extract(epoch from '2026-07-18 09:08:18'::timestamp) - extract(epoch from '2026-07-18 09:08:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971586)'), GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971459)'))) / (select extract(epoch from '2026-07-18 09:08:18'::timestamp) - extract(epoch from '2026-07-18 09:08: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'), 47846, 'SRID=4674;POINT (-39.558283 -2.97131)', '2026-07-18 09:08:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971459)'), GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.97131)'))) / (select extract(epoch from '2026-07-18 09:08:24'::timestamp) - extract(epoch from '2026-07-18 09:08:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971459)'), GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.97131)'))) / (select extract(epoch from '2026-07-18 09:08:24'::timestamp) - extract(epoch from '2026-07-18 09:08:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558285 -2.971169)', '2026-07-18 09:08:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.97131)'), GeomFromEWKT('SRID=4674;POINT (-39.558285 -2.971169)'))) / (select extract(epoch from '2026-07-18 09:08:30'::timestamp) - extract(epoch from '2026-07-18 09:08:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558283 -2.97131)'), GeomFromEWKT('SRID=4674;POINT (-39.558285 -2.971169)'))) / (select extract(epoch from '2026-07-18 09:08:30'::timestamp) - extract(epoch from '2026-07-18 09:08: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'), 47846, 'SRID=4674;POINT (-39.558274 -2.971043)', '2026-07-18 09:08:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558285 -2.971169)'), GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971043)'))) / (select extract(epoch from '2026-07-18 09:08:35'::timestamp) - extract(epoch from '2026-07-18 09:08:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558285 -2.971169)'), GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971043)'))) / (select extract(epoch from '2026-07-18 09:08:35'::timestamp) - extract(epoch from '2026-07-18 09:08:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47846, 'SRID=4674;POINT (-39.558293 -2.970952)', '2026-07-18 09:08:39', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971043)'), GeomFromEWKT('SRID=4674;POINT (-39.558293 -2.970952)'))) / (select extract(epoch from '2026-07-18 09:08:39'::timestamp) - extract(epoch from '2026-07-18 09:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.558274 -2.971043)'), GeomFromEWKT('SRID=4674;POINT (-39.558293 -2.970952)'))) / (select extract(epoch from '2026-07-18 09:08:39'::timestamp) - extract(epoch from '2026-07-18 09:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
