 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70143 -2.684435)', '2026-07-24 14:17:23', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701482 -2.684538)'), GeomFromEWKT('SRID=4674;POINT (-39.70143 -2.684435)'))) / (select extract(epoch from '2026-07-24 14:17:23'::timestamp) - extract(epoch from '2026-07-24 14:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701482 -2.684538)'), GeomFromEWKT('SRID=4674;POINT (-39.70143 -2.684435)'))) / (select extract(epoch from '2026-07-24 14:17:23'::timestamp) - extract(epoch from '2026-07-24 14:17: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.701383 -2.684331)', '2026-07-24 14:17:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70143 -2.684435)'), GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.684331)'))) / (select extract(epoch from '2026-07-24 14:17:29'::timestamp) - extract(epoch from '2026-07-24 14:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70143 -2.684435)'), GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.684331)'))) / (select extract(epoch from '2026-07-24 14:17:29'::timestamp) - extract(epoch from '2026-07-24 14:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701319 -2.684217)', '2026-07-24 14:17:36', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.684331)'), GeomFromEWKT('SRID=4674;POINT (-39.701319 -2.684217)'))) / (select extract(epoch from '2026-07-24 14:17:36'::timestamp) - extract(epoch from '2026-07-24 14:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701383 -2.684331)'), GeomFromEWKT('SRID=4674;POINT (-39.701319 -2.684217)'))) / (select extract(epoch from '2026-07-24 14:17:36'::timestamp) - extract(epoch from '2026-07-24 14:17: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.701286 -2.684148)', '2026-07-24 14:17:42', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701319 -2.684217)'), GeomFromEWKT('SRID=4674;POINT (-39.701286 -2.684148)'))) / (select extract(epoch from '2026-07-24 14:17:42'::timestamp) - extract(epoch from '2026-07-24 14:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701319 -2.684217)'), GeomFromEWKT('SRID=4674;POINT (-39.701286 -2.684148)'))) / (select extract(epoch from '2026-07-24 14:17:42'::timestamp) - extract(epoch from '2026-07-24 14:17:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701254 -2.684119)', '2026-07-24 14:17:48', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701286 -2.684148)'), GeomFromEWKT('SRID=4674;POINT (-39.701254 -2.684119)'))) / (select extract(epoch from '2026-07-24 14:17:48'::timestamp) - extract(epoch from '2026-07-24 14:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701286 -2.684148)'), GeomFromEWKT('SRID=4674;POINT (-39.701254 -2.684119)'))) / (select extract(epoch from '2026-07-24 14:17:48'::timestamp) - extract(epoch from '2026-07-24 14:17: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.70122 -2.684108)', '2026-07-24 14:17:56', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701254 -2.684119)'), GeomFromEWKT('SRID=4674;POINT (-39.70122 -2.684108)'))) / (select extract(epoch from '2026-07-24 14:17:56'::timestamp) - extract(epoch from '2026-07-24 14:17:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701254 -2.684119)'), GeomFromEWKT('SRID=4674;POINT (-39.70122 -2.684108)'))) / (select extract(epoch from '2026-07-24 14:17:56'::timestamp) - extract(epoch from '2026-07-24 14:17: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.70119 -2.684093)', '2026-07-24 14:18:06', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70122 -2.684108)'), GeomFromEWKT('SRID=4674;POINT (-39.70119 -2.684093)'))) / (select extract(epoch from '2026-07-24 14:18:06'::timestamp) - extract(epoch from '2026-07-24 14:17:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70122 -2.684108)'), GeomFromEWKT('SRID=4674;POINT (-39.70119 -2.684093)'))) / (select extract(epoch from '2026-07-24 14:18:06'::timestamp) - extract(epoch from '2026-07-24 14:17: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.701131 -2.684076)', '2026-07-24 14:18:14', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70119 -2.684093)'), GeomFromEWKT('SRID=4674;POINT (-39.701131 -2.684076)'))) / (select extract(epoch from '2026-07-24 14:18:14'::timestamp) - extract(epoch from '2026-07-24 14:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70119 -2.684093)'), GeomFromEWKT('SRID=4674;POINT (-39.701131 -2.684076)'))) / (select extract(epoch from '2026-07-24 14:18:14'::timestamp) - extract(epoch from '2026-07-24 14:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701108 -2.684056)', '2026-07-24 14:18:22', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701131 -2.684076)'), GeomFromEWKT('SRID=4674;POINT (-39.701108 -2.684056)'))) / (select extract(epoch from '2026-07-24 14:18:22'::timestamp) - extract(epoch from '2026-07-24 14:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701131 -2.684076)'), GeomFromEWKT('SRID=4674;POINT (-39.701108 -2.684056)'))) / (select extract(epoch from '2026-07-24 14:18:22'::timestamp) - extract(epoch from '2026-07-24 14:18: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.701108 -2.684037)', '2026-07-24 14:18:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701108 -2.684056)'), GeomFromEWKT('SRID=4674;POINT (-39.701108 -2.684037)'))) / (select extract(epoch from '2026-07-24 14:18:27'::timestamp) - extract(epoch from '2026-07-24 14:18:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701108 -2.684056)'), GeomFromEWKT('SRID=4674;POINT (-39.701108 -2.684037)'))) / (select extract(epoch from '2026-07-24 14:18:27'::timestamp) - extract(epoch from '2026-07-24 14:18:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701117 -2.684016)', '2026-07-24 14:18:33', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701108 -2.684037)'), GeomFromEWKT('SRID=4674;POINT (-39.701117 -2.684016)'))) / (select extract(epoch from '2026-07-24 14:18:33'::timestamp) - extract(epoch from '2026-07-24 14:18:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701108 -2.684037)'), GeomFromEWKT('SRID=4674;POINT (-39.701117 -2.684016)'))) / (select extract(epoch from '2026-07-24 14:18:33'::timestamp) - extract(epoch from '2026-07-24 14: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.701146 -2.683987)', '2026-07-24 14:18:40', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701117 -2.684016)'), GeomFromEWKT('SRID=4674;POINT (-39.701146 -2.683987)'))) / (select extract(epoch from '2026-07-24 14:18:40'::timestamp) - extract(epoch from '2026-07-24 14:18:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701117 -2.684016)'), GeomFromEWKT('SRID=4674;POINT (-39.701146 -2.683987)'))) / (select extract(epoch from '2026-07-24 14:18:40'::timestamp) - extract(epoch from '2026-07-24 14: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.701167 -2.683961)', '2026-07-24 14:18:47', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701146 -2.683987)'), GeomFromEWKT('SRID=4674;POINT (-39.701167 -2.683961)'))) / (select extract(epoch from '2026-07-24 14:18:47'::timestamp) - extract(epoch from '2026-07-24 14:18:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701146 -2.683987)'), GeomFromEWKT('SRID=4674;POINT (-39.701167 -2.683961)'))) / (select extract(epoch from '2026-07-24 14:18:47'::timestamp) - extract(epoch from '2026-07-24 14:18: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.701218 -2.683932)', '2026-07-24 14:18:56', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701167 -2.683961)'), GeomFromEWKT('SRID=4674;POINT (-39.701218 -2.683932)'))) / (select extract(epoch from '2026-07-24 14:18:56'::timestamp) - extract(epoch from '2026-07-24 14:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701167 -2.683961)'), GeomFromEWKT('SRID=4674;POINT (-39.701218 -2.683932)'))) / (select extract(epoch from '2026-07-24 14:18:56'::timestamp) - extract(epoch from '2026-07-24 14:18: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.701229 -2.683918)', '2026-07-24 14:18:58', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701218 -2.683932)'), GeomFromEWKT('SRID=4674;POINT (-39.701229 -2.683918)'))) / (select extract(epoch from '2026-07-24 14:18:58'::timestamp) - extract(epoch from '2026-07-24 14:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701218 -2.683932)'), GeomFromEWKT('SRID=4674;POINT (-39.701229 -2.683918)'))) / (select extract(epoch from '2026-07-24 14:18:58'::timestamp) - extract(epoch from '2026-07-24 14:18: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.701249 -2.683905)', '2026-07-24 14:19:02', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701229 -2.683918)'), GeomFromEWKT('SRID=4674;POINT (-39.701249 -2.683905)'))) / (select extract(epoch from '2026-07-24 14:19:02'::timestamp) - extract(epoch from '2026-07-24 14:18:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701229 -2.683918)'), GeomFromEWKT('SRID=4674;POINT (-39.701249 -2.683905)'))) / (select extract(epoch from '2026-07-24 14:19:02'::timestamp) - extract(epoch from '2026-07-24 14:18: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.701268 -2.683898)', '2026-07-24 14:19:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701249 -2.683905)'), GeomFromEWKT('SRID=4674;POINT (-39.701268 -2.683898)'))) / (select extract(epoch from '2026-07-24 14:19:04'::timestamp) - extract(epoch from '2026-07-24 14:19:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701249 -2.683905)'), GeomFromEWKT('SRID=4674;POINT (-39.701268 -2.683898)'))) / (select extract(epoch from '2026-07-24 14:19:04'::timestamp) - extract(epoch from '2026-07-24 14:19: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.701282 -2.683892)', '2026-07-24 14:19:06', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701268 -2.683898)'), GeomFromEWKT('SRID=4674;POINT (-39.701282 -2.683892)'))) / (select extract(epoch from '2026-07-24 14:19:06'::timestamp) - extract(epoch from '2026-07-24 14:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701268 -2.683898)'), GeomFromEWKT('SRID=4674;POINT (-39.701282 -2.683892)'))) / (select extract(epoch from '2026-07-24 14:19:06'::timestamp) - extract(epoch from '2026-07-24 14:19: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.70131 -2.683858)', '2026-07-24 14:19:15', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701282 -2.683892)'), GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.683858)'))) / (select extract(epoch from '2026-07-24 14:19:15'::timestamp) - extract(epoch from '2026-07-24 14:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701282 -2.683892)'), GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.683858)'))) / (select extract(epoch from '2026-07-24 14:19:15'::timestamp) - extract(epoch from '2026-07-24 14:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701335 -2.683834)', '2026-07-24 14:19:22', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.683858)'), GeomFromEWKT('SRID=4674;POINT (-39.701335 -2.683834)'))) / (select extract(epoch from '2026-07-24 14:19:22'::timestamp) - extract(epoch from '2026-07-24 14:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70131 -2.683858)'), GeomFromEWKT('SRID=4674;POINT (-39.701335 -2.683834)'))) / (select extract(epoch from '2026-07-24 14:19:22'::timestamp) - extract(epoch from '2026-07-24 14:19: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.701368 -2.683785)', '2026-07-24 14:19:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701335 -2.683834)'), GeomFromEWKT('SRID=4674;POINT (-39.701368 -2.683785)'))) / (select extract(epoch from '2026-07-24 14:19:32'::timestamp) - extract(epoch from '2026-07-24 14:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701335 -2.683834)'), GeomFromEWKT('SRID=4674;POINT (-39.701368 -2.683785)'))) / (select extract(epoch from '2026-07-24 14:19:32'::timestamp) - extract(epoch from '2026-07-24 14:19:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701416 -2.683743)', '2026-07-24 14:19:42', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701368 -2.683785)'), GeomFromEWKT('SRID=4674;POINT (-39.701416 -2.683743)'))) / (select extract(epoch from '2026-07-24 14:19:42'::timestamp) - extract(epoch from '2026-07-24 14:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701368 -2.683785)'), GeomFromEWKT('SRID=4674;POINT (-39.701416 -2.683743)'))) / (select extract(epoch from '2026-07-24 14:19:42'::timestamp) - extract(epoch from '2026-07-24 14:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701461 -2.683711)', '2026-07-24 14:19:50', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701416 -2.683743)'), GeomFromEWKT('SRID=4674;POINT (-39.701461 -2.683711)'))) / (select extract(epoch from '2026-07-24 14:19:50'::timestamp) - extract(epoch from '2026-07-24 14:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701416 -2.683743)'), GeomFromEWKT('SRID=4674;POINT (-39.701461 -2.683711)'))) / (select extract(epoch from '2026-07-24 14:19:50'::timestamp) - extract(epoch from '2026-07-24 14:19: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.7015 -2.683662)', '2026-07-24 14:20:00', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701461 -2.683711)'), GeomFromEWKT('SRID=4674;POINT (-39.7015 -2.683662)'))) / (select extract(epoch from '2026-07-24 14:20:00'::timestamp) - extract(epoch from '2026-07-24 14:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701461 -2.683711)'), GeomFromEWKT('SRID=4674;POINT (-39.7015 -2.683662)'))) / (select extract(epoch from '2026-07-24 14:20:00'::timestamp) - extract(epoch from '2026-07-24 14: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.701529 -2.683621)', '2026-07-24 14:20:09', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7015 -2.683662)'), GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.683621)'))) / (select extract(epoch from '2026-07-24 14:20:09'::timestamp) - extract(epoch from '2026-07-24 14:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7015 -2.683662)'), GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.683621)'))) / (select extract(epoch from '2026-07-24 14:20:09'::timestamp) - extract(epoch from '2026-07-24 14: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.70156 -2.683597)', '2026-07-24 14:20:18', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.683621)'), GeomFromEWKT('SRID=4674;POINT (-39.70156 -2.683597)'))) / (select extract(epoch from '2026-07-24 14:20:18'::timestamp) - extract(epoch from '2026-07-24 14:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701529 -2.683621)'), GeomFromEWKT('SRID=4674;POINT (-39.70156 -2.683597)'))) / (select extract(epoch from '2026-07-24 14:20:18'::timestamp) - extract(epoch from '2026-07-24 14:20:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701565 -2.683591)', '2026-07-24 14:20:32', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70156 -2.683597)'), GeomFromEWKT('SRID=4674;POINT (-39.701565 -2.683591)'))) / (select extract(epoch from '2026-07-24 14:20:32'::timestamp) - extract(epoch from '2026-07-24 14:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70156 -2.683597)'), GeomFromEWKT('SRID=4674;POINT (-39.701565 -2.683591)'))) / (select extract(epoch from '2026-07-24 14:20:32'::timestamp) - extract(epoch from '2026-07-24 14:20: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.701573 -2.683588)', '2026-07-24 14:20:39', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701565 -2.683591)'), GeomFromEWKT('SRID=4674;POINT (-39.701573 -2.683588)'))) / (select extract(epoch from '2026-07-24 14:20:39'::timestamp) - extract(epoch from '2026-07-24 14:20:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701565 -2.683591)'), GeomFromEWKT('SRID=4674;POINT (-39.701573 -2.683588)'))) / (select extract(epoch from '2026-07-24 14:20:39'::timestamp) - extract(epoch from '2026-07-24 14:20: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.70158 -2.683585)', '2026-07-24 14:20:45', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701573 -2.683588)'), GeomFromEWKT('SRID=4674;POINT (-39.70158 -2.683585)'))) / (select extract(epoch from '2026-07-24 14:20:45'::timestamp) - extract(epoch from '2026-07-24 14:20:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701573 -2.683588)'), GeomFromEWKT('SRID=4674;POINT (-39.70158 -2.683585)'))) / (select extract(epoch from '2026-07-24 14:20:45'::timestamp) - extract(epoch from '2026-07-24 14:20: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.701595 -2.68358)', '2026-07-24 14:20:46', 15.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70158 -2.683585)'), GeomFromEWKT('SRID=4674;POINT (-39.701595 -2.68358)'))) / (select extract(epoch from '2026-07-24 14:20:46'::timestamp) - extract(epoch from '2026-07-24 14:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70158 -2.683585)'), GeomFromEWKT('SRID=4674;POINT (-39.701595 -2.68358)'))) / (select extract(epoch from '2026-07-24 14:20:46'::timestamp) - extract(epoch from '2026-07-24 14:20: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.701608 -2.683571)', '2026-07-24 14:20:52', 15.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701595 -2.68358)'), GeomFromEWKT('SRID=4674;POINT (-39.701608 -2.683571)'))) / (select extract(epoch from '2026-07-24 14:20:52'::timestamp) - extract(epoch from '2026-07-24 14:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701595 -2.68358)'), GeomFromEWKT('SRID=4674;POINT (-39.701608 -2.683571)'))) / (select extract(epoch from '2026-07-24 14:20:52'::timestamp) - extract(epoch from '2026-07-24 14:20:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701643 -2.683548)', '2026-07-24 14:21:03', 16.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701608 -2.683571)'), GeomFromEWKT('SRID=4674;POINT (-39.701643 -2.683548)'))) / (select extract(epoch from '2026-07-24 14:21:03'::timestamp) - extract(epoch from '2026-07-24 14:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701608 -2.683571)'), GeomFromEWKT('SRID=4674;POINT (-39.701643 -2.683548)'))) / (select extract(epoch from '2026-07-24 14:21:03'::timestamp) - extract(epoch from '2026-07-24 14:20:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.70167 -2.683532)', '2026-07-24 14:21:10', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701643 -2.683548)'), GeomFromEWKT('SRID=4674;POINT (-39.70167 -2.683532)'))) / (select extract(epoch from '2026-07-24 14:21:10'::timestamp) - extract(epoch from '2026-07-24 14:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701643 -2.683548)'), GeomFromEWKT('SRID=4674;POINT (-39.70167 -2.683532)'))) / (select extract(epoch from '2026-07-24 14:21:10'::timestamp) - extract(epoch from '2026-07-24 14:21: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.701693 -2.683518)', '2026-07-24 14:21:16', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70167 -2.683532)'), GeomFromEWKT('SRID=4674;POINT (-39.701693 -2.683518)'))) / (select extract(epoch from '2026-07-24 14:21:16'::timestamp) - extract(epoch from '2026-07-24 14:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70167 -2.683532)'), GeomFromEWKT('SRID=4674;POINT (-39.701693 -2.683518)'))) / (select extract(epoch from '2026-07-24 14:21:16'::timestamp) - extract(epoch from '2026-07-24 14:21: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.701731 -2.683501)', '2026-07-24 14:21:23', 18.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701693 -2.683518)'), GeomFromEWKT('SRID=4674;POINT (-39.701731 -2.683501)'))) / (select extract(epoch from '2026-07-24 14:21:23'::timestamp) - extract(epoch from '2026-07-24 14:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701693 -2.683518)'), GeomFromEWKT('SRID=4674;POINT (-39.701731 -2.683501)'))) / (select extract(epoch from '2026-07-24 14:21:23'::timestamp) - extract(epoch from '2026-07-24 14:21: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.701778 -2.683474)', '2026-07-24 14:21:33', 19, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701731 -2.683501)'), GeomFromEWKT('SRID=4674;POINT (-39.701778 -2.683474)'))) / (select extract(epoch from '2026-07-24 14:21:33'::timestamp) - extract(epoch from '2026-07-24 14:21:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701731 -2.683501)'), GeomFromEWKT('SRID=4674;POINT (-39.701778 -2.683474)'))) / (select extract(epoch from '2026-07-24 14:21:33'::timestamp) - extract(epoch from '2026-07-24 14: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.701795 -2.683455)', '2026-07-24 14:21:39', 19.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701778 -2.683474)'), GeomFromEWKT('SRID=4674;POINT (-39.701795 -2.683455)'))) / (select extract(epoch from '2026-07-24 14:21:39'::timestamp) - extract(epoch from '2026-07-24 14:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701778 -2.683474)'), GeomFromEWKT('SRID=4674;POINT (-39.701795 -2.683455)'))) / (select extract(epoch from '2026-07-24 14:21:39'::timestamp) - extract(epoch from '2026-07-24 14:21: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.701753 -2.683423)', '2026-07-24 14:21:46', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701795 -2.683455)'), GeomFromEWKT('SRID=4674;POINT (-39.701753 -2.683423)'))) / (select extract(epoch from '2026-07-24 14:21:46'::timestamp) - extract(epoch from '2026-07-24 14:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701795 -2.683455)'), GeomFromEWKT('SRID=4674;POINT (-39.701753 -2.683423)'))) / (select extract(epoch from '2026-07-24 14:21:46'::timestamp) - extract(epoch from '2026-07-24 14:21: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.701668 -2.683411)', '2026-07-24 14:21:53', 20, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701753 -2.683423)'), GeomFromEWKT('SRID=4674;POINT (-39.701668 -2.683411)'))) / (select extract(epoch from '2026-07-24 14:21:53'::timestamp) - extract(epoch from '2026-07-24 14:21:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701753 -2.683423)'), GeomFromEWKT('SRID=4674;POINT (-39.701668 -2.683411)'))) / (select extract(epoch from '2026-07-24 14:21:53'::timestamp) - extract(epoch from '2026-07-24 14:21: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.701568 -2.683387)', '2026-07-24 14:22:00', 19.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701668 -2.683411)'), GeomFromEWKT('SRID=4674;POINT (-39.701568 -2.683387)'))) / (select extract(epoch from '2026-07-24 14:22:00'::timestamp) - extract(epoch from '2026-07-24 14:21:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701668 -2.683411)'), GeomFromEWKT('SRID=4674;POINT (-39.701568 -2.683387)'))) / (select extract(epoch from '2026-07-24 14:22:00'::timestamp) - extract(epoch from '2026-07-24 14:21: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.70148 -2.683356)', '2026-07-24 14:22:06', 18.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701568 -2.683387)'), GeomFromEWKT('SRID=4674;POINT (-39.70148 -2.683356)'))) / (select extract(epoch from '2026-07-24 14:22:06'::timestamp) - extract(epoch from '2026-07-24 14:22:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701568 -2.683387)'), GeomFromEWKT('SRID=4674;POINT (-39.70148 -2.683356)'))) / (select extract(epoch from '2026-07-24 14:22:06'::timestamp) - extract(epoch from '2026-07-24 14:22:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701333 -2.683279)', '2026-07-24 14:22:15', 17.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70148 -2.683356)'), GeomFromEWKT('SRID=4674;POINT (-39.701333 -2.683279)'))) / (select extract(epoch from '2026-07-24 14:22:15'::timestamp) - extract(epoch from '2026-07-24 14:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70148 -2.683356)'), GeomFromEWKT('SRID=4674;POINT (-39.701333 -2.683279)'))) / (select extract(epoch from '2026-07-24 14:22:15'::timestamp) - extract(epoch from '2026-07-24 14:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.701239 -2.683237)', '2026-07-24 14:22:21', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701333 -2.683279)'), GeomFromEWKT('SRID=4674;POINT (-39.701239 -2.683237)'))) / (select extract(epoch from '2026-07-24 14:22:21'::timestamp) - extract(epoch from '2026-07-24 14:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701333 -2.683279)'), GeomFromEWKT('SRID=4674;POINT (-39.701239 -2.683237)'))) / (select extract(epoch from '2026-07-24 14:22:21'::timestamp) - extract(epoch from '2026-07-24 14:22: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.701171 -2.683174)', '2026-07-24 14:22:26', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701239 -2.683237)'), GeomFromEWKT('SRID=4674;POINT (-39.701171 -2.683174)'))) / (select extract(epoch from '2026-07-24 14:22:26'::timestamp) - extract(epoch from '2026-07-24 14:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701239 -2.683237)'), GeomFromEWKT('SRID=4674;POINT (-39.701171 -2.683174)'))) / (select extract(epoch from '2026-07-24 14:22:26'::timestamp) - extract(epoch from '2026-07-24 14:22: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.701105 -2.683111)', '2026-07-24 14:22:32', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701171 -2.683174)'), GeomFromEWKT('SRID=4674;POINT (-39.701105 -2.683111)'))) / (select extract(epoch from '2026-07-24 14:22:32'::timestamp) - extract(epoch from '2026-07-24 14:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701171 -2.683174)'), GeomFromEWKT('SRID=4674;POINT (-39.701105 -2.683111)'))) / (select extract(epoch from '2026-07-24 14:22:32'::timestamp) - extract(epoch from '2026-07-24 14:22: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.701013 -2.683069)', '2026-07-24 14:22:39', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701105 -2.683111)'), GeomFromEWKT('SRID=4674;POINT (-39.701013 -2.683069)'))) / (select extract(epoch from '2026-07-24 14:22:39'::timestamp) - extract(epoch from '2026-07-24 14:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701105 -2.683111)'), GeomFromEWKT('SRID=4674;POINT (-39.701013 -2.683069)'))) / (select extract(epoch from '2026-07-24 14:22:39'::timestamp) - extract(epoch from '2026-07-24 14:22: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.700908 -2.683031)', '2026-07-24 14:22:46', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701013 -2.683069)'), GeomFromEWKT('SRID=4674;POINT (-39.700908 -2.683031)'))) / (select extract(epoch from '2026-07-24 14:22:46'::timestamp) - extract(epoch from '2026-07-24 14:22:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.701013 -2.683069)'), GeomFromEWKT('SRID=4674;POINT (-39.700908 -2.683031)'))) / (select extract(epoch from '2026-07-24 14:22:46'::timestamp) - extract(epoch from '2026-07-24 14:22: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.70082 -2.682972)', '2026-07-24 14:22:52', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700908 -2.683031)'), GeomFromEWKT('SRID=4674;POINT (-39.70082 -2.682972)'))) / (select extract(epoch from '2026-07-24 14:22:52'::timestamp) - extract(epoch from '2026-07-24 14:22:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700908 -2.683031)'), GeomFromEWKT('SRID=4674;POINT (-39.70082 -2.682972)'))) / (select extract(epoch from '2026-07-24 14:22:52'::timestamp) - extract(epoch from '2026-07-24 14:22: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.70073 -2.682897)', '2026-07-24 14:22:59', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70082 -2.682972)'), GeomFromEWKT('SRID=4674;POINT (-39.70073 -2.682897)'))) / (select extract(epoch from '2026-07-24 14:22:59'::timestamp) - extract(epoch from '2026-07-24 14:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70082 -2.682972)'), GeomFromEWKT('SRID=4674;POINT (-39.70073 -2.682897)'))) / (select extract(epoch from '2026-07-24 14:22:59'::timestamp) - extract(epoch from '2026-07-24 14:22: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.70067 -2.682869)', '2026-07-24 14:23:04', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70073 -2.682897)'), GeomFromEWKT('SRID=4674;POINT (-39.70067 -2.682869)'))) / (select extract(epoch from '2026-07-24 14:23:04'::timestamp) - extract(epoch from '2026-07-24 14:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70073 -2.682897)'), GeomFromEWKT('SRID=4674;POINT (-39.70067 -2.682869)'))) / (select extract(epoch from '2026-07-24 14:23:04'::timestamp) - extract(epoch from '2026-07-24 14:22:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700602 -2.682845)', '2026-07-24 14:23:09', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70067 -2.682869)'), GeomFromEWKT('SRID=4674;POINT (-39.700602 -2.682845)'))) / (select extract(epoch from '2026-07-24 14:23:09'::timestamp) - extract(epoch from '2026-07-24 14:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70067 -2.682869)'), GeomFromEWKT('SRID=4674;POINT (-39.700602 -2.682845)'))) / (select extract(epoch from '2026-07-24 14:23:09'::timestamp) - extract(epoch from '2026-07-24 14:23: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.700494 -2.682775)', '2026-07-24 14:23:16', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700602 -2.682845)'), GeomFromEWKT('SRID=4674;POINT (-39.700494 -2.682775)'))) / (select extract(epoch from '2026-07-24 14:23:16'::timestamp) - extract(epoch from '2026-07-24 14:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700602 -2.682845)'), GeomFromEWKT('SRID=4674;POINT (-39.700494 -2.682775)'))) / (select extract(epoch from '2026-07-24 14:23:16'::timestamp) - extract(epoch from '2026-07-24 14:23: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.700485 -2.682766)', '2026-07-24 14:23:17', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700494 -2.682775)'), GeomFromEWKT('SRID=4674;POINT (-39.700485 -2.682766)'))) / (select extract(epoch from '2026-07-24 14:23:17'::timestamp) - extract(epoch from '2026-07-24 14:23:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700494 -2.682775)'), GeomFromEWKT('SRID=4674;POINT (-39.700485 -2.682766)'))) / (select extract(epoch from '2026-07-24 14:23:17'::timestamp) - extract(epoch from '2026-07-24 14:23: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.700476 -2.682745)', '2026-07-24 14:23:19', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700485 -2.682766)'), GeomFromEWKT('SRID=4674;POINT (-39.700476 -2.682745)'))) / (select extract(epoch from '2026-07-24 14:23:19'::timestamp) - extract(epoch from '2026-07-24 14:23:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700485 -2.682766)'), GeomFromEWKT('SRID=4674;POINT (-39.700476 -2.682745)'))) / (select extract(epoch from '2026-07-24 14:23:19'::timestamp) - extract(epoch from '2026-07-24 14:23: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.700465 -2.682743)', '2026-07-24 14:23:20', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700476 -2.682745)'), GeomFromEWKT('SRID=4674;POINT (-39.700465 -2.682743)'))) / (select extract(epoch from '2026-07-24 14:23:20'::timestamp) - extract(epoch from '2026-07-24 14:23:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700476 -2.682745)'), GeomFromEWKT('SRID=4674;POINT (-39.700465 -2.682743)'))) / (select extract(epoch from '2026-07-24 14:23:20'::timestamp) - extract(epoch from '2026-07-24 14:23: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.700444 -2.682744)', '2026-07-24 14:23:22', 16.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700465 -2.682743)'), GeomFromEWKT('SRID=4674;POINT (-39.700444 -2.682744)'))) / (select extract(epoch from '2026-07-24 14:23:22'::timestamp) - extract(epoch from '2026-07-24 14:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700465 -2.682743)'), GeomFromEWKT('SRID=4674;POINT (-39.700444 -2.682744)'))) / (select extract(epoch from '2026-07-24 14:23:22'::timestamp) - extract(epoch from '2026-07-24 14:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700428 -2.682757)', '2026-07-24 14:23:25', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700444 -2.682744)'), GeomFromEWKT('SRID=4674;POINT (-39.700428 -2.682757)'))) / (select extract(epoch from '2026-07-24 14:23:25'::timestamp) - extract(epoch from '2026-07-24 14:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700444 -2.682744)'), GeomFromEWKT('SRID=4674;POINT (-39.700428 -2.682757)'))) / (select extract(epoch from '2026-07-24 14:23:25'::timestamp) - extract(epoch from '2026-07-24 14:23: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.700361 -2.682838)', '2026-07-24 14:23:33', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700428 -2.682757)'), GeomFromEWKT('SRID=4674;POINT (-39.700361 -2.682838)'))) / (select extract(epoch from '2026-07-24 14:23:33'::timestamp) - extract(epoch from '2026-07-24 14:23:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700428 -2.682757)'), GeomFromEWKT('SRID=4674;POINT (-39.700361 -2.682838)'))) / (select extract(epoch from '2026-07-24 14:23:33'::timestamp) - extract(epoch from '2026-07-24 14:23:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700311 -2.68296)', '2026-07-24 14:23:41', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700361 -2.682838)'), GeomFromEWKT('SRID=4674;POINT (-39.700311 -2.68296)'))) / (select extract(epoch from '2026-07-24 14:23:41'::timestamp) - extract(epoch from '2026-07-24 14:23:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700361 -2.682838)'), GeomFromEWKT('SRID=4674;POINT (-39.700311 -2.68296)'))) / (select extract(epoch from '2026-07-24 14:23:41'::timestamp) - extract(epoch from '2026-07-24 14:23: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.700316 -2.68297)', '2026-07-24 14:23:42', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700311 -2.68296)'), GeomFromEWKT('SRID=4674;POINT (-39.700316 -2.68297)'))) / (select extract(epoch from '2026-07-24 14:23:42'::timestamp) - extract(epoch from '2026-07-24 14:23:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700311 -2.68296)'), GeomFromEWKT('SRID=4674;POINT (-39.700316 -2.68297)'))) / (select extract(epoch from '2026-07-24 14:23:42'::timestamp) - extract(epoch from '2026-07-24 14:23:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700355 -2.683003)', '2026-07-24 14:23:46', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700316 -2.68297)'), GeomFromEWKT('SRID=4674;POINT (-39.700355 -2.683003)'))) / (select extract(epoch from '2026-07-24 14:23:46'::timestamp) - extract(epoch from '2026-07-24 14:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700316 -2.68297)'), GeomFromEWKT('SRID=4674;POINT (-39.700355 -2.683003)'))) / (select extract(epoch from '2026-07-24 14:23:46'::timestamp) - extract(epoch from '2026-07-24 14:23: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.700425 -2.68302)', '2026-07-24 14:23:52', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700355 -2.683003)'), GeomFromEWKT('SRID=4674;POINT (-39.700425 -2.68302)'))) / (select extract(epoch from '2026-07-24 14:23:52'::timestamp) - extract(epoch from '2026-07-24 14:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700355 -2.683003)'), GeomFromEWKT('SRID=4674;POINT (-39.700425 -2.68302)'))) / (select extract(epoch from '2026-07-24 14:23:52'::timestamp) - extract(epoch from '2026-07-24 14:23: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.700484 -2.683007)', '2026-07-24 14:23:57', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700425 -2.68302)'), GeomFromEWKT('SRID=4674;POINT (-39.700484 -2.683007)'))) / (select extract(epoch from '2026-07-24 14:23:57'::timestamp) - extract(epoch from '2026-07-24 14:23:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700425 -2.68302)'), GeomFromEWKT('SRID=4674;POINT (-39.700484 -2.683007)'))) / (select extract(epoch from '2026-07-24 14:23:57'::timestamp) - extract(epoch from '2026-07-24 14:23:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700542 -2.682967)', '2026-07-24 14:24:03', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700484 -2.683007)'), GeomFromEWKT('SRID=4674;POINT (-39.700542 -2.682967)'))) / (select extract(epoch from '2026-07-24 14:24:03'::timestamp) - extract(epoch from '2026-07-24 14:23:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700484 -2.683007)'), GeomFromEWKT('SRID=4674;POINT (-39.700542 -2.682967)'))) / (select extract(epoch from '2026-07-24 14:24:03'::timestamp) - extract(epoch from '2026-07-24 14:23:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700575 -2.6829)', '2026-07-24 14:24:10', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700542 -2.682967)'), GeomFromEWKT('SRID=4674;POINT (-39.700575 -2.6829)'))) / (select extract(epoch from '2026-07-24 14:24:10'::timestamp) - extract(epoch from '2026-07-24 14:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700542 -2.682967)'), GeomFromEWKT('SRID=4674;POINT (-39.700575 -2.6829)'))) / (select extract(epoch from '2026-07-24 14:24:10'::timestamp) - extract(epoch from '2026-07-24 14:24: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.700587 -2.682866)', '2026-07-24 14:24:16', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700575 -2.6829)'), GeomFromEWKT('SRID=4674;POINT (-39.700587 -2.682866)'))) / (select extract(epoch from '2026-07-24 14:24:16'::timestamp) - extract(epoch from '2026-07-24 14:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700575 -2.6829)'), GeomFromEWKT('SRID=4674;POINT (-39.700587 -2.682866)'))) / (select extract(epoch from '2026-07-24 14:24:16'::timestamp) - extract(epoch from '2026-07-24 14:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700594 -2.682827)', '2026-07-24 14:24:26', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700587 -2.682866)'), GeomFromEWKT('SRID=4674;POINT (-39.700594 -2.682827)'))) / (select extract(epoch from '2026-07-24 14:24:26'::timestamp) - extract(epoch from '2026-07-24 14:24:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700587 -2.682866)'), GeomFromEWKT('SRID=4674;POINT (-39.700594 -2.682827)'))) / (select extract(epoch from '2026-07-24 14:24:26'::timestamp) - extract(epoch from '2026-07-24 14:24: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.700589 -2.682803)', '2026-07-24 14:24:34', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700594 -2.682827)'), GeomFromEWKT('SRID=4674;POINT (-39.700589 -2.682803)'))) / (select extract(epoch from '2026-07-24 14:24:34'::timestamp) - extract(epoch from '2026-07-24 14:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700594 -2.682827)'), GeomFromEWKT('SRID=4674;POINT (-39.700589 -2.682803)'))) / (select extract(epoch from '2026-07-24 14:24:34'::timestamp) - extract(epoch from '2026-07-24 14:24: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.700626 -2.682766)', '2026-07-24 14:24:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700589 -2.682803)'), GeomFromEWKT('SRID=4674;POINT (-39.700626 -2.682766)'))) / (select extract(epoch from '2026-07-24 14:24:46'::timestamp) - extract(epoch from '2026-07-24 14:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700589 -2.682803)'), GeomFromEWKT('SRID=4674;POINT (-39.700626 -2.682766)'))) / (select extract(epoch from '2026-07-24 14:24:46'::timestamp) - extract(epoch from '2026-07-24 14:24: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.700635 -2.682696)', '2026-07-24 14:25:08', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700626 -2.682766)'), GeomFromEWKT('SRID=4674;POINT (-39.700635 -2.682696)'))) / (select extract(epoch from '2026-07-24 14:25:08'::timestamp) - extract(epoch from '2026-07-24 14:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700626 -2.682766)'), GeomFromEWKT('SRID=4674;POINT (-39.700635 -2.682696)'))) / (select extract(epoch from '2026-07-24 14:25:08'::timestamp) - extract(epoch from '2026-07-24 14:24: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.70065 -2.682673)', '2026-07-24 14:25:13', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700635 -2.682696)'), GeomFromEWKT('SRID=4674;POINT (-39.70065 -2.682673)'))) / (select extract(epoch from '2026-07-24 14:25:13'::timestamp) - extract(epoch from '2026-07-24 14:25:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700635 -2.682696)'), GeomFromEWKT('SRID=4674;POINT (-39.70065 -2.682673)'))) / (select extract(epoch from '2026-07-24 14:25:13'::timestamp) - extract(epoch from '2026-07-24 14:25: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.700656 -2.682665)', '2026-07-24 14:25:15', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70065 -2.682673)'), GeomFromEWKT('SRID=4674;POINT (-39.700656 -2.682665)'))) / (select extract(epoch from '2026-07-24 14:25:15'::timestamp) - extract(epoch from '2026-07-24 14:25:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70065 -2.682673)'), GeomFromEWKT('SRID=4674;POINT (-39.700656 -2.682665)'))) / (select extract(epoch from '2026-07-24 14:25:15'::timestamp) - extract(epoch from '2026-07-24 14:25:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700673 -2.68264)', '2026-07-24 14:25:21', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700656 -2.682665)'), GeomFromEWKT('SRID=4674;POINT (-39.700673 -2.68264)'))) / (select extract(epoch from '2026-07-24 14:25:21'::timestamp) - extract(epoch from '2026-07-24 14:25:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700656 -2.682665)'), GeomFromEWKT('SRID=4674;POINT (-39.700673 -2.68264)'))) / (select extract(epoch from '2026-07-24 14:25:21'::timestamp) - extract(epoch from '2026-07-24 14:25: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.700681 -2.682615)', '2026-07-24 14:25:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700673 -2.68264)'), GeomFromEWKT('SRID=4674;POINT (-39.700681 -2.682615)'))) / (select extract(epoch from '2026-07-24 14:25:28'::timestamp) - extract(epoch from '2026-07-24 14:25:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700673 -2.68264)'), GeomFromEWKT('SRID=4674;POINT (-39.700681 -2.682615)'))) / (select extract(epoch from '2026-07-24 14:25:28'::timestamp) - extract(epoch from '2026-07-24 14:25: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.700678 -2.682605)', '2026-07-24 14:25:29', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700681 -2.682615)'), GeomFromEWKT('SRID=4674;POINT (-39.700678 -2.682605)'))) / (select extract(epoch from '2026-07-24 14:25:29'::timestamp) - extract(epoch from '2026-07-24 14:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700681 -2.682615)'), GeomFromEWKT('SRID=4674;POINT (-39.700678 -2.682605)'))) / (select extract(epoch from '2026-07-24 14:25:29'::timestamp) - extract(epoch from '2026-07-24 14:25:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700675 -2.682586)', '2026-07-24 14:25:31', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700678 -2.682605)'), GeomFromEWKT('SRID=4674;POINT (-39.700675 -2.682586)'))) / (select extract(epoch from '2026-07-24 14:25:31'::timestamp) - extract(epoch from '2026-07-24 14:25:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700678 -2.682605)'), GeomFromEWKT('SRID=4674;POINT (-39.700675 -2.682586)'))) / (select extract(epoch from '2026-07-24 14:25:31'::timestamp) - extract(epoch from '2026-07-24 14: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.700661 -2.682548)', '2026-07-24 14:25:34', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700675 -2.682586)'), GeomFromEWKT('SRID=4674;POINT (-39.700661 -2.682548)'))) / (select extract(epoch from '2026-07-24 14:25:34'::timestamp) - extract(epoch from '2026-07-24 14:25:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700675 -2.682586)'), GeomFromEWKT('SRID=4674;POINT (-39.700661 -2.682548)'))) / (select extract(epoch from '2026-07-24 14:25:34'::timestamp) - extract(epoch from '2026-07-24 14:25: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.700589 -2.682433)', '2026-07-24 14:25:42', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700661 -2.682548)'), GeomFromEWKT('SRID=4674;POINT (-39.700589 -2.682433)'))) / (select extract(epoch from '2026-07-24 14:25:42'::timestamp) - extract(epoch from '2026-07-24 14:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700661 -2.682548)'), GeomFromEWKT('SRID=4674;POINT (-39.700589 -2.682433)'))) / (select extract(epoch from '2026-07-24 14:25:42'::timestamp) - extract(epoch from '2026-07-24 14:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700513 -2.68236)', '2026-07-24 14:25:48', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700589 -2.682433)'), GeomFromEWKT('SRID=4674;POINT (-39.700513 -2.68236)'))) / (select extract(epoch from '2026-07-24 14:25:48'::timestamp) - extract(epoch from '2026-07-24 14:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700589 -2.682433)'), GeomFromEWKT('SRID=4674;POINT (-39.700513 -2.68236)'))) / (select extract(epoch from '2026-07-24 14:25:48'::timestamp) - extract(epoch from '2026-07-24 14:25: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.700425 -2.682281)', '2026-07-24 14:25:54', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700513 -2.68236)'), GeomFromEWKT('SRID=4674;POINT (-39.700425 -2.682281)'))) / (select extract(epoch from '2026-07-24 14:25:54'::timestamp) - extract(epoch from '2026-07-24 14:25:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700513 -2.68236)'), GeomFromEWKT('SRID=4674;POINT (-39.700425 -2.682281)'))) / (select extract(epoch from '2026-07-24 14:25:54'::timestamp) - extract(epoch from '2026-07-24 14:25:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700332 -2.682156)', '2026-07-24 14:26:01', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700425 -2.682281)'), GeomFromEWKT('SRID=4674;POINT (-39.700332 -2.682156)'))) / (select extract(epoch from '2026-07-24 14:26:01'::timestamp) - extract(epoch from '2026-07-24 14:25:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700425 -2.682281)'), GeomFromEWKT('SRID=4674;POINT (-39.700332 -2.682156)'))) / (select extract(epoch from '2026-07-24 14:26:01'::timestamp) - extract(epoch from '2026-07-24 14:25: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.700225 -2.682057)', '2026-07-24 14:26:08', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700332 -2.682156)'), GeomFromEWKT('SRID=4674;POINT (-39.700225 -2.682057)'))) / (select extract(epoch from '2026-07-24 14:26:08'::timestamp) - extract(epoch from '2026-07-24 14:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700332 -2.682156)'), GeomFromEWKT('SRID=4674;POINT (-39.700225 -2.682057)'))) / (select extract(epoch from '2026-07-24 14:26:08'::timestamp) - extract(epoch from '2026-07-24 14:26:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700112 -2.681976)', '2026-07-24 14:26:15', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700225 -2.682057)'), GeomFromEWKT('SRID=4674;POINT (-39.700112 -2.681976)'))) / (select extract(epoch from '2026-07-24 14:26:15'::timestamp) - extract(epoch from '2026-07-24 14:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700225 -2.682057)'), GeomFromEWKT('SRID=4674;POINT (-39.700112 -2.681976)'))) / (select extract(epoch from '2026-07-24 14:26:15'::timestamp) - extract(epoch from '2026-07-24 14:26: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.700027 -2.68194)', '2026-07-24 14:26:21', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700112 -2.681976)'), GeomFromEWKT('SRID=4674;POINT (-39.700027 -2.68194)'))) / (select extract(epoch from '2026-07-24 14:26:21'::timestamp) - extract(epoch from '2026-07-24 14:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700112 -2.681976)'), GeomFromEWKT('SRID=4674;POINT (-39.700027 -2.68194)'))) / (select extract(epoch from '2026-07-24 14:26:21'::timestamp) - extract(epoch from '2026-07-24 14:26: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.7 -2.681947)', '2026-07-24 14:26:23', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700027 -2.68194)'), GeomFromEWKT('SRID=4674;POINT (-39.7 -2.681947)'))) / (select extract(epoch from '2026-07-24 14:26:23'::timestamp) - extract(epoch from '2026-07-24 14:26:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700027 -2.68194)'), GeomFromEWKT('SRID=4674;POINT (-39.7 -2.681947)'))) / (select extract(epoch from '2026-07-24 14:26:23'::timestamp) - extract(epoch from '2026-07-24 14:26: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.699967 -2.68197)', '2026-07-24 14:26:26', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7 -2.681947)'), GeomFromEWKT('SRID=4674;POINT (-39.699967 -2.68197)'))) / (select extract(epoch from '2026-07-24 14:26:26'::timestamp) - extract(epoch from '2026-07-24 14:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.7 -2.681947)'), GeomFromEWKT('SRID=4674;POINT (-39.699967 -2.68197)'))) / (select extract(epoch from '2026-07-24 14:26:26'::timestamp) - extract(epoch from '2026-07-24 14:26: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.699907 -2.682028)', '2026-07-24 14:26:31', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699967 -2.68197)'), GeomFromEWKT('SRID=4674;POINT (-39.699907 -2.682028)'))) / (select extract(epoch from '2026-07-24 14:26:31'::timestamp) - extract(epoch from '2026-07-24 14:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699967 -2.68197)'), GeomFromEWKT('SRID=4674;POINT (-39.699907 -2.682028)'))) / (select extract(epoch from '2026-07-24 14:26:31'::timestamp) - extract(epoch from '2026-07-24 14:26: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.69989 -2.682048)', '2026-07-24 14:26:33', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699907 -2.682028)'), GeomFromEWKT('SRID=4674;POINT (-39.69989 -2.682048)'))) / (select extract(epoch from '2026-07-24 14:26:33'::timestamp) - extract(epoch from '2026-07-24 14:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699907 -2.682028)'), GeomFromEWKT('SRID=4674;POINT (-39.69989 -2.682048)'))) / (select extract(epoch from '2026-07-24 14:26:33'::timestamp) - extract(epoch from '2026-07-24 14:26:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699882 -2.682063)', '2026-07-24 14:26:35', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69989 -2.682048)'), GeomFromEWKT('SRID=4674;POINT (-39.699882 -2.682063)'))) / (select extract(epoch from '2026-07-24 14:26:35'::timestamp) - extract(epoch from '2026-07-24 14:26:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69989 -2.682048)'), GeomFromEWKT('SRID=4674;POINT (-39.699882 -2.682063)'))) / (select extract(epoch from '2026-07-24 14:26:35'::timestamp) - extract(epoch from '2026-07-24 14:26: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.699873 -2.682064)', '2026-07-24 14:26:36', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699882 -2.682063)'), GeomFromEWKT('SRID=4674;POINT (-39.699873 -2.682064)'))) / (select extract(epoch from '2026-07-24 14:26:36'::timestamp) - extract(epoch from '2026-07-24 14:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699882 -2.682063)'), GeomFromEWKT('SRID=4674;POINT (-39.699873 -2.682064)'))) / (select extract(epoch from '2026-07-24 14:26:36'::timestamp) - extract(epoch from '2026-07-24 14: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.699822 -2.68203)', '2026-07-24 14:26:44', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699873 -2.682064)'), GeomFromEWKT('SRID=4674;POINT (-39.699822 -2.68203)'))) / (select extract(epoch from '2026-07-24 14:26:44'::timestamp) - extract(epoch from '2026-07-24 14:26:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699873 -2.682064)'), GeomFromEWKT('SRID=4674;POINT (-39.699822 -2.68203)'))) / (select extract(epoch from '2026-07-24 14:26:44'::timestamp) - extract(epoch from '2026-07-24 14:26: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.699827 -2.681954)', '2026-07-24 14:26:52', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699822 -2.68203)'), GeomFromEWKT('SRID=4674;POINT (-39.699827 -2.681954)'))) / (select extract(epoch from '2026-07-24 14:26:52'::timestamp) - extract(epoch from '2026-07-24 14:26:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699822 -2.68203)'), GeomFromEWKT('SRID=4674;POINT (-39.699827 -2.681954)'))) / (select extract(epoch from '2026-07-24 14:26:52'::timestamp) - extract(epoch from '2026-07-24 14:26: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.699849 -2.681862)', '2026-07-24 14:26:59', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699827 -2.681954)'), GeomFromEWKT('SRID=4674;POINT (-39.699849 -2.681862)'))) / (select extract(epoch from '2026-07-24 14:26:59'::timestamp) - extract(epoch from '2026-07-24 14:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699827 -2.681954)'), GeomFromEWKT('SRID=4674;POINT (-39.699849 -2.681862)'))) / (select extract(epoch from '2026-07-24 14:26:59'::timestamp) - extract(epoch from '2026-07-24 14:26:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699863 -2.681844)', '2026-07-24 14:27:01', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699849 -2.681862)'), GeomFromEWKT('SRID=4674;POINT (-39.699863 -2.681844)'))) / (select extract(epoch from '2026-07-24 14:27:01'::timestamp) - extract(epoch from '2026-07-24 14:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699849 -2.681862)'), GeomFromEWKT('SRID=4674;POINT (-39.699863 -2.681844)'))) / (select extract(epoch from '2026-07-24 14:27:01'::timestamp) - extract(epoch from '2026-07-24 14:26: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.699871 -2.681813)', '2026-07-24 14:27:04', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699863 -2.681844)'), GeomFromEWKT('SRID=4674;POINT (-39.699871 -2.681813)'))) / (select extract(epoch from '2026-07-24 14:27:04'::timestamp) - extract(epoch from '2026-07-24 14:27:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699863 -2.681844)'), GeomFromEWKT('SRID=4674;POINT (-39.699871 -2.681813)'))) / (select extract(epoch from '2026-07-24 14:27:04'::timestamp) - extract(epoch from '2026-07-24 14:27: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.699877 -2.681803)', '2026-07-24 14:27:05', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699871 -2.681813)'), GeomFromEWKT('SRID=4674;POINT (-39.699877 -2.681803)'))) / (select extract(epoch from '2026-07-24 14:27:05'::timestamp) - extract(epoch from '2026-07-24 14:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699871 -2.681813)'), GeomFromEWKT('SRID=4674;POINT (-39.699877 -2.681803)'))) / (select extract(epoch from '2026-07-24 14:27:05'::timestamp) - extract(epoch from '2026-07-24 14: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.699892 -2.681766)', '2026-07-24 14:27:10', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699877 -2.681803)'), GeomFromEWKT('SRID=4674;POINT (-39.699892 -2.681766)'))) / (select extract(epoch from '2026-07-24 14:27:10'::timestamp) - extract(epoch from '2026-07-24 14:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699877 -2.681803)'), GeomFromEWKT('SRID=4674;POINT (-39.699892 -2.681766)'))) / (select extract(epoch from '2026-07-24 14:27:10'::timestamp) - extract(epoch from '2026-07-24 14:27: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.699929 -2.681708)', '2026-07-24 14:27:20', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699892 -2.681766)'), GeomFromEWKT('SRID=4674;POINT (-39.699929 -2.681708)'))) / (select extract(epoch from '2026-07-24 14:27:20'::timestamp) - extract(epoch from '2026-07-24 14:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699892 -2.681766)'), GeomFromEWKT('SRID=4674;POINT (-39.699929 -2.681708)'))) / (select extract(epoch from '2026-07-24 14:27:20'::timestamp) - extract(epoch from '2026-07-24 14:27:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699979 -2.681674)', '2026-07-24 14:27:29', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699929 -2.681708)'), GeomFromEWKT('SRID=4674;POINT (-39.699979 -2.681674)'))) / (select extract(epoch from '2026-07-24 14:27:29'::timestamp) - extract(epoch from '2026-07-24 14:27:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699929 -2.681708)'), GeomFromEWKT('SRID=4674;POINT (-39.699979 -2.681674)'))) / (select extract(epoch from '2026-07-24 14:27:29'::timestamp) - extract(epoch from '2026-07-24 14:27: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.700018 -2.681643)', '2026-07-24 14:27:37', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699979 -2.681674)'), GeomFromEWKT('SRID=4674;POINT (-39.700018 -2.681643)'))) / (select extract(epoch from '2026-07-24 14:27:37'::timestamp) - extract(epoch from '2026-07-24 14:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699979 -2.681674)'), GeomFromEWKT('SRID=4674;POINT (-39.700018 -2.681643)'))) / (select extract(epoch from '2026-07-24 14:27:37'::timestamp) - extract(epoch from '2026-07-24 14:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700041 -2.68161)', '2026-07-24 14:27:45', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700018 -2.681643)'), GeomFromEWKT('SRID=4674;POINT (-39.700041 -2.68161)'))) / (select extract(epoch from '2026-07-24 14:27:45'::timestamp) - extract(epoch from '2026-07-24 14:27:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700018 -2.681643)'), GeomFromEWKT('SRID=4674;POINT (-39.700041 -2.68161)'))) / (select extract(epoch from '2026-07-24 14:27:45'::timestamp) - extract(epoch from '2026-07-24 14:27: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.700089 -2.681565)', '2026-07-24 14:27:56', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700041 -2.68161)'), GeomFromEWKT('SRID=4674;POINT (-39.700089 -2.681565)'))) / (select extract(epoch from '2026-07-24 14:27:56'::timestamp) - extract(epoch from '2026-07-24 14:27:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700041 -2.68161)'), GeomFromEWKT('SRID=4674;POINT (-39.700089 -2.681565)'))) / (select extract(epoch from '2026-07-24 14:27:56'::timestamp) - extract(epoch from '2026-07-24 14:27: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.700092 -2.68154)', '2026-07-24 14:28:04', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700089 -2.681565)'), GeomFromEWKT('SRID=4674;POINT (-39.700092 -2.68154)'))) / (select extract(epoch from '2026-07-24 14:28:04'::timestamp) - extract(epoch from '2026-07-24 14:27:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700089 -2.681565)'), GeomFromEWKT('SRID=4674;POINT (-39.700092 -2.68154)'))) / (select extract(epoch from '2026-07-24 14:28:04'::timestamp) - extract(epoch from '2026-07-24 14:27: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.700124 -2.68149)', '2026-07-24 14:28:25', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700092 -2.68154)'), GeomFromEWKT('SRID=4674;POINT (-39.700124 -2.68149)'))) / (select extract(epoch from '2026-07-24 14:28:25'::timestamp) - extract(epoch from '2026-07-24 14:28:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700092 -2.68154)'), GeomFromEWKT('SRID=4674;POINT (-39.700124 -2.68149)'))) / (select extract(epoch from '2026-07-24 14:28:25'::timestamp) - extract(epoch from '2026-07-24 14:28: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.700161 -2.681476)', '2026-07-24 14:28:33', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700124 -2.68149)'), GeomFromEWKT('SRID=4674;POINT (-39.700161 -2.681476)'))) / (select extract(epoch from '2026-07-24 14:28:33'::timestamp) - extract(epoch from '2026-07-24 14:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700124 -2.68149)'), GeomFromEWKT('SRID=4674;POINT (-39.700161 -2.681476)'))) / (select extract(epoch from '2026-07-24 14:28:33'::timestamp) - extract(epoch from '2026-07-24 14:28: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.700187 -2.68146)', '2026-07-24 14:28:40', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700161 -2.681476)'), GeomFromEWKT('SRID=4674;POINT (-39.700187 -2.68146)'))) / (select extract(epoch from '2026-07-24 14:28:40'::timestamp) - extract(epoch from '2026-07-24 14:28:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700161 -2.681476)'), GeomFromEWKT('SRID=4674;POINT (-39.700187 -2.68146)'))) / (select extract(epoch from '2026-07-24 14:28:40'::timestamp) - extract(epoch from '2026-07-24 14:28:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700185 -2.681442)', '2026-07-24 14:28:44', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700187 -2.68146)'), GeomFromEWKT('SRID=4674;POINT (-39.700185 -2.681442)'))) / (select extract(epoch from '2026-07-24 14:28:44'::timestamp) - extract(epoch from '2026-07-24 14:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700187 -2.68146)'), GeomFromEWKT('SRID=4674;POINT (-39.700185 -2.681442)'))) / (select extract(epoch from '2026-07-24 14:28:44'::timestamp) - extract(epoch from '2026-07-24 14:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700174 -2.681423)', '2026-07-24 14:28:46', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700185 -2.681442)'), GeomFromEWKT('SRID=4674;POINT (-39.700174 -2.681423)'))) / (select extract(epoch from '2026-07-24 14:28:46'::timestamp) - extract(epoch from '2026-07-24 14:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700185 -2.681442)'), GeomFromEWKT('SRID=4674;POINT (-39.700174 -2.681423)'))) / (select extract(epoch from '2026-07-24 14:28:46'::timestamp) - extract(epoch from '2026-07-24 14: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.700171 -2.681411)', '2026-07-24 14:28:47', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700174 -2.681423)'), GeomFromEWKT('SRID=4674;POINT (-39.700171 -2.681411)'))) / (select extract(epoch from '2026-07-24 14:28:47'::timestamp) - extract(epoch from '2026-07-24 14:28:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700174 -2.681423)'), GeomFromEWKT('SRID=4674;POINT (-39.700171 -2.681411)'))) / (select extract(epoch from '2026-07-24 14:28:47'::timestamp) - extract(epoch from '2026-07-24 14:28:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700153 -2.681307)', '2026-07-24 14:28:55', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700171 -2.681411)'), GeomFromEWKT('SRID=4674;POINT (-39.700153 -2.681307)'))) / (select extract(epoch from '2026-07-24 14:28:55'::timestamp) - extract(epoch from '2026-07-24 14:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700171 -2.681411)'), GeomFromEWKT('SRID=4674;POINT (-39.700153 -2.681307)'))) / (select extract(epoch from '2026-07-24 14:28:55'::timestamp) - extract(epoch from '2026-07-24 14:28: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.700146 -2.681202)', '2026-07-24 14:29:01', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700153 -2.681307)'), GeomFromEWKT('SRID=4674;POINT (-39.700146 -2.681202)'))) / (select extract(epoch from '2026-07-24 14:29:01'::timestamp) - extract(epoch from '2026-07-24 14:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700153 -2.681307)'), GeomFromEWKT('SRID=4674;POINT (-39.700146 -2.681202)'))) / (select extract(epoch from '2026-07-24 14:29:01'::timestamp) - extract(epoch from '2026-07-24 14:28: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.700148 -2.681111)', '2026-07-24 14:29:06', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700146 -2.681202)'), GeomFromEWKT('SRID=4674;POINT (-39.700148 -2.681111)'))) / (select extract(epoch from '2026-07-24 14:29:06'::timestamp) - extract(epoch from '2026-07-24 14:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700146 -2.681202)'), GeomFromEWKT('SRID=4674;POINT (-39.700148 -2.681111)'))) / (select extract(epoch from '2026-07-24 14:29:06'::timestamp) - extract(epoch from '2026-07-24 14:29: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.70013 -2.68099)', '2026-07-24 14:29:12', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700148 -2.681111)'), GeomFromEWKT('SRID=4674;POINT (-39.70013 -2.68099)'))) / (select extract(epoch from '2026-07-24 14:29:12'::timestamp) - extract(epoch from '2026-07-24 14:29:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700148 -2.681111)'), GeomFromEWKT('SRID=4674;POINT (-39.70013 -2.68099)'))) / (select extract(epoch from '2026-07-24 14:29:12'::timestamp) - extract(epoch from '2026-07-24 14:29: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.700096 -2.680892)', '2026-07-24 14:29:17', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70013 -2.68099)'), GeomFromEWKT('SRID=4674;POINT (-39.700096 -2.680892)'))) / (select extract(epoch from '2026-07-24 14:29:17'::timestamp) - extract(epoch from '2026-07-24 14:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70013 -2.68099)'), GeomFromEWKT('SRID=4674;POINT (-39.700096 -2.680892)'))) / (select extract(epoch from '2026-07-24 14:29:17'::timestamp) - extract(epoch from '2026-07-24 14:29: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.700057 -2.680765)', '2026-07-24 14:29:23', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700096 -2.680892)'), GeomFromEWKT('SRID=4674;POINT (-39.700057 -2.680765)'))) / (select extract(epoch from '2026-07-24 14:29:23'::timestamp) - extract(epoch from '2026-07-24 14:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700096 -2.680892)'), GeomFromEWKT('SRID=4674;POINT (-39.700057 -2.680765)'))) / (select extract(epoch from '2026-07-24 14:29:23'::timestamp) - extract(epoch from '2026-07-24 14:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700036 -2.680646)', '2026-07-24 14:29:28', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700057 -2.680765)'), GeomFromEWKT('SRID=4674;POINT (-39.700036 -2.680646)'))) / (select extract(epoch from '2026-07-24 14:29:28'::timestamp) - extract(epoch from '2026-07-24 14:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700057 -2.680765)'), GeomFromEWKT('SRID=4674;POINT (-39.700036 -2.680646)'))) / (select extract(epoch from '2026-07-24 14:29:28'::timestamp) - extract(epoch from '2026-07-24 14:29: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.699992 -2.680476)', '2026-07-24 14:29:35', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700036 -2.680646)'), GeomFromEWKT('SRID=4674;POINT (-39.699992 -2.680476)'))) / (select extract(epoch from '2026-07-24 14:29:35'::timestamp) - extract(epoch from '2026-07-24 14:29:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700036 -2.680646)'), GeomFromEWKT('SRID=4674;POINT (-39.699992 -2.680476)'))) / (select extract(epoch from '2026-07-24 14:29:35'::timestamp) - extract(epoch from '2026-07-24 14:29: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.699912 -2.680373)', '2026-07-24 14:29:41', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699992 -2.680476)'), GeomFromEWKT('SRID=4674;POINT (-39.699912 -2.680373)'))) / (select extract(epoch from '2026-07-24 14:29:41'::timestamp) - extract(epoch from '2026-07-24 14:29:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699992 -2.680476)'), GeomFromEWKT('SRID=4674;POINT (-39.699912 -2.680373)'))) / (select extract(epoch from '2026-07-24 14:29:41'::timestamp) - extract(epoch from '2026-07-24 14:29: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.699819 -2.680318)', '2026-07-24 14:29:47', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699912 -2.680373)'), GeomFromEWKT('SRID=4674;POINT (-39.699819 -2.680318)'))) / (select extract(epoch from '2026-07-24 14:29:47'::timestamp) - extract(epoch from '2026-07-24 14:29:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699912 -2.680373)'), GeomFromEWKT('SRID=4674;POINT (-39.699819 -2.680318)'))) / (select extract(epoch from '2026-07-24 14:29:47'::timestamp) - extract(epoch from '2026-07-24 14:29: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.699763 -2.680302)', '2026-07-24 14:29:52', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699819 -2.680318)'), GeomFromEWKT('SRID=4674;POINT (-39.699763 -2.680302)'))) / (select extract(epoch from '2026-07-24 14:29:52'::timestamp) - extract(epoch from '2026-07-24 14:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699819 -2.680318)'), GeomFromEWKT('SRID=4674;POINT (-39.699763 -2.680302)'))) / (select extract(epoch from '2026-07-24 14:29:52'::timestamp) - extract(epoch from '2026-07-24 14: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.699715 -2.68028)', '2026-07-24 14:30:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699763 -2.680302)'), GeomFromEWKT('SRID=4674;POINT (-39.699715 -2.68028)'))) / (select extract(epoch from '2026-07-24 14:30:02'::timestamp) - extract(epoch from '2026-07-24 14:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699763 -2.680302)'), GeomFromEWKT('SRID=4674;POINT (-39.699715 -2.68028)'))) / (select extract(epoch from '2026-07-24 14:30:02'::timestamp) - extract(epoch from '2026-07-24 14:29: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.699726 -2.680259)', '2026-07-24 14:30:09', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699715 -2.68028)'), GeomFromEWKT('SRID=4674;POINT (-39.699726 -2.680259)'))) / (select extract(epoch from '2026-07-24 14:30:09'::timestamp) - extract(epoch from '2026-07-24 14:30:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699715 -2.68028)'), GeomFromEWKT('SRID=4674;POINT (-39.699726 -2.680259)'))) / (select extract(epoch from '2026-07-24 14:30:09'::timestamp) - extract(epoch from '2026-07-24 14:30: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.699755 -2.680218)', '2026-07-24 14:30:17', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699726 -2.680259)'), GeomFromEWKT('SRID=4674;POINT (-39.699755 -2.680218)'))) / (select extract(epoch from '2026-07-24 14:30:17'::timestamp) - extract(epoch from '2026-07-24 14:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699726 -2.680259)'), GeomFromEWKT('SRID=4674;POINT (-39.699755 -2.680218)'))) / (select extract(epoch from '2026-07-24 14:30:17'::timestamp) - extract(epoch from '2026-07-24 14:30: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.699804 -2.680164)', '2026-07-24 14:30:27', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699755 -2.680218)'), GeomFromEWKT('SRID=4674;POINT (-39.699804 -2.680164)'))) / (select extract(epoch from '2026-07-24 14:30:27'::timestamp) - extract(epoch from '2026-07-24 14:30:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699755 -2.680218)'), GeomFromEWKT('SRID=4674;POINT (-39.699804 -2.680164)'))) / (select extract(epoch from '2026-07-24 14:30:27'::timestamp) - extract(epoch from '2026-07-24 14:30: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.69988 -2.680125)', '2026-07-24 14:30:36', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699804 -2.680164)'), GeomFromEWKT('SRID=4674;POINT (-39.69988 -2.680125)'))) / (select extract(epoch from '2026-07-24 14:30:36'::timestamp) - extract(epoch from '2026-07-24 14:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699804 -2.680164)'), GeomFromEWKT('SRID=4674;POINT (-39.69988 -2.680125)'))) / (select extract(epoch from '2026-07-24 14:30:36'::timestamp) - extract(epoch from '2026-07-24 14: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.699885 -2.680117)', '2026-07-24 14:30:37', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69988 -2.680125)'), GeomFromEWKT('SRID=4674;POINT (-39.699885 -2.680117)'))) / (select extract(epoch from '2026-07-24 14:30:37'::timestamp) - extract(epoch from '2026-07-24 14:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69988 -2.680125)'), GeomFromEWKT('SRID=4674;POINT (-39.699885 -2.680117)'))) / (select extract(epoch from '2026-07-24 14:30:37'::timestamp) - extract(epoch from '2026-07-24 14:30: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.699927 -2.680091)', '2026-07-24 14:30:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699885 -2.680117)'), GeomFromEWKT('SRID=4674;POINT (-39.699927 -2.680091)'))) / (select extract(epoch from '2026-07-24 14:30:43'::timestamp) - extract(epoch from '2026-07-24 14:30:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699885 -2.680117)'), GeomFromEWKT('SRID=4674;POINT (-39.699927 -2.680091)'))) / (select extract(epoch from '2026-07-24 14:30:43'::timestamp) - extract(epoch from '2026-07-24 14:30:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699993 -2.68004)', '2026-07-24 14:30:54', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699927 -2.680091)'), GeomFromEWKT('SRID=4674;POINT (-39.699993 -2.68004)'))) / (select extract(epoch from '2026-07-24 14:30:54'::timestamp) - extract(epoch from '2026-07-24 14:30:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699927 -2.680091)'), GeomFromEWKT('SRID=4674;POINT (-39.699993 -2.68004)'))) / (select extract(epoch from '2026-07-24 14:30:54'::timestamp) - extract(epoch from '2026-07-24 14:30: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.700023 -2.68001)', '2026-07-24 14:31:02', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699993 -2.68004)'), GeomFromEWKT('SRID=4674;POINT (-39.700023 -2.68001)'))) / (select extract(epoch from '2026-07-24 14:31:02'::timestamp) - extract(epoch from '2026-07-24 14:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699993 -2.68004)'), GeomFromEWKT('SRID=4674;POINT (-39.700023 -2.68001)'))) / (select extract(epoch from '2026-07-24 14:31:02'::timestamp) - extract(epoch from '2026-07-24 14:30: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.70006 -2.679975)', '2026-07-24 14:31:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700023 -2.68001)'), GeomFromEWKT('SRID=4674;POINT (-39.70006 -2.679975)'))) / (select extract(epoch from '2026-07-24 14:31:11'::timestamp) - extract(epoch from '2026-07-24 14:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700023 -2.68001)'), GeomFromEWKT('SRID=4674;POINT (-39.70006 -2.679975)'))) / (select extract(epoch from '2026-07-24 14:31:11'::timestamp) - extract(epoch from '2026-07-24 14:31: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.700093 -2.679945)', '2026-07-24 14:31:18', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70006 -2.679975)'), GeomFromEWKT('SRID=4674;POINT (-39.700093 -2.679945)'))) / (select extract(epoch from '2026-07-24 14:31:18'::timestamp) - extract(epoch from '2026-07-24 14:31:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70006 -2.679975)'), GeomFromEWKT('SRID=4674;POINT (-39.700093 -2.679945)'))) / (select extract(epoch from '2026-07-24 14:31:18'::timestamp) - extract(epoch from '2026-07-24 14:31: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.700095 -2.679938)', '2026-07-24 14:31:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700093 -2.679945)'), GeomFromEWKT('SRID=4674;POINT (-39.700095 -2.679938)'))) / (select extract(epoch from '2026-07-24 14:31:19'::timestamp) - extract(epoch from '2026-07-24 14:31:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700093 -2.679945)'), GeomFromEWKT('SRID=4674;POINT (-39.700095 -2.679938)'))) / (select extract(epoch from '2026-07-24 14:31:19'::timestamp) - extract(epoch from '2026-07-24 14: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.700124 -2.679916)', '2026-07-24 14:31:25', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700095 -2.679938)'), GeomFromEWKT('SRID=4674;POINT (-39.700124 -2.679916)'))) / (select extract(epoch from '2026-07-24 14:31:25'::timestamp) - extract(epoch from '2026-07-24 14:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700095 -2.679938)'), GeomFromEWKT('SRID=4674;POINT (-39.700124 -2.679916)'))) / (select extract(epoch from '2026-07-24 14:31:25'::timestamp) - extract(epoch from '2026-07-24 14:31:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700163 -2.679886)', '2026-07-24 14:31:34', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700124 -2.679916)'), GeomFromEWKT('SRID=4674;POINT (-39.700163 -2.679886)'))) / (select extract(epoch from '2026-07-24 14:31:34'::timestamp) - extract(epoch from '2026-07-24 14:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700124 -2.679916)'), GeomFromEWKT('SRID=4674;POINT (-39.700163 -2.679886)'))) / (select extract(epoch from '2026-07-24 14:31:34'::timestamp) - extract(epoch from '2026-07-24 14:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700115 -2.67987)', '2026-07-24 14:31:43', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700163 -2.679886)'), GeomFromEWKT('SRID=4674;POINT (-39.700115 -2.67987)'))) / (select extract(epoch from '2026-07-24 14:31:43'::timestamp) - extract(epoch from '2026-07-24 14:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700163 -2.679886)'), GeomFromEWKT('SRID=4674;POINT (-39.700115 -2.67987)'))) / (select extract(epoch from '2026-07-24 14:31:43'::timestamp) - extract(epoch from '2026-07-24 14:31: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.700055 -2.679912)', '2026-07-24 14:31:49', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700115 -2.67987)'), GeomFromEWKT('SRID=4674;POINT (-39.700055 -2.679912)'))) / (select extract(epoch from '2026-07-24 14:31:49'::timestamp) - extract(epoch from '2026-07-24 14:31:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700115 -2.67987)'), GeomFromEWKT('SRID=4674;POINT (-39.700055 -2.679912)'))) / (select extract(epoch from '2026-07-24 14:31:49'::timestamp) - extract(epoch from '2026-07-24 14:31: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.69996 -2.679961)', '2026-07-24 14:31:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700055 -2.679912)'), GeomFromEWKT('SRID=4674;POINT (-39.69996 -2.679961)'))) / (select extract(epoch from '2026-07-24 14:31:56'::timestamp) - extract(epoch from '2026-07-24 14:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700055 -2.679912)'), GeomFromEWKT('SRID=4674;POINT (-39.69996 -2.679961)'))) / (select extract(epoch from '2026-07-24 14:31:56'::timestamp) - extract(epoch from '2026-07-24 14:31: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.699849 -2.680019)', '2026-07-24 14:32:03', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69996 -2.679961)'), GeomFromEWKT('SRID=4674;POINT (-39.699849 -2.680019)'))) / (select extract(epoch from '2026-07-24 14:32:03'::timestamp) - extract(epoch from '2026-07-24 14:31:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69996 -2.679961)'), GeomFromEWKT('SRID=4674;POINT (-39.699849 -2.680019)'))) / (select extract(epoch from '2026-07-24 14:32:03'::timestamp) - extract(epoch from '2026-07-24 14:31: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.699779 -2.680082)', '2026-07-24 14:32:08', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699849 -2.680019)'), GeomFromEWKT('SRID=4674;POINT (-39.699779 -2.680082)'))) / (select extract(epoch from '2026-07-24 14:32:08'::timestamp) - extract(epoch from '2026-07-24 14:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699849 -2.680019)'), GeomFromEWKT('SRID=4674;POINT (-39.699779 -2.680082)'))) / (select extract(epoch from '2026-07-24 14:32:08'::timestamp) - extract(epoch from '2026-07-24 14:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699765 -2.680093)', '2026-07-24 14:32:09', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699779 -2.680082)'), GeomFromEWKT('SRID=4674;POINT (-39.699765 -2.680093)'))) / (select extract(epoch from '2026-07-24 14:32:09'::timestamp) - extract(epoch from '2026-07-24 14:32:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699779 -2.680082)'), GeomFromEWKT('SRID=4674;POINT (-39.699765 -2.680093)'))) / (select extract(epoch from '2026-07-24 14:32:09'::timestamp) - extract(epoch from '2026-07-24 14:32: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.699698 -2.680164)', '2026-07-24 14:32:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699765 -2.680093)'), GeomFromEWKT('SRID=4674;POINT (-39.699698 -2.680164)'))) / (select extract(epoch from '2026-07-24 14:32:15'::timestamp) - extract(epoch from '2026-07-24 14:32:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699765 -2.680093)'), GeomFromEWKT('SRID=4674;POINT (-39.699698 -2.680164)'))) / (select extract(epoch from '2026-07-24 14:32:15'::timestamp) - extract(epoch from '2026-07-24 14:32: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.69965 -2.680261)', '2026-07-24 14:32:21', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699698 -2.680164)'), GeomFromEWKT('SRID=4674;POINT (-39.69965 -2.680261)'))) / (select extract(epoch from '2026-07-24 14:32:21'::timestamp) - extract(epoch from '2026-07-24 14:32:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699698 -2.680164)'), GeomFromEWKT('SRID=4674;POINT (-39.69965 -2.680261)'))) / (select extract(epoch from '2026-07-24 14:32:21'::timestamp) - extract(epoch from '2026-07-24 14:32: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.69959 -2.680367)', '2026-07-24 14:32:28', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69965 -2.680261)'), GeomFromEWKT('SRID=4674;POINT (-39.69959 -2.680367)'))) / (select extract(epoch from '2026-07-24 14:32:28'::timestamp) - extract(epoch from '2026-07-24 14:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69965 -2.680261)'), GeomFromEWKT('SRID=4674;POINT (-39.69959 -2.680367)'))) / (select extract(epoch from '2026-07-24 14:32:28'::timestamp) - extract(epoch from '2026-07-24 14:32:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699585 -2.680407)', '2026-07-24 14:32:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69959 -2.680367)'), GeomFromEWKT('SRID=4674;POINT (-39.699585 -2.680407)'))) / (select extract(epoch from '2026-07-24 14:32:31'::timestamp) - extract(epoch from '2026-07-24 14:32:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69959 -2.680367)'), GeomFromEWKT('SRID=4674;POINT (-39.699585 -2.680407)'))) / (select extract(epoch from '2026-07-24 14:32:31'::timestamp) - extract(epoch from '2026-07-24 14: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.6996 -2.680428)', '2026-07-24 14:32:33', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699585 -2.680407)'), GeomFromEWKT('SRID=4674;POINT (-39.6996 -2.680428)'))) / (select extract(epoch from '2026-07-24 14:32:33'::timestamp) - extract(epoch from '2026-07-24 14:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699585 -2.680407)'), GeomFromEWKT('SRID=4674;POINT (-39.6996 -2.680428)'))) / (select extract(epoch from '2026-07-24 14:32:33'::timestamp) - extract(epoch from '2026-07-24 14:32: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.699662 -2.68046)', '2026-07-24 14:32:38', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6996 -2.680428)'), GeomFromEWKT('SRID=4674;POINT (-39.699662 -2.68046)'))) / (select extract(epoch from '2026-07-24 14:32:38'::timestamp) - extract(epoch from '2026-07-24 14:32:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.6996 -2.680428)'), GeomFromEWKT('SRID=4674;POINT (-39.699662 -2.68046)'))) / (select extract(epoch from '2026-07-24 14:32:38'::timestamp) - extract(epoch from '2026-07-24 14:32: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.699673 -2.680458)', '2026-07-24 14:32:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699662 -2.68046)'), GeomFromEWKT('SRID=4674;POINT (-39.699673 -2.680458)'))) / (select extract(epoch from '2026-07-24 14:32:39'::timestamp) - extract(epoch from '2026-07-24 14:32:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699662 -2.68046)'), GeomFromEWKT('SRID=4674;POINT (-39.699673 -2.680458)'))) / (select extract(epoch from '2026-07-24 14:32:39'::timestamp) - extract(epoch from '2026-07-24 14:32: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.699751 -2.680431)', '2026-07-24 14:32:44', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699673 -2.680458)'), GeomFromEWKT('SRID=4674;POINT (-39.699751 -2.680431)'))) / (select extract(epoch from '2026-07-24 14:32:44'::timestamp) - extract(epoch from '2026-07-24 14:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699673 -2.680458)'), GeomFromEWKT('SRID=4674;POINT (-39.699751 -2.680431)'))) / (select extract(epoch from '2026-07-24 14:32:44'::timestamp) - extract(epoch from '2026-07-24 14:32: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.699798 -2.680347)', '2026-07-24 14:32:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699751 -2.680431)'), GeomFromEWKT('SRID=4674;POINT (-39.699798 -2.680347)'))) / (select extract(epoch from '2026-07-24 14:32:50'::timestamp) - extract(epoch from '2026-07-24 14:32:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699751 -2.680431)'), GeomFromEWKT('SRID=4674;POINT (-39.699798 -2.680347)'))) / (select extract(epoch from '2026-07-24 14:32:50'::timestamp) - extract(epoch from '2026-07-24 14:32: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.699809 -2.680322)', '2026-07-24 14:32:52', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699798 -2.680347)'), GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.680322)'))) / (select extract(epoch from '2026-07-24 14:32:52'::timestamp) - extract(epoch from '2026-07-24 14:32:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699798 -2.680347)'), GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.680322)'))) / (select extract(epoch from '2026-07-24 14:32:52'::timestamp) - extract(epoch from '2026-07-24 14:32: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.699824 -2.680304)', '2026-07-24 14:32:55', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.680322)'), GeomFromEWKT('SRID=4674;POINT (-39.699824 -2.680304)'))) / (select extract(epoch from '2026-07-24 14:32:55'::timestamp) - extract(epoch from '2026-07-24 14:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699809 -2.680322)'), GeomFromEWKT('SRID=4674;POINT (-39.699824 -2.680304)'))) / (select extract(epoch from '2026-07-24 14:32:55'::timestamp) - extract(epoch from '2026-07-24 14:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699826 -2.680293)', '2026-07-24 14:32:56', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699824 -2.680304)'), GeomFromEWKT('SRID=4674;POINT (-39.699826 -2.680293)'))) / (select extract(epoch from '2026-07-24 14:32:56'::timestamp) - extract(epoch from '2026-07-24 14:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699824 -2.680304)'), GeomFromEWKT('SRID=4674;POINT (-39.699826 -2.680293)'))) / (select extract(epoch from '2026-07-24 14:32:56'::timestamp) - extract(epoch from '2026-07-24 14: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.699838 -2.680263)', '2026-07-24 14:33:00', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699826 -2.680293)'), GeomFromEWKT('SRID=4674;POINT (-39.699838 -2.680263)'))) / (select extract(epoch from '2026-07-24 14:33:00'::timestamp) - extract(epoch from '2026-07-24 14:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699826 -2.680293)'), GeomFromEWKT('SRID=4674;POINT (-39.699838 -2.680263)'))) / (select extract(epoch from '2026-07-24 14:33:00'::timestamp) - extract(epoch from '2026-07-24 14:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699878 -2.680219)', '2026-07-24 14:33:09', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699838 -2.680263)'), GeomFromEWKT('SRID=4674;POINT (-39.699878 -2.680219)'))) / (select extract(epoch from '2026-07-24 14:33:09'::timestamp) - extract(epoch from '2026-07-24 14:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699838 -2.680263)'), GeomFromEWKT('SRID=4674;POINT (-39.699878 -2.680219)'))) / (select extract(epoch from '2026-07-24 14:33:09'::timestamp) - extract(epoch from '2026-07-24 14:33:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699921 -2.680192)', '2026-07-24 14:33:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699878 -2.680219)'), GeomFromEWKT('SRID=4674;POINT (-39.699921 -2.680192)'))) / (select extract(epoch from '2026-07-24 14:33:17'::timestamp) - extract(epoch from '2026-07-24 14:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699878 -2.680219)'), GeomFromEWKT('SRID=4674;POINT (-39.699921 -2.680192)'))) / (select extract(epoch from '2026-07-24 14:33:17'::timestamp) - extract(epoch from '2026-07-24 14:33: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.699942 -2.680172)', '2026-07-24 14:33:23', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699921 -2.680192)'), GeomFromEWKT('SRID=4674;POINT (-39.699942 -2.680172)'))) / (select extract(epoch from '2026-07-24 14:33:23'::timestamp) - extract(epoch from '2026-07-24 14:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699921 -2.680192)'), GeomFromEWKT('SRID=4674;POINT (-39.699942 -2.680172)'))) / (select extract(epoch from '2026-07-24 14:33:23'::timestamp) - extract(epoch from '2026-07-24 14:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699979 -2.680134)', '2026-07-24 14:33:32', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699942 -2.680172)'), GeomFromEWKT('SRID=4674;POINT (-39.699979 -2.680134)'))) / (select extract(epoch from '2026-07-24 14:33:32'::timestamp) - extract(epoch from '2026-07-24 14:33:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699942 -2.680172)'), GeomFromEWKT('SRID=4674;POINT (-39.699979 -2.680134)'))) / (select extract(epoch from '2026-07-24 14:33:32'::timestamp) - extract(epoch from '2026-07-24 14:33: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.70001 -2.680096)', '2026-07-24 14:33:39', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699979 -2.680134)'), GeomFromEWKT('SRID=4674;POINT (-39.70001 -2.680096)'))) / (select extract(epoch from '2026-07-24 14:33:39'::timestamp) - extract(epoch from '2026-07-24 14:33:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699979 -2.680134)'), GeomFromEWKT('SRID=4674;POINT (-39.70001 -2.680096)'))) / (select extract(epoch from '2026-07-24 14:33:39'::timestamp) - extract(epoch from '2026-07-24 14:33: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.700051 -2.680074)', '2026-07-24 14:33:47', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70001 -2.680096)'), GeomFromEWKT('SRID=4674;POINT (-39.700051 -2.680074)'))) / (select extract(epoch from '2026-07-24 14:33:47'::timestamp) - extract(epoch from '2026-07-24 14:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.70001 -2.680096)'), GeomFromEWKT('SRID=4674;POINT (-39.700051 -2.680074)'))) / (select extract(epoch from '2026-07-24 14:33:47'::timestamp) - extract(epoch from '2026-07-24 14:33: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.700067 -2.680038)', '2026-07-24 14:33:55', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700051 -2.680074)'), GeomFromEWKT('SRID=4674;POINT (-39.700067 -2.680038)'))) / (select extract(epoch from '2026-07-24 14:33:55'::timestamp) - extract(epoch from '2026-07-24 14:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700051 -2.680074)'), GeomFromEWKT('SRID=4674;POINT (-39.700067 -2.680038)'))) / (select extract(epoch from '2026-07-24 14:33:55'::timestamp) - extract(epoch from '2026-07-24 14:33: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.700086 -2.679986)', '2026-07-24 14:34:06', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700067 -2.680038)'), GeomFromEWKT('SRID=4674;POINT (-39.700086 -2.679986)'))) / (select extract(epoch from '2026-07-24 14:34:06'::timestamp) - extract(epoch from '2026-07-24 14:33:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700067 -2.680038)'), GeomFromEWKT('SRID=4674;POINT (-39.700086 -2.679986)'))) / (select extract(epoch from '2026-07-24 14:34:06'::timestamp) - extract(epoch from '2026-07-24 14:33:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700111 -2.679935)', '2026-07-24 14:34:17', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700086 -2.679986)'), GeomFromEWKT('SRID=4674;POINT (-39.700111 -2.679935)'))) / (select extract(epoch from '2026-07-24 14:34:17'::timestamp) - extract(epoch from '2026-07-24 14:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700086 -2.679986)'), GeomFromEWKT('SRID=4674;POINT (-39.700111 -2.679935)'))) / (select extract(epoch from '2026-07-24 14:34:17'::timestamp) - extract(epoch from '2026-07-24 14:34: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.700078 -2.679906)', '2026-07-24 14:34:25', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700111 -2.679935)'), GeomFromEWKT('SRID=4674;POINT (-39.700078 -2.679906)'))) / (select extract(epoch from '2026-07-24 14:34:25'::timestamp) - extract(epoch from '2026-07-24 14:34:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700111 -2.679935)'), GeomFromEWKT('SRID=4674;POINT (-39.700078 -2.679906)'))) / (select extract(epoch from '2026-07-24 14:34:25'::timestamp) - extract(epoch from '2026-07-24 14:34:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.700002 -2.679861)', '2026-07-24 14:34:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700078 -2.679906)'), GeomFromEWKT('SRID=4674;POINT (-39.700002 -2.679861)'))) / (select extract(epoch from '2026-07-24 14:34:32'::timestamp) - extract(epoch from '2026-07-24 14:34:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700078 -2.679906)'), GeomFromEWKT('SRID=4674;POINT (-39.700002 -2.679861)'))) / (select extract(epoch from '2026-07-24 14:34:32'::timestamp) - extract(epoch from '2026-07-24 14:34: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.699932 -2.679799)', '2026-07-24 14:34:38', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700002 -2.679861)'), GeomFromEWKT('SRID=4674;POINT (-39.699932 -2.679799)'))) / (select extract(epoch from '2026-07-24 14:34:38'::timestamp) - extract(epoch from '2026-07-24 14:34:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.700002 -2.679861)'), GeomFromEWKT('SRID=4674;POINT (-39.699932 -2.679799)'))) / (select extract(epoch from '2026-07-24 14:34:38'::timestamp) - extract(epoch from '2026-07-24 14: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.699882 -2.679707)', '2026-07-24 14:34:44', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699932 -2.679799)'), GeomFromEWKT('SRID=4674;POINT (-39.699882 -2.679707)'))) / (select extract(epoch from '2026-07-24 14:34:44'::timestamp) - extract(epoch from '2026-07-24 14:34:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699932 -2.679799)'), GeomFromEWKT('SRID=4674;POINT (-39.699882 -2.679707)'))) / (select extract(epoch from '2026-07-24 14:34:44'::timestamp) - extract(epoch from '2026-07-24 14:34: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.699841 -2.679627)', '2026-07-24 14:34:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699882 -2.679707)'), GeomFromEWKT('SRID=4674;POINT (-39.699841 -2.679627)'))) / (select extract(epoch from '2026-07-24 14:34:49'::timestamp) - extract(epoch from '2026-07-24 14:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699882 -2.679707)'), GeomFromEWKT('SRID=4674;POINT (-39.699841 -2.679627)'))) / (select extract(epoch from '2026-07-24 14:34:49'::timestamp) - extract(epoch from '2026-07-24 14:34: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.699778 -2.679516)', '2026-07-24 14:34:56', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699841 -2.679627)'), GeomFromEWKT('SRID=4674;POINT (-39.699778 -2.679516)'))) / (select extract(epoch from '2026-07-24 14:34:56'::timestamp) - extract(epoch from '2026-07-24 14:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699841 -2.679627)'), GeomFromEWKT('SRID=4674;POINT (-39.699778 -2.679516)'))) / (select extract(epoch from '2026-07-24 14:34:56'::timestamp) - extract(epoch from '2026-07-24 14:34: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.699695 -2.679459)', '2026-07-24 14:35:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699778 -2.679516)'), GeomFromEWKT('SRID=4674;POINT (-39.699695 -2.679459)'))) / (select extract(epoch from '2026-07-24 14:35:02'::timestamp) - extract(epoch from '2026-07-24 14:34:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699778 -2.679516)'), GeomFromEWKT('SRID=4674;POINT (-39.699695 -2.679459)'))) / (select extract(epoch from '2026-07-24 14:35:02'::timestamp) - extract(epoch from '2026-07-24 14:34:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69965 -2.679414)', '2026-07-24 14:35:06', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699695 -2.679459)'), GeomFromEWKT('SRID=4674;POINT (-39.69965 -2.679414)'))) / (select extract(epoch from '2026-07-24 14:35:06'::timestamp) - extract(epoch from '2026-07-24 14:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699695 -2.679459)'), GeomFromEWKT('SRID=4674;POINT (-39.69965 -2.679414)'))) / (select extract(epoch from '2026-07-24 14:35:06'::timestamp) - extract(epoch from '2026-07-24 14:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699643 -2.679402)', '2026-07-24 14:35:07', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69965 -2.679414)'), GeomFromEWKT('SRID=4674;POINT (-39.699643 -2.679402)'))) / (select extract(epoch from '2026-07-24 14:35:07'::timestamp) - extract(epoch from '2026-07-24 14:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69965 -2.679414)'), GeomFromEWKT('SRID=4674;POINT (-39.699643 -2.679402)'))) / (select extract(epoch from '2026-07-24 14:35:07'::timestamp) - extract(epoch from '2026-07-24 14:35: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.699587 -2.679326)', '2026-07-24 14:35:13', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699643 -2.679402)'), GeomFromEWKT('SRID=4674;POINT (-39.699587 -2.679326)'))) / (select extract(epoch from '2026-07-24 14:35:13'::timestamp) - extract(epoch from '2026-07-24 14:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699643 -2.679402)'), GeomFromEWKT('SRID=4674;POINT (-39.699587 -2.679326)'))) / (select extract(epoch from '2026-07-24 14:35:13'::timestamp) - extract(epoch from '2026-07-24 14: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.699489 -2.679237)', '2026-07-24 14:35:21', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699587 -2.679326)'), GeomFromEWKT('SRID=4674;POINT (-39.699489 -2.679237)'))) / (select extract(epoch from '2026-07-24 14:35:21'::timestamp) - extract(epoch from '2026-07-24 14:35:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699587 -2.679326)'), GeomFromEWKT('SRID=4674;POINT (-39.699489 -2.679237)'))) / (select extract(epoch from '2026-07-24 14:35:21'::timestamp) - extract(epoch from '2026-07-24 14:35: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.69942 -2.679193)', '2026-07-24 14:35:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699489 -2.679237)'), GeomFromEWKT('SRID=4674;POINT (-39.69942 -2.679193)'))) / (select extract(epoch from '2026-07-24 14:35:26'::timestamp) - extract(epoch from '2026-07-24 14:35:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699489 -2.679237)'), GeomFromEWKT('SRID=4674;POINT (-39.69942 -2.679193)'))) / (select extract(epoch from '2026-07-24 14:35:26'::timestamp) - extract(epoch from '2026-07-24 14:35: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.699315 -2.679149)', '2026-07-24 14:35:33', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69942 -2.679193)'), GeomFromEWKT('SRID=4674;POINT (-39.699315 -2.679149)'))) / (select extract(epoch from '2026-07-24 14:35:33'::timestamp) - extract(epoch from '2026-07-24 14:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69942 -2.679193)'), GeomFromEWKT('SRID=4674;POINT (-39.699315 -2.679149)'))) / (select extract(epoch from '2026-07-24 14:35:33'::timestamp) - extract(epoch from '2026-07-24 14:35: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.699184 -2.679123)', '2026-07-24 14:35:41', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699315 -2.679149)'), GeomFromEWKT('SRID=4674;POINT (-39.699184 -2.679123)'))) / (select extract(epoch from '2026-07-24 14:35:41'::timestamp) - extract(epoch from '2026-07-24 14:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699315 -2.679149)'), GeomFromEWKT('SRID=4674;POINT (-39.699184 -2.679123)'))) / (select extract(epoch from '2026-07-24 14:35:41'::timestamp) - extract(epoch from '2026-07-24 14:35: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.69912 -2.679133)', '2026-07-24 14:35:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699184 -2.679123)'), GeomFromEWKT('SRID=4674;POINT (-39.69912 -2.679133)'))) / (select extract(epoch from '2026-07-24 14:35:45'::timestamp) - extract(epoch from '2026-07-24 14:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699184 -2.679123)'), GeomFromEWKT('SRID=4674;POINT (-39.69912 -2.679133)'))) / (select extract(epoch from '2026-07-24 14:35:45'::timestamp) - extract(epoch from '2026-07-24 14:35: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.699108 -2.679131)', '2026-07-24 14:35:46', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69912 -2.679133)'), GeomFromEWKT('SRID=4674;POINT (-39.699108 -2.679131)'))) / (select extract(epoch from '2026-07-24 14:35:46'::timestamp) - extract(epoch from '2026-07-24 14:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69912 -2.679133)'), GeomFromEWKT('SRID=4674;POINT (-39.699108 -2.679131)'))) / (select extract(epoch from '2026-07-24 14:35:46'::timestamp) - extract(epoch from '2026-07-24 14:35: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.69904 -2.679143)', '2026-07-24 14:35:52', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699108 -2.679131)'), GeomFromEWKT('SRID=4674;POINT (-39.69904 -2.679143)'))) / (select extract(epoch from '2026-07-24 14:35:52'::timestamp) - extract(epoch from '2026-07-24 14:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699108 -2.679131)'), GeomFromEWKT('SRID=4674;POINT (-39.69904 -2.679143)'))) / (select extract(epoch from '2026-07-24 14:35:52'::timestamp) - extract(epoch from '2026-07-24 14:35: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.699008 -2.67915)', '2026-07-24 14:36:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69904 -2.679143)'), GeomFromEWKT('SRID=4674;POINT (-39.699008 -2.67915)'))) / (select extract(epoch from '2026-07-24 14:36:00'::timestamp) - extract(epoch from '2026-07-24 14:35:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69904 -2.679143)'), GeomFromEWKT('SRID=4674;POINT (-39.699008 -2.67915)'))) / (select extract(epoch from '2026-07-24 14:36:00'::timestamp) - extract(epoch from '2026-07-24 14:35: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.698986 -2.67914)', '2026-07-24 14:36:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699008 -2.67915)'), GeomFromEWKT('SRID=4674;POINT (-39.698986 -2.67914)'))) / (select extract(epoch from '2026-07-24 14:36:07'::timestamp) - extract(epoch from '2026-07-24 14:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699008 -2.67915)'), GeomFromEWKT('SRID=4674;POINT (-39.698986 -2.67914)'))) / (select extract(epoch from '2026-07-24 14:36:07'::timestamp) - extract(epoch from '2026-07-24 14:36: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.699005 -2.679103)', '2026-07-24 14:36:19', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698986 -2.67914)'), GeomFromEWKT('SRID=4674;POINT (-39.699005 -2.679103)'))) / (select extract(epoch from '2026-07-24 14:36:19'::timestamp) - extract(epoch from '2026-07-24 14:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698986 -2.67914)'), GeomFromEWKT('SRID=4674;POINT (-39.699005 -2.679103)'))) / (select extract(epoch from '2026-07-24 14:36:19'::timestamp) - extract(epoch from '2026-07-24 14: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.699033 -2.679078)', '2026-07-24 14:36:26', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699005 -2.679103)'), GeomFromEWKT('SRID=4674;POINT (-39.699033 -2.679078)'))) / (select extract(epoch from '2026-07-24 14:36:26'::timestamp) - extract(epoch from '2026-07-24 14:36:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699005 -2.679103)'), GeomFromEWKT('SRID=4674;POINT (-39.699033 -2.679078)'))) / (select extract(epoch from '2026-07-24 14:36:26'::timestamp) - extract(epoch from '2026-07-24 14:36: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.699052 -2.679055)', '2026-07-24 14:36:30', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699033 -2.679078)'), GeomFromEWKT('SRID=4674;POINT (-39.699052 -2.679055)'))) / (select extract(epoch from '2026-07-24 14:36:30'::timestamp) - extract(epoch from '2026-07-24 14:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699033 -2.679078)'), GeomFromEWKT('SRID=4674;POINT (-39.699052 -2.679055)'))) / (select extract(epoch from '2026-07-24 14:36:30'::timestamp) - extract(epoch from '2026-07-24 14:36: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.699062 -2.679047)', '2026-07-24 14:36:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699052 -2.679055)'), GeomFromEWKT('SRID=4674;POINT (-39.699062 -2.679047)'))) / (select extract(epoch from '2026-07-24 14:36:33'::timestamp) - extract(epoch from '2026-07-24 14:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699052 -2.679055)'), GeomFromEWKT('SRID=4674;POINT (-39.699062 -2.679047)'))) / (select extract(epoch from '2026-07-24 14:36:33'::timestamp) - extract(epoch from '2026-07-24 14: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.699095 -2.679035)', '2026-07-24 14:36:38', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699062 -2.679047)'), GeomFromEWKT('SRID=4674;POINT (-39.699095 -2.679035)'))) / (select extract(epoch from '2026-07-24 14:36:38'::timestamp) - extract(epoch from '2026-07-24 14:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699062 -2.679047)'), GeomFromEWKT('SRID=4674;POINT (-39.699095 -2.679035)'))) / (select extract(epoch from '2026-07-24 14:36:38'::timestamp) - extract(epoch from '2026-07-24 14:36: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.699132 -2.679009)', '2026-07-24 14:36:44', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699095 -2.679035)'), GeomFromEWKT('SRID=4674;POINT (-39.699132 -2.679009)'))) / (select extract(epoch from '2026-07-24 14:36:44'::timestamp) - extract(epoch from '2026-07-24 14:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699095 -2.679035)'), GeomFromEWKT('SRID=4674;POINT (-39.699132 -2.679009)'))) / (select extract(epoch from '2026-07-24 14:36:44'::timestamp) - extract(epoch from '2026-07-24 14:36:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699194 -2.678959)', '2026-07-24 14:36:53', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699132 -2.679009)'), GeomFromEWKT('SRID=4674;POINT (-39.699194 -2.678959)'))) / (select extract(epoch from '2026-07-24 14:36:53'::timestamp) - extract(epoch from '2026-07-24 14:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699132 -2.679009)'), GeomFromEWKT('SRID=4674;POINT (-39.699194 -2.678959)'))) / (select extract(epoch from '2026-07-24 14:36:53'::timestamp) - extract(epoch from '2026-07-24 14:36:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69921 -2.678942)', '2026-07-24 14:36:56', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699194 -2.678959)'), GeomFromEWKT('SRID=4674;POINT (-39.69921 -2.678942)'))) / (select extract(epoch from '2026-07-24 14:36:56'::timestamp) - extract(epoch from '2026-07-24 14:36:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699194 -2.678959)'), GeomFromEWKT('SRID=4674;POINT (-39.69921 -2.678942)'))) / (select extract(epoch from '2026-07-24 14:36:56'::timestamp) - extract(epoch from '2026-07-24 14:36: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.699233 -2.678934)', '2026-07-24 14:36:59', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69921 -2.678942)'), GeomFromEWKT('SRID=4674;POINT (-39.699233 -2.678934)'))) / (select extract(epoch from '2026-07-24 14:36:59'::timestamp) - extract(epoch from '2026-07-24 14:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69921 -2.678942)'), GeomFromEWKT('SRID=4674;POINT (-39.699233 -2.678934)'))) / (select extract(epoch from '2026-07-24 14:36:59'::timestamp) - extract(epoch from '2026-07-24 14:36: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.699277 -2.678911)', '2026-07-24 14:37:07', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699233 -2.678934)'), GeomFromEWKT('SRID=4674;POINT (-39.699277 -2.678911)'))) / (select extract(epoch from '2026-07-24 14:37:07'::timestamp) - extract(epoch from '2026-07-24 14:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699233 -2.678934)'), GeomFromEWKT('SRID=4674;POINT (-39.699277 -2.678911)'))) / (select extract(epoch from '2026-07-24 14:37:07'::timestamp) - extract(epoch from '2026-07-24 14:36: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.699318 -2.678861)', '2026-07-24 14:37:16', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699277 -2.678911)'), GeomFromEWKT('SRID=4674;POINT (-39.699318 -2.678861)'))) / (select extract(epoch from '2026-07-24 14:37:16'::timestamp) - extract(epoch from '2026-07-24 14:37:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699277 -2.678911)'), GeomFromEWKT('SRID=4674;POINT (-39.699318 -2.678861)'))) / (select extract(epoch from '2026-07-24 14:37:16'::timestamp) - extract(epoch from '2026-07-24 14:37:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699345 -2.678822)', '2026-07-24 14:37:25', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699318 -2.678861)'), GeomFromEWKT('SRID=4674;POINT (-39.699345 -2.678822)'))) / (select extract(epoch from '2026-07-24 14:37:25'::timestamp) - extract(epoch from '2026-07-24 14:37:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699318 -2.678861)'), GeomFromEWKT('SRID=4674;POINT (-39.699345 -2.678822)'))) / (select extract(epoch from '2026-07-24 14:37:25'::timestamp) - extract(epoch from '2026-07-24 14: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.69936 -2.678786)', '2026-07-24 14:37:33', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699345 -2.678822)'), GeomFromEWKT('SRID=4674;POINT (-39.69936 -2.678786)'))) / (select extract(epoch from '2026-07-24 14:37:33'::timestamp) - extract(epoch from '2026-07-24 14:37:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699345 -2.678822)'), GeomFromEWKT('SRID=4674;POINT (-39.69936 -2.678786)'))) / (select extract(epoch from '2026-07-24 14:37:33'::timestamp) - extract(epoch from '2026-07-24 14:37:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699385 -2.678757)', '2026-07-24 14:37:41', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69936 -2.678786)'), GeomFromEWKT('SRID=4674;POINT (-39.699385 -2.678757)'))) / (select extract(epoch from '2026-07-24 14:37:41'::timestamp) - extract(epoch from '2026-07-24 14:37:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69936 -2.678786)'), GeomFromEWKT('SRID=4674;POINT (-39.699385 -2.678757)'))) / (select extract(epoch from '2026-07-24 14:37:41'::timestamp) - extract(epoch from '2026-07-24 14: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.699369 -2.678729)', '2026-07-24 14:37:48', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699385 -2.678757)'), GeomFromEWKT('SRID=4674;POINT (-39.699369 -2.678729)'))) / (select extract(epoch from '2026-07-24 14:37:48'::timestamp) - extract(epoch from '2026-07-24 14:37:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699385 -2.678757)'), GeomFromEWKT('SRID=4674;POINT (-39.699369 -2.678729)'))) / (select extract(epoch from '2026-07-24 14:37:48'::timestamp) - extract(epoch from '2026-07-24 14:37: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.699306 -2.678696)', '2026-07-24 14:37:54', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699369 -2.678729)'), GeomFromEWKT('SRID=4674;POINT (-39.699306 -2.678696)'))) / (select extract(epoch from '2026-07-24 14:37:54'::timestamp) - extract(epoch from '2026-07-24 14:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699369 -2.678729)'), GeomFromEWKT('SRID=4674;POINT (-39.699306 -2.678696)'))) / (select extract(epoch from '2026-07-24 14:37:54'::timestamp) - extract(epoch from '2026-07-24 14:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699254 -2.678664)', '2026-07-24 14:37:58', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699306 -2.678696)'), GeomFromEWKT('SRID=4674;POINT (-39.699254 -2.678664)'))) / (select extract(epoch from '2026-07-24 14:37:58'::timestamp) - extract(epoch from '2026-07-24 14:37:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699306 -2.678696)'), GeomFromEWKT('SRID=4674;POINT (-39.699254 -2.678664)'))) / (select extract(epoch from '2026-07-24 14:37:58'::timestamp) - extract(epoch from '2026-07-24 14:37:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699152 -2.678574)', '2026-07-24 14:38:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699254 -2.678664)'), GeomFromEWKT('SRID=4674;POINT (-39.699152 -2.678574)'))) / (select extract(epoch from '2026-07-24 14:38:06'::timestamp) - extract(epoch from '2026-07-24 14:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699254 -2.678664)'), GeomFromEWKT('SRID=4674;POINT (-39.699152 -2.678574)'))) / (select extract(epoch from '2026-07-24 14:38:06'::timestamp) - extract(epoch from '2026-07-24 14:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.699066 -2.678501)', '2026-07-24 14:38:12', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699152 -2.678574)'), GeomFromEWKT('SRID=4674;POINT (-39.699066 -2.678501)'))) / (select extract(epoch from '2026-07-24 14:38:12'::timestamp) - extract(epoch from '2026-07-24 14:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699152 -2.678574)'), GeomFromEWKT('SRID=4674;POINT (-39.699066 -2.678501)'))) / (select extract(epoch from '2026-07-24 14:38:12'::timestamp) - extract(epoch from '2026-07-24 14: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.698972 -2.678427)', '2026-07-24 14:38:18', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699066 -2.678501)'), GeomFromEWKT('SRID=4674;POINT (-39.698972 -2.678427)'))) / (select extract(epoch from '2026-07-24 14:38:18'::timestamp) - extract(epoch from '2026-07-24 14:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.699066 -2.678501)'), GeomFromEWKT('SRID=4674;POINT (-39.698972 -2.678427)'))) / (select extract(epoch from '2026-07-24 14:38:18'::timestamp) - extract(epoch from '2026-07-24 14:38: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.698876 -2.678349)', '2026-07-24 14:38:24', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698972 -2.678427)'), GeomFromEWKT('SRID=4674;POINT (-39.698876 -2.678349)'))) / (select extract(epoch from '2026-07-24 14:38:24'::timestamp) - extract(epoch from '2026-07-24 14:38:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698972 -2.678427)'), GeomFromEWKT('SRID=4674;POINT (-39.698876 -2.678349)'))) / (select extract(epoch from '2026-07-24 14:38:24'::timestamp) - extract(epoch from '2026-07-24 14:38: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.698802 -2.678285)', '2026-07-24 14:38:29', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698876 -2.678349)'), GeomFromEWKT('SRID=4674;POINT (-39.698802 -2.678285)'))) / (select extract(epoch from '2026-07-24 14:38:29'::timestamp) - extract(epoch from '2026-07-24 14:38:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698876 -2.678349)'), GeomFromEWKT('SRID=4674;POINT (-39.698802 -2.678285)'))) / (select extract(epoch from '2026-07-24 14:38:29'::timestamp) - extract(epoch from '2026-07-24 14:38:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698723 -2.67824)', '2026-07-24 14:38:34', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698802 -2.678285)'), GeomFromEWKT('SRID=4674;POINT (-39.698723 -2.67824)'))) / (select extract(epoch from '2026-07-24 14:38:34'::timestamp) - extract(epoch from '2026-07-24 14:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698802 -2.678285)'), GeomFromEWKT('SRID=4674;POINT (-39.698723 -2.67824)'))) / (select extract(epoch from '2026-07-24 14:38:34'::timestamp) - extract(epoch from '2026-07-24 14:38:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698601 -2.678183)', '2026-07-24 14:38:41', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698723 -2.67824)'), GeomFromEWKT('SRID=4674;POINT (-39.698601 -2.678183)'))) / (select extract(epoch from '2026-07-24 14:38:41'::timestamp) - extract(epoch from '2026-07-24 14:38:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698723 -2.67824)'), GeomFromEWKT('SRID=4674;POINT (-39.698601 -2.678183)'))) / (select extract(epoch from '2026-07-24 14:38:41'::timestamp) - extract(epoch from '2026-07-24 14:38: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.698507 -2.678147)', '2026-07-24 14:38:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698601 -2.678183)'), GeomFromEWKT('SRID=4674;POINT (-39.698507 -2.678147)'))) / (select extract(epoch from '2026-07-24 14:38:46'::timestamp) - extract(epoch from '2026-07-24 14:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698601 -2.678183)'), GeomFromEWKT('SRID=4674;POINT (-39.698507 -2.678147)'))) / (select extract(epoch from '2026-07-24 14:38:46'::timestamp) - extract(epoch from '2026-07-24 14:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698416 -2.67812)', '2026-07-24 14:38:51', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698507 -2.678147)'), GeomFromEWKT('SRID=4674;POINT (-39.698416 -2.67812)'))) / (select extract(epoch from '2026-07-24 14:38:51'::timestamp) - extract(epoch from '2026-07-24 14:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698507 -2.678147)'), GeomFromEWKT('SRID=4674;POINT (-39.698416 -2.67812)'))) / (select extract(epoch from '2026-07-24 14:38:51'::timestamp) - extract(epoch from '2026-07-24 14:38: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.698367 -2.678103)', '2026-07-24 14:38:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698416 -2.67812)'), GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.678103)'))) / (select extract(epoch from '2026-07-24 14:38:54'::timestamp) - extract(epoch from '2026-07-24 14:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698416 -2.67812)'), GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.678103)'))) / (select extract(epoch from '2026-07-24 14:38:54'::timestamp) - extract(epoch from '2026-07-24 14:38: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.698336 -2.678085)', '2026-07-24 14:38:57', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.678103)'), GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.678085)'))) / (select extract(epoch from '2026-07-24 14:38:57'::timestamp) - extract(epoch from '2026-07-24 14:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698367 -2.678103)'), GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.678085)'))) / (select extract(epoch from '2026-07-24 14:38:57'::timestamp) - extract(epoch from '2026-07-24 14:38:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698282 -2.678084)', '2026-07-24 14:39:04', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.678085)'), GeomFromEWKT('SRID=4674;POINT (-39.698282 -2.678084)'))) / (select extract(epoch from '2026-07-24 14:39:04'::timestamp) - extract(epoch from '2026-07-24 14:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698336 -2.678085)'), GeomFromEWKT('SRID=4674;POINT (-39.698282 -2.678084)'))) / (select extract(epoch from '2026-07-24 14:39:04'::timestamp) - extract(epoch from '2026-07-24 14:38: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.698237 -2.678111)', '2026-07-24 14:39:17', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698282 -2.678084)'), GeomFromEWKT('SRID=4674;POINT (-39.698237 -2.678111)'))) / (select extract(epoch from '2026-07-24 14:39:17'::timestamp) - extract(epoch from '2026-07-24 14:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698282 -2.678084)'), GeomFromEWKT('SRID=4674;POINT (-39.698237 -2.678111)'))) / (select extract(epoch from '2026-07-24 14:39:17'::timestamp) - extract(epoch from '2026-07-24 14:39: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.698255 -2.678091)', '2026-07-24 14:39:29', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698237 -2.678111)'), GeomFromEWKT('SRID=4674;POINT (-39.698255 -2.678091)'))) / (select extract(epoch from '2026-07-24 14:39:29'::timestamp) - extract(epoch from '2026-07-24 14:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698237 -2.678111)'), GeomFromEWKT('SRID=4674;POINT (-39.698255 -2.678091)'))) / (select extract(epoch from '2026-07-24 14:39:29'::timestamp) - extract(epoch from '2026-07-24 14:39: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.698284 -2.67808)', '2026-07-24 14:39:35', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698255 -2.678091)'), GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.67808)'))) / (select extract(epoch from '2026-07-24 14:39:35'::timestamp) - extract(epoch from '2026-07-24 14:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698255 -2.678091)'), GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.67808)'))) / (select extract(epoch from '2026-07-24 14:39:35'::timestamp) - extract(epoch from '2026-07-24 14:39: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.698316 -2.678064)', '2026-07-24 14:39:41', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.67808)'), GeomFromEWKT('SRID=4674;POINT (-39.698316 -2.678064)'))) / (select extract(epoch from '2026-07-24 14:39:41'::timestamp) - extract(epoch from '2026-07-24 14:39:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.67808)'), GeomFromEWKT('SRID=4674;POINT (-39.698316 -2.678064)'))) / (select extract(epoch from '2026-07-24 14:39:41'::timestamp) - extract(epoch from '2026-07-24 14:39: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.698345 -2.678048)', '2026-07-24 14:39:46', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698316 -2.678064)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.678048)'))) / (select extract(epoch from '2026-07-24 14:39:46'::timestamp) - extract(epoch from '2026-07-24 14:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698316 -2.678064)'), GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.678048)'))) / (select extract(epoch from '2026-07-24 14:39:46'::timestamp) - extract(epoch from '2026-07-24 14:39: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.698398 -2.678021)', '2026-07-24 14:39:56', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.678048)'), GeomFromEWKT('SRID=4674;POINT (-39.698398 -2.678021)'))) / (select extract(epoch from '2026-07-24 14:39:56'::timestamp) - extract(epoch from '2026-07-24 14:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698345 -2.678048)'), GeomFromEWKT('SRID=4674;POINT (-39.698398 -2.678021)'))) / (select extract(epoch from '2026-07-24 14:39:56'::timestamp) - extract(epoch from '2026-07-24 14:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698461 -2.677985)', '2026-07-24 14:40:06', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698398 -2.678021)'), GeomFromEWKT('SRID=4674;POINT (-39.698461 -2.677985)'))) / (select extract(epoch from '2026-07-24 14:40:06'::timestamp) - extract(epoch from '2026-07-24 14:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698398 -2.678021)'), GeomFromEWKT('SRID=4674;POINT (-39.698461 -2.677985)'))) / (select extract(epoch from '2026-07-24 14:40:06'::timestamp) - extract(epoch from '2026-07-24 14:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698517 -2.677934)', '2026-07-24 14:40:15', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698461 -2.677985)'), GeomFromEWKT('SRID=4674;POINT (-39.698517 -2.677934)'))) / (select extract(epoch from '2026-07-24 14:40:15'::timestamp) - extract(epoch from '2026-07-24 14:40:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698461 -2.677985)'), GeomFromEWKT('SRID=4674;POINT (-39.698517 -2.677934)'))) / (select extract(epoch from '2026-07-24 14:40:15'::timestamp) - extract(epoch from '2026-07-24 14:40: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.698548 -2.677893)', '2026-07-24 14:40:23', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698517 -2.677934)'), GeomFromEWKT('SRID=4674;POINT (-39.698548 -2.677893)'))) / (select extract(epoch from '2026-07-24 14:40:23'::timestamp) - extract(epoch from '2026-07-24 14:40:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698517 -2.677934)'), GeomFromEWKT('SRID=4674;POINT (-39.698548 -2.677893)'))) / (select extract(epoch from '2026-07-24 14:40:23'::timestamp) - extract(epoch from '2026-07-24 14:40:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698587 -2.67785)', '2026-07-24 14:40:32', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698548 -2.677893)'), GeomFromEWKT('SRID=4674;POINT (-39.698587 -2.67785)'))) / (select extract(epoch from '2026-07-24 14:40:32'::timestamp) - extract(epoch from '2026-07-24 14:40:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698548 -2.677893)'), GeomFromEWKT('SRID=4674;POINT (-39.698587 -2.67785)'))) / (select extract(epoch from '2026-07-24 14:40:32'::timestamp) - extract(epoch from '2026-07-24 14:40:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698644 -2.677808)', '2026-07-24 14:40:43', 16.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698587 -2.67785)'), GeomFromEWKT('SRID=4674;POINT (-39.698644 -2.677808)'))) / (select extract(epoch from '2026-07-24 14:40:43'::timestamp) - extract(epoch from '2026-07-24 14:40:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698587 -2.67785)'), GeomFromEWKT('SRID=4674;POINT (-39.698644 -2.677808)'))) / (select extract(epoch from '2026-07-24 14:40:43'::timestamp) - extract(epoch from '2026-07-24 14:40: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.69865 -2.67778)', '2026-07-24 14:40:49', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698644 -2.677808)'), GeomFromEWKT('SRID=4674;POINT (-39.69865 -2.67778)'))) / (select extract(epoch from '2026-07-24 14:40:49'::timestamp) - extract(epoch from '2026-07-24 14:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698644 -2.677808)'), GeomFromEWKT('SRID=4674;POINT (-39.69865 -2.67778)'))) / (select extract(epoch from '2026-07-24 14:40:49'::timestamp) - extract(epoch from '2026-07-24 14: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.698658 -2.677758)', '2026-07-24 14:40:57', 17.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69865 -2.67778)'), GeomFromEWKT('SRID=4674;POINT (-39.698658 -2.677758)'))) / (select extract(epoch from '2026-07-24 14:40:57'::timestamp) - extract(epoch from '2026-07-24 14:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69865 -2.67778)'), GeomFromEWKT('SRID=4674;POINT (-39.698658 -2.677758)'))) / (select extract(epoch from '2026-07-24 14:40:57'::timestamp) - extract(epoch from '2026-07-24 14: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.698652 -2.67775)', '2026-07-24 14:41:05', 17.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698658 -2.677758)'), GeomFromEWKT('SRID=4674;POINT (-39.698652 -2.67775)'))) / (select extract(epoch from '2026-07-24 14:41:05'::timestamp) - extract(epoch from '2026-07-24 14:40:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698658 -2.677758)'), GeomFromEWKT('SRID=4674;POINT (-39.698652 -2.67775)'))) / (select extract(epoch from '2026-07-24 14:41:05'::timestamp) - extract(epoch from '2026-07-24 14:40: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.698663 -2.677715)', '2026-07-24 14:41:15', 17, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698652 -2.67775)'), GeomFromEWKT('SRID=4674;POINT (-39.698663 -2.677715)'))) / (select extract(epoch from '2026-07-24 14:41:15'::timestamp) - extract(epoch from '2026-07-24 14:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698652 -2.67775)'), GeomFromEWKT('SRID=4674;POINT (-39.698663 -2.677715)'))) / (select extract(epoch from '2026-07-24 14:41:15'::timestamp) - extract(epoch from '2026-07-24 14:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698619 -2.677655)', '2026-07-24 14:41:23', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698663 -2.677715)'), GeomFromEWKT('SRID=4674;POINT (-39.698619 -2.677655)'))) / (select extract(epoch from '2026-07-24 14:41:23'::timestamp) - extract(epoch from '2026-07-24 14:41:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698663 -2.677715)'), GeomFromEWKT('SRID=4674;POINT (-39.698619 -2.677655)'))) / (select extract(epoch from '2026-07-24 14:41:23'::timestamp) - extract(epoch from '2026-07-24 14:41:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698611 -2.677643)', '2026-07-24 14:41:24', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698619 -2.677655)'), GeomFromEWKT('SRID=4674;POINT (-39.698611 -2.677643)'))) / (select extract(epoch from '2026-07-24 14:41:24'::timestamp) - extract(epoch from '2026-07-24 14:41:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698619 -2.677655)'), GeomFromEWKT('SRID=4674;POINT (-39.698611 -2.677643)'))) / (select extract(epoch from '2026-07-24 14:41:24'::timestamp) - extract(epoch from '2026-07-24 14:41: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.698578 -2.677614)', '2026-07-24 14:41:27', 16, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698611 -2.677643)'), GeomFromEWKT('SRID=4674;POINT (-39.698578 -2.677614)'))) / (select extract(epoch from '2026-07-24 14:41:27'::timestamp) - extract(epoch from '2026-07-24 14:41:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698611 -2.677643)'), GeomFromEWKT('SRID=4674;POINT (-39.698578 -2.677614)'))) / (select extract(epoch from '2026-07-24 14:41:27'::timestamp) - extract(epoch from '2026-07-24 14:41:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698499 -2.677542)', '2026-07-24 14:41:33', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698578 -2.677614)'), GeomFromEWKT('SRID=4674;POINT (-39.698499 -2.677542)'))) / (select extract(epoch from '2026-07-24 14:41:33'::timestamp) - extract(epoch from '2026-07-24 14:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698578 -2.677614)'), GeomFromEWKT('SRID=4674;POINT (-39.698499 -2.677542)'))) / (select extract(epoch from '2026-07-24 14:41:33'::timestamp) - extract(epoch from '2026-07-24 14:41:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698384 -2.677461)', '2026-07-24 14:41:40', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698499 -2.677542)'), GeomFromEWKT('SRID=4674;POINT (-39.698384 -2.677461)'))) / (select extract(epoch from '2026-07-24 14:41:40'::timestamp) - extract(epoch from '2026-07-24 14:41:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698499 -2.677542)'), GeomFromEWKT('SRID=4674;POINT (-39.698384 -2.677461)'))) / (select extract(epoch from '2026-07-24 14:41:40'::timestamp) - extract(epoch from '2026-07-24 14:41:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.698284 -2.677369)', '2026-07-24 14:41:46', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698384 -2.677461)'), GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.677369)'))) / (select extract(epoch from '2026-07-24 14:41:46'::timestamp) - extract(epoch from '2026-07-24 14:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698384 -2.677461)'), GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.677369)'))) / (select extract(epoch from '2026-07-24 14:41:46'::timestamp) - extract(epoch from '2026-07-24 14:41:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69819 -2.677308)', '2026-07-24 14:41:51', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.677369)'), GeomFromEWKT('SRID=4674;POINT (-39.69819 -2.677308)'))) / (select extract(epoch from '2026-07-24 14:41:51'::timestamp) - extract(epoch from '2026-07-24 14:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.698284 -2.677369)'), GeomFromEWKT('SRID=4674;POINT (-39.69819 -2.677308)'))) / (select extract(epoch from '2026-07-24 14:41:51'::timestamp) - extract(epoch from '2026-07-24 14:41: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.69808 -2.677255)', '2026-07-24 14:41:57', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69819 -2.677308)'), GeomFromEWKT('SRID=4674;POINT (-39.69808 -2.677255)'))) / (select extract(epoch from '2026-07-24 14:41:57'::timestamp) - extract(epoch from '2026-07-24 14:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69819 -2.677308)'), GeomFromEWKT('SRID=4674;POINT (-39.69808 -2.677255)'))) / (select extract(epoch from '2026-07-24 14:41:57'::timestamp) - extract(epoch from '2026-07-24 14:41:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697972 -2.677209)', '2026-07-24 14:42:03', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69808 -2.677255)'), GeomFromEWKT('SRID=4674;POINT (-39.697972 -2.677209)'))) / (select extract(epoch from '2026-07-24 14:42:03'::timestamp) - extract(epoch from '2026-07-24 14:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69808 -2.677255)'), GeomFromEWKT('SRID=4674;POINT (-39.697972 -2.677209)'))) / (select extract(epoch from '2026-07-24 14:42:03'::timestamp) - extract(epoch from '2026-07-24 14:41: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.697872 -2.677166)', '2026-07-24 14:42:09', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697972 -2.677209)'), GeomFromEWKT('SRID=4674;POINT (-39.697872 -2.677166)'))) / (select extract(epoch from '2026-07-24 14:42:09'::timestamp) - extract(epoch from '2026-07-24 14:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697972 -2.677209)'), GeomFromEWKT('SRID=4674;POINT (-39.697872 -2.677166)'))) / (select extract(epoch from '2026-07-24 14:42:09'::timestamp) - extract(epoch from '2026-07-24 14:42:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697764 -2.677138)', '2026-07-24 14:42:15', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697872 -2.677166)'), GeomFromEWKT('SRID=4674;POINT (-39.697764 -2.677138)'))) / (select extract(epoch from '2026-07-24 14:42:15'::timestamp) - extract(epoch from '2026-07-24 14:42:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697872 -2.677166)'), GeomFromEWKT('SRID=4674;POINT (-39.697764 -2.677138)'))) / (select extract(epoch from '2026-07-24 14:42:15'::timestamp) - extract(epoch from '2026-07-24 14:42: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.697675 -2.677144)', '2026-07-24 14:42:20', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697764 -2.677138)'), GeomFromEWKT('SRID=4674;POINT (-39.697675 -2.677144)'))) / (select extract(epoch from '2026-07-24 14:42:20'::timestamp) - extract(epoch from '2026-07-24 14:42:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697764 -2.677138)'), GeomFromEWKT('SRID=4674;POINT (-39.697675 -2.677144)'))) / (select extract(epoch from '2026-07-24 14:42:20'::timestamp) - extract(epoch from '2026-07-24 14:42:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697562 -2.677143)', '2026-07-24 14:42:27', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697675 -2.677144)'), GeomFromEWKT('SRID=4674;POINT (-39.697562 -2.677143)'))) / (select extract(epoch from '2026-07-24 14:42:27'::timestamp) - extract(epoch from '2026-07-24 14:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697675 -2.677144)'), GeomFromEWKT('SRID=4674;POINT (-39.697562 -2.677143)'))) / (select extract(epoch from '2026-07-24 14:42:27'::timestamp) - extract(epoch from '2026-07-24 14:42:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697507 -2.677141)', '2026-07-24 14:42:33', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697562 -2.677143)'), GeomFromEWKT('SRID=4674;POINT (-39.697507 -2.677141)'))) / (select extract(epoch from '2026-07-24 14:42:33'::timestamp) - extract(epoch from '2026-07-24 14:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697562 -2.677143)'), GeomFromEWKT('SRID=4674;POINT (-39.697507 -2.677141)'))) / (select extract(epoch from '2026-07-24 14:42:33'::timestamp) - extract(epoch from '2026-07-24 14:42:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697454 -2.677115)', '2026-07-24 14:42:42', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697507 -2.677141)'), GeomFromEWKT('SRID=4674;POINT (-39.697454 -2.677115)'))) / (select extract(epoch from '2026-07-24 14:42:42'::timestamp) - extract(epoch from '2026-07-24 14:42:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697507 -2.677141)'), GeomFromEWKT('SRID=4674;POINT (-39.697454 -2.677115)'))) / (select extract(epoch from '2026-07-24 14:42:42'::timestamp) - extract(epoch from '2026-07-24 14:42:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697447 -2.677069)', '2026-07-24 14:42:50', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697454 -2.677115)'), GeomFromEWKT('SRID=4674;POINT (-39.697447 -2.677069)'))) / (select extract(epoch from '2026-07-24 14:42:50'::timestamp) - extract(epoch from '2026-07-24 14:42:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697454 -2.677115)'), GeomFromEWKT('SRID=4674;POINT (-39.697447 -2.677069)'))) / (select extract(epoch from '2026-07-24 14:42:50'::timestamp) - extract(epoch from '2026-07-24 14:42: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.697461 -2.677034)', '2026-07-24 14:42:58', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697447 -2.677069)'), GeomFromEWKT('SRID=4674;POINT (-39.697461 -2.677034)'))) / (select extract(epoch from '2026-07-24 14:42:58'::timestamp) - extract(epoch from '2026-07-24 14:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697447 -2.677069)'), GeomFromEWKT('SRID=4674;POINT (-39.697461 -2.677034)'))) / (select extract(epoch from '2026-07-24 14:42:58'::timestamp) - extract(epoch from '2026-07-24 14:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697481 -2.67701)', '2026-07-24 14:43:04', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697461 -2.677034)'), GeomFromEWKT('SRID=4674;POINT (-39.697481 -2.67701)'))) / (select extract(epoch from '2026-07-24 14:43:04'::timestamp) - extract(epoch from '2026-07-24 14:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697461 -2.677034)'), GeomFromEWKT('SRID=4674;POINT (-39.697481 -2.67701)'))) / (select extract(epoch from '2026-07-24 14:43:04'::timestamp) - extract(epoch from '2026-07-24 14:42: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.697507 -2.676975)', '2026-07-24 14:43:11', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697481 -2.67701)'), GeomFromEWKT('SRID=4674;POINT (-39.697507 -2.676975)'))) / (select extract(epoch from '2026-07-24 14:43:11'::timestamp) - extract(epoch from '2026-07-24 14:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697481 -2.67701)'), GeomFromEWKT('SRID=4674;POINT (-39.697507 -2.676975)'))) / (select extract(epoch from '2026-07-24 14:43:11'::timestamp) - extract(epoch from '2026-07-24 14:43: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.697537 -2.676947)', '2026-07-24 14:43:19', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697507 -2.676975)'), GeomFromEWKT('SRID=4674;POINT (-39.697537 -2.676947)'))) / (select extract(epoch from '2026-07-24 14:43:19'::timestamp) - extract(epoch from '2026-07-24 14:43:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697507 -2.676975)'), GeomFromEWKT('SRID=4674;POINT (-39.697537 -2.676947)'))) / (select extract(epoch from '2026-07-24 14:43:19'::timestamp) - extract(epoch from '2026-07-24 14:43: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.697573 -2.676917)', '2026-07-24 14:43:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697537 -2.676947)'), GeomFromEWKT('SRID=4674;POINT (-39.697573 -2.676917)'))) / (select extract(epoch from '2026-07-24 14:43:28'::timestamp) - extract(epoch from '2026-07-24 14:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697537 -2.676947)'), GeomFromEWKT('SRID=4674;POINT (-39.697573 -2.676917)'))) / (select extract(epoch from '2026-07-24 14:43:28'::timestamp) - extract(epoch from '2026-07-24 14:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697614 -2.676888)', '2026-07-24 14:43:36', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697573 -2.676917)'), GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.676888)'))) / (select extract(epoch from '2026-07-24 14:43:36'::timestamp) - extract(epoch from '2026-07-24 14:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697573 -2.676917)'), GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.676888)'))) / (select extract(epoch from '2026-07-24 14:43:36'::timestamp) - extract(epoch from '2026-07-24 14:43: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.697655 -2.676863)', '2026-07-24 14:43:45', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.676888)'), GeomFromEWKT('SRID=4674;POINT (-39.697655 -2.676863)'))) / (select extract(epoch from '2026-07-24 14:43:45'::timestamp) - extract(epoch from '2026-07-24 14:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697614 -2.676888)'), GeomFromEWKT('SRID=4674;POINT (-39.697655 -2.676863)'))) / (select extract(epoch from '2026-07-24 14:43:45'::timestamp) - extract(epoch from '2026-07-24 14:43: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.697715 -2.676843)', '2026-07-24 14:43:55', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697655 -2.676863)'), GeomFromEWKT('SRID=4674;POINT (-39.697715 -2.676843)'))) / (select extract(epoch from '2026-07-24 14:43:55'::timestamp) - extract(epoch from '2026-07-24 14:43:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697655 -2.676863)'), GeomFromEWKT('SRID=4674;POINT (-39.697715 -2.676843)'))) / (select extract(epoch from '2026-07-24 14:43:55'::timestamp) - extract(epoch from '2026-07-24 14:43:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697738 -2.67683)', '2026-07-24 14:44:02', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697715 -2.676843)'), GeomFromEWKT('SRID=4674;POINT (-39.697738 -2.67683)'))) / (select extract(epoch from '2026-07-24 14:44:02'::timestamp) - extract(epoch from '2026-07-24 14:43:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697715 -2.676843)'), GeomFromEWKT('SRID=4674;POINT (-39.697738 -2.67683)'))) / (select extract(epoch from '2026-07-24 14:44:02'::timestamp) - extract(epoch from '2026-07-24 14:43:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697757 -2.676806)', '2026-07-24 14:44:09', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697738 -2.67683)'), GeomFromEWKT('SRID=4674;POINT (-39.697757 -2.676806)'))) / (select extract(epoch from '2026-07-24 14:44:09'::timestamp) - extract(epoch from '2026-07-24 14:44:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697738 -2.67683)'), GeomFromEWKT('SRID=4674;POINT (-39.697757 -2.676806)'))) / (select extract(epoch from '2026-07-24 14:44:09'::timestamp) - extract(epoch from '2026-07-24 14: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.69778 -2.67679)', '2026-07-24 14:44:15', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697757 -2.676806)'), GeomFromEWKT('SRID=4674;POINT (-39.69778 -2.67679)'))) / (select extract(epoch from '2026-07-24 14:44:15'::timestamp) - extract(epoch from '2026-07-24 14:44:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697757 -2.676806)'), GeomFromEWKT('SRID=4674;POINT (-39.69778 -2.67679)'))) / (select extract(epoch from '2026-07-24 14:44:15'::timestamp) - extract(epoch from '2026-07-24 14:44: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.697794 -2.676786)', '2026-07-24 14:44:17', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69778 -2.67679)'), GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.676786)'))) / (select extract(epoch from '2026-07-24 14:44:17'::timestamp) - extract(epoch from '2026-07-24 14:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69778 -2.67679)'), GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.676786)'))) / (select extract(epoch from '2026-07-24 14:44:17'::timestamp) - extract(epoch from '2026-07-24 14:44: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.697776 -2.676744)', '2026-07-24 14:44:26', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.676786)'), GeomFromEWKT('SRID=4674;POINT (-39.697776 -2.676744)'))) / (select extract(epoch from '2026-07-24 14:44:26'::timestamp) - extract(epoch from '2026-07-24 14:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697794 -2.676786)'), GeomFromEWKT('SRID=4674;POINT (-39.697776 -2.676744)'))) / (select extract(epoch from '2026-07-24 14:44:26'::timestamp) - extract(epoch from '2026-07-24 14:44: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.697698 -2.676704)', '2026-07-24 14:44:33', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697776 -2.676744)'), GeomFromEWKT('SRID=4674;POINT (-39.697698 -2.676704)'))) / (select extract(epoch from '2026-07-24 14:44:33'::timestamp) - extract(epoch from '2026-07-24 14:44:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697776 -2.676744)'), GeomFromEWKT('SRID=4674;POINT (-39.697698 -2.676704)'))) / (select extract(epoch from '2026-07-24 14:44:33'::timestamp) - extract(epoch from '2026-07-24 14:44: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.697596 -2.676667)', '2026-07-24 14:44:39', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697698 -2.676704)'), GeomFromEWKT('SRID=4674;POINT (-39.697596 -2.676667)'))) / (select extract(epoch from '2026-07-24 14:44:39'::timestamp) - extract(epoch from '2026-07-24 14:44:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697698 -2.676704)'), GeomFromEWKT('SRID=4674;POINT (-39.697596 -2.676667)'))) / (select extract(epoch from '2026-07-24 14:44:39'::timestamp) - extract(epoch from '2026-07-24 14: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.697494 -2.676632)', '2026-07-24 14:44:44', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697596 -2.676667)'), GeomFromEWKT('SRID=4674;POINT (-39.697494 -2.676632)'))) / (select extract(epoch from '2026-07-24 14:44:44'::timestamp) - extract(epoch from '2026-07-24 14:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697596 -2.676667)'), GeomFromEWKT('SRID=4674;POINT (-39.697494 -2.676632)'))) / (select extract(epoch from '2026-07-24 14:44:44'::timestamp) - extract(epoch from '2026-07-24 14:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697388 -2.676588)', '2026-07-24 14:44:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697494 -2.676632)'), GeomFromEWKT('SRID=4674;POINT (-39.697388 -2.676588)'))) / (select extract(epoch from '2026-07-24 14:44:50'::timestamp) - extract(epoch from '2026-07-24 14:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697494 -2.676632)'), GeomFromEWKT('SRID=4674;POINT (-39.697388 -2.676588)'))) / (select extract(epoch from '2026-07-24 14:44:50'::timestamp) - extract(epoch from '2026-07-24 14:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697243 -2.676534)', '2026-07-24 14:44:58', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697388 -2.676588)'), GeomFromEWKT('SRID=4674;POINT (-39.697243 -2.676534)'))) / (select extract(epoch from '2026-07-24 14:44:58'::timestamp) - extract(epoch from '2026-07-24 14:44:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697388 -2.676588)'), GeomFromEWKT('SRID=4674;POINT (-39.697243 -2.676534)'))) / (select extract(epoch from '2026-07-24 14:44:58'::timestamp) - extract(epoch from '2026-07-24 14:44:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697127 -2.676481)', '2026-07-24 14:45:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697243 -2.676534)'), GeomFromEWKT('SRID=4674;POINT (-39.697127 -2.676481)'))) / (select extract(epoch from '2026-07-24 14:45:05'::timestamp) - extract(epoch from '2026-07-24 14:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697243 -2.676534)'), GeomFromEWKT('SRID=4674;POINT (-39.697127 -2.676481)'))) / (select extract(epoch from '2026-07-24 14:45:05'::timestamp) - extract(epoch from '2026-07-24 14: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.697052 -2.676408)', '2026-07-24 14:45:11', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697127 -2.676481)'), GeomFromEWKT('SRID=4674;POINT (-39.697052 -2.676408)'))) / (select extract(epoch from '2026-07-24 14:45:11'::timestamp) - extract(epoch from '2026-07-24 14:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697127 -2.676481)'), GeomFromEWKT('SRID=4674;POINT (-39.697052 -2.676408)'))) / (select extract(epoch from '2026-07-24 14:45:11'::timestamp) - extract(epoch from '2026-07-24 14: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.696947 -2.676298)', '2026-07-24 14:45:19', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697052 -2.676408)'), GeomFromEWKT('SRID=4674;POINT (-39.696947 -2.676298)'))) / (select extract(epoch from '2026-07-24 14:45:19'::timestamp) - extract(epoch from '2026-07-24 14:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697052 -2.676408)'), GeomFromEWKT('SRID=4674;POINT (-39.696947 -2.676298)'))) / (select extract(epoch from '2026-07-24 14:45:19'::timestamp) - extract(epoch from '2026-07-24 14:45: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.696857 -2.676194)', '2026-07-24 14:45:26', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696947 -2.676298)'), GeomFromEWKT('SRID=4674;POINT (-39.696857 -2.676194)'))) / (select extract(epoch from '2026-07-24 14:45:26'::timestamp) - extract(epoch from '2026-07-24 14:45:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696947 -2.676298)'), GeomFromEWKT('SRID=4674;POINT (-39.696857 -2.676194)'))) / (select extract(epoch from '2026-07-24 14:45:26'::timestamp) - extract(epoch from '2026-07-24 14:45:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696788 -2.676135)', '2026-07-24 14:45:31', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696857 -2.676194)'), GeomFromEWKT('SRID=4674;POINT (-39.696788 -2.676135)'))) / (select extract(epoch from '2026-07-24 14:45:31'::timestamp) - extract(epoch from '2026-07-24 14:45:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696857 -2.676194)'), GeomFromEWKT('SRID=4674;POINT (-39.696788 -2.676135)'))) / (select extract(epoch from '2026-07-24 14:45:31'::timestamp) - extract(epoch from '2026-07-24 14:45:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696725 -2.67612)', '2026-07-24 14:45:36', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696788 -2.676135)'), GeomFromEWKT('SRID=4674;POINT (-39.696725 -2.67612)'))) / (select extract(epoch from '2026-07-24 14:45:36'::timestamp) - extract(epoch from '2026-07-24 14:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696788 -2.676135)'), GeomFromEWKT('SRID=4674;POINT (-39.696725 -2.67612)'))) / (select extract(epoch from '2026-07-24 14:45:36'::timestamp) - extract(epoch from '2026-07-24 14:45: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.696697 -2.676138)', '2026-07-24 14:45:43', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696725 -2.67612)'), GeomFromEWKT('SRID=4674;POINT (-39.696697 -2.676138)'))) / (select extract(epoch from '2026-07-24 14:45:43'::timestamp) - extract(epoch from '2026-07-24 14:45:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696725 -2.67612)'), GeomFromEWKT('SRID=4674;POINT (-39.696697 -2.676138)'))) / (select extract(epoch from '2026-07-24 14:45:43'::timestamp) - extract(epoch from '2026-07-24 14:45: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.696663 -2.67614)', '2026-07-24 14:45:49', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696697 -2.676138)'), GeomFromEWKT('SRID=4674;POINT (-39.696663 -2.67614)'))) / (select extract(epoch from '2026-07-24 14:45:49'::timestamp) - extract(epoch from '2026-07-24 14:45:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696697 -2.676138)'), GeomFromEWKT('SRID=4674;POINT (-39.696663 -2.67614)'))) / (select extract(epoch from '2026-07-24 14:45:49'::timestamp) - extract(epoch from '2026-07-24 14:45:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69667 -2.676108)', '2026-07-24 14:46:02', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696663 -2.67614)'), GeomFromEWKT('SRID=4674;POINT (-39.69667 -2.676108)'))) / (select extract(epoch from '2026-07-24 14:46:02'::timestamp) - extract(epoch from '2026-07-24 14:45:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696663 -2.67614)'), GeomFromEWKT('SRID=4674;POINT (-39.69667 -2.676108)'))) / (select extract(epoch from '2026-07-24 14:46:02'::timestamp) - extract(epoch from '2026-07-24 14:45:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696713 -2.676063)', '2026-07-24 14:46:13', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69667 -2.676108)'), GeomFromEWKT('SRID=4674;POINT (-39.696713 -2.676063)'))) / (select extract(epoch from '2026-07-24 14:46:13'::timestamp) - extract(epoch from '2026-07-24 14:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69667 -2.676108)'), GeomFromEWKT('SRID=4674;POINT (-39.696713 -2.676063)'))) / (select extract(epoch from '2026-07-24 14:46:13'::timestamp) - extract(epoch from '2026-07-24 14:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696766 -2.676017)', '2026-07-24 14:46:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696713 -2.676063)'), GeomFromEWKT('SRID=4674;POINT (-39.696766 -2.676017)'))) / (select extract(epoch from '2026-07-24 14:46:24'::timestamp) - extract(epoch from '2026-07-24 14:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696713 -2.676063)'), GeomFromEWKT('SRID=4674;POINT (-39.696766 -2.676017)'))) / (select extract(epoch from '2026-07-24 14:46:24'::timestamp) - extract(epoch from '2026-07-24 14:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696833 -2.675973)', '2026-07-24 14:46:35', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696766 -2.676017)'), GeomFromEWKT('SRID=4674;POINT (-39.696833 -2.675973)'))) / (select extract(epoch from '2026-07-24 14:46:35'::timestamp) - extract(epoch from '2026-07-24 14:46:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696766 -2.676017)'), GeomFromEWKT('SRID=4674;POINT (-39.696833 -2.675973)'))) / (select extract(epoch from '2026-07-24 14:46:35'::timestamp) - extract(epoch from '2026-07-24 14:46: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.696882 -2.67595)', '2026-07-24 14:46:43', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696833 -2.675973)'), GeomFromEWKT('SRID=4674;POINT (-39.696882 -2.67595)'))) / (select extract(epoch from '2026-07-24 14:46:43'::timestamp) - extract(epoch from '2026-07-24 14:46:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696833 -2.675973)'), GeomFromEWKT('SRID=4674;POINT (-39.696882 -2.67595)'))) / (select extract(epoch from '2026-07-24 14:46:43'::timestamp) - extract(epoch from '2026-07-24 14:46:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696935 -2.675931)', '2026-07-24 14:46:51', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696882 -2.67595)'), GeomFromEWKT('SRID=4674;POINT (-39.696935 -2.675931)'))) / (select extract(epoch from '2026-07-24 14:46:51'::timestamp) - extract(epoch from '2026-07-24 14:46:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696882 -2.67595)'), GeomFromEWKT('SRID=4674;POINT (-39.696935 -2.675931)'))) / (select extract(epoch from '2026-07-24 14:46:51'::timestamp) - extract(epoch from '2026-07-24 14:46: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.696984 -2.675906)', '2026-07-24 14:46:59', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696935 -2.675931)'), GeomFromEWKT('SRID=4674;POINT (-39.696984 -2.675906)'))) / (select extract(epoch from '2026-07-24 14:46:59'::timestamp) - extract(epoch from '2026-07-24 14:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696935 -2.675931)'), GeomFromEWKT('SRID=4674;POINT (-39.696984 -2.675906)'))) / (select extract(epoch from '2026-07-24 14:46:59'::timestamp) - extract(epoch from '2026-07-24 14:46:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69703 -2.675853)', '2026-07-24 14:47:10', 15.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696984 -2.675906)'), GeomFromEWKT('SRID=4674;POINT (-39.69703 -2.675853)'))) / (select extract(epoch from '2026-07-24 14:47:10'::timestamp) - extract(epoch from '2026-07-24 14:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696984 -2.675906)'), GeomFromEWKT('SRID=4674;POINT (-39.69703 -2.675853)'))) / (select extract(epoch from '2026-07-24 14:47:10'::timestamp) - extract(epoch from '2026-07-24 14:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69704 -2.675827)', '2026-07-24 14:47:16', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69703 -2.675853)'), GeomFromEWKT('SRID=4674;POINT (-39.69704 -2.675827)'))) / (select extract(epoch from '2026-07-24 14:47:16'::timestamp) - extract(epoch from '2026-07-24 14:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69703 -2.675853)'), GeomFromEWKT('SRID=4674;POINT (-39.69704 -2.675827)'))) / (select extract(epoch from '2026-07-24 14:47:16'::timestamp) - extract(epoch from '2026-07-24 14:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69704 -2.675806)', '2026-07-24 14:47:21', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69704 -2.675827)'), GeomFromEWKT('SRID=4674;POINT (-39.69704 -2.675806)'))) / (select extract(epoch from '2026-07-24 14:47:21'::timestamp) - extract(epoch from '2026-07-24 14:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69704 -2.675827)'), GeomFromEWKT('SRID=4674;POINT (-39.69704 -2.675806)'))) / (select extract(epoch from '2026-07-24 14:47:21'::timestamp) - extract(epoch from '2026-07-24 14:47: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.697028 -2.675773)', '2026-07-24 14:47:38', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69704 -2.675806)'), GeomFromEWKT('SRID=4674;POINT (-39.697028 -2.675773)'))) / (select extract(epoch from '2026-07-24 14:47:38'::timestamp) - extract(epoch from '2026-07-24 14:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69704 -2.675806)'), GeomFromEWKT('SRID=4674;POINT (-39.697028 -2.675773)'))) / (select extract(epoch from '2026-07-24 14:47:38'::timestamp) - extract(epoch from '2026-07-24 14:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697061 -2.675757)', '2026-07-24 14:47:49', 14.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697028 -2.675773)'), GeomFromEWKT('SRID=4674;POINT (-39.697061 -2.675757)'))) / (select extract(epoch from '2026-07-24 14:47:49'::timestamp) - extract(epoch from '2026-07-24 14:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697028 -2.675773)'), GeomFromEWKT('SRID=4674;POINT (-39.697061 -2.675757)'))) / (select extract(epoch from '2026-07-24 14:47:49'::timestamp) - extract(epoch from '2026-07-24 14:47:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697087 -2.675742)', '2026-07-24 14:47:57', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697061 -2.675757)'), GeomFromEWKT('SRID=4674;POINT (-39.697087 -2.675742)'))) / (select extract(epoch from '2026-07-24 14:47:57'::timestamp) - extract(epoch from '2026-07-24 14:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697061 -2.675757)'), GeomFromEWKT('SRID=4674;POINT (-39.697087 -2.675742)'))) / (select extract(epoch from '2026-07-24 14:47:57'::timestamp) - extract(epoch from '2026-07-24 14:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697143 -2.675724)', '2026-07-24 14:48:08', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697087 -2.675742)'), GeomFromEWKT('SRID=4674;POINT (-39.697143 -2.675724)'))) / (select extract(epoch from '2026-07-24 14:48:08'::timestamp) - extract(epoch from '2026-07-24 14:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697087 -2.675742)'), GeomFromEWKT('SRID=4674;POINT (-39.697143 -2.675724)'))) / (select extract(epoch from '2026-07-24 14:48:08'::timestamp) - extract(epoch from '2026-07-24 14: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.69715 -2.675721)', '2026-07-24 14:48:19', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697143 -2.675724)'), GeomFromEWKT('SRID=4674;POINT (-39.69715 -2.675721)'))) / (select extract(epoch from '2026-07-24 14:48:19'::timestamp) - extract(epoch from '2026-07-24 14:48:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697143 -2.675724)'), GeomFromEWKT('SRID=4674;POINT (-39.69715 -2.675721)'))) / (select extract(epoch from '2026-07-24 14:48:19'::timestamp) - extract(epoch from '2026-07-24 14:48:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697184 -2.67566)', '2026-07-24 14:48:53', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69715 -2.675721)'), GeomFromEWKT('SRID=4674;POINT (-39.697184 -2.67566)'))) / (select extract(epoch from '2026-07-24 14:48:53'::timestamp) - extract(epoch from '2026-07-24 14:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69715 -2.675721)'), GeomFromEWKT('SRID=4674;POINT (-39.697184 -2.67566)'))) / (select extract(epoch from '2026-07-24 14:48:53'::timestamp) - extract(epoch from '2026-07-24 14:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697186 -2.675644)', '2026-07-24 14:48:58', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697184 -2.67566)'), GeomFromEWKT('SRID=4674;POINT (-39.697186 -2.675644)'))) / (select extract(epoch from '2026-07-24 14:48:58'::timestamp) - extract(epoch from '2026-07-24 14:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697184 -2.67566)'), GeomFromEWKT('SRID=4674;POINT (-39.697186 -2.675644)'))) / (select extract(epoch from '2026-07-24 14:48:58'::timestamp) - extract(epoch from '2026-07-24 14:48:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697179 -2.675641)', '2026-07-24 14:48:59', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697186 -2.675644)'), GeomFromEWKT('SRID=4674;POINT (-39.697179 -2.675641)'))) / (select extract(epoch from '2026-07-24 14:48:59'::timestamp) - extract(epoch from '2026-07-24 14:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697186 -2.675644)'), GeomFromEWKT('SRID=4674;POINT (-39.697179 -2.675641)'))) / (select extract(epoch from '2026-07-24 14:48:59'::timestamp) - extract(epoch from '2026-07-24 14:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.697126 -2.675609)', '2026-07-24 14:49:06', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697179 -2.675641)'), GeomFromEWKT('SRID=4674;POINT (-39.697126 -2.675609)'))) / (select extract(epoch from '2026-07-24 14:49:06'::timestamp) - extract(epoch from '2026-07-24 14:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697179 -2.675641)'), GeomFromEWKT('SRID=4674;POINT (-39.697126 -2.675609)'))) / (select extract(epoch from '2026-07-24 14:49:06'::timestamp) - extract(epoch from '2026-07-24 14:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69705 -2.675564)', '2026-07-24 14:49:12', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697126 -2.675609)'), GeomFromEWKT('SRID=4674;POINT (-39.69705 -2.675564)'))) / (select extract(epoch from '2026-07-24 14:49:12'::timestamp) - extract(epoch from '2026-07-24 14:49:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.697126 -2.675609)'), GeomFromEWKT('SRID=4674;POINT (-39.69705 -2.675564)'))) / (select extract(epoch from '2026-07-24 14:49:12'::timestamp) - extract(epoch from '2026-07-24 14: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.696971 -2.675498)', '2026-07-24 14:49:18', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69705 -2.675564)'), GeomFromEWKT('SRID=4674;POINT (-39.696971 -2.675498)'))) / (select extract(epoch from '2026-07-24 14:49:18'::timestamp) - extract(epoch from '2026-07-24 14:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69705 -2.675564)'), GeomFromEWKT('SRID=4674;POINT (-39.696971 -2.675498)'))) / (select extract(epoch from '2026-07-24 14:49:18'::timestamp) - extract(epoch from '2026-07-24 14:49:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696888 -2.67541)', '2026-07-24 14:49:24', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696971 -2.675498)'), GeomFromEWKT('SRID=4674;POINT (-39.696888 -2.67541)'))) / (select extract(epoch from '2026-07-24 14:49:24'::timestamp) - extract(epoch from '2026-07-24 14:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696971 -2.675498)'), GeomFromEWKT('SRID=4674;POINT (-39.696888 -2.67541)'))) / (select extract(epoch from '2026-07-24 14:49:24'::timestamp) - extract(epoch from '2026-07-24 14: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.696761 -2.675291)', '2026-07-24 14:49:32', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696888 -2.67541)'), GeomFromEWKT('SRID=4674;POINT (-39.696761 -2.675291)'))) / (select extract(epoch from '2026-07-24 14:49:32'::timestamp) - extract(epoch from '2026-07-24 14:49:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696888 -2.67541)'), GeomFromEWKT('SRID=4674;POINT (-39.696761 -2.675291)'))) / (select extract(epoch from '2026-07-24 14:49:32'::timestamp) - extract(epoch from '2026-07-24 14:49: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.696667 -2.675258)', '2026-07-24 14:49:37', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696761 -2.675291)'), GeomFromEWKT('SRID=4674;POINT (-39.696667 -2.675258)'))) / (select extract(epoch from '2026-07-24 14:49:37'::timestamp) - extract(epoch from '2026-07-24 14:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696761 -2.675291)'), GeomFromEWKT('SRID=4674;POINT (-39.696667 -2.675258)'))) / (select extract(epoch from '2026-07-24 14:49:37'::timestamp) - extract(epoch from '2026-07-24 14:49: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.696532 -2.675225)', '2026-07-24 14:49:44', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696667 -2.675258)'), GeomFromEWKT('SRID=4674;POINT (-39.696532 -2.675225)'))) / (select extract(epoch from '2026-07-24 14:49:44'::timestamp) - extract(epoch from '2026-07-24 14:49:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696667 -2.675258)'), GeomFromEWKT('SRID=4674;POINT (-39.696532 -2.675225)'))) / (select extract(epoch from '2026-07-24 14:49:44'::timestamp) - extract(epoch from '2026-07-24 14:49:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696417 -2.675177)', '2026-07-24 14:49:51', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696532 -2.675225)'), GeomFromEWKT('SRID=4674;POINT (-39.696417 -2.675177)'))) / (select extract(epoch from '2026-07-24 14:49:51'::timestamp) - extract(epoch from '2026-07-24 14:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696532 -2.675225)'), GeomFromEWKT('SRID=4674;POINT (-39.696417 -2.675177)'))) / (select extract(epoch from '2026-07-24 14:49:51'::timestamp) - extract(epoch from '2026-07-24 14:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696303 -2.675139)', '2026-07-24 14:49:58', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696417 -2.675177)'), GeomFromEWKT('SRID=4674;POINT (-39.696303 -2.675139)'))) / (select extract(epoch from '2026-07-24 14:49:58'::timestamp) - extract(epoch from '2026-07-24 14:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696417 -2.675177)'), GeomFromEWKT('SRID=4674;POINT (-39.696303 -2.675139)'))) / (select extract(epoch from '2026-07-24 14:49:58'::timestamp) - extract(epoch from '2026-07-24 14:49: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.696203 -2.675103)', '2026-07-24 14:50:05', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696303 -2.675139)'), GeomFromEWKT('SRID=4674;POINT (-39.696203 -2.675103)'))) / (select extract(epoch from '2026-07-24 14:50:05'::timestamp) - extract(epoch from '2026-07-24 14:49:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696303 -2.675139)'), GeomFromEWKT('SRID=4674;POINT (-39.696203 -2.675103)'))) / (select extract(epoch from '2026-07-24 14:50:05'::timestamp) - extract(epoch from '2026-07-24 14:49: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.696144 -2.675059)', '2026-07-24 14:50:13', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696203 -2.675103)'), GeomFromEWKT('SRID=4674;POINT (-39.696144 -2.675059)'))) / (select extract(epoch from '2026-07-24 14:50:13'::timestamp) - extract(epoch from '2026-07-24 14:50:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696203 -2.675103)'), GeomFromEWKT('SRID=4674;POINT (-39.696144 -2.675059)'))) / (select extract(epoch from '2026-07-24 14:50:13'::timestamp) - extract(epoch from '2026-07-24 14:50:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696128 -2.674992)', '2026-07-24 14:50:21', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696144 -2.675059)'), GeomFromEWKT('SRID=4674;POINT (-39.696128 -2.674992)'))) / (select extract(epoch from '2026-07-24 14:50:21'::timestamp) - extract(epoch from '2026-07-24 14:50:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696144 -2.675059)'), GeomFromEWKT('SRID=4674;POINT (-39.696128 -2.674992)'))) / (select extract(epoch from '2026-07-24 14:50:21'::timestamp) - extract(epoch from '2026-07-24 14:50: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.696127 -2.674927)', '2026-07-24 14:50:29', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696128 -2.674992)'), GeomFromEWKT('SRID=4674;POINT (-39.696127 -2.674927)'))) / (select extract(epoch from '2026-07-24 14:50:29'::timestamp) - extract(epoch from '2026-07-24 14:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696128 -2.674992)'), GeomFromEWKT('SRID=4674;POINT (-39.696127 -2.674927)'))) / (select extract(epoch from '2026-07-24 14:50:29'::timestamp) - extract(epoch from '2026-07-24 14:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696131 -2.674921)', '2026-07-24 14:50:30', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696127 -2.674927)'), GeomFromEWKT('SRID=4674;POINT (-39.696131 -2.674921)'))) / (select extract(epoch from '2026-07-24 14:50:30'::timestamp) - extract(epoch from '2026-07-24 14:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696127 -2.674927)'), GeomFromEWKT('SRID=4674;POINT (-39.696131 -2.674921)'))) / (select extract(epoch from '2026-07-24 14:50:30'::timestamp) - extract(epoch from '2026-07-24 14:50:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696142 -2.674895)', '2026-07-24 14:50:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696131 -2.674921)'), GeomFromEWKT('SRID=4674;POINT (-39.696142 -2.674895)'))) / (select extract(epoch from '2026-07-24 14:50:35'::timestamp) - extract(epoch from '2026-07-24 14:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696131 -2.674921)'), GeomFromEWKT('SRID=4674;POINT (-39.696142 -2.674895)'))) / (select extract(epoch from '2026-07-24 14:50:35'::timestamp) - extract(epoch from '2026-07-24 14:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696168 -2.674876)', '2026-07-24 14:50:41', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696142 -2.674895)'), GeomFromEWKT('SRID=4674;POINT (-39.696168 -2.674876)'))) / (select extract(epoch from '2026-07-24 14:50:41'::timestamp) - extract(epoch from '2026-07-24 14:50:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696142 -2.674895)'), GeomFromEWKT('SRID=4674;POINT (-39.696168 -2.674876)'))) / (select extract(epoch from '2026-07-24 14:50:41'::timestamp) - extract(epoch from '2026-07-24 14:50:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696197 -2.674851)', '2026-07-24 14:50:47', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696168 -2.674876)'), GeomFromEWKT('SRID=4674;POINT (-39.696197 -2.674851)'))) / (select extract(epoch from '2026-07-24 14:50:47'::timestamp) - extract(epoch from '2026-07-24 14:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696168 -2.674876)'), GeomFromEWKT('SRID=4674;POINT (-39.696197 -2.674851)'))) / (select extract(epoch from '2026-07-24 14:50:47'::timestamp) - extract(epoch from '2026-07-24 14:50: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.696233 -2.674832)', '2026-07-24 14:50:54', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696197 -2.674851)'), GeomFromEWKT('SRID=4674;POINT (-39.696233 -2.674832)'))) / (select extract(epoch from '2026-07-24 14:50:54'::timestamp) - extract(epoch from '2026-07-24 14:50:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696197 -2.674851)'), GeomFromEWKT('SRID=4674;POINT (-39.696233 -2.674832)'))) / (select extract(epoch from '2026-07-24 14:50:54'::timestamp) - extract(epoch from '2026-07-24 14:50: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.696261 -2.674818)', '2026-07-24 14:50:59', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696233 -2.674832)'), GeomFromEWKT('SRID=4674;POINT (-39.696261 -2.674818)'))) / (select extract(epoch from '2026-07-24 14:50:59'::timestamp) - extract(epoch from '2026-07-24 14:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696233 -2.674832)'), GeomFromEWKT('SRID=4674;POINT (-39.696261 -2.674818)'))) / (select extract(epoch from '2026-07-24 14:50:59'::timestamp) - extract(epoch from '2026-07-24 14:50:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696275 -2.674816)', '2026-07-24 14:51:01', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696261 -2.674818)'), GeomFromEWKT('SRID=4674;POINT (-39.696275 -2.674816)'))) / (select extract(epoch from '2026-07-24 14:51:01'::timestamp) - extract(epoch from '2026-07-24 14:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696261 -2.674818)'), GeomFromEWKT('SRID=4674;POINT (-39.696275 -2.674816)'))) / (select extract(epoch from '2026-07-24 14:51:01'::timestamp) - extract(epoch from '2026-07-24 14:50:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696303 -2.674799)', '2026-07-24 14:51:09', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696275 -2.674816)'), GeomFromEWKT('SRID=4674;POINT (-39.696303 -2.674799)'))) / (select extract(epoch from '2026-07-24 14:51:09'::timestamp) - extract(epoch from '2026-07-24 14:51:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696275 -2.674816)'), GeomFromEWKT('SRID=4674;POINT (-39.696303 -2.674799)'))) / (select extract(epoch from '2026-07-24 14:51:09'::timestamp) - extract(epoch from '2026-07-24 14: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.696352 -2.67476)', '2026-07-24 14:51:31', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696303 -2.674799)'), GeomFromEWKT('SRID=4674;POINT (-39.696352 -2.67476)'))) / (select extract(epoch from '2026-07-24 14:51:31'::timestamp) - extract(epoch from '2026-07-24 14:51:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696303 -2.674799)'), GeomFromEWKT('SRID=4674;POINT (-39.696352 -2.67476)'))) / (select extract(epoch from '2026-07-24 14:51:31'::timestamp) - extract(epoch from '2026-07-24 14:51: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.696386 -2.67474)', '2026-07-24 14:51:40', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696352 -2.67476)'), GeomFromEWKT('SRID=4674;POINT (-39.696386 -2.67474)'))) / (select extract(epoch from '2026-07-24 14:51:40'::timestamp) - extract(epoch from '2026-07-24 14:51:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696352 -2.67476)'), GeomFromEWKT('SRID=4674;POINT (-39.696386 -2.67474)'))) / (select extract(epoch from '2026-07-24 14:51:40'::timestamp) - extract(epoch from '2026-07-24 14:51: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.696413 -2.674723)', '2026-07-24 14:51:47', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696386 -2.67474)'), GeomFromEWKT('SRID=4674;POINT (-39.696413 -2.674723)'))) / (select extract(epoch from '2026-07-24 14:51:47'::timestamp) - extract(epoch from '2026-07-24 14:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696386 -2.67474)'), GeomFromEWKT('SRID=4674;POINT (-39.696413 -2.674723)'))) / (select extract(epoch from '2026-07-24 14:51:47'::timestamp) - extract(epoch from '2026-07-24 14:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696417 -2.674707)', '2026-07-24 14:51:57', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696413 -2.674723)'), GeomFromEWKT('SRID=4674;POINT (-39.696417 -2.674707)'))) / (select extract(epoch from '2026-07-24 14:51:57'::timestamp) - extract(epoch from '2026-07-24 14:51:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696413 -2.674723)'), GeomFromEWKT('SRID=4674;POINT (-39.696417 -2.674707)'))) / (select extract(epoch from '2026-07-24 14:51:57'::timestamp) - extract(epoch from '2026-07-24 14:51:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696376 -2.674647)', '2026-07-24 14:52:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696417 -2.674707)'), GeomFromEWKT('SRID=4674;POINT (-39.696376 -2.674647)'))) / (select extract(epoch from '2026-07-24 14:52:21'::timestamp) - extract(epoch from '2026-07-24 14:51:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696417 -2.674707)'), GeomFromEWKT('SRID=4674;POINT (-39.696376 -2.674647)'))) / (select extract(epoch from '2026-07-24 14:52:21'::timestamp) - extract(epoch from '2026-07-24 14:51:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696295 -2.674617)', '2026-07-24 14:52:27', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696376 -2.674647)'), GeomFromEWKT('SRID=4674;POINT (-39.696295 -2.674617)'))) / (select extract(epoch from '2026-07-24 14:52:27'::timestamp) - extract(epoch from '2026-07-24 14:52:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696376 -2.674647)'), GeomFromEWKT('SRID=4674;POINT (-39.696295 -2.674617)'))) / (select extract(epoch from '2026-07-24 14:52:27'::timestamp) - extract(epoch from '2026-07-24 14:52: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.696282 -2.674617)', '2026-07-24 14:52:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696295 -2.674617)'), GeomFromEWKT('SRID=4674;POINT (-39.696282 -2.674617)'))) / (select extract(epoch from '2026-07-24 14:52:28'::timestamp) - extract(epoch from '2026-07-24 14:52:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696295 -2.674617)'), GeomFromEWKT('SRID=4674;POINT (-39.696282 -2.674617)'))) / (select extract(epoch from '2026-07-24 14:52:28'::timestamp) - extract(epoch from '2026-07-24 14:52: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.696226 -2.674621)', '2026-07-24 14:52:32', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696282 -2.674617)'), GeomFromEWKT('SRID=4674;POINT (-39.696226 -2.674621)'))) / (select extract(epoch from '2026-07-24 14:52:32'::timestamp) - extract(epoch from '2026-07-24 14:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696282 -2.674617)'), GeomFromEWKT('SRID=4674;POINT (-39.696226 -2.674621)'))) / (select extract(epoch from '2026-07-24 14:52:32'::timestamp) - extract(epoch from '2026-07-24 14:52: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.696125 -2.674617)', '2026-07-24 14:52:38', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696226 -2.674621)'), GeomFromEWKT('SRID=4674;POINT (-39.696125 -2.674617)'))) / (select extract(epoch from '2026-07-24 14:52:38'::timestamp) - extract(epoch from '2026-07-24 14:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696226 -2.674621)'), GeomFromEWKT('SRID=4674;POINT (-39.696125 -2.674617)'))) / (select extract(epoch from '2026-07-24 14:52:38'::timestamp) - extract(epoch from '2026-07-24 14:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.696041 -2.67462)', '2026-07-24 14:52:44', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696125 -2.674617)'), GeomFromEWKT('SRID=4674;POINT (-39.696041 -2.67462)'))) / (select extract(epoch from '2026-07-24 14:52:44'::timestamp) - extract(epoch from '2026-07-24 14:52:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696125 -2.674617)'), GeomFromEWKT('SRID=4674;POINT (-39.696041 -2.67462)'))) / (select extract(epoch from '2026-07-24 14:52:44'::timestamp) - extract(epoch from '2026-07-24 14:52:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69596 -2.67461)', '2026-07-24 14:52:49', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696041 -2.67462)'), GeomFromEWKT('SRID=4674;POINT (-39.69596 -2.67461)'))) / (select extract(epoch from '2026-07-24 14:52:49'::timestamp) - extract(epoch from '2026-07-24 14:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.696041 -2.67462)'), GeomFromEWKT('SRID=4674;POINT (-39.69596 -2.67461)'))) / (select extract(epoch from '2026-07-24 14:52:49'::timestamp) - extract(epoch from '2026-07-24 14:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69583 -2.674604)', '2026-07-24 14:52:57', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69596 -2.67461)'), GeomFromEWKT('SRID=4674;POINT (-39.69583 -2.674604)'))) / (select extract(epoch from '2026-07-24 14:52:57'::timestamp) - extract(epoch from '2026-07-24 14:52:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69596 -2.67461)'), GeomFromEWKT('SRID=4674;POINT (-39.69583 -2.674604)'))) / (select extract(epoch from '2026-07-24 14:52:57'::timestamp) - extract(epoch from '2026-07-24 14:52:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695726 -2.674592)', '2026-07-24 14:53:03', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69583 -2.674604)'), GeomFromEWKT('SRID=4674;POINT (-39.695726 -2.674592)'))) / (select extract(epoch from '2026-07-24 14:53:03'::timestamp) - extract(epoch from '2026-07-24 14:52:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69583 -2.674604)'), GeomFromEWKT('SRID=4674;POINT (-39.695726 -2.674592)'))) / (select extract(epoch from '2026-07-24 14:53:03'::timestamp) - extract(epoch from '2026-07-24 14:52: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.695614 -2.674595)', '2026-07-24 14:53:09', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695726 -2.674592)'), GeomFromEWKT('SRID=4674;POINT (-39.695614 -2.674595)'))) / (select extract(epoch from '2026-07-24 14:53:09'::timestamp) - extract(epoch from '2026-07-24 14:53:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695726 -2.674592)'), GeomFromEWKT('SRID=4674;POINT (-39.695614 -2.674595)'))) / (select extract(epoch from '2026-07-24 14:53:09'::timestamp) - extract(epoch from '2026-07-24 14:53: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.695519 -2.674629)', '2026-07-24 14:53:15', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695614 -2.674595)'), GeomFromEWKT('SRID=4674;POINT (-39.695519 -2.674629)'))) / (select extract(epoch from '2026-07-24 14:53:15'::timestamp) - extract(epoch from '2026-07-24 14:53:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695614 -2.674595)'), GeomFromEWKT('SRID=4674;POINT (-39.695519 -2.674629)'))) / (select extract(epoch from '2026-07-24 14:53:15'::timestamp) - extract(epoch from '2026-07-24 14: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.695389 -2.674646)', '2026-07-24 14:53:22', 12.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695519 -2.674629)'), GeomFromEWKT('SRID=4674;POINT (-39.695389 -2.674646)'))) / (select extract(epoch from '2026-07-24 14:53:22'::timestamp) - extract(epoch from '2026-07-24 14:53:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695519 -2.674629)'), GeomFromEWKT('SRID=4674;POINT (-39.695389 -2.674646)'))) / (select extract(epoch from '2026-07-24 14:53:22'::timestamp) - extract(epoch from '2026-07-24 14:53:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69528 -2.674649)', '2026-07-24 14:53:28', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695389 -2.674646)'), GeomFromEWKT('SRID=4674;POINT (-39.69528 -2.674649)'))) / (select extract(epoch from '2026-07-24 14:53:28'::timestamp) - extract(epoch from '2026-07-24 14:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695389 -2.674646)'), GeomFromEWKT('SRID=4674;POINT (-39.69528 -2.674649)'))) / (select extract(epoch from '2026-07-24 14:53:28'::timestamp) - extract(epoch from '2026-07-24 14:53: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.69519 -2.674662)', '2026-07-24 14:53:33', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69528 -2.674649)'), GeomFromEWKT('SRID=4674;POINT (-39.69519 -2.674662)'))) / (select extract(epoch from '2026-07-24 14:53:33'::timestamp) - extract(epoch from '2026-07-24 14:53:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69528 -2.674649)'), GeomFromEWKT('SRID=4674;POINT (-39.69519 -2.674662)'))) / (select extract(epoch from '2026-07-24 14:53:33'::timestamp) - extract(epoch from '2026-07-24 14:53: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.695091 -2.67468)', '2026-07-24 14:53:39', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69519 -2.674662)'), GeomFromEWKT('SRID=4674;POINT (-39.695091 -2.67468)'))) / (select extract(epoch from '2026-07-24 14:53:39'::timestamp) - extract(epoch from '2026-07-24 14:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69519 -2.674662)'), GeomFromEWKT('SRID=4674;POINT (-39.695091 -2.67468)'))) / (select extract(epoch from '2026-07-24 14:53:39'::timestamp) - extract(epoch from '2026-07-24 14:53:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69505 -2.674685)', '2026-07-24 14:53:43', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695091 -2.67468)'), GeomFromEWKT('SRID=4674;POINT (-39.69505 -2.674685)'))) / (select extract(epoch from '2026-07-24 14:53:43'::timestamp) - extract(epoch from '2026-07-24 14:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695091 -2.67468)'), GeomFromEWKT('SRID=4674;POINT (-39.69505 -2.674685)'))) / (select extract(epoch from '2026-07-24 14:53:43'::timestamp) - extract(epoch from '2026-07-24 14:53: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.694995 -2.674674)', '2026-07-24 14:53:50', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69505 -2.674685)'), GeomFromEWKT('SRID=4674;POINT (-39.694995 -2.674674)'))) / (select extract(epoch from '2026-07-24 14:53:50'::timestamp) - extract(epoch from '2026-07-24 14:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69505 -2.674685)'), GeomFromEWKT('SRID=4674;POINT (-39.694995 -2.674674)'))) / (select extract(epoch from '2026-07-24 14:53:50'::timestamp) - extract(epoch from '2026-07-24 14:53: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.694979 -2.67465)', '2026-07-24 14:53:56', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694995 -2.674674)'), GeomFromEWKT('SRID=4674;POINT (-39.694979 -2.67465)'))) / (select extract(epoch from '2026-07-24 14:53:56'::timestamp) - extract(epoch from '2026-07-24 14:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694995 -2.674674)'), GeomFromEWKT('SRID=4674;POINT (-39.694979 -2.67465)'))) / (select extract(epoch from '2026-07-24 14:53:56'::timestamp) - extract(epoch from '2026-07-24 14:53: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.694976 -2.674611)', '2026-07-24 14:54:03', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694979 -2.67465)'), GeomFromEWKT('SRID=4674;POINT (-39.694976 -2.674611)'))) / (select extract(epoch from '2026-07-24 14:54:03'::timestamp) - extract(epoch from '2026-07-24 14:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694979 -2.67465)'), GeomFromEWKT('SRID=4674;POINT (-39.694976 -2.674611)'))) / (select extract(epoch from '2026-07-24 14:54:03'::timestamp) - extract(epoch from '2026-07-24 14:53:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695001 -2.674548)', '2026-07-24 14:54:13', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694976 -2.674611)'), GeomFromEWKT('SRID=4674;POINT (-39.695001 -2.674548)'))) / (select extract(epoch from '2026-07-24 14:54:13'::timestamp) - extract(epoch from '2026-07-24 14:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694976 -2.674611)'), GeomFromEWKT('SRID=4674;POINT (-39.695001 -2.674548)'))) / (select extract(epoch from '2026-07-24 14:54:13'::timestamp) - extract(epoch from '2026-07-24 14:54: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.695034 -2.674511)', '2026-07-24 14:54:21', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695001 -2.674548)'), GeomFromEWKT('SRID=4674;POINT (-39.695034 -2.674511)'))) / (select extract(epoch from '2026-07-24 14:54:21'::timestamp) - extract(epoch from '2026-07-24 14:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695001 -2.674548)'), GeomFromEWKT('SRID=4674;POINT (-39.695034 -2.674511)'))) / (select extract(epoch from '2026-07-24 14:54:21'::timestamp) - extract(epoch from '2026-07-24 14: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.69509 -2.674468)', '2026-07-24 14:54:32', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695034 -2.674511)'), GeomFromEWKT('SRID=4674;POINT (-39.69509 -2.674468)'))) / (select extract(epoch from '2026-07-24 14:54:32'::timestamp) - extract(epoch from '2026-07-24 14:54:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695034 -2.674511)'), GeomFromEWKT('SRID=4674;POINT (-39.69509 -2.674468)'))) / (select extract(epoch from '2026-07-24 14:54:32'::timestamp) - extract(epoch from '2026-07-24 14:54:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695133 -2.674442)', '2026-07-24 14:54:40', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69509 -2.674468)'), GeomFromEWKT('SRID=4674;POINT (-39.695133 -2.674442)'))) / (select extract(epoch from '2026-07-24 14:54:40'::timestamp) - extract(epoch from '2026-07-24 14:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69509 -2.674468)'), GeomFromEWKT('SRID=4674;POINT (-39.695133 -2.674442)'))) / (select extract(epoch from '2026-07-24 14:54:40'::timestamp) - extract(epoch from '2026-07-24 14:54: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.695151 -2.674426)', '2026-07-24 14:54:44', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695133 -2.674442)'), GeomFromEWKT('SRID=4674;POINT (-39.695151 -2.674426)'))) / (select extract(epoch from '2026-07-24 14:54:44'::timestamp) - extract(epoch from '2026-07-24 14:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695133 -2.674442)'), GeomFromEWKT('SRID=4674;POINT (-39.695151 -2.674426)'))) / (select extract(epoch from '2026-07-24 14:54:44'::timestamp) - extract(epoch from '2026-07-24 14: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.695169 -2.674422)', '2026-07-24 14:54:47', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695151 -2.674426)'), GeomFromEWKT('SRID=4674;POINT (-39.695169 -2.674422)'))) / (select extract(epoch from '2026-07-24 14:54:47'::timestamp) - extract(epoch from '2026-07-24 14:54:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695151 -2.674426)'), GeomFromEWKT('SRID=4674;POINT (-39.695169 -2.674422)'))) / (select extract(epoch from '2026-07-24 14:54:47'::timestamp) - extract(epoch from '2026-07-24 14:54:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695216 -2.674397)', '2026-07-24 14:54:56', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695169 -2.674422)'), GeomFromEWKT('SRID=4674;POINT (-39.695216 -2.674397)'))) / (select extract(epoch from '2026-07-24 14:54:56'::timestamp) - extract(epoch from '2026-07-24 14:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695169 -2.674422)'), GeomFromEWKT('SRID=4674;POINT (-39.695216 -2.674397)'))) / (select extract(epoch from '2026-07-24 14:54:56'::timestamp) - extract(epoch from '2026-07-24 14:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695242 -2.674381)', '2026-07-24 14:55:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695216 -2.674397)'), GeomFromEWKT('SRID=4674;POINT (-39.695242 -2.674381)'))) / (select extract(epoch from '2026-07-24 14:55:06'::timestamp) - extract(epoch from '2026-07-24 14:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695216 -2.674397)'), GeomFromEWKT('SRID=4674;POINT (-39.695242 -2.674381)'))) / (select extract(epoch from '2026-07-24 14:55:06'::timestamp) - extract(epoch from '2026-07-24 14:54: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.695285 -2.674354)', '2026-07-24 14:55:16', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695242 -2.674381)'), GeomFromEWKT('SRID=4674;POINT (-39.695285 -2.674354)'))) / (select extract(epoch from '2026-07-24 14:55:16'::timestamp) - extract(epoch from '2026-07-24 14:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695242 -2.674381)'), GeomFromEWKT('SRID=4674;POINT (-39.695285 -2.674354)'))) / (select extract(epoch from '2026-07-24 14:55:16'::timestamp) - extract(epoch from '2026-07-24 14:55:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695335 -2.674327)', '2026-07-24 14:55:25', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695285 -2.674354)'), GeomFromEWKT('SRID=4674;POINT (-39.695335 -2.674327)'))) / (select extract(epoch from '2026-07-24 14:55:25'::timestamp) - extract(epoch from '2026-07-24 14:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695285 -2.674354)'), GeomFromEWKT('SRID=4674;POINT (-39.695335 -2.674327)'))) / (select extract(epoch from '2026-07-24 14:55:25'::timestamp) - extract(epoch from '2026-07-24 14:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69537 -2.674312)', '2026-07-24 14:55:32', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695335 -2.674327)'), GeomFromEWKT('SRID=4674;POINT (-39.69537 -2.674312)'))) / (select extract(epoch from '2026-07-24 14:55:32'::timestamp) - extract(epoch from '2026-07-24 14:55:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695335 -2.674327)'), GeomFromEWKT('SRID=4674;POINT (-39.69537 -2.674312)'))) / (select extract(epoch from '2026-07-24 14:55:32'::timestamp) - extract(epoch from '2026-07-24 14:55:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695402 -2.674294)', '2026-07-24 14:55:39', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69537 -2.674312)'), GeomFromEWKT('SRID=4674;POINT (-39.695402 -2.674294)'))) / (select extract(epoch from '2026-07-24 14:55:39'::timestamp) - extract(epoch from '2026-07-24 14:55:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69537 -2.674312)'), GeomFromEWKT('SRID=4674;POINT (-39.695402 -2.674294)'))) / (select extract(epoch from '2026-07-24 14:55:39'::timestamp) - extract(epoch from '2026-07-24 14:55:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695421 -2.67427)', '2026-07-24 14:55:48', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695402 -2.674294)'), GeomFromEWKT('SRID=4674;POINT (-39.695421 -2.67427)'))) / (select extract(epoch from '2026-07-24 14:55:48'::timestamp) - extract(epoch from '2026-07-24 14:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695402 -2.674294)'), GeomFromEWKT('SRID=4674;POINT (-39.695421 -2.67427)'))) / (select extract(epoch from '2026-07-24 14:55:48'::timestamp) - extract(epoch from '2026-07-24 14:55: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.695438 -2.674234)', '2026-07-24 14:56:00', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695421 -2.67427)'), GeomFromEWKT('SRID=4674;POINT (-39.695438 -2.674234)'))) / (select extract(epoch from '2026-07-24 14:56:00'::timestamp) - extract(epoch from '2026-07-24 14:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695421 -2.67427)'), GeomFromEWKT('SRID=4674;POINT (-39.695438 -2.674234)'))) / (select extract(epoch from '2026-07-24 14:56:00'::timestamp) - extract(epoch from '2026-07-24 14:55: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.695464 -2.674197)', '2026-07-24 14:56:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695438 -2.674234)'), GeomFromEWKT('SRID=4674;POINT (-39.695464 -2.674197)'))) / (select extract(epoch from '2026-07-24 14:56:08'::timestamp) - extract(epoch from '2026-07-24 14:56:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695438 -2.674234)'), GeomFromEWKT('SRID=4674;POINT (-39.695464 -2.674197)'))) / (select extract(epoch from '2026-07-24 14:56:08'::timestamp) - extract(epoch from '2026-07-24 14:56: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.69551 -2.674153)', '2026-07-24 14:56:20', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695464 -2.674197)'), GeomFromEWKT('SRID=4674;POINT (-39.69551 -2.674153)'))) / (select extract(epoch from '2026-07-24 14:56:20'::timestamp) - extract(epoch from '2026-07-24 14:56:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695464 -2.674197)'), GeomFromEWKT('SRID=4674;POINT (-39.69551 -2.674153)'))) / (select extract(epoch from '2026-07-24 14:56:20'::timestamp) - extract(epoch from '2026-07-24 14: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.695494 -2.67413)', '2026-07-24 14:56:28', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69551 -2.674153)'), GeomFromEWKT('SRID=4674;POINT (-39.695494 -2.67413)'))) / (select extract(epoch from '2026-07-24 14:56:28'::timestamp) - extract(epoch from '2026-07-24 14:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69551 -2.674153)'), GeomFromEWKT('SRID=4674;POINT (-39.695494 -2.67413)'))) / (select extract(epoch from '2026-07-24 14:56:28'::timestamp) - extract(epoch from '2026-07-24 14:56: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.695475 -2.674108)', '2026-07-24 14:56:35', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695494 -2.67413)'), GeomFromEWKT('SRID=4674;POINT (-39.695475 -2.674108)'))) / (select extract(epoch from '2026-07-24 14:56:35'::timestamp) - extract(epoch from '2026-07-24 14:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695494 -2.67413)'), GeomFromEWKT('SRID=4674;POINT (-39.695475 -2.674108)'))) / (select extract(epoch from '2026-07-24 14:56:35'::timestamp) - extract(epoch from '2026-07-24 14:56:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695459 -2.674113)', '2026-07-24 14:56:43', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695475 -2.674108)'), GeomFromEWKT('SRID=4674;POINT (-39.695459 -2.674113)'))) / (select extract(epoch from '2026-07-24 14:56:43'::timestamp) - extract(epoch from '2026-07-24 14:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695475 -2.674108)'), GeomFromEWKT('SRID=4674;POINT (-39.695459 -2.674113)'))) / (select extract(epoch from '2026-07-24 14:56:43'::timestamp) - extract(epoch from '2026-07-24 14:56: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.69548 -2.674126)', '2026-07-24 14:56:58', 10.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695459 -2.674113)'), GeomFromEWKT('SRID=4674;POINT (-39.69548 -2.674126)'))) / (select extract(epoch from '2026-07-24 14:56:58'::timestamp) - extract(epoch from '2026-07-24 14:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695459 -2.674113)'), GeomFromEWKT('SRID=4674;POINT (-39.69548 -2.674126)'))) / (select extract(epoch from '2026-07-24 14:56:58'::timestamp) - extract(epoch from '2026-07-24 14:56: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.695484 -2.674115)', '2026-07-24 14:57:11', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69548 -2.674126)'), GeomFromEWKT('SRID=4674;POINT (-39.695484 -2.674115)'))) / (select extract(epoch from '2026-07-24 14:57:11'::timestamp) - extract(epoch from '2026-07-24 14:56:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69548 -2.674126)'), GeomFromEWKT('SRID=4674;POINT (-39.695484 -2.674115)'))) / (select extract(epoch from '2026-07-24 14:57:11'::timestamp) - extract(epoch from '2026-07-24 14:56: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.695498 -2.674092)', '2026-07-24 14:57:26', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695484 -2.674115)'), GeomFromEWKT('SRID=4674;POINT (-39.695498 -2.674092)'))) / (select extract(epoch from '2026-07-24 14:57:26'::timestamp) - extract(epoch from '2026-07-24 14:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695484 -2.674115)'), GeomFromEWKT('SRID=4674;POINT (-39.695498 -2.674092)'))) / (select extract(epoch from '2026-07-24 14:57:26'::timestamp) - extract(epoch from '2026-07-24 14: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.695476 -2.674075)', '2026-07-24 14:57:36', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695498 -2.674092)'), GeomFromEWKT('SRID=4674;POINT (-39.695476 -2.674075)'))) / (select extract(epoch from '2026-07-24 14:57:36'::timestamp) - extract(epoch from '2026-07-24 14:57:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695498 -2.674092)'), GeomFromEWKT('SRID=4674;POINT (-39.695476 -2.674075)'))) / (select extract(epoch from '2026-07-24 14:57:36'::timestamp) - extract(epoch from '2026-07-24 14: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.695471 -2.674069)', '2026-07-24 14:57:43', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695476 -2.674075)'), GeomFromEWKT('SRID=4674;POINT (-39.695471 -2.674069)'))) / (select extract(epoch from '2026-07-24 14:57:43'::timestamp) - extract(epoch from '2026-07-24 14:57:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695476 -2.674075)'), GeomFromEWKT('SRID=4674;POINT (-39.695471 -2.674069)'))) / (select extract(epoch from '2026-07-24 14:57:43'::timestamp) - extract(epoch from '2026-07-24 14:57:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695453 -2.674051)', '2026-07-24 14:58:18', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695471 -2.674069)'), GeomFromEWKT('SRID=4674;POINT (-39.695453 -2.674051)'))) / (select extract(epoch from '2026-07-24 14:58:18'::timestamp) - extract(epoch from '2026-07-24 14:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695471 -2.674069)'), GeomFromEWKT('SRID=4674;POINT (-39.695453 -2.674051)'))) / (select extract(epoch from '2026-07-24 14:58:18'::timestamp) - extract(epoch from '2026-07-24 14:57: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.695474 -2.674028)', '2026-07-24 14:58:45', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695453 -2.674051)'), GeomFromEWKT('SRID=4674;POINT (-39.695474 -2.674028)'))) / (select extract(epoch from '2026-07-24 14:58:45'::timestamp) - extract(epoch from '2026-07-24 14:58:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695453 -2.674051)'), GeomFromEWKT('SRID=4674;POINT (-39.695474 -2.674028)'))) / (select extract(epoch from '2026-07-24 14:58:45'::timestamp) - extract(epoch from '2026-07-24 14:58: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.695496 -2.674018)', '2026-07-24 14:58:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695474 -2.674028)'), GeomFromEWKT('SRID=4674;POINT (-39.695496 -2.674018)'))) / (select extract(epoch from '2026-07-24 14:58:51'::timestamp) - extract(epoch from '2026-07-24 14:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695474 -2.674028)'), GeomFromEWKT('SRID=4674;POINT (-39.695496 -2.674018)'))) / (select extract(epoch from '2026-07-24 14:58:51'::timestamp) - extract(epoch from '2026-07-24 14:58: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.695512 -2.674009)', '2026-07-24 14:58:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695496 -2.674018)'), GeomFromEWKT('SRID=4674;POINT (-39.695512 -2.674009)'))) / (select extract(epoch from '2026-07-24 14:58:54'::timestamp) - extract(epoch from '2026-07-24 14:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695496 -2.674018)'), GeomFromEWKT('SRID=4674;POINT (-39.695512 -2.674009)'))) / (select extract(epoch from '2026-07-24 14:58:54'::timestamp) - extract(epoch from '2026-07-24 14:58: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.695565 -2.673978)', '2026-07-24 14:59:04', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695512 -2.674009)'), GeomFromEWKT('SRID=4674;POINT (-39.695565 -2.673978)'))) / (select extract(epoch from '2026-07-24 14:59:04'::timestamp) - extract(epoch from '2026-07-24 14:58:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695512 -2.674009)'), GeomFromEWKT('SRID=4674;POINT (-39.695565 -2.673978)'))) / (select extract(epoch from '2026-07-24 14:59:04'::timestamp) - extract(epoch from '2026-07-24 14:58:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695564 -2.673912)', '2026-07-24 14:59:13', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695565 -2.673978)'), GeomFromEWKT('SRID=4674;POINT (-39.695564 -2.673912)'))) / (select extract(epoch from '2026-07-24 14:59:13'::timestamp) - extract(epoch from '2026-07-24 14:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695565 -2.673978)'), GeomFromEWKT('SRID=4674;POINT (-39.695564 -2.673912)'))) / (select extract(epoch from '2026-07-24 14:59:13'::timestamp) - extract(epoch from '2026-07-24 14:59: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.695504 -2.673894)', '2026-07-24 14:59:19', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695564 -2.673912)'), GeomFromEWKT('SRID=4674;POINT (-39.695504 -2.673894)'))) / (select extract(epoch from '2026-07-24 14:59:19'::timestamp) - extract(epoch from '2026-07-24 14:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695564 -2.673912)'), GeomFromEWKT('SRID=4674;POINT (-39.695504 -2.673894)'))) / (select extract(epoch from '2026-07-24 14:59:19'::timestamp) - extract(epoch from '2026-07-24 14:59:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695489 -2.673895)', '2026-07-24 14:59:20', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695504 -2.673894)'), GeomFromEWKT('SRID=4674;POINT (-39.695489 -2.673895)'))) / (select extract(epoch from '2026-07-24 14:59:20'::timestamp) - extract(epoch from '2026-07-24 14:59:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695504 -2.673894)'), GeomFromEWKT('SRID=4674;POINT (-39.695489 -2.673895)'))) / (select extract(epoch from '2026-07-24 14:59:20'::timestamp) - extract(epoch from '2026-07-24 14:59:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695415 -2.673936)', '2026-07-24 14:59:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695489 -2.673895)'), GeomFromEWKT('SRID=4674;POINT (-39.695415 -2.673936)'))) / (select extract(epoch from '2026-07-24 14:59:26'::timestamp) - extract(epoch from '2026-07-24 14:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695489 -2.673895)'), GeomFromEWKT('SRID=4674;POINT (-39.695415 -2.673936)'))) / (select extract(epoch from '2026-07-24 14:59:26'::timestamp) - extract(epoch from '2026-07-24 14:59: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.695367 -2.673983)', '2026-07-24 14:59:30', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695415 -2.673936)'), GeomFromEWKT('SRID=4674;POINT (-39.695367 -2.673983)'))) / (select extract(epoch from '2026-07-24 14:59:30'::timestamp) - extract(epoch from '2026-07-24 14:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695415 -2.673936)'), GeomFromEWKT('SRID=4674;POINT (-39.695367 -2.673983)'))) / (select extract(epoch from '2026-07-24 14:59:30'::timestamp) - extract(epoch from '2026-07-24 14:59: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.695333 -2.674004)', '2026-07-24 14:59:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695367 -2.673983)'), GeomFromEWKT('SRID=4674;POINT (-39.695333 -2.674004)'))) / (select extract(epoch from '2026-07-24 14:59:32'::timestamp) - extract(epoch from '2026-07-24 14:59:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695367 -2.673983)'), GeomFromEWKT('SRID=4674;POINT (-39.695333 -2.674004)'))) / (select extract(epoch from '2026-07-24 14:59:32'::timestamp) - extract(epoch from '2026-07-24 14:59: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.695265 -2.674076)', '2026-07-24 14:59:38', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695333 -2.674004)'), GeomFromEWKT('SRID=4674;POINT (-39.695265 -2.674076)'))) / (select extract(epoch from '2026-07-24 14:59:38'::timestamp) - extract(epoch from '2026-07-24 14:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695333 -2.674004)'), GeomFromEWKT('SRID=4674;POINT (-39.695265 -2.674076)'))) / (select extract(epoch from '2026-07-24 14:59:38'::timestamp) - extract(epoch from '2026-07-24 14:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695199 -2.674138)', '2026-07-24 14:59:44', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695265 -2.674076)'), GeomFromEWKT('SRID=4674;POINT (-39.695199 -2.674138)'))) / (select extract(epoch from '2026-07-24 14:59:44'::timestamp) - extract(epoch from '2026-07-24 14:59:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695265 -2.674076)'), GeomFromEWKT('SRID=4674;POINT (-39.695199 -2.674138)'))) / (select extract(epoch from '2026-07-24 14:59:44'::timestamp) - extract(epoch from '2026-07-24 14:59:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695124 -2.674164)', '2026-07-24 14:59:49', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695199 -2.674138)'), GeomFromEWKT('SRID=4674;POINT (-39.695124 -2.674164)'))) / (select extract(epoch from '2026-07-24 14:59:49'::timestamp) - extract(epoch from '2026-07-24 14:59:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695199 -2.674138)'), GeomFromEWKT('SRID=4674;POINT (-39.695124 -2.674164)'))) / (select extract(epoch from '2026-07-24 14:59:49'::timestamp) - extract(epoch from '2026-07-24 14:59:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.695006 -2.67419)', '2026-07-24 14:59:56', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695124 -2.674164)'), GeomFromEWKT('SRID=4674;POINT (-39.695006 -2.67419)'))) / (select extract(epoch from '2026-07-24 14:59:56'::timestamp) - extract(epoch from '2026-07-24 14:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695124 -2.674164)'), GeomFromEWKT('SRID=4674;POINT (-39.695006 -2.67419)'))) / (select extract(epoch from '2026-07-24 14:59:56'::timestamp) - extract(epoch from '2026-07-24 14:59: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.694861 -2.674212)', '2026-07-24 15:00:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695006 -2.67419)'), GeomFromEWKT('SRID=4674;POINT (-39.694861 -2.674212)'))) / (select extract(epoch from '2026-07-24 15:00:04'::timestamp) - extract(epoch from '2026-07-24 14:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.695006 -2.67419)'), GeomFromEWKT('SRID=4674;POINT (-39.694861 -2.674212)'))) / (select extract(epoch from '2026-07-24 15:00:04'::timestamp) - extract(epoch from '2026-07-24 14:59:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694756 -2.674233)', '2026-07-24 15:00:10', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694861 -2.674212)'), GeomFromEWKT('SRID=4674;POINT (-39.694756 -2.674233)'))) / (select extract(epoch from '2026-07-24 15:00:10'::timestamp) - extract(epoch from '2026-07-24 15:00:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694861 -2.674212)'), GeomFromEWKT('SRID=4674;POINT (-39.694756 -2.674233)'))) / (select extract(epoch from '2026-07-24 15:00:10'::timestamp) - extract(epoch from '2026-07-24 15:00:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69459 -2.674253)', '2026-07-24 15:00:19', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694756 -2.674233)'), GeomFromEWKT('SRID=4674;POINT (-39.69459 -2.674253)'))) / (select extract(epoch from '2026-07-24 15:00:19'::timestamp) - extract(epoch from '2026-07-24 15:00:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694756 -2.674233)'), GeomFromEWKT('SRID=4674;POINT (-39.69459 -2.674253)'))) / (select extract(epoch from '2026-07-24 15:00:19'::timestamp) - extract(epoch from '2026-07-24 15:00: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.694503 -2.674254)', '2026-07-24 15:00:24', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69459 -2.674253)'), GeomFromEWKT('SRID=4674;POINT (-39.694503 -2.674254)'))) / (select extract(epoch from '2026-07-24 15:00:24'::timestamp) - extract(epoch from '2026-07-24 15:00:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69459 -2.674253)'), GeomFromEWKT('SRID=4674;POINT (-39.694503 -2.674254)'))) / (select extract(epoch from '2026-07-24 15:00:24'::timestamp) - extract(epoch from '2026-07-24 15:00: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.694391 -2.674269)', '2026-07-24 15:00:30', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694503 -2.674254)'), GeomFromEWKT('SRID=4674;POINT (-39.694391 -2.674269)'))) / (select extract(epoch from '2026-07-24 15:00:30'::timestamp) - extract(epoch from '2026-07-24 15:00:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694503 -2.674254)'), GeomFromEWKT('SRID=4674;POINT (-39.694391 -2.674269)'))) / (select extract(epoch from '2026-07-24 15:00:30'::timestamp) - extract(epoch from '2026-07-24 15:00: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.694284 -2.6743)', '2026-07-24 15:00:36', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694391 -2.674269)'), GeomFromEWKT('SRID=4674;POINT (-39.694284 -2.6743)'))) / (select extract(epoch from '2026-07-24 15:00:36'::timestamp) - extract(epoch from '2026-07-24 15:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694391 -2.674269)'), GeomFromEWKT('SRID=4674;POINT (-39.694284 -2.6743)'))) / (select extract(epoch from '2026-07-24 15:00:36'::timestamp) - extract(epoch from '2026-07-24 15:00: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.694152 -2.674339)', '2026-07-24 15:00:43', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694284 -2.6743)'), GeomFromEWKT('SRID=4674;POINT (-39.694152 -2.674339)'))) / (select extract(epoch from '2026-07-24 15:00:43'::timestamp) - extract(epoch from '2026-07-24 15:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694284 -2.6743)'), GeomFromEWKT('SRID=4674;POINT (-39.694152 -2.674339)'))) / (select extract(epoch from '2026-07-24 15:00:43'::timestamp) - extract(epoch from '2026-07-24 15:00: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.694062 -2.674381)', '2026-07-24 15:00:48', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694152 -2.674339)'), GeomFromEWKT('SRID=4674;POINT (-39.694062 -2.674381)'))) / (select extract(epoch from '2026-07-24 15:00:48'::timestamp) - extract(epoch from '2026-07-24 15:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694152 -2.674339)'), GeomFromEWKT('SRID=4674;POINT (-39.694062 -2.674381)'))) / (select extract(epoch from '2026-07-24 15:00:48'::timestamp) - extract(epoch from '2026-07-24 15:00:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69397 -2.674418)', '2026-07-24 15:00:53', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694062 -2.674381)'), GeomFromEWKT('SRID=4674;POINT (-39.69397 -2.674418)'))) / (select extract(epoch from '2026-07-24 15:00:53'::timestamp) - extract(epoch from '2026-07-24 15:00:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694062 -2.674381)'), GeomFromEWKT('SRID=4674;POINT (-39.69397 -2.674418)'))) / (select extract(epoch from '2026-07-24 15:00:53'::timestamp) - extract(epoch from '2026-07-24 15: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.69389 -2.674462)', '2026-07-24 15:00:58', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69397 -2.674418)'), GeomFromEWKT('SRID=4674;POINT (-39.69389 -2.674462)'))) / (select extract(epoch from '2026-07-24 15:00:58'::timestamp) - extract(epoch from '2026-07-24 15:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69397 -2.674418)'), GeomFromEWKT('SRID=4674;POINT (-39.69389 -2.674462)'))) / (select extract(epoch from '2026-07-24 15:00:58'::timestamp) - extract(epoch from '2026-07-24 15:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.693813 -2.67451)', '2026-07-24 15:01:03', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69389 -2.674462)'), GeomFromEWKT('SRID=4674;POINT (-39.693813 -2.67451)'))) / (select extract(epoch from '2026-07-24 15:01:03'::timestamp) - extract(epoch from '2026-07-24 15:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69389 -2.674462)'), GeomFromEWKT('SRID=4674;POINT (-39.693813 -2.67451)'))) / (select extract(epoch from '2026-07-24 15:01:03'::timestamp) - extract(epoch from '2026-07-24 15:00: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.693741 -2.674533)', '2026-07-24 15:01:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693813 -2.67451)'), GeomFromEWKT('SRID=4674;POINT (-39.693741 -2.674533)'))) / (select extract(epoch from '2026-07-24 15:01:09'::timestamp) - extract(epoch from '2026-07-24 15:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693813 -2.67451)'), GeomFromEWKT('SRID=4674;POINT (-39.693741 -2.674533)'))) / (select extract(epoch from '2026-07-24 15:01:09'::timestamp) - extract(epoch from '2026-07-24 15: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.693698 -2.674524)', '2026-07-24 15:01:15', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693741 -2.674533)'), GeomFromEWKT('SRID=4674;POINT (-39.693698 -2.674524)'))) / (select extract(epoch from '2026-07-24 15:01:15'::timestamp) - extract(epoch from '2026-07-24 15:01:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693741 -2.674533)'), GeomFromEWKT('SRID=4674;POINT (-39.693698 -2.674524)'))) / (select extract(epoch from '2026-07-24 15:01:15'::timestamp) - extract(epoch from '2026-07-24 15:01:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.693687 -2.674503)', '2026-07-24 15:01:21', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693698 -2.674524)'), GeomFromEWKT('SRID=4674;POINT (-39.693687 -2.674503)'))) / (select extract(epoch from '2026-07-24 15:01:21'::timestamp) - extract(epoch from '2026-07-24 15:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693698 -2.674524)'), GeomFromEWKT('SRID=4674;POINT (-39.693687 -2.674503)'))) / (select extract(epoch from '2026-07-24 15:01:21'::timestamp) - extract(epoch from '2026-07-24 15: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.693704 -2.674468)', '2026-07-24 15:01:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693687 -2.674503)'), GeomFromEWKT('SRID=4674;POINT (-39.693704 -2.674468)'))) / (select extract(epoch from '2026-07-24 15:01:28'::timestamp) - extract(epoch from '2026-07-24 15:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693687 -2.674503)'), GeomFromEWKT('SRID=4674;POINT (-39.693704 -2.674468)'))) / (select extract(epoch from '2026-07-24 15:01:28'::timestamp) - extract(epoch from '2026-07-24 15:01: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.693733 -2.674438)', '2026-07-24 15:01:34', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693704 -2.674468)'), GeomFromEWKT('SRID=4674;POINT (-39.693733 -2.674438)'))) / (select extract(epoch from '2026-07-24 15:01:34'::timestamp) - extract(epoch from '2026-07-24 15:01:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693704 -2.674468)'), GeomFromEWKT('SRID=4674;POINT (-39.693733 -2.674438)'))) / (select extract(epoch from '2026-07-24 15:01:34'::timestamp) - extract(epoch from '2026-07-24 15:01: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.693775 -2.674393)', '2026-07-24 15:01:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693733 -2.674438)'), GeomFromEWKT('SRID=4674;POINT (-39.693775 -2.674393)'))) / (select extract(epoch from '2026-07-24 15:01:42'::timestamp) - extract(epoch from '2026-07-24 15:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693733 -2.674438)'), GeomFromEWKT('SRID=4674;POINT (-39.693775 -2.674393)'))) / (select extract(epoch from '2026-07-24 15:01:42'::timestamp) - extract(epoch from '2026-07-24 15:01: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.693825 -2.674348)', '2026-07-24 15:01:52', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693775 -2.674393)'), GeomFromEWKT('SRID=4674;POINT (-39.693825 -2.674348)'))) / (select extract(epoch from '2026-07-24 15:01:52'::timestamp) - extract(epoch from '2026-07-24 15:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693775 -2.674393)'), GeomFromEWKT('SRID=4674;POINT (-39.693825 -2.674348)'))) / (select extract(epoch from '2026-07-24 15:01:52'::timestamp) - extract(epoch from '2026-07-24 15:01: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.693887 -2.674301)', '2026-07-24 15:02:02', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693825 -2.674348)'), GeomFromEWKT('SRID=4674;POINT (-39.693887 -2.674301)'))) / (select extract(epoch from '2026-07-24 15:02:02'::timestamp) - extract(epoch from '2026-07-24 15:01:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693825 -2.674348)'), GeomFromEWKT('SRID=4674;POINT (-39.693887 -2.674301)'))) / (select extract(epoch from '2026-07-24 15:02:02'::timestamp) - extract(epoch from '2026-07-24 15:01: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.693939 -2.674259)', '2026-07-24 15:02:11', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693887 -2.674301)'), GeomFromEWKT('SRID=4674;POINT (-39.693939 -2.674259)'))) / (select extract(epoch from '2026-07-24 15:02:11'::timestamp) - extract(epoch from '2026-07-24 15:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693887 -2.674301)'), GeomFromEWKT('SRID=4674;POINT (-39.693939 -2.674259)'))) / (select extract(epoch from '2026-07-24 15:02:11'::timestamp) - extract(epoch from '2026-07-24 15:02:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.693972 -2.674212)', '2026-07-24 15:02:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693939 -2.674259)'), GeomFromEWKT('SRID=4674;POINT (-39.693972 -2.674212)'))) / (select extract(epoch from '2026-07-24 15:02:20'::timestamp) - extract(epoch from '2026-07-24 15:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693939 -2.674259)'), GeomFromEWKT('SRID=4674;POINT (-39.693972 -2.674212)'))) / (select extract(epoch from '2026-07-24 15:02:20'::timestamp) - extract(epoch from '2026-07-24 15:02: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.693996 -2.674159)', '2026-07-24 15:02:31', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693972 -2.674212)'), GeomFromEWKT('SRID=4674;POINT (-39.693996 -2.674159)'))) / (select extract(epoch from '2026-07-24 15:02:31'::timestamp) - extract(epoch from '2026-07-24 15:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693972 -2.674212)'), GeomFromEWKT('SRID=4674;POINT (-39.693996 -2.674159)'))) / (select extract(epoch from '2026-07-24 15:02:31'::timestamp) - extract(epoch from '2026-07-24 15:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694023 -2.674133)', '2026-07-24 15:02:38', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693996 -2.674159)'), GeomFromEWKT('SRID=4674;POINT (-39.694023 -2.674133)'))) / (select extract(epoch from '2026-07-24 15:02:38'::timestamp) - extract(epoch from '2026-07-24 15:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693996 -2.674159)'), GeomFromEWKT('SRID=4674;POINT (-39.694023 -2.674133)'))) / (select extract(epoch from '2026-07-24 15:02:38'::timestamp) - extract(epoch from '2026-07-24 15:02: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.694055 -2.674116)', '2026-07-24 15:02:47', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694023 -2.674133)'), GeomFromEWKT('SRID=4674;POINT (-39.694055 -2.674116)'))) / (select extract(epoch from '2026-07-24 15:02:47'::timestamp) - extract(epoch from '2026-07-24 15:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694023 -2.674133)'), GeomFromEWKT('SRID=4674;POINT (-39.694055 -2.674116)'))) / (select extract(epoch from '2026-07-24 15:02:47'::timestamp) - extract(epoch from '2026-07-24 15:02: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.694059 -2.674107)', '2026-07-24 15:02:57', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694055 -2.674116)'), GeomFromEWKT('SRID=4674;POINT (-39.694059 -2.674107)'))) / (select extract(epoch from '2026-07-24 15:02:57'::timestamp) - extract(epoch from '2026-07-24 15:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694055 -2.674116)'), GeomFromEWKT('SRID=4674;POINT (-39.694059 -2.674107)'))) / (select extract(epoch from '2026-07-24 15:02:57'::timestamp) - extract(epoch from '2026-07-24 15:02: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.694083 -2.674088)', '2026-07-24 15:03:02', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694059 -2.674107)'), GeomFromEWKT('SRID=4674;POINT (-39.694083 -2.674088)'))) / (select extract(epoch from '2026-07-24 15:03:02'::timestamp) - extract(epoch from '2026-07-24 15:02:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694059 -2.674107)'), GeomFromEWKT('SRID=4674;POINT (-39.694083 -2.674088)'))) / (select extract(epoch from '2026-07-24 15:03:02'::timestamp) - extract(epoch from '2026-07-24 15:02: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.694112 -2.674075)', '2026-07-24 15:03:10', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694083 -2.674088)'), GeomFromEWKT('SRID=4674;POINT (-39.694112 -2.674075)'))) / (select extract(epoch from '2026-07-24 15:03:10'::timestamp) - extract(epoch from '2026-07-24 15:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694083 -2.674088)'), GeomFromEWKT('SRID=4674;POINT (-39.694112 -2.674075)'))) / (select extract(epoch from '2026-07-24 15:03:10'::timestamp) - extract(epoch from '2026-07-24 15:03:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694152 -2.674065)', '2026-07-24 15:03:18', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694112 -2.674075)'), GeomFromEWKT('SRID=4674;POINT (-39.694152 -2.674065)'))) / (select extract(epoch from '2026-07-24 15:03:18'::timestamp) - extract(epoch from '2026-07-24 15:03:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694112 -2.674075)'), GeomFromEWKT('SRID=4674;POINT (-39.694152 -2.674065)'))) / (select extract(epoch from '2026-07-24 15:03:18'::timestamp) - extract(epoch from '2026-07-24 15:03: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.69417 -2.674053)', '2026-07-24 15:03:24', 11.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694152 -2.674065)'), GeomFromEWKT('SRID=4674;POINT (-39.69417 -2.674053)'))) / (select extract(epoch from '2026-07-24 15:03:24'::timestamp) - extract(epoch from '2026-07-24 15:03:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694152 -2.674065)'), GeomFromEWKT('SRID=4674;POINT (-39.69417 -2.674053)'))) / (select extract(epoch from '2026-07-24 15:03:24'::timestamp) - extract(epoch from '2026-07-24 15:03:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694193 -2.674039)', '2026-07-24 15:03:30', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69417 -2.674053)'), GeomFromEWKT('SRID=4674;POINT (-39.694193 -2.674039)'))) / (select extract(epoch from '2026-07-24 15:03:30'::timestamp) - extract(epoch from '2026-07-24 15:03:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69417 -2.674053)'), GeomFromEWKT('SRID=4674;POINT (-39.694193 -2.674039)'))) / (select extract(epoch from '2026-07-24 15:03:30'::timestamp) - extract(epoch from '2026-07-24 15:03:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694226 -2.674022)', '2026-07-24 15:03:38', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694193 -2.674039)'), GeomFromEWKT('SRID=4674;POINT (-39.694226 -2.674022)'))) / (select extract(epoch from '2026-07-24 15:03:38'::timestamp) - extract(epoch from '2026-07-24 15:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694193 -2.674039)'), GeomFromEWKT('SRID=4674;POINT (-39.694226 -2.674022)'))) / (select extract(epoch from '2026-07-24 15:03:38'::timestamp) - extract(epoch from '2026-07-24 15:03: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.694239 -2.673989)', '2026-07-24 15:03:47', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694226 -2.674022)'), GeomFromEWKT('SRID=4674;POINT (-39.694239 -2.673989)'))) / (select extract(epoch from '2026-07-24 15:03:47'::timestamp) - extract(epoch from '2026-07-24 15:03:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694226 -2.674022)'), GeomFromEWKT('SRID=4674;POINT (-39.694239 -2.673989)'))) / (select extract(epoch from '2026-07-24 15:03:47'::timestamp) - extract(epoch from '2026-07-24 15:03:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694255 -2.673955)', '2026-07-24 15:03:56', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694239 -2.673989)'), GeomFromEWKT('SRID=4674;POINT (-39.694255 -2.673955)'))) / (select extract(epoch from '2026-07-24 15:03:56'::timestamp) - extract(epoch from '2026-07-24 15:03:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694239 -2.673989)'), GeomFromEWKT('SRID=4674;POINT (-39.694255 -2.673955)'))) / (select extract(epoch from '2026-07-24 15:03:56'::timestamp) - extract(epoch from '2026-07-24 15:03: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.694255 -2.673946)', '2026-07-24 15:04:07', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694255 -2.673955)'), GeomFromEWKT('SRID=4674;POINT (-39.694255 -2.673946)'))) / (select extract(epoch from '2026-07-24 15:04:07'::timestamp) - extract(epoch from '2026-07-24 15:03:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694255 -2.673955)'), GeomFromEWKT('SRID=4674;POINT (-39.694255 -2.673946)'))) / (select extract(epoch from '2026-07-24 15:04:07'::timestamp) - extract(epoch from '2026-07-24 15:03:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694303 -2.673869)', '2026-07-24 15:04:43', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694255 -2.673946)'), GeomFromEWKT('SRID=4674;POINT (-39.694303 -2.673869)'))) / (select extract(epoch from '2026-07-24 15:04:43'::timestamp) - extract(epoch from '2026-07-24 15:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694255 -2.673946)'), GeomFromEWKT('SRID=4674;POINT (-39.694303 -2.673869)'))) / (select extract(epoch from '2026-07-24 15:04:43'::timestamp) - extract(epoch from '2026-07-24 15:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694313 -2.673846)', '2026-07-24 15:04:50', 13.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694303 -2.673869)'), GeomFromEWKT('SRID=4674;POINT (-39.694313 -2.673846)'))) / (select extract(epoch from '2026-07-24 15:04:50'::timestamp) - extract(epoch from '2026-07-24 15:04:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694303 -2.673869)'), GeomFromEWKT('SRID=4674;POINT (-39.694313 -2.673846)'))) / (select extract(epoch from '2026-07-24 15:04:50'::timestamp) - extract(epoch from '2026-07-24 15:04:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694316 -2.673825)', '2026-07-24 15:04:57', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694313 -2.673846)'), GeomFromEWKT('SRID=4674;POINT (-39.694316 -2.673825)'))) / (select extract(epoch from '2026-07-24 15:04:57'::timestamp) - extract(epoch from '2026-07-24 15:04:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694313 -2.673846)'), GeomFromEWKT('SRID=4674;POINT (-39.694316 -2.673825)'))) / (select extract(epoch from '2026-07-24 15:04:57'::timestamp) - extract(epoch from '2026-07-24 15: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.694319 -2.673819)', '2026-07-24 15:05:07', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694316 -2.673825)'), GeomFromEWKT('SRID=4674;POINT (-39.694319 -2.673819)'))) / (select extract(epoch from '2026-07-24 15:05:07'::timestamp) - extract(epoch from '2026-07-24 15:04:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694316 -2.673825)'), GeomFromEWKT('SRID=4674;POINT (-39.694319 -2.673819)'))) / (select extract(epoch from '2026-07-24 15:05:07'::timestamp) - extract(epoch from '2026-07-24 15:04: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.694358 -2.673781)', '2026-07-24 15:05:15', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694319 -2.673819)'), GeomFromEWKT('SRID=4674;POINT (-39.694358 -2.673781)'))) / (select extract(epoch from '2026-07-24 15:05:15'::timestamp) - extract(epoch from '2026-07-24 15:05:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694319 -2.673819)'), GeomFromEWKT('SRID=4674;POINT (-39.694358 -2.673781)'))) / (select extract(epoch from '2026-07-24 15:05:15'::timestamp) - extract(epoch from '2026-07-24 15:05: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.694389 -2.673763)', '2026-07-24 15:05:23', 14.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694358 -2.673781)'), GeomFromEWKT('SRID=4674;POINT (-39.694389 -2.673763)'))) / (select extract(epoch from '2026-07-24 15:05:23'::timestamp) - extract(epoch from '2026-07-24 15:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694358 -2.673781)'), GeomFromEWKT('SRID=4674;POINT (-39.694389 -2.673763)'))) / (select extract(epoch from '2026-07-24 15:05:23'::timestamp) - extract(epoch from '2026-07-24 15: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.694393 -2.673761)', '2026-07-24 15:05:36', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694389 -2.673763)'), GeomFromEWKT('SRID=4674;POINT (-39.694393 -2.673761)'))) / (select extract(epoch from '2026-07-24 15:05:36'::timestamp) - extract(epoch from '2026-07-24 15:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694389 -2.673763)'), GeomFromEWKT('SRID=4674;POINT (-39.694393 -2.673761)'))) / (select extract(epoch from '2026-07-24 15:05:36'::timestamp) - extract(epoch from '2026-07-24 15:05: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.694434 -2.673733)', '2026-07-24 15:05:46', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694393 -2.673761)'), GeomFromEWKT('SRID=4674;POINT (-39.694434 -2.673733)'))) / (select extract(epoch from '2026-07-24 15:05:46'::timestamp) - extract(epoch from '2026-07-24 15:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694393 -2.673761)'), GeomFromEWKT('SRID=4674;POINT (-39.694434 -2.673733)'))) / (select extract(epoch from '2026-07-24 15:05:46'::timestamp) - extract(epoch from '2026-07-24 15:05: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.694445 -2.673722)', '2026-07-24 15:05:53', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694434 -2.673733)'), GeomFromEWKT('SRID=4674;POINT (-39.694445 -2.673722)'))) / (select extract(epoch from '2026-07-24 15:05:53'::timestamp) - extract(epoch from '2026-07-24 15:05:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694434 -2.673733)'), GeomFromEWKT('SRID=4674;POINT (-39.694445 -2.673722)'))) / (select extract(epoch from '2026-07-24 15:05:53'::timestamp) - extract(epoch from '2026-07-24 15: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.694459 -2.673702)', '2026-07-24 15:06:10', 15, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694445 -2.673722)'), GeomFromEWKT('SRID=4674;POINT (-39.694459 -2.673702)'))) / (select extract(epoch from '2026-07-24 15:06:10'::timestamp) - extract(epoch from '2026-07-24 15:05:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694445 -2.673722)'), GeomFromEWKT('SRID=4674;POINT (-39.694459 -2.673702)'))) / (select extract(epoch from '2026-07-24 15:06:10'::timestamp) - extract(epoch from '2026-07-24 15:05: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.694466 -2.673666)', '2026-07-24 15:06:29', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694459 -2.673702)'), GeomFromEWKT('SRID=4674;POINT (-39.694466 -2.673666)'))) / (select extract(epoch from '2026-07-24 15:06:29'::timestamp) - extract(epoch from '2026-07-24 15:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694459 -2.673702)'), GeomFromEWKT('SRID=4674;POINT (-39.694466 -2.673666)'))) / (select extract(epoch from '2026-07-24 15:06:29'::timestamp) - extract(epoch from '2026-07-24 15:06: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.694471 -2.673659)', '2026-07-24 15:06:40', 13.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694466 -2.673666)'), GeomFromEWKT('SRID=4674;POINT (-39.694471 -2.673659)'))) / (select extract(epoch from '2026-07-24 15:06:40'::timestamp) - extract(epoch from '2026-07-24 15:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694466 -2.673666)'), GeomFromEWKT('SRID=4674;POINT (-39.694471 -2.673659)'))) / (select extract(epoch from '2026-07-24 15:06:40'::timestamp) - extract(epoch from '2026-07-24 15:06: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.694509 -2.673626)', '2026-07-24 15:06:58', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694471 -2.673659)'), GeomFromEWKT('SRID=4674;POINT (-39.694509 -2.673626)'))) / (select extract(epoch from '2026-07-24 15:06:58'::timestamp) - extract(epoch from '2026-07-24 15:06:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694471 -2.673659)'), GeomFromEWKT('SRID=4674;POINT (-39.694509 -2.673626)'))) / (select extract(epoch from '2026-07-24 15:06:58'::timestamp) - extract(epoch from '2026-07-24 15:06: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.694536 -2.673608)', '2026-07-24 15:07:05', 13, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694509 -2.673626)'), GeomFromEWKT('SRID=4674;POINT (-39.694536 -2.673608)'))) / (select extract(epoch from '2026-07-24 15:07:05'::timestamp) - extract(epoch from '2026-07-24 15:06:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694509 -2.673626)'), GeomFromEWKT('SRID=4674;POINT (-39.694536 -2.673608)'))) / (select extract(epoch from '2026-07-24 15:07:05'::timestamp) - extract(epoch from '2026-07-24 15:06:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694597 -2.673573)', '2026-07-24 15:07:15', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694536 -2.673608)'), GeomFromEWKT('SRID=4674;POINT (-39.694597 -2.673573)'))) / (select extract(epoch from '2026-07-24 15:07:15'::timestamp) - extract(epoch from '2026-07-24 15:07:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694536 -2.673608)'), GeomFromEWKT('SRID=4674;POINT (-39.694597 -2.673573)'))) / (select extract(epoch from '2026-07-24 15:07:15'::timestamp) - extract(epoch from '2026-07-24 15:07: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.694651 -2.673532)', '2026-07-24 15:07:24', 12.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694597 -2.673573)'), GeomFromEWKT('SRID=4674;POINT (-39.694651 -2.673532)'))) / (select extract(epoch from '2026-07-24 15:07:24'::timestamp) - extract(epoch from '2026-07-24 15:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694597 -2.673573)'), GeomFromEWKT('SRID=4674;POINT (-39.694651 -2.673532)'))) / (select extract(epoch from '2026-07-24 15:07:24'::timestamp) - extract(epoch from '2026-07-24 15:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694696 -2.673486)', '2026-07-24 15:07:34', 12.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694651 -2.673532)'), GeomFromEWKT('SRID=4674;POINT (-39.694696 -2.673486)'))) / (select extract(epoch from '2026-07-24 15:07:34'::timestamp) - extract(epoch from '2026-07-24 15:07:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694651 -2.673532)'), GeomFromEWKT('SRID=4674;POINT (-39.694696 -2.673486)'))) / (select extract(epoch from '2026-07-24 15:07:34'::timestamp) - extract(epoch from '2026-07-24 15:07: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.694702 -2.673417)', '2026-07-24 15:07:42', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694696 -2.673486)'), GeomFromEWKT('SRID=4674;POINT (-39.694702 -2.673417)'))) / (select extract(epoch from '2026-07-24 15:07:42'::timestamp) - extract(epoch from '2026-07-24 15:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694696 -2.673486)'), GeomFromEWKT('SRID=4674;POINT (-39.694702 -2.673417)'))) / (select extract(epoch from '2026-07-24 15:07:42'::timestamp) - extract(epoch from '2026-07-24 15:07: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.69466 -2.673374)', '2026-07-24 15:07:47', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694702 -2.673417)'), GeomFromEWKT('SRID=4674;POINT (-39.69466 -2.673374)'))) / (select extract(epoch from '2026-07-24 15:07:47'::timestamp) - extract(epoch from '2026-07-24 15:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694702 -2.673417)'), GeomFromEWKT('SRID=4674;POINT (-39.69466 -2.673374)'))) / (select extract(epoch from '2026-07-24 15:07:47'::timestamp) - extract(epoch from '2026-07-24 15:07:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694648 -2.673366)', '2026-07-24 15:07:48', 11.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69466 -2.673374)'), GeomFromEWKT('SRID=4674;POINT (-39.694648 -2.673366)'))) / (select extract(epoch from '2026-07-24 15:07:48'::timestamp) - extract(epoch from '2026-07-24 15:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69466 -2.673374)'), GeomFromEWKT('SRID=4674;POINT (-39.694648 -2.673366)'))) / (select extract(epoch from '2026-07-24 15:07:48'::timestamp) - extract(epoch from '2026-07-24 15:07:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694563 -2.673338)', '2026-07-24 15:07:54', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694648 -2.673366)'), GeomFromEWKT('SRID=4674;POINT (-39.694563 -2.673338)'))) / (select extract(epoch from '2026-07-24 15:07:54'::timestamp) - extract(epoch from '2026-07-24 15:07:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694648 -2.673366)'), GeomFromEWKT('SRID=4674;POINT (-39.694563 -2.673338)'))) / (select extract(epoch from '2026-07-24 15:07:54'::timestamp) - extract(epoch from '2026-07-24 15:07:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694496 -2.673349)', '2026-07-24 15:07:59', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694563 -2.673338)'), GeomFromEWKT('SRID=4674;POINT (-39.694496 -2.673349)'))) / (select extract(epoch from '2026-07-24 15:07:59'::timestamp) - extract(epoch from '2026-07-24 15:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694563 -2.673338)'), GeomFromEWKT('SRID=4674;POINT (-39.694496 -2.673349)'))) / (select extract(epoch from '2026-07-24 15:07:59'::timestamp) - extract(epoch from '2026-07-24 15: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.694424 -2.673387)', '2026-07-24 15:08:05', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694496 -2.673349)'), GeomFromEWKT('SRID=4674;POINT (-39.694424 -2.673387)'))) / (select extract(epoch from '2026-07-24 15:08:05'::timestamp) - extract(epoch from '2026-07-24 15:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694496 -2.673349)'), GeomFromEWKT('SRID=4674;POINT (-39.694424 -2.673387)'))) / (select extract(epoch from '2026-07-24 15:08:05'::timestamp) - extract(epoch from '2026-07-24 15:07: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.694415 -2.673394)', '2026-07-24 15:08:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694424 -2.673387)'), GeomFromEWKT('SRID=4674;POINT (-39.694415 -2.673394)'))) / (select extract(epoch from '2026-07-24 15:08:06'::timestamp) - extract(epoch from '2026-07-24 15:08:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694424 -2.673387)'), GeomFromEWKT('SRID=4674;POINT (-39.694415 -2.673394)'))) / (select extract(epoch from '2026-07-24 15:08:06'::timestamp) - extract(epoch from '2026-07-24 15:08:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694366 -2.67345)', '2026-07-24 15:08:11', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694415 -2.673394)'), GeomFromEWKT('SRID=4674;POINT (-39.694366 -2.67345)'))) / (select extract(epoch from '2026-07-24 15:08:11'::timestamp) - extract(epoch from '2026-07-24 15:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694415 -2.673394)'), GeomFromEWKT('SRID=4674;POINT (-39.694366 -2.67345)'))) / (select extract(epoch from '2026-07-24 15:08:11'::timestamp) - extract(epoch from '2026-07-24 15:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694288 -2.67351)', '2026-07-24 15:08:17', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694366 -2.67345)'), GeomFromEWKT('SRID=4674;POINT (-39.694288 -2.67351)'))) / (select extract(epoch from '2026-07-24 15:08:17'::timestamp) - extract(epoch from '2026-07-24 15:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694366 -2.67345)'), GeomFromEWKT('SRID=4674;POINT (-39.694288 -2.67351)'))) / (select extract(epoch from '2026-07-24 15:08:17'::timestamp) - extract(epoch from '2026-07-24 15:08:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694232 -2.67356)', '2026-07-24 15:08:22', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694288 -2.67351)'), GeomFromEWKT('SRID=4674;POINT (-39.694232 -2.67356)'))) / (select extract(epoch from '2026-07-24 15:08:22'::timestamp) - extract(epoch from '2026-07-24 15:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694288 -2.67351)'), GeomFromEWKT('SRID=4674;POINT (-39.694232 -2.67356)'))) / (select extract(epoch from '2026-07-24 15:08:22'::timestamp) - extract(epoch from '2026-07-24 15:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694216 -2.673566)', '2026-07-24 15:08:23', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694232 -2.67356)'), GeomFromEWKT('SRID=4674;POINT (-39.694216 -2.673566)'))) / (select extract(epoch from '2026-07-24 15:08:23'::timestamp) - extract(epoch from '2026-07-24 15:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694232 -2.67356)'), GeomFromEWKT('SRID=4674;POINT (-39.694216 -2.673566)'))) / (select extract(epoch from '2026-07-24 15:08:23'::timestamp) - extract(epoch from '2026-07-24 15:08: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.694186 -2.673578)', '2026-07-24 15:08:25', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694216 -2.673566)'), GeomFromEWKT('SRID=4674;POINT (-39.694186 -2.673578)'))) / (select extract(epoch from '2026-07-24 15:08:25'::timestamp) - extract(epoch from '2026-07-24 15:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694216 -2.673566)'), GeomFromEWKT('SRID=4674;POINT (-39.694186 -2.673578)'))) / (select extract(epoch from '2026-07-24 15:08:25'::timestamp) - extract(epoch from '2026-07-24 15:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.694137 -2.673589)', '2026-07-24 15:08:28', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694186 -2.673578)'), GeomFromEWKT('SRID=4674;POINT (-39.694137 -2.673589)'))) / (select extract(epoch from '2026-07-24 15:08:28'::timestamp) - extract(epoch from '2026-07-24 15:08:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694186 -2.673578)'), GeomFromEWKT('SRID=4674;POINT (-39.694137 -2.673589)'))) / (select extract(epoch from '2026-07-24 15:08:28'::timestamp) - extract(epoch from '2026-07-24 15:08: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.694026 -2.673644)', '2026-07-24 15:08:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694137 -2.673589)'), GeomFromEWKT('SRID=4674;POINT (-39.694026 -2.673644)'))) / (select extract(epoch from '2026-07-24 15:08:35'::timestamp) - extract(epoch from '2026-07-24 15:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694137 -2.673589)'), GeomFromEWKT('SRID=4674;POINT (-39.694026 -2.673644)'))) / (select extract(epoch from '2026-07-24 15:08:35'::timestamp) - extract(epoch from '2026-07-24 15:08: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.693933 -2.67369)', '2026-07-24 15:08:41', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694026 -2.673644)'), GeomFromEWKT('SRID=4674;POINT (-39.693933 -2.67369)'))) / (select extract(epoch from '2026-07-24 15:08:41'::timestamp) - extract(epoch from '2026-07-24 15:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.694026 -2.673644)'), GeomFromEWKT('SRID=4674;POINT (-39.693933 -2.67369)'))) / (select extract(epoch from '2026-07-24 15:08:41'::timestamp) - extract(epoch from '2026-07-24 15:08: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.693792 -2.673757)', '2026-07-24 15:08:50', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693933 -2.67369)'), GeomFromEWKT('SRID=4674;POINT (-39.693792 -2.673757)'))) / (select extract(epoch from '2026-07-24 15:08:50'::timestamp) - extract(epoch from '2026-07-24 15:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693933 -2.67369)'), GeomFromEWKT('SRID=4674;POINT (-39.693792 -2.673757)'))) / (select extract(epoch from '2026-07-24 15:08:50'::timestamp) - extract(epoch from '2026-07-24 15:08: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.693694 -2.673786)', '2026-07-24 15:08:56', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693792 -2.673757)'), GeomFromEWKT('SRID=4674;POINT (-39.693694 -2.673786)'))) / (select extract(epoch from '2026-07-24 15:08:56'::timestamp) - extract(epoch from '2026-07-24 15:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693792 -2.673757)'), GeomFromEWKT('SRID=4674;POINT (-39.693694 -2.673786)'))) / (select extract(epoch from '2026-07-24 15:08:56'::timestamp) - extract(epoch from '2026-07-24 15:08: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.693632 -2.673803)', '2026-07-24 15:09:00', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693694 -2.673786)'), GeomFromEWKT('SRID=4674;POINT (-39.693632 -2.673803)'))) / (select extract(epoch from '2026-07-24 15:09:00'::timestamp) - extract(epoch from '2026-07-24 15:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693694 -2.673786)'), GeomFromEWKT('SRID=4674;POINT (-39.693632 -2.673803)'))) / (select extract(epoch from '2026-07-24 15:09:00'::timestamp) - extract(epoch from '2026-07-24 15:08:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.693613 -2.673803)', '2026-07-24 15:09:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693632 -2.673803)'), GeomFromEWKT('SRID=4674;POINT (-39.693613 -2.673803)'))) / (select extract(epoch from '2026-07-24 15:09:01'::timestamp) - extract(epoch from '2026-07-24 15:09:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693632 -2.673803)'), GeomFromEWKT('SRID=4674;POINT (-39.693613 -2.673803)'))) / (select extract(epoch from '2026-07-24 15:09:01'::timestamp) - extract(epoch from '2026-07-24 15: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.693495 -2.673823)', '2026-07-24 15:09:08', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693613 -2.673803)'), GeomFromEWKT('SRID=4674;POINT (-39.693495 -2.673823)'))) / (select extract(epoch from '2026-07-24 15:09:08'::timestamp) - extract(epoch from '2026-07-24 15:09:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693613 -2.673803)'), GeomFromEWKT('SRID=4674;POINT (-39.693495 -2.673823)'))) / (select extract(epoch from '2026-07-24 15:09:08'::timestamp) - extract(epoch from '2026-07-24 15:09:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.693452 -2.673832)', '2026-07-24 15:09:11', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693495 -2.673823)'), GeomFromEWKT('SRID=4674;POINT (-39.693452 -2.673832)'))) / (select extract(epoch from '2026-07-24 15:09:11'::timestamp) - extract(epoch from '2026-07-24 15:09:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693495 -2.673823)'), GeomFromEWKT('SRID=4674;POINT (-39.693452 -2.673832)'))) / (select extract(epoch from '2026-07-24 15:09:11'::timestamp) - extract(epoch from '2026-07-24 15:09:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.693399 -2.67383)', '2026-07-24 15:09:14', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693452 -2.673832)'), GeomFromEWKT('SRID=4674;POINT (-39.693399 -2.67383)'))) / (select extract(epoch from '2026-07-24 15:09:14'::timestamp) - extract(epoch from '2026-07-24 15:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693452 -2.673832)'), GeomFromEWKT('SRID=4674;POINT (-39.693399 -2.67383)'))) / (select extract(epoch from '2026-07-24 15:09:14'::timestamp) - extract(epoch from '2026-07-24 15: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.693302 -2.673865)', '2026-07-24 15:09:21', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693399 -2.67383)'), GeomFromEWKT('SRID=4674;POINT (-39.693302 -2.673865)'))) / (select extract(epoch from '2026-07-24 15:09:21'::timestamp) - extract(epoch from '2026-07-24 15:09:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693399 -2.67383)'), GeomFromEWKT('SRID=4674;POINT (-39.693302 -2.673865)'))) / (select extract(epoch from '2026-07-24 15:09:21'::timestamp) - extract(epoch from '2026-07-24 15:09: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.693241 -2.673919)', '2026-07-24 15:09:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693302 -2.673865)'), GeomFromEWKT('SRID=4674;POINT (-39.693241 -2.673919)'))) / (select extract(epoch from '2026-07-24 15:09:27'::timestamp) - extract(epoch from '2026-07-24 15:09:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693302 -2.673865)'), GeomFromEWKT('SRID=4674;POINT (-39.693241 -2.673919)'))) / (select extract(epoch from '2026-07-24 15:09:27'::timestamp) - extract(epoch from '2026-07-24 15:09: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.693231 -2.673926)', '2026-07-24 15:09:28', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693241 -2.673919)'), GeomFromEWKT('SRID=4674;POINT (-39.693231 -2.673926)'))) / (select extract(epoch from '2026-07-24 15:09:28'::timestamp) - extract(epoch from '2026-07-24 15:09:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693241 -2.673919)'), GeomFromEWKT('SRID=4674;POINT (-39.693231 -2.673926)'))) / (select extract(epoch from '2026-07-24 15:09:28'::timestamp) - extract(epoch from '2026-07-24 15:09: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.693167 -2.673962)', '2026-07-24 15:09:33', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693231 -2.673926)'), GeomFromEWKT('SRID=4674;POINT (-39.693167 -2.673962)'))) / (select extract(epoch from '2026-07-24 15:09:33'::timestamp) - extract(epoch from '2026-07-24 15:09:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693231 -2.673926)'), GeomFromEWKT('SRID=4674;POINT (-39.693167 -2.673962)'))) / (select extract(epoch from '2026-07-24 15:09:33'::timestamp) - extract(epoch from '2026-07-24 15:09: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.693121 -2.674002)', '2026-07-24 15:09:38', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693167 -2.673962)'), GeomFromEWKT('SRID=4674;POINT (-39.693121 -2.674002)'))) / (select extract(epoch from '2026-07-24 15:09:38'::timestamp) - extract(epoch from '2026-07-24 15:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693167 -2.673962)'), GeomFromEWKT('SRID=4674;POINT (-39.693121 -2.674002)'))) / (select extract(epoch from '2026-07-24 15:09:38'::timestamp) - extract(epoch from '2026-07-24 15:09: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.693058 -2.674061)', '2026-07-24 15:09:44', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693121 -2.674002)'), GeomFromEWKT('SRID=4674;POINT (-39.693058 -2.674061)'))) / (select extract(epoch from '2026-07-24 15:09:44'::timestamp) - extract(epoch from '2026-07-24 15:09:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693121 -2.674002)'), GeomFromEWKT('SRID=4674;POINT (-39.693058 -2.674061)'))) / (select extract(epoch from '2026-07-24 15:09:44'::timestamp) - extract(epoch from '2026-07-24 15:09:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692989 -2.674117)', '2026-07-24 15:09:51', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693058 -2.674061)'), GeomFromEWKT('SRID=4674;POINT (-39.692989 -2.674117)'))) / (select extract(epoch from '2026-07-24 15:09:51'::timestamp) - extract(epoch from '2026-07-24 15:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.693058 -2.674061)'), GeomFromEWKT('SRID=4674;POINT (-39.692989 -2.674117)'))) / (select extract(epoch from '2026-07-24 15:09:51'::timestamp) - extract(epoch from '2026-07-24 15:09: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.692926 -2.674175)', '2026-07-24 15:09:57', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692989 -2.674117)'), GeomFromEWKT('SRID=4674;POINT (-39.692926 -2.674175)'))) / (select extract(epoch from '2026-07-24 15:09:57'::timestamp) - extract(epoch from '2026-07-24 15:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692989 -2.674117)'), GeomFromEWKT('SRID=4674;POINT (-39.692926 -2.674175)'))) / (select extract(epoch from '2026-07-24 15:09:57'::timestamp) - extract(epoch from '2026-07-24 15:09: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.692868 -2.674222)', '2026-07-24 15:10:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692926 -2.674175)'), GeomFromEWKT('SRID=4674;POINT (-39.692868 -2.674222)'))) / (select extract(epoch from '2026-07-24 15:10:02'::timestamp) - extract(epoch from '2026-07-24 15:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692926 -2.674175)'), GeomFromEWKT('SRID=4674;POINT (-39.692868 -2.674222)'))) / (select extract(epoch from '2026-07-24 15:10:02'::timestamp) - extract(epoch from '2026-07-24 15:09:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692788 -2.674314)', '2026-07-24 15:10:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692868 -2.674222)'), GeomFromEWKT('SRID=4674;POINT (-39.692788 -2.674314)'))) / (select extract(epoch from '2026-07-24 15:10:09'::timestamp) - extract(epoch from '2026-07-24 15:10:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692868 -2.674222)'), GeomFromEWKT('SRID=4674;POINT (-39.692788 -2.674314)'))) / (select extract(epoch from '2026-07-24 15:10:09'::timestamp) - extract(epoch from '2026-07-24 15: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.69272 -2.674394)', '2026-07-24 15:10:15', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692788 -2.674314)'), GeomFromEWKT('SRID=4674;POINT (-39.69272 -2.674394)'))) / (select extract(epoch from '2026-07-24 15:10:15'::timestamp) - extract(epoch from '2026-07-24 15:10:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692788 -2.674314)'), GeomFromEWKT('SRID=4674;POINT (-39.69272 -2.674394)'))) / (select extract(epoch from '2026-07-24 15:10:15'::timestamp) - extract(epoch from '2026-07-24 15:10:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692706 -2.674404)', '2026-07-24 15:10:16', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69272 -2.674394)'), GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.674404)'))) / (select extract(epoch from '2026-07-24 15:10:16'::timestamp) - extract(epoch from '2026-07-24 15:10:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69272 -2.674394)'), GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.674404)'))) / (select extract(epoch from '2026-07-24 15:10:16'::timestamp) - extract(epoch from '2026-07-24 15: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.692661 -2.674455)', '2026-07-24 15:10:20', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.674404)'), GeomFromEWKT('SRID=4674;POINT (-39.692661 -2.674455)'))) / (select extract(epoch from '2026-07-24 15:10:20'::timestamp) - extract(epoch from '2026-07-24 15:10:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.674404)'), GeomFromEWKT('SRID=4674;POINT (-39.692661 -2.674455)'))) / (select extract(epoch from '2026-07-24 15:10:20'::timestamp) - extract(epoch from '2026-07-24 15:10: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.692604 -2.674519)', '2026-07-24 15:10:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692661 -2.674455)'), GeomFromEWKT('SRID=4674;POINT (-39.692604 -2.674519)'))) / (select extract(epoch from '2026-07-24 15:10:25'::timestamp) - extract(epoch from '2026-07-24 15:10:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692661 -2.674455)'), GeomFromEWKT('SRID=4674;POINT (-39.692604 -2.674519)'))) / (select extract(epoch from '2026-07-24 15:10:25'::timestamp) - extract(epoch from '2026-07-24 15:10:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.69257 -2.674557)', '2026-07-24 15:10:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692604 -2.674519)'), GeomFromEWKT('SRID=4674;POINT (-39.69257 -2.674557)'))) / (select extract(epoch from '2026-07-24 15:10:28'::timestamp) - extract(epoch from '2026-07-24 15:10:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692604 -2.674519)'), GeomFromEWKT('SRID=4674;POINT (-39.69257 -2.674557)'))) / (select extract(epoch from '2026-07-24 15:10:28'::timestamp) - extract(epoch from '2026-07-24 15:10:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692546 -2.674585)', '2026-07-24 15:10:30', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69257 -2.674557)'), GeomFromEWKT('SRID=4674;POINT (-39.692546 -2.674585)'))) / (select extract(epoch from '2026-07-24 15:10:30'::timestamp) - extract(epoch from '2026-07-24 15:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69257 -2.674557)'), GeomFromEWKT('SRID=4674;POINT (-39.692546 -2.674585)'))) / (select extract(epoch from '2026-07-24 15:10:30'::timestamp) - extract(epoch from '2026-07-24 15:10: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.692481 -2.674649)', '2026-07-24 15:10:35', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692546 -2.674585)'), GeomFromEWKT('SRID=4674;POINT (-39.692481 -2.674649)'))) / (select extract(epoch from '2026-07-24 15:10:35'::timestamp) - extract(epoch from '2026-07-24 15:10:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692546 -2.674585)'), GeomFromEWKT('SRID=4674;POINT (-39.692481 -2.674649)'))) / (select extract(epoch from '2026-07-24 15:10:35'::timestamp) - extract(epoch from '2026-07-24 15:10:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692473 -2.674655)', '2026-07-24 15:10:36', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692481 -2.674649)'), GeomFromEWKT('SRID=4674;POINT (-39.692473 -2.674655)'))) / (select extract(epoch from '2026-07-24 15:10:36'::timestamp) - extract(epoch from '2026-07-24 15:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692481 -2.674649)'), GeomFromEWKT('SRID=4674;POINT (-39.692473 -2.674655)'))) / (select extract(epoch from '2026-07-24 15:10:36'::timestamp) - extract(epoch from '2026-07-24 15:10: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.692444 -2.674675)', '2026-07-24 15:10:39', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692473 -2.674655)'), GeomFromEWKT('SRID=4674;POINT (-39.692444 -2.674675)'))) / (select extract(epoch from '2026-07-24 15:10:39'::timestamp) - extract(epoch from '2026-07-24 15:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692473 -2.674655)'), GeomFromEWKT('SRID=4674;POINT (-39.692444 -2.674675)'))) / (select extract(epoch from '2026-07-24 15:10:39'::timestamp) - extract(epoch from '2026-07-24 15:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692442 -2.674681)', '2026-07-24 15:10:40', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692444 -2.674675)'), GeomFromEWKT('SRID=4674;POINT (-39.692442 -2.674681)'))) / (select extract(epoch from '2026-07-24 15:10:40'::timestamp) - extract(epoch from '2026-07-24 15:10:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692444 -2.674675)'), GeomFromEWKT('SRID=4674;POINT (-39.692442 -2.674681)'))) / (select extract(epoch from '2026-07-24 15:10:40'::timestamp) - extract(epoch from '2026-07-24 15:10: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.69245 -2.674668)', '2026-07-24 15:10:47', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692442 -2.674681)'), GeomFromEWKT('SRID=4674;POINT (-39.69245 -2.674668)'))) / (select extract(epoch from '2026-07-24 15:10:47'::timestamp) - extract(epoch from '2026-07-24 15:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692442 -2.674681)'), GeomFromEWKT('SRID=4674;POINT (-39.69245 -2.674668)'))) / (select extract(epoch from '2026-07-24 15:10:47'::timestamp) - extract(epoch from '2026-07-24 15:10: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.692445 -2.674655)', '2026-07-24 15:10:50', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69245 -2.674668)'), GeomFromEWKT('SRID=4674;POINT (-39.692445 -2.674655)'))) / (select extract(epoch from '2026-07-24 15:10:50'::timestamp) - extract(epoch from '2026-07-24 15:10:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.69245 -2.674668)'), GeomFromEWKT('SRID=4674;POINT (-39.692445 -2.674655)'))) / (select extract(epoch from '2026-07-24 15:10:50'::timestamp) - extract(epoch from '2026-07-24 15:10: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.692448 -2.674601)', '2026-07-24 15:10:58', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692445 -2.674655)'), GeomFromEWKT('SRID=4674;POINT (-39.692448 -2.674601)'))) / (select extract(epoch from '2026-07-24 15:10:58'::timestamp) - extract(epoch from '2026-07-24 15:10:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692445 -2.674655)'), GeomFromEWKT('SRID=4674;POINT (-39.692448 -2.674601)'))) / (select extract(epoch from '2026-07-24 15:10:58'::timestamp) - extract(epoch from '2026-07-24 15:10: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.692474 -2.674528)', '2026-07-24 15:11:08', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692448 -2.674601)'), GeomFromEWKT('SRID=4674;POINT (-39.692474 -2.674528)'))) / (select extract(epoch from '2026-07-24 15:11:08'::timestamp) - extract(epoch from '2026-07-24 15:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692448 -2.674601)'), GeomFromEWKT('SRID=4674;POINT (-39.692474 -2.674528)'))) / (select extract(epoch from '2026-07-24 15:11:08'::timestamp) - extract(epoch from '2026-07-24 15:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692508 -2.674491)', '2026-07-24 15:11:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692474 -2.674528)'), GeomFromEWKT('SRID=4674;POINT (-39.692508 -2.674491)'))) / (select extract(epoch from '2026-07-24 15:11:16'::timestamp) - extract(epoch from '2026-07-24 15:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692474 -2.674528)'), GeomFromEWKT('SRID=4674;POINT (-39.692508 -2.674491)'))) / (select extract(epoch from '2026-07-24 15:11:16'::timestamp) - extract(epoch from '2026-07-24 15:11: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.692564 -2.674453)', '2026-07-24 15:11:26', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692508 -2.674491)'), GeomFromEWKT('SRID=4674;POINT (-39.692564 -2.674453)'))) / (select extract(epoch from '2026-07-24 15:11:26'::timestamp) - extract(epoch from '2026-07-24 15:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692508 -2.674491)'), GeomFromEWKT('SRID=4674;POINT (-39.692564 -2.674453)'))) / (select extract(epoch from '2026-07-24 15:11:26'::timestamp) - extract(epoch from '2026-07-24 15:11: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.692602 -2.674424)', '2026-07-24 15:11:34', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692564 -2.674453)'), GeomFromEWKT('SRID=4674;POINT (-39.692602 -2.674424)'))) / (select extract(epoch from '2026-07-24 15:11:34'::timestamp) - extract(epoch from '2026-07-24 15:11:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692564 -2.674453)'), GeomFromEWKT('SRID=4674;POINT (-39.692602 -2.674424)'))) / (select extract(epoch from '2026-07-24 15:11:34'::timestamp) - extract(epoch from '2026-07-24 15:11:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692674 -2.674386)', '2026-07-24 15:11:45', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692602 -2.674424)'), GeomFromEWKT('SRID=4674;POINT (-39.692674 -2.674386)'))) / (select extract(epoch from '2026-07-24 15:11:45'::timestamp) - extract(epoch from '2026-07-24 15:11:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692602 -2.674424)'), GeomFromEWKT('SRID=4674;POINT (-39.692674 -2.674386)'))) / (select extract(epoch from '2026-07-24 15:11:45'::timestamp) - extract(epoch from '2026-07-24 15:11: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.692706 -2.67436)', '2026-07-24 15:11:54', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692674 -2.674386)'), GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.67436)'))) / (select extract(epoch from '2026-07-24 15:11:54'::timestamp) - extract(epoch from '2026-07-24 15:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692674 -2.674386)'), GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.67436)'))) / (select extract(epoch from '2026-07-24 15:11:54'::timestamp) - extract(epoch from '2026-07-24 15:11: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.692706 -2.674329)', '2026-07-24 15:12:01', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.67436)'), GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.674329)'))) / (select extract(epoch from '2026-07-24 15:12:01'::timestamp) - extract(epoch from '2026-07-24 15:11:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.67436)'), GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.674329)'))) / (select extract(epoch from '2026-07-24 15:12:01'::timestamp) - extract(epoch from '2026-07-24 15:11:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47870, 'SRID=4674;POINT (-39.692712 -2.674305)', '2026-07-24 15:12:07', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.674329)'), GeomFromEWKT('SRID=4674;POINT (-39.692712 -2.674305)'))) / (select extract(epoch from '2026-07-24 15:12:07'::timestamp) - extract(epoch from '2026-07-24 15:12:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-39.692706 -2.674329)'), GeomFromEWKT('SRID=4674;POINT (-39.692712 -2.674305)'))) / (select extract(epoch from '2026-07-24 15:12:07'::timestamp) - extract(epoch from '2026-07-24 15:12:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
