 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.815148 -2.618292)', '2026-07-22 07:28:26', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815176 -2.618309)'), GeomFromEWKT('SRID=4674;POINT (-39.815148 -2.618292)'))) / (select extract(epoch from '2026-07-22 07:28:26'::timestamp) - extract(epoch from '2026-07-22 07:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815176 -2.618309)'), GeomFromEWKT('SRID=4674;POINT (-39.815148 -2.618292)'))) / (select extract(epoch from '2026-07-22 07:28:26'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47870, 'SRID=4674;POINT (-39.815093 -2.618313)', '2026-07-22 07:28:34', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815148 -2.618292)'), GeomFromEWKT('SRID=4674;POINT (-39.815093 -2.618313)'))) / (select extract(epoch from '2026-07-22 07:28:34'::timestamp) - extract(epoch from '2026-07-22 07:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815148 -2.618292)'), GeomFromEWKT('SRID=4674;POINT (-39.815093 -2.618313)'))) / (select extract(epoch from '2026-07-22 07:28:34'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47870, 'SRID=4674;POINT (-39.815041 -2.618306)', '2026-07-22 07:28:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815093 -2.618313)'), GeomFromEWKT('SRID=4674;POINT (-39.815041 -2.618306)'))) / (select extract(epoch from '2026-07-22 07:28:41'::timestamp) - extract(epoch from '2026-07-22 07:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815093 -2.618313)'), GeomFromEWKT('SRID=4674;POINT (-39.815041 -2.618306)'))) / (select extract(epoch from '2026-07-22 07:28:41'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47870, 'SRID=4674;POINT (-39.815027 -2.618292)', '2026-07-22 07:28:49', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815041 -2.618306)'), GeomFromEWKT('SRID=4674;POINT (-39.815027 -2.618292)'))) / (select extract(epoch from '2026-07-22 07:28:49'::timestamp) - extract(epoch from '2026-07-22 07:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815041 -2.618306)'), GeomFromEWKT('SRID=4674;POINT (-39.815027 -2.618292)'))) / (select extract(epoch from '2026-07-22 07:28:49'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47870, 'SRID=4674;POINT (-39.815026 -2.618268)', '2026-07-22 07:28:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815027 -2.618292)'), GeomFromEWKT('SRID=4674;POINT (-39.815026 -2.618268)'))) / (select extract(epoch from '2026-07-22 07:28:57'::timestamp) - extract(epoch from '2026-07-22 07:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815027 -2.618292)'), GeomFromEWKT('SRID=4674;POINT (-39.815026 -2.618268)'))) / (select extract(epoch from '2026-07-22 07:28:57'::timestamp) - extract(epoch from '2026-07-22 07:28: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'), 47870, 'SRID=4674;POINT (-39.815049 -2.618251)', '2026-07-22 07:29:07', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815026 -2.618268)'), GeomFromEWKT('SRID=4674;POINT (-39.815049 -2.618251)'))) / (select extract(epoch from '2026-07-22 07:29:07'::timestamp) - extract(epoch from '2026-07-22 07:28:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815026 -2.618268)'), GeomFromEWKT('SRID=4674;POINT (-39.815049 -2.618251)'))) / (select extract(epoch from '2026-07-22 07:29:07'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.815095 -2.61824)', '2026-07-22 07:29:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815049 -2.618251)'), GeomFromEWKT('SRID=4674;POINT (-39.815095 -2.61824)'))) / (select extract(epoch from '2026-07-22 07:29:19'::timestamp) - extract(epoch from '2026-07-22 07:29:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815049 -2.618251)'), GeomFromEWKT('SRID=4674;POINT (-39.815095 -2.61824)'))) / (select extract(epoch from '2026-07-22 07:29:19'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47870, 'SRID=4674;POINT (-39.815131 -2.618232)', '2026-07-22 07:29:26', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815095 -2.61824)'), GeomFromEWKT('SRID=4674;POINT (-39.815131 -2.618232)'))) / (select extract(epoch from '2026-07-22 07:29:26'::timestamp) - extract(epoch from '2026-07-22 07:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815095 -2.61824)'), GeomFromEWKT('SRID=4674;POINT (-39.815131 -2.618232)'))) / (select extract(epoch from '2026-07-22 07:29:26'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47870, 'SRID=4674;POINT (-39.81521 -2.618204)', '2026-07-22 07:29:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815131 -2.618232)'), GeomFromEWKT('SRID=4674;POINT (-39.81521 -2.618204)'))) / (select extract(epoch from '2026-07-22 07:29:36'::timestamp) - extract(epoch from '2026-07-22 07:29:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815131 -2.618232)'), GeomFromEWKT('SRID=4674;POINT (-39.81521 -2.618204)'))) / (select extract(epoch from '2026-07-22 07:29:36'::timestamp) - extract(epoch from '2026-07-22 07:29:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.815257 -2.618166)', '2026-07-22 07:29:42', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81521 -2.618204)'), GeomFromEWKT('SRID=4674;POINT (-39.815257 -2.618166)'))) / (select extract(epoch from '2026-07-22 07:29:42'::timestamp) - extract(epoch from '2026-07-22 07:29:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81521 -2.618204)'), GeomFromEWKT('SRID=4674;POINT (-39.815257 -2.618166)'))) / (select extract(epoch from '2026-07-22 07:29:42'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47870, 'SRID=4674;POINT (-39.815259 -2.61816)', '2026-07-22 07:29:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815257 -2.618166)'), GeomFromEWKT('SRID=4674;POINT (-39.815259 -2.61816)'))) / (select extract(epoch from '2026-07-22 07:29:47'::timestamp) - extract(epoch from '2026-07-22 07:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815257 -2.618166)'), GeomFromEWKT('SRID=4674;POINT (-39.815259 -2.61816)'))) / (select extract(epoch from '2026-07-22 07:29:47'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47870, 'SRID=4674;POINT (-39.815241 -2.618181)', '2026-07-22 07:29:55', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815259 -2.61816)'), GeomFromEWKT('SRID=4674;POINT (-39.815241 -2.618181)'))) / (select extract(epoch from '2026-07-22 07:29:55'::timestamp) - extract(epoch from '2026-07-22 07:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815259 -2.61816)'), GeomFromEWKT('SRID=4674;POINT (-39.815241 -2.618181)'))) / (select extract(epoch from '2026-07-22 07:29:55'::timestamp) - extract(epoch from '2026-07-22 07:29: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'), 47870, 'SRID=4674;POINT (-39.815189 -2.618246)', '2026-07-22 07:30:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815241 -2.618181)'), GeomFromEWKT('SRID=4674;POINT (-39.815189 -2.618246)'))) / (select extract(epoch from '2026-07-22 07:30:04'::timestamp) - extract(epoch from '2026-07-22 07:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815241 -2.618181)'), GeomFromEWKT('SRID=4674;POINT (-39.815189 -2.618246)'))) / (select extract(epoch from '2026-07-22 07:30:04'::timestamp) - extract(epoch from '2026-07-22 07:29:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.815126 -2.618306)', '2026-07-22 07:30:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815189 -2.618246)'), GeomFromEWKT('SRID=4674;POINT (-39.815126 -2.618306)'))) / (select extract(epoch from '2026-07-22 07:30:12'::timestamp) - extract(epoch from '2026-07-22 07:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815189 -2.618246)'), GeomFromEWKT('SRID=4674;POINT (-39.815126 -2.618306)'))) / (select extract(epoch from '2026-07-22 07:30:12'::timestamp) - extract(epoch from '2026-07-22 07:30: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'), 47870, 'SRID=4674;POINT (-39.815071 -2.618333)', '2026-07-22 07:30:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815126 -2.618306)'), GeomFromEWKT('SRID=4674;POINT (-39.815071 -2.618333)'))) / (select extract(epoch from '2026-07-22 07:30:19'::timestamp) - extract(epoch from '2026-07-22 07:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815126 -2.618306)'), GeomFromEWKT('SRID=4674;POINT (-39.815071 -2.618333)'))) / (select extract(epoch from '2026-07-22 07:30:19'::timestamp) - extract(epoch from '2026-07-22 07:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.815067 -2.618368)', '2026-07-22 07:30:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815071 -2.618333)'), GeomFromEWKT('SRID=4674;POINT (-39.815067 -2.618368)'))) / (select extract(epoch from '2026-07-22 07:30:27'::timestamp) - extract(epoch from '2026-07-22 07:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815071 -2.618333)'), GeomFromEWKT('SRID=4674;POINT (-39.815067 -2.618368)'))) / (select extract(epoch from '2026-07-22 07:30:27'::timestamp) - extract(epoch from '2026-07-22 07:30: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'), 47870, 'SRID=4674;POINT (-39.815096 -2.618355)', '2026-07-22 07:30:35', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815067 -2.618368)'), GeomFromEWKT('SRID=4674;POINT (-39.815096 -2.618355)'))) / (select extract(epoch from '2026-07-22 07:30:35'::timestamp) - extract(epoch from '2026-07-22 07:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815067 -2.618368)'), GeomFromEWKT('SRID=4674;POINT (-39.815096 -2.618355)'))) / (select extract(epoch from '2026-07-22 07:30:35'::timestamp) - extract(epoch from '2026-07-22 07:30: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'), 47870, 'SRID=4674;POINT (-39.815132 -2.618331)', '2026-07-22 07:30:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815096 -2.618355)'), GeomFromEWKT('SRID=4674;POINT (-39.815132 -2.618331)'))) / (select extract(epoch from '2026-07-22 07:30:45'::timestamp) - extract(epoch from '2026-07-22 07:30:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815096 -2.618355)'), GeomFromEWKT('SRID=4674;POINT (-39.815132 -2.618331)'))) / (select extract(epoch from '2026-07-22 07:30:45'::timestamp) - extract(epoch from '2026-07-22 07:30: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'), 47870, 'SRID=4674;POINT (-39.815175 -2.618306)', '2026-07-22 07:30:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815132 -2.618331)'), GeomFromEWKT('SRID=4674;POINT (-39.815175 -2.618306)'))) / (select extract(epoch from '2026-07-22 07:30:55'::timestamp) - extract(epoch from '2026-07-22 07:30:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815132 -2.618331)'), GeomFromEWKT('SRID=4674;POINT (-39.815175 -2.618306)'))) / (select extract(epoch from '2026-07-22 07:30:55'::timestamp) - extract(epoch from '2026-07-22 07:30: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'), 47870, 'SRID=4674;POINT (-39.815222 -2.61827)', '2026-07-22 07:31:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815175 -2.618306)'), GeomFromEWKT('SRID=4674;POINT (-39.815222 -2.61827)'))) / (select extract(epoch from '2026-07-22 07:31:06'::timestamp) - extract(epoch from '2026-07-22 07:30:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815175 -2.618306)'), GeomFromEWKT('SRID=4674;POINT (-39.815222 -2.61827)'))) / (select extract(epoch from '2026-07-22 07:31:06'::timestamp) - extract(epoch from '2026-07-22 07:30:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.815253 -2.618227)', '2026-07-22 07:31:18', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815222 -2.61827)'), GeomFromEWKT('SRID=4674;POINT (-39.815253 -2.618227)'))) / (select extract(epoch from '2026-07-22 07:31:18'::timestamp) - extract(epoch from '2026-07-22 07:31:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815222 -2.61827)'), GeomFromEWKT('SRID=4674;POINT (-39.815253 -2.618227)'))) / (select extract(epoch from '2026-07-22 07:31:18'::timestamp) - extract(epoch from '2026-07-22 07:31:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.815244 -2.618208)', '2026-07-22 07:31:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815253 -2.618227)'), GeomFromEWKT('SRID=4674;POINT (-39.815244 -2.618208)'))) / (select extract(epoch from '2026-07-22 07:31:29'::timestamp) - extract(epoch from '2026-07-22 07:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815253 -2.618227)'), GeomFromEWKT('SRID=4674;POINT (-39.815244 -2.618208)'))) / (select extract(epoch from '2026-07-22 07:31:29'::timestamp) - extract(epoch from '2026-07-22 07:31: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'), 47870, 'SRID=4674;POINT (-39.815257 -2.618197)', '2026-07-22 07:31:35', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815244 -2.618208)'), GeomFromEWKT('SRID=4674;POINT (-39.815257 -2.618197)'))) / (select extract(epoch from '2026-07-22 07:31:35'::timestamp) - extract(epoch from '2026-07-22 07:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815244 -2.618208)'), GeomFromEWKT('SRID=4674;POINT (-39.815257 -2.618197)'))) / (select extract(epoch from '2026-07-22 07:31:35'::timestamp) - extract(epoch from '2026-07-22 07:31: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'), 47870, 'SRID=4674;POINT (-39.815273 -2.618177)', '2026-07-22 07:31:44', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815257 -2.618197)'), GeomFromEWKT('SRID=4674;POINT (-39.815273 -2.618177)'))) / (select extract(epoch from '2026-07-22 07:31:44'::timestamp) - extract(epoch from '2026-07-22 07:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815257 -2.618197)'), GeomFromEWKT('SRID=4674;POINT (-39.815273 -2.618177)'))) / (select extract(epoch from '2026-07-22 07:31:44'::timestamp) - extract(epoch from '2026-07-22 07:31: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'), 47870, 'SRID=4674;POINT (-39.815273 -2.618167)', '2026-07-22 07:31:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815273 -2.618177)'), GeomFromEWKT('SRID=4674;POINT (-39.815273 -2.618167)'))) / (select extract(epoch from '2026-07-22 07:31:50'::timestamp) - extract(epoch from '2026-07-22 07:31:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815273 -2.618177)'), GeomFromEWKT('SRID=4674;POINT (-39.815273 -2.618167)'))) / (select extract(epoch from '2026-07-22 07:31:50'::timestamp) - extract(epoch from '2026-07-22 07:31:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.815256 -2.61812)', '2026-07-22 07:32:28', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815273 -2.618167)'), GeomFromEWKT('SRID=4674;POINT (-39.815256 -2.61812)'))) / (select extract(epoch from '2026-07-22 07:32:28'::timestamp) - extract(epoch from '2026-07-22 07:31:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815273 -2.618167)'), GeomFromEWKT('SRID=4674;POINT (-39.815256 -2.61812)'))) / (select extract(epoch from '2026-07-22 07:32:28'::timestamp) - extract(epoch from '2026-07-22 07:31:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.815292 -2.618058)', '2026-07-22 07:32:45', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815256 -2.61812)'), GeomFromEWKT('SRID=4674;POINT (-39.815292 -2.618058)'))) / (select extract(epoch from '2026-07-22 07:32:45'::timestamp) - extract(epoch from '2026-07-22 07:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815256 -2.61812)'), GeomFromEWKT('SRID=4674;POINT (-39.815292 -2.618058)'))) / (select extract(epoch from '2026-07-22 07:32:45'::timestamp) - extract(epoch from '2026-07-22 07:32: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'), 47870, 'SRID=4674;POINT (-39.815282 -2.618042)', '2026-07-22 07:32:55', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815292 -2.618058)'), GeomFromEWKT('SRID=4674;POINT (-39.815282 -2.618042)'))) / (select extract(epoch from '2026-07-22 07:32:55'::timestamp) - extract(epoch from '2026-07-22 07:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815292 -2.618058)'), GeomFromEWKT('SRID=4674;POINT (-39.815282 -2.618042)'))) / (select extract(epoch from '2026-07-22 07:32:55'::timestamp) - extract(epoch from '2026-07-22 07:32: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'), 47870, 'SRID=4674;POINT (-39.81525 -2.618033)', '2026-07-22 07:32:59', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815282 -2.618042)'), GeomFromEWKT('SRID=4674;POINT (-39.81525 -2.618033)'))) / (select extract(epoch from '2026-07-22 07:32:59'::timestamp) - extract(epoch from '2026-07-22 07:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815282 -2.618042)'), GeomFromEWKT('SRID=4674;POINT (-39.81525 -2.618033)'))) / (select extract(epoch from '2026-07-22 07:32:59'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.815215 -2.61801)', '2026-07-22 07:33:02', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81525 -2.618033)'), GeomFromEWKT('SRID=4674;POINT (-39.815215 -2.61801)'))) / (select extract(epoch from '2026-07-22 07:33:02'::timestamp) - extract(epoch from '2026-07-22 07:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81525 -2.618033)'), GeomFromEWKT('SRID=4674;POINT (-39.815215 -2.61801)'))) / (select extract(epoch from '2026-07-22 07:33:02'::timestamp) - extract(epoch from '2026-07-22 07:32: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'), 47870, 'SRID=4674;POINT (-39.815127 -2.617954)', '2026-07-22 07:33:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815215 -2.61801)'), GeomFromEWKT('SRID=4674;POINT (-39.815127 -2.617954)'))) / (select extract(epoch from '2026-07-22 07:33:08'::timestamp) - extract(epoch from '2026-07-22 07:33:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815215 -2.61801)'), GeomFromEWKT('SRID=4674;POINT (-39.815127 -2.617954)'))) / (select extract(epoch from '2026-07-22 07:33:08'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47870, 'SRID=4674;POINT (-39.815017 -2.617914)', '2026-07-22 07:33:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815127 -2.617954)'), GeomFromEWKT('SRID=4674;POINT (-39.815017 -2.617914)'))) / (select extract(epoch from '2026-07-22 07:33:16'::timestamp) - extract(epoch from '2026-07-22 07:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815127 -2.617954)'), GeomFromEWKT('SRID=4674;POINT (-39.815017 -2.617914)'))) / (select extract(epoch from '2026-07-22 07:33:16'::timestamp) - extract(epoch from '2026-07-22 07:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.814935 -2.617867)', '2026-07-22 07:33:22', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815017 -2.617914)'), GeomFromEWKT('SRID=4674;POINT (-39.814935 -2.617867)'))) / (select extract(epoch from '2026-07-22 07:33:22'::timestamp) - extract(epoch from '2026-07-22 07:33:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.815017 -2.617914)'), GeomFromEWKT('SRID=4674;POINT (-39.814935 -2.617867)'))) / (select extract(epoch from '2026-07-22 07:33:22'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47870, 'SRID=4674;POINT (-39.814848 -2.617844)', '2026-07-22 07:33:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814935 -2.617867)'), GeomFromEWKT('SRID=4674;POINT (-39.814848 -2.617844)'))) / (select extract(epoch from '2026-07-22 07:33:28'::timestamp) - extract(epoch from '2026-07-22 07:33:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814935 -2.617867)'), GeomFromEWKT('SRID=4674;POINT (-39.814848 -2.617844)'))) / (select extract(epoch from '2026-07-22 07:33:28'::timestamp) - extract(epoch from '2026-07-22 07:33:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81473 -2.61781)', '2026-07-22 07:33:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814848 -2.617844)'), GeomFromEWKT('SRID=4674;POINT (-39.81473 -2.61781)'))) / (select extract(epoch from '2026-07-22 07:33:35'::timestamp) - extract(epoch from '2026-07-22 07:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814848 -2.617844)'), GeomFromEWKT('SRID=4674;POINT (-39.81473 -2.61781)'))) / (select extract(epoch from '2026-07-22 07:33:35'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47870, 'SRID=4674;POINT (-39.814672 -2.617747)', '2026-07-22 07:33:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81473 -2.61781)'), GeomFromEWKT('SRID=4674;POINT (-39.814672 -2.617747)'))) / (select extract(epoch from '2026-07-22 07:33:40'::timestamp) - extract(epoch from '2026-07-22 07:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81473 -2.61781)'), GeomFromEWKT('SRID=4674;POINT (-39.814672 -2.617747)'))) / (select extract(epoch from '2026-07-22 07:33:40'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47870, 'SRID=4674;POINT (-39.814645 -2.61766)', '2026-07-22 07:33:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814672 -2.617747)'), GeomFromEWKT('SRID=4674;POINT (-39.814645 -2.61766)'))) / (select extract(epoch from '2026-07-22 07:33:45'::timestamp) - extract(epoch from '2026-07-22 07:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814672 -2.617747)'), GeomFromEWKT('SRID=4674;POINT (-39.814645 -2.61766)'))) / (select extract(epoch from '2026-07-22 07:33:45'::timestamp) - extract(epoch from '2026-07-22 07:33:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.814628 -2.617601)', '2026-07-22 07:33:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814645 -2.61766)'), GeomFromEWKT('SRID=4674;POINT (-39.814628 -2.617601)'))) / (select extract(epoch from '2026-07-22 07:33:48'::timestamp) - extract(epoch from '2026-07-22 07:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814645 -2.61766)'), GeomFromEWKT('SRID=4674;POINT (-39.814628 -2.617601)'))) / (select extract(epoch from '2026-07-22 07:33:48'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47870, 'SRID=4674;POINT (-39.814606 -2.617568)', '2026-07-22 07:33:50', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814628 -2.617601)'), GeomFromEWKT('SRID=4674;POINT (-39.814606 -2.617568)'))) / (select extract(epoch from '2026-07-22 07:33:50'::timestamp) - extract(epoch from '2026-07-22 07:33:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814628 -2.617601)'), GeomFromEWKT('SRID=4674;POINT (-39.814606 -2.617568)'))) / (select extract(epoch from '2026-07-22 07:33:50'::timestamp) - extract(epoch from '2026-07-22 07:33:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81452 -2.617462)', '2026-07-22 07:33:57', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814606 -2.617568)'), GeomFromEWKT('SRID=4674;POINT (-39.81452 -2.617462)'))) / (select extract(epoch from '2026-07-22 07:33:57'::timestamp) - extract(epoch from '2026-07-22 07:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814606 -2.617568)'), GeomFromEWKT('SRID=4674;POINT (-39.81452 -2.617462)'))) / (select extract(epoch from '2026-07-22 07:33:57'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47870, 'SRID=4674;POINT (-39.814439 -2.61742)', '2026-07-22 07:34:02', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81452 -2.617462)'), GeomFromEWKT('SRID=4674;POINT (-39.814439 -2.61742)'))) / (select extract(epoch from '2026-07-22 07:34:02'::timestamp) - extract(epoch from '2026-07-22 07:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81452 -2.617462)'), GeomFromEWKT('SRID=4674;POINT (-39.814439 -2.61742)'))) / (select extract(epoch from '2026-07-22 07:34:02'::timestamp) - extract(epoch from '2026-07-22 07:33: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'), 47870, 'SRID=4674;POINT (-39.814339 -2.617374)', '2026-07-22 07:34:08', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814439 -2.61742)'), GeomFromEWKT('SRID=4674;POINT (-39.814339 -2.617374)'))) / (select extract(epoch from '2026-07-22 07:34:08'::timestamp) - extract(epoch from '2026-07-22 07:34:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814439 -2.61742)'), GeomFromEWKT('SRID=4674;POINT (-39.814339 -2.617374)'))) / (select extract(epoch from '2026-07-22 07:34:08'::timestamp) - extract(epoch from '2026-07-22 07:34:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.814253 -2.617322)', '2026-07-22 07:34:15', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814339 -2.617374)'), GeomFromEWKT('SRID=4674;POINT (-39.814253 -2.617322)'))) / (select extract(epoch from '2026-07-22 07:34:15'::timestamp) - extract(epoch from '2026-07-22 07:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814339 -2.617374)'), GeomFromEWKT('SRID=4674;POINT (-39.814253 -2.617322)'))) / (select extract(epoch from '2026-07-22 07:34:15'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.814246 -2.617312)', '2026-07-22 07:34:16', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814253 -2.617322)'), GeomFromEWKT('SRID=4674;POINT (-39.814246 -2.617312)'))) / (select extract(epoch from '2026-07-22 07:34:16'::timestamp) - extract(epoch from '2026-07-22 07:34:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814253 -2.617322)'), GeomFromEWKT('SRID=4674;POINT (-39.814246 -2.617312)'))) / (select extract(epoch from '2026-07-22 07:34:16'::timestamp) - extract(epoch from '2026-07-22 07:34:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81423 -2.617278)', '2026-07-22 07:34:19', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814246 -2.617312)'), GeomFromEWKT('SRID=4674;POINT (-39.81423 -2.617278)'))) / (select extract(epoch from '2026-07-22 07:34:19'::timestamp) - extract(epoch from '2026-07-22 07:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814246 -2.617312)'), GeomFromEWKT('SRID=4674;POINT (-39.81423 -2.617278)'))) / (select extract(epoch from '2026-07-22 07:34:19'::timestamp) - extract(epoch from '2026-07-22 07:34: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'), 47870, 'SRID=4674;POINT (-39.814202 -2.617233)', '2026-07-22 07:34:26', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81423 -2.617278)'), GeomFromEWKT('SRID=4674;POINT (-39.814202 -2.617233)'))) / (select extract(epoch from '2026-07-22 07:34:26'::timestamp) - extract(epoch from '2026-07-22 07:34:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81423 -2.617278)'), GeomFromEWKT('SRID=4674;POINT (-39.814202 -2.617233)'))) / (select extract(epoch from '2026-07-22 07:34:26'::timestamp) - extract(epoch from '2026-07-22 07:34: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'), 47870, 'SRID=4674;POINT (-39.814201 -2.617221)', '2026-07-22 07:34:28', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814202 -2.617233)'), GeomFromEWKT('SRID=4674;POINT (-39.814201 -2.617221)'))) / (select extract(epoch from '2026-07-22 07:34:28'::timestamp) - extract(epoch from '2026-07-22 07:34:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814202 -2.617233)'), GeomFromEWKT('SRID=4674;POINT (-39.814201 -2.617221)'))) / (select extract(epoch from '2026-07-22 07:34:28'::timestamp) - extract(epoch from '2026-07-22 07:34: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'), 47870, 'SRID=4674;POINT (-39.814211 -2.6172)', '2026-07-22 07:34:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814201 -2.617221)'), GeomFromEWKT('SRID=4674;POINT (-39.814211 -2.6172)'))) / (select extract(epoch from '2026-07-22 07:34:32'::timestamp) - extract(epoch from '2026-07-22 07:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814201 -2.617221)'), GeomFromEWKT('SRID=4674;POINT (-39.814211 -2.6172)'))) / (select extract(epoch from '2026-07-22 07:34:32'::timestamp) - extract(epoch from '2026-07-22 07:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.814221 -2.617193)', '2026-07-22 07:34:43', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814211 -2.6172)'), GeomFromEWKT('SRID=4674;POINT (-39.814221 -2.617193)'))) / (select extract(epoch from '2026-07-22 07:34:43'::timestamp) - extract(epoch from '2026-07-22 07:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814211 -2.6172)'), GeomFromEWKT('SRID=4674;POINT (-39.814221 -2.617193)'))) / (select extract(epoch from '2026-07-22 07:34:43'::timestamp) - extract(epoch from '2026-07-22 07:34:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.814279 -2.617156)', '2026-07-22 07:34:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814221 -2.617193)'), GeomFromEWKT('SRID=4674;POINT (-39.814279 -2.617156)'))) / (select extract(epoch from '2026-07-22 07:34:52'::timestamp) - extract(epoch from '2026-07-22 07:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814221 -2.617193)'), GeomFromEWKT('SRID=4674;POINT (-39.814279 -2.617156)'))) / (select extract(epoch from '2026-07-22 07:34:52'::timestamp) - extract(epoch from '2026-07-22 07:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.814333 -2.617118)', '2026-07-22 07:35:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814279 -2.617156)'), GeomFromEWKT('SRID=4674;POINT (-39.814333 -2.617118)'))) / (select extract(epoch from '2026-07-22 07:35:07'::timestamp) - extract(epoch from '2026-07-22 07:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814279 -2.617156)'), GeomFromEWKT('SRID=4674;POINT (-39.814333 -2.617118)'))) / (select extract(epoch from '2026-07-22 07:35:07'::timestamp) - extract(epoch from '2026-07-22 07:34: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'), 47870, 'SRID=4674;POINT (-39.81436 -2.617093)', '2026-07-22 07:35:16', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814333 -2.617118)'), GeomFromEWKT('SRID=4674;POINT (-39.81436 -2.617093)'))) / (select extract(epoch from '2026-07-22 07:35:16'::timestamp) - extract(epoch from '2026-07-22 07:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814333 -2.617118)'), GeomFromEWKT('SRID=4674;POINT (-39.81436 -2.617093)'))) / (select extract(epoch from '2026-07-22 07:35:16'::timestamp) - extract(epoch from '2026-07-22 07:35: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'), 47870, 'SRID=4674;POINT (-39.814391 -2.617071)', '2026-07-22 07:35:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81436 -2.617093)'), GeomFromEWKT('SRID=4674;POINT (-39.814391 -2.617071)'))) / (select extract(epoch from '2026-07-22 07:35:25'::timestamp) - extract(epoch from '2026-07-22 07:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81436 -2.617093)'), GeomFromEWKT('SRID=4674;POINT (-39.814391 -2.617071)'))) / (select extract(epoch from '2026-07-22 07:35:25'::timestamp) - extract(epoch from '2026-07-22 07:35:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.814406 -2.617066)', '2026-07-22 07:35:31', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814391 -2.617071)'), GeomFromEWKT('SRID=4674;POINT (-39.814406 -2.617066)'))) / (select extract(epoch from '2026-07-22 07:35:31'::timestamp) - extract(epoch from '2026-07-22 07:35:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814391 -2.617071)'), GeomFromEWKT('SRID=4674;POINT (-39.814406 -2.617066)'))) / (select extract(epoch from '2026-07-22 07:35:31'::timestamp) - extract(epoch from '2026-07-22 07:35: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'), 47870, 'SRID=4674;POINT (-39.814393 -2.617014)', '2026-07-22 07:36:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814406 -2.617066)'), GeomFromEWKT('SRID=4674;POINT (-39.814393 -2.617014)'))) / (select extract(epoch from '2026-07-22 07:36:07'::timestamp) - extract(epoch from '2026-07-22 07:35:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814406 -2.617066)'), GeomFromEWKT('SRID=4674;POINT (-39.814393 -2.617014)'))) / (select extract(epoch from '2026-07-22 07:36:07'::timestamp) - extract(epoch from '2026-07-22 07:35: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'), 47870, 'SRID=4674;POINT (-39.814351 -2.616939)', '2026-07-22 07:36:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814393 -2.617014)'), GeomFromEWKT('SRID=4674;POINT (-39.814351 -2.616939)'))) / (select extract(epoch from '2026-07-22 07:36:13'::timestamp) - extract(epoch from '2026-07-22 07:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814393 -2.617014)'), GeomFromEWKT('SRID=4674;POINT (-39.814351 -2.616939)'))) / (select extract(epoch from '2026-07-22 07:36:13'::timestamp) - extract(epoch from '2026-07-22 07:36: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'), 47870, 'SRID=4674;POINT (-39.81431 -2.616853)', '2026-07-22 07:36:18', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814351 -2.616939)'), GeomFromEWKT('SRID=4674;POINT (-39.81431 -2.616853)'))) / (select extract(epoch from '2026-07-22 07:36:18'::timestamp) - extract(epoch from '2026-07-22 07:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814351 -2.616939)'), GeomFromEWKT('SRID=4674;POINT (-39.81431 -2.616853)'))) / (select extract(epoch from '2026-07-22 07:36:18'::timestamp) - extract(epoch from '2026-07-22 07:36: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'), 47870, 'SRID=4674;POINT (-39.814252 -2.61673)', '2026-07-22 07:36:24', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81431 -2.616853)'), GeomFromEWKT('SRID=4674;POINT (-39.814252 -2.61673)'))) / (select extract(epoch from '2026-07-22 07:36:24'::timestamp) - extract(epoch from '2026-07-22 07:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81431 -2.616853)'), GeomFromEWKT('SRID=4674;POINT (-39.814252 -2.61673)'))) / (select extract(epoch from '2026-07-22 07:36:24'::timestamp) - extract(epoch from '2026-07-22 07:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.814169 -2.616633)', '2026-07-22 07:36:30', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814252 -2.61673)'), GeomFromEWKT('SRID=4674;POINT (-39.814169 -2.616633)'))) / (select extract(epoch from '2026-07-22 07:36:30'::timestamp) - extract(epoch from '2026-07-22 07:36:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814252 -2.61673)'), GeomFromEWKT('SRID=4674;POINT (-39.814169 -2.616633)'))) / (select extract(epoch from '2026-07-22 07:36:30'::timestamp) - extract(epoch from '2026-07-22 07:36:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.814084 -2.616577)', '2026-07-22 07:36:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814169 -2.616633)'), GeomFromEWKT('SRID=4674;POINT (-39.814084 -2.616577)'))) / (select extract(epoch from '2026-07-22 07:36:35'::timestamp) - extract(epoch from '2026-07-22 07:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814169 -2.616633)'), GeomFromEWKT('SRID=4674;POINT (-39.814084 -2.616577)'))) / (select extract(epoch from '2026-07-22 07:36:35'::timestamp) - extract(epoch from '2026-07-22 07:36: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'), 47870, 'SRID=4674;POINT (-39.813984 -2.6165)', '2026-07-22 07:36:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814084 -2.616577)'), GeomFromEWKT('SRID=4674;POINT (-39.813984 -2.6165)'))) / (select extract(epoch from '2026-07-22 07:36:41'::timestamp) - extract(epoch from '2026-07-22 07:36:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.814084 -2.616577)'), GeomFromEWKT('SRID=4674;POINT (-39.813984 -2.6165)'))) / (select extract(epoch from '2026-07-22 07:36:41'::timestamp) - extract(epoch from '2026-07-22 07:36: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'), 47870, 'SRID=4674;POINT (-39.813903 -2.616431)', '2026-07-22 07:36:46', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813984 -2.6165)'), GeomFromEWKT('SRID=4674;POINT (-39.813903 -2.616431)'))) / (select extract(epoch from '2026-07-22 07:36:46'::timestamp) - extract(epoch from '2026-07-22 07:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813984 -2.6165)'), GeomFromEWKT('SRID=4674;POINT (-39.813903 -2.616431)'))) / (select extract(epoch from '2026-07-22 07:36:46'::timestamp) - extract(epoch from '2026-07-22 07:36: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'), 47870, 'SRID=4674;POINT (-39.813839 -2.616372)', '2026-07-22 07:36:51', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813903 -2.616431)'), GeomFromEWKT('SRID=4674;POINT (-39.813839 -2.616372)'))) / (select extract(epoch from '2026-07-22 07:36:51'::timestamp) - extract(epoch from '2026-07-22 07:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813903 -2.616431)'), GeomFromEWKT('SRID=4674;POINT (-39.813839 -2.616372)'))) / (select extract(epoch from '2026-07-22 07:36:51'::timestamp) - extract(epoch from '2026-07-22 07:36:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813771 -2.616314)', '2026-07-22 07:36:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813839 -2.616372)'), GeomFromEWKT('SRID=4674;POINT (-39.813771 -2.616314)'))) / (select extract(epoch from '2026-07-22 07:36:57'::timestamp) - extract(epoch from '2026-07-22 07:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813839 -2.616372)'), GeomFromEWKT('SRID=4674;POINT (-39.813771 -2.616314)'))) / (select extract(epoch from '2026-07-22 07:36:57'::timestamp) - extract(epoch from '2026-07-22 07:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813714 -2.616239)', '2026-07-22 07:37:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813771 -2.616314)'), GeomFromEWKT('SRID=4674;POINT (-39.813714 -2.616239)'))) / (select extract(epoch from '2026-07-22 07:37:03'::timestamp) - extract(epoch from '2026-07-22 07:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813771 -2.616314)'), GeomFromEWKT('SRID=4674;POINT (-39.813714 -2.616239)'))) / (select extract(epoch from '2026-07-22 07:37:03'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.813649 -2.616172)', '2026-07-22 07:37:09', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813714 -2.616239)'), GeomFromEWKT('SRID=4674;POINT (-39.813649 -2.616172)'))) / (select extract(epoch from '2026-07-22 07:37:09'::timestamp) - extract(epoch from '2026-07-22 07:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813714 -2.616239)'), GeomFromEWKT('SRID=4674;POINT (-39.813649 -2.616172)'))) / (select extract(epoch from '2026-07-22 07:37:09'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47870, 'SRID=4674;POINT (-39.813551 -2.616092)', '2026-07-22 07:37:16', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813649 -2.616172)'), GeomFromEWKT('SRID=4674;POINT (-39.813551 -2.616092)'))) / (select extract(epoch from '2026-07-22 07:37:16'::timestamp) - extract(epoch from '2026-07-22 07:37:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813649 -2.616172)'), GeomFromEWKT('SRID=4674;POINT (-39.813551 -2.616092)'))) / (select extract(epoch from '2026-07-22 07:37:16'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47870, 'SRID=4674;POINT (-39.813455 -2.616001)', '2026-07-22 07:37:23', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813551 -2.616092)'), GeomFromEWKT('SRID=4674;POINT (-39.813455 -2.616001)'))) / (select extract(epoch from '2026-07-22 07:37:23'::timestamp) - extract(epoch from '2026-07-22 07:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813551 -2.616092)'), GeomFromEWKT('SRID=4674;POINT (-39.813455 -2.616001)'))) / (select extract(epoch from '2026-07-22 07:37:23'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47870, 'SRID=4674;POINT (-39.813369 -2.615954)', '2026-07-22 07:37:28', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813455 -2.616001)'), GeomFromEWKT('SRID=4674;POINT (-39.813369 -2.615954)'))) / (select extract(epoch from '2026-07-22 07:37:28'::timestamp) - extract(epoch from '2026-07-22 07:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813455 -2.616001)'), GeomFromEWKT('SRID=4674;POINT (-39.813369 -2.615954)'))) / (select extract(epoch from '2026-07-22 07:37:28'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47870, 'SRID=4674;POINT (-39.813355 -2.615952)', '2026-07-22 07:37:29', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813369 -2.615954)'), GeomFromEWKT('SRID=4674;POINT (-39.813355 -2.615952)'))) / (select extract(epoch from '2026-07-22 07:37:29'::timestamp) - extract(epoch from '2026-07-22 07:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813369 -2.615954)'), GeomFromEWKT('SRID=4674;POINT (-39.813355 -2.615952)'))) / (select extract(epoch from '2026-07-22 07:37:29'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47870, 'SRID=4674;POINT (-39.813304 -2.61594)', '2026-07-22 07:37:33', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813355 -2.615952)'), GeomFromEWKT('SRID=4674;POINT (-39.813304 -2.61594)'))) / (select extract(epoch from '2026-07-22 07:37:33'::timestamp) - extract(epoch from '2026-07-22 07:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813355 -2.615952)'), GeomFromEWKT('SRID=4674;POINT (-39.813304 -2.61594)'))) / (select extract(epoch from '2026-07-22 07:37:33'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47870, 'SRID=4674;POINT (-39.81322 -2.61589)', '2026-07-22 07:37:39', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813304 -2.61594)'), GeomFromEWKT('SRID=4674;POINT (-39.81322 -2.61589)'))) / (select extract(epoch from '2026-07-22 07:37:39'::timestamp) - extract(epoch from '2026-07-22 07:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813304 -2.61594)'), GeomFromEWKT('SRID=4674;POINT (-39.81322 -2.61589)'))) / (select extract(epoch from '2026-07-22 07:37:39'::timestamp) - extract(epoch from '2026-07-22 07:37:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813184 -2.615837)', '2026-07-22 07:37:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81322 -2.61589)'), GeomFromEWKT('SRID=4674;POINT (-39.813184 -2.615837)'))) / (select extract(epoch from '2026-07-22 07:37:44'::timestamp) - extract(epoch from '2026-07-22 07:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81322 -2.61589)'), GeomFromEWKT('SRID=4674;POINT (-39.813184 -2.615837)'))) / (select extract(epoch from '2026-07-22 07:37:44'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47870, 'SRID=4674;POINT (-39.813147 -2.615781)', '2026-07-22 07:37:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813184 -2.615837)'), GeomFromEWKT('SRID=4674;POINT (-39.813147 -2.615781)'))) / (select extract(epoch from '2026-07-22 07:37:51'::timestamp) - extract(epoch from '2026-07-22 07:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813184 -2.615837)'), GeomFromEWKT('SRID=4674;POINT (-39.813147 -2.615781)'))) / (select extract(epoch from '2026-07-22 07:37:51'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47870, 'SRID=4674;POINT (-39.81313 -2.615748)', '2026-07-22 07:38:01', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813147 -2.615781)'), GeomFromEWKT('SRID=4674;POINT (-39.81313 -2.615748)'))) / (select extract(epoch from '2026-07-22 07:38:01'::timestamp) - extract(epoch from '2026-07-22 07:37:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813147 -2.615781)'), GeomFromEWKT('SRID=4674;POINT (-39.81313 -2.615748)'))) / (select extract(epoch from '2026-07-22 07:38:01'::timestamp) - extract(epoch from '2026-07-22 07:37: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'), 47870, 'SRID=4674;POINT (-39.813139 -2.61572)', '2026-07-22 07:38:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81313 -2.615748)'), GeomFromEWKT('SRID=4674;POINT (-39.813139 -2.61572)'))) / (select extract(epoch from '2026-07-22 07:38:06'::timestamp) - extract(epoch from '2026-07-22 07:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81313 -2.615748)'), GeomFromEWKT('SRID=4674;POINT (-39.813139 -2.61572)'))) / (select extract(epoch from '2026-07-22 07:38:06'::timestamp) - extract(epoch from '2026-07-22 07:38:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813145 -2.615718)', '2026-07-22 07:38:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813139 -2.61572)'), GeomFromEWKT('SRID=4674;POINT (-39.813145 -2.615718)'))) / (select extract(epoch from '2026-07-22 07:38:07'::timestamp) - extract(epoch from '2026-07-22 07:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813139 -2.61572)'), GeomFromEWKT('SRID=4674;POINT (-39.813145 -2.615718)'))) / (select extract(epoch from '2026-07-22 07:38:07'::timestamp) - extract(epoch from '2026-07-22 07:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813189 -2.615694)', '2026-07-22 07:38:14', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813145 -2.615718)'), GeomFromEWKT('SRID=4674;POINT (-39.813189 -2.615694)'))) / (select extract(epoch from '2026-07-22 07:38:14'::timestamp) - extract(epoch from '2026-07-22 07:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813145 -2.615718)'), GeomFromEWKT('SRID=4674;POINT (-39.813189 -2.615694)'))) / (select extract(epoch from '2026-07-22 07:38:14'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.813226 -2.615662)', '2026-07-22 07:38:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813189 -2.615694)'), GeomFromEWKT('SRID=4674;POINT (-39.813226 -2.615662)'))) / (select extract(epoch from '2026-07-22 07:38:21'::timestamp) - extract(epoch from '2026-07-22 07:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813189 -2.615694)'), GeomFromEWKT('SRID=4674;POINT (-39.813226 -2.615662)'))) / (select extract(epoch from '2026-07-22 07:38:21'::timestamp) - extract(epoch from '2026-07-22 07:38:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813238 -2.615635)', '2026-07-22 07:38:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813226 -2.615662)'), GeomFromEWKT('SRID=4674;POINT (-39.813238 -2.615635)'))) / (select extract(epoch from '2026-07-22 07:38:27'::timestamp) - extract(epoch from '2026-07-22 07:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813226 -2.615662)'), GeomFromEWKT('SRID=4674;POINT (-39.813238 -2.615635)'))) / (select extract(epoch from '2026-07-22 07:38:27'::timestamp) - extract(epoch from '2026-07-22 07:38: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'), 47870, 'SRID=4674;POINT (-39.813269 -2.615627)', '2026-07-22 07:38:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813238 -2.615635)'), GeomFromEWKT('SRID=4674;POINT (-39.813269 -2.615627)'))) / (select extract(epoch from '2026-07-22 07:38:35'::timestamp) - extract(epoch from '2026-07-22 07:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813238 -2.615635)'), GeomFromEWKT('SRID=4674;POINT (-39.813269 -2.615627)'))) / (select extract(epoch from '2026-07-22 07:38:35'::timestamp) - extract(epoch from '2026-07-22 07:38: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'), 47870, 'SRID=4674;POINT (-39.813378 -2.615581)', '2026-07-22 07:39:16', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813269 -2.615627)'), GeomFromEWKT('SRID=4674;POINT (-39.813378 -2.615581)'))) / (select extract(epoch from '2026-07-22 07:39:16'::timestamp) - extract(epoch from '2026-07-22 07:38:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813269 -2.615627)'), GeomFromEWKT('SRID=4674;POINT (-39.813378 -2.615581)'))) / (select extract(epoch from '2026-07-22 07:39:16'::timestamp) - extract(epoch from '2026-07-22 07:38: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'), 47870, 'SRID=4674;POINT (-39.813424 -2.615552)', '2026-07-22 07:39:28', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813378 -2.615581)'), GeomFromEWKT('SRID=4674;POINT (-39.813424 -2.615552)'))) / (select extract(epoch from '2026-07-22 07:39:28'::timestamp) - extract(epoch from '2026-07-22 07:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813378 -2.615581)'), GeomFromEWKT('SRID=4674;POINT (-39.813424 -2.615552)'))) / (select extract(epoch from '2026-07-22 07:39:28'::timestamp) - extract(epoch from '2026-07-22 07:39:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813432 -2.615532)', '2026-07-22 07:39:33', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813424 -2.615552)'), GeomFromEWKT('SRID=4674;POINT (-39.813432 -2.615532)'))) / (select extract(epoch from '2026-07-22 07:39:33'::timestamp) - extract(epoch from '2026-07-22 07:39:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813424 -2.615552)'), GeomFromEWKT('SRID=4674;POINT (-39.813432 -2.615532)'))) / (select extract(epoch from '2026-07-22 07:39:33'::timestamp) - extract(epoch from '2026-07-22 07:39:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813435 -2.615522)', '2026-07-22 07:39:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813432 -2.615532)'), GeomFromEWKT('SRID=4674;POINT (-39.813435 -2.615522)'))) / (select extract(epoch from '2026-07-22 07:39:36'::timestamp) - extract(epoch from '2026-07-22 07:39:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813432 -2.615532)'), GeomFromEWKT('SRID=4674;POINT (-39.813435 -2.615522)'))) / (select extract(epoch from '2026-07-22 07:39:36'::timestamp) - extract(epoch from '2026-07-22 07:39:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813474 -2.615509)', '2026-07-22 07:39:43', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813435 -2.615522)'), GeomFromEWKT('SRID=4674;POINT (-39.813474 -2.615509)'))) / (select extract(epoch from '2026-07-22 07:39:43'::timestamp) - extract(epoch from '2026-07-22 07:39:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813435 -2.615522)'), GeomFromEWKT('SRID=4674;POINT (-39.813474 -2.615509)'))) / (select extract(epoch from '2026-07-22 07:39:43'::timestamp) - extract(epoch from '2026-07-22 07:39: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'), 47870, 'SRID=4674;POINT (-39.813521 -2.615488)', '2026-07-22 07:39:51', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813474 -2.615509)'), GeomFromEWKT('SRID=4674;POINT (-39.813521 -2.615488)'))) / (select extract(epoch from '2026-07-22 07:39:51'::timestamp) - extract(epoch from '2026-07-22 07:39:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813474 -2.615509)'), GeomFromEWKT('SRID=4674;POINT (-39.813521 -2.615488)'))) / (select extract(epoch from '2026-07-22 07:39:51'::timestamp) - extract(epoch from '2026-07-22 07:39:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813546 -2.615454)', '2026-07-22 07:40:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813521 -2.615488)'), GeomFromEWKT('SRID=4674;POINT (-39.813546 -2.615454)'))) / (select extract(epoch from '2026-07-22 07:40:01'::timestamp) - extract(epoch from '2026-07-22 07:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813521 -2.615488)'), GeomFromEWKT('SRID=4674;POINT (-39.813546 -2.615454)'))) / (select extract(epoch from '2026-07-22 07:40:01'::timestamp) - extract(epoch from '2026-07-22 07:39:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81357 -2.615419)', '2026-07-22 07:40:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813546 -2.615454)'), GeomFromEWKT('SRID=4674;POINT (-39.81357 -2.615419)'))) / (select extract(epoch from '2026-07-22 07:40:09'::timestamp) - extract(epoch from '2026-07-22 07:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813546 -2.615454)'), GeomFromEWKT('SRID=4674;POINT (-39.81357 -2.615419)'))) / (select extract(epoch from '2026-07-22 07:40:09'::timestamp) - extract(epoch from '2026-07-22 07:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813587 -2.615388)', '2026-07-22 07:40:17', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81357 -2.615419)'), GeomFromEWKT('SRID=4674;POINT (-39.813587 -2.615388)'))) / (select extract(epoch from '2026-07-22 07:40:17'::timestamp) - extract(epoch from '2026-07-22 07:40:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81357 -2.615419)'), GeomFromEWKT('SRID=4674;POINT (-39.813587 -2.615388)'))) / (select extract(epoch from '2026-07-22 07:40:17'::timestamp) - extract(epoch from '2026-07-22 07:40: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'), 47870, 'SRID=4674;POINT (-39.813541 -2.615357)', '2026-07-22 07:40:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813587 -2.615388)'), GeomFromEWKT('SRID=4674;POINT (-39.813541 -2.615357)'))) / (select extract(epoch from '2026-07-22 07:40:25'::timestamp) - extract(epoch from '2026-07-22 07:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813587 -2.615388)'), GeomFromEWKT('SRID=4674;POINT (-39.813541 -2.615357)'))) / (select extract(epoch from '2026-07-22 07:40:25'::timestamp) - extract(epoch from '2026-07-22 07:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813524 -2.615353)', '2026-07-22 07:40:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813541 -2.615357)'), GeomFromEWKT('SRID=4674;POINT (-39.813524 -2.615353)'))) / (select extract(epoch from '2026-07-22 07:40:27'::timestamp) - extract(epoch from '2026-07-22 07:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813541 -2.615357)'), GeomFromEWKT('SRID=4674;POINT (-39.813524 -2.615353)'))) / (select extract(epoch from '2026-07-22 07:40:27'::timestamp) - extract(epoch from '2026-07-22 07:40: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'), 47870, 'SRID=4674;POINT (-39.813493 -2.615357)', '2026-07-22 07:40:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813524 -2.615353)'), GeomFromEWKT('SRID=4674;POINT (-39.813493 -2.615357)'))) / (select extract(epoch from '2026-07-22 07:40:31'::timestamp) - extract(epoch from '2026-07-22 07:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813524 -2.615353)'), GeomFromEWKT('SRID=4674;POINT (-39.813493 -2.615357)'))) / (select extract(epoch from '2026-07-22 07:40:31'::timestamp) - extract(epoch from '2026-07-22 07:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.8134 -2.615318)', '2026-07-22 07:40:38', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813493 -2.615357)'), GeomFromEWKT('SRID=4674;POINT (-39.8134 -2.615318)'))) / (select extract(epoch from '2026-07-22 07:40:38'::timestamp) - extract(epoch from '2026-07-22 07:40:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813493 -2.615357)'), GeomFromEWKT('SRID=4674;POINT (-39.8134 -2.615318)'))) / (select extract(epoch from '2026-07-22 07:40:38'::timestamp) - extract(epoch from '2026-07-22 07:40: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'), 47870, 'SRID=4674;POINT (-39.813386 -2.615314)', '2026-07-22 07:40:39', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8134 -2.615318)'), GeomFromEWKT('SRID=4674;POINT (-39.813386 -2.615314)'))) / (select extract(epoch from '2026-07-22 07:40:39'::timestamp) - extract(epoch from '2026-07-22 07:40:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8134 -2.615318)'), GeomFromEWKT('SRID=4674;POINT (-39.813386 -2.615314)'))) / (select extract(epoch from '2026-07-22 07:40:39'::timestamp) - extract(epoch from '2026-07-22 07:40:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813343 -2.615288)', '2026-07-22 07:40:42', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813386 -2.615314)'), GeomFromEWKT('SRID=4674;POINT (-39.813343 -2.615288)'))) / (select extract(epoch from '2026-07-22 07:40:42'::timestamp) - extract(epoch from '2026-07-22 07:40:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813386 -2.615314)'), GeomFromEWKT('SRID=4674;POINT (-39.813343 -2.615288)'))) / (select extract(epoch from '2026-07-22 07:40:42'::timestamp) - extract(epoch from '2026-07-22 07:40: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'), 47870, 'SRID=4674;POINT (-39.813326 -2.615283)', '2026-07-22 07:40:43', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813343 -2.615288)'), GeomFromEWKT('SRID=4674;POINT (-39.813326 -2.615283)'))) / (select extract(epoch from '2026-07-22 07:40:43'::timestamp) - extract(epoch from '2026-07-22 07:40:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813343 -2.615288)'), GeomFromEWKT('SRID=4674;POINT (-39.813326 -2.615283)'))) / (select extract(epoch from '2026-07-22 07:40:43'::timestamp) - extract(epoch from '2026-07-22 07:40:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813251 -2.615227)', '2026-07-22 07:40:49', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813326 -2.615283)'), GeomFromEWKT('SRID=4674;POINT (-39.813251 -2.615227)'))) / (select extract(epoch from '2026-07-22 07:40:49'::timestamp) - extract(epoch from '2026-07-22 07:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813326 -2.615283)'), GeomFromEWKT('SRID=4674;POINT (-39.813251 -2.615227)'))) / (select extract(epoch from '2026-07-22 07:40:49'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.813176 -2.615183)', '2026-07-22 07:40:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813251 -2.615227)'), GeomFromEWKT('SRID=4674;POINT (-39.813176 -2.615183)'))) / (select extract(epoch from '2026-07-22 07:40:55'::timestamp) - extract(epoch from '2026-07-22 07:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813251 -2.615227)'), GeomFromEWKT('SRID=4674;POINT (-39.813176 -2.615183)'))) / (select extract(epoch from '2026-07-22 07:40:55'::timestamp) - extract(epoch from '2026-07-22 07:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.813085 -2.615143)', '2026-07-22 07:41:01', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813176 -2.615183)'), GeomFromEWKT('SRID=4674;POINT (-39.813085 -2.615143)'))) / (select extract(epoch from '2026-07-22 07:41:01'::timestamp) - extract(epoch from '2026-07-22 07:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813176 -2.615183)'), GeomFromEWKT('SRID=4674;POINT (-39.813085 -2.615143)'))) / (select extract(epoch from '2026-07-22 07:41:01'::timestamp) - extract(epoch from '2026-07-22 07:40: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'), 47870, 'SRID=4674;POINT (-39.813008 -2.615101)', '2026-07-22 07:41:07', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813085 -2.615143)'), GeomFromEWKT('SRID=4674;POINT (-39.813008 -2.615101)'))) / (select extract(epoch from '2026-07-22 07:41:07'::timestamp) - extract(epoch from '2026-07-22 07:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813085 -2.615143)'), GeomFromEWKT('SRID=4674;POINT (-39.813008 -2.615101)'))) / (select extract(epoch from '2026-07-22 07:41:07'::timestamp) - extract(epoch from '2026-07-22 07:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812892 -2.61506)', '2026-07-22 07:41:14', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813008 -2.615101)'), GeomFromEWKT('SRID=4674;POINT (-39.812892 -2.61506)'))) / (select extract(epoch from '2026-07-22 07:41:14'::timestamp) - extract(epoch from '2026-07-22 07:41:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.813008 -2.615101)'), GeomFromEWKT('SRID=4674;POINT (-39.812892 -2.61506)'))) / (select extract(epoch from '2026-07-22 07:41:14'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.812809 -2.615026)', '2026-07-22 07:41:19', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812892 -2.61506)'), GeomFromEWKT('SRID=4674;POINT (-39.812809 -2.615026)'))) / (select extract(epoch from '2026-07-22 07:41:19'::timestamp) - extract(epoch from '2026-07-22 07:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812892 -2.61506)'), GeomFromEWKT('SRID=4674;POINT (-39.812809 -2.615026)'))) / (select extract(epoch from '2026-07-22 07:41:19'::timestamp) - extract(epoch from '2026-07-22 07:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812718 -2.61498)', '2026-07-22 07:41:25', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812809 -2.615026)'), GeomFromEWKT('SRID=4674;POINT (-39.812718 -2.61498)'))) / (select extract(epoch from '2026-07-22 07:41:25'::timestamp) - extract(epoch from '2026-07-22 07:41:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812809 -2.615026)'), GeomFromEWKT('SRID=4674;POINT (-39.812718 -2.61498)'))) / (select extract(epoch from '2026-07-22 07:41:25'::timestamp) - extract(epoch from '2026-07-22 07:41:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812633 -2.614944)', '2026-07-22 07:41:31', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812718 -2.61498)'), GeomFromEWKT('SRID=4674;POINT (-39.812633 -2.614944)'))) / (select extract(epoch from '2026-07-22 07:41:31'::timestamp) - extract(epoch from '2026-07-22 07:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812718 -2.61498)'), GeomFromEWKT('SRID=4674;POINT (-39.812633 -2.614944)'))) / (select extract(epoch from '2026-07-22 07:41:31'::timestamp) - extract(epoch from '2026-07-22 07:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81255 -2.61495)', '2026-07-22 07:41:37', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812633 -2.614944)'), GeomFromEWKT('SRID=4674;POINT (-39.81255 -2.61495)'))) / (select extract(epoch from '2026-07-22 07:41:37'::timestamp) - extract(epoch from '2026-07-22 07:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812633 -2.614944)'), GeomFromEWKT('SRID=4674;POINT (-39.81255 -2.61495)'))) / (select extract(epoch from '2026-07-22 07:41:37'::timestamp) - extract(epoch from '2026-07-22 07:41:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81249 -2.614982)', '2026-07-22 07:41:42', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81255 -2.61495)'), GeomFromEWKT('SRID=4674;POINT (-39.81249 -2.614982)'))) / (select extract(epoch from '2026-07-22 07:41:42'::timestamp) - extract(epoch from '2026-07-22 07:41:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81255 -2.61495)'), GeomFromEWKT('SRID=4674;POINT (-39.81249 -2.614982)'))) / (select extract(epoch from '2026-07-22 07:41:42'::timestamp) - extract(epoch from '2026-07-22 07:41:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812425 -2.615008)', '2026-07-22 07:41:48', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81249 -2.614982)'), GeomFromEWKT('SRID=4674;POINT (-39.812425 -2.615008)'))) / (select extract(epoch from '2026-07-22 07:41:48'::timestamp) - extract(epoch from '2026-07-22 07:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81249 -2.614982)'), GeomFromEWKT('SRID=4674;POINT (-39.812425 -2.615008)'))) / (select extract(epoch from '2026-07-22 07:41:48'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.812356 -2.615031)', '2026-07-22 07:41:55', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812425 -2.615008)'), GeomFromEWKT('SRID=4674;POINT (-39.812356 -2.615031)'))) / (select extract(epoch from '2026-07-22 07:41:55'::timestamp) - extract(epoch from '2026-07-22 07:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812425 -2.615008)'), GeomFromEWKT('SRID=4674;POINT (-39.812356 -2.615031)'))) / (select extract(epoch from '2026-07-22 07:41:55'::timestamp) - extract(epoch from '2026-07-22 07:41:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812323 -2.615032)', '2026-07-22 07:42:00', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812356 -2.615031)'), GeomFromEWKT('SRID=4674;POINT (-39.812323 -2.615032)'))) / (select extract(epoch from '2026-07-22 07:42:00'::timestamp) - extract(epoch from '2026-07-22 07:41:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812356 -2.615031)'), GeomFromEWKT('SRID=4674;POINT (-39.812323 -2.615032)'))) / (select extract(epoch from '2026-07-22 07:42:00'::timestamp) - extract(epoch from '2026-07-22 07:41:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812262 -2.615003)', '2026-07-22 07:42:07', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812323 -2.615032)'), GeomFromEWKT('SRID=4674;POINT (-39.812262 -2.615003)'))) / (select extract(epoch from '2026-07-22 07:42:07'::timestamp) - extract(epoch from '2026-07-22 07:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812323 -2.615032)'), GeomFromEWKT('SRID=4674;POINT (-39.812262 -2.615003)'))) / (select extract(epoch from '2026-07-22 07:42:07'::timestamp) - extract(epoch from '2026-07-22 07:42: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'), 47870, 'SRID=4674;POINT (-39.81223 -2.614966)', '2026-07-22 07:42:18', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812262 -2.615003)'), GeomFromEWKT('SRID=4674;POINT (-39.81223 -2.614966)'))) / (select extract(epoch from '2026-07-22 07:42:18'::timestamp) - extract(epoch from '2026-07-22 07:42:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812262 -2.615003)'), GeomFromEWKT('SRID=4674;POINT (-39.81223 -2.614966)'))) / (select extract(epoch from '2026-07-22 07:42:18'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.812273 -2.614943)', '2026-07-22 07:42:34', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81223 -2.614966)'), GeomFromEWKT('SRID=4674;POINT (-39.812273 -2.614943)'))) / (select extract(epoch from '2026-07-22 07:42:34'::timestamp) - extract(epoch from '2026-07-22 07:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81223 -2.614966)'), GeomFromEWKT('SRID=4674;POINT (-39.812273 -2.614943)'))) / (select extract(epoch from '2026-07-22 07:42:34'::timestamp) - extract(epoch from '2026-07-22 07:42: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'), 47870, 'SRID=4674;POINT (-39.812314 -2.614934)', '2026-07-22 07:42:40', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812273 -2.614943)'), GeomFromEWKT('SRID=4674;POINT (-39.812314 -2.614934)'))) / (select extract(epoch from '2026-07-22 07:42:40'::timestamp) - extract(epoch from '2026-07-22 07:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812273 -2.614943)'), GeomFromEWKT('SRID=4674;POINT (-39.812314 -2.614934)'))) / (select extract(epoch from '2026-07-22 07:42:40'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.812339 -2.614934)', '2026-07-22 07:42:46', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812314 -2.614934)'), GeomFromEWKT('SRID=4674;POINT (-39.812339 -2.614934)'))) / (select extract(epoch from '2026-07-22 07:42:46'::timestamp) - extract(epoch from '2026-07-22 07:42:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812314 -2.614934)'), GeomFromEWKT('SRID=4674;POINT (-39.812339 -2.614934)'))) / (select extract(epoch from '2026-07-22 07:42:46'::timestamp) - extract(epoch from '2026-07-22 07:42: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'), 47870, 'SRID=4674;POINT (-39.812379 -2.614926)', '2026-07-22 07:42:54', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812339 -2.614934)'), GeomFromEWKT('SRID=4674;POINT (-39.812379 -2.614926)'))) / (select extract(epoch from '2026-07-22 07:42:54'::timestamp) - extract(epoch from '2026-07-22 07:42:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812339 -2.614934)'), GeomFromEWKT('SRID=4674;POINT (-39.812379 -2.614926)'))) / (select extract(epoch from '2026-07-22 07:42:54'::timestamp) - extract(epoch from '2026-07-22 07:42: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'), 47870, 'SRID=4674;POINT (-39.812427 -2.614911)', '2026-07-22 07:43:03', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812379 -2.614926)'), GeomFromEWKT('SRID=4674;POINT (-39.812427 -2.614911)'))) / (select extract(epoch from '2026-07-22 07:43:03'::timestamp) - extract(epoch from '2026-07-22 07:42:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812379 -2.614926)'), GeomFromEWKT('SRID=4674;POINT (-39.812427 -2.614911)'))) / (select extract(epoch from '2026-07-22 07:43:03'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.812473 -2.614898)', '2026-07-22 07:43:10', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812427 -2.614911)'), GeomFromEWKT('SRID=4674;POINT (-39.812473 -2.614898)'))) / (select extract(epoch from '2026-07-22 07:43:10'::timestamp) - extract(epoch from '2026-07-22 07:43:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812427 -2.614911)'), GeomFromEWKT('SRID=4674;POINT (-39.812473 -2.614898)'))) / (select extract(epoch from '2026-07-22 07:43:10'::timestamp) - extract(epoch from '2026-07-22 07:43:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812489 -2.61488)', '2026-07-22 07:43:18', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812473 -2.614898)'), GeomFromEWKT('SRID=4674;POINT (-39.812489 -2.61488)'))) / (select extract(epoch from '2026-07-22 07:43:18'::timestamp) - extract(epoch from '2026-07-22 07:43:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812473 -2.614898)'), GeomFromEWKT('SRID=4674;POINT (-39.812489 -2.61488)'))) / (select extract(epoch from '2026-07-22 07:43:18'::timestamp) - extract(epoch from '2026-07-22 07:43:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812518 -2.614839)', '2026-07-22 07:43:30', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812489 -2.61488)'), GeomFromEWKT('SRID=4674;POINT (-39.812518 -2.614839)'))) / (select extract(epoch from '2026-07-22 07:43:30'::timestamp) - extract(epoch from '2026-07-22 07:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812489 -2.61488)'), GeomFromEWKT('SRID=4674;POINT (-39.812518 -2.614839)'))) / (select extract(epoch from '2026-07-22 07:43:30'::timestamp) - extract(epoch from '2026-07-22 07:43:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812551 -2.614796)', '2026-07-22 07:43:43', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812518 -2.614839)'), GeomFromEWKT('SRID=4674;POINT (-39.812551 -2.614796)'))) / (select extract(epoch from '2026-07-22 07:43:43'::timestamp) - extract(epoch from '2026-07-22 07:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812518 -2.614839)'), GeomFromEWKT('SRID=4674;POINT (-39.812551 -2.614796)'))) / (select extract(epoch from '2026-07-22 07:43:43'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.812592 -2.61475)', '2026-07-22 07:43:56', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812551 -2.614796)'), GeomFromEWKT('SRID=4674;POINT (-39.812592 -2.61475)'))) / (select extract(epoch from '2026-07-22 07:43:56'::timestamp) - extract(epoch from '2026-07-22 07:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812551 -2.614796)'), GeomFromEWKT('SRID=4674;POINT (-39.812592 -2.61475)'))) / (select extract(epoch from '2026-07-22 07:43:56'::timestamp) - extract(epoch from '2026-07-22 07:43: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'), 47870, 'SRID=4674;POINT (-39.8126 -2.614726)', '2026-07-22 07:44:02', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812592 -2.61475)'), GeomFromEWKT('SRID=4674;POINT (-39.8126 -2.614726)'))) / (select extract(epoch from '2026-07-22 07:44:02'::timestamp) - extract(epoch from '2026-07-22 07:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812592 -2.61475)'), GeomFromEWKT('SRID=4674;POINT (-39.8126 -2.614726)'))) / (select extract(epoch from '2026-07-22 07:44:02'::timestamp) - extract(epoch from '2026-07-22 07:43: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'), 47870, 'SRID=4674;POINT (-39.812634 -2.614678)', '2026-07-22 07:44:11', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8126 -2.614726)'), GeomFromEWKT('SRID=4674;POINT (-39.812634 -2.614678)'))) / (select extract(epoch from '2026-07-22 07:44:11'::timestamp) - extract(epoch from '2026-07-22 07:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8126 -2.614726)'), GeomFromEWKT('SRID=4674;POINT (-39.812634 -2.614678)'))) / (select extract(epoch from '2026-07-22 07:44:11'::timestamp) - extract(epoch from '2026-07-22 07:44: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'), 47870, 'SRID=4674;POINT (-39.812605 -2.614644)', '2026-07-22 07:44:20', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812634 -2.614678)'), GeomFromEWKT('SRID=4674;POINT (-39.812605 -2.614644)'))) / (select extract(epoch from '2026-07-22 07:44:20'::timestamp) - extract(epoch from '2026-07-22 07:44:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812634 -2.614678)'), GeomFromEWKT('SRID=4674;POINT (-39.812605 -2.614644)'))) / (select extract(epoch from '2026-07-22 07:44:20'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.812519 -2.614615)', '2026-07-22 07:44:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812605 -2.614644)'), GeomFromEWKT('SRID=4674;POINT (-39.812519 -2.614615)'))) / (select extract(epoch from '2026-07-22 07:44:27'::timestamp) - extract(epoch from '2026-07-22 07:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812605 -2.614644)'), GeomFromEWKT('SRID=4674;POINT (-39.812519 -2.614615)'))) / (select extract(epoch from '2026-07-22 07:44:27'::timestamp) - extract(epoch from '2026-07-22 07:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812428 -2.614587)', '2026-07-22 07:44:33', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812519 -2.614615)'), GeomFromEWKT('SRID=4674;POINT (-39.812428 -2.614587)'))) / (select extract(epoch from '2026-07-22 07:44:33'::timestamp) - extract(epoch from '2026-07-22 07:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812519 -2.614615)'), GeomFromEWKT('SRID=4674;POINT (-39.812428 -2.614587)'))) / (select extract(epoch from '2026-07-22 07:44:33'::timestamp) - extract(epoch from '2026-07-22 07:44:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812338 -2.614552)', '2026-07-22 07:44:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812428 -2.614587)'), GeomFromEWKT('SRID=4674;POINT (-39.812338 -2.614552)'))) / (select extract(epoch from '2026-07-22 07:44:38'::timestamp) - extract(epoch from '2026-07-22 07:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812428 -2.614587)'), GeomFromEWKT('SRID=4674;POINT (-39.812338 -2.614552)'))) / (select extract(epoch from '2026-07-22 07:44:38'::timestamp) - extract(epoch from '2026-07-22 07:44:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812226 -2.614538)', '2026-07-22 07:44:45', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812338 -2.614552)'), GeomFromEWKT('SRID=4674;POINT (-39.812226 -2.614538)'))) / (select extract(epoch from '2026-07-22 07:44:45'::timestamp) - extract(epoch from '2026-07-22 07:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812338 -2.614552)'), GeomFromEWKT('SRID=4674;POINT (-39.812226 -2.614538)'))) / (select extract(epoch from '2026-07-22 07:44:45'::timestamp) - extract(epoch from '2026-07-22 07:44:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.812108 -2.614548)', '2026-07-22 07:44:52', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812226 -2.614538)'), GeomFromEWKT('SRID=4674;POINT (-39.812108 -2.614548)'))) / (select extract(epoch from '2026-07-22 07:44:52'::timestamp) - extract(epoch from '2026-07-22 07:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812226 -2.614538)'), GeomFromEWKT('SRID=4674;POINT (-39.812108 -2.614548)'))) / (select extract(epoch from '2026-07-22 07:44:52'::timestamp) - extract(epoch from '2026-07-22 07:44: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'), 47870, 'SRID=4674;POINT (-39.812017 -2.614567)', '2026-07-22 07:44:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812108 -2.614548)'), GeomFromEWKT('SRID=4674;POINT (-39.812017 -2.614567)'))) / (select extract(epoch from '2026-07-22 07:44:58'::timestamp) - extract(epoch from '2026-07-22 07:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812108 -2.614548)'), GeomFromEWKT('SRID=4674;POINT (-39.812017 -2.614567)'))) / (select extract(epoch from '2026-07-22 07:44:58'::timestamp) - extract(epoch from '2026-07-22 07:44: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'), 47870, 'SRID=4674;POINT (-39.811896 -2.61459)', '2026-07-22 07:45:05', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812017 -2.614567)'), GeomFromEWKT('SRID=4674;POINT (-39.811896 -2.61459)'))) / (select extract(epoch from '2026-07-22 07:45:05'::timestamp) - extract(epoch from '2026-07-22 07:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.812017 -2.614567)'), GeomFromEWKT('SRID=4674;POINT (-39.811896 -2.61459)'))) / (select extract(epoch from '2026-07-22 07:45:05'::timestamp) - extract(epoch from '2026-07-22 07:44: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'), 47870, 'SRID=4674;POINT (-39.811763 -2.614616)', '2026-07-22 07:45:12', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811896 -2.61459)'), GeomFromEWKT('SRID=4674;POINT (-39.811763 -2.614616)'))) / (select extract(epoch from '2026-07-22 07:45:12'::timestamp) - extract(epoch from '2026-07-22 07:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811896 -2.61459)'), GeomFromEWKT('SRID=4674;POINT (-39.811763 -2.614616)'))) / (select extract(epoch from '2026-07-22 07:45:12'::timestamp) - extract(epoch from '2026-07-22 07:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.811683 -2.614633)', '2026-07-22 07:45:17', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811763 -2.614616)'), GeomFromEWKT('SRID=4674;POINT (-39.811683 -2.614633)'))) / (select extract(epoch from '2026-07-22 07:45:17'::timestamp) - extract(epoch from '2026-07-22 07:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811763 -2.614616)'), GeomFromEWKT('SRID=4674;POINT (-39.811683 -2.614633)'))) / (select extract(epoch from '2026-07-22 07:45:17'::timestamp) - extract(epoch from '2026-07-22 07:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.811573 -2.614662)', '2026-07-22 07:45:24', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811683 -2.614633)'), GeomFromEWKT('SRID=4674;POINT (-39.811573 -2.614662)'))) / (select extract(epoch from '2026-07-22 07:45:24'::timestamp) - extract(epoch from '2026-07-22 07:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811683 -2.614633)'), GeomFromEWKT('SRID=4674;POINT (-39.811573 -2.614662)'))) / (select extract(epoch from '2026-07-22 07:45:24'::timestamp) - extract(epoch from '2026-07-22 07:45: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'), 47870, 'SRID=4674;POINT (-39.811472 -2.614694)', '2026-07-22 07:45:30', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811573 -2.614662)'), GeomFromEWKT('SRID=4674;POINT (-39.811472 -2.614694)'))) / (select extract(epoch from '2026-07-22 07:45:30'::timestamp) - extract(epoch from '2026-07-22 07:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811573 -2.614662)'), GeomFromEWKT('SRID=4674;POINT (-39.811472 -2.614694)'))) / (select extract(epoch from '2026-07-22 07:45:30'::timestamp) - extract(epoch from '2026-07-22 07:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.811388 -2.61473)', '2026-07-22 07:45:35', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811472 -2.614694)'), GeomFromEWKT('SRID=4674;POINT (-39.811388 -2.61473)'))) / (select extract(epoch from '2026-07-22 07:45:35'::timestamp) - extract(epoch from '2026-07-22 07:45:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811472 -2.614694)'), GeomFromEWKT('SRID=4674;POINT (-39.811388 -2.61473)'))) / (select extract(epoch from '2026-07-22 07:45:35'::timestamp) - extract(epoch from '2026-07-22 07:45:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.811306 -2.614733)', '2026-07-22 07:45:41', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811388 -2.61473)'), GeomFromEWKT('SRID=4674;POINT (-39.811306 -2.614733)'))) / (select extract(epoch from '2026-07-22 07:45:41'::timestamp) - extract(epoch from '2026-07-22 07:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811388 -2.61473)'), GeomFromEWKT('SRID=4674;POINT (-39.811306 -2.614733)'))) / (select extract(epoch from '2026-07-22 07:45:41'::timestamp) - extract(epoch from '2026-07-22 07:45:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.811256 -2.614724)', '2026-07-22 07:45:47', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811306 -2.614733)'), GeomFromEWKT('SRID=4674;POINT (-39.811256 -2.614724)'))) / (select extract(epoch from '2026-07-22 07:45:47'::timestamp) - extract(epoch from '2026-07-22 07:45:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811306 -2.614733)'), GeomFromEWKT('SRID=4674;POINT (-39.811256 -2.614724)'))) / (select extract(epoch from '2026-07-22 07:45:47'::timestamp) - extract(epoch from '2026-07-22 07:45: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'), 47870, 'SRID=4674;POINT (-39.811226 -2.614693)', '2026-07-22 07:45:54', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811256 -2.614724)'), GeomFromEWKT('SRID=4674;POINT (-39.811226 -2.614693)'))) / (select extract(epoch from '2026-07-22 07:45:54'::timestamp) - extract(epoch from '2026-07-22 07:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811256 -2.614724)'), GeomFromEWKT('SRID=4674;POINT (-39.811226 -2.614693)'))) / (select extract(epoch from '2026-07-22 07:45:54'::timestamp) - extract(epoch from '2026-07-22 07:45: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'), 47870, 'SRID=4674;POINT (-39.811219 -2.614662)', '2026-07-22 07:46:03', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811226 -2.614693)'), GeomFromEWKT('SRID=4674;POINT (-39.811219 -2.614662)'))) / (select extract(epoch from '2026-07-22 07:46:03'::timestamp) - extract(epoch from '2026-07-22 07:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811226 -2.614693)'), GeomFromEWKT('SRID=4674;POINT (-39.811219 -2.614662)'))) / (select extract(epoch from '2026-07-22 07:46:03'::timestamp) - extract(epoch from '2026-07-22 07:45: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'), 47870, 'SRID=4674;POINT (-39.811236 -2.614636)', '2026-07-22 07:46:12', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811219 -2.614662)'), GeomFromEWKT('SRID=4674;POINT (-39.811236 -2.614636)'))) / (select extract(epoch from '2026-07-22 07:46:12'::timestamp) - extract(epoch from '2026-07-22 07:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811219 -2.614662)'), GeomFromEWKT('SRID=4674;POINT (-39.811236 -2.614636)'))) / (select extract(epoch from '2026-07-22 07:46:12'::timestamp) - extract(epoch from '2026-07-22 07:46: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'), 47870, 'SRID=4674;POINT (-39.811263 -2.614613)', '2026-07-22 07:46:19', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811236 -2.614636)'), GeomFromEWKT('SRID=4674;POINT (-39.811263 -2.614613)'))) / (select extract(epoch from '2026-07-22 07:46:19'::timestamp) - extract(epoch from '2026-07-22 07:46:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811236 -2.614636)'), GeomFromEWKT('SRID=4674;POINT (-39.811263 -2.614613)'))) / (select extract(epoch from '2026-07-22 07:46:19'::timestamp) - extract(epoch from '2026-07-22 07:46:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.811313 -2.614586)', '2026-07-22 07:46:28', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811263 -2.614613)'), GeomFromEWKT('SRID=4674;POINT (-39.811313 -2.614586)'))) / (select extract(epoch from '2026-07-22 07:46:28'::timestamp) - extract(epoch from '2026-07-22 07:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811263 -2.614613)'), GeomFromEWKT('SRID=4674;POINT (-39.811313 -2.614586)'))) / (select extract(epoch from '2026-07-22 07:46:28'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.811356 -2.614575)', '2026-07-22 07:46:33', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811313 -2.614586)'), GeomFromEWKT('SRID=4674;POINT (-39.811356 -2.614575)'))) / (select extract(epoch from '2026-07-22 07:46:33'::timestamp) - extract(epoch from '2026-07-22 07:46:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811313 -2.614586)'), GeomFromEWKT('SRID=4674;POINT (-39.811356 -2.614575)'))) / (select extract(epoch from '2026-07-22 07:46:33'::timestamp) - extract(epoch from '2026-07-22 07:46:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.811391 -2.614542)', '2026-07-22 07:46:42', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811356 -2.614575)'), GeomFromEWKT('SRID=4674;POINT (-39.811391 -2.614542)'))) / (select extract(epoch from '2026-07-22 07:46:42'::timestamp) - extract(epoch from '2026-07-22 07:46:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811356 -2.614575)'), GeomFromEWKT('SRID=4674;POINT (-39.811391 -2.614542)'))) / (select extract(epoch from '2026-07-22 07:46:42'::timestamp) - extract(epoch from '2026-07-22 07:46: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'), 47870, 'SRID=4674;POINT (-39.811419 -2.614517)', '2026-07-22 07:46:53', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811391 -2.614542)'), GeomFromEWKT('SRID=4674;POINT (-39.811419 -2.614517)'))) / (select extract(epoch from '2026-07-22 07:46:53'::timestamp) - extract(epoch from '2026-07-22 07:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811391 -2.614542)'), GeomFromEWKT('SRID=4674;POINT (-39.811419 -2.614517)'))) / (select extract(epoch from '2026-07-22 07:46:53'::timestamp) - extract(epoch from '2026-07-22 07:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.811445 -2.614512)', '2026-07-22 07:46:58', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811419 -2.614517)'), GeomFromEWKT('SRID=4674;POINT (-39.811445 -2.614512)'))) / (select extract(epoch from '2026-07-22 07:46:58'::timestamp) - extract(epoch from '2026-07-22 07:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811419 -2.614517)'), GeomFromEWKT('SRID=4674;POINT (-39.811445 -2.614512)'))) / (select extract(epoch from '2026-07-22 07:46:58'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.811474 -2.614496)', '2026-07-22 07:47:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811445 -2.614512)'), GeomFromEWKT('SRID=4674;POINT (-39.811474 -2.614496)'))) / (select extract(epoch from '2026-07-22 07:47:08'::timestamp) - extract(epoch from '2026-07-22 07:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811445 -2.614512)'), GeomFromEWKT('SRID=4674;POINT (-39.811474 -2.614496)'))) / (select extract(epoch from '2026-07-22 07:47:08'::timestamp) - extract(epoch from '2026-07-22 07:46:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.811477 -2.614494)', '2026-07-22 07:47:20', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811474 -2.614496)'), GeomFromEWKT('SRID=4674;POINT (-39.811477 -2.614494)'))) / (select extract(epoch from '2026-07-22 07:47:20'::timestamp) - extract(epoch from '2026-07-22 07:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811474 -2.614496)'), GeomFromEWKT('SRID=4674;POINT (-39.811477 -2.614494)'))) / (select extract(epoch from '2026-07-22 07:47:20'::timestamp) - extract(epoch from '2026-07-22 07:47:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.811529 -2.614479)', '2026-07-22 07:47:28', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811477 -2.614494)'), GeomFromEWKT('SRID=4674;POINT (-39.811529 -2.614479)'))) / (select extract(epoch from '2026-07-22 07:47:28'::timestamp) - extract(epoch from '2026-07-22 07:47:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811477 -2.614494)'), GeomFromEWKT('SRID=4674;POINT (-39.811529 -2.614479)'))) / (select extract(epoch from '2026-07-22 07:47:28'::timestamp) - extract(epoch from '2026-07-22 07:47: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'), 47870, 'SRID=4674;POINT (-39.811541 -2.614459)', '2026-07-22 07:47:34', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811529 -2.614479)'), GeomFromEWKT('SRID=4674;POINT (-39.811541 -2.614459)'))) / (select extract(epoch from '2026-07-22 07:47:34'::timestamp) - extract(epoch from '2026-07-22 07:47:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811529 -2.614479)'), GeomFromEWKT('SRID=4674;POINT (-39.811541 -2.614459)'))) / (select extract(epoch from '2026-07-22 07:47:34'::timestamp) - extract(epoch from '2026-07-22 07:47: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'), 47870, 'SRID=4674;POINT (-39.811557 -2.614434)', '2026-07-22 07:47:43', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811541 -2.614459)'), GeomFromEWKT('SRID=4674;POINT (-39.811557 -2.614434)'))) / (select extract(epoch from '2026-07-22 07:47:43'::timestamp) - extract(epoch from '2026-07-22 07:47:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811541 -2.614459)'), GeomFromEWKT('SRID=4674;POINT (-39.811557 -2.614434)'))) / (select extract(epoch from '2026-07-22 07:47:43'::timestamp) - extract(epoch from '2026-07-22 07:47: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'), 47870, 'SRID=4674;POINT (-39.811513 -2.614401)', '2026-07-22 07:47:57', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811557 -2.614434)'), GeomFromEWKT('SRID=4674;POINT (-39.811513 -2.614401)'))) / (select extract(epoch from '2026-07-22 07:47:57'::timestamp) - extract(epoch from '2026-07-22 07:47:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811557 -2.614434)'), GeomFromEWKT('SRID=4674;POINT (-39.811513 -2.614401)'))) / (select extract(epoch from '2026-07-22 07:47:57'::timestamp) - extract(epoch from '2026-07-22 07:47: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'), 47870, 'SRID=4674;POINT (-39.811449 -2.61437)', '2026-07-22 07:48:02', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811513 -2.614401)'), GeomFromEWKT('SRID=4674;POINT (-39.811449 -2.61437)'))) / (select extract(epoch from '2026-07-22 07:48:02'::timestamp) - extract(epoch from '2026-07-22 07:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811513 -2.614401)'), GeomFromEWKT('SRID=4674;POINT (-39.811449 -2.61437)'))) / (select extract(epoch from '2026-07-22 07:48:02'::timestamp) - extract(epoch from '2026-07-22 07:47: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'), 47870, 'SRID=4674;POINT (-39.811376 -2.614339)', '2026-07-22 07:48:07', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811449 -2.61437)'), GeomFromEWKT('SRID=4674;POINT (-39.811376 -2.614339)'))) / (select extract(epoch from '2026-07-22 07:48:07'::timestamp) - extract(epoch from '2026-07-22 07:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811449 -2.61437)'), GeomFromEWKT('SRID=4674;POINT (-39.811376 -2.614339)'))) / (select extract(epoch from '2026-07-22 07:48:07'::timestamp) - extract(epoch from '2026-07-22 07:48: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'), 47870, 'SRID=4674;POINT (-39.811269 -2.614336)', '2026-07-22 07:48:14', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811376 -2.614339)'), GeomFromEWKT('SRID=4674;POINT (-39.811269 -2.614336)'))) / (select extract(epoch from '2026-07-22 07:48:14'::timestamp) - extract(epoch from '2026-07-22 07:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811376 -2.614339)'), GeomFromEWKT('SRID=4674;POINT (-39.811269 -2.614336)'))) / (select extract(epoch from '2026-07-22 07:48:14'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.811175 -2.614358)', '2026-07-22 07:48:21', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811269 -2.614336)'), GeomFromEWKT('SRID=4674;POINT (-39.811175 -2.614358)'))) / (select extract(epoch from '2026-07-22 07:48:21'::timestamp) - extract(epoch from '2026-07-22 07:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811269 -2.614336)'), GeomFromEWKT('SRID=4674;POINT (-39.811175 -2.614358)'))) / (select extract(epoch from '2026-07-22 07:48:21'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.81109 -2.614367)', '2026-07-22 07:48:27', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811175 -2.614358)'), GeomFromEWKT('SRID=4674;POINT (-39.81109 -2.614367)'))) / (select extract(epoch from '2026-07-22 07:48:27'::timestamp) - extract(epoch from '2026-07-22 07:48:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.811175 -2.614358)'), GeomFromEWKT('SRID=4674;POINT (-39.81109 -2.614367)'))) / (select extract(epoch from '2026-07-22 07:48:27'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.810992 -2.614369)', '2026-07-22 07:48:33', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81109 -2.614367)'), GeomFromEWKT('SRID=4674;POINT (-39.810992 -2.614369)'))) / (select extract(epoch from '2026-07-22 07:48:33'::timestamp) - extract(epoch from '2026-07-22 07:48:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81109 -2.614367)'), GeomFromEWKT('SRID=4674;POINT (-39.810992 -2.614369)'))) / (select extract(epoch from '2026-07-22 07:48:33'::timestamp) - extract(epoch from '2026-07-22 07:48: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'), 47870, 'SRID=4674;POINT (-39.810875 -2.614373)', '2026-07-22 07:48:41', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810992 -2.614369)'), GeomFromEWKT('SRID=4674;POINT (-39.810875 -2.614373)'))) / (select extract(epoch from '2026-07-22 07:48:41'::timestamp) - extract(epoch from '2026-07-22 07:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810992 -2.614369)'), GeomFromEWKT('SRID=4674;POINT (-39.810875 -2.614373)'))) / (select extract(epoch from '2026-07-22 07:48:41'::timestamp) - extract(epoch from '2026-07-22 07:48: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'), 47870, 'SRID=4674;POINT (-39.810758 -2.614392)', '2026-07-22 07:48:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810875 -2.614373)'), GeomFromEWKT('SRID=4674;POINT (-39.810758 -2.614392)'))) / (select extract(epoch from '2026-07-22 07:48:48'::timestamp) - extract(epoch from '2026-07-22 07:48:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810875 -2.614373)'), GeomFromEWKT('SRID=4674;POINT (-39.810758 -2.614392)'))) / (select extract(epoch from '2026-07-22 07:48:48'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.81067 -2.614423)', '2026-07-22 07:48:54', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810758 -2.614392)'), GeomFromEWKT('SRID=4674;POINT (-39.81067 -2.614423)'))) / (select extract(epoch from '2026-07-22 07:48:54'::timestamp) - extract(epoch from '2026-07-22 07:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810758 -2.614392)'), GeomFromEWKT('SRID=4674;POINT (-39.81067 -2.614423)'))) / (select extract(epoch from '2026-07-22 07:48:54'::timestamp) - extract(epoch from '2026-07-22 07:48: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'), 47870, 'SRID=4674;POINT (-39.810568 -2.614463)', '2026-07-22 07:49:01', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81067 -2.614423)'), GeomFromEWKT('SRID=4674;POINT (-39.810568 -2.614463)'))) / (select extract(epoch from '2026-07-22 07:49:01'::timestamp) - extract(epoch from '2026-07-22 07:48:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81067 -2.614423)'), GeomFromEWKT('SRID=4674;POINT (-39.810568 -2.614463)'))) / (select extract(epoch from '2026-07-22 07:49:01'::timestamp) - extract(epoch from '2026-07-22 07:48:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.810499 -2.614481)', '2026-07-22 07:49:06', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810568 -2.614463)'), GeomFromEWKT('SRID=4674;POINT (-39.810499 -2.614481)'))) / (select extract(epoch from '2026-07-22 07:49:06'::timestamp) - extract(epoch from '2026-07-22 07:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810568 -2.614463)'), GeomFromEWKT('SRID=4674;POINT (-39.810499 -2.614481)'))) / (select extract(epoch from '2026-07-22 07:49:06'::timestamp) - extract(epoch from '2026-07-22 07:49:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.81045 -2.614518)', '2026-07-22 07:49:10', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810499 -2.614481)'), GeomFromEWKT('SRID=4674;POINT (-39.81045 -2.614518)'))) / (select extract(epoch from '2026-07-22 07:49:10'::timestamp) - extract(epoch from '2026-07-22 07:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810499 -2.614481)'), GeomFromEWKT('SRID=4674;POINT (-39.81045 -2.614518)'))) / (select extract(epoch from '2026-07-22 07:49:10'::timestamp) - extract(epoch from '2026-07-22 07:49:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.810358 -2.614561)', '2026-07-22 07:49:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81045 -2.614518)'), GeomFromEWKT('SRID=4674;POINT (-39.810358 -2.614561)'))) / (select extract(epoch from '2026-07-22 07:49:16'::timestamp) - extract(epoch from '2026-07-22 07:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.81045 -2.614518)'), GeomFromEWKT('SRID=4674;POINT (-39.810358 -2.614561)'))) / (select extract(epoch from '2026-07-22 07:49:16'::timestamp) - extract(epoch from '2026-07-22 07:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.810327 -2.614574)', '2026-07-22 07:49:18', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810358 -2.614561)'), GeomFromEWKT('SRID=4674;POINT (-39.810327 -2.614574)'))) / (select extract(epoch from '2026-07-22 07:49:18'::timestamp) - extract(epoch from '2026-07-22 07:49:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810358 -2.614561)'), GeomFromEWKT('SRID=4674;POINT (-39.810327 -2.614574)'))) / (select extract(epoch from '2026-07-22 07:49:18'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.810266 -2.6146)', '2026-07-22 07:49:22', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810327 -2.614574)'), GeomFromEWKT('SRID=4674;POINT (-39.810266 -2.6146)'))) / (select extract(epoch from '2026-07-22 07:49:22'::timestamp) - extract(epoch from '2026-07-22 07:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810327 -2.614574)'), GeomFromEWKT('SRID=4674;POINT (-39.810266 -2.6146)'))) / (select extract(epoch from '2026-07-22 07:49:22'::timestamp) - extract(epoch from '2026-07-22 07:49: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'), 47870, 'SRID=4674;POINT (-39.810184 -2.614635)', '2026-07-22 07:49:28', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810266 -2.6146)'), GeomFromEWKT('SRID=4674;POINT (-39.810184 -2.614635)'))) / (select extract(epoch from '2026-07-22 07:49:28'::timestamp) - extract(epoch from '2026-07-22 07:49:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810266 -2.6146)'), GeomFromEWKT('SRID=4674;POINT (-39.810184 -2.614635)'))) / (select extract(epoch from '2026-07-22 07:49:28'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.810121 -2.614675)', '2026-07-22 07:49:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810184 -2.614635)'), GeomFromEWKT('SRID=4674;POINT (-39.810121 -2.614675)'))) / (select extract(epoch from '2026-07-22 07:49:34'::timestamp) - extract(epoch from '2026-07-22 07:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810184 -2.614635)'), GeomFromEWKT('SRID=4674;POINT (-39.810121 -2.614675)'))) / (select extract(epoch from '2026-07-22 07:49:34'::timestamp) - extract(epoch from '2026-07-22 07:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.810065 -2.61471)', '2026-07-22 07:49:39', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810121 -2.614675)'), GeomFromEWKT('SRID=4674;POINT (-39.810065 -2.61471)'))) / (select extract(epoch from '2026-07-22 07:49:39'::timestamp) - extract(epoch from '2026-07-22 07:49:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810121 -2.614675)'), GeomFromEWKT('SRID=4674;POINT (-39.810065 -2.61471)'))) / (select extract(epoch from '2026-07-22 07:49:39'::timestamp) - extract(epoch from '2026-07-22 07:49:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.810043 -2.614719)', '2026-07-22 07:49:41', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810065 -2.61471)'), GeomFromEWKT('SRID=4674;POINT (-39.810043 -2.614719)'))) / (select extract(epoch from '2026-07-22 07:49:41'::timestamp) - extract(epoch from '2026-07-22 07:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810065 -2.61471)'), GeomFromEWKT('SRID=4674;POINT (-39.810043 -2.614719)'))) / (select extract(epoch from '2026-07-22 07:49:41'::timestamp) - extract(epoch from '2026-07-22 07:49:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809989 -2.614744)', '2026-07-22 07:49:45', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810043 -2.614719)'), GeomFromEWKT('SRID=4674;POINT (-39.809989 -2.614744)'))) / (select extract(epoch from '2026-07-22 07:49:45'::timestamp) - extract(epoch from '2026-07-22 07:49:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810043 -2.614719)'), GeomFromEWKT('SRID=4674;POINT (-39.809989 -2.614744)'))) / (select extract(epoch from '2026-07-22 07:49:45'::timestamp) - extract(epoch from '2026-07-22 07:49: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'), 47870, 'SRID=4674;POINT (-39.809976 -2.614751)', '2026-07-22 07:49:46', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809989 -2.614744)'), GeomFromEWKT('SRID=4674;POINT (-39.809976 -2.614751)'))) / (select extract(epoch from '2026-07-22 07:49:46'::timestamp) - extract(epoch from '2026-07-22 07:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809989 -2.614744)'), GeomFromEWKT('SRID=4674;POINT (-39.809976 -2.614751)'))) / (select extract(epoch from '2026-07-22 07:49:46'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.809916 -2.614789)', '2026-07-22 07:49:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809976 -2.614751)'), GeomFromEWKT('SRID=4674;POINT (-39.809916 -2.614789)'))) / (select extract(epoch from '2026-07-22 07:49:50'::timestamp) - extract(epoch from '2026-07-22 07:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809976 -2.614751)'), GeomFromEWKT('SRID=4674;POINT (-39.809916 -2.614789)'))) / (select extract(epoch from '2026-07-22 07:49:50'::timestamp) - extract(epoch from '2026-07-22 07:49: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'), 47870, 'SRID=4674;POINT (-39.809865 -2.614835)', '2026-07-22 07:49:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809916 -2.614789)'), GeomFromEWKT('SRID=4674;POINT (-39.809865 -2.614835)'))) / (select extract(epoch from '2026-07-22 07:49:56'::timestamp) - extract(epoch from '2026-07-22 07:49:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809916 -2.614789)'), GeomFromEWKT('SRID=4674;POINT (-39.809865 -2.614835)'))) / (select extract(epoch from '2026-07-22 07:49:56'::timestamp) - extract(epoch from '2026-07-22 07:49:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809808 -2.614865)', '2026-07-22 07:50:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809865 -2.614835)'), GeomFromEWKT('SRID=4674;POINT (-39.809808 -2.614865)'))) / (select extract(epoch from '2026-07-22 07:50:02'::timestamp) - extract(epoch from '2026-07-22 07:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809865 -2.614835)'), GeomFromEWKT('SRID=4674;POINT (-39.809808 -2.614865)'))) / (select extract(epoch from '2026-07-22 07:50:02'::timestamp) - extract(epoch from '2026-07-22 07:49: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'), 47870, 'SRID=4674;POINT (-39.809773 -2.614873)', '2026-07-22 07:50:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809808 -2.614865)'), GeomFromEWKT('SRID=4674;POINT (-39.809773 -2.614873)'))) / (select extract(epoch from '2026-07-22 07:50:06'::timestamp) - extract(epoch from '2026-07-22 07:50:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809808 -2.614865)'), GeomFromEWKT('SRID=4674;POINT (-39.809773 -2.614873)'))) / (select extract(epoch from '2026-07-22 07:50:06'::timestamp) - extract(epoch from '2026-07-22 07:50:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809759 -2.614868)', '2026-07-22 07:50:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809773 -2.614873)'), GeomFromEWKT('SRID=4674;POINT (-39.809759 -2.614868)'))) / (select extract(epoch from '2026-07-22 07:50:09'::timestamp) - extract(epoch from '2026-07-22 07:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809773 -2.614873)'), GeomFromEWKT('SRID=4674;POINT (-39.809759 -2.614868)'))) / (select extract(epoch from '2026-07-22 07:50:09'::timestamp) - extract(epoch from '2026-07-22 07:50: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'), 47870, 'SRID=4674;POINT (-39.809744 -2.614845)', '2026-07-22 07:50:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809759 -2.614868)'), GeomFromEWKT('SRID=4674;POINT (-39.809744 -2.614845)'))) / (select extract(epoch from '2026-07-22 07:50:15'::timestamp) - extract(epoch from '2026-07-22 07:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809759 -2.614868)'), GeomFromEWKT('SRID=4674;POINT (-39.809744 -2.614845)'))) / (select extract(epoch from '2026-07-22 07:50:15'::timestamp) - extract(epoch from '2026-07-22 07:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809742 -2.614841)', '2026-07-22 07:50:16', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809744 -2.614845)'), GeomFromEWKT('SRID=4674;POINT (-39.809742 -2.614841)'))) / (select extract(epoch from '2026-07-22 07:50:16'::timestamp) - extract(epoch from '2026-07-22 07:50:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809744 -2.614845)'), GeomFromEWKT('SRID=4674;POINT (-39.809742 -2.614841)'))) / (select extract(epoch from '2026-07-22 07:50:16'::timestamp) - extract(epoch from '2026-07-22 07:50:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809749 -2.614804)', '2026-07-22 07:50:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809742 -2.614841)'), GeomFromEWKT('SRID=4674;POINT (-39.809749 -2.614804)'))) / (select extract(epoch from '2026-07-22 07:50:26'::timestamp) - extract(epoch from '2026-07-22 07:50:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809742 -2.614841)'), GeomFromEWKT('SRID=4674;POINT (-39.809749 -2.614804)'))) / (select extract(epoch from '2026-07-22 07:50:26'::timestamp) - extract(epoch from '2026-07-22 07:50: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'), 47870, 'SRID=4674;POINT (-39.809748 -2.614776)', '2026-07-22 07:50:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809749 -2.614804)'), GeomFromEWKT('SRID=4674;POINT (-39.809748 -2.614776)'))) / (select extract(epoch from '2026-07-22 07:50:34'::timestamp) - extract(epoch from '2026-07-22 07:50:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809749 -2.614804)'), GeomFromEWKT('SRID=4674;POINT (-39.809748 -2.614776)'))) / (select extract(epoch from '2026-07-22 07:50:34'::timestamp) - extract(epoch from '2026-07-22 07:50:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809766 -2.614741)', '2026-07-22 07:50:43', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809748 -2.614776)'), GeomFromEWKT('SRID=4674;POINT (-39.809766 -2.614741)'))) / (select extract(epoch from '2026-07-22 07:50:43'::timestamp) - extract(epoch from '2026-07-22 07:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809748 -2.614776)'), GeomFromEWKT('SRID=4674;POINT (-39.809766 -2.614741)'))) / (select extract(epoch from '2026-07-22 07:50:43'::timestamp) - extract(epoch from '2026-07-22 07:50: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'), 47870, 'SRID=4674;POINT (-39.809778 -2.614715)', '2026-07-22 07:50:52', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809766 -2.614741)'), GeomFromEWKT('SRID=4674;POINT (-39.809778 -2.614715)'))) / (select extract(epoch from '2026-07-22 07:50:52'::timestamp) - extract(epoch from '2026-07-22 07:50:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809766 -2.614741)'), GeomFromEWKT('SRID=4674;POINT (-39.809778 -2.614715)'))) / (select extract(epoch from '2026-07-22 07:50:52'::timestamp) - extract(epoch from '2026-07-22 07:50:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809835 -2.614682)', '2026-07-22 07:51:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809778 -2.614715)'), GeomFromEWKT('SRID=4674;POINT (-39.809835 -2.614682)'))) / (select extract(epoch from '2026-07-22 07:51:01'::timestamp) - extract(epoch from '2026-07-22 07:50:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809778 -2.614715)'), GeomFromEWKT('SRID=4674;POINT (-39.809835 -2.614682)'))) / (select extract(epoch from '2026-07-22 07:51:01'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.809863 -2.61467)', '2026-07-22 07:51:06', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809835 -2.614682)'), GeomFromEWKT('SRID=4674;POINT (-39.809863 -2.61467)'))) / (select extract(epoch from '2026-07-22 07:51:06'::timestamp) - extract(epoch from '2026-07-22 07:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809835 -2.614682)'), GeomFromEWKT('SRID=4674;POINT (-39.809863 -2.61467)'))) / (select extract(epoch from '2026-07-22 07:51:06'::timestamp) - extract(epoch from '2026-07-22 07:51:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809904 -2.614652)', '2026-07-22 07:51:13', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809863 -2.61467)'), GeomFromEWKT('SRID=4674;POINT (-39.809904 -2.614652)'))) / (select extract(epoch from '2026-07-22 07:51:13'::timestamp) - extract(epoch from '2026-07-22 07:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809863 -2.61467)'), GeomFromEWKT('SRID=4674;POINT (-39.809904 -2.614652)'))) / (select extract(epoch from '2026-07-22 07:51:13'::timestamp) - extract(epoch from '2026-07-22 07:51: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'), 47870, 'SRID=4674;POINT (-39.809926 -2.61464)', '2026-07-22 07:51:19', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809904 -2.614652)'), GeomFromEWKT('SRID=4674;POINT (-39.809926 -2.61464)'))) / (select extract(epoch from '2026-07-22 07:51:19'::timestamp) - extract(epoch from '2026-07-22 07:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809904 -2.614652)'), GeomFromEWKT('SRID=4674;POINT (-39.809926 -2.61464)'))) / (select extract(epoch from '2026-07-22 07:51:19'::timestamp) - extract(epoch from '2026-07-22 07:51: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'), 47870, 'SRID=4674;POINT (-39.809956 -2.61463)', '2026-07-22 07:51:27', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809926 -2.61464)'), GeomFromEWKT('SRID=4674;POINT (-39.809956 -2.61463)'))) / (select extract(epoch from '2026-07-22 07:51:27'::timestamp) - extract(epoch from '2026-07-22 07:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809926 -2.61464)'), GeomFromEWKT('SRID=4674;POINT (-39.809956 -2.61463)'))) / (select extract(epoch from '2026-07-22 07:51:27'::timestamp) - extract(epoch from '2026-07-22 07:51: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'), 47870, 'SRID=4674;POINT (-39.809997 -2.614647)', '2026-07-22 07:51:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809956 -2.61463)'), GeomFromEWKT('SRID=4674;POINT (-39.809997 -2.614647)'))) / (select extract(epoch from '2026-07-22 07:51:41'::timestamp) - extract(epoch from '2026-07-22 07:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809956 -2.61463)'), GeomFromEWKT('SRID=4674;POINT (-39.809997 -2.614647)'))) / (select extract(epoch from '2026-07-22 07:51:41'::timestamp) - extract(epoch from '2026-07-22 07:51: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'), 47870, 'SRID=4674;POINT (-39.810028 -2.614643)', '2026-07-22 07:51:48', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809997 -2.614647)'), GeomFromEWKT('SRID=4674;POINT (-39.810028 -2.614643)'))) / (select extract(epoch from '2026-07-22 07:51:48'::timestamp) - extract(epoch from '2026-07-22 07:51:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809997 -2.614647)'), GeomFromEWKT('SRID=4674;POINT (-39.810028 -2.614643)'))) / (select extract(epoch from '2026-07-22 07:51:48'::timestamp) - extract(epoch from '2026-07-22 07:51: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'), 47870, 'SRID=4674;POINT (-39.810096 -2.614632)', '2026-07-22 07:52:00', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810028 -2.614643)'), GeomFromEWKT('SRID=4674;POINT (-39.810096 -2.614632)'))) / (select extract(epoch from '2026-07-22 07:52:00'::timestamp) - extract(epoch from '2026-07-22 07:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810028 -2.614643)'), GeomFromEWKT('SRID=4674;POINT (-39.810096 -2.614632)'))) / (select extract(epoch from '2026-07-22 07:52:00'::timestamp) - extract(epoch from '2026-07-22 07:51: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'), 47870, 'SRID=4674;POINT (-39.810086 -2.614606)', '2026-07-22 07:52:07', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810096 -2.614632)'), GeomFromEWKT('SRID=4674;POINT (-39.810086 -2.614606)'))) / (select extract(epoch from '2026-07-22 07:52:07'::timestamp) - extract(epoch from '2026-07-22 07:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810096 -2.614632)'), GeomFromEWKT('SRID=4674;POINT (-39.810086 -2.614606)'))) / (select extract(epoch from '2026-07-22 07:52:07'::timestamp) - extract(epoch from '2026-07-22 07:52: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'), 47870, 'SRID=4674;POINT (-39.810013 -2.614613)', '2026-07-22 07:52:17', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810086 -2.614606)'), GeomFromEWKT('SRID=4674;POINT (-39.810013 -2.614613)'))) / (select extract(epoch from '2026-07-22 07:52:17'::timestamp) - extract(epoch from '2026-07-22 07:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810086 -2.614606)'), GeomFromEWKT('SRID=4674;POINT (-39.810013 -2.614613)'))) / (select extract(epoch from '2026-07-22 07:52:17'::timestamp) - extract(epoch from '2026-07-22 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'), 47870, 'SRID=4674;POINT (-39.809999 -2.614632)', '2026-07-22 07:52:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810013 -2.614613)'), GeomFromEWKT('SRID=4674;POINT (-39.809999 -2.614632)'))) / (select extract(epoch from '2026-07-22 07:52:20'::timestamp) - extract(epoch from '2026-07-22 07:52:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810013 -2.614613)'), GeomFromEWKT('SRID=4674;POINT (-39.809999 -2.614632)'))) / (select extract(epoch from '2026-07-22 07:52:20'::timestamp) - extract(epoch from '2026-07-22 07:52:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809996 -2.614671)', '2026-07-22 07:52:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809999 -2.614632)'), GeomFromEWKT('SRID=4674;POINT (-39.809996 -2.614671)'))) / (select extract(epoch from '2026-07-22 07:52:23'::timestamp) - extract(epoch from '2026-07-22 07:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809999 -2.614632)'), GeomFromEWKT('SRID=4674;POINT (-39.809996 -2.614671)'))) / (select extract(epoch from '2026-07-22 07:52:23'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.809998 -2.614681)', '2026-07-22 07:52:24', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809996 -2.614671)'), GeomFromEWKT('SRID=4674;POINT (-39.809998 -2.614681)'))) / (select extract(epoch from '2026-07-22 07:52:24'::timestamp) - extract(epoch from '2026-07-22 07:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809996 -2.614671)'), GeomFromEWKT('SRID=4674;POINT (-39.809998 -2.614681)'))) / (select extract(epoch from '2026-07-22 07:52:24'::timestamp) - extract(epoch from '2026-07-22 07:52: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'), 47870, 'SRID=4674;POINT (-39.810006 -2.614763)', '2026-07-22 07:52:29', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809998 -2.614681)'), GeomFromEWKT('SRID=4674;POINT (-39.810006 -2.614763)'))) / (select extract(epoch from '2026-07-22 07:52:29'::timestamp) - extract(epoch from '2026-07-22 07:52:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809998 -2.614681)'), GeomFromEWKT('SRID=4674;POINT (-39.810006 -2.614763)'))) / (select extract(epoch from '2026-07-22 07:52:29'::timestamp) - extract(epoch from '2026-07-22 07:52:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.810001 -2.614878)', '2026-07-22 07:52:35', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810006 -2.614763)'), GeomFromEWKT('SRID=4674;POINT (-39.810001 -2.614878)'))) / (select extract(epoch from '2026-07-22 07:52:35'::timestamp) - extract(epoch from '2026-07-22 07:52:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810006 -2.614763)'), GeomFromEWKT('SRID=4674;POINT (-39.810001 -2.614878)'))) / (select extract(epoch from '2026-07-22 07:52:35'::timestamp) - extract(epoch from '2026-07-22 07:52:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80997 -2.614957)', '2026-07-22 07:52:40', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810001 -2.614878)'), GeomFromEWKT('SRID=4674;POINT (-39.80997 -2.614957)'))) / (select extract(epoch from '2026-07-22 07:52:40'::timestamp) - extract(epoch from '2026-07-22 07:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.810001 -2.614878)'), GeomFromEWKT('SRID=4674;POINT (-39.80997 -2.614957)'))) / (select extract(epoch from '2026-07-22 07:52:40'::timestamp) - extract(epoch from '2026-07-22 07:52: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'), 47870, 'SRID=4674;POINT (-39.809965 -2.614975)', '2026-07-22 07:52:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80997 -2.614957)'), GeomFromEWKT('SRID=4674;POINT (-39.809965 -2.614975)'))) / (select extract(epoch from '2026-07-22 07:52:41'::timestamp) - extract(epoch from '2026-07-22 07:52:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80997 -2.614957)'), GeomFromEWKT('SRID=4674;POINT (-39.809965 -2.614975)'))) / (select extract(epoch from '2026-07-22 07:52:41'::timestamp) - extract(epoch from '2026-07-22 07:52: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'), 47870, 'SRID=4674;POINT (-39.809913 -2.615099)', '2026-07-22 07:52:48', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809965 -2.614975)'), GeomFromEWKT('SRID=4674;POINT (-39.809913 -2.615099)'))) / (select extract(epoch from '2026-07-22 07:52:48'::timestamp) - extract(epoch from '2026-07-22 07:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809965 -2.614975)'), GeomFromEWKT('SRID=4674;POINT (-39.809913 -2.615099)'))) / (select extract(epoch from '2026-07-22 07:52:48'::timestamp) - extract(epoch from '2026-07-22 07:52: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'), 47870, 'SRID=4674;POINT (-39.809867 -2.615227)', '2026-07-22 07:52:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809913 -2.615099)'), GeomFromEWKT('SRID=4674;POINT (-39.809867 -2.615227)'))) / (select extract(epoch from '2026-07-22 07:52:56'::timestamp) - extract(epoch from '2026-07-22 07:52:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809913 -2.615099)'), GeomFromEWKT('SRID=4674;POINT (-39.809867 -2.615227)'))) / (select extract(epoch from '2026-07-22 07:52:56'::timestamp) - extract(epoch from '2026-07-22 07:52:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809815 -2.615317)', '2026-07-22 07:53:02', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809867 -2.615227)'), GeomFromEWKT('SRID=4674;POINT (-39.809815 -2.615317)'))) / (select extract(epoch from '2026-07-22 07:53:02'::timestamp) - extract(epoch from '2026-07-22 07:52:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809867 -2.615227)'), GeomFromEWKT('SRID=4674;POINT (-39.809815 -2.615317)'))) / (select extract(epoch from '2026-07-22 07:53:02'::timestamp) - extract(epoch from '2026-07-22 07:52: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'), 47870, 'SRID=4674;POINT (-39.809747 -2.615383)', '2026-07-22 07:53:09', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809815 -2.615317)'), GeomFromEWKT('SRID=4674;POINT (-39.809747 -2.615383)'))) / (select extract(epoch from '2026-07-22 07:53:09'::timestamp) - extract(epoch from '2026-07-22 07:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809815 -2.615317)'), GeomFromEWKT('SRID=4674;POINT (-39.809747 -2.615383)'))) / (select extract(epoch from '2026-07-22 07:53:09'::timestamp) - extract(epoch from '2026-07-22 07:53:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809688 -2.615421)', '2026-07-22 07:53:14', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809747 -2.615383)'), GeomFromEWKT('SRID=4674;POINT (-39.809688 -2.615421)'))) / (select extract(epoch from '2026-07-22 07:53:14'::timestamp) - extract(epoch from '2026-07-22 07:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809747 -2.615383)'), GeomFromEWKT('SRID=4674;POINT (-39.809688 -2.615421)'))) / (select extract(epoch from '2026-07-22 07:53:14'::timestamp) - extract(epoch from '2026-07-22 07:53: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'), 47870, 'SRID=4674;POINT (-39.809636 -2.61549)', '2026-07-22 07:53:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809688 -2.615421)'), GeomFromEWKT('SRID=4674;POINT (-39.809636 -2.61549)'))) / (select extract(epoch from '2026-07-22 07:53:20'::timestamp) - extract(epoch from '2026-07-22 07:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809688 -2.615421)'), GeomFromEWKT('SRID=4674;POINT (-39.809636 -2.61549)'))) / (select extract(epoch from '2026-07-22 07:53:20'::timestamp) - extract(epoch from '2026-07-22 07:53: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'), 47870, 'SRID=4674;POINT (-39.809582 -2.615541)', '2026-07-22 07:53:26', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809636 -2.61549)'), GeomFromEWKT('SRID=4674;POINT (-39.809582 -2.615541)'))) / (select extract(epoch from '2026-07-22 07:53:26'::timestamp) - extract(epoch from '2026-07-22 07:53:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809636 -2.61549)'), GeomFromEWKT('SRID=4674;POINT (-39.809582 -2.615541)'))) / (select extract(epoch from '2026-07-22 07:53:26'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.809549 -2.615587)', '2026-07-22 07:53:31', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809582 -2.615541)'), GeomFromEWKT('SRID=4674;POINT (-39.809549 -2.615587)'))) / (select extract(epoch from '2026-07-22 07:53:31'::timestamp) - extract(epoch from '2026-07-22 07:53:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809582 -2.615541)'), GeomFromEWKT('SRID=4674;POINT (-39.809549 -2.615587)'))) / (select extract(epoch from '2026-07-22 07:53:31'::timestamp) - extract(epoch from '2026-07-22 07:53: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'), 47870, 'SRID=4674;POINT (-39.809511 -2.615628)', '2026-07-22 07:53:36', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809549 -2.615587)'), GeomFromEWKT('SRID=4674;POINT (-39.809511 -2.615628)'))) / (select extract(epoch from '2026-07-22 07:53:36'::timestamp) - extract(epoch from '2026-07-22 07:53:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809549 -2.615587)'), GeomFromEWKT('SRID=4674;POINT (-39.809511 -2.615628)'))) / (select extract(epoch from '2026-07-22 07:53:36'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.809435 -2.615689)', '2026-07-22 07:53:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809511 -2.615628)'), GeomFromEWKT('SRID=4674;POINT (-39.809435 -2.615689)'))) / (select extract(epoch from '2026-07-22 07:53:42'::timestamp) - extract(epoch from '2026-07-22 07:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809511 -2.615628)'), GeomFromEWKT('SRID=4674;POINT (-39.809435 -2.615689)'))) / (select extract(epoch from '2026-07-22 07:53:42'::timestamp) - extract(epoch from '2026-07-22 07:53: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'), 47870, 'SRID=4674;POINT (-39.809358 -2.615746)', '2026-07-22 07:53:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809435 -2.615689)'), GeomFromEWKT('SRID=4674;POINT (-39.809358 -2.615746)'))) / (select extract(epoch from '2026-07-22 07:53:48'::timestamp) - extract(epoch from '2026-07-22 07:53:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809435 -2.615689)'), GeomFromEWKT('SRID=4674;POINT (-39.809358 -2.615746)'))) / (select extract(epoch from '2026-07-22 07:53:48'::timestamp) - extract(epoch from '2026-07-22 07:53:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809289 -2.615805)', '2026-07-22 07:53:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809358 -2.615746)'), GeomFromEWKT('SRID=4674;POINT (-39.809289 -2.615805)'))) / (select extract(epoch from '2026-07-22 07:53:55'::timestamp) - extract(epoch from '2026-07-22 07:53:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809358 -2.615746)'), GeomFromEWKT('SRID=4674;POINT (-39.809289 -2.615805)'))) / (select extract(epoch from '2026-07-22 07:53:55'::timestamp) - extract(epoch from '2026-07-22 07:53:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809223 -2.615837)', '2026-07-22 07:54:01', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809289 -2.615805)'), GeomFromEWKT('SRID=4674;POINT (-39.809223 -2.615837)'))) / (select extract(epoch from '2026-07-22 07:54:01'::timestamp) - extract(epoch from '2026-07-22 07:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809289 -2.615805)'), GeomFromEWKT('SRID=4674;POINT (-39.809223 -2.615837)'))) / (select extract(epoch from '2026-07-22 07:54:01'::timestamp) - extract(epoch from '2026-07-22 07:53: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'), 47870, 'SRID=4674;POINT (-39.809195 -2.615844)', '2026-07-22 07:54:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809223 -2.615837)'), GeomFromEWKT('SRID=4674;POINT (-39.809195 -2.615844)'))) / (select extract(epoch from '2026-07-22 07:54:04'::timestamp) - extract(epoch from '2026-07-22 07:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809223 -2.615837)'), GeomFromEWKT('SRID=4674;POINT (-39.809195 -2.615844)'))) / (select extract(epoch from '2026-07-22 07:54:04'::timestamp) - extract(epoch from '2026-07-22 07:54: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'), 47870, 'SRID=4674;POINT (-39.809173 -2.615847)', '2026-07-22 07:54:06', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809195 -2.615844)'), GeomFromEWKT('SRID=4674;POINT (-39.809173 -2.615847)'))) / (select extract(epoch from '2026-07-22 07:54:06'::timestamp) - extract(epoch from '2026-07-22 07:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809195 -2.615844)'), GeomFromEWKT('SRID=4674;POINT (-39.809173 -2.615847)'))) / (select extract(epoch from '2026-07-22 07:54:06'::timestamp) - extract(epoch from '2026-07-22 07:54:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809083 -2.615846)', '2026-07-22 07:54:13', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809173 -2.615847)'), GeomFromEWKT('SRID=4674;POINT (-39.809083 -2.615846)'))) / (select extract(epoch from '2026-07-22 07:54:13'::timestamp) - extract(epoch from '2026-07-22 07:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809173 -2.615847)'), GeomFromEWKT('SRID=4674;POINT (-39.809083 -2.615846)'))) / (select extract(epoch from '2026-07-22 07:54:13'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.809018 -2.615844)', '2026-07-22 07:54:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809083 -2.615846)'), GeomFromEWKT('SRID=4674;POINT (-39.809018 -2.615844)'))) / (select extract(epoch from '2026-07-22 07:54:19'::timestamp) - extract(epoch from '2026-07-22 07:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809083 -2.615846)'), GeomFromEWKT('SRID=4674;POINT (-39.809018 -2.615844)'))) / (select extract(epoch from '2026-07-22 07:54:19'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.808947 -2.615864)', '2026-07-22 07:54:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809018 -2.615844)'), GeomFromEWKT('SRID=4674;POINT (-39.808947 -2.615864)'))) / (select extract(epoch from '2026-07-22 07:54:26'::timestamp) - extract(epoch from '2026-07-22 07:54:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809018 -2.615844)'), GeomFromEWKT('SRID=4674;POINT (-39.808947 -2.615864)'))) / (select extract(epoch from '2026-07-22 07:54:26'::timestamp) - extract(epoch from '2026-07-22 07:54:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80889 -2.615847)', '2026-07-22 07:54:34', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808947 -2.615864)'), GeomFromEWKT('SRID=4674;POINT (-39.80889 -2.615847)'))) / (select extract(epoch from '2026-07-22 07:54:34'::timestamp) - extract(epoch from '2026-07-22 07:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808947 -2.615864)'), GeomFromEWKT('SRID=4674;POINT (-39.80889 -2.615847)'))) / (select extract(epoch from '2026-07-22 07:54:34'::timestamp) - extract(epoch from '2026-07-22 07:54: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'), 47870, 'SRID=4674;POINT (-39.80887 -2.615828)', '2026-07-22 07:54:40', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80889 -2.615847)'), GeomFromEWKT('SRID=4674;POINT (-39.80887 -2.615828)'))) / (select extract(epoch from '2026-07-22 07:54:40'::timestamp) - extract(epoch from '2026-07-22 07:54:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80889 -2.615847)'), GeomFromEWKT('SRID=4674;POINT (-39.80887 -2.615828)'))) / (select extract(epoch from '2026-07-22 07:54:40'::timestamp) - extract(epoch from '2026-07-22 07:54:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808891 -2.615784)', '2026-07-22 07:54:53', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80887 -2.615828)'), GeomFromEWKT('SRID=4674;POINT (-39.808891 -2.615784)'))) / (select extract(epoch from '2026-07-22 07:54:53'::timestamp) - extract(epoch from '2026-07-22 07:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80887 -2.615828)'), GeomFromEWKT('SRID=4674;POINT (-39.808891 -2.615784)'))) / (select extract(epoch from '2026-07-22 07:54:53'::timestamp) - extract(epoch from '2026-07-22 07:54: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'), 47870, 'SRID=4674;POINT (-39.808916 -2.615754)', '2026-07-22 07:55:00', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808891 -2.615784)'), GeomFromEWKT('SRID=4674;POINT (-39.808916 -2.615754)'))) / (select extract(epoch from '2026-07-22 07:55:00'::timestamp) - extract(epoch from '2026-07-22 07:54:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808891 -2.615784)'), GeomFromEWKT('SRID=4674;POINT (-39.808916 -2.615754)'))) / (select extract(epoch from '2026-07-22 07:55:00'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.808941 -2.615742)', '2026-07-22 07:55:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808916 -2.615754)'), GeomFromEWKT('SRID=4674;POINT (-39.808941 -2.615742)'))) / (select extract(epoch from '2026-07-22 07:55:08'::timestamp) - extract(epoch from '2026-07-22 07:55:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808916 -2.615754)'), GeomFromEWKT('SRID=4674;POINT (-39.808941 -2.615742)'))) / (select extract(epoch from '2026-07-22 07:55:08'::timestamp) - extract(epoch from '2026-07-22 07:55: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'), 47870, 'SRID=4674;POINT (-39.809013 -2.6157)', '2026-07-22 07:55:18', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808941 -2.615742)'), GeomFromEWKT('SRID=4674;POINT (-39.809013 -2.6157)'))) / (select extract(epoch from '2026-07-22 07:55:18'::timestamp) - extract(epoch from '2026-07-22 07:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808941 -2.615742)'), GeomFromEWKT('SRID=4674;POINT (-39.809013 -2.6157)'))) / (select extract(epoch from '2026-07-22 07:55:18'::timestamp) - extract(epoch from '2026-07-22 07:55: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'), 47870, 'SRID=4674;POINT (-39.809037 -2.615687)', '2026-07-22 07:55:27', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809013 -2.6157)'), GeomFromEWKT('SRID=4674;POINT (-39.809037 -2.615687)'))) / (select extract(epoch from '2026-07-22 07:55:27'::timestamp) - extract(epoch from '2026-07-22 07:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809013 -2.6157)'), GeomFromEWKT('SRID=4674;POINT (-39.809037 -2.615687)'))) / (select extract(epoch from '2026-07-22 07:55:27'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.809072 -2.615669)', '2026-07-22 07:55:37', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809037 -2.615687)'), GeomFromEWKT('SRID=4674;POINT (-39.809072 -2.615669)'))) / (select extract(epoch from '2026-07-22 07:55:37'::timestamp) - extract(epoch from '2026-07-22 07:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809037 -2.615687)'), GeomFromEWKT('SRID=4674;POINT (-39.809072 -2.615669)'))) / (select extract(epoch from '2026-07-22 07:55:37'::timestamp) - extract(epoch from '2026-07-22 07:55: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'), 47870, 'SRID=4674;POINT (-39.809096 -2.615647)', '2026-07-22 07:55:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809072 -2.615669)'), GeomFromEWKT('SRID=4674;POINT (-39.809096 -2.615647)'))) / (select extract(epoch from '2026-07-22 07:55:44'::timestamp) - extract(epoch from '2026-07-22 07:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809072 -2.615669)'), GeomFromEWKT('SRID=4674;POINT (-39.809096 -2.615647)'))) / (select extract(epoch from '2026-07-22 07:55:44'::timestamp) - extract(epoch from '2026-07-22 07:55: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'), 47870, 'SRID=4674;POINT (-39.8091 -2.615614)', '2026-07-22 07:55:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809096 -2.615647)'), GeomFromEWKT('SRID=4674;POINT (-39.8091 -2.615614)'))) / (select extract(epoch from '2026-07-22 07:55:55'::timestamp) - extract(epoch from '2026-07-22 07:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809096 -2.615647)'), GeomFromEWKT('SRID=4674;POINT (-39.8091 -2.615614)'))) / (select extract(epoch from '2026-07-22 07:55:55'::timestamp) - extract(epoch from '2026-07-22 07:55: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'), 47870, 'SRID=4674;POINT (-39.809124 -2.61558)', '2026-07-22 07:56:03', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8091 -2.615614)'), GeomFromEWKT('SRID=4674;POINT (-39.809124 -2.61558)'))) / (select extract(epoch from '2026-07-22 07:56:03'::timestamp) - extract(epoch from '2026-07-22 07:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8091 -2.615614)'), GeomFromEWKT('SRID=4674;POINT (-39.809124 -2.61558)'))) / (select extract(epoch from '2026-07-22 07:56:03'::timestamp) - extract(epoch from '2026-07-22 07:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809147 -2.615557)', '2026-07-22 07:56:08', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809124 -2.61558)'), GeomFromEWKT('SRID=4674;POINT (-39.809147 -2.615557)'))) / (select extract(epoch from '2026-07-22 07:56:08'::timestamp) - extract(epoch from '2026-07-22 07:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809124 -2.61558)'), GeomFromEWKT('SRID=4674;POINT (-39.809147 -2.615557)'))) / (select extract(epoch from '2026-07-22 07:56:08'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.809156 -2.615552)', '2026-07-22 07:56:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809147 -2.615557)'), GeomFromEWKT('SRID=4674;POINT (-39.809156 -2.615552)'))) / (select extract(epoch from '2026-07-22 07:56:11'::timestamp) - extract(epoch from '2026-07-22 07:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809147 -2.615557)'), GeomFromEWKT('SRID=4674;POINT (-39.809156 -2.615552)'))) / (select extract(epoch from '2026-07-22 07:56:11'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.809184 -2.615533)', '2026-07-22 07:56:18', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809156 -2.615552)'), GeomFromEWKT('SRID=4674;POINT (-39.809184 -2.615533)'))) / (select extract(epoch from '2026-07-22 07:56:18'::timestamp) - extract(epoch from '2026-07-22 07:56:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809156 -2.615552)'), GeomFromEWKT('SRID=4674;POINT (-39.809184 -2.615533)'))) / (select extract(epoch from '2026-07-22 07:56:18'::timestamp) - extract(epoch from '2026-07-22 07:56: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'), 47870, 'SRID=4674;POINT (-39.809208 -2.615511)', '2026-07-22 07:56:23', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809184 -2.615533)'), GeomFromEWKT('SRID=4674;POINT (-39.809208 -2.615511)'))) / (select extract(epoch from '2026-07-22 07:56:23'::timestamp) - extract(epoch from '2026-07-22 07:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809184 -2.615533)'), GeomFromEWKT('SRID=4674;POINT (-39.809208 -2.615511)'))) / (select extract(epoch from '2026-07-22 07:56:23'::timestamp) - extract(epoch from '2026-07-22 07:56: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'), 47870, 'SRID=4674;POINT (-39.809233 -2.615484)', '2026-07-22 07:56:32', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809208 -2.615511)'), GeomFromEWKT('SRID=4674;POINT (-39.809233 -2.615484)'))) / (select extract(epoch from '2026-07-22 07:56:32'::timestamp) - extract(epoch from '2026-07-22 07:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809208 -2.615511)'), GeomFromEWKT('SRID=4674;POINT (-39.809233 -2.615484)'))) / (select extract(epoch from '2026-07-22 07:56:32'::timestamp) - extract(epoch from '2026-07-22 07:56: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'), 47870, 'SRID=4674;POINT (-39.809233 -2.615472)', '2026-07-22 07:56:44', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809233 -2.615484)'), GeomFromEWKT('SRID=4674;POINT (-39.809233 -2.615472)'))) / (select extract(epoch from '2026-07-22 07:56:44'::timestamp) - extract(epoch from '2026-07-22 07:56:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809233 -2.615484)'), GeomFromEWKT('SRID=4674;POINT (-39.809233 -2.615472)'))) / (select extract(epoch from '2026-07-22 07:56:44'::timestamp) - extract(epoch from '2026-07-22 07:56:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809204 -2.615469)', '2026-07-22 07:56:51', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809233 -2.615472)'), GeomFromEWKT('SRID=4674;POINT (-39.809204 -2.615469)'))) / (select extract(epoch from '2026-07-22 07:56:51'::timestamp) - extract(epoch from '2026-07-22 07:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809233 -2.615472)'), GeomFromEWKT('SRID=4674;POINT (-39.809204 -2.615469)'))) / (select extract(epoch from '2026-07-22 07:56:51'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.809182 -2.615521)', '2026-07-22 07:57:00', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809204 -2.615469)'), GeomFromEWKT('SRID=4674;POINT (-39.809182 -2.615521)'))) / (select extract(epoch from '2026-07-22 07:57:00'::timestamp) - extract(epoch from '2026-07-22 07:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809204 -2.615469)'), GeomFromEWKT('SRID=4674;POINT (-39.809182 -2.615521)'))) / (select extract(epoch from '2026-07-22 07:57:00'::timestamp) - extract(epoch from '2026-07-22 07:56: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'), 47870, 'SRID=4674;POINT (-39.809163 -2.615571)', '2026-07-22 07:57:04', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809182 -2.615521)'), GeomFromEWKT('SRID=4674;POINT (-39.809163 -2.615571)'))) / (select extract(epoch from '2026-07-22 07:57:04'::timestamp) - extract(epoch from '2026-07-22 07:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809182 -2.615521)'), GeomFromEWKT('SRID=4674;POINT (-39.809163 -2.615571)'))) / (select extract(epoch from '2026-07-22 07:57:04'::timestamp) - extract(epoch from '2026-07-22 07:57: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'), 47870, 'SRID=4674;POINT (-39.809145 -2.615604)', '2026-07-22 07:57:06', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809163 -2.615571)'), GeomFromEWKT('SRID=4674;POINT (-39.809145 -2.615604)'))) / (select extract(epoch from '2026-07-22 07:57:06'::timestamp) - extract(epoch from '2026-07-22 07:57:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809163 -2.615571)'), GeomFromEWKT('SRID=4674;POINT (-39.809145 -2.615604)'))) / (select extract(epoch from '2026-07-22 07:57:06'::timestamp) - extract(epoch from '2026-07-22 07:57:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809128 -2.61563)', '2026-07-22 07:57:08', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809145 -2.615604)'), GeomFromEWKT('SRID=4674;POINT (-39.809128 -2.61563)'))) / (select extract(epoch from '2026-07-22 07:57:08'::timestamp) - extract(epoch from '2026-07-22 07:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809145 -2.615604)'), GeomFromEWKT('SRID=4674;POINT (-39.809128 -2.61563)'))) / (select extract(epoch from '2026-07-22 07:57:08'::timestamp) - extract(epoch from '2026-07-22 07:57: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'), 47870, 'SRID=4674;POINT (-39.809109 -2.615671)', '2026-07-22 07:57:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809128 -2.61563)'), GeomFromEWKT('SRID=4674;POINT (-39.809109 -2.615671)'))) / (select extract(epoch from '2026-07-22 07:57:11'::timestamp) - extract(epoch from '2026-07-22 07:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809128 -2.61563)'), GeomFromEWKT('SRID=4674;POINT (-39.809109 -2.615671)'))) / (select extract(epoch from '2026-07-22 07:57:11'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.809023 -2.615801)', '2026-07-22 07:57:20', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809109 -2.615671)'), GeomFromEWKT('SRID=4674;POINT (-39.809023 -2.615801)'))) / (select extract(epoch from '2026-07-22 07:57:20'::timestamp) - extract(epoch from '2026-07-22 07:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809109 -2.615671)'), GeomFromEWKT('SRID=4674;POINT (-39.809023 -2.615801)'))) / (select extract(epoch from '2026-07-22 07:57:20'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.808969 -2.615916)', '2026-07-22 07:57:26', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809023 -2.615801)'), GeomFromEWKT('SRID=4674;POINT (-39.808969 -2.615916)'))) / (select extract(epoch from '2026-07-22 07:57:26'::timestamp) - extract(epoch from '2026-07-22 07:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809023 -2.615801)'), GeomFromEWKT('SRID=4674;POINT (-39.808969 -2.615916)'))) / (select extract(epoch from '2026-07-22 07:57:26'::timestamp) - extract(epoch from '2026-07-22 07:57: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'), 47870, 'SRID=4674;POINT (-39.808908 -2.616034)', '2026-07-22 07:57:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808969 -2.615916)'), GeomFromEWKT('SRID=4674;POINT (-39.808908 -2.616034)'))) / (select extract(epoch from '2026-07-22 07:57:33'::timestamp) - extract(epoch from '2026-07-22 07:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808969 -2.615916)'), GeomFromEWKT('SRID=4674;POINT (-39.808908 -2.616034)'))) / (select extract(epoch from '2026-07-22 07:57:33'::timestamp) - extract(epoch from '2026-07-22 07:57: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'), 47870, 'SRID=4674;POINT (-39.808822 -2.616192)', '2026-07-22 07:57:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808908 -2.616034)'), GeomFromEWKT('SRID=4674;POINT (-39.808822 -2.616192)'))) / (select extract(epoch from '2026-07-22 07:57:42'::timestamp) - extract(epoch from '2026-07-22 07:57:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808908 -2.616034)'), GeomFromEWKT('SRID=4674;POINT (-39.808822 -2.616192)'))) / (select extract(epoch from '2026-07-22 07:57:42'::timestamp) - extract(epoch from '2026-07-22 07:57: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'), 47870, 'SRID=4674;POINT (-39.808778 -2.616322)', '2026-07-22 07:57:50', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808822 -2.616192)'), GeomFromEWKT('SRID=4674;POINT (-39.808778 -2.616322)'))) / (select extract(epoch from '2026-07-22 07:57:50'::timestamp) - extract(epoch from '2026-07-22 07:57:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808822 -2.616192)'), GeomFromEWKT('SRID=4674;POINT (-39.808778 -2.616322)'))) / (select extract(epoch from '2026-07-22 07:57:50'::timestamp) - extract(epoch from '2026-07-22 07:57: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'), 47870, 'SRID=4674;POINT (-39.808738 -2.616419)', '2026-07-22 07:57:56', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808778 -2.616322)'), GeomFromEWKT('SRID=4674;POINT (-39.808738 -2.616419)'))) / (select extract(epoch from '2026-07-22 07:57:56'::timestamp) - extract(epoch from '2026-07-22 07:57:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808778 -2.616322)'), GeomFromEWKT('SRID=4674;POINT (-39.808738 -2.616419)'))) / (select extract(epoch from '2026-07-22 07:57:56'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.80867 -2.616532)', '2026-07-22 07:58:03', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808738 -2.616419)'), GeomFromEWKT('SRID=4674;POINT (-39.80867 -2.616532)'))) / (select extract(epoch from '2026-07-22 07:58:03'::timestamp) - extract(epoch from '2026-07-22 07:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808738 -2.616419)'), GeomFromEWKT('SRID=4674;POINT (-39.80867 -2.616532)'))) / (select extract(epoch from '2026-07-22 07:58:03'::timestamp) - extract(epoch from '2026-07-22 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'), 47870, 'SRID=4674;POINT (-39.808608 -2.616605)', '2026-07-22 07:58:08', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80867 -2.616532)'), GeomFromEWKT('SRID=4674;POINT (-39.808608 -2.616605)'))) / (select extract(epoch from '2026-07-22 07:58:08'::timestamp) - extract(epoch from '2026-07-22 07:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80867 -2.616532)'), GeomFromEWKT('SRID=4674;POINT (-39.808608 -2.616605)'))) / (select extract(epoch from '2026-07-22 07:58:08'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.808576 -2.616695)', '2026-07-22 07:58:13', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808608 -2.616605)'), GeomFromEWKT('SRID=4674;POINT (-39.808576 -2.616695)'))) / (select extract(epoch from '2026-07-22 07:58:13'::timestamp) - extract(epoch from '2026-07-22 07:58:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808608 -2.616605)'), GeomFromEWKT('SRID=4674;POINT (-39.808576 -2.616695)'))) / (select extract(epoch from '2026-07-22 07:58:13'::timestamp) - extract(epoch from '2026-07-22 07:58: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'), 47870, 'SRID=4674;POINT (-39.808513 -2.616792)', '2026-07-22 07:58:20', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808576 -2.616695)'), GeomFromEWKT('SRID=4674;POINT (-39.808513 -2.616792)'))) / (select extract(epoch from '2026-07-22 07:58:20'::timestamp) - extract(epoch from '2026-07-22 07:58:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808576 -2.616695)'), GeomFromEWKT('SRID=4674;POINT (-39.808513 -2.616792)'))) / (select extract(epoch from '2026-07-22 07:58:20'::timestamp) - extract(epoch from '2026-07-22 07:58:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808476 -2.61689)', '2026-07-22 07:58:26', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808513 -2.616792)'), GeomFromEWKT('SRID=4674;POINT (-39.808476 -2.61689)'))) / (select extract(epoch from '2026-07-22 07:58:26'::timestamp) - extract(epoch from '2026-07-22 07:58:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808513 -2.616792)'), GeomFromEWKT('SRID=4674;POINT (-39.808476 -2.61689)'))) / (select extract(epoch from '2026-07-22 07:58:26'::timestamp) - extract(epoch from '2026-07-22 07:58:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808459 -2.616978)', '2026-07-22 07:58:32', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808476 -2.61689)'), GeomFromEWKT('SRID=4674;POINT (-39.808459 -2.616978)'))) / (select extract(epoch from '2026-07-22 07:58:32'::timestamp) - extract(epoch from '2026-07-22 07:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808476 -2.61689)'), GeomFromEWKT('SRID=4674;POINT (-39.808459 -2.616978)'))) / (select extract(epoch from '2026-07-22 07:58:32'::timestamp) - extract(epoch from '2026-07-22 07:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808449 -2.617026)', '2026-07-22 07:58:37', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808459 -2.616978)'), GeomFromEWKT('SRID=4674;POINT (-39.808449 -2.617026)'))) / (select extract(epoch from '2026-07-22 07:58:37'::timestamp) - extract(epoch from '2026-07-22 07:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808459 -2.616978)'), GeomFromEWKT('SRID=4674;POINT (-39.808449 -2.617026)'))) / (select extract(epoch from '2026-07-22 07:58:37'::timestamp) - extract(epoch from '2026-07-22 07:58:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808421 -2.617033)', '2026-07-22 07:58:43', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808449 -2.617026)'), GeomFromEWKT('SRID=4674;POINT (-39.808421 -2.617033)'))) / (select extract(epoch from '2026-07-22 07:58:43'::timestamp) - extract(epoch from '2026-07-22 07:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808449 -2.617026)'), GeomFromEWKT('SRID=4674;POINT (-39.808421 -2.617033)'))) / (select extract(epoch from '2026-07-22 07:58:43'::timestamp) - extract(epoch from '2026-07-22 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'), 47870, 'SRID=4674;POINT (-39.808461 -2.616983)', '2026-07-22 07:58:55', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808421 -2.617033)'), GeomFromEWKT('SRID=4674;POINT (-39.808461 -2.616983)'))) / (select extract(epoch from '2026-07-22 07:58:55'::timestamp) - extract(epoch from '2026-07-22 07:58:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808421 -2.617033)'), GeomFromEWKT('SRID=4674;POINT (-39.808461 -2.616983)'))) / (select extract(epoch from '2026-07-22 07:58:55'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.808515 -2.616923)', '2026-07-22 07:59:05', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808461 -2.616983)'), GeomFromEWKT('SRID=4674;POINT (-39.808515 -2.616923)'))) / (select extract(epoch from '2026-07-22 07:59:05'::timestamp) - extract(epoch from '2026-07-22 07:58:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808461 -2.616983)'), GeomFromEWKT('SRID=4674;POINT (-39.808515 -2.616923)'))) / (select extract(epoch from '2026-07-22 07:59:05'::timestamp) - extract(epoch from '2026-07-22 07:58: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'), 47870, 'SRID=4674;POINT (-39.808537 -2.616889)', '2026-07-22 07:59:12', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808515 -2.616923)'), GeomFromEWKT('SRID=4674;POINT (-39.808537 -2.616889)'))) / (select extract(epoch from '2026-07-22 07:59:12'::timestamp) - extract(epoch from '2026-07-22 07:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808515 -2.616923)'), GeomFromEWKT('SRID=4674;POINT (-39.808537 -2.616889)'))) / (select extract(epoch from '2026-07-22 07:59:12'::timestamp) - extract(epoch from '2026-07-22 07:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808592 -2.616863)', '2026-07-22 07:59:22', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808537 -2.616889)'), GeomFromEWKT('SRID=4674;POINT (-39.808592 -2.616863)'))) / (select extract(epoch from '2026-07-22 07:59:22'::timestamp) - extract(epoch from '2026-07-22 07:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808537 -2.616889)'), GeomFromEWKT('SRID=4674;POINT (-39.808592 -2.616863)'))) / (select extract(epoch from '2026-07-22 07:59:22'::timestamp) - extract(epoch from '2026-07-22 07:59:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808598 -2.616864)', '2026-07-22 07:59:23', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808592 -2.616863)'), GeomFromEWKT('SRID=4674;POINT (-39.808598 -2.616864)'))) / (select extract(epoch from '2026-07-22 07:59:23'::timestamp) - extract(epoch from '2026-07-22 07:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808592 -2.616863)'), GeomFromEWKT('SRID=4674;POINT (-39.808598 -2.616864)'))) / (select extract(epoch from '2026-07-22 07:59:23'::timestamp) - extract(epoch from '2026-07-22 07:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808636 -2.616845)', '2026-07-22 07:59:29', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808598 -2.616864)'), GeomFromEWKT('SRID=4674;POINT (-39.808636 -2.616845)'))) / (select extract(epoch from '2026-07-22 07:59:29'::timestamp) - extract(epoch from '2026-07-22 07:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808598 -2.616864)'), GeomFromEWKT('SRID=4674;POINT (-39.808636 -2.616845)'))) / (select extract(epoch from '2026-07-22 07:59:29'::timestamp) - extract(epoch from '2026-07-22 07:59: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'), 47870, 'SRID=4674;POINT (-39.808644 -2.616816)', '2026-07-22 07:59:37', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808636 -2.616845)'), GeomFromEWKT('SRID=4674;POINT (-39.808644 -2.616816)'))) / (select extract(epoch from '2026-07-22 07:59:37'::timestamp) - extract(epoch from '2026-07-22 07:59:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808636 -2.616845)'), GeomFromEWKT('SRID=4674;POINT (-39.808644 -2.616816)'))) / (select extract(epoch from '2026-07-22 07:59:37'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.808661 -2.616805)', '2026-07-22 07:59:42', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808644 -2.616816)'), GeomFromEWKT('SRID=4674;POINT (-39.808661 -2.616805)'))) / (select extract(epoch from '2026-07-22 07:59:42'::timestamp) - extract(epoch from '2026-07-22 07:59:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808644 -2.616816)'), GeomFromEWKT('SRID=4674;POINT (-39.808661 -2.616805)'))) / (select extract(epoch from '2026-07-22 07:59:42'::timestamp) - extract(epoch from '2026-07-22 07:59: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'), 47870, 'SRID=4674;POINT (-39.808671 -2.616776)', '2026-07-22 07:59:51', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808661 -2.616805)'), GeomFromEWKT('SRID=4674;POINT (-39.808671 -2.616776)'))) / (select extract(epoch from '2026-07-22 07:59:51'::timestamp) - extract(epoch from '2026-07-22 07:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808661 -2.616805)'), GeomFromEWKT('SRID=4674;POINT (-39.808671 -2.616776)'))) / (select extract(epoch from '2026-07-22 07:59:51'::timestamp) - extract(epoch from '2026-07-22 07: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'), 47870, 'SRID=4674;POINT (-39.808719 -2.616753)', '2026-07-22 08:00:14', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808671 -2.616776)'), GeomFromEWKT('SRID=4674;POINT (-39.808719 -2.616753)'))) / (select extract(epoch from '2026-07-22 08:00:14'::timestamp) - extract(epoch from '2026-07-22 07:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808671 -2.616776)'), GeomFromEWKT('SRID=4674;POINT (-39.808719 -2.616753)'))) / (select extract(epoch from '2026-07-22 08:00:14'::timestamp) - extract(epoch from '2026-07-22 07:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808752 -2.616733)', '2026-07-22 08:00:39', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808719 -2.616753)'), GeomFromEWKT('SRID=4674;POINT (-39.808752 -2.616733)'))) / (select extract(epoch from '2026-07-22 08:00:39'::timestamp) - extract(epoch from '2026-07-22 08:00:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808719 -2.616753)'), GeomFromEWKT('SRID=4674;POINT (-39.808752 -2.616733)'))) / (select extract(epoch from '2026-07-22 08:00:39'::timestamp) - extract(epoch from '2026-07-22 08:00: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'), 47870, 'SRID=4674;POINT (-39.808766 -2.616718)', '2026-07-22 08:00:44', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808752 -2.616733)'), GeomFromEWKT('SRID=4674;POINT (-39.808766 -2.616718)'))) / (select extract(epoch from '2026-07-22 08:00:44'::timestamp) - extract(epoch from '2026-07-22 08:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808752 -2.616733)'), GeomFromEWKT('SRID=4674;POINT (-39.808766 -2.616718)'))) / (select extract(epoch from '2026-07-22 08:00:44'::timestamp) - extract(epoch from '2026-07-22 08:00: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'), 47870, 'SRID=4674;POINT (-39.808788 -2.616707)', '2026-07-22 08:00:48', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808766 -2.616718)'), GeomFromEWKT('SRID=4674;POINT (-39.808788 -2.616707)'))) / (select extract(epoch from '2026-07-22 08:00:48'::timestamp) - extract(epoch from '2026-07-22 08:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808766 -2.616718)'), GeomFromEWKT('SRID=4674;POINT (-39.808788 -2.616707)'))) / (select extract(epoch from '2026-07-22 08:00:48'::timestamp) - extract(epoch from '2026-07-22 08:00: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'), 47870, 'SRID=4674;POINT (-39.808829 -2.616678)', '2026-07-22 08:00:57', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808788 -2.616707)'), GeomFromEWKT('SRID=4674;POINT (-39.808829 -2.616678)'))) / (select extract(epoch from '2026-07-22 08:00:57'::timestamp) - extract(epoch from '2026-07-22 08:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808788 -2.616707)'), GeomFromEWKT('SRID=4674;POINT (-39.808829 -2.616678)'))) / (select extract(epoch from '2026-07-22 08:00:57'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.808857 -2.616666)', '2026-07-22 08:01:03', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808829 -2.616678)'), GeomFromEWKT('SRID=4674;POINT (-39.808857 -2.616666)'))) / (select extract(epoch from '2026-07-22 08:01:03'::timestamp) - extract(epoch from '2026-07-22 08:00:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808829 -2.616678)'), GeomFromEWKT('SRID=4674;POINT (-39.808857 -2.616666)'))) / (select extract(epoch from '2026-07-22 08:01:03'::timestamp) - extract(epoch from '2026-07-22 08:00: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'), 47870, 'SRID=4674;POINT (-39.808884 -2.616658)', '2026-07-22 08:01:06', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808857 -2.616666)'), GeomFromEWKT('SRID=4674;POINT (-39.808884 -2.616658)'))) / (select extract(epoch from '2026-07-22 08:01:06'::timestamp) - extract(epoch from '2026-07-22 08:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808857 -2.616666)'), GeomFromEWKT('SRID=4674;POINT (-39.808884 -2.616658)'))) / (select extract(epoch from '2026-07-22 08:01:06'::timestamp) - extract(epoch from '2026-07-22 08:01: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'), 47870, 'SRID=4674;POINT (-39.808912 -2.616639)', '2026-07-22 08:01:11', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808884 -2.616658)'), GeomFromEWKT('SRID=4674;POINT (-39.808912 -2.616639)'))) / (select extract(epoch from '2026-07-22 08:01:11'::timestamp) - extract(epoch from '2026-07-22 08:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808884 -2.616658)'), GeomFromEWKT('SRID=4674;POINT (-39.808912 -2.616639)'))) / (select extract(epoch from '2026-07-22 08:01:11'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.808922 -2.616618)', '2026-07-22 08:01:15', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808912 -2.616639)'), GeomFromEWKT('SRID=4674;POINT (-39.808922 -2.616618)'))) / (select extract(epoch from '2026-07-22 08:01:15'::timestamp) - extract(epoch from '2026-07-22 08:01:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808912 -2.616639)'), GeomFromEWKT('SRID=4674;POINT (-39.808922 -2.616618)'))) / (select extract(epoch from '2026-07-22 08:01:15'::timestamp) - extract(epoch from '2026-07-22 08:01:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808931 -2.616613)', '2026-07-22 08:01:16', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808922 -2.616618)'), GeomFromEWKT('SRID=4674;POINT (-39.808931 -2.616613)'))) / (select extract(epoch from '2026-07-22 08:01:16'::timestamp) - extract(epoch from '2026-07-22 08:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808922 -2.616618)'), GeomFromEWKT('SRID=4674;POINT (-39.808931 -2.616613)'))) / (select extract(epoch from '2026-07-22 08:01:16'::timestamp) - extract(epoch from '2026-07-22 08:01: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'), 47870, 'SRID=4674;POINT (-39.808962 -2.616597)', '2026-07-22 08:01:22', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808931 -2.616613)'), GeomFromEWKT('SRID=4674;POINT (-39.808962 -2.616597)'))) / (select extract(epoch from '2026-07-22 08:01:22'::timestamp) - extract(epoch from '2026-07-22 08:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808931 -2.616613)'), GeomFromEWKT('SRID=4674;POINT (-39.808962 -2.616597)'))) / (select extract(epoch from '2026-07-22 08:01:22'::timestamp) - extract(epoch from '2026-07-22 08:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809006 -2.61658)', '2026-07-22 08:01:30', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808962 -2.616597)'), GeomFromEWKT('SRID=4674;POINT (-39.809006 -2.61658)'))) / (select extract(epoch from '2026-07-22 08:01:30'::timestamp) - extract(epoch from '2026-07-22 08:01:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808962 -2.616597)'), GeomFromEWKT('SRID=4674;POINT (-39.809006 -2.61658)'))) / (select extract(epoch from '2026-07-22 08:01:30'::timestamp) - extract(epoch from '2026-07-22 08:01:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80904 -2.616573)', '2026-07-22 08:01:37', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809006 -2.61658)'), GeomFromEWKT('SRID=4674;POINT (-39.80904 -2.616573)'))) / (select extract(epoch from '2026-07-22 08:01:37'::timestamp) - extract(epoch from '2026-07-22 08:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809006 -2.61658)'), GeomFromEWKT('SRID=4674;POINT (-39.80904 -2.616573)'))) / (select extract(epoch from '2026-07-22 08:01:37'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.809056 -2.616567)', '2026-07-22 08:01:45', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80904 -2.616573)'), GeomFromEWKT('SRID=4674;POINT (-39.809056 -2.616567)'))) / (select extract(epoch from '2026-07-22 08:01:45'::timestamp) - extract(epoch from '2026-07-22 08:01:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80904 -2.616573)'), GeomFromEWKT('SRID=4674;POINT (-39.809056 -2.616567)'))) / (select extract(epoch from '2026-07-22 08:01:45'::timestamp) - extract(epoch from '2026-07-22 08:01:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809056 -2.616573)', '2026-07-22 08:01:53', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809056 -2.616567)'), GeomFromEWKT('SRID=4674;POINT (-39.809056 -2.616573)'))) / (select extract(epoch from '2026-07-22 08:01:53'::timestamp) - extract(epoch from '2026-07-22 08:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809056 -2.616567)'), GeomFromEWKT('SRID=4674;POINT (-39.809056 -2.616573)'))) / (select extract(epoch from '2026-07-22 08:01:53'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.809057 -2.616589)', '2026-07-22 08:02:01', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809056 -2.616573)'), GeomFromEWKT('SRID=4674;POINT (-39.809057 -2.616589)'))) / (select extract(epoch from '2026-07-22 08:02:01'::timestamp) - extract(epoch from '2026-07-22 08:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809056 -2.616573)'), GeomFromEWKT('SRID=4674;POINT (-39.809057 -2.616589)'))) / (select extract(epoch from '2026-07-22 08:02:01'::timestamp) - extract(epoch from '2026-07-22 08:01: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'), 47870, 'SRID=4674;POINT (-39.809057 -2.616595)', '2026-07-22 08:02:07', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809057 -2.616589)'), GeomFromEWKT('SRID=4674;POINT (-39.809057 -2.616595)'))) / (select extract(epoch from '2026-07-22 08:02:07'::timestamp) - extract(epoch from '2026-07-22 08:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809057 -2.616589)'), GeomFromEWKT('SRID=4674;POINT (-39.809057 -2.616595)'))) / (select extract(epoch from '2026-07-22 08:02:07'::timestamp) - extract(epoch from '2026-07-22 08:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809042 -2.616604)', '2026-07-22 08:02:23', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809057 -2.616595)'), GeomFromEWKT('SRID=4674;POINT (-39.809042 -2.616604)'))) / (select extract(epoch from '2026-07-22 08:02:23'::timestamp) - extract(epoch from '2026-07-22 08:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809057 -2.616595)'), GeomFromEWKT('SRID=4674;POINT (-39.809042 -2.616604)'))) / (select extract(epoch from '2026-07-22 08:02:23'::timestamp) - extract(epoch from '2026-07-22 08:02: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'), 47870, 'SRID=4674;POINT (-39.809007 -2.616623)', '2026-07-22 08:02:33', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809042 -2.616604)'), GeomFromEWKT('SRID=4674;POINT (-39.809007 -2.616623)'))) / (select extract(epoch from '2026-07-22 08:02:33'::timestamp) - extract(epoch from '2026-07-22 08:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809042 -2.616604)'), GeomFromEWKT('SRID=4674;POINT (-39.809007 -2.616623)'))) / (select extract(epoch from '2026-07-22 08:02:33'::timestamp) - extract(epoch from '2026-07-22 08:02: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'), 47870, 'SRID=4674;POINT (-39.808967 -2.616639)', '2026-07-22 08:02:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809007 -2.616623)'), GeomFromEWKT('SRID=4674;POINT (-39.808967 -2.616639)'))) / (select extract(epoch from '2026-07-22 08:02:44'::timestamp) - extract(epoch from '2026-07-22 08:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809007 -2.616623)'), GeomFromEWKT('SRID=4674;POINT (-39.808967 -2.616639)'))) / (select extract(epoch from '2026-07-22 08:02:44'::timestamp) - extract(epoch from '2026-07-22 08:02: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'), 47870, 'SRID=4674;POINT (-39.808975 -2.616665)', '2026-07-22 08:02:54', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808967 -2.616639)'), GeomFromEWKT('SRID=4674;POINT (-39.808975 -2.616665)'))) / (select extract(epoch from '2026-07-22 08:02:54'::timestamp) - extract(epoch from '2026-07-22 08:02:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808967 -2.616639)'), GeomFromEWKT('SRID=4674;POINT (-39.808975 -2.616665)'))) / (select extract(epoch from '2026-07-22 08:02:54'::timestamp) - extract(epoch from '2026-07-22 08:02: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'), 47870, 'SRID=4674;POINT (-39.809007 -2.616675)', '2026-07-22 08:03:21', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808975 -2.616665)'), GeomFromEWKT('SRID=4674;POINT (-39.809007 -2.616675)'))) / (select extract(epoch from '2026-07-22 08:03:21'::timestamp) - extract(epoch from '2026-07-22 08:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808975 -2.616665)'), GeomFromEWKT('SRID=4674;POINT (-39.809007 -2.616675)'))) / (select extract(epoch from '2026-07-22 08:03:21'::timestamp) - extract(epoch from '2026-07-22 08:02: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'), 47870, 'SRID=4674;POINT (-39.80908 -2.616692)', '2026-07-22 08:04:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809007 -2.616675)'), GeomFromEWKT('SRID=4674;POINT (-39.80908 -2.616692)'))) / (select extract(epoch from '2026-07-22 08:04:11'::timestamp) - extract(epoch from '2026-07-22 08:03:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809007 -2.616675)'), GeomFromEWKT('SRID=4674;POINT (-39.80908 -2.616692)'))) / (select extract(epoch from '2026-07-22 08:04:11'::timestamp) - extract(epoch from '2026-07-22 08:03:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.809078 -2.616722)', '2026-07-22 08:04:20', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80908 -2.616692)'), GeomFromEWKT('SRID=4674;POINT (-39.809078 -2.616722)'))) / (select extract(epoch from '2026-07-22 08:04:20'::timestamp) - extract(epoch from '2026-07-22 08:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80908 -2.616692)'), GeomFromEWKT('SRID=4674;POINT (-39.809078 -2.616722)'))) / (select extract(epoch from '2026-07-22 08:04:20'::timestamp) - extract(epoch from '2026-07-22 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'), 47870, 'SRID=4674;POINT (-39.809035 -2.616779)', '2026-07-22 08:04:26', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809078 -2.616722)'), GeomFromEWKT('SRID=4674;POINT (-39.809035 -2.616779)'))) / (select extract(epoch from '2026-07-22 08:04:26'::timestamp) - extract(epoch from '2026-07-22 08:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809078 -2.616722)'), GeomFromEWKT('SRID=4674;POINT (-39.809035 -2.616779)'))) / (select extract(epoch from '2026-07-22 08:04:26'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47870, 'SRID=4674;POINT (-39.808996 -2.616826)', '2026-07-22 08:04:31', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809035 -2.616779)'), GeomFromEWKT('SRID=4674;POINT (-39.808996 -2.616826)'))) / (select extract(epoch from '2026-07-22 08:04:31'::timestamp) - extract(epoch from '2026-07-22 08:04:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.809035 -2.616779)'), GeomFromEWKT('SRID=4674;POINT (-39.808996 -2.616826)'))) / (select extract(epoch from '2026-07-22 08:04:31'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47870, 'SRID=4674;POINT (-39.80899 -2.616838)', '2026-07-22 08:04:32', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808996 -2.616826)'), GeomFromEWKT('SRID=4674;POINT (-39.80899 -2.616838)'))) / (select extract(epoch from '2026-07-22 08:04:32'::timestamp) - extract(epoch from '2026-07-22 08:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808996 -2.616826)'), GeomFromEWKT('SRID=4674;POINT (-39.80899 -2.616838)'))) / (select extract(epoch from '2026-07-22 08:04:32'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47870, 'SRID=4674;POINT (-39.80896 -2.616875)', '2026-07-22 08:04:35', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80899 -2.616838)'), GeomFromEWKT('SRID=4674;POINT (-39.80896 -2.616875)'))) / (select extract(epoch from '2026-07-22 08:04:35'::timestamp) - extract(epoch from '2026-07-22 08:04:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80899 -2.616838)'), GeomFromEWKT('SRID=4674;POINT (-39.80896 -2.616875)'))) / (select extract(epoch from '2026-07-22 08:04:35'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.808938 -2.616917)', '2026-07-22 08:04:38', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80896 -2.616875)'), GeomFromEWKT('SRID=4674;POINT (-39.808938 -2.616917)'))) / (select extract(epoch from '2026-07-22 08:04:38'::timestamp) - extract(epoch from '2026-07-22 08:04:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80896 -2.616875)'), GeomFromEWKT('SRID=4674;POINT (-39.808938 -2.616917)'))) / (select extract(epoch from '2026-07-22 08:04:38'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47870, 'SRID=4674;POINT (-39.808905 -2.617022)', '2026-07-22 08:04:44', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808938 -2.616917)'), GeomFromEWKT('SRID=4674;POINT (-39.808905 -2.617022)'))) / (select extract(epoch from '2026-07-22 08:04:44'::timestamp) - extract(epoch from '2026-07-22 08:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808938 -2.616917)'), GeomFromEWKT('SRID=4674;POINT (-39.808905 -2.617022)'))) / (select extract(epoch from '2026-07-22 08:04:44'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.808856 -2.617115)', '2026-07-22 08:04:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808905 -2.617022)'), GeomFromEWKT('SRID=4674;POINT (-39.808856 -2.617115)'))) / (select extract(epoch from '2026-07-22 08:04:50'::timestamp) - extract(epoch from '2026-07-22 08:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808905 -2.617022)'), GeomFromEWKT('SRID=4674;POINT (-39.808856 -2.617115)'))) / (select extract(epoch from '2026-07-22 08:04:50'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47870, 'SRID=4674;POINT (-39.80881 -2.617206)', '2026-07-22 08:04:56', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808856 -2.617115)'), GeomFromEWKT('SRID=4674;POINT (-39.80881 -2.617206)'))) / (select extract(epoch from '2026-07-22 08:04:56'::timestamp) - extract(epoch from '2026-07-22 08:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808856 -2.617115)'), GeomFromEWKT('SRID=4674;POINT (-39.80881 -2.617206)'))) / (select extract(epoch from '2026-07-22 08:04:56'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47870, 'SRID=4674;POINT (-39.808763 -2.617296)', '2026-07-22 08:05:02', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80881 -2.617206)'), GeomFromEWKT('SRID=4674;POINT (-39.808763 -2.617296)'))) / (select extract(epoch from '2026-07-22 08:05:02'::timestamp) - extract(epoch from '2026-07-22 08:04:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80881 -2.617206)'), GeomFromEWKT('SRID=4674;POINT (-39.808763 -2.617296)'))) / (select extract(epoch from '2026-07-22 08:05:02'::timestamp) - extract(epoch from '2026-07-22 08:04: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'), 47870, 'SRID=4674;POINT (-39.80869 -2.6174)', '2026-07-22 08:05:09', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808763 -2.617296)'), GeomFromEWKT('SRID=4674;POINT (-39.80869 -2.6174)'))) / (select extract(epoch from '2026-07-22 08:05:09'::timestamp) - extract(epoch from '2026-07-22 08:05:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808763 -2.617296)'), GeomFromEWKT('SRID=4674;POINT (-39.80869 -2.6174)'))) / (select extract(epoch from '2026-07-22 08:05:09'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47870, 'SRID=4674;POINT (-39.808628 -2.617489)', '2026-07-22 08:05:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80869 -2.6174)'), GeomFromEWKT('SRID=4674;POINT (-39.808628 -2.617489)'))) / (select extract(epoch from '2026-07-22 08:05:15'::timestamp) - extract(epoch from '2026-07-22 08:05:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80869 -2.6174)'), GeomFromEWKT('SRID=4674;POINT (-39.808628 -2.617489)'))) / (select extract(epoch from '2026-07-22 08:05:15'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47870, 'SRID=4674;POINT (-39.808554 -2.617601)', '2026-07-22 08:05:22', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808628 -2.617489)'), GeomFromEWKT('SRID=4674;POINT (-39.808554 -2.617601)'))) / (select extract(epoch from '2026-07-22 08:05:22'::timestamp) - extract(epoch from '2026-07-22 08:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808628 -2.617489)'), GeomFromEWKT('SRID=4674;POINT (-39.808554 -2.617601)'))) / (select extract(epoch from '2026-07-22 08:05:22'::timestamp) - extract(epoch from '2026-07-22 08:05:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808502 -2.617734)', '2026-07-22 08:05:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808554 -2.617601)'), GeomFromEWKT('SRID=4674;POINT (-39.808502 -2.617734)'))) / (select extract(epoch from '2026-07-22 08:05:29'::timestamp) - extract(epoch from '2026-07-22 08:05:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808554 -2.617601)'), GeomFromEWKT('SRID=4674;POINT (-39.808502 -2.617734)'))) / (select extract(epoch from '2026-07-22 08:05:29'::timestamp) - extract(epoch from '2026-07-22 08:05:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808485 -2.617788)', '2026-07-22 08:05:32', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808502 -2.617734)'), GeomFromEWKT('SRID=4674;POINT (-39.808485 -2.617788)'))) / (select extract(epoch from '2026-07-22 08:05:32'::timestamp) - extract(epoch from '2026-07-22 08:05:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808502 -2.617734)'), GeomFromEWKT('SRID=4674;POINT (-39.808485 -2.617788)'))) / (select extract(epoch from '2026-07-22 08:05:32'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47870, 'SRID=4674;POINT (-39.808468 -2.617817)', '2026-07-22 08:05:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808485 -2.617788)'), GeomFromEWKT('SRID=4674;POINT (-39.808468 -2.617817)'))) / (select extract(epoch from '2026-07-22 08:05:34'::timestamp) - extract(epoch from '2026-07-22 08:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808485 -2.617788)'), GeomFromEWKT('SRID=4674;POINT (-39.808468 -2.617817)'))) / (select extract(epoch from '2026-07-22 08:05:34'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47870, 'SRID=4674;POINT (-39.808452 -2.617932)', '2026-07-22 08:05:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808468 -2.617817)'), GeomFromEWKT('SRID=4674;POINT (-39.808452 -2.617932)'))) / (select extract(epoch from '2026-07-22 08:05:40'::timestamp) - extract(epoch from '2026-07-22 08:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808468 -2.617817)'), GeomFromEWKT('SRID=4674;POINT (-39.808452 -2.617932)'))) / (select extract(epoch from '2026-07-22 08:05:40'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47870, 'SRID=4674;POINT (-39.808405 -2.618017)', '2026-07-22 08:05:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808452 -2.617932)'), GeomFromEWKT('SRID=4674;POINT (-39.808405 -2.618017)'))) / (select extract(epoch from '2026-07-22 08:05:46'::timestamp) - extract(epoch from '2026-07-22 08:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808452 -2.617932)'), GeomFromEWKT('SRID=4674;POINT (-39.808405 -2.618017)'))) / (select extract(epoch from '2026-07-22 08:05:46'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47870, 'SRID=4674;POINT (-39.808364 -2.61807)', '2026-07-22 08:05:52', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808405 -2.618017)'), GeomFromEWKT('SRID=4674;POINT (-39.808364 -2.61807)'))) / (select extract(epoch from '2026-07-22 08:05:52'::timestamp) - extract(epoch from '2026-07-22 08:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808405 -2.618017)'), GeomFromEWKT('SRID=4674;POINT (-39.808364 -2.61807)'))) / (select extract(epoch from '2026-07-22 08:05:52'::timestamp) - extract(epoch from '2026-07-22 08:05: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'), 47870, 'SRID=4674;POINT (-39.80834 -2.618066)', '2026-07-22 08:06:01', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808364 -2.61807)'), GeomFromEWKT('SRID=4674;POINT (-39.80834 -2.618066)'))) / (select extract(epoch from '2026-07-22 08:06:01'::timestamp) - extract(epoch from '2026-07-22 08:05:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808364 -2.61807)'), GeomFromEWKT('SRID=4674;POINT (-39.80834 -2.618066)'))) / (select extract(epoch from '2026-07-22 08:06:01'::timestamp) - extract(epoch from '2026-07-22 08:05:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808342 -2.618067)', '2026-07-22 08:06:02', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80834 -2.618066)'), GeomFromEWKT('SRID=4674;POINT (-39.808342 -2.618067)'))) / (select extract(epoch from '2026-07-22 08:06:02'::timestamp) - extract(epoch from '2026-07-22 08:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80834 -2.618066)'), GeomFromEWKT('SRID=4674;POINT (-39.808342 -2.618067)'))) / (select extract(epoch from '2026-07-22 08:06:02'::timestamp) - extract(epoch from '2026-07-22 08:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808372 -2.618013)', '2026-07-22 08:06:16', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808342 -2.618067)'), GeomFromEWKT('SRID=4674;POINT (-39.808372 -2.618013)'))) / (select extract(epoch from '2026-07-22 08:06:16'::timestamp) - extract(epoch from '2026-07-22 08:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808342 -2.618067)'), GeomFromEWKT('SRID=4674;POINT (-39.808372 -2.618013)'))) / (select extract(epoch from '2026-07-22 08:06:16'::timestamp) - extract(epoch from '2026-07-22 08:06: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'), 47870, 'SRID=4674;POINT (-39.808393 -2.617996)', '2026-07-22 08:06:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808372 -2.618013)'), GeomFromEWKT('SRID=4674;POINT (-39.808393 -2.617996)'))) / (select extract(epoch from '2026-07-22 08:06:19'::timestamp) - extract(epoch from '2026-07-22 08:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808372 -2.618013)'), GeomFromEWKT('SRID=4674;POINT (-39.808393 -2.617996)'))) / (select extract(epoch from '2026-07-22 08:06:19'::timestamp) - extract(epoch from '2026-07-22 08:06: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'), 47870, 'SRID=4674;POINT (-39.808444 -2.617962)', '2026-07-22 08:06:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808393 -2.617996)'), GeomFromEWKT('SRID=4674;POINT (-39.808444 -2.617962)'))) / (select extract(epoch from '2026-07-22 08:06:25'::timestamp) - extract(epoch from '2026-07-22 08:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808393 -2.617996)'), GeomFromEWKT('SRID=4674;POINT (-39.808444 -2.617962)'))) / (select extract(epoch from '2026-07-22 08:06:25'::timestamp) - extract(epoch from '2026-07-22 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'), 47870, 'SRID=4674;POINT (-39.808538 -2.617907)', '2026-07-22 08:06:38', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808444 -2.617962)'), GeomFromEWKT('SRID=4674;POINT (-39.808538 -2.617907)'))) / (select extract(epoch from '2026-07-22 08:06:38'::timestamp) - extract(epoch from '2026-07-22 08:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808444 -2.617962)'), GeomFromEWKT('SRID=4674;POINT (-39.808538 -2.617907)'))) / (select extract(epoch from '2026-07-22 08:06:38'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.808563 -2.617885)', '2026-07-22 08:06:45', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808538 -2.617907)'), GeomFromEWKT('SRID=4674;POINT (-39.808563 -2.617885)'))) / (select extract(epoch from '2026-07-22 08:06:45'::timestamp) - extract(epoch from '2026-07-22 08:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808538 -2.617907)'), GeomFromEWKT('SRID=4674;POINT (-39.808563 -2.617885)'))) / (select extract(epoch from '2026-07-22 08:06:45'::timestamp) - extract(epoch from '2026-07-22 08:06: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'), 47870, 'SRID=4674;POINT (-39.808582 -2.617869)', '2026-07-22 08:06:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808563 -2.617885)'), GeomFromEWKT('SRID=4674;POINT (-39.808582 -2.617869)'))) / (select extract(epoch from '2026-07-22 08:06:53'::timestamp) - extract(epoch from '2026-07-22 08:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808563 -2.617885)'), GeomFromEWKT('SRID=4674;POINT (-39.808582 -2.617869)'))) / (select extract(epoch from '2026-07-22 08:06:53'::timestamp) - extract(epoch from '2026-07-22 08:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80858 -2.617871)', '2026-07-22 08:07:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808582 -2.617869)'), GeomFromEWKT('SRID=4674;POINT (-39.80858 -2.617871)'))) / (select extract(epoch from '2026-07-22 08:07:01'::timestamp) - extract(epoch from '2026-07-22 08:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808582 -2.617869)'), GeomFromEWKT('SRID=4674;POINT (-39.80858 -2.617871)'))) / (select extract(epoch from '2026-07-22 08:07:01'::timestamp) - extract(epoch from '2026-07-22 08:06: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'), 47870, 'SRID=4674;POINT (-39.80859 -2.617866)', '2026-07-22 08:07:11', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80858 -2.617871)'), GeomFromEWKT('SRID=4674;POINT (-39.80859 -2.617866)'))) / (select extract(epoch from '2026-07-22 08:07:11'::timestamp) - extract(epoch from '2026-07-22 08:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80858 -2.617871)'), GeomFromEWKT('SRID=4674;POINT (-39.80859 -2.617866)'))) / (select extract(epoch from '2026-07-22 08:07:11'::timestamp) - extract(epoch from '2026-07-22 08:07: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'), 47870, 'SRID=4674;POINT (-39.80859 -2.617867)', '2026-07-22 08:07:17', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80859 -2.617866)'), GeomFromEWKT('SRID=4674;POINT (-39.80859 -2.617867)'))) / (select extract(epoch from '2026-07-22 08:07:17'::timestamp) - extract(epoch from '2026-07-22 08:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80859 -2.617866)'), GeomFromEWKT('SRID=4674;POINT (-39.80859 -2.617867)'))) / (select extract(epoch from '2026-07-22 08:07:17'::timestamp) - extract(epoch from '2026-07-22 08:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80865 -2.617867)', '2026-07-22 08:07:26', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80859 -2.617867)'), GeomFromEWKT('SRID=4674;POINT (-39.80865 -2.617867)'))) / (select extract(epoch from '2026-07-22 08:07:26'::timestamp) - extract(epoch from '2026-07-22 08:07:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80859 -2.617867)'), GeomFromEWKT('SRID=4674;POINT (-39.80865 -2.617867)'))) / (select extract(epoch from '2026-07-22 08:07:26'::timestamp) - extract(epoch from '2026-07-22 08:07: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'), 47870, 'SRID=4674;POINT (-39.808684 -2.617862)', '2026-07-22 08:07:33', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80865 -2.617867)'), GeomFromEWKT('SRID=4674;POINT (-39.808684 -2.617862)'))) / (select extract(epoch from '2026-07-22 08:07:33'::timestamp) - extract(epoch from '2026-07-22 08:07:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80865 -2.617867)'), GeomFromEWKT('SRID=4674;POINT (-39.808684 -2.617862)'))) / (select extract(epoch from '2026-07-22 08:07:33'::timestamp) - extract(epoch from '2026-07-22 08: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'), 47870, 'SRID=4674;POINT (-39.808679 -2.617851)', '2026-07-22 08:07:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808684 -2.617862)'), GeomFromEWKT('SRID=4674;POINT (-39.808679 -2.617851)'))) / (select extract(epoch from '2026-07-22 08:07:38'::timestamp) - extract(epoch from '2026-07-22 08:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808684 -2.617862)'), GeomFromEWKT('SRID=4674;POINT (-39.808679 -2.617851)'))) / (select extract(epoch from '2026-07-22 08:07:38'::timestamp) - extract(epoch from '2026-07-22 08:07: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'), 47870, 'SRID=4674;POINT (-39.808681 -2.617821)', '2026-07-22 08:07:43', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808679 -2.617851)'), GeomFromEWKT('SRID=4674;POINT (-39.808681 -2.617821)'))) / (select extract(epoch from '2026-07-22 08:07:43'::timestamp) - extract(epoch from '2026-07-22 08:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808679 -2.617851)'), GeomFromEWKT('SRID=4674;POINT (-39.808681 -2.617821)'))) / (select extract(epoch from '2026-07-22 08:07:43'::timestamp) - extract(epoch from '2026-07-22 08:07: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'), 47870, 'SRID=4674;POINT (-39.808649 -2.617796)', '2026-07-22 08:07:54', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808681 -2.617821)'), GeomFromEWKT('SRID=4674;POINT (-39.808649 -2.617796)'))) / (select extract(epoch from '2026-07-22 08:07:54'::timestamp) - extract(epoch from '2026-07-22 08:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808681 -2.617821)'), GeomFromEWKT('SRID=4674;POINT (-39.808649 -2.617796)'))) / (select extract(epoch from '2026-07-22 08:07:54'::timestamp) - extract(epoch from '2026-07-22 08:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808694 -2.617775)', '2026-07-22 08:08:14', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808649 -2.617796)'), GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.617775)'))) / (select extract(epoch from '2026-07-22 08:08:14'::timestamp) - extract(epoch from '2026-07-22 08:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808649 -2.617796)'), GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.617775)'))) / (select extract(epoch from '2026-07-22 08:08:14'::timestamp) - extract(epoch from '2026-07-22 08:07:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808715 -2.617767)', '2026-07-22 08:08:21', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.617775)'), GeomFromEWKT('SRID=4674;POINT (-39.808715 -2.617767)'))) / (select extract(epoch from '2026-07-22 08:08:21'::timestamp) - extract(epoch from '2026-07-22 08:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.617775)'), GeomFromEWKT('SRID=4674;POINT (-39.808715 -2.617767)'))) / (select extract(epoch from '2026-07-22 08:08:21'::timestamp) - extract(epoch from '2026-07-22 08:08: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'), 47870, 'SRID=4674;POINT (-39.80873 -2.61775)', '2026-07-22 08:08:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808715 -2.617767)'), GeomFromEWKT('SRID=4674;POINT (-39.80873 -2.61775)'))) / (select extract(epoch from '2026-07-22 08:08:32'::timestamp) - extract(epoch from '2026-07-22 08:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808715 -2.617767)'), GeomFromEWKT('SRID=4674;POINT (-39.80873 -2.61775)'))) / (select extract(epoch from '2026-07-22 08:08:32'::timestamp) - extract(epoch from '2026-07-22 08:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80875 -2.617744)', '2026-07-22 08:08:38', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80873 -2.61775)'), GeomFromEWKT('SRID=4674;POINT (-39.80875 -2.617744)'))) / (select extract(epoch from '2026-07-22 08:08:38'::timestamp) - extract(epoch from '2026-07-22 08:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80873 -2.61775)'), GeomFromEWKT('SRID=4674;POINT (-39.80875 -2.617744)'))) / (select extract(epoch from '2026-07-22 08:08:38'::timestamp) - extract(epoch from '2026-07-22 08:08: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'), 47870, 'SRID=4674;POINT (-39.808711 -2.617796)', '2026-07-22 08:08:46', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80875 -2.617744)'), GeomFromEWKT('SRID=4674;POINT (-39.808711 -2.617796)'))) / (select extract(epoch from '2026-07-22 08:08:46'::timestamp) - extract(epoch from '2026-07-22 08:08:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80875 -2.617744)'), GeomFromEWKT('SRID=4674;POINT (-39.808711 -2.617796)'))) / (select extract(epoch from '2026-07-22 08:08:46'::timestamp) - extract(epoch from '2026-07-22 08:08:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808693 -2.617864)', '2026-07-22 08:08:51', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808711 -2.617796)'), GeomFromEWKT('SRID=4674;POINT (-39.808693 -2.617864)'))) / (select extract(epoch from '2026-07-22 08:08:51'::timestamp) - extract(epoch from '2026-07-22 08:08:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808711 -2.617796)'), GeomFromEWKT('SRID=4674;POINT (-39.808693 -2.617864)'))) / (select extract(epoch from '2026-07-22 08:08:51'::timestamp) - extract(epoch from '2026-07-22 08:08: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'), 47870, 'SRID=4674;POINT (-39.808694 -2.617905)', '2026-07-22 08:08:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808693 -2.617864)'), GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.617905)'))) / (select extract(epoch from '2026-07-22 08:08:53'::timestamp) - extract(epoch from '2026-07-22 08:08:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808693 -2.617864)'), GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.617905)'))) / (select extract(epoch from '2026-07-22 08:08:53'::timestamp) - extract(epoch from '2026-07-22 08:08:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808696 -2.618032)', '2026-07-22 08:09:00', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.617905)'), GeomFromEWKT('SRID=4674;POINT (-39.808696 -2.618032)'))) / (select extract(epoch from '2026-07-22 08:09:00'::timestamp) - extract(epoch from '2026-07-22 08:08:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.617905)'), GeomFromEWKT('SRID=4674;POINT (-39.808696 -2.618032)'))) / (select extract(epoch from '2026-07-22 08:09:00'::timestamp) - extract(epoch from '2026-07-22 08:08: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'), 47870, 'SRID=4674;POINT (-39.808677 -2.618136)', '2026-07-22 08:09:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808696 -2.618032)'), GeomFromEWKT('SRID=4674;POINT (-39.808677 -2.618136)'))) / (select extract(epoch from '2026-07-22 08:09:06'::timestamp) - extract(epoch from '2026-07-22 08:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808696 -2.618032)'), GeomFromEWKT('SRID=4674;POINT (-39.808677 -2.618136)'))) / (select extract(epoch from '2026-07-22 08:09:06'::timestamp) - extract(epoch from '2026-07-22 08:09: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'), 47870, 'SRID=4674;POINT (-39.80867 -2.618228)', '2026-07-22 08:09:11', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808677 -2.618136)'), GeomFromEWKT('SRID=4674;POINT (-39.80867 -2.618228)'))) / (select extract(epoch from '2026-07-22 08:09:11'::timestamp) - extract(epoch from '2026-07-22 08:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808677 -2.618136)'), GeomFromEWKT('SRID=4674;POINT (-39.80867 -2.618228)'))) / (select extract(epoch from '2026-07-22 08:09:11'::timestamp) - extract(epoch from '2026-07-22 08:09: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'), 47870, 'SRID=4674;POINT (-39.808676 -2.618363)', '2026-07-22 08:09:19', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80867 -2.618228)'), GeomFromEWKT('SRID=4674;POINT (-39.808676 -2.618363)'))) / (select extract(epoch from '2026-07-22 08:09:19'::timestamp) - extract(epoch from '2026-07-22 08:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80867 -2.618228)'), GeomFromEWKT('SRID=4674;POINT (-39.808676 -2.618363)'))) / (select extract(epoch from '2026-07-22 08:09:19'::timestamp) - extract(epoch from '2026-07-22 08:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808665 -2.618474)', '2026-07-22 08:09:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808676 -2.618363)'), GeomFromEWKT('SRID=4674;POINT (-39.808665 -2.618474)'))) / (select extract(epoch from '2026-07-22 08:09:25'::timestamp) - extract(epoch from '2026-07-22 08:09:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808676 -2.618363)'), GeomFromEWKT('SRID=4674;POINT (-39.808665 -2.618474)'))) / (select extract(epoch from '2026-07-22 08:09:25'::timestamp) - extract(epoch from '2026-07-22 08:09:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808604 -2.618579)', '2026-07-22 08:09:31', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808665 -2.618474)'), GeomFromEWKT('SRID=4674;POINT (-39.808604 -2.618579)'))) / (select extract(epoch from '2026-07-22 08:09:31'::timestamp) - extract(epoch from '2026-07-22 08:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808665 -2.618474)'), GeomFromEWKT('SRID=4674;POINT (-39.808604 -2.618579)'))) / (select extract(epoch from '2026-07-22 08:09:31'::timestamp) - extract(epoch from '2026-07-22 08:09:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808578 -2.618738)', '2026-07-22 08:09:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808604 -2.618579)'), GeomFromEWKT('SRID=4674;POINT (-39.808578 -2.618738)'))) / (select extract(epoch from '2026-07-22 08:09:39'::timestamp) - extract(epoch from '2026-07-22 08:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808604 -2.618579)'), GeomFromEWKT('SRID=4674;POINT (-39.808578 -2.618738)'))) / (select extract(epoch from '2026-07-22 08:09:39'::timestamp) - extract(epoch from '2026-07-22 08:09:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808597 -2.618865)', '2026-07-22 08:09:45', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808578 -2.618738)'), GeomFromEWKT('SRID=4674;POINT (-39.808597 -2.618865)'))) / (select extract(epoch from '2026-07-22 08:09:45'::timestamp) - extract(epoch from '2026-07-22 08:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808578 -2.618738)'), GeomFromEWKT('SRID=4674;POINT (-39.808597 -2.618865)'))) / (select extract(epoch from '2026-07-22 08:09:45'::timestamp) - extract(epoch from '2026-07-22 08:09: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'), 47870, 'SRID=4674;POINT (-39.808591 -2.618885)', '2026-07-22 08:09:46', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808597 -2.618865)'), GeomFromEWKT('SRID=4674;POINT (-39.808591 -2.618885)'))) / (select extract(epoch from '2026-07-22 08:09:46'::timestamp) - extract(epoch from '2026-07-22 08:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808597 -2.618865)'), GeomFromEWKT('SRID=4674;POINT (-39.808591 -2.618885)'))) / (select extract(epoch from '2026-07-22 08:09:46'::timestamp) - extract(epoch from '2026-07-22 08:09:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808584 -2.618968)', '2026-07-22 08:09:50', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808591 -2.618885)'), GeomFromEWKT('SRID=4674;POINT (-39.808584 -2.618968)'))) / (select extract(epoch from '2026-07-22 08:09:50'::timestamp) - extract(epoch from '2026-07-22 08:09:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808591 -2.618885)'), GeomFromEWKT('SRID=4674;POINT (-39.808584 -2.618968)'))) / (select extract(epoch from '2026-07-22 08:09:50'::timestamp) - extract(epoch from '2026-07-22 08:09: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'), 47870, 'SRID=4674;POINT (-39.808533 -2.619074)', '2026-07-22 08:09:56', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808584 -2.618968)'), GeomFromEWKT('SRID=4674;POINT (-39.808533 -2.619074)'))) / (select extract(epoch from '2026-07-22 08:09:56'::timestamp) - extract(epoch from '2026-07-22 08:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808584 -2.618968)'), GeomFromEWKT('SRID=4674;POINT (-39.808533 -2.619074)'))) / (select extract(epoch from '2026-07-22 08:09:56'::timestamp) - extract(epoch from '2026-07-22 08:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808474 -2.619164)', '2026-07-22 08:10:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808533 -2.619074)'), GeomFromEWKT('SRID=4674;POINT (-39.808474 -2.619164)'))) / (select extract(epoch from '2026-07-22 08:10:02'::timestamp) - extract(epoch from '2026-07-22 08:09:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808533 -2.619074)'), GeomFromEWKT('SRID=4674;POINT (-39.808474 -2.619164)'))) / (select extract(epoch from '2026-07-22 08:10:02'::timestamp) - extract(epoch from '2026-07-22 08:09: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'), 47870, 'SRID=4674;POINT (-39.808401 -2.61917)', '2026-07-22 08:10:08', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808474 -2.619164)'), GeomFromEWKT('SRID=4674;POINT (-39.808401 -2.61917)'))) / (select extract(epoch from '2026-07-22 08:10:08'::timestamp) - extract(epoch from '2026-07-22 08:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808474 -2.619164)'), GeomFromEWKT('SRID=4674;POINT (-39.808401 -2.61917)'))) / (select extract(epoch from '2026-07-22 08:10:08'::timestamp) - extract(epoch from '2026-07-22 08:10: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'), 47870, 'SRID=4674;POINT (-39.80832 -2.61912)', '2026-07-22 08:10:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808401 -2.61917)'), GeomFromEWKT('SRID=4674;POINT (-39.80832 -2.61912)'))) / (select extract(epoch from '2026-07-22 08:10:15'::timestamp) - extract(epoch from '2026-07-22 08:10:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808401 -2.61917)'), GeomFromEWKT('SRID=4674;POINT (-39.80832 -2.61912)'))) / (select extract(epoch from '2026-07-22 08:10:15'::timestamp) - extract(epoch from '2026-07-22 08:10: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'), 47870, 'SRID=4674;POINT (-39.808264 -2.619058)', '2026-07-22 08:10:22', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80832 -2.61912)'), GeomFromEWKT('SRID=4674;POINT (-39.808264 -2.619058)'))) / (select extract(epoch from '2026-07-22 08:10:22'::timestamp) - extract(epoch from '2026-07-22 08:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80832 -2.61912)'), GeomFromEWKT('SRID=4674;POINT (-39.808264 -2.619058)'))) / (select extract(epoch from '2026-07-22 08:10:22'::timestamp) - extract(epoch from '2026-07-22 08:10:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808235 -2.619033)', '2026-07-22 08:10:27', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808264 -2.619058)'), GeomFromEWKT('SRID=4674;POINT (-39.808235 -2.619033)'))) / (select extract(epoch from '2026-07-22 08:10:27'::timestamp) - extract(epoch from '2026-07-22 08:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808264 -2.619058)'), GeomFromEWKT('SRID=4674;POINT (-39.808235 -2.619033)'))) / (select extract(epoch from '2026-07-22 08:10:27'::timestamp) - extract(epoch from '2026-07-22 08:10:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808217 -2.619008)', '2026-07-22 08:10:34', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808235 -2.619033)'), GeomFromEWKT('SRID=4674;POINT (-39.808217 -2.619008)'))) / (select extract(epoch from '2026-07-22 08:10:34'::timestamp) - extract(epoch from '2026-07-22 08:10:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808235 -2.619033)'), GeomFromEWKT('SRID=4674;POINT (-39.808217 -2.619008)'))) / (select extract(epoch from '2026-07-22 08:10:34'::timestamp) - extract(epoch from '2026-07-22 08:10:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808221 -2.618998)', '2026-07-22 08:10:46', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808217 -2.619008)'), GeomFromEWKT('SRID=4674;POINT (-39.808221 -2.618998)'))) / (select extract(epoch from '2026-07-22 08:10:46'::timestamp) - extract(epoch from '2026-07-22 08:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808217 -2.619008)'), GeomFromEWKT('SRID=4674;POINT (-39.808221 -2.618998)'))) / (select extract(epoch from '2026-07-22 08:10:46'::timestamp) - extract(epoch from '2026-07-22 08:10: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'), 47870, 'SRID=4674;POINT (-39.808308 -2.618917)', '2026-07-22 08:11:09', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808221 -2.618998)'), GeomFromEWKT('SRID=4674;POINT (-39.808308 -2.618917)'))) / (select extract(epoch from '2026-07-22 08:11:09'::timestamp) - extract(epoch from '2026-07-22 08:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808221 -2.618998)'), GeomFromEWKT('SRID=4674;POINT (-39.808308 -2.618917)'))) / (select extract(epoch from '2026-07-22 08:11:09'::timestamp) - extract(epoch from '2026-07-22 08:10: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'), 47870, 'SRID=4674;POINT (-39.808316 -2.618898)', '2026-07-22 08:11:17', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808308 -2.618917)'), GeomFromEWKT('SRID=4674;POINT (-39.808316 -2.618898)'))) / (select extract(epoch from '2026-07-22 08:11:17'::timestamp) - extract(epoch from '2026-07-22 08:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808308 -2.618917)'), GeomFromEWKT('SRID=4674;POINT (-39.808316 -2.618898)'))) / (select extract(epoch from '2026-07-22 08:11:17'::timestamp) - extract(epoch from '2026-07-22 08:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808345 -2.618879)', '2026-07-22 08:11:22', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808316 -2.618898)'), GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.618879)'))) / (select extract(epoch from '2026-07-22 08:11:22'::timestamp) - extract(epoch from '2026-07-22 08:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808316 -2.618898)'), GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.618879)'))) / (select extract(epoch from '2026-07-22 08:11:22'::timestamp) - extract(epoch from '2026-07-22 08:11: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'), 47870, 'SRID=4674;POINT (-39.808352 -2.618876)', '2026-07-22 08:11:23', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.618879)'), GeomFromEWKT('SRID=4674;POINT (-39.808352 -2.618876)'))) / (select extract(epoch from '2026-07-22 08:11:23'::timestamp) - extract(epoch from '2026-07-22 08:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808345 -2.618879)'), GeomFromEWKT('SRID=4674;POINT (-39.808352 -2.618876)'))) / (select extract(epoch from '2026-07-22 08:11:23'::timestamp) - extract(epoch from '2026-07-22 08:11: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'), 47870, 'SRID=4674;POINT (-39.808388 -2.618852)', '2026-07-22 08:11:31', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808352 -2.618876)'), GeomFromEWKT('SRID=4674;POINT (-39.808388 -2.618852)'))) / (select extract(epoch from '2026-07-22 08:11:31'::timestamp) - extract(epoch from '2026-07-22 08:11:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808352 -2.618876)'), GeomFromEWKT('SRID=4674;POINT (-39.808388 -2.618852)'))) / (select extract(epoch from '2026-07-22 08:11:31'::timestamp) - extract(epoch from '2026-07-22 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'), 47870, 'SRID=4674;POINT (-39.808426 -2.61884)', '2026-07-22 08:11:40', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808388 -2.618852)'), GeomFromEWKT('SRID=4674;POINT (-39.808426 -2.61884)'))) / (select extract(epoch from '2026-07-22 08:11:40'::timestamp) - extract(epoch from '2026-07-22 08:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808388 -2.618852)'), GeomFromEWKT('SRID=4674;POINT (-39.808426 -2.61884)'))) / (select extract(epoch from '2026-07-22 08:11:40'::timestamp) - extract(epoch from '2026-07-22 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'), 47870, 'SRID=4674;POINT (-39.808488 -2.618809)', '2026-07-22 08:11:51', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808426 -2.61884)'), GeomFromEWKT('SRID=4674;POINT (-39.808488 -2.618809)'))) / (select extract(epoch from '2026-07-22 08:11:51'::timestamp) - extract(epoch from '2026-07-22 08:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808426 -2.61884)'), GeomFromEWKT('SRID=4674;POINT (-39.808488 -2.618809)'))) / (select extract(epoch from '2026-07-22 08:11:51'::timestamp) - extract(epoch from '2026-07-22 08:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808536 -2.618812)', '2026-07-22 08:12:02', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808488 -2.618809)'), GeomFromEWKT('SRID=4674;POINT (-39.808536 -2.618812)'))) / (select extract(epoch from '2026-07-22 08:12:02'::timestamp) - extract(epoch from '2026-07-22 08:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808488 -2.618809)'), GeomFromEWKT('SRID=4674;POINT (-39.808536 -2.618812)'))) / (select extract(epoch from '2026-07-22 08:12:02'::timestamp) - extract(epoch from '2026-07-22 08:11: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'), 47870, 'SRID=4674;POINT (-39.808557 -2.618796)', '2026-07-22 08:12:08', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808536 -2.618812)'), GeomFromEWKT('SRID=4674;POINT (-39.808557 -2.618796)'))) / (select extract(epoch from '2026-07-22 08:12:08'::timestamp) - extract(epoch from '2026-07-22 08:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808536 -2.618812)'), GeomFromEWKT('SRID=4674;POINT (-39.808557 -2.618796)'))) / (select extract(epoch from '2026-07-22 08:12:08'::timestamp) - extract(epoch from '2026-07-22 08:12:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808579 -2.618782)', '2026-07-22 08:12:15', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808557 -2.618796)'), GeomFromEWKT('SRID=4674;POINT (-39.808579 -2.618782)'))) / (select extract(epoch from '2026-07-22 08:12:15'::timestamp) - extract(epoch from '2026-07-22 08:12:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808557 -2.618796)'), GeomFromEWKT('SRID=4674;POINT (-39.808579 -2.618782)'))) / (select extract(epoch from '2026-07-22 08:12:15'::timestamp) - extract(epoch from '2026-07-22 08:12:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808589 -2.618745)', '2026-07-22 08:12:21', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808579 -2.618782)'), GeomFromEWKT('SRID=4674;POINT (-39.808589 -2.618745)'))) / (select extract(epoch from '2026-07-22 08:12:21'::timestamp) - extract(epoch from '2026-07-22 08:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808579 -2.618782)'), GeomFromEWKT('SRID=4674;POINT (-39.808589 -2.618745)'))) / (select extract(epoch from '2026-07-22 08:12:21'::timestamp) - extract(epoch from '2026-07-22 08:12: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'), 47870, 'SRID=4674;POINT (-39.808585 -2.618718)', '2026-07-22 08:12:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808589 -2.618745)'), GeomFromEWKT('SRID=4674;POINT (-39.808585 -2.618718)'))) / (select extract(epoch from '2026-07-22 08:12:29'::timestamp) - extract(epoch from '2026-07-22 08:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808589 -2.618745)'), GeomFromEWKT('SRID=4674;POINT (-39.808585 -2.618718)'))) / (select extract(epoch from '2026-07-22 08:12:29'::timestamp) - extract(epoch from '2026-07-22 08:12: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'), 47870, 'SRID=4674;POINT (-39.808579 -2.618693)', '2026-07-22 08:12:35', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808585 -2.618718)'), GeomFromEWKT('SRID=4674;POINT (-39.808579 -2.618693)'))) / (select extract(epoch from '2026-07-22 08:12:35'::timestamp) - extract(epoch from '2026-07-22 08:12:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808585 -2.618718)'), GeomFromEWKT('SRID=4674;POINT (-39.808579 -2.618693)'))) / (select extract(epoch from '2026-07-22 08:12:35'::timestamp) - extract(epoch from '2026-07-22 08:12: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'), 47870, 'SRID=4674;POINT (-39.808559 -2.618684)', '2026-07-22 08:12:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808579 -2.618693)'), GeomFromEWKT('SRID=4674;POINT (-39.808559 -2.618684)'))) / (select extract(epoch from '2026-07-22 08:12:43'::timestamp) - extract(epoch from '2026-07-22 08:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808579 -2.618693)'), GeomFromEWKT('SRID=4674;POINT (-39.808559 -2.618684)'))) / (select extract(epoch from '2026-07-22 08:12:43'::timestamp) - extract(epoch from '2026-07-22 08:12: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'), 47870, 'SRID=4674;POINT (-39.808567 -2.618633)', '2026-07-22 08:13:16', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808559 -2.618684)'), GeomFromEWKT('SRID=4674;POINT (-39.808567 -2.618633)'))) / (select extract(epoch from '2026-07-22 08:13:16'::timestamp) - extract(epoch from '2026-07-22 08:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808559 -2.618684)'), GeomFromEWKT('SRID=4674;POINT (-39.808567 -2.618633)'))) / (select extract(epoch from '2026-07-22 08:13:16'::timestamp) - extract(epoch from '2026-07-22 08:12: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'), 47870, 'SRID=4674;POINT (-39.808565 -2.618598)', '2026-07-22 08:13:46', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808567 -2.618633)'), GeomFromEWKT('SRID=4674;POINT (-39.808565 -2.618598)'))) / (select extract(epoch from '2026-07-22 08:13:46'::timestamp) - extract(epoch from '2026-07-22 08:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808567 -2.618633)'), GeomFromEWKT('SRID=4674;POINT (-39.808565 -2.618598)'))) / (select extract(epoch from '2026-07-22 08:13:46'::timestamp) - extract(epoch from '2026-07-22 08:13: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'), 47870, 'SRID=4674;POINT (-39.808593 -2.618607)', '2026-07-22 08:14:16', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808565 -2.618598)'), GeomFromEWKT('SRID=4674;POINT (-39.808593 -2.618607)'))) / (select extract(epoch from '2026-07-22 08:14:16'::timestamp) - extract(epoch from '2026-07-22 08:13:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808565 -2.618598)'), GeomFromEWKT('SRID=4674;POINT (-39.808593 -2.618607)'))) / (select extract(epoch from '2026-07-22 08:14:16'::timestamp) - extract(epoch from '2026-07-22 08:13:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808606 -2.618582)', '2026-07-22 08:14:28', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808593 -2.618607)'), GeomFromEWKT('SRID=4674;POINT (-39.808606 -2.618582)'))) / (select extract(epoch from '2026-07-22 08:14:28'::timestamp) - extract(epoch from '2026-07-22 08:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808593 -2.618607)'), GeomFromEWKT('SRID=4674;POINT (-39.808606 -2.618582)'))) / (select extract(epoch from '2026-07-22 08:14:28'::timestamp) - extract(epoch from '2026-07-22 08:14: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'), 47870, 'SRID=4674;POINT (-39.808614 -2.618565)', '2026-07-22 08:14:34', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808606 -2.618582)'), GeomFromEWKT('SRID=4674;POINT (-39.808614 -2.618565)'))) / (select extract(epoch from '2026-07-22 08:14:34'::timestamp) - extract(epoch from '2026-07-22 08:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808606 -2.618582)'), GeomFromEWKT('SRID=4674;POINT (-39.808614 -2.618565)'))) / (select extract(epoch from '2026-07-22 08:14:34'::timestamp) - extract(epoch from '2026-07-22 08:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808609 -2.618562)', '2026-07-22 08:15:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808614 -2.618565)'), GeomFromEWKT('SRID=4674;POINT (-39.808609 -2.618562)'))) / (select extract(epoch from '2026-07-22 08:15:20'::timestamp) - extract(epoch from '2026-07-22 08:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808614 -2.618565)'), GeomFromEWKT('SRID=4674;POINT (-39.808609 -2.618562)'))) / (select extract(epoch from '2026-07-22 08:15:20'::timestamp) - extract(epoch from '2026-07-22 08:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80862 -2.618514)', '2026-07-22 08:15:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808609 -2.618562)'), GeomFromEWKT('SRID=4674;POINT (-39.80862 -2.618514)'))) / (select extract(epoch from '2026-07-22 08:15:33'::timestamp) - extract(epoch from '2026-07-22 08:15:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808609 -2.618562)'), GeomFromEWKT('SRID=4674;POINT (-39.80862 -2.618514)'))) / (select extract(epoch from '2026-07-22 08:15:33'::timestamp) - extract(epoch from '2026-07-22 08:15:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808651 -2.618465)', '2026-07-22 08:15:44', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80862 -2.618514)'), GeomFromEWKT('SRID=4674;POINT (-39.808651 -2.618465)'))) / (select extract(epoch from '2026-07-22 08:15:44'::timestamp) - extract(epoch from '2026-07-22 08:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80862 -2.618514)'), GeomFromEWKT('SRID=4674;POINT (-39.808651 -2.618465)'))) / (select extract(epoch from '2026-07-22 08:15:44'::timestamp) - extract(epoch from '2026-07-22 08:15: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'), 47870, 'SRID=4674;POINT (-39.808684 -2.61844)', '2026-07-22 08:15:51', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808651 -2.618465)'), GeomFromEWKT('SRID=4674;POINT (-39.808684 -2.61844)'))) / (select extract(epoch from '2026-07-22 08:15:51'::timestamp) - extract(epoch from '2026-07-22 08:15:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808651 -2.618465)'), GeomFromEWKT('SRID=4674;POINT (-39.808684 -2.61844)'))) / (select extract(epoch from '2026-07-22 08:15:51'::timestamp) - extract(epoch from '2026-07-22 08:15: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'), 47870, 'SRID=4674;POINT (-39.808726 -2.618387)', '2026-07-22 08:16:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808684 -2.61844)'), GeomFromEWKT('SRID=4674;POINT (-39.808726 -2.618387)'))) / (select extract(epoch from '2026-07-22 08:16:01'::timestamp) - extract(epoch from '2026-07-22 08:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808684 -2.61844)'), GeomFromEWKT('SRID=4674;POINT (-39.808726 -2.618387)'))) / (select extract(epoch from '2026-07-22 08:16:01'::timestamp) - extract(epoch from '2026-07-22 08:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808777 -2.618354)', '2026-07-22 08:16:11', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808726 -2.618387)'), GeomFromEWKT('SRID=4674;POINT (-39.808777 -2.618354)'))) / (select extract(epoch from '2026-07-22 08:16:11'::timestamp) - extract(epoch from '2026-07-22 08:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808726 -2.618387)'), GeomFromEWKT('SRID=4674;POINT (-39.808777 -2.618354)'))) / (select extract(epoch from '2026-07-22 08:16:11'::timestamp) - extract(epoch from '2026-07-22 08:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808833 -2.618317)', '2026-07-22 08:16:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808777 -2.618354)'), GeomFromEWKT('SRID=4674;POINT (-39.808833 -2.618317)'))) / (select extract(epoch from '2026-07-22 08:16:20'::timestamp) - extract(epoch from '2026-07-22 08:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808777 -2.618354)'), GeomFromEWKT('SRID=4674;POINT (-39.808833 -2.618317)'))) / (select extract(epoch from '2026-07-22 08:16:20'::timestamp) - extract(epoch from '2026-07-22 08:16: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'), 47870, 'SRID=4674;POINT (-39.808899 -2.618277)', '2026-07-22 08:16:32', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808833 -2.618317)'), GeomFromEWKT('SRID=4674;POINT (-39.808899 -2.618277)'))) / (select extract(epoch from '2026-07-22 08:16:32'::timestamp) - extract(epoch from '2026-07-22 08:16:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808833 -2.618317)'), GeomFromEWKT('SRID=4674;POINT (-39.808899 -2.618277)'))) / (select extract(epoch from '2026-07-22 08:16:32'::timestamp) - extract(epoch from '2026-07-22 08:16: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'), 47870, 'SRID=4674;POINT (-39.808902 -2.618242)', '2026-07-22 08:16:40', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808899 -2.618277)'), GeomFromEWKT('SRID=4674;POINT (-39.808902 -2.618242)'))) / (select extract(epoch from '2026-07-22 08:16:40'::timestamp) - extract(epoch from '2026-07-22 08:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808899 -2.618277)'), GeomFromEWKT('SRID=4674;POINT (-39.808902 -2.618242)'))) / (select extract(epoch from '2026-07-22 08:16:40'::timestamp) - extract(epoch from '2026-07-22 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'), 47870, 'SRID=4674;POINT (-39.808901 -2.618227)', '2026-07-22 08:16:48', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808902 -2.618242)'), GeomFromEWKT('SRID=4674;POINT (-39.808901 -2.618227)'))) / (select extract(epoch from '2026-07-22 08:16:48'::timestamp) - extract(epoch from '2026-07-22 08:16:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808902 -2.618242)'), GeomFromEWKT('SRID=4674;POINT (-39.808901 -2.618227)'))) / (select extract(epoch from '2026-07-22 08:16:48'::timestamp) - extract(epoch from '2026-07-22 08:16:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808864 -2.618241)', '2026-07-22 08:16:55', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808901 -2.618227)'), GeomFromEWKT('SRID=4674;POINT (-39.808864 -2.618241)'))) / (select extract(epoch from '2026-07-22 08:16:55'::timestamp) - extract(epoch from '2026-07-22 08:16:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808901 -2.618227)'), GeomFromEWKT('SRID=4674;POINT (-39.808864 -2.618241)'))) / (select extract(epoch from '2026-07-22 08:16:55'::timestamp) - extract(epoch from '2026-07-22 08:16: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'), 47870, 'SRID=4674;POINT (-39.8088 -2.618316)', '2026-07-22 08:17:04', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808864 -2.618241)'), GeomFromEWKT('SRID=4674;POINT (-39.8088 -2.618316)'))) / (select extract(epoch from '2026-07-22 08:17:04'::timestamp) - extract(epoch from '2026-07-22 08:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808864 -2.618241)'), GeomFromEWKT('SRID=4674;POINT (-39.8088 -2.618316)'))) / (select extract(epoch from '2026-07-22 08:17:04'::timestamp) - extract(epoch from '2026-07-22 08:16:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808791 -2.618323)', '2026-07-22 08:17:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8088 -2.618316)'), GeomFromEWKT('SRID=4674;POINT (-39.808791 -2.618323)'))) / (select extract(epoch from '2026-07-22 08:17:05'::timestamp) - extract(epoch from '2026-07-22 08:17:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.8088 -2.618316)'), GeomFromEWKT('SRID=4674;POINT (-39.808791 -2.618323)'))) / (select extract(epoch from '2026-07-22 08:17:05'::timestamp) - extract(epoch from '2026-07-22 08:17:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808713 -2.618374)', '2026-07-22 08:17:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808791 -2.618323)'), GeomFromEWKT('SRID=4674;POINT (-39.808713 -2.618374)'))) / (select extract(epoch from '2026-07-22 08:17:13'::timestamp) - extract(epoch from '2026-07-22 08:17:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808791 -2.618323)'), GeomFromEWKT('SRID=4674;POINT (-39.808713 -2.618374)'))) / (select extract(epoch from '2026-07-22 08:17:13'::timestamp) - extract(epoch from '2026-07-22 08:17: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'), 47870, 'SRID=4674;POINT (-39.808704 -2.618477)', '2026-07-22 08:17:20', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808713 -2.618374)'), GeomFromEWKT('SRID=4674;POINT (-39.808704 -2.618477)'))) / (select extract(epoch from '2026-07-22 08:17:20'::timestamp) - extract(epoch from '2026-07-22 08:17:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808713 -2.618374)'), GeomFromEWKT('SRID=4674;POINT (-39.808704 -2.618477)'))) / (select extract(epoch from '2026-07-22 08:17:20'::timestamp) - extract(epoch from '2026-07-22 08:17: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'), 47870, 'SRID=4674;POINT (-39.808716 -2.618549)', '2026-07-22 08:17:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808704 -2.618477)'), GeomFromEWKT('SRID=4674;POINT (-39.808716 -2.618549)'))) / (select extract(epoch from '2026-07-22 08:17:25'::timestamp) - extract(epoch from '2026-07-22 08:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808704 -2.618477)'), GeomFromEWKT('SRID=4674;POINT (-39.808716 -2.618549)'))) / (select extract(epoch from '2026-07-22 08:17:25'::timestamp) - extract(epoch from '2026-07-22 08:17: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'), 47870, 'SRID=4674;POINT (-39.808723 -2.618563)', '2026-07-22 08:17:26', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808716 -2.618549)'), GeomFromEWKT('SRID=4674;POINT (-39.808723 -2.618563)'))) / (select extract(epoch from '2026-07-22 08:17:26'::timestamp) - extract(epoch from '2026-07-22 08:17:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808716 -2.618549)'), GeomFromEWKT('SRID=4674;POINT (-39.808723 -2.618563)'))) / (select extract(epoch from '2026-07-22 08:17:26'::timestamp) - extract(epoch from '2026-07-22 08:17: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'), 47870, 'SRID=4674;POINT (-39.808734 -2.618672)', '2026-07-22 08:17:33', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808723 -2.618563)'), GeomFromEWKT('SRID=4674;POINT (-39.808734 -2.618672)'))) / (select extract(epoch from '2026-07-22 08:17:33'::timestamp) - extract(epoch from '2026-07-22 08:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808723 -2.618563)'), GeomFromEWKT('SRID=4674;POINT (-39.808734 -2.618672)'))) / (select extract(epoch from '2026-07-22 08:17:33'::timestamp) - extract(epoch from '2026-07-22 08:17:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808715 -2.618753)', '2026-07-22 08:17:39', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808734 -2.618672)'), GeomFromEWKT('SRID=4674;POINT (-39.808715 -2.618753)'))) / (select extract(epoch from '2026-07-22 08:17:39'::timestamp) - extract(epoch from '2026-07-22 08:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808734 -2.618672)'), GeomFromEWKT('SRID=4674;POINT (-39.808715 -2.618753)'))) / (select extract(epoch from '2026-07-22 08:17:39'::timestamp) - extract(epoch from '2026-07-22 08:17:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808694 -2.61887)', '2026-07-22 08:17:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808715 -2.618753)'), GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.61887)'))) / (select extract(epoch from '2026-07-22 08:17:47'::timestamp) - extract(epoch from '2026-07-22 08:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808715 -2.618753)'), GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.61887)'))) / (select extract(epoch from '2026-07-22 08:17:47'::timestamp) - extract(epoch from '2026-07-22 08:17: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'), 47870, 'SRID=4674;POINT (-39.808661 -2.618978)', '2026-07-22 08:17:55', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.61887)'), GeomFromEWKT('SRID=4674;POINT (-39.808661 -2.618978)'))) / (select extract(epoch from '2026-07-22 08:17:55'::timestamp) - extract(epoch from '2026-07-22 08:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808694 -2.61887)'), GeomFromEWKT('SRID=4674;POINT (-39.808661 -2.618978)'))) / (select extract(epoch from '2026-07-22 08:17:55'::timestamp) - extract(epoch from '2026-07-22 08:17:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80863 -2.619073)', '2026-07-22 08:18:01', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808661 -2.618978)'), GeomFromEWKT('SRID=4674;POINT (-39.80863 -2.619073)'))) / (select extract(epoch from '2026-07-22 08:18:01'::timestamp) - extract(epoch from '2026-07-22 08:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808661 -2.618978)'), GeomFromEWKT('SRID=4674;POINT (-39.80863 -2.619073)'))) / (select extract(epoch from '2026-07-22 08:18:01'::timestamp) - extract(epoch from '2026-07-22 08:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808577 -2.619195)', '2026-07-22 08:18:09', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80863 -2.619073)'), GeomFromEWKT('SRID=4674;POINT (-39.808577 -2.619195)'))) / (select extract(epoch from '2026-07-22 08:18:09'::timestamp) - extract(epoch from '2026-07-22 08:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80863 -2.619073)'), GeomFromEWKT('SRID=4674;POINT (-39.808577 -2.619195)'))) / (select extract(epoch from '2026-07-22 08:18:09'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47870, 'SRID=4674;POINT (-39.80851 -2.619273)', '2026-07-22 08:18:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808577 -2.619195)'), GeomFromEWKT('SRID=4674;POINT (-39.80851 -2.619273)'))) / (select extract(epoch from '2026-07-22 08:18:15'::timestamp) - extract(epoch from '2026-07-22 08:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808577 -2.619195)'), GeomFromEWKT('SRID=4674;POINT (-39.80851 -2.619273)'))) / (select extract(epoch from '2026-07-22 08:18:15'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47870, 'SRID=4674;POINT (-39.808445 -2.619345)', '2026-07-22 08:18:21', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80851 -2.619273)'), GeomFromEWKT('SRID=4674;POINT (-39.808445 -2.619345)'))) / (select extract(epoch from '2026-07-22 08:18:21'::timestamp) - extract(epoch from '2026-07-22 08:18:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80851 -2.619273)'), GeomFromEWKT('SRID=4674;POINT (-39.808445 -2.619345)'))) / (select extract(epoch from '2026-07-22 08:18:21'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47870, 'SRID=4674;POINT (-39.808396 -2.619392)', '2026-07-22 08:18:27', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808445 -2.619345)'), GeomFromEWKT('SRID=4674;POINT (-39.808396 -2.619392)'))) / (select extract(epoch from '2026-07-22 08:18:27'::timestamp) - extract(epoch from '2026-07-22 08:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808445 -2.619345)'), GeomFromEWKT('SRID=4674;POINT (-39.808396 -2.619392)'))) / (select extract(epoch from '2026-07-22 08:18:27'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47870, 'SRID=4674;POINT (-39.808344 -2.619432)', '2026-07-22 08:18:33', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808396 -2.619392)'), GeomFromEWKT('SRID=4674;POINT (-39.808344 -2.619432)'))) / (select extract(epoch from '2026-07-22 08:18:33'::timestamp) - extract(epoch from '2026-07-22 08:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808396 -2.619392)'), GeomFromEWKT('SRID=4674;POINT (-39.808344 -2.619432)'))) / (select extract(epoch from '2026-07-22 08:18:33'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47870, 'SRID=4674;POINT (-39.808286 -2.619478)', '2026-07-22 08:18:39', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808344 -2.619432)'), GeomFromEWKT('SRID=4674;POINT (-39.808286 -2.619478)'))) / (select extract(epoch from '2026-07-22 08:18:39'::timestamp) - extract(epoch from '2026-07-22 08:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808344 -2.619432)'), GeomFromEWKT('SRID=4674;POINT (-39.808286 -2.619478)'))) / (select extract(epoch from '2026-07-22 08:18:39'::timestamp) - extract(epoch from '2026-07-22 08:18:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80824 -2.619529)', '2026-07-22 08:18:45', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808286 -2.619478)'), GeomFromEWKT('SRID=4674;POINT (-39.80824 -2.619529)'))) / (select extract(epoch from '2026-07-22 08:18:45'::timestamp) - extract(epoch from '2026-07-22 08:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808286 -2.619478)'), GeomFromEWKT('SRID=4674;POINT (-39.80824 -2.619529)'))) / (select extract(epoch from '2026-07-22 08:18:45'::timestamp) - extract(epoch from '2026-07-22 08:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80823 -2.619532)', '2026-07-22 08:18:46', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80824 -2.619529)'), GeomFromEWKT('SRID=4674;POINT (-39.80823 -2.619532)'))) / (select extract(epoch from '2026-07-22 08:18:46'::timestamp) - extract(epoch from '2026-07-22 08:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80824 -2.619529)'), GeomFromEWKT('SRID=4674;POINT (-39.80823 -2.619532)'))) / (select extract(epoch from '2026-07-22 08:18:46'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47870, 'SRID=4674;POINT (-39.808197 -2.619556)', '2026-07-22 08:18:50', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80823 -2.619532)'), GeomFromEWKT('SRID=4674;POINT (-39.808197 -2.619556)'))) / (select extract(epoch from '2026-07-22 08:18:50'::timestamp) - extract(epoch from '2026-07-22 08:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80823 -2.619532)'), GeomFromEWKT('SRID=4674;POINT (-39.808197 -2.619556)'))) / (select extract(epoch from '2026-07-22 08:18:50'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47870, 'SRID=4674;POINT (-39.808174 -2.619576)', '2026-07-22 08:18:52', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808197 -2.619556)'), GeomFromEWKT('SRID=4674;POINT (-39.808174 -2.619576)'))) / (select extract(epoch from '2026-07-22 08:18:52'::timestamp) - extract(epoch from '2026-07-22 08:18:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808197 -2.619556)'), GeomFromEWKT('SRID=4674;POINT (-39.808174 -2.619576)'))) / (select extract(epoch from '2026-07-22 08:18:52'::timestamp) - extract(epoch from '2026-07-22 08:18:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808072 -2.619647)', '2026-07-22 08:18:59', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808174 -2.619576)'), GeomFromEWKT('SRID=4674;POINT (-39.808072 -2.619647)'))) / (select extract(epoch from '2026-07-22 08:18:59'::timestamp) - extract(epoch from '2026-07-22 08:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808174 -2.619576)'), GeomFromEWKT('SRID=4674;POINT (-39.808072 -2.619647)'))) / (select extract(epoch from '2026-07-22 08:18:59'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47870, 'SRID=4674;POINT (-39.807956 -2.619706)', '2026-07-22 08:19:05', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808072 -2.619647)'), GeomFromEWKT('SRID=4674;POINT (-39.807956 -2.619706)'))) / (select extract(epoch from '2026-07-22 08:19:05'::timestamp) - extract(epoch from '2026-07-22 08:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808072 -2.619647)'), GeomFromEWKT('SRID=4674;POINT (-39.807956 -2.619706)'))) / (select extract(epoch from '2026-07-22 08:19:05'::timestamp) - extract(epoch from '2026-07-22 08:18: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'), 47870, 'SRID=4674;POINT (-39.807862 -2.61978)', '2026-07-22 08:19:11', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807956 -2.619706)'), GeomFromEWKT('SRID=4674;POINT (-39.807862 -2.61978)'))) / (select extract(epoch from '2026-07-22 08:19:11'::timestamp) - extract(epoch from '2026-07-22 08:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807956 -2.619706)'), GeomFromEWKT('SRID=4674;POINT (-39.807862 -2.61978)'))) / (select extract(epoch from '2026-07-22 08:19:11'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47870, 'SRID=4674;POINT (-39.807833 -2.619873)', '2026-07-22 08:19:17', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807862 -2.61978)'), GeomFromEWKT('SRID=4674;POINT (-39.807833 -2.619873)'))) / (select extract(epoch from '2026-07-22 08:19:17'::timestamp) - extract(epoch from '2026-07-22 08:19:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807862 -2.61978)'), GeomFromEWKT('SRID=4674;POINT (-39.807833 -2.619873)'))) / (select extract(epoch from '2026-07-22 08:19:17'::timestamp) - extract(epoch from '2026-07-22 08:19:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807796 -2.619995)', '2026-07-22 08:19:24', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807833 -2.619873)'), GeomFromEWKT('SRID=4674;POINT (-39.807796 -2.619995)'))) / (select extract(epoch from '2026-07-22 08:19:24'::timestamp) - extract(epoch from '2026-07-22 08:19:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807833 -2.619873)'), GeomFromEWKT('SRID=4674;POINT (-39.807796 -2.619995)'))) / (select extract(epoch from '2026-07-22 08:19:24'::timestamp) - extract(epoch from '2026-07-22 08:19:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807755 -2.620097)', '2026-07-22 08:19:30', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807796 -2.619995)'), GeomFromEWKT('SRID=4674;POINT (-39.807755 -2.620097)'))) / (select extract(epoch from '2026-07-22 08:19:30'::timestamp) - extract(epoch from '2026-07-22 08:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807796 -2.619995)'), GeomFromEWKT('SRID=4674;POINT (-39.807755 -2.620097)'))) / (select extract(epoch from '2026-07-22 08:19:30'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47870, 'SRID=4674;POINT (-39.807689 -2.62021)', '2026-07-22 08:19:37', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807755 -2.620097)'), GeomFromEWKT('SRID=4674;POINT (-39.807689 -2.62021)'))) / (select extract(epoch from '2026-07-22 08:19:37'::timestamp) - extract(epoch from '2026-07-22 08:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807755 -2.620097)'), GeomFromEWKT('SRID=4674;POINT (-39.807689 -2.62021)'))) / (select extract(epoch from '2026-07-22 08:19:37'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47870, 'SRID=4674;POINT (-39.807609 -2.62029)', '2026-07-22 08:19:44', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807689 -2.62021)'), GeomFromEWKT('SRID=4674;POINT (-39.807609 -2.62029)'))) / (select extract(epoch from '2026-07-22 08:19:44'::timestamp) - extract(epoch from '2026-07-22 08:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807689 -2.62021)'), GeomFromEWKT('SRID=4674;POINT (-39.807609 -2.62029)'))) / (select extract(epoch from '2026-07-22 08:19:44'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47870, 'SRID=4674;POINT (-39.807573 -2.620313)', '2026-07-22 08:19:47', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807609 -2.62029)'), GeomFromEWKT('SRID=4674;POINT (-39.807573 -2.620313)'))) / (select extract(epoch from '2026-07-22 08:19:47'::timestamp) - extract(epoch from '2026-07-22 08:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807609 -2.62029)'), GeomFromEWKT('SRID=4674;POINT (-39.807573 -2.620313)'))) / (select extract(epoch from '2026-07-22 08:19:47'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47870, 'SRID=4674;POINT (-39.807543 -2.620312)', '2026-07-22 08:19:50', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807573 -2.620313)'), GeomFromEWKT('SRID=4674;POINT (-39.807543 -2.620312)'))) / (select extract(epoch from '2026-07-22 08:19:50'::timestamp) - extract(epoch from '2026-07-22 08:19:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807573 -2.620313)'), GeomFromEWKT('SRID=4674;POINT (-39.807543 -2.620312)'))) / (select extract(epoch from '2026-07-22 08:19:50'::timestamp) - extract(epoch from '2026-07-22 08:19:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80753 -2.620265)', '2026-07-22 08:20:00', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807543 -2.620312)'), GeomFromEWKT('SRID=4674;POINT (-39.80753 -2.620265)'))) / (select extract(epoch from '2026-07-22 08:20:00'::timestamp) - extract(epoch from '2026-07-22 08:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807543 -2.620312)'), GeomFromEWKT('SRID=4674;POINT (-39.80753 -2.620265)'))) / (select extract(epoch from '2026-07-22 08:20:00'::timestamp) - extract(epoch from '2026-07-22 08:19: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'), 47870, 'SRID=4674;POINT (-39.807538 -2.620236)', '2026-07-22 08:20:07', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80753 -2.620265)'), GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.620236)'))) / (select extract(epoch from '2026-07-22 08:20:07'::timestamp) - extract(epoch from '2026-07-22 08:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80753 -2.620265)'), GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.620236)'))) / (select extract(epoch from '2026-07-22 08:20:07'::timestamp) - extract(epoch from '2026-07-22 08:20: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'), 47870, 'SRID=4674;POINT (-39.80756 -2.620206)', '2026-07-22 08:20:14', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.620236)'), GeomFromEWKT('SRID=4674;POINT (-39.80756 -2.620206)'))) / (select extract(epoch from '2026-07-22 08:20:14'::timestamp) - extract(epoch from '2026-07-22 08:20:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807538 -2.620236)'), GeomFromEWKT('SRID=4674;POINT (-39.80756 -2.620206)'))) / (select extract(epoch from '2026-07-22 08:20:14'::timestamp) - extract(epoch from '2026-07-22 08:20:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80763 -2.620154)', '2026-07-22 08:20:31', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80756 -2.620206)'), GeomFromEWKT('SRID=4674;POINT (-39.80763 -2.620154)'))) / (select extract(epoch from '2026-07-22 08:20:31'::timestamp) - extract(epoch from '2026-07-22 08:20:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80756 -2.620206)'), GeomFromEWKT('SRID=4674;POINT (-39.80763 -2.620154)'))) / (select extract(epoch from '2026-07-22 08:20:31'::timestamp) - extract(epoch from '2026-07-22 08:20:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807712 -2.620109)', '2026-07-22 08:20:44', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80763 -2.620154)'), GeomFromEWKT('SRID=4674;POINT (-39.807712 -2.620109)'))) / (select extract(epoch from '2026-07-22 08:20:44'::timestamp) - extract(epoch from '2026-07-22 08:20:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80763 -2.620154)'), GeomFromEWKT('SRID=4674;POINT (-39.807712 -2.620109)'))) / (select extract(epoch from '2026-07-22 08:20:44'::timestamp) - extract(epoch from '2026-07-22 08:20: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'), 47870, 'SRID=4674;POINT (-39.807716 -2.620073)', '2026-07-22 08:20:55', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807712 -2.620109)'), GeomFromEWKT('SRID=4674;POINT (-39.807716 -2.620073)'))) / (select extract(epoch from '2026-07-22 08:20:55'::timestamp) - extract(epoch from '2026-07-22 08:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807712 -2.620109)'), GeomFromEWKT('SRID=4674;POINT (-39.807716 -2.620073)'))) / (select extract(epoch from '2026-07-22 08:20:55'::timestamp) - extract(epoch from '2026-07-22 08:20: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'), 47870, 'SRID=4674;POINT (-39.807718 -2.620048)', '2026-07-22 08:21:07', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807716 -2.620073)'), GeomFromEWKT('SRID=4674;POINT (-39.807718 -2.620048)'))) / (select extract(epoch from '2026-07-22 08:21:07'::timestamp) - extract(epoch from '2026-07-22 08:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807716 -2.620073)'), GeomFromEWKT('SRID=4674;POINT (-39.807718 -2.620048)'))) / (select extract(epoch from '2026-07-22 08:21:07'::timestamp) - extract(epoch from '2026-07-22 08:20: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'), 47870, 'SRID=4674;POINT (-39.807733 -2.620031)', '2026-07-22 08:21:13', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807718 -2.620048)'), GeomFromEWKT('SRID=4674;POINT (-39.807733 -2.620031)'))) / (select extract(epoch from '2026-07-22 08:21:13'::timestamp) - extract(epoch from '2026-07-22 08:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807718 -2.620048)'), GeomFromEWKT('SRID=4674;POINT (-39.807733 -2.620031)'))) / (select extract(epoch from '2026-07-22 08:21:13'::timestamp) - extract(epoch from '2026-07-22 08:21: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'), 47870, 'SRID=4674;POINT (-39.807759 -2.619989)', '2026-07-22 08:21:23', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807733 -2.620031)'), GeomFromEWKT('SRID=4674;POINT (-39.807759 -2.619989)'))) / (select extract(epoch from '2026-07-22 08:21:23'::timestamp) - extract(epoch from '2026-07-22 08:21:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807733 -2.620031)'), GeomFromEWKT('SRID=4674;POINT (-39.807759 -2.619989)'))) / (select extract(epoch from '2026-07-22 08:21:23'::timestamp) - extract(epoch from '2026-07-22 08:21: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'), 47870, 'SRID=4674;POINT (-39.807766 -2.61998)', '2026-07-22 08:21:34', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807759 -2.619989)'), GeomFromEWKT('SRID=4674;POINT (-39.807766 -2.61998)'))) / (select extract(epoch from '2026-07-22 08:21:34'::timestamp) - extract(epoch from '2026-07-22 08:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807759 -2.619989)'), GeomFromEWKT('SRID=4674;POINT (-39.807766 -2.61998)'))) / (select extract(epoch from '2026-07-22 08:21:34'::timestamp) - extract(epoch from '2026-07-22 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'), 47870, 'SRID=4674;POINT (-39.807764 -2.619991)', '2026-07-22 08:21:48', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807766 -2.61998)'), GeomFromEWKT('SRID=4674;POINT (-39.807764 -2.619991)'))) / (select extract(epoch from '2026-07-22 08:21:48'::timestamp) - extract(epoch from '2026-07-22 08:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807766 -2.61998)'), GeomFromEWKT('SRID=4674;POINT (-39.807764 -2.619991)'))) / (select extract(epoch from '2026-07-22 08:21:48'::timestamp) - extract(epoch from '2026-07-22 08:21: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'), 47870, 'SRID=4674;POINT (-39.807765 -2.619974)', '2026-07-22 08:22:16', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807764 -2.619991)'), GeomFromEWKT('SRID=4674;POINT (-39.807765 -2.619974)'))) / (select extract(epoch from '2026-07-22 08:22:16'::timestamp) - extract(epoch from '2026-07-22 08:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807764 -2.619991)'), GeomFromEWKT('SRID=4674;POINT (-39.807765 -2.619974)'))) / (select extract(epoch from '2026-07-22 08:22:16'::timestamp) - extract(epoch from '2026-07-22 08:21: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'), 47870, 'SRID=4674;POINT (-39.807796 -2.619937)', '2026-07-22 08:22:44', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807765 -2.619974)'), GeomFromEWKT('SRID=4674;POINT (-39.807796 -2.619937)'))) / (select extract(epoch from '2026-07-22 08:22:44'::timestamp) - extract(epoch from '2026-07-22 08:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807765 -2.619974)'), GeomFromEWKT('SRID=4674;POINT (-39.807796 -2.619937)'))) / (select extract(epoch from '2026-07-22 08:22:44'::timestamp) - extract(epoch from '2026-07-22 08:22: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'), 47870, 'SRID=4674;POINT (-39.807811 -2.619913)', '2026-07-22 08:22:56', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807796 -2.619937)'), GeomFromEWKT('SRID=4674;POINT (-39.807811 -2.619913)'))) / (select extract(epoch from '2026-07-22 08:22:56'::timestamp) - extract(epoch from '2026-07-22 08:22:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807796 -2.619937)'), GeomFromEWKT('SRID=4674;POINT (-39.807811 -2.619913)'))) / (select extract(epoch from '2026-07-22 08:22:56'::timestamp) - extract(epoch from '2026-07-22 08:22: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'), 47870, 'SRID=4674;POINT (-39.807839 -2.619902)', '2026-07-22 08:23:03', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807811 -2.619913)'), GeomFromEWKT('SRID=4674;POINT (-39.807839 -2.619902)'))) / (select extract(epoch from '2026-07-22 08:23:03'::timestamp) - extract(epoch from '2026-07-22 08:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807811 -2.619913)'), GeomFromEWKT('SRID=4674;POINT (-39.807839 -2.619902)'))) / (select extract(epoch from '2026-07-22 08:23:03'::timestamp) - extract(epoch from '2026-07-22 08:22: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'), 47870, 'SRID=4674;POINT (-39.807858 -2.619884)', '2026-07-22 08:23:08', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807839 -2.619902)'), GeomFromEWKT('SRID=4674;POINT (-39.807858 -2.619884)'))) / (select extract(epoch from '2026-07-22 08:23:08'::timestamp) - extract(epoch from '2026-07-22 08:23:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807839 -2.619902)'), GeomFromEWKT('SRID=4674;POINT (-39.807858 -2.619884)'))) / (select extract(epoch from '2026-07-22 08:23:08'::timestamp) - extract(epoch from '2026-07-22 08:23: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'), 47870, 'SRID=4674;POINT (-39.807883 -2.619852)', '2026-07-22 08:23:18', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807858 -2.619884)'), GeomFromEWKT('SRID=4674;POINT (-39.807883 -2.619852)'))) / (select extract(epoch from '2026-07-22 08:23:18'::timestamp) - extract(epoch from '2026-07-22 08:23:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807858 -2.619884)'), GeomFromEWKT('SRID=4674;POINT (-39.807883 -2.619852)'))) / (select extract(epoch from '2026-07-22 08:23:18'::timestamp) - extract(epoch from '2026-07-22 08:23: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'), 47870, 'SRID=4674;POINT (-39.807892 -2.619851)', '2026-07-22 08:23:24', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807883 -2.619852)'), GeomFromEWKT('SRID=4674;POINT (-39.807892 -2.619851)'))) / (select extract(epoch from '2026-07-22 08:23:24'::timestamp) - extract(epoch from '2026-07-22 08:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807883 -2.619852)'), GeomFromEWKT('SRID=4674;POINT (-39.807892 -2.619851)'))) / (select extract(epoch from '2026-07-22 08:23:24'::timestamp) - extract(epoch from '2026-07-22 08:23: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'), 47870, 'SRID=4674;POINT (-39.807897 -2.619873)', '2026-07-22 08:23:58', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807892 -2.619851)'), GeomFromEWKT('SRID=4674;POINT (-39.807897 -2.619873)'))) / (select extract(epoch from '2026-07-22 08:23:58'::timestamp) - extract(epoch from '2026-07-22 08:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807892 -2.619851)'), GeomFromEWKT('SRID=4674;POINT (-39.807897 -2.619873)'))) / (select extract(epoch from '2026-07-22 08:23:58'::timestamp) - extract(epoch from '2026-07-22 08:23: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'), 47870, 'SRID=4674;POINT (-39.807912 -2.619858)', '2026-07-22 08:24:08', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807897 -2.619873)'), GeomFromEWKT('SRID=4674;POINT (-39.807912 -2.619858)'))) / (select extract(epoch from '2026-07-22 08:24:08'::timestamp) - extract(epoch from '2026-07-22 08:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807897 -2.619873)'), GeomFromEWKT('SRID=4674;POINT (-39.807912 -2.619858)'))) / (select extract(epoch from '2026-07-22 08:24:08'::timestamp) - extract(epoch from '2026-07-22 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'), 47870, 'SRID=4674;POINT (-39.807918 -2.61986)', '2026-07-22 08:24:17', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807912 -2.619858)'), GeomFromEWKT('SRID=4674;POINT (-39.807918 -2.61986)'))) / (select extract(epoch from '2026-07-22 08:24:17'::timestamp) - extract(epoch from '2026-07-22 08:24:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807912 -2.619858)'), GeomFromEWKT('SRID=4674;POINT (-39.807918 -2.61986)'))) / (select extract(epoch from '2026-07-22 08:24:17'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47870, 'SRID=4674;POINT (-39.807865 -2.619922)', '2026-07-22 08:24:27', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807918 -2.61986)'), GeomFromEWKT('SRID=4674;POINT (-39.807865 -2.619922)'))) / (select extract(epoch from '2026-07-22 08:24:27'::timestamp) - extract(epoch from '2026-07-22 08:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807918 -2.61986)'), GeomFromEWKT('SRID=4674;POINT (-39.807865 -2.619922)'))) / (select extract(epoch from '2026-07-22 08:24:27'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47870, 'SRID=4674;POINT (-39.807824 -2.620011)', '2026-07-22 08:24:33', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807865 -2.619922)'), GeomFromEWKT('SRID=4674;POINT (-39.807824 -2.620011)'))) / (select extract(epoch from '2026-07-22 08:24:33'::timestamp) - extract(epoch from '2026-07-22 08:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807865 -2.619922)'), GeomFromEWKT('SRID=4674;POINT (-39.807824 -2.620011)'))) / (select extract(epoch from '2026-07-22 08:24:33'::timestamp) - extract(epoch from '2026-07-22 08:24:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80776 -2.620102)', '2026-07-22 08:24:40', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807824 -2.620011)'), GeomFromEWKT('SRID=4674;POINT (-39.80776 -2.620102)'))) / (select extract(epoch from '2026-07-22 08:24:40'::timestamp) - extract(epoch from '2026-07-22 08:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807824 -2.620011)'), GeomFromEWKT('SRID=4674;POINT (-39.80776 -2.620102)'))) / (select extract(epoch from '2026-07-22 08:24:40'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47870, 'SRID=4674;POINT (-39.807674 -2.620153)', '2026-07-22 08:24:45', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80776 -2.620102)'), GeomFromEWKT('SRID=4674;POINT (-39.807674 -2.620153)'))) / (select extract(epoch from '2026-07-22 08:24:45'::timestamp) - extract(epoch from '2026-07-22 08:24:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80776 -2.620102)'), GeomFromEWKT('SRID=4674;POINT (-39.807674 -2.620153)'))) / (select extract(epoch from '2026-07-22 08:24:45'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47870, 'SRID=4674;POINT (-39.807598 -2.620194)', '2026-07-22 08:24:51', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807674 -2.620153)'), GeomFromEWKT('SRID=4674;POINT (-39.807598 -2.620194)'))) / (select extract(epoch from '2026-07-22 08:24:51'::timestamp) - extract(epoch from '2026-07-22 08:24:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807674 -2.620153)'), GeomFromEWKT('SRID=4674;POINT (-39.807598 -2.620194)'))) / (select extract(epoch from '2026-07-22 08:24:51'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47870, 'SRID=4674;POINT (-39.807563 -2.620213)', '2026-07-22 08:24:56', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807598 -2.620194)'), GeomFromEWKT('SRID=4674;POINT (-39.807563 -2.620213)'))) / (select extract(epoch from '2026-07-22 08:24:56'::timestamp) - extract(epoch from '2026-07-22 08:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807598 -2.620194)'), GeomFromEWKT('SRID=4674;POINT (-39.807563 -2.620213)'))) / (select extract(epoch from '2026-07-22 08:24:56'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47870, 'SRID=4674;POINT (-39.807532 -2.620217)', '2026-07-22 08:25:03', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807563 -2.620213)'), GeomFromEWKT('SRID=4674;POINT (-39.807532 -2.620217)'))) / (select extract(epoch from '2026-07-22 08:25:03'::timestamp) - extract(epoch from '2026-07-22 08:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807563 -2.620213)'), GeomFromEWKT('SRID=4674;POINT (-39.807532 -2.620217)'))) / (select extract(epoch from '2026-07-22 08:25:03'::timestamp) - extract(epoch from '2026-07-22 08:24: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'), 47870, 'SRID=4674;POINT (-39.807524 -2.620184)', '2026-07-22 08:25:11', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807532 -2.620217)'), GeomFromEWKT('SRID=4674;POINT (-39.807524 -2.620184)'))) / (select extract(epoch from '2026-07-22 08:25:11'::timestamp) - extract(epoch from '2026-07-22 08:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807532 -2.620217)'), GeomFromEWKT('SRID=4674;POINT (-39.807524 -2.620184)'))) / (select extract(epoch from '2026-07-22 08:25:11'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47870, 'SRID=4674;POINT (-39.807523 -2.620174)', '2026-07-22 08:25:18', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807524 -2.620184)'), GeomFromEWKT('SRID=4674;POINT (-39.807523 -2.620174)'))) / (select extract(epoch from '2026-07-22 08:25:18'::timestamp) - extract(epoch from '2026-07-22 08:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807524 -2.620184)'), GeomFromEWKT('SRID=4674;POINT (-39.807523 -2.620174)'))) / (select extract(epoch from '2026-07-22 08:25:18'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47870, 'SRID=4674;POINT (-39.807578 -2.620134)', '2026-07-22 08:25:29', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807523 -2.620174)'), GeomFromEWKT('SRID=4674;POINT (-39.807578 -2.620134)'))) / (select extract(epoch from '2026-07-22 08:25:29'::timestamp) - extract(epoch from '2026-07-22 08:25:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807523 -2.620174)'), GeomFromEWKT('SRID=4674;POINT (-39.807578 -2.620134)'))) / (select extract(epoch from '2026-07-22 08:25:29'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47870, 'SRID=4674;POINT (-39.807622 -2.620113)', '2026-07-22 08:25:37', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807578 -2.620134)'), GeomFromEWKT('SRID=4674;POINT (-39.807622 -2.620113)'))) / (select extract(epoch from '2026-07-22 08:25:37'::timestamp) - extract(epoch from '2026-07-22 08:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807578 -2.620134)'), GeomFromEWKT('SRID=4674;POINT (-39.807622 -2.620113)'))) / (select extract(epoch from '2026-07-22 08:25:37'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47870, 'SRID=4674;POINT (-39.807703 -2.62008)', '2026-07-22 08:25:49', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807622 -2.620113)'), GeomFromEWKT('SRID=4674;POINT (-39.807703 -2.62008)'))) / (select extract(epoch from '2026-07-22 08:25:49'::timestamp) - extract(epoch from '2026-07-22 08:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807622 -2.620113)'), GeomFromEWKT('SRID=4674;POINT (-39.807703 -2.62008)'))) / (select extract(epoch from '2026-07-22 08:25:49'::timestamp) - extract(epoch from '2026-07-22 08:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807741 -2.620044)', '2026-07-22 08:25:59', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807703 -2.62008)'), GeomFromEWKT('SRID=4674;POINT (-39.807741 -2.620044)'))) / (select extract(epoch from '2026-07-22 08:25:59'::timestamp) - extract(epoch from '2026-07-22 08:25:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807703 -2.62008)'), GeomFromEWKT('SRID=4674;POINT (-39.807741 -2.620044)'))) / (select extract(epoch from '2026-07-22 08:25:59'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47870, 'SRID=4674;POINT (-39.807754 -2.620027)', '2026-07-22 08:26:02', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807741 -2.620044)'), GeomFromEWKT('SRID=4674;POINT (-39.807754 -2.620027)'))) / (select extract(epoch from '2026-07-22 08:26:02'::timestamp) - extract(epoch from '2026-07-22 08:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807741 -2.620044)'), GeomFromEWKT('SRID=4674;POINT (-39.807754 -2.620027)'))) / (select extract(epoch from '2026-07-22 08:26:02'::timestamp) - extract(epoch from '2026-07-22 08:25: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'), 47870, 'SRID=4674;POINT (-39.807752 -2.620017)', '2026-07-22 08:26:04', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807754 -2.620027)'), GeomFromEWKT('SRID=4674;POINT (-39.807752 -2.620017)'))) / (select extract(epoch from '2026-07-22 08:26:04'::timestamp) - extract(epoch from '2026-07-22 08:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807754 -2.620027)'), GeomFromEWKT('SRID=4674;POINT (-39.807752 -2.620017)'))) / (select extract(epoch from '2026-07-22 08:26:04'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47870, 'SRID=4674;POINT (-39.807755 -2.619999)', '2026-07-22 08:26:10', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807752 -2.620017)'), GeomFromEWKT('SRID=4674;POINT (-39.807755 -2.619999)'))) / (select extract(epoch from '2026-07-22 08:26:10'::timestamp) - extract(epoch from '2026-07-22 08:26:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807752 -2.620017)'), GeomFromEWKT('SRID=4674;POINT (-39.807755 -2.619999)'))) / (select extract(epoch from '2026-07-22 08:26:10'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47870, 'SRID=4674;POINT (-39.807769 -2.619995)', '2026-07-22 08:26:16', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807755 -2.619999)'), GeomFromEWKT('SRID=4674;POINT (-39.807769 -2.619995)'))) / (select extract(epoch from '2026-07-22 08:26:16'::timestamp) - extract(epoch from '2026-07-22 08:26:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807755 -2.619999)'), GeomFromEWKT('SRID=4674;POINT (-39.807769 -2.619995)'))) / (select extract(epoch from '2026-07-22 08:26:16'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47870, 'SRID=4674;POINT (-39.807779 -2.619996)', '2026-07-22 08:26:27', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807769 -2.619995)'), GeomFromEWKT('SRID=4674;POINT (-39.807779 -2.619996)'))) / (select extract(epoch from '2026-07-22 08:26:27'::timestamp) - extract(epoch from '2026-07-22 08:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807769 -2.619995)'), GeomFromEWKT('SRID=4674;POINT (-39.807779 -2.619996)'))) / (select extract(epoch from '2026-07-22 08:26:27'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47870, 'SRID=4674;POINT (-39.807791 -2.619999)', '2026-07-22 08:26:30', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807779 -2.619996)'), GeomFromEWKT('SRID=4674;POINT (-39.807791 -2.619999)'))) / (select extract(epoch from '2026-07-22 08:26:30'::timestamp) - extract(epoch from '2026-07-22 08:26:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807779 -2.619996)'), GeomFromEWKT('SRID=4674;POINT (-39.807791 -2.619999)'))) / (select extract(epoch from '2026-07-22 08:26:30'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47870, 'SRID=4674;POINT (-39.807809 -2.620011)', '2026-07-22 08:26:35', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807791 -2.619999)'), GeomFromEWKT('SRID=4674;POINT (-39.807809 -2.620011)'))) / (select extract(epoch from '2026-07-22 08:26:35'::timestamp) - extract(epoch from '2026-07-22 08:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807791 -2.619999)'), GeomFromEWKT('SRID=4674;POINT (-39.807809 -2.620011)'))) / (select extract(epoch from '2026-07-22 08:26:35'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47870, 'SRID=4674;POINT (-39.807859 -2.620008)', '2026-07-22 08:26:47', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807809 -2.620011)'), GeomFromEWKT('SRID=4674;POINT (-39.807859 -2.620008)'))) / (select extract(epoch from '2026-07-22 08:26:47'::timestamp) - extract(epoch from '2026-07-22 08:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807809 -2.620011)'), GeomFromEWKT('SRID=4674;POINT (-39.807859 -2.620008)'))) / (select extract(epoch from '2026-07-22 08:26:47'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47870, 'SRID=4674;POINT (-39.807906 -2.619981)', '2026-07-22 08:26:57', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807859 -2.620008)'), GeomFromEWKT('SRID=4674;POINT (-39.807906 -2.619981)'))) / (select extract(epoch from '2026-07-22 08:26:57'::timestamp) - extract(epoch from '2026-07-22 08:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807859 -2.620008)'), GeomFromEWKT('SRID=4674;POINT (-39.807906 -2.619981)'))) / (select extract(epoch from '2026-07-22 08:26:57'::timestamp) - extract(epoch from '2026-07-22 08:26: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'), 47870, 'SRID=4674;POINT (-39.80795 -2.619954)', '2026-07-22 08:27:04', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807906 -2.619981)'), GeomFromEWKT('SRID=4674;POINT (-39.80795 -2.619954)'))) / (select extract(epoch from '2026-07-22 08:27:04'::timestamp) - extract(epoch from '2026-07-22 08:26:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807906 -2.619981)'), GeomFromEWKT('SRID=4674;POINT (-39.80795 -2.619954)'))) / (select extract(epoch from '2026-07-22 08:27:04'::timestamp) - extract(epoch from '2026-07-22 08:26:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.807979 -2.619917)', '2026-07-22 08:27:11', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80795 -2.619954)'), GeomFromEWKT('SRID=4674;POINT (-39.807979 -2.619917)'))) / (select extract(epoch from '2026-07-22 08:27:11'::timestamp) - extract(epoch from '2026-07-22 08:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80795 -2.619954)'), GeomFromEWKT('SRID=4674;POINT (-39.807979 -2.619917)'))) / (select extract(epoch from '2026-07-22 08:27:11'::timestamp) - extract(epoch from '2026-07-22 08:27:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808013 -2.61987)', '2026-07-22 08:27:21', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807979 -2.619917)'), GeomFromEWKT('SRID=4674;POINT (-39.808013 -2.61987)'))) / (select extract(epoch from '2026-07-22 08:27:21'::timestamp) - extract(epoch from '2026-07-22 08:27:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.807979 -2.619917)'), GeomFromEWKT('SRID=4674;POINT (-39.808013 -2.61987)'))) / (select extract(epoch from '2026-07-22 08:27:21'::timestamp) - extract(epoch from '2026-07-22 08:27: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'), 47870, 'SRID=4674;POINT (-39.808041 -2.619839)', '2026-07-22 08:27:28', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808013 -2.61987)'), GeomFromEWKT('SRID=4674;POINT (-39.808041 -2.619839)'))) / (select extract(epoch from '2026-07-22 08:27:28'::timestamp) - extract(epoch from '2026-07-22 08:27:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808013 -2.61987)'), GeomFromEWKT('SRID=4674;POINT (-39.808041 -2.619839)'))) / (select extract(epoch from '2026-07-22 08:27:28'::timestamp) - extract(epoch from '2026-07-22 08:27:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808055 -2.619795)', '2026-07-22 08:27:38', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808041 -2.619839)'), GeomFromEWKT('SRID=4674;POINT (-39.808055 -2.619795)'))) / (select extract(epoch from '2026-07-22 08:27:38'::timestamp) - extract(epoch from '2026-07-22 08:27:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808041 -2.619839)'), GeomFromEWKT('SRID=4674;POINT (-39.808055 -2.619795)'))) / (select extract(epoch from '2026-07-22 08:27:38'::timestamp) - extract(epoch from '2026-07-22 08:27: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'), 47870, 'SRID=4674;POINT (-39.808059 -2.619757)', '2026-07-22 08:27:48', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808055 -2.619795)'), GeomFromEWKT('SRID=4674;POINT (-39.808059 -2.619757)'))) / (select extract(epoch from '2026-07-22 08:27:48'::timestamp) - extract(epoch from '2026-07-22 08:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808055 -2.619795)'), GeomFromEWKT('SRID=4674;POINT (-39.808059 -2.619757)'))) / (select extract(epoch from '2026-07-22 08:27:48'::timestamp) - extract(epoch from '2026-07-22 08:27: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'), 47870, 'SRID=4674;POINT (-39.808074 -2.619741)', '2026-07-22 08:27:53', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808059 -2.619757)'), GeomFromEWKT('SRID=4674;POINT (-39.808074 -2.619741)'))) / (select extract(epoch from '2026-07-22 08:27:53'::timestamp) - extract(epoch from '2026-07-22 08:27:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808059 -2.619757)'), GeomFromEWKT('SRID=4674;POINT (-39.808074 -2.619741)'))) / (select extract(epoch from '2026-07-22 08:27:53'::timestamp) - extract(epoch from '2026-07-22 08:27:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808085 -2.619714)', '2026-07-22 08:28:00', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808074 -2.619741)'), GeomFromEWKT('SRID=4674;POINT (-39.808085 -2.619714)'))) / (select extract(epoch from '2026-07-22 08:28:00'::timestamp) - extract(epoch from '2026-07-22 08:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808074 -2.619741)'), GeomFromEWKT('SRID=4674;POINT (-39.808085 -2.619714)'))) / (select extract(epoch from '2026-07-22 08:28:00'::timestamp) - extract(epoch from '2026-07-22 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'), 47870, 'SRID=4674;POINT (-39.808105 -2.619697)', '2026-07-22 08:28:09', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808085 -2.619714)'), GeomFromEWKT('SRID=4674;POINT (-39.808105 -2.619697)'))) / (select extract(epoch from '2026-07-22 08:28:09'::timestamp) - extract(epoch from '2026-07-22 08:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808085 -2.619714)'), GeomFromEWKT('SRID=4674;POINT (-39.808105 -2.619697)'))) / (select extract(epoch from '2026-07-22 08:28:09'::timestamp) - extract(epoch from '2026-07-22 08:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.80812 -2.619666)', '2026-07-22 08:28:19', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808105 -2.619697)'), GeomFromEWKT('SRID=4674;POINT (-39.80812 -2.619666)'))) / (select extract(epoch from '2026-07-22 08:28:19'::timestamp) - extract(epoch from '2026-07-22 08:28:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808105 -2.619697)'), GeomFromEWKT('SRID=4674;POINT (-39.80812 -2.619666)'))) / (select extract(epoch from '2026-07-22 08:28:19'::timestamp) - extract(epoch from '2026-07-22 08:28: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'), 47870, 'SRID=4674;POINT (-39.808136 -2.619641)', '2026-07-22 08:28:26', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80812 -2.619666)'), GeomFromEWKT('SRID=4674;POINT (-39.808136 -2.619641)'))) / (select extract(epoch from '2026-07-22 08:28:26'::timestamp) - extract(epoch from '2026-07-22 08:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.80812 -2.619666)'), GeomFromEWKT('SRID=4674;POINT (-39.808136 -2.619641)'))) / (select extract(epoch from '2026-07-22 08:28:26'::timestamp) - extract(epoch from '2026-07-22 08:28: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'), 47870, 'SRID=4674;POINT (-39.808125 -2.619632)', '2026-07-22 08:28:39', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808136 -2.619641)'), GeomFromEWKT('SRID=4674;POINT (-39.808125 -2.619632)'))) / (select extract(epoch from '2026-07-22 08:28:39'::timestamp) - extract(epoch from '2026-07-22 08:28:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808136 -2.619641)'), GeomFromEWKT('SRID=4674;POINT (-39.808125 -2.619632)'))) / (select extract(epoch from '2026-07-22 08:28:39'::timestamp) - extract(epoch from '2026-07-22 08:28: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'), 47870, 'SRID=4674;POINT (-39.808146 -2.619623)', '2026-07-22 08:28:41', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808125 -2.619632)'), GeomFromEWKT('SRID=4674;POINT (-39.808146 -2.619623)'))) / (select extract(epoch from '2026-07-22 08:28:41'::timestamp) - extract(epoch from '2026-07-22 08:28:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808125 -2.619632)'), GeomFromEWKT('SRID=4674;POINT (-39.808146 -2.619623)'))) / (select extract(epoch from '2026-07-22 08:28:41'::timestamp) - extract(epoch from '2026-07-22 08:28: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'), 47870, 'SRID=4674;POINT (-39.808147 -2.619612)', '2026-07-22 08:28:44', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808146 -2.619623)'), GeomFromEWKT('SRID=4674;POINT (-39.808147 -2.619612)'))) / (select extract(epoch from '2026-07-22 08:28:44'::timestamp) - extract(epoch from '2026-07-22 08:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808146 -2.619623)'), GeomFromEWKT('SRID=4674;POINT (-39.808147 -2.619612)'))) / (select extract(epoch from '2026-07-22 08:28:44'::timestamp) - extract(epoch from '2026-07-22 08:28: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'), 47870, 'SRID=4674;POINT (-39.808164 -2.619588)', '2026-07-22 08:28:50', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808147 -2.619612)'), GeomFromEWKT('SRID=4674;POINT (-39.808164 -2.619588)'))) / (select extract(epoch from '2026-07-22 08:28:50'::timestamp) - extract(epoch from '2026-07-22 08:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808147 -2.619612)'), GeomFromEWKT('SRID=4674;POINT (-39.808164 -2.619588)'))) / (select extract(epoch from '2026-07-22 08:28:50'::timestamp) - extract(epoch from '2026-07-22 08:28:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808166 -2.619579)', '2026-07-22 08:29:02', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808164 -2.619588)'), GeomFromEWKT('SRID=4674;POINT (-39.808166 -2.619579)'))) / (select extract(epoch from '2026-07-22 08:29:02'::timestamp) - extract(epoch from '2026-07-22 08:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808164 -2.619588)'), GeomFromEWKT('SRID=4674;POINT (-39.808166 -2.619579)'))) / (select extract(epoch from '2026-07-22 08:29:02'::timestamp) - extract(epoch from '2026-07-22 08:28:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.808212 -2.61953)', '2026-07-22 08:29:09', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808166 -2.619579)'), GeomFromEWKT('SRID=4674;POINT (-39.808212 -2.61953)'))) / (select extract(epoch from '2026-07-22 08:29:09'::timestamp) - extract(epoch from '2026-07-22 08:29:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808166 -2.619579)'), GeomFromEWKT('SRID=4674;POINT (-39.808212 -2.61953)'))) / (select extract(epoch from '2026-07-22 08:29:09'::timestamp) - extract(epoch from '2026-07-22 08:29: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'), 47870, 'SRID=4674;POINT (-39.808283 -2.619473)', '2026-07-22 08:29:20', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808212 -2.61953)'), GeomFromEWKT('SRID=4674;POINT (-39.808283 -2.619473)'))) / (select extract(epoch from '2026-07-22 08:29:20'::timestamp) - extract(epoch from '2026-07-22 08:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.808212 -2.61953)'), GeomFromEWKT('SRID=4674;POINT (-39.808283 -2.619473)'))) / (select extract(epoch from '2026-07-22 08:29:20'::timestamp) - extract(epoch from '2026-07-22 08:29:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
