 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.339255 -2.798827)', '2026-07-24 07:44:53', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339147 -2.798775)'), GeomFromEWKT('SRID=4674;POINT (-40.339255 -2.798827)'))) / (select extract(epoch from '2026-07-24 07:44:53'::timestamp) - extract(epoch from '2026-07-24 07:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339147 -2.798775)'), GeomFromEWKT('SRID=4674;POINT (-40.339255 -2.798827)'))) / (select extract(epoch from '2026-07-24 07:44:53'::timestamp) - extract(epoch from '2026-07-24 07:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.339397 -2.798901)', '2026-07-24 07:45:02', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339255 -2.798827)'), GeomFromEWKT('SRID=4674;POINT (-40.339397 -2.798901)'))) / (select extract(epoch from '2026-07-24 07:45:02'::timestamp) - extract(epoch from '2026-07-24 07:44:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339255 -2.798827)'), GeomFromEWKT('SRID=4674;POINT (-40.339397 -2.798901)'))) / (select extract(epoch from '2026-07-24 07:45:02'::timestamp) - extract(epoch from '2026-07-24 07:44: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'), 47837, 'SRID=4674;POINT (-40.339504 -2.798966)', '2026-07-24 07:45:10', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339397 -2.798901)'), GeomFromEWKT('SRID=4674;POINT (-40.339504 -2.798966)'))) / (select extract(epoch from '2026-07-24 07:45:10'::timestamp) - extract(epoch from '2026-07-24 07:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339397 -2.798901)'), GeomFromEWKT('SRID=4674;POINT (-40.339504 -2.798966)'))) / (select extract(epoch from '2026-07-24 07:45:10'::timestamp) - extract(epoch from '2026-07-24 07:45: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'), 47837, 'SRID=4674;POINT (-40.339629 -2.799048)', '2026-07-24 07:45:18', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339504 -2.798966)'), GeomFromEWKT('SRID=4674;POINT (-40.339629 -2.799048)'))) / (select extract(epoch from '2026-07-24 07:45:18'::timestamp) - extract(epoch from '2026-07-24 07:45:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339504 -2.798966)'), GeomFromEWKT('SRID=4674;POINT (-40.339629 -2.799048)'))) / (select extract(epoch from '2026-07-24 07:45:18'::timestamp) - extract(epoch from '2026-07-24 07:45:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.3398 -2.799114)', '2026-07-24 07:45:28', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339629 -2.799048)'), GeomFromEWKT('SRID=4674;POINT (-40.3398 -2.799114)'))) / (select extract(epoch from '2026-07-24 07:45:28'::timestamp) - extract(epoch from '2026-07-24 07:45:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339629 -2.799048)'), GeomFromEWKT('SRID=4674;POINT (-40.3398 -2.799114)'))) / (select extract(epoch from '2026-07-24 07:45:28'::timestamp) - extract(epoch from '2026-07-24 07:45:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.339817 -2.799121)', '2026-07-24 07:45:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3398 -2.799114)'), GeomFromEWKT('SRID=4674;POINT (-40.339817 -2.799121)'))) / (select extract(epoch from '2026-07-24 07:45:29'::timestamp) - extract(epoch from '2026-07-24 07:45:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3398 -2.799114)'), GeomFromEWKT('SRID=4674;POINT (-40.339817 -2.799121)'))) / (select extract(epoch from '2026-07-24 07:45:29'::timestamp) - extract(epoch from '2026-07-24 07:45: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'), 47837, 'SRID=4674;POINT (-40.339943 -2.799175)', '2026-07-24 07:45:38', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339817 -2.799121)'), GeomFromEWKT('SRID=4674;POINT (-40.339943 -2.799175)'))) / (select extract(epoch from '2026-07-24 07:45:38'::timestamp) - extract(epoch from '2026-07-24 07:45:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339817 -2.799121)'), GeomFromEWKT('SRID=4674;POINT (-40.339943 -2.799175)'))) / (select extract(epoch from '2026-07-24 07:45:38'::timestamp) - extract(epoch from '2026-07-24 07:45: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'), 47837, 'SRID=4674;POINT (-40.340077 -2.799222)', '2026-07-24 07:45:47', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339943 -2.799175)'), GeomFromEWKT('SRID=4674;POINT (-40.340077 -2.799222)'))) / (select extract(epoch from '2026-07-24 07:45:47'::timestamp) - extract(epoch from '2026-07-24 07:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339943 -2.799175)'), GeomFromEWKT('SRID=4674;POINT (-40.340077 -2.799222)'))) / (select extract(epoch from '2026-07-24 07:45:47'::timestamp) - extract(epoch from '2026-07-24 07:45: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'), 47837, 'SRID=4674;POINT (-40.34022 -2.799261)', '2026-07-24 07:45:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340077 -2.799222)'), GeomFromEWKT('SRID=4674;POINT (-40.34022 -2.799261)'))) / (select extract(epoch from '2026-07-24 07:45:56'::timestamp) - extract(epoch from '2026-07-24 07:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340077 -2.799222)'), GeomFromEWKT('SRID=4674;POINT (-40.34022 -2.799261)'))) / (select extract(epoch from '2026-07-24 07:45:56'::timestamp) - extract(epoch from '2026-07-24 07:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.340395 -2.799316)', '2026-07-24 07:46:06', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34022 -2.799261)'), GeomFromEWKT('SRID=4674;POINT (-40.340395 -2.799316)'))) / (select extract(epoch from '2026-07-24 07:46:06'::timestamp) - extract(epoch from '2026-07-24 07:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34022 -2.799261)'), GeomFromEWKT('SRID=4674;POINT (-40.340395 -2.799316)'))) / (select extract(epoch from '2026-07-24 07:46:06'::timestamp) - extract(epoch from '2026-07-24 07:45: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'), 47837, 'SRID=4674;POINT (-40.340518 -2.799374)', '2026-07-24 07:46:14', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340395 -2.799316)'), GeomFromEWKT('SRID=4674;POINT (-40.340518 -2.799374)'))) / (select extract(epoch from '2026-07-24 07:46:14'::timestamp) - extract(epoch from '2026-07-24 07:46:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340395 -2.799316)'), GeomFromEWKT('SRID=4674;POINT (-40.340518 -2.799374)'))) / (select extract(epoch from '2026-07-24 07:46:14'::timestamp) - extract(epoch from '2026-07-24 07:46:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.34064 -2.799419)', '2026-07-24 07:46:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340518 -2.799374)'), GeomFromEWKT('SRID=4674;POINT (-40.34064 -2.799419)'))) / (select extract(epoch from '2026-07-24 07:46:22'::timestamp) - extract(epoch from '2026-07-24 07:46:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340518 -2.799374)'), GeomFromEWKT('SRID=4674;POINT (-40.34064 -2.799419)'))) / (select extract(epoch from '2026-07-24 07:46:22'::timestamp) - extract(epoch from '2026-07-24 07:46: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'), 47837, 'SRID=4674;POINT (-40.34076 -2.799469)', '2026-07-24 07:46:29', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34064 -2.799419)'), GeomFromEWKT('SRID=4674;POINT (-40.34076 -2.799469)'))) / (select extract(epoch from '2026-07-24 07:46:29'::timestamp) - extract(epoch from '2026-07-24 07:46:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34064 -2.799419)'), GeomFromEWKT('SRID=4674;POINT (-40.34076 -2.799469)'))) / (select extract(epoch from '2026-07-24 07:46:29'::timestamp) - extract(epoch from '2026-07-24 07:46: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'), 47837, 'SRID=4674;POINT (-40.340866 -2.799519)', '2026-07-24 07:46:37', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34076 -2.799469)'), GeomFromEWKT('SRID=4674;POINT (-40.340866 -2.799519)'))) / (select extract(epoch from '2026-07-24 07:46:37'::timestamp) - extract(epoch from '2026-07-24 07:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34076 -2.799469)'), GeomFromEWKT('SRID=4674;POINT (-40.340866 -2.799519)'))) / (select extract(epoch from '2026-07-24 07:46:37'::timestamp) - extract(epoch from '2026-07-24 07:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.340993 -2.799583)', '2026-07-24 07:46:46', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340866 -2.799519)'), GeomFromEWKT('SRID=4674;POINT (-40.340993 -2.799583)'))) / (select extract(epoch from '2026-07-24 07:46:46'::timestamp) - extract(epoch from '2026-07-24 07:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340866 -2.799519)'), GeomFromEWKT('SRID=4674;POINT (-40.340993 -2.799583)'))) / (select extract(epoch from '2026-07-24 07:46:46'::timestamp) - extract(epoch from '2026-07-24 07:46: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'), 47837, 'SRID=4674;POINT (-40.34109 -2.799628)', '2026-07-24 07:46:53', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340993 -2.799583)'), GeomFromEWKT('SRID=4674;POINT (-40.34109 -2.799628)'))) / (select extract(epoch from '2026-07-24 07:46:53'::timestamp) - extract(epoch from '2026-07-24 07:46:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340993 -2.799583)'), GeomFromEWKT('SRID=4674;POINT (-40.34109 -2.799628)'))) / (select extract(epoch from '2026-07-24 07:46:53'::timestamp) - extract(epoch from '2026-07-24 07:46:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.341193 -2.79967)', '2026-07-24 07:47:01', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34109 -2.799628)'), GeomFromEWKT('SRID=4674;POINT (-40.341193 -2.79967)'))) / (select extract(epoch from '2026-07-24 07:47:01'::timestamp) - extract(epoch from '2026-07-24 07:46:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34109 -2.799628)'), GeomFromEWKT('SRID=4674;POINT (-40.341193 -2.79967)'))) / (select extract(epoch from '2026-07-24 07:47:01'::timestamp) - extract(epoch from '2026-07-24 07:46:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.341312 -2.799742)', '2026-07-24 07:47:09', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341193 -2.79967)'), GeomFromEWKT('SRID=4674;POINT (-40.341312 -2.799742)'))) / (select extract(epoch from '2026-07-24 07:47:09'::timestamp) - extract(epoch from '2026-07-24 07:47:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341193 -2.79967)'), GeomFromEWKT('SRID=4674;POINT (-40.341312 -2.799742)'))) / (select extract(epoch from '2026-07-24 07:47:09'::timestamp) - extract(epoch from '2026-07-24 07:47: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'), 47837, 'SRID=4674;POINT (-40.341424 -2.79981)', '2026-07-24 07:47:17', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341312 -2.799742)'), GeomFromEWKT('SRID=4674;POINT (-40.341424 -2.79981)'))) / (select extract(epoch from '2026-07-24 07:47:17'::timestamp) - extract(epoch from '2026-07-24 07:47:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341312 -2.799742)'), GeomFromEWKT('SRID=4674;POINT (-40.341424 -2.79981)'))) / (select extract(epoch from '2026-07-24 07:47:17'::timestamp) - extract(epoch from '2026-07-24 07:47: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'), 47837, 'SRID=4674;POINT (-40.341529 -2.799847)', '2026-07-24 07:47:26', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341424 -2.79981)'), GeomFromEWKT('SRID=4674;POINT (-40.341529 -2.799847)'))) / (select extract(epoch from '2026-07-24 07:47:26'::timestamp) - extract(epoch from '2026-07-24 07:47:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341424 -2.79981)'), GeomFromEWKT('SRID=4674;POINT (-40.341529 -2.799847)'))) / (select extract(epoch from '2026-07-24 07:47:26'::timestamp) - extract(epoch from '2026-07-24 07:47:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.341645 -2.799906)', '2026-07-24 07:47:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341529 -2.799847)'), GeomFromEWKT('SRID=4674;POINT (-40.341645 -2.799906)'))) / (select extract(epoch from '2026-07-24 07:47:33'::timestamp) - extract(epoch from '2026-07-24 07:47:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341529 -2.799847)'), GeomFromEWKT('SRID=4674;POINT (-40.341645 -2.799906)'))) / (select extract(epoch from '2026-07-24 07:47:33'::timestamp) - extract(epoch from '2026-07-24 07:47:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.341749 -2.799964)', '2026-07-24 07:47:39', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341645 -2.799906)'), GeomFromEWKT('SRID=4674;POINT (-40.341749 -2.799964)'))) / (select extract(epoch from '2026-07-24 07:47:39'::timestamp) - extract(epoch from '2026-07-24 07:47:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341645 -2.799906)'), GeomFromEWKT('SRID=4674;POINT (-40.341749 -2.799964)'))) / (select extract(epoch from '2026-07-24 07:47:39'::timestamp) - extract(epoch from '2026-07-24 07:47: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'), 47837, 'SRID=4674;POINT (-40.341847 -2.800032)', '2026-07-24 07:47:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341749 -2.799964)'), GeomFromEWKT('SRID=4674;POINT (-40.341847 -2.800032)'))) / (select extract(epoch from '2026-07-24 07:47:46'::timestamp) - extract(epoch from '2026-07-24 07:47:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341749 -2.799964)'), GeomFromEWKT('SRID=4674;POINT (-40.341847 -2.800032)'))) / (select extract(epoch from '2026-07-24 07:47:46'::timestamp) - extract(epoch from '2026-07-24 07:47:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.34199 -2.800084)', '2026-07-24 07:47:54', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341847 -2.800032)'), GeomFromEWKT('SRID=4674;POINT (-40.34199 -2.800084)'))) / (select extract(epoch from '2026-07-24 07:47:54'::timestamp) - extract(epoch from '2026-07-24 07:47:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341847 -2.800032)'), GeomFromEWKT('SRID=4674;POINT (-40.34199 -2.800084)'))) / (select extract(epoch from '2026-07-24 07:47:54'::timestamp) - extract(epoch from '2026-07-24 07:47:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.342118 -2.800162)', '2026-07-24 07:48:02', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34199 -2.800084)'), GeomFromEWKT('SRID=4674;POINT (-40.342118 -2.800162)'))) / (select extract(epoch from '2026-07-24 07:48:02'::timestamp) - extract(epoch from '2026-07-24 07:47:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34199 -2.800084)'), GeomFromEWKT('SRID=4674;POINT (-40.342118 -2.800162)'))) / (select extract(epoch from '2026-07-24 07:48:02'::timestamp) - extract(epoch from '2026-07-24 07:47:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.342257 -2.800253)', '2026-07-24 07:48:11', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342118 -2.800162)'), GeomFromEWKT('SRID=4674;POINT (-40.342257 -2.800253)'))) / (select extract(epoch from '2026-07-24 07:48:11'::timestamp) - extract(epoch from '2026-07-24 07:48:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342118 -2.800162)'), GeomFromEWKT('SRID=4674;POINT (-40.342257 -2.800253)'))) / (select extract(epoch from '2026-07-24 07:48:11'::timestamp) - extract(epoch from '2026-07-24 07:48:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.342361 -2.800317)', '2026-07-24 07:48:20', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342257 -2.800253)'), GeomFromEWKT('SRID=4674;POINT (-40.342361 -2.800317)'))) / (select extract(epoch from '2026-07-24 07:48:20'::timestamp) - extract(epoch from '2026-07-24 07:48:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342257 -2.800253)'), GeomFromEWKT('SRID=4674;POINT (-40.342361 -2.800317)'))) / (select extract(epoch from '2026-07-24 07:48:20'::timestamp) - extract(epoch from '2026-07-24 07:48: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'), 47837, 'SRID=4674;POINT (-40.342471 -2.80038)', '2026-07-24 07:48:29', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342361 -2.800317)'), GeomFromEWKT('SRID=4674;POINT (-40.342471 -2.80038)'))) / (select extract(epoch from '2026-07-24 07:48:29'::timestamp) - extract(epoch from '2026-07-24 07:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342361 -2.800317)'), GeomFromEWKT('SRID=4674;POINT (-40.342471 -2.80038)'))) / (select extract(epoch from '2026-07-24 07:48:29'::timestamp) - extract(epoch from '2026-07-24 07:48: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'), 47837, 'SRID=4674;POINT (-40.342583 -2.800422)', '2026-07-24 07:48:36', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342471 -2.80038)'), GeomFromEWKT('SRID=4674;POINT (-40.342583 -2.800422)'))) / (select extract(epoch from '2026-07-24 07:48:36'::timestamp) - extract(epoch from '2026-07-24 07:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342471 -2.80038)'), GeomFromEWKT('SRID=4674;POINT (-40.342583 -2.800422)'))) / (select extract(epoch from '2026-07-24 07:48:36'::timestamp) - extract(epoch from '2026-07-24 07:48:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.342722 -2.800478)', '2026-07-24 07:48:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342583 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.342722 -2.800478)'))) / (select extract(epoch from '2026-07-24 07:48:44'::timestamp) - extract(epoch from '2026-07-24 07:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342583 -2.800422)'), GeomFromEWKT('SRID=4674;POINT (-40.342722 -2.800478)'))) / (select extract(epoch from '2026-07-24 07:48:44'::timestamp) - extract(epoch from '2026-07-24 07:48: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'), 47837, 'SRID=4674;POINT (-40.342868 -2.800535)', '2026-07-24 07:48:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342722 -2.800478)'), GeomFromEWKT('SRID=4674;POINT (-40.342868 -2.800535)'))) / (select extract(epoch from '2026-07-24 07:48:52'::timestamp) - extract(epoch from '2026-07-24 07:48:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342722 -2.800478)'), GeomFromEWKT('SRID=4674;POINT (-40.342868 -2.800535)'))) / (select extract(epoch from '2026-07-24 07:48:52'::timestamp) - extract(epoch from '2026-07-24 07:48: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'), 47837, 'SRID=4674;POINT (-40.343004 -2.800584)', '2026-07-24 07:49:00', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342868 -2.800535)'), GeomFromEWKT('SRID=4674;POINT (-40.343004 -2.800584)'))) / (select extract(epoch from '2026-07-24 07:49:00'::timestamp) - extract(epoch from '2026-07-24 07:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342868 -2.800535)'), GeomFromEWKT('SRID=4674;POINT (-40.343004 -2.800584)'))) / (select extract(epoch from '2026-07-24 07:49:00'::timestamp) - extract(epoch from '2026-07-24 07:48:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.34318 -2.800672)', '2026-07-24 07:49:10', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343004 -2.800584)'), GeomFromEWKT('SRID=4674;POINT (-40.34318 -2.800672)'))) / (select extract(epoch from '2026-07-24 07:49:10'::timestamp) - extract(epoch from '2026-07-24 07:49:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343004 -2.800584)'), GeomFromEWKT('SRID=4674;POINT (-40.34318 -2.800672)'))) / (select extract(epoch from '2026-07-24 07:49:10'::timestamp) - extract(epoch from '2026-07-24 07:49: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'), 47837, 'SRID=4674;POINT (-40.343322 -2.800737)', '2026-07-24 07:49:18', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34318 -2.800672)'), GeomFromEWKT('SRID=4674;POINT (-40.343322 -2.800737)'))) / (select extract(epoch from '2026-07-24 07:49:18'::timestamp) - extract(epoch from '2026-07-24 07:49:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34318 -2.800672)'), GeomFromEWKT('SRID=4674;POINT (-40.343322 -2.800737)'))) / (select extract(epoch from '2026-07-24 07:49:18'::timestamp) - extract(epoch from '2026-07-24 07:49:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.343478 -2.800819)', '2026-07-24 07:49:28', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343322 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.343478 -2.800819)'))) / (select extract(epoch from '2026-07-24 07:49:28'::timestamp) - extract(epoch from '2026-07-24 07:49:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343322 -2.800737)'), GeomFromEWKT('SRID=4674;POINT (-40.343478 -2.800819)'))) / (select extract(epoch from '2026-07-24 07:49:28'::timestamp) - extract(epoch from '2026-07-24 07:49:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.343583 -2.800897)', '2026-07-24 07:49:36', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343478 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.343583 -2.800897)'))) / (select extract(epoch from '2026-07-24 07:49:36'::timestamp) - extract(epoch from '2026-07-24 07:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343478 -2.800819)'), GeomFromEWKT('SRID=4674;POINT (-40.343583 -2.800897)'))) / (select extract(epoch from '2026-07-24 07:49:36'::timestamp) - extract(epoch from '2026-07-24 07:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.343728 -2.800956)', '2026-07-24 07:49:45', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343583 -2.800897)'), GeomFromEWKT('SRID=4674;POINT (-40.343728 -2.800956)'))) / (select extract(epoch from '2026-07-24 07:49:45'::timestamp) - extract(epoch from '2026-07-24 07:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343583 -2.800897)'), GeomFromEWKT('SRID=4674;POINT (-40.343728 -2.800956)'))) / (select extract(epoch from '2026-07-24 07:49:45'::timestamp) - extract(epoch from '2026-07-24 07:49: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'), 47837, 'SRID=4674;POINT (-40.34383 -2.800998)', '2026-07-24 07:49:51', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343728 -2.800956)'), GeomFromEWKT('SRID=4674;POINT (-40.34383 -2.800998)'))) / (select extract(epoch from '2026-07-24 07:49:51'::timestamp) - extract(epoch from '2026-07-24 07:49:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343728 -2.800956)'), GeomFromEWKT('SRID=4674;POINT (-40.34383 -2.800998)'))) / (select extract(epoch from '2026-07-24 07:49:51'::timestamp) - extract(epoch from '2026-07-24 07:49:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.343952 -2.801062)', '2026-07-24 07:50:00', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34383 -2.800998)'), GeomFromEWKT('SRID=4674;POINT (-40.343952 -2.801062)'))) / (select extract(epoch from '2026-07-24 07:50:00'::timestamp) - extract(epoch from '2026-07-24 07:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34383 -2.800998)'), GeomFromEWKT('SRID=4674;POINT (-40.343952 -2.801062)'))) / (select extract(epoch from '2026-07-24 07:50:00'::timestamp) - extract(epoch from '2026-07-24 07: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'), 47837, 'SRID=4674;POINT (-40.344067 -2.801133)', '2026-07-24 07:50:09', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343952 -2.801062)'), GeomFromEWKT('SRID=4674;POINT (-40.344067 -2.801133)'))) / (select extract(epoch from '2026-07-24 07:50:09'::timestamp) - extract(epoch from '2026-07-24 07:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343952 -2.801062)'), GeomFromEWKT('SRID=4674;POINT (-40.344067 -2.801133)'))) / (select extract(epoch from '2026-07-24 07:50:09'::timestamp) - extract(epoch from '2026-07-24 07:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.344175 -2.801198)', '2026-07-24 07:50:19', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344067 -2.801133)'), GeomFromEWKT('SRID=4674;POINT (-40.344175 -2.801198)'))) / (select extract(epoch from '2026-07-24 07:50:19'::timestamp) - extract(epoch from '2026-07-24 07:50:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344067 -2.801133)'), GeomFromEWKT('SRID=4674;POINT (-40.344175 -2.801198)'))) / (select extract(epoch from '2026-07-24 07:50:19'::timestamp) - extract(epoch from '2026-07-24 07:50:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.344281 -2.801236)', '2026-07-24 07:50:27', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344175 -2.801198)'), GeomFromEWKT('SRID=4674;POINT (-40.344281 -2.801236)'))) / (select extract(epoch from '2026-07-24 07:50:27'::timestamp) - extract(epoch from '2026-07-24 07:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344175 -2.801198)'), GeomFromEWKT('SRID=4674;POINT (-40.344281 -2.801236)'))) / (select extract(epoch from '2026-07-24 07:50:27'::timestamp) - extract(epoch from '2026-07-24 07:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.344362 -2.801304)', '2026-07-24 07:50:34', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344281 -2.801236)'), GeomFromEWKT('SRID=4674;POINT (-40.344362 -2.801304)'))) / (select extract(epoch from '2026-07-24 07:50:34'::timestamp) - extract(epoch from '2026-07-24 07:50:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344281 -2.801236)'), GeomFromEWKT('SRID=4674;POINT (-40.344362 -2.801304)'))) / (select extract(epoch from '2026-07-24 07:50:34'::timestamp) - extract(epoch from '2026-07-24 07:50: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'), 47837, 'SRID=4674;POINT (-40.344475 -2.80139)', '2026-07-24 07:50:42', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344362 -2.801304)'), GeomFromEWKT('SRID=4674;POINT (-40.344475 -2.80139)'))) / (select extract(epoch from '2026-07-24 07:50:42'::timestamp) - extract(epoch from '2026-07-24 07:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344362 -2.801304)'), GeomFromEWKT('SRID=4674;POINT (-40.344475 -2.80139)'))) / (select extract(epoch from '2026-07-24 07:50:42'::timestamp) - extract(epoch from '2026-07-24 07:50:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.344621 -2.801471)', '2026-07-24 07:50:51', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344475 -2.80139)'), GeomFromEWKT('SRID=4674;POINT (-40.344621 -2.801471)'))) / (select extract(epoch from '2026-07-24 07:50:51'::timestamp) - extract(epoch from '2026-07-24 07:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344475 -2.80139)'), GeomFromEWKT('SRID=4674;POINT (-40.344621 -2.801471)'))) / (select extract(epoch from '2026-07-24 07:50:51'::timestamp) - extract(epoch from '2026-07-24 07:50: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'), 47837, 'SRID=4674;POINT (-40.344721 -2.801528)', '2026-07-24 07:50:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344621 -2.801471)'), GeomFromEWKT('SRID=4674;POINT (-40.344721 -2.801528)'))) / (select extract(epoch from '2026-07-24 07:50:59'::timestamp) - extract(epoch from '2026-07-24 07:50:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344621 -2.801471)'), GeomFromEWKT('SRID=4674;POINT (-40.344721 -2.801528)'))) / (select extract(epoch from '2026-07-24 07:50:59'::timestamp) - extract(epoch from '2026-07-24 07:50: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'), 47837, 'SRID=4674;POINT (-40.344828 -2.80158)', '2026-07-24 07:51:06', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344721 -2.801528)'), GeomFromEWKT('SRID=4674;POINT (-40.344828 -2.80158)'))) / (select extract(epoch from '2026-07-24 07:51:06'::timestamp) - extract(epoch from '2026-07-24 07:50:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344721 -2.801528)'), GeomFromEWKT('SRID=4674;POINT (-40.344828 -2.80158)'))) / (select extract(epoch from '2026-07-24 07:51:06'::timestamp) - extract(epoch from '2026-07-24 07: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'), 47837, 'SRID=4674;POINT (-40.344945 -2.801627)', '2026-07-24 07:51:13', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344828 -2.80158)'), GeomFromEWKT('SRID=4674;POINT (-40.344945 -2.801627)'))) / (select extract(epoch from '2026-07-24 07:51:13'::timestamp) - extract(epoch from '2026-07-24 07:51:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344828 -2.80158)'), GeomFromEWKT('SRID=4674;POINT (-40.344945 -2.801627)'))) / (select extract(epoch from '2026-07-24 07:51:13'::timestamp) - extract(epoch from '2026-07-24 07:51:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.344988 -2.801641)', '2026-07-24 07:51:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344945 -2.801627)'), GeomFromEWKT('SRID=4674;POINT (-40.344988 -2.801641)'))) / (select extract(epoch from '2026-07-24 07:51:16'::timestamp) - extract(epoch from '2026-07-24 07:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344945 -2.801627)'), GeomFromEWKT('SRID=4674;POINT (-40.344988 -2.801641)'))) / (select extract(epoch from '2026-07-24 07:51:16'::timestamp) - extract(epoch from '2026-07-24 07:51:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.3095 -2.79497)', '2026-07-25 07:53:58', 17.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344988 -2.801641)'), GeomFromEWKT('SRID=4674;POINT (-40.3095 -2.79497)'))) / (select extract(epoch from '2026-07-25 07:53:58'::timestamp) - extract(epoch from '2026-07-24 07:51:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344988 -2.801641)'), GeomFromEWKT('SRID=4674;POINT (-40.3095 -2.79497)'))) / (select extract(epoch from '2026-07-25 07:53:58'::timestamp) - extract(epoch from '2026-07-24 07:51: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'), 47837, 'SRID=4674;POINT (-40.309529 -2.794972)', '2026-07-25 07:53:59', 16.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3095 -2.79497)'), GeomFromEWKT('SRID=4674;POINT (-40.309529 -2.794972)'))) / (select extract(epoch from '2026-07-25 07:53:59'::timestamp) - extract(epoch from '2026-07-25 07:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3095 -2.79497)'), GeomFromEWKT('SRID=4674;POINT (-40.309529 -2.794972)'))) / (select extract(epoch from '2026-07-25 07:53:59'::timestamp) - extract(epoch from '2026-07-25 07:53: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'), 47837, 'SRID=4674;POINT (-40.309678 -2.795045)', '2026-07-25 07:54:06', 14, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309529 -2.794972)'), GeomFromEWKT('SRID=4674;POINT (-40.309678 -2.795045)'))) / (select extract(epoch from '2026-07-25 07:54:06'::timestamp) - extract(epoch from '2026-07-25 07:53:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309529 -2.794972)'), GeomFromEWKT('SRID=4674;POINT (-40.309678 -2.795045)'))) / (select extract(epoch from '2026-07-25 07:54:06'::timestamp) - extract(epoch from '2026-07-25 07:53: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'), 47837, 'SRID=4674;POINT (-40.309738 -2.795042)', '2026-07-25 07:54:08', 15.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309678 -2.795045)'), GeomFromEWKT('SRID=4674;POINT (-40.309738 -2.795042)'))) / (select extract(epoch from '2026-07-25 07:54:08'::timestamp) - extract(epoch from '2026-07-25 07:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309678 -2.795045)'), GeomFromEWKT('SRID=4674;POINT (-40.309738 -2.795042)'))) / (select extract(epoch from '2026-07-25 07:54:08'::timestamp) - extract(epoch from '2026-07-25 07:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.309912 -2.795055)', '2026-07-25 07:54:16', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309738 -2.795042)'), GeomFromEWKT('SRID=4674;POINT (-40.309912 -2.795055)'))) / (select extract(epoch from '2026-07-25 07:54:16'::timestamp) - extract(epoch from '2026-07-25 07:54:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309738 -2.795042)'), GeomFromEWKT('SRID=4674;POINT (-40.309912 -2.795055)'))) / (select extract(epoch from '2026-07-25 07:54:16'::timestamp) - extract(epoch from '2026-07-25 07:54:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.310135 -2.795017)', '2026-07-25 07:54:25', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309912 -2.795055)'), GeomFromEWKT('SRID=4674;POINT (-40.310135 -2.795017)'))) / (select extract(epoch from '2026-07-25 07:54:25'::timestamp) - extract(epoch from '2026-07-25 07:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.309912 -2.795055)'), GeomFromEWKT('SRID=4674;POINT (-40.310135 -2.795017)'))) / (select extract(epoch from '2026-07-25 07:54:25'::timestamp) - extract(epoch from '2026-07-25 07:54: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'), 47837, 'SRID=4674;POINT (-40.310317 -2.794996)', '2026-07-25 07:54:31', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310135 -2.795017)'), GeomFromEWKT('SRID=4674;POINT (-40.310317 -2.794996)'))) / (select extract(epoch from '2026-07-25 07:54:31'::timestamp) - extract(epoch from '2026-07-25 07:54:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310135 -2.795017)'), GeomFromEWKT('SRID=4674;POINT (-40.310317 -2.794996)'))) / (select extract(epoch from '2026-07-25 07:54:31'::timestamp) - extract(epoch from '2026-07-25 07:54: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'), 47837, 'SRID=4674;POINT (-40.310432 -2.794967)', '2026-07-25 07:54:35', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310317 -2.794996)'), GeomFromEWKT('SRID=4674;POINT (-40.310432 -2.794967)'))) / (select extract(epoch from '2026-07-25 07:54:35'::timestamp) - extract(epoch from '2026-07-25 07:54:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310317 -2.794996)'), GeomFromEWKT('SRID=4674;POINT (-40.310432 -2.794967)'))) / (select extract(epoch from '2026-07-25 07:54:35'::timestamp) - extract(epoch from '2026-07-25 07:54: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'), 47837, 'SRID=4674;POINT (-40.31062 -2.794946)', '2026-07-25 07:54:42', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310432 -2.794967)'), GeomFromEWKT('SRID=4674;POINT (-40.31062 -2.794946)'))) / (select extract(epoch from '2026-07-25 07:54:42'::timestamp) - extract(epoch from '2026-07-25 07:54:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310432 -2.794967)'), GeomFromEWKT('SRID=4674;POINT (-40.31062 -2.794946)'))) / (select extract(epoch from '2026-07-25 07:54:42'::timestamp) - extract(epoch from '2026-07-25 07:54: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'), 47837, 'SRID=4674;POINT (-40.31071 -2.794913)', '2026-07-25 07:54:45', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31062 -2.794946)'), GeomFromEWKT('SRID=4674;POINT (-40.31071 -2.794913)'))) / (select extract(epoch from '2026-07-25 07:54:45'::timestamp) - extract(epoch from '2026-07-25 07:54:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31062 -2.794946)'), GeomFromEWKT('SRID=4674;POINT (-40.31071 -2.794913)'))) / (select extract(epoch from '2026-07-25 07:54:45'::timestamp) - extract(epoch from '2026-07-25 07:54: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'), 47837, 'SRID=4674;POINT (-40.310893 -2.794873)', '2026-07-25 07:54:51', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31071 -2.794913)'), GeomFromEWKT('SRID=4674;POINT (-40.310893 -2.794873)'))) / (select extract(epoch from '2026-07-25 07:54:51'::timestamp) - extract(epoch from '2026-07-25 07:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31071 -2.794913)'), GeomFromEWKT('SRID=4674;POINT (-40.310893 -2.794873)'))) / (select extract(epoch from '2026-07-25 07:54:51'::timestamp) - extract(epoch from '2026-07-25 07:54: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'), 47837, 'SRID=4674;POINT (-40.310969 -2.794863)', '2026-07-25 07:54:54', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310893 -2.794873)'), GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.794863)'))) / (select extract(epoch from '2026-07-25 07:54:54'::timestamp) - extract(epoch from '2026-07-25 07:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310893 -2.794873)'), GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.794863)'))) / (select extract(epoch from '2026-07-25 07:54:54'::timestamp) - extract(epoch from '2026-07-25 07:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31116 -2.79485)', '2026-07-25 07:55:01', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.794863)'), GeomFromEWKT('SRID=4674;POINT (-40.31116 -2.79485)'))) / (select extract(epoch from '2026-07-25 07:55:01'::timestamp) - extract(epoch from '2026-07-25 07:54:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.310969 -2.794863)'), GeomFromEWKT('SRID=4674;POINT (-40.31116 -2.79485)'))) / (select extract(epoch from '2026-07-25 07:55:01'::timestamp) - extract(epoch from '2026-07-25 07:54: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'), 47837, 'SRID=4674;POINT (-40.311212 -2.794849)', '2026-07-25 07:55:03', 11.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31116 -2.79485)'), GeomFromEWKT('SRID=4674;POINT (-40.311212 -2.794849)'))) / (select extract(epoch from '2026-07-25 07:55:03'::timestamp) - extract(epoch from '2026-07-25 07:55:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31116 -2.79485)'), GeomFromEWKT('SRID=4674;POINT (-40.311212 -2.794849)'))) / (select extract(epoch from '2026-07-25 07:55:03'::timestamp) - extract(epoch from '2026-07-25 07:55: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'), 47837, 'SRID=4674;POINT (-40.311392 -2.794853)', '2026-07-25 07:55:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311212 -2.794849)'), GeomFromEWKT('SRID=4674;POINT (-40.311392 -2.794853)'))) / (select extract(epoch from '2026-07-25 07:55:10'::timestamp) - extract(epoch from '2026-07-25 07:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311212 -2.794849)'), GeomFromEWKT('SRID=4674;POINT (-40.311392 -2.794853)'))) / (select extract(epoch from '2026-07-25 07:55:10'::timestamp) - extract(epoch from '2026-07-25 07:55: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'), 47837, 'SRID=4674;POINT (-40.311448 -2.794852)', '2026-07-25 07:55:12', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311392 -2.794853)'), GeomFromEWKT('SRID=4674;POINT (-40.311448 -2.794852)'))) / (select extract(epoch from '2026-07-25 07:55:12'::timestamp) - extract(epoch from '2026-07-25 07:55:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311392 -2.794853)'), GeomFromEWKT('SRID=4674;POINT (-40.311448 -2.794852)'))) / (select extract(epoch from '2026-07-25 07:55:12'::timestamp) - extract(epoch from '2026-07-25 07:55: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'), 47837, 'SRID=4674;POINT (-40.311637 -2.794845)', '2026-07-25 07:55:19', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311448 -2.794852)'), GeomFromEWKT('SRID=4674;POINT (-40.311637 -2.794845)'))) / (select extract(epoch from '2026-07-25 07:55:19'::timestamp) - extract(epoch from '2026-07-25 07:55:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311448 -2.794852)'), GeomFromEWKT('SRID=4674;POINT (-40.311637 -2.794845)'))) / (select extract(epoch from '2026-07-25 07:55:19'::timestamp) - extract(epoch from '2026-07-25 07:55: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'), 47837, 'SRID=4674;POINT (-40.311714 -2.79484)', '2026-07-25 07:55:22', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311637 -2.794845)'), GeomFromEWKT('SRID=4674;POINT (-40.311714 -2.79484)'))) / (select extract(epoch from '2026-07-25 07:55:22'::timestamp) - extract(epoch from '2026-07-25 07:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311637 -2.794845)'), GeomFromEWKT('SRID=4674;POINT (-40.311714 -2.79484)'))) / (select extract(epoch from '2026-07-25 07:55:22'::timestamp) - extract(epoch from '2026-07-25 07:55: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'), 47837, 'SRID=4674;POINT (-40.311916 -2.794829)', '2026-07-25 07:55:30', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311714 -2.79484)'), GeomFromEWKT('SRID=4674;POINT (-40.311916 -2.794829)'))) / (select extract(epoch from '2026-07-25 07:55:30'::timestamp) - extract(epoch from '2026-07-25 07:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311714 -2.79484)'), GeomFromEWKT('SRID=4674;POINT (-40.311916 -2.794829)'))) / (select extract(epoch from '2026-07-25 07:55:30'::timestamp) - extract(epoch from '2026-07-25 07:55: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'), 47837, 'SRID=4674;POINT (-40.311941 -2.794826)', '2026-07-25 07:55:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311916 -2.794829)'), GeomFromEWKT('SRID=4674;POINT (-40.311941 -2.794826)'))) / (select extract(epoch from '2026-07-25 07:55:31'::timestamp) - extract(epoch from '2026-07-25 07:55:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311916 -2.794829)'), GeomFromEWKT('SRID=4674;POINT (-40.311941 -2.794826)'))) / (select extract(epoch from '2026-07-25 07:55:31'::timestamp) - extract(epoch from '2026-07-25 07:55: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'), 47837, 'SRID=4674;POINT (-40.312144 -2.79479)', '2026-07-25 07:55:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311941 -2.794826)'), GeomFromEWKT('SRID=4674;POINT (-40.312144 -2.79479)'))) / (select extract(epoch from '2026-07-25 07:55:39'::timestamp) - extract(epoch from '2026-07-25 07:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.311941 -2.794826)'), GeomFromEWKT('SRID=4674;POINT (-40.312144 -2.79479)'))) / (select extract(epoch from '2026-07-25 07:55:39'::timestamp) - extract(epoch from '2026-07-25 07:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.312172 -2.79479)', '2026-07-25 07:55:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312144 -2.79479)'), GeomFromEWKT('SRID=4674;POINT (-40.312172 -2.79479)'))) / (select extract(epoch from '2026-07-25 07:55:40'::timestamp) - extract(epoch from '2026-07-25 07:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312144 -2.79479)'), GeomFromEWKT('SRID=4674;POINT (-40.312172 -2.79479)'))) / (select extract(epoch from '2026-07-25 07:55:40'::timestamp) - extract(epoch from '2026-07-25 07: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'), 47837, 'SRID=4674;POINT (-40.312362 -2.79477)', '2026-07-25 07:55:47', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312172 -2.79479)'), GeomFromEWKT('SRID=4674;POINT (-40.312362 -2.79477)'))) / (select extract(epoch from '2026-07-25 07:55:47'::timestamp) - extract(epoch from '2026-07-25 07:55:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312172 -2.79479)'), GeomFromEWKT('SRID=4674;POINT (-40.312362 -2.79477)'))) / (select extract(epoch from '2026-07-25 07:55:47'::timestamp) - extract(epoch from '2026-07-25 07:55: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'), 47837, 'SRID=4674;POINT (-40.312389 -2.794766)', '2026-07-25 07:55:48', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312362 -2.79477)'), GeomFromEWKT('SRID=4674;POINT (-40.312389 -2.794766)'))) / (select extract(epoch from '2026-07-25 07:55:48'::timestamp) - extract(epoch from '2026-07-25 07:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312362 -2.79477)'), GeomFromEWKT('SRID=4674;POINT (-40.312389 -2.794766)'))) / (select extract(epoch from '2026-07-25 07:55:48'::timestamp) - extract(epoch from '2026-07-25 07:55: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'), 47837, 'SRID=4674;POINT (-40.312574 -2.794733)', '2026-07-25 07:55:55', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312389 -2.794766)'), GeomFromEWKT('SRID=4674;POINT (-40.312574 -2.794733)'))) / (select extract(epoch from '2026-07-25 07:55:55'::timestamp) - extract(epoch from '2026-07-25 07:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312389 -2.794766)'), GeomFromEWKT('SRID=4674;POINT (-40.312574 -2.794733)'))) / (select extract(epoch from '2026-07-25 07:55:55'::timestamp) - extract(epoch from '2026-07-25 07: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'), 47837, 'SRID=4674;POINT (-40.3126 -2.794732)', '2026-07-25 07:55:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312574 -2.794733)'), GeomFromEWKT('SRID=4674;POINT (-40.3126 -2.794732)'))) / (select extract(epoch from '2026-07-25 07:55:56'::timestamp) - extract(epoch from '2026-07-25 07:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312574 -2.794733)'), GeomFromEWKT('SRID=4674;POINT (-40.3126 -2.794732)'))) / (select extract(epoch from '2026-07-25 07:55:56'::timestamp) - extract(epoch from '2026-07-25 07:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.312785 -2.794705)', '2026-07-25 07:56:03', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3126 -2.794732)'), GeomFromEWKT('SRID=4674;POINT (-40.312785 -2.794705)'))) / (select extract(epoch from '2026-07-25 07:56:03'::timestamp) - extract(epoch from '2026-07-25 07:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3126 -2.794732)'), GeomFromEWKT('SRID=4674;POINT (-40.312785 -2.794705)'))) / (select extract(epoch from '2026-07-25 07:56:03'::timestamp) - extract(epoch from '2026-07-25 07:55: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'), 47837, 'SRID=4674;POINT (-40.312837 -2.794698)', '2026-07-25 07:56:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312785 -2.794705)'), GeomFromEWKT('SRID=4674;POINT (-40.312837 -2.794698)'))) / (select extract(epoch from '2026-07-25 07:56:05'::timestamp) - extract(epoch from '2026-07-25 07:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312785 -2.794705)'), GeomFromEWKT('SRID=4674;POINT (-40.312837 -2.794698)'))) / (select extract(epoch from '2026-07-25 07:56:05'::timestamp) - extract(epoch from '2026-07-25 07:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31302 -2.794681)', '2026-07-25 07:56:12', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312837 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.31302 -2.794681)'))) / (select extract(epoch from '2026-07-25 07:56:12'::timestamp) - extract(epoch from '2026-07-25 07:56:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.312837 -2.794698)'), GeomFromEWKT('SRID=4674;POINT (-40.31302 -2.794681)'))) / (select extract(epoch from '2026-07-25 07:56:12'::timestamp) - extract(epoch from '2026-07-25 07:56: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'), 47837, 'SRID=4674;POINT (-40.313074 -2.794676)', '2026-07-25 07:56:14', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31302 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.313074 -2.794676)'))) / (select extract(epoch from '2026-07-25 07:56:14'::timestamp) - extract(epoch from '2026-07-25 07:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31302 -2.794681)'), GeomFromEWKT('SRID=4674;POINT (-40.313074 -2.794676)'))) / (select extract(epoch from '2026-07-25 07:56:14'::timestamp) - extract(epoch from '2026-07-25 07:56: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'), 47837, 'SRID=4674;POINT (-40.313262 -2.79464)', '2026-07-25 07:56:21', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313074 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.313262 -2.79464)'))) / (select extract(epoch from '2026-07-25 07:56:21'::timestamp) - extract(epoch from '2026-07-25 07:56:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313074 -2.794676)'), GeomFromEWKT('SRID=4674;POINT (-40.313262 -2.79464)'))) / (select extract(epoch from '2026-07-25 07:56:21'::timestamp) - extract(epoch from '2026-07-25 07:56: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'), 47837, 'SRID=4674;POINT (-40.313289 -2.794633)', '2026-07-25 07:56:22', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313262 -2.79464)'), GeomFromEWKT('SRID=4674;POINT (-40.313289 -2.794633)'))) / (select extract(epoch from '2026-07-25 07:56:22'::timestamp) - extract(epoch from '2026-07-25 07:56:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313262 -2.79464)'), GeomFromEWKT('SRID=4674;POINT (-40.313289 -2.794633)'))) / (select extract(epoch from '2026-07-25 07:56:22'::timestamp) - extract(epoch from '2026-07-25 07:56:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313473 -2.794601)', '2026-07-25 07:56:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313289 -2.794633)'), GeomFromEWKT('SRID=4674;POINT (-40.313473 -2.794601)'))) / (select extract(epoch from '2026-07-25 07:56:29'::timestamp) - extract(epoch from '2026-07-25 07:56:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313289 -2.794633)'), GeomFromEWKT('SRID=4674;POINT (-40.313473 -2.794601)'))) / (select extract(epoch from '2026-07-25 07:56:29'::timestamp) - extract(epoch from '2026-07-25 07:56:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.313501 -2.794597)', '2026-07-25 07:56:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313473 -2.794601)'), GeomFromEWKT('SRID=4674;POINT (-40.313501 -2.794597)'))) / (select extract(epoch from '2026-07-25 07:56:30'::timestamp) - extract(epoch from '2026-07-25 07:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313473 -2.794601)'), GeomFromEWKT('SRID=4674;POINT (-40.313501 -2.794597)'))) / (select extract(epoch from '2026-07-25 07:56:30'::timestamp) - extract(epoch from '2026-07-25 07:56: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'), 47837, 'SRID=4674;POINT (-40.313701 -2.794555)', '2026-07-25 07:56:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313501 -2.794597)'), GeomFromEWKT('SRID=4674;POINT (-40.313701 -2.794555)'))) / (select extract(epoch from '2026-07-25 07:56:38'::timestamp) - extract(epoch from '2026-07-25 07:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313501 -2.794597)'), GeomFromEWKT('SRID=4674;POINT (-40.313701 -2.794555)'))) / (select extract(epoch from '2026-07-25 07:56:38'::timestamp) - extract(epoch from '2026-07-25 07:56:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31388 -2.79451)', '2026-07-25 07:56:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313701 -2.794555)'), GeomFromEWKT('SRID=4674;POINT (-40.31388 -2.79451)'))) / (select extract(epoch from '2026-07-25 07:56:45'::timestamp) - extract(epoch from '2026-07-25 07:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313701 -2.794555)'), GeomFromEWKT('SRID=4674;POINT (-40.31388 -2.79451)'))) / (select extract(epoch from '2026-07-25 07:56:45'::timestamp) - extract(epoch from '2026-07-25 07:56: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'), 47837, 'SRID=4674;POINT (-40.313933 -2.794497)', '2026-07-25 07:56:47', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31388 -2.79451)'), GeomFromEWKT('SRID=4674;POINT (-40.313933 -2.794497)'))) / (select extract(epoch from '2026-07-25 07:56:47'::timestamp) - extract(epoch from '2026-07-25 07:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31388 -2.79451)'), GeomFromEWKT('SRID=4674;POINT (-40.313933 -2.794497)'))) / (select extract(epoch from '2026-07-25 07:56:47'::timestamp) - extract(epoch from '2026-07-25 07:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314135 -2.794455)', '2026-07-25 07:56:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313933 -2.794497)'), GeomFromEWKT('SRID=4674;POINT (-40.314135 -2.794455)'))) / (select extract(epoch from '2026-07-25 07:56:55'::timestamp) - extract(epoch from '2026-07-25 07:56:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.313933 -2.794497)'), GeomFromEWKT('SRID=4674;POINT (-40.314135 -2.794455)'))) / (select extract(epoch from '2026-07-25 07:56:55'::timestamp) - extract(epoch from '2026-07-25 07:56: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'), 47837, 'SRID=4674;POINT (-40.314317 -2.794414)', '2026-07-25 07:57:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314135 -2.794455)'), GeomFromEWKT('SRID=4674;POINT (-40.314317 -2.794414)'))) / (select extract(epoch from '2026-07-25 07:57:02'::timestamp) - extract(epoch from '2026-07-25 07:56:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314135 -2.794455)'), GeomFromEWKT('SRID=4674;POINT (-40.314317 -2.794414)'))) / (select extract(epoch from '2026-07-25 07:57:02'::timestamp) - extract(epoch from '2026-07-25 07:56:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314394 -2.794403)', '2026-07-25 07:57:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314317 -2.794414)'), GeomFromEWKT('SRID=4674;POINT (-40.314394 -2.794403)'))) / (select extract(epoch from '2026-07-25 07:57:05'::timestamp) - extract(epoch from '2026-07-25 07:57:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314317 -2.794414)'), GeomFromEWKT('SRID=4674;POINT (-40.314394 -2.794403)'))) / (select extract(epoch from '2026-07-25 07:57:05'::timestamp) - extract(epoch from '2026-07-25 07:57:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31459 -2.794405)', '2026-07-25 07:57:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314394 -2.794403)'), GeomFromEWKT('SRID=4674;POINT (-40.31459 -2.794405)'))) / (select extract(epoch from '2026-07-25 07:57:12'::timestamp) - extract(epoch from '2026-07-25 07:57:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314394 -2.794403)'), GeomFromEWKT('SRID=4674;POINT (-40.31459 -2.794405)'))) / (select extract(epoch from '2026-07-25 07:57:12'::timestamp) - extract(epoch from '2026-07-25 07:57: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'), 47837, 'SRID=4674;POINT (-40.314616 -2.794403)', '2026-07-25 07:57:13', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31459 -2.794405)'), GeomFromEWKT('SRID=4674;POINT (-40.314616 -2.794403)'))) / (select extract(epoch from '2026-07-25 07:57:13'::timestamp) - extract(epoch from '2026-07-25 07:57:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31459 -2.794405)'), GeomFromEWKT('SRID=4674;POINT (-40.314616 -2.794403)'))) / (select extract(epoch from '2026-07-25 07:57:13'::timestamp) - extract(epoch from '2026-07-25 07:57:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314797 -2.794388)', '2026-07-25 07:57:20', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314616 -2.794403)'), GeomFromEWKT('SRID=4674;POINT (-40.314797 -2.794388)'))) / (select extract(epoch from '2026-07-25 07:57:20'::timestamp) - extract(epoch from '2026-07-25 07:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314616 -2.794403)'), GeomFromEWKT('SRID=4674;POINT (-40.314797 -2.794388)'))) / (select extract(epoch from '2026-07-25 07:57:20'::timestamp) - extract(epoch from '2026-07-25 07:57:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.314876 -2.794377)', '2026-07-25 07:57:23', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314797 -2.794388)'), GeomFromEWKT('SRID=4674;POINT (-40.314876 -2.794377)'))) / (select extract(epoch from '2026-07-25 07:57:23'::timestamp) - extract(epoch from '2026-07-25 07:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314797 -2.794388)'), GeomFromEWKT('SRID=4674;POINT (-40.314876 -2.794377)'))) / (select extract(epoch from '2026-07-25 07:57:23'::timestamp) - extract(epoch from '2026-07-25 07:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.315054 -2.794349)', '2026-07-25 07:57:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314876 -2.794377)'), GeomFromEWKT('SRID=4674;POINT (-40.315054 -2.794349)'))) / (select extract(epoch from '2026-07-25 07:57:30'::timestamp) - extract(epoch from '2026-07-25 07:57:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.314876 -2.794377)'), GeomFromEWKT('SRID=4674;POINT (-40.315054 -2.794349)'))) / (select extract(epoch from '2026-07-25 07:57:30'::timestamp) - extract(epoch from '2026-07-25 07:57:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.315109 -2.794342)', '2026-07-25 07:57:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315054 -2.794349)'), GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.794342)'))) / (select extract(epoch from '2026-07-25 07:57:32'::timestamp) - extract(epoch from '2026-07-25 07:57:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315054 -2.794349)'), GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.794342)'))) / (select extract(epoch from '2026-07-25 07:57:32'::timestamp) - extract(epoch from '2026-07-25 07:57: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'), 47837, 'SRID=4674;POINT (-40.3153 -2.794314)', '2026-07-25 07:57:39', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.794342)'), GeomFromEWKT('SRID=4674;POINT (-40.3153 -2.794314)'))) / (select extract(epoch from '2026-07-25 07:57:39'::timestamp) - extract(epoch from '2026-07-25 07:57:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315109 -2.794342)'), GeomFromEWKT('SRID=4674;POINT (-40.3153 -2.794314)'))) / (select extract(epoch from '2026-07-25 07:57:39'::timestamp) - extract(epoch from '2026-07-25 07:57: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'), 47837, 'SRID=4674;POINT (-40.315491 -2.794322)', '2026-07-25 07:57:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3153 -2.794314)'), GeomFromEWKT('SRID=4674;POINT (-40.315491 -2.794322)'))) / (select extract(epoch from '2026-07-25 07:57:46'::timestamp) - extract(epoch from '2026-07-25 07:57:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3153 -2.794314)'), GeomFromEWKT('SRID=4674;POINT (-40.315491 -2.794322)'))) / (select extract(epoch from '2026-07-25 07:57:46'::timestamp) - extract(epoch from '2026-07-25 07:57: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'), 47837, 'SRID=4674;POINT (-40.315517 -2.794323)', '2026-07-25 07:57:47', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315491 -2.794322)'), GeomFromEWKT('SRID=4674;POINT (-40.315517 -2.794323)'))) / (select extract(epoch from '2026-07-25 07:57:47'::timestamp) - extract(epoch from '2026-07-25 07:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315491 -2.794322)'), GeomFromEWKT('SRID=4674;POINT (-40.315517 -2.794323)'))) / (select extract(epoch from '2026-07-25 07:57:47'::timestamp) - extract(epoch from '2026-07-25 07:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.315704 -2.794314)', '2026-07-25 07:57:54', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315517 -2.794323)'), GeomFromEWKT('SRID=4674;POINT (-40.315704 -2.794314)'))) / (select extract(epoch from '2026-07-25 07:57:54'::timestamp) - extract(epoch from '2026-07-25 07:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315517 -2.794323)'), GeomFromEWKT('SRID=4674;POINT (-40.315704 -2.794314)'))) / (select extract(epoch from '2026-07-25 07:57:54'::timestamp) - extract(epoch from '2026-07-25 07:57: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'), 47837, 'SRID=4674;POINT (-40.315778 -2.794306)', '2026-07-25 07:57:57', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315704 -2.794314)'), GeomFromEWKT('SRID=4674;POINT (-40.315778 -2.794306)'))) / (select extract(epoch from '2026-07-25 07:57:57'::timestamp) - extract(epoch from '2026-07-25 07:57:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315704 -2.794314)'), GeomFromEWKT('SRID=4674;POINT (-40.315778 -2.794306)'))) / (select extract(epoch from '2026-07-25 07:57:57'::timestamp) - extract(epoch from '2026-07-25 07:57: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'), 47837, 'SRID=4674;POINT (-40.315964 -2.794269)', '2026-07-25 07:58:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315778 -2.794306)'), GeomFromEWKT('SRID=4674;POINT (-40.315964 -2.794269)'))) / (select extract(epoch from '2026-07-25 07:58:04'::timestamp) - extract(epoch from '2026-07-25 07:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315778 -2.794306)'), GeomFromEWKT('SRID=4674;POINT (-40.315964 -2.794269)'))) / (select extract(epoch from '2026-07-25 07:58:04'::timestamp) - extract(epoch from '2026-07-25 07:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.316144 -2.794231)', '2026-07-25 07:58:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315964 -2.794269)'), GeomFromEWKT('SRID=4674;POINT (-40.316144 -2.794231)'))) / (select extract(epoch from '2026-07-25 07:58:11'::timestamp) - extract(epoch from '2026-07-25 07:58:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.315964 -2.794269)'), GeomFromEWKT('SRID=4674;POINT (-40.316144 -2.794231)'))) / (select extract(epoch from '2026-07-25 07:58:11'::timestamp) - extract(epoch from '2026-07-25 07:58: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'), 47837, 'SRID=4674;POINT (-40.316169 -2.794225)', '2026-07-25 07:58:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316144 -2.794231)'), GeomFromEWKT('SRID=4674;POINT (-40.316169 -2.794225)'))) / (select extract(epoch from '2026-07-25 07:58:12'::timestamp) - extract(epoch from '2026-07-25 07:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316144 -2.794231)'), GeomFromEWKT('SRID=4674;POINT (-40.316169 -2.794225)'))) / (select extract(epoch from '2026-07-25 07:58:12'::timestamp) - extract(epoch from '2026-07-25 07:58: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'), 47837, 'SRID=4674;POINT (-40.316352 -2.794185)', '2026-07-25 07:58:19', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316169 -2.794225)'), GeomFromEWKT('SRID=4674;POINT (-40.316352 -2.794185)'))) / (select extract(epoch from '2026-07-25 07:58:19'::timestamp) - extract(epoch from '2026-07-25 07:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316169 -2.794225)'), GeomFromEWKT('SRID=4674;POINT (-40.316352 -2.794185)'))) / (select extract(epoch from '2026-07-25 07:58:19'::timestamp) - extract(epoch from '2026-07-25 07:58: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'), 47837, 'SRID=4674;POINT (-40.316404 -2.794175)', '2026-07-25 07:58:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316352 -2.794185)'), GeomFromEWKT('SRID=4674;POINT (-40.316404 -2.794175)'))) / (select extract(epoch from '2026-07-25 07:58:21'::timestamp) - extract(epoch from '2026-07-25 07:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316352 -2.794185)'), GeomFromEWKT('SRID=4674;POINT (-40.316404 -2.794175)'))) / (select extract(epoch from '2026-07-25 07:58:21'::timestamp) - extract(epoch from '2026-07-25 07:58: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'), 47837, 'SRID=4674;POINT (-40.316584 -2.794151)', '2026-07-25 07:58:28', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316404 -2.794175)'), GeomFromEWKT('SRID=4674;POINT (-40.316584 -2.794151)'))) / (select extract(epoch from '2026-07-25 07:58:28'::timestamp) - extract(epoch from '2026-07-25 07:58:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316404 -2.794175)'), GeomFromEWKT('SRID=4674;POINT (-40.316584 -2.794151)'))) / (select extract(epoch from '2026-07-25 07:58:28'::timestamp) - extract(epoch from '2026-07-25 07:58:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.316638 -2.794147)', '2026-07-25 07:58:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316584 -2.794151)'), GeomFromEWKT('SRID=4674;POINT (-40.316638 -2.794147)'))) / (select extract(epoch from '2026-07-25 07:58:30'::timestamp) - extract(epoch from '2026-07-25 07:58:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316584 -2.794151)'), GeomFromEWKT('SRID=4674;POINT (-40.316638 -2.794147)'))) / (select extract(epoch from '2026-07-25 07:58:30'::timestamp) - extract(epoch from '2026-07-25 07:58: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'), 47837, 'SRID=4674;POINT (-40.316819 -2.794126)', '2026-07-25 07:58:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316638 -2.794147)'), GeomFromEWKT('SRID=4674;POINT (-40.316819 -2.794126)'))) / (select extract(epoch from '2026-07-25 07:58:37'::timestamp) - extract(epoch from '2026-07-25 07:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316638 -2.794147)'), GeomFromEWKT('SRID=4674;POINT (-40.316819 -2.794126)'))) / (select extract(epoch from '2026-07-25 07:58:37'::timestamp) - extract(epoch from '2026-07-25 07:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.316845 -2.794121)', '2026-07-25 07:58:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316819 -2.794126)'), GeomFromEWKT('SRID=4674;POINT (-40.316845 -2.794121)'))) / (select extract(epoch from '2026-07-25 07:58:38'::timestamp) - extract(epoch from '2026-07-25 07:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316819 -2.794126)'), GeomFromEWKT('SRID=4674;POINT (-40.316845 -2.794121)'))) / (select extract(epoch from '2026-07-25 07:58:38'::timestamp) - extract(epoch from '2026-07-25 07:58:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.317037 -2.794094)', '2026-07-25 07:58:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316845 -2.794121)'), GeomFromEWKT('SRID=4674;POINT (-40.317037 -2.794094)'))) / (select extract(epoch from '2026-07-25 07:58:45'::timestamp) - extract(epoch from '2026-07-25 07:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.316845 -2.794121)'), GeomFromEWKT('SRID=4674;POINT (-40.317037 -2.794094)'))) / (select extract(epoch from '2026-07-25 07:58:45'::timestamp) - extract(epoch from '2026-07-25 07:58:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.31715 -2.794082)', '2026-07-25 07:58:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317037 -2.794094)'), GeomFromEWKT('SRID=4674;POINT (-40.31715 -2.794082)'))) / (select extract(epoch from '2026-07-25 07:58:49'::timestamp) - extract(epoch from '2026-07-25 07:58:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317037 -2.794094)'), GeomFromEWKT('SRID=4674;POINT (-40.31715 -2.794082)'))) / (select extract(epoch from '2026-07-25 07:58:49'::timestamp) - extract(epoch from '2026-07-25 07: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'), 47837, 'SRID=4674;POINT (-40.317338 -2.794057)', '2026-07-25 07:58:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31715 -2.794082)'), GeomFromEWKT('SRID=4674;POINT (-40.317338 -2.794057)'))) / (select extract(epoch from '2026-07-25 07:58:56'::timestamp) - extract(epoch from '2026-07-25 07:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31715 -2.794082)'), GeomFromEWKT('SRID=4674;POINT (-40.317338 -2.794057)'))) / (select extract(epoch from '2026-07-25 07:58:56'::timestamp) - extract(epoch from '2026-07-25 07:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.317388 -2.794048)', '2026-07-25 07:58:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317338 -2.794057)'), GeomFromEWKT('SRID=4674;POINT (-40.317388 -2.794048)'))) / (select extract(epoch from '2026-07-25 07:58:58'::timestamp) - extract(epoch from '2026-07-25 07:58:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317338 -2.794057)'), GeomFromEWKT('SRID=4674;POINT (-40.317388 -2.794048)'))) / (select extract(epoch from '2026-07-25 07:58:58'::timestamp) - extract(epoch from '2026-07-25 07:58:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.317577 -2.794033)', '2026-07-25 07:59:05', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317388 -2.794048)'), GeomFromEWKT('SRID=4674;POINT (-40.317577 -2.794033)'))) / (select extract(epoch from '2026-07-25 07:59:05'::timestamp) - extract(epoch from '2026-07-25 07:58:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317388 -2.794048)'), GeomFromEWKT('SRID=4674;POINT (-40.317577 -2.794033)'))) / (select extract(epoch from '2026-07-25 07:59:05'::timestamp) - extract(epoch from '2026-07-25 07:58: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'), 47837, 'SRID=4674;POINT (-40.317763 -2.794038)', '2026-07-25 07:59:12', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317577 -2.794033)'), GeomFromEWKT('SRID=4674;POINT (-40.317763 -2.794038)'))) / (select extract(epoch from '2026-07-25 07:59:12'::timestamp) - extract(epoch from '2026-07-25 07:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317577 -2.794033)'), GeomFromEWKT('SRID=4674;POINT (-40.317763 -2.794038)'))) / (select extract(epoch from '2026-07-25 07:59:12'::timestamp) - extract(epoch from '2026-07-25 07:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.317962 -2.794022)', '2026-07-25 07:59:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317763 -2.794038)'), GeomFromEWKT('SRID=4674;POINT (-40.317962 -2.794022)'))) / (select extract(epoch from '2026-07-25 07:59:20'::timestamp) - extract(epoch from '2026-07-25 07:59:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317763 -2.794038)'), GeomFromEWKT('SRID=4674;POINT (-40.317962 -2.794022)'))) / (select extract(epoch from '2026-07-25 07:59:20'::timestamp) - extract(epoch from '2026-07-25 07:59:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.317987 -2.794017)', '2026-07-25 07:59:21', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317962 -2.794022)'), GeomFromEWKT('SRID=4674;POINT (-40.317987 -2.794017)'))) / (select extract(epoch from '2026-07-25 07:59:21'::timestamp) - extract(epoch from '2026-07-25 07:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317962 -2.794022)'), GeomFromEWKT('SRID=4674;POINT (-40.317987 -2.794017)'))) / (select extract(epoch from '2026-07-25 07:59:21'::timestamp) - extract(epoch from '2026-07-25 07: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'), 47837, 'SRID=4674;POINT (-40.318171 -2.793991)', '2026-07-25 07:59:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317987 -2.794017)'), GeomFromEWKT('SRID=4674;POINT (-40.318171 -2.793991)'))) / (select extract(epoch from '2026-07-25 07:59:28'::timestamp) - extract(epoch from '2026-07-25 07:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.317987 -2.794017)'), GeomFromEWKT('SRID=4674;POINT (-40.318171 -2.793991)'))) / (select extract(epoch from '2026-07-25 07:59:28'::timestamp) - extract(epoch from '2026-07-25 07:59: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'), 47837, 'SRID=4674;POINT (-40.318281 -2.793983)', '2026-07-25 07:59:32', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318171 -2.793991)'), GeomFromEWKT('SRID=4674;POINT (-40.318281 -2.793983)'))) / (select extract(epoch from '2026-07-25 07:59:32'::timestamp) - extract(epoch from '2026-07-25 07:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318171 -2.793991)'), GeomFromEWKT('SRID=4674;POINT (-40.318281 -2.793983)'))) / (select extract(epoch from '2026-07-25 07:59:32'::timestamp) - extract(epoch from '2026-07-25 07:59: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'), 47837, 'SRID=4674;POINT (-40.31847 -2.793995)', '2026-07-25 07:59:39', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318281 -2.793983)'), GeomFromEWKT('SRID=4674;POINT (-40.31847 -2.793995)'))) / (select extract(epoch from '2026-07-25 07:59:39'::timestamp) - extract(epoch from '2026-07-25 07:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318281 -2.793983)'), GeomFromEWKT('SRID=4674;POINT (-40.31847 -2.793995)'))) / (select extract(epoch from '2026-07-25 07:59:39'::timestamp) - extract(epoch from '2026-07-25 07: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'), 47837, 'SRID=4674;POINT (-40.318553 -2.793999)', '2026-07-25 07:59:42', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31847 -2.793995)'), GeomFromEWKT('SRID=4674;POINT (-40.318553 -2.793999)'))) / (select extract(epoch from '2026-07-25 07:59:42'::timestamp) - extract(epoch from '2026-07-25 07:59:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31847 -2.793995)'), GeomFromEWKT('SRID=4674;POINT (-40.318553 -2.793999)'))) / (select extract(epoch from '2026-07-25 07:59:42'::timestamp) - extract(epoch from '2026-07-25 07:59:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.318759 -2.794016)', '2026-07-25 07:59:50', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318553 -2.793999)'), GeomFromEWKT('SRID=4674;POINT (-40.318759 -2.794016)'))) / (select extract(epoch from '2026-07-25 07:59:50'::timestamp) - extract(epoch from '2026-07-25 07:59:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318553 -2.793999)'), GeomFromEWKT('SRID=4674;POINT (-40.318759 -2.794016)'))) / (select extract(epoch from '2026-07-25 07:59:50'::timestamp) - extract(epoch from '2026-07-25 07:59:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.318788 -2.79402)', '2026-07-25 07:59:51', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318759 -2.794016)'), GeomFromEWKT('SRID=4674;POINT (-40.318788 -2.79402)'))) / (select extract(epoch from '2026-07-25 07:59:51'::timestamp) - extract(epoch from '2026-07-25 07:59:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318759 -2.794016)'), GeomFromEWKT('SRID=4674;POINT (-40.318788 -2.79402)'))) / (select extract(epoch from '2026-07-25 07:59:51'::timestamp) - extract(epoch from '2026-07-25 07:59: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'), 47837, 'SRID=4674;POINT (-40.318979 -2.794027)', '2026-07-25 07:59:58', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318788 -2.79402)'), GeomFromEWKT('SRID=4674;POINT (-40.318979 -2.794027)'))) / (select extract(epoch from '2026-07-25 07:59:58'::timestamp) - extract(epoch from '2026-07-25 07:59:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318788 -2.79402)'), GeomFromEWKT('SRID=4674;POINT (-40.318979 -2.794027)'))) / (select extract(epoch from '2026-07-25 07:59:58'::timestamp) - extract(epoch from '2026-07-25 07:59:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.319009 -2.794028)', '2026-07-25 07:59:59', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318979 -2.794027)'), GeomFromEWKT('SRID=4674;POINT (-40.319009 -2.794028)'))) / (select extract(epoch from '2026-07-25 07:59:59'::timestamp) - extract(epoch from '2026-07-25 07:59:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.318979 -2.794027)'), GeomFromEWKT('SRID=4674;POINT (-40.319009 -2.794028)'))) / (select extract(epoch from '2026-07-25 07:59:59'::timestamp) - extract(epoch from '2026-07-25 07:59:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.319193 -2.794024)', '2026-07-25 08:00:06', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319009 -2.794028)'), GeomFromEWKT('SRID=4674;POINT (-40.319193 -2.794024)'))) / (select extract(epoch from '2026-07-25 08:00:06'::timestamp) - extract(epoch from '2026-07-25 07:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319009 -2.794028)'), GeomFromEWKT('SRID=4674;POINT (-40.319193 -2.794024)'))) / (select extract(epoch from '2026-07-25 08:00:06'::timestamp) - extract(epoch from '2026-07-25 07:59: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'), 47837, 'SRID=4674;POINT (-40.319263 -2.794031)', '2026-07-25 08:00:09', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319193 -2.794024)'), GeomFromEWKT('SRID=4674;POINT (-40.319263 -2.794031)'))) / (select extract(epoch from '2026-07-25 08:00:09'::timestamp) - extract(epoch from '2026-07-25 08:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319193 -2.794024)'), GeomFromEWKT('SRID=4674;POINT (-40.319263 -2.794031)'))) / (select extract(epoch from '2026-07-25 08:00:09'::timestamp) - extract(epoch from '2026-07-25 08:00: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'), 47837, 'SRID=4674;POINT (-40.319447 -2.794038)', '2026-07-25 08:00:16', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319263 -2.794031)'), GeomFromEWKT('SRID=4674;POINT (-40.319447 -2.794038)'))) / (select extract(epoch from '2026-07-25 08:00:16'::timestamp) - extract(epoch from '2026-07-25 08:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319263 -2.794031)'), GeomFromEWKT('SRID=4674;POINT (-40.319447 -2.794038)'))) / (select extract(epoch from '2026-07-25 08:00:16'::timestamp) - extract(epoch from '2026-07-25 08:00: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'), 47837, 'SRID=4674;POINT (-40.319631 -2.794029)', '2026-07-25 08:00:23', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319447 -2.794038)'), GeomFromEWKT('SRID=4674;POINT (-40.319631 -2.794029)'))) / (select extract(epoch from '2026-07-25 08:00:23'::timestamp) - extract(epoch from '2026-07-25 08:00:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319447 -2.794038)'), GeomFromEWKT('SRID=4674;POINT (-40.319631 -2.794029)'))) / (select extract(epoch from '2026-07-25 08:00:23'::timestamp) - extract(epoch from '2026-07-25 08:00: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'), 47837, 'SRID=4674;POINT (-40.31974 -2.79403)', '2026-07-25 08:00:27', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319631 -2.794029)'), GeomFromEWKT('SRID=4674;POINT (-40.31974 -2.79403)'))) / (select extract(epoch from '2026-07-25 08:00:27'::timestamp) - extract(epoch from '2026-07-25 08:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319631 -2.794029)'), GeomFromEWKT('SRID=4674;POINT (-40.31974 -2.79403)'))) / (select extract(epoch from '2026-07-25 08:00:27'::timestamp) - extract(epoch from '2026-07-25 08:00:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.319946 -2.794033)', '2026-07-25 08:00:35', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31974 -2.79403)'), GeomFromEWKT('SRID=4674;POINT (-40.319946 -2.794033)'))) / (select extract(epoch from '2026-07-25 08:00:35'::timestamp) - extract(epoch from '2026-07-25 08:00:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.31974 -2.79403)'), GeomFromEWKT('SRID=4674;POINT (-40.319946 -2.794033)'))) / (select extract(epoch from '2026-07-25 08:00:35'::timestamp) - extract(epoch from '2026-07-25 08:00: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'), 47837, 'SRID=4674;POINT (-40.319974 -2.794033)', '2026-07-25 08:00:36', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319946 -2.794033)'), GeomFromEWKT('SRID=4674;POINT (-40.319974 -2.794033)'))) / (select extract(epoch from '2026-07-25 08:00:36'::timestamp) - extract(epoch from '2026-07-25 08:00:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319946 -2.794033)'), GeomFromEWKT('SRID=4674;POINT (-40.319974 -2.794033)'))) / (select extract(epoch from '2026-07-25 08:00:36'::timestamp) - extract(epoch from '2026-07-25 08:00:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.320159 -2.794045)', '2026-07-25 08:00:43', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319974 -2.794033)'), GeomFromEWKT('SRID=4674;POINT (-40.320159 -2.794045)'))) / (select extract(epoch from '2026-07-25 08:00:43'::timestamp) - extract(epoch from '2026-07-25 08:00:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.319974 -2.794033)'), GeomFromEWKT('SRID=4674;POINT (-40.320159 -2.794045)'))) / (select extract(epoch from '2026-07-25 08:00:43'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.320237 -2.794057)', '2026-07-25 08:00:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320159 -2.794045)'), GeomFromEWKT('SRID=4674;POINT (-40.320237 -2.794057)'))) / (select extract(epoch from '2026-07-25 08:00:46'::timestamp) - extract(epoch from '2026-07-25 08:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320159 -2.794045)'), GeomFromEWKT('SRID=4674;POINT (-40.320237 -2.794057)'))) / (select extract(epoch from '2026-07-25 08:00:46'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.320422 -2.794082)', '2026-07-25 08:00:53', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320237 -2.794057)'), GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.794082)'))) / (select extract(epoch from '2026-07-25 08:00:53'::timestamp) - extract(epoch from '2026-07-25 08:00:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320237 -2.794057)'), GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.794082)'))) / (select extract(epoch from '2026-07-25 08:00:53'::timestamp) - extract(epoch from '2026-07-25 08:00:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.320473 -2.794089)', '2026-07-25 08:00:55', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.794082)'), GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.794089)'))) / (select extract(epoch from '2026-07-25 08:00:55'::timestamp) - extract(epoch from '2026-07-25 08:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320422 -2.794082)'), GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.794089)'))) / (select extract(epoch from '2026-07-25 08:00:55'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.320676 -2.794112)', '2026-07-25 08:01:03', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.794089)'), GeomFromEWKT('SRID=4674;POINT (-40.320676 -2.794112)'))) / (select extract(epoch from '2026-07-25 08:01:03'::timestamp) - extract(epoch from '2026-07-25 08:00:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320473 -2.794089)'), GeomFromEWKT('SRID=4674;POINT (-40.320676 -2.794112)'))) / (select extract(epoch from '2026-07-25 08:01:03'::timestamp) - extract(epoch from '2026-07-25 08:00:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.320747 -2.794118)', '2026-07-25 08:01:06', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320676 -2.794112)'), GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.794118)'))) / (select extract(epoch from '2026-07-25 08:01:06'::timestamp) - extract(epoch from '2026-07-25 08:01:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320676 -2.794112)'), GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.794118)'))) / (select extract(epoch from '2026-07-25 08:01:06'::timestamp) - extract(epoch from '2026-07-25 08:01:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.320949 -2.794139)', '2026-07-25 08:01:14', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.794118)'), GeomFromEWKT('SRID=4674;POINT (-40.320949 -2.794139)'))) / (select extract(epoch from '2026-07-25 08:01:14'::timestamp) - extract(epoch from '2026-07-25 08:01:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320747 -2.794118)'), GeomFromEWKT('SRID=4674;POINT (-40.320949 -2.794139)'))) / (select extract(epoch from '2026-07-25 08:01:14'::timestamp) - extract(epoch from '2026-07-25 08:01:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.320995 -2.794142)', '2026-07-25 08:01:16', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320949 -2.794139)'), GeomFromEWKT('SRID=4674;POINT (-40.320995 -2.794142)'))) / (select extract(epoch from '2026-07-25 08:01:16'::timestamp) - extract(epoch from '2026-07-25 08:01:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320949 -2.794139)'), GeomFromEWKT('SRID=4674;POINT (-40.320995 -2.794142)'))) / (select extract(epoch from '2026-07-25 08:01:16'::timestamp) - extract(epoch from '2026-07-25 08:01: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'), 47837, 'SRID=4674;POINT (-40.321178 -2.794144)', '2026-07-25 08:01:23', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320995 -2.794142)'), GeomFromEWKT('SRID=4674;POINT (-40.321178 -2.794144)'))) / (select extract(epoch from '2026-07-25 08:01:23'::timestamp) - extract(epoch from '2026-07-25 08:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.320995 -2.794142)'), GeomFromEWKT('SRID=4674;POINT (-40.321178 -2.794144)'))) / (select extract(epoch from '2026-07-25 08:01:23'::timestamp) - extract(epoch from '2026-07-25 08:01:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.321202 -2.794148)', '2026-07-25 08:01:24', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321178 -2.794144)'), GeomFromEWKT('SRID=4674;POINT (-40.321202 -2.794148)'))) / (select extract(epoch from '2026-07-25 08:01:24'::timestamp) - extract(epoch from '2026-07-25 08:01:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321178 -2.794144)'), GeomFromEWKT('SRID=4674;POINT (-40.321202 -2.794148)'))) / (select extract(epoch from '2026-07-25 08:01:24'::timestamp) - extract(epoch from '2026-07-25 08:01:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.321387 -2.794194)', '2026-07-25 08:01:31', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321202 -2.794148)'), GeomFromEWKT('SRID=4674;POINT (-40.321387 -2.794194)'))) / (select extract(epoch from '2026-07-25 08:01:31'::timestamp) - extract(epoch from '2026-07-25 08:01:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321202 -2.794148)'), GeomFromEWKT('SRID=4674;POINT (-40.321387 -2.794194)'))) / (select extract(epoch from '2026-07-25 08:01:31'::timestamp) - extract(epoch from '2026-07-25 08:01: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'), 47837, 'SRID=4674;POINT (-40.32144 -2.794205)', '2026-07-25 08:01:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321387 -2.794194)'), GeomFromEWKT('SRID=4674;POINT (-40.32144 -2.794205)'))) / (select extract(epoch from '2026-07-25 08:01:33'::timestamp) - extract(epoch from '2026-07-25 08:01:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321387 -2.794194)'), GeomFromEWKT('SRID=4674;POINT (-40.32144 -2.794205)'))) / (select extract(epoch from '2026-07-25 08:01:33'::timestamp) - extract(epoch from '2026-07-25 08:01: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'), 47837, 'SRID=4674;POINT (-40.32164 -2.794235)', '2026-07-25 08:01:41', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32144 -2.794205)'), GeomFromEWKT('SRID=4674;POINT (-40.32164 -2.794235)'))) / (select extract(epoch from '2026-07-25 08:01:41'::timestamp) - extract(epoch from '2026-07-25 08:01:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32144 -2.794205)'), GeomFromEWKT('SRID=4674;POINT (-40.32164 -2.794235)'))) / (select extract(epoch from '2026-07-25 08:01:41'::timestamp) - extract(epoch from '2026-07-25 08:01: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'), 47837, 'SRID=4674;POINT (-40.321695 -2.794243)', '2026-07-25 08:01:43', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32164 -2.794235)'), GeomFromEWKT('SRID=4674;POINT (-40.321695 -2.794243)'))) / (select extract(epoch from '2026-07-25 08:01:43'::timestamp) - extract(epoch from '2026-07-25 08:01:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32164 -2.794235)'), GeomFromEWKT('SRID=4674;POINT (-40.321695 -2.794243)'))) / (select extract(epoch from '2026-07-25 08:01:43'::timestamp) - extract(epoch from '2026-07-25 08:01:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.32184 -2.794247)', '2026-07-25 08:01:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321695 -2.794243)'), GeomFromEWKT('SRID=4674;POINT (-40.32184 -2.794247)'))) / (select extract(epoch from '2026-07-25 08:01:49'::timestamp) - extract(epoch from '2026-07-25 08:01:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.321695 -2.794243)'), GeomFromEWKT('SRID=4674;POINT (-40.32184 -2.794247)'))) / (select extract(epoch from '2026-07-25 08:01:49'::timestamp) - extract(epoch from '2026-07-25 08:01:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.322044 -2.794247)', '2026-07-25 08:01:57', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32184 -2.794247)'), GeomFromEWKT('SRID=4674;POINT (-40.322044 -2.794247)'))) / (select extract(epoch from '2026-07-25 08:01:57'::timestamp) - extract(epoch from '2026-07-25 08:01:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32184 -2.794247)'), GeomFromEWKT('SRID=4674;POINT (-40.322044 -2.794247)'))) / (select extract(epoch from '2026-07-25 08:01:57'::timestamp) - extract(epoch from '2026-07-25 08:01: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'), 47837, 'SRID=4674;POINT (-40.322121 -2.794252)', '2026-07-25 08:02:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322044 -2.794247)'), GeomFromEWKT('SRID=4674;POINT (-40.322121 -2.794252)'))) / (select extract(epoch from '2026-07-25 08:02:00'::timestamp) - extract(epoch from '2026-07-25 08:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322044 -2.794247)'), GeomFromEWKT('SRID=4674;POINT (-40.322121 -2.794252)'))) / (select extract(epoch from '2026-07-25 08:02:00'::timestamp) - extract(epoch from '2026-07-25 08:01:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.322318 -2.794281)', '2026-07-25 08:02:08', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322121 -2.794252)'), GeomFromEWKT('SRID=4674;POINT (-40.322318 -2.794281)'))) / (select extract(epoch from '2026-07-25 08:02:08'::timestamp) - extract(epoch from '2026-07-25 08:02:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322121 -2.794252)'), GeomFromEWKT('SRID=4674;POINT (-40.322318 -2.794281)'))) / (select extract(epoch from '2026-07-25 08:02:08'::timestamp) - extract(epoch from '2026-07-25 08:02: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'), 47837, 'SRID=4674;POINT (-40.32252 -2.794309)', '2026-07-25 08:02:16', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322318 -2.794281)'), GeomFromEWKT('SRID=4674;POINT (-40.32252 -2.794309)'))) / (select extract(epoch from '2026-07-25 08:02:16'::timestamp) - extract(epoch from '2026-07-25 08:02:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322318 -2.794281)'), GeomFromEWKT('SRID=4674;POINT (-40.32252 -2.794309)'))) / (select extract(epoch from '2026-07-25 08:02:16'::timestamp) - extract(epoch from '2026-07-25 08:02:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.322704 -2.794336)', '2026-07-25 08:02:23', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32252 -2.794309)'), GeomFromEWKT('SRID=4674;POINT (-40.322704 -2.794336)'))) / (select extract(epoch from '2026-07-25 08:02:23'::timestamp) - extract(epoch from '2026-07-25 08:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32252 -2.794309)'), GeomFromEWKT('SRID=4674;POINT (-40.322704 -2.794336)'))) / (select extract(epoch from '2026-07-25 08:02:23'::timestamp) - extract(epoch from '2026-07-25 08:02: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'), 47837, 'SRID=4674;POINT (-40.32273 -2.794341)', '2026-07-25 08:02:24', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322704 -2.794336)'), GeomFromEWKT('SRID=4674;POINT (-40.32273 -2.794341)'))) / (select extract(epoch from '2026-07-25 08:02:24'::timestamp) - extract(epoch from '2026-07-25 08:02:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322704 -2.794336)'), GeomFromEWKT('SRID=4674;POINT (-40.32273 -2.794341)'))) / (select extract(epoch from '2026-07-25 08:02:24'::timestamp) - extract(epoch from '2026-07-25 08:02:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.322912 -2.794378)', '2026-07-25 08:02:31', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32273 -2.794341)'), GeomFromEWKT('SRID=4674;POINT (-40.322912 -2.794378)'))) / (select extract(epoch from '2026-07-25 08:02:31'::timestamp) - extract(epoch from '2026-07-25 08:02:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32273 -2.794341)'), GeomFromEWKT('SRID=4674;POINT (-40.322912 -2.794378)'))) / (select extract(epoch from '2026-07-25 08:02:31'::timestamp) - extract(epoch from '2026-07-25 08:02:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.322969 -2.794391)', '2026-07-25 08:02:33', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322912 -2.794378)'), GeomFromEWKT('SRID=4674;POINT (-40.322969 -2.794391)'))) / (select extract(epoch from '2026-07-25 08:02:33'::timestamp) - extract(epoch from '2026-07-25 08:02:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322912 -2.794378)'), GeomFromEWKT('SRID=4674;POINT (-40.322969 -2.794391)'))) / (select extract(epoch from '2026-07-25 08:02:33'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.32315 -2.794429)', '2026-07-25 08:02:40', -4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322969 -2.794391)'), GeomFromEWKT('SRID=4674;POINT (-40.32315 -2.794429)'))) / (select extract(epoch from '2026-07-25 08:02:40'::timestamp) - extract(epoch from '2026-07-25 08:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.322969 -2.794391)'), GeomFromEWKT('SRID=4674;POINT (-40.32315 -2.794429)'))) / (select extract(epoch from '2026-07-25 08:02:40'::timestamp) - extract(epoch from '2026-07-25 08:02:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.323337 -2.794464)', '2026-07-25 08:02:47', -5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32315 -2.794429)'), GeomFromEWKT('SRID=4674;POINT (-40.323337 -2.794464)'))) / (select extract(epoch from '2026-07-25 08:02:47'::timestamp) - extract(epoch from '2026-07-25 08:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32315 -2.794429)'), GeomFromEWKT('SRID=4674;POINT (-40.323337 -2.794464)'))) / (select extract(epoch from '2026-07-25 08:02:47'::timestamp) - extract(epoch from '2026-07-25 08:02: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'), 47837, 'SRID=4674;POINT (-40.323366 -2.794471)', '2026-07-25 08:02:48', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323337 -2.794464)'), GeomFromEWKT('SRID=4674;POINT (-40.323366 -2.794471)'))) / (select extract(epoch from '2026-07-25 08:02:48'::timestamp) - extract(epoch from '2026-07-25 08:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323337 -2.794464)'), GeomFromEWKT('SRID=4674;POINT (-40.323366 -2.794471)'))) / (select extract(epoch from '2026-07-25 08:02:48'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.323552 -2.7945)', '2026-07-25 08:02:55', -5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323366 -2.794471)'), GeomFromEWKT('SRID=4674;POINT (-40.323552 -2.7945)'))) / (select extract(epoch from '2026-07-25 08:02:55'::timestamp) - extract(epoch from '2026-07-25 08:02:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323366 -2.794471)'), GeomFromEWKT('SRID=4674;POINT (-40.323552 -2.7945)'))) / (select extract(epoch from '2026-07-25 08:02:55'::timestamp) - extract(epoch from '2026-07-25 08:02:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.323749 -2.794552)', '2026-07-25 08:03:03', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323552 -2.7945)'), GeomFromEWKT('SRID=4674;POINT (-40.323749 -2.794552)'))) / (select extract(epoch from '2026-07-25 08:03:03'::timestamp) - extract(epoch from '2026-07-25 08:02:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323552 -2.7945)'), GeomFromEWKT('SRID=4674;POINT (-40.323749 -2.794552)'))) / (select extract(epoch from '2026-07-25 08:03:03'::timestamp) - extract(epoch from '2026-07-25 08:02: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'), 47837, 'SRID=4674;POINT (-40.323775 -2.794558)', '2026-07-25 08:03:04', -5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323749 -2.794552)'), GeomFromEWKT('SRID=4674;POINT (-40.323775 -2.794558)'))) / (select extract(epoch from '2026-07-25 08:03:04'::timestamp) - extract(epoch from '2026-07-25 08:03:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323749 -2.794552)'), GeomFromEWKT('SRID=4674;POINT (-40.323775 -2.794558)'))) / (select extract(epoch from '2026-07-25 08:03:04'::timestamp) - extract(epoch from '2026-07-25 08:03: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'), 47837, 'SRID=4674;POINT (-40.323966 -2.794593)', '2026-07-25 08:03:11', -4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323775 -2.794558)'), GeomFromEWKT('SRID=4674;POINT (-40.323966 -2.794593)'))) / (select extract(epoch from '2026-07-25 08:03:11'::timestamp) - extract(epoch from '2026-07-25 08:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323775 -2.794558)'), GeomFromEWKT('SRID=4674;POINT (-40.323966 -2.794593)'))) / (select extract(epoch from '2026-07-25 08:03:11'::timestamp) - extract(epoch from '2026-07-25 08:03: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'), 47837, 'SRID=4674;POINT (-40.324076 -2.794596)', '2026-07-25 08:03:15', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323966 -2.794593)'), GeomFromEWKT('SRID=4674;POINT (-40.324076 -2.794596)'))) / (select extract(epoch from '2026-07-25 08:03:15'::timestamp) - extract(epoch from '2026-07-25 08:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323966 -2.794593)'), GeomFromEWKT('SRID=4674;POINT (-40.324076 -2.794596)'))) / (select extract(epoch from '2026-07-25 08:03:15'::timestamp) - extract(epoch from '2026-07-25 08:03: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'), 47837, 'SRID=4674;POINT (-40.324256 -2.794618)', '2026-07-25 08:03:22', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324076 -2.794596)'), GeomFromEWKT('SRID=4674;POINT (-40.324256 -2.794618)'))) / (select extract(epoch from '2026-07-25 08:03:22'::timestamp) - extract(epoch from '2026-07-25 08:03:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324076 -2.794596)'), GeomFromEWKT('SRID=4674;POINT (-40.324256 -2.794618)'))) / (select extract(epoch from '2026-07-25 08:03:22'::timestamp) - extract(epoch from '2026-07-25 08:03: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'), 47837, 'SRID=4674;POINT (-40.324332 -2.794626)', '2026-07-25 08:03:25', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324256 -2.794618)'), GeomFromEWKT('SRID=4674;POINT (-40.324332 -2.794626)'))) / (select extract(epoch from '2026-07-25 08:03:25'::timestamp) - extract(epoch from '2026-07-25 08:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324256 -2.794618)'), GeomFromEWKT('SRID=4674;POINT (-40.324332 -2.794626)'))) / (select extract(epoch from '2026-07-25 08:03:25'::timestamp) - extract(epoch from '2026-07-25 08:03: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'), 47837, 'SRID=4674;POINT (-40.324521 -2.794644)', '2026-07-25 08:03:32', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324332 -2.794626)'), GeomFromEWKT('SRID=4674;POINT (-40.324521 -2.794644)'))) / (select extract(epoch from '2026-07-25 08:03:32'::timestamp) - extract(epoch from '2026-07-25 08:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324332 -2.794626)'), GeomFromEWKT('SRID=4674;POINT (-40.324521 -2.794644)'))) / (select extract(epoch from '2026-07-25 08:03:32'::timestamp) - extract(epoch from '2026-07-25 08:03: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'), 47837, 'SRID=4674;POINT (-40.324574 -2.794647)', '2026-07-25 08:03:34', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324521 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.324574 -2.794647)'))) / (select extract(epoch from '2026-07-25 08:03:34'::timestamp) - extract(epoch from '2026-07-25 08:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324521 -2.794644)'), GeomFromEWKT('SRID=4674;POINT (-40.324574 -2.794647)'))) / (select extract(epoch from '2026-07-25 08:03:34'::timestamp) - extract(epoch from '2026-07-25 08:03: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'), 47837, 'SRID=4674;POINT (-40.324756 -2.794652)', '2026-07-25 08:03:41', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324574 -2.794647)'), GeomFromEWKT('SRID=4674;POINT (-40.324756 -2.794652)'))) / (select extract(epoch from '2026-07-25 08:03:41'::timestamp) - extract(epoch from '2026-07-25 08:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324574 -2.794647)'), GeomFromEWKT('SRID=4674;POINT (-40.324756 -2.794652)'))) / (select extract(epoch from '2026-07-25 08:03:41'::timestamp) - extract(epoch from '2026-07-25 08:03:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.324831 -2.794656)', '2026-07-25 08:03:44', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324756 -2.794652)'), GeomFromEWKT('SRID=4674;POINT (-40.324831 -2.794656)'))) / (select extract(epoch from '2026-07-25 08:03:44'::timestamp) - extract(epoch from '2026-07-25 08:03:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324756 -2.794652)'), GeomFromEWKT('SRID=4674;POINT (-40.324831 -2.794656)'))) / (select extract(epoch from '2026-07-25 08:03:44'::timestamp) - extract(epoch from '2026-07-25 08:03: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'), 47837, 'SRID=4674;POINT (-40.325016 -2.794665)', '2026-07-25 08:03:51', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324831 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.325016 -2.794665)'))) / (select extract(epoch from '2026-07-25 08:03:51'::timestamp) - extract(epoch from '2026-07-25 08:03:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324831 -2.794656)'), GeomFromEWKT('SRID=4674;POINT (-40.325016 -2.794665)'))) / (select extract(epoch from '2026-07-25 08:03:51'::timestamp) - extract(epoch from '2026-07-25 08:03:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.325066 -2.794669)', '2026-07-25 08:03:53', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325016 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.325066 -2.794669)'))) / (select extract(epoch from '2026-07-25 08:03:53'::timestamp) - extract(epoch from '2026-07-25 08:03:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325016 -2.794665)'), GeomFromEWKT('SRID=4674;POINT (-40.325066 -2.794669)'))) / (select extract(epoch from '2026-07-25 08:03:53'::timestamp) - extract(epoch from '2026-07-25 08:03: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'), 47837, 'SRID=4674;POINT (-40.325245 -2.79469)', '2026-07-25 08:04:00', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325066 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.325245 -2.79469)'))) / (select extract(epoch from '2026-07-25 08:04:00'::timestamp) - extract(epoch from '2026-07-25 08:03:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325066 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.325245 -2.79469)'))) / (select extract(epoch from '2026-07-25 08:04:00'::timestamp) - extract(epoch from '2026-07-25 08:03: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'), 47837, 'SRID=4674;POINT (-40.325354 -2.794705)', '2026-07-25 08:04:04', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325245 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.325354 -2.794705)'))) / (select extract(epoch from '2026-07-25 08:04:04'::timestamp) - extract(epoch from '2026-07-25 08:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325245 -2.79469)'), GeomFromEWKT('SRID=4674;POINT (-40.325354 -2.794705)'))) / (select extract(epoch from '2026-07-25 08:04:04'::timestamp) - extract(epoch from '2026-07-25 08:04: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'), 47837, 'SRID=4674;POINT (-40.325536 -2.794729)', '2026-07-25 08:04:11', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325354 -2.794705)'), GeomFromEWKT('SRID=4674;POINT (-40.325536 -2.794729)'))) / (select extract(epoch from '2026-07-25 08:04:11'::timestamp) - extract(epoch from '2026-07-25 08:04:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325354 -2.794705)'), GeomFromEWKT('SRID=4674;POINT (-40.325536 -2.794729)'))) / (select extract(epoch from '2026-07-25 08:04:11'::timestamp) - extract(epoch from '2026-07-25 08:04: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'), 47837, 'SRID=4674;POINT (-40.325588 -2.794732)', '2026-07-25 08:04:13', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325536 -2.794729)'), GeomFromEWKT('SRID=4674;POINT (-40.325588 -2.794732)'))) / (select extract(epoch from '2026-07-25 08:04:13'::timestamp) - extract(epoch from '2026-07-25 08:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325536 -2.794729)'), GeomFromEWKT('SRID=4674;POINT (-40.325588 -2.794732)'))) / (select extract(epoch from '2026-07-25 08:04:13'::timestamp) - extract(epoch from '2026-07-25 08:04:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.325767 -2.794733)', '2026-07-25 08:04:20', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325588 -2.794732)'), GeomFromEWKT('SRID=4674;POINT (-40.325767 -2.794733)'))) / (select extract(epoch from '2026-07-25 08:04:20'::timestamp) - extract(epoch from '2026-07-25 08:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325588 -2.794732)'), GeomFromEWKT('SRID=4674;POINT (-40.325767 -2.794733)'))) / (select extract(epoch from '2026-07-25 08:04:20'::timestamp) - extract(epoch from '2026-07-25 08:04: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'), 47837, 'SRID=4674;POINT (-40.325958 -2.794746)', '2026-07-25 08:04:27', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325767 -2.794733)'), GeomFromEWKT('SRID=4674;POINT (-40.325958 -2.794746)'))) / (select extract(epoch from '2026-07-25 08:04:27'::timestamp) - extract(epoch from '2026-07-25 08:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325767 -2.794733)'), GeomFromEWKT('SRID=4674;POINT (-40.325958 -2.794746)'))) / (select extract(epoch from '2026-07-25 08:04:27'::timestamp) - extract(epoch from '2026-07-25 08:04:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.32606 -2.794755)', '2026-07-25 08:04:31', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325958 -2.794746)'), GeomFromEWKT('SRID=4674;POINT (-40.32606 -2.794755)'))) / (select extract(epoch from '2026-07-25 08:04:31'::timestamp) - extract(epoch from '2026-07-25 08:04:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325958 -2.794746)'), GeomFromEWKT('SRID=4674;POINT (-40.32606 -2.794755)'))) / (select extract(epoch from '2026-07-25 08:04:31'::timestamp) - extract(epoch from '2026-07-25 08:04:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.326249 -2.794779)', '2026-07-25 08:04:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32606 -2.794755)'), GeomFromEWKT('SRID=4674;POINT (-40.326249 -2.794779)'))) / (select extract(epoch from '2026-07-25 08:04:38'::timestamp) - extract(epoch from '2026-07-25 08:04:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32606 -2.794755)'), GeomFromEWKT('SRID=4674;POINT (-40.326249 -2.794779)'))) / (select extract(epoch from '2026-07-25 08:04:38'::timestamp) - extract(epoch from '2026-07-25 08:04:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.326304 -2.794782)', '2026-07-25 08:04:40', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326249 -2.794779)'), GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.794782)'))) / (select extract(epoch from '2026-07-25 08:04:40'::timestamp) - extract(epoch from '2026-07-25 08:04:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326249 -2.794779)'), GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.794782)'))) / (select extract(epoch from '2026-07-25 08:04:40'::timestamp) - extract(epoch from '2026-07-25 08:04:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.326493 -2.794806)', '2026-07-25 08:04:47', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.794782)'), GeomFromEWKT('SRID=4674;POINT (-40.326493 -2.794806)'))) / (select extract(epoch from '2026-07-25 08:04:47'::timestamp) - extract(epoch from '2026-07-25 08:04:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.794782)'), GeomFromEWKT('SRID=4674;POINT (-40.326493 -2.794806)'))) / (select extract(epoch from '2026-07-25 08:04:47'::timestamp) - extract(epoch from '2026-07-25 08:04: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'), 47837, 'SRID=4674;POINT (-40.326519 -2.794806)', '2026-07-25 08:04:48', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326493 -2.794806)'), GeomFromEWKT('SRID=4674;POINT (-40.326519 -2.794806)'))) / (select extract(epoch from '2026-07-25 08:04:48'::timestamp) - extract(epoch from '2026-07-25 08:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326493 -2.794806)'), GeomFromEWKT('SRID=4674;POINT (-40.326519 -2.794806)'))) / (select extract(epoch from '2026-07-25 08:04:48'::timestamp) - extract(epoch from '2026-07-25 08:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.326702 -2.794823)', '2026-07-25 08:04:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326519 -2.794806)'), GeomFromEWKT('SRID=4674;POINT (-40.326702 -2.794823)'))) / (select extract(epoch from '2026-07-25 08:04:55'::timestamp) - extract(epoch from '2026-07-25 08:04:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326519 -2.794806)'), GeomFromEWKT('SRID=4674;POINT (-40.326702 -2.794823)'))) / (select extract(epoch from '2026-07-25 08:04:55'::timestamp) - extract(epoch from '2026-07-25 08:04:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.326904 -2.794848)', '2026-07-25 08:05:03', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326702 -2.794823)'), GeomFromEWKT('SRID=4674;POINT (-40.326904 -2.794848)'))) / (select extract(epoch from '2026-07-25 08:05:03'::timestamp) - extract(epoch from '2026-07-25 08:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326702 -2.794823)'), GeomFromEWKT('SRID=4674;POINT (-40.326904 -2.794848)'))) / (select extract(epoch from '2026-07-25 08:05:03'::timestamp) - extract(epoch from '2026-07-25 08:04: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'), 47837, 'SRID=4674;POINT (-40.326931 -2.794853)', '2026-07-25 08:05:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326904 -2.794848)'), GeomFromEWKT('SRID=4674;POINT (-40.326931 -2.794853)'))) / (select extract(epoch from '2026-07-25 08:05:04'::timestamp) - extract(epoch from '2026-07-25 08:05:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326904 -2.794848)'), GeomFromEWKT('SRID=4674;POINT (-40.326931 -2.794853)'))) / (select extract(epoch from '2026-07-25 08:05:04'::timestamp) - extract(epoch from '2026-07-25 08:05:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.327113 -2.794883)', '2026-07-25 08:05:11', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326931 -2.794853)'), GeomFromEWKT('SRID=4674;POINT (-40.327113 -2.794883)'))) / (select extract(epoch from '2026-07-25 08:05:11'::timestamp) - extract(epoch from '2026-07-25 08:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326931 -2.794853)'), GeomFromEWKT('SRID=4674;POINT (-40.327113 -2.794883)'))) / (select extract(epoch from '2026-07-25 08:05:11'::timestamp) - extract(epoch from '2026-07-25 08:05:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.32714 -2.794887)', '2026-07-25 08:05:12', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327113 -2.794883)'), GeomFromEWKT('SRID=4674;POINT (-40.32714 -2.794887)'))) / (select extract(epoch from '2026-07-25 08:05:12'::timestamp) - extract(epoch from '2026-07-25 08:05:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327113 -2.794883)'), GeomFromEWKT('SRID=4674;POINT (-40.32714 -2.794887)'))) / (select extract(epoch from '2026-07-25 08:05:12'::timestamp) - extract(epoch from '2026-07-25 08:05:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.327325 -2.794909)', '2026-07-25 08:05:19', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32714 -2.794887)'), GeomFromEWKT('SRID=4674;POINT (-40.327325 -2.794909)'))) / (select extract(epoch from '2026-07-25 08:05:19'::timestamp) - extract(epoch from '2026-07-25 08:05:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32714 -2.794887)'), GeomFromEWKT('SRID=4674;POINT (-40.327325 -2.794909)'))) / (select extract(epoch from '2026-07-25 08:05:19'::timestamp) - extract(epoch from '2026-07-25 08:05: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'), 47837, 'SRID=4674;POINT (-40.327512 -2.794914)', '2026-07-25 08:05:26', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327325 -2.794909)'), GeomFromEWKT('SRID=4674;POINT (-40.327512 -2.794914)'))) / (select extract(epoch from '2026-07-25 08:05:26'::timestamp) - extract(epoch from '2026-07-25 08:05:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327325 -2.794909)'), GeomFromEWKT('SRID=4674;POINT (-40.327512 -2.794914)'))) / (select extract(epoch from '2026-07-25 08:05:26'::timestamp) - extract(epoch from '2026-07-25 08:05: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'), 47837, 'SRID=4674;POINT (-40.32754 -2.794918)', '2026-07-25 08:05:27', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327512 -2.794914)'), GeomFromEWKT('SRID=4674;POINT (-40.32754 -2.794918)'))) / (select extract(epoch from '2026-07-25 08:05:27'::timestamp) - extract(epoch from '2026-07-25 08:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327512 -2.794914)'), GeomFromEWKT('SRID=4674;POINT (-40.32754 -2.794918)'))) / (select extract(epoch from '2026-07-25 08:05:27'::timestamp) - extract(epoch from '2026-07-25 08:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.327723 -2.794928)', '2026-07-25 08:05:34', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32754 -2.794918)'), GeomFromEWKT('SRID=4674;POINT (-40.327723 -2.794928)'))) / (select extract(epoch from '2026-07-25 08:05:34'::timestamp) - extract(epoch from '2026-07-25 08:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32754 -2.794918)'), GeomFromEWKT('SRID=4674;POINT (-40.327723 -2.794928)'))) / (select extract(epoch from '2026-07-25 08:05:34'::timestamp) - extract(epoch from '2026-07-25 08:05: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'), 47837, 'SRID=4674;POINT (-40.327908 -2.794946)', '2026-07-25 08:05:41', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327723 -2.794928)'), GeomFromEWKT('SRID=4674;POINT (-40.327908 -2.794946)'))) / (select extract(epoch from '2026-07-25 08:05:41'::timestamp) - extract(epoch from '2026-07-25 08:05:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327723 -2.794928)'), GeomFromEWKT('SRID=4674;POINT (-40.327908 -2.794946)'))) / (select extract(epoch from '2026-07-25 08:05:41'::timestamp) - extract(epoch from '2026-07-25 08:05:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.327961 -2.794949)', '2026-07-25 08:05:43', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327908 -2.794946)'), GeomFromEWKT('SRID=4674;POINT (-40.327961 -2.794949)'))) / (select extract(epoch from '2026-07-25 08:05:43'::timestamp) - extract(epoch from '2026-07-25 08:05:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327908 -2.794946)'), GeomFromEWKT('SRID=4674;POINT (-40.327961 -2.794949)'))) / (select extract(epoch from '2026-07-25 08:05:43'::timestamp) - extract(epoch from '2026-07-25 08:05: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'), 47837, 'SRID=4674;POINT (-40.328137 -2.794954)', '2026-07-25 08:05:50', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327961 -2.794949)'), GeomFromEWKT('SRID=4674;POINT (-40.328137 -2.794954)'))) / (select extract(epoch from '2026-07-25 08:05:50'::timestamp) - extract(epoch from '2026-07-25 08:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327961 -2.794949)'), GeomFromEWKT('SRID=4674;POINT (-40.328137 -2.794954)'))) / (select extract(epoch from '2026-07-25 08:05:50'::timestamp) - extract(epoch from '2026-07-25 08:05:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.328332 -2.79497)', '2026-07-25 08:05:57', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328137 -2.794954)'), GeomFromEWKT('SRID=4674;POINT (-40.328332 -2.79497)'))) / (select extract(epoch from '2026-07-25 08:05:57'::timestamp) - extract(epoch from '2026-07-25 08:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328137 -2.794954)'), GeomFromEWKT('SRID=4674;POINT (-40.328332 -2.79497)'))) / (select extract(epoch from '2026-07-25 08:05:57'::timestamp) - extract(epoch from '2026-07-25 08:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.328464 -2.794974)', '2026-07-25 08:06:02', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328332 -2.79497)'), GeomFromEWKT('SRID=4674;POINT (-40.328464 -2.794974)'))) / (select extract(epoch from '2026-07-25 08:06:02'::timestamp) - extract(epoch from '2026-07-25 08:05:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328332 -2.79497)'), GeomFromEWKT('SRID=4674;POINT (-40.328464 -2.794974)'))) / (select extract(epoch from '2026-07-25 08:06:02'::timestamp) - extract(epoch from '2026-07-25 08:05: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'), 47837, 'SRID=4674;POINT (-40.328658 -2.794982)', '2026-07-25 08:06:09', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328464 -2.794974)'), GeomFromEWKT('SRID=4674;POINT (-40.328658 -2.794982)'))) / (select extract(epoch from '2026-07-25 08:06:09'::timestamp) - extract(epoch from '2026-07-25 08:06:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328464 -2.794974)'), GeomFromEWKT('SRID=4674;POINT (-40.328658 -2.794982)'))) / (select extract(epoch from '2026-07-25 08:06:09'::timestamp) - extract(epoch from '2026-07-25 08:06:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.328683 -2.794977)', '2026-07-25 08:06:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328658 -2.794982)'), GeomFromEWKT('SRID=4674;POINT (-40.328683 -2.794977)'))) / (select extract(epoch from '2026-07-25 08:06:10'::timestamp) - extract(epoch from '2026-07-25 08:06:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328658 -2.794982)'), GeomFromEWKT('SRID=4674;POINT (-40.328683 -2.794977)'))) / (select extract(epoch from '2026-07-25 08:06:10'::timestamp) - extract(epoch from '2026-07-25 08:06:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.328883 -2.79496)', '2026-07-25 08:06:18', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328683 -2.794977)'), GeomFromEWKT('SRID=4674;POINT (-40.328883 -2.79496)'))) / (select extract(epoch from '2026-07-25 08:06:18'::timestamp) - extract(epoch from '2026-07-25 08:06:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328683 -2.794977)'), GeomFromEWKT('SRID=4674;POINT (-40.328883 -2.79496)'))) / (select extract(epoch from '2026-07-25 08:06:18'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.328936 -2.794962)', '2026-07-25 08:06:20', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328883 -2.79496)'), GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.794962)'))) / (select extract(epoch from '2026-07-25 08:06:20'::timestamp) - extract(epoch from '2026-07-25 08:06:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328883 -2.79496)'), GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.794962)'))) / (select extract(epoch from '2026-07-25 08:06:20'::timestamp) - extract(epoch from '2026-07-25 08:06:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.329129 -2.794996)', '2026-07-25 08:06:28', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.794962)'), GeomFromEWKT('SRID=4674;POINT (-40.329129 -2.794996)'))) / (select extract(epoch from '2026-07-25 08:06:28'::timestamp) - extract(epoch from '2026-07-25 08:06:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328936 -2.794962)'), GeomFromEWKT('SRID=4674;POINT (-40.329129 -2.794996)'))) / (select extract(epoch from '2026-07-25 08:06:28'::timestamp) - extract(epoch from '2026-07-25 08:06:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.329157 -2.795001)', '2026-07-25 08:06:29', -5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329129 -2.794996)'), GeomFromEWKT('SRID=4674;POINT (-40.329157 -2.795001)'))) / (select extract(epoch from '2026-07-25 08:06:29'::timestamp) - extract(epoch from '2026-07-25 08:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329129 -2.794996)'), GeomFromEWKT('SRID=4674;POINT (-40.329157 -2.795001)'))) / (select extract(epoch from '2026-07-25 08:06:29'::timestamp) - extract(epoch from '2026-07-25 08:06: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'), 47837, 'SRID=4674;POINT (-40.329347 -2.795037)', '2026-07-25 08:06:36', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329157 -2.795001)'), GeomFromEWKT('SRID=4674;POINT (-40.329347 -2.795037)'))) / (select extract(epoch from '2026-07-25 08:06:36'::timestamp) - extract(epoch from '2026-07-25 08:06:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329157 -2.795001)'), GeomFromEWKT('SRID=4674;POINT (-40.329347 -2.795037)'))) / (select extract(epoch from '2026-07-25 08:06:36'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.329399 -2.795044)', '2026-07-25 08:06:38', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329347 -2.795037)'), GeomFromEWKT('SRID=4674;POINT (-40.329399 -2.795044)'))) / (select extract(epoch from '2026-07-25 08:06:38'::timestamp) - extract(epoch from '2026-07-25 08:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329347 -2.795037)'), GeomFromEWKT('SRID=4674;POINT (-40.329399 -2.795044)'))) / (select extract(epoch from '2026-07-25 08:06:38'::timestamp) - extract(epoch from '2026-07-25 08:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.329583 -2.795072)', '2026-07-25 08:06:45', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329399 -2.795044)'), GeomFromEWKT('SRID=4674;POINT (-40.329583 -2.795072)'))) / (select extract(epoch from '2026-07-25 08:06:45'::timestamp) - extract(epoch from '2026-07-25 08:06:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329399 -2.795044)'), GeomFromEWKT('SRID=4674;POINT (-40.329583 -2.795072)'))) / (select extract(epoch from '2026-07-25 08:06:45'::timestamp) - extract(epoch from '2026-07-25 08:06:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.329608 -2.795077)', '2026-07-25 08:06:46', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329583 -2.795072)'), GeomFromEWKT('SRID=4674;POINT (-40.329608 -2.795077)'))) / (select extract(epoch from '2026-07-25 08:06:46'::timestamp) - extract(epoch from '2026-07-25 08:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329583 -2.795072)'), GeomFromEWKT('SRID=4674;POINT (-40.329608 -2.795077)'))) / (select extract(epoch from '2026-07-25 08:06:46'::timestamp) - extract(epoch from '2026-07-25 08:06:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.329791 -2.795122)', '2026-07-25 08:06:53', -4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329608 -2.795077)'), GeomFromEWKT('SRID=4674;POINT (-40.329791 -2.795122)'))) / (select extract(epoch from '2026-07-25 08:06:53'::timestamp) - extract(epoch from '2026-07-25 08:06:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329608 -2.795077)'), GeomFromEWKT('SRID=4674;POINT (-40.329791 -2.795122)'))) / (select extract(epoch from '2026-07-25 08:06:53'::timestamp) - extract(epoch from '2026-07-25 08:06:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.329842 -2.795131)', '2026-07-25 08:06:55', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329791 -2.795122)'), GeomFromEWKT('SRID=4674;POINT (-40.329842 -2.795131)'))) / (select extract(epoch from '2026-07-25 08:06:55'::timestamp) - extract(epoch from '2026-07-25 08:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329791 -2.795122)'), GeomFromEWKT('SRID=4674;POINT (-40.329842 -2.795131)'))) / (select extract(epoch from '2026-07-25 08:06:55'::timestamp) - extract(epoch from '2026-07-25 08:06:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.330029 -2.795179)', '2026-07-25 08:07:02', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329842 -2.795131)'), GeomFromEWKT('SRID=4674;POINT (-40.330029 -2.795179)'))) / (select extract(epoch from '2026-07-25 08:07:02'::timestamp) - extract(epoch from '2026-07-25 08:06:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329842 -2.795131)'), GeomFromEWKT('SRID=4674;POINT (-40.330029 -2.795179)'))) / (select extract(epoch from '2026-07-25 08:07:02'::timestamp) - extract(epoch from '2026-07-25 08:06: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'), 47837, 'SRID=4674;POINT (-40.330054 -2.795188)', '2026-07-25 08:07:03', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330029 -2.795179)'), GeomFromEWKT('SRID=4674;POINT (-40.330054 -2.795188)'))) / (select extract(epoch from '2026-07-25 08:07:03'::timestamp) - extract(epoch from '2026-07-25 08:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330029 -2.795179)'), GeomFromEWKT('SRID=4674;POINT (-40.330054 -2.795188)'))) / (select extract(epoch from '2026-07-25 08:07:03'::timestamp) - extract(epoch from '2026-07-25 08:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.330244 -2.795246)', '2026-07-25 08:07:10', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330054 -2.795188)'), GeomFromEWKT('SRID=4674;POINT (-40.330244 -2.795246)'))) / (select extract(epoch from '2026-07-25 08:07:10'::timestamp) - extract(epoch from '2026-07-25 08:07:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330054 -2.795188)'), GeomFromEWKT('SRID=4674;POINT (-40.330244 -2.795246)'))) / (select extract(epoch from '2026-07-25 08:07:10'::timestamp) - extract(epoch from '2026-07-25 08:07:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.33027 -2.795253)', '2026-07-25 08:07:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330244 -2.795246)'), GeomFromEWKT('SRID=4674;POINT (-40.33027 -2.795253)'))) / (select extract(epoch from '2026-07-25 08:07:11'::timestamp) - extract(epoch from '2026-07-25 08:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330244 -2.795246)'), GeomFromEWKT('SRID=4674;POINT (-40.33027 -2.795253)'))) / (select extract(epoch from '2026-07-25 08:07:11'::timestamp) - extract(epoch from '2026-07-25 08:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.330441 -2.795317)', '2026-07-25 08:07:18', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33027 -2.795253)'), GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.795317)'))) / (select extract(epoch from '2026-07-25 08:07:18'::timestamp) - extract(epoch from '2026-07-25 08:07:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33027 -2.795253)'), GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.795317)'))) / (select extract(epoch from '2026-07-25 08:07:18'::timestamp) - extract(epoch from '2026-07-25 08:07:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.330489 -2.795336)', '2026-07-25 08:07:20', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.795317)'), GeomFromEWKT('SRID=4674;POINT (-40.330489 -2.795336)'))) / (select extract(epoch from '2026-07-25 08:07:20'::timestamp) - extract(epoch from '2026-07-25 08:07:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330441 -2.795317)'), GeomFromEWKT('SRID=4674;POINT (-40.330489 -2.795336)'))) / (select extract(epoch from '2026-07-25 08:07:20'::timestamp) - extract(epoch from '2026-07-25 08:07: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'), 47837, 'SRID=4674;POINT (-40.330664 -2.795412)', '2026-07-25 08:07:27', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330489 -2.795336)'), GeomFromEWKT('SRID=4674;POINT (-40.330664 -2.795412)'))) / (select extract(epoch from '2026-07-25 08:07:27'::timestamp) - extract(epoch from '2026-07-25 08:07:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330489 -2.795336)'), GeomFromEWKT('SRID=4674;POINT (-40.330664 -2.795412)'))) / (select extract(epoch from '2026-07-25 08:07:27'::timestamp) - extract(epoch from '2026-07-25 08:07:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.330694 -2.795421)', '2026-07-25 08:07:28', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330664 -2.795412)'), GeomFromEWKT('SRID=4674;POINT (-40.330694 -2.795421)'))) / (select extract(epoch from '2026-07-25 08:07:28'::timestamp) - extract(epoch from '2026-07-25 08:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330664 -2.795412)'), GeomFromEWKT('SRID=4674;POINT (-40.330694 -2.795421)'))) / (select extract(epoch from '2026-07-25 08:07:28'::timestamp) - extract(epoch from '2026-07-25 08:07: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'), 47837, 'SRID=4674;POINT (-40.330871 -2.795459)', '2026-07-25 08:07:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330694 -2.795421)'), GeomFromEWKT('SRID=4674;POINT (-40.330871 -2.795459)'))) / (select extract(epoch from '2026-07-25 08:07:35'::timestamp) - extract(epoch from '2026-07-25 08:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330694 -2.795421)'), GeomFromEWKT('SRID=4674;POINT (-40.330871 -2.795459)'))) / (select extract(epoch from '2026-07-25 08:07:35'::timestamp) - extract(epoch from '2026-07-25 08:07: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'), 47837, 'SRID=4674;POINT (-40.331045 -2.795516)', '2026-07-25 08:07:42', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330871 -2.795459)'), GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.795516)'))) / (select extract(epoch from '2026-07-25 08:07:42'::timestamp) - extract(epoch from '2026-07-25 08:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330871 -2.795459)'), GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.795516)'))) / (select extract(epoch from '2026-07-25 08:07:42'::timestamp) - extract(epoch from '2026-07-25 08:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.331094 -2.795533)', '2026-07-25 08:07:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.795516)'), GeomFromEWKT('SRID=4674;POINT (-40.331094 -2.795533)'))) / (select extract(epoch from '2026-07-25 08:07:44'::timestamp) - extract(epoch from '2026-07-25 08:07:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331045 -2.795516)'), GeomFromEWKT('SRID=4674;POINT (-40.331094 -2.795533)'))) / (select extract(epoch from '2026-07-25 08:07:44'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.331285 -2.79557)', '2026-07-25 08:07:51', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331094 -2.795533)'), GeomFromEWKT('SRID=4674;POINT (-40.331285 -2.79557)'))) / (select extract(epoch from '2026-07-25 08:07:51'::timestamp) - extract(epoch from '2026-07-25 08:07:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331094 -2.795533)'), GeomFromEWKT('SRID=4674;POINT (-40.331285 -2.79557)'))) / (select extract(epoch from '2026-07-25 08:07:51'::timestamp) - extract(epoch from '2026-07-25 08:07: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'), 47837, 'SRID=4674;POINT (-40.331369 -2.795577)', '2026-07-25 08:07:54', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331285 -2.79557)'), GeomFromEWKT('SRID=4674;POINT (-40.331369 -2.795577)'))) / (select extract(epoch from '2026-07-25 08:07:54'::timestamp) - extract(epoch from '2026-07-25 08:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331285 -2.79557)'), GeomFromEWKT('SRID=4674;POINT (-40.331369 -2.795577)'))) / (select extract(epoch from '2026-07-25 08:07:54'::timestamp) - extract(epoch from '2026-07-25 08:07: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'), 47837, 'SRID=4674;POINT (-40.331556 -2.795586)', '2026-07-25 08:08:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331369 -2.795577)'), GeomFromEWKT('SRID=4674;POINT (-40.331556 -2.795586)'))) / (select extract(epoch from '2026-07-25 08:08:01'::timestamp) - extract(epoch from '2026-07-25 08:07:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331369 -2.795577)'), GeomFromEWKT('SRID=4674;POINT (-40.331556 -2.795586)'))) / (select extract(epoch from '2026-07-25 08:08:01'::timestamp) - extract(epoch from '2026-07-25 08:07:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.331632 -2.795588)', '2026-07-25 08:08:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331556 -2.795586)'), GeomFromEWKT('SRID=4674;POINT (-40.331632 -2.795588)'))) / (select extract(epoch from '2026-07-25 08:08:04'::timestamp) - extract(epoch from '2026-07-25 08:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331556 -2.795586)'), GeomFromEWKT('SRID=4674;POINT (-40.331632 -2.795588)'))) / (select extract(epoch from '2026-07-25 08:08:04'::timestamp) - extract(epoch from '2026-07-25 08:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.331814 -2.795591)', '2026-07-25 08:08:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331632 -2.795588)'), GeomFromEWKT('SRID=4674;POINT (-40.331814 -2.795591)'))) / (select extract(epoch from '2026-07-25 08:08:11'::timestamp) - extract(epoch from '2026-07-25 08:08:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331632 -2.795588)'), GeomFromEWKT('SRID=4674;POINT (-40.331814 -2.795591)'))) / (select extract(epoch from '2026-07-25 08:08:11'::timestamp) - extract(epoch from '2026-07-25 08:08: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'), 47837, 'SRID=4674;POINT (-40.331896 -2.795585)', '2026-07-25 08:08:14', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331814 -2.795591)'), GeomFromEWKT('SRID=4674;POINT (-40.331896 -2.795585)'))) / (select extract(epoch from '2026-07-25 08:08:14'::timestamp) - extract(epoch from '2026-07-25 08:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331814 -2.795591)'), GeomFromEWKT('SRID=4674;POINT (-40.331896 -2.795585)'))) / (select extract(epoch from '2026-07-25 08:08:14'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.332083 -2.795585)', '2026-07-25 08:08:21', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331896 -2.795585)'), GeomFromEWKT('SRID=4674;POINT (-40.332083 -2.795585)'))) / (select extract(epoch from '2026-07-25 08:08:21'::timestamp) - extract(epoch from '2026-07-25 08:08:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331896 -2.795585)'), GeomFromEWKT('SRID=4674;POINT (-40.332083 -2.795585)'))) / (select extract(epoch from '2026-07-25 08:08:21'::timestamp) - extract(epoch from '2026-07-25 08:08:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.332111 -2.795586)', '2026-07-25 08:08:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332083 -2.795585)'), GeomFromEWKT('SRID=4674;POINT (-40.332111 -2.795586)'))) / (select extract(epoch from '2026-07-25 08:08:22'::timestamp) - extract(epoch from '2026-07-25 08:08:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332083 -2.795585)'), GeomFromEWKT('SRID=4674;POINT (-40.332111 -2.795586)'))) / (select extract(epoch from '2026-07-25 08:08:22'::timestamp) - extract(epoch from '2026-07-25 08:08:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.332291 -2.795568)', '2026-07-25 08:08:29', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332111 -2.795586)'), GeomFromEWKT('SRID=4674;POINT (-40.332291 -2.795568)'))) / (select extract(epoch from '2026-07-25 08:08:29'::timestamp) - extract(epoch from '2026-07-25 08:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332111 -2.795586)'), GeomFromEWKT('SRID=4674;POINT (-40.332291 -2.795568)'))) / (select extract(epoch from '2026-07-25 08:08:29'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.332372 -2.795556)', '2026-07-25 08:08:32', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332291 -2.795568)'), GeomFromEWKT('SRID=4674;POINT (-40.332372 -2.795556)'))) / (select extract(epoch from '2026-07-25 08:08:32'::timestamp) - extract(epoch from '2026-07-25 08:08:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332291 -2.795568)'), GeomFromEWKT('SRID=4674;POINT (-40.332372 -2.795556)'))) / (select extract(epoch from '2026-07-25 08:08:32'::timestamp) - extract(epoch from '2026-07-25 08:08: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'), 47837, 'SRID=4674;POINT (-40.332562 -2.795528)', '2026-07-25 08:08:39', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332372 -2.795556)'), GeomFromEWKT('SRID=4674;POINT (-40.332562 -2.795528)'))) / (select extract(epoch from '2026-07-25 08:08:39'::timestamp) - extract(epoch from '2026-07-25 08:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332372 -2.795556)'), GeomFromEWKT('SRID=4674;POINT (-40.332562 -2.795528)'))) / (select extract(epoch from '2026-07-25 08:08:39'::timestamp) - extract(epoch from '2026-07-25 08:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.332615 -2.795526)', '2026-07-25 08:08:41', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332562 -2.795528)'), GeomFromEWKT('SRID=4674;POINT (-40.332615 -2.795526)'))) / (select extract(epoch from '2026-07-25 08:08:41'::timestamp) - extract(epoch from '2026-07-25 08:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332562 -2.795528)'), GeomFromEWKT('SRID=4674;POINT (-40.332615 -2.795526)'))) / (select extract(epoch from '2026-07-25 08:08:41'::timestamp) - extract(epoch from '2026-07-25 08:08: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'), 47837, 'SRID=4674;POINT (-40.332818 -2.795552)', '2026-07-25 08:08:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332615 -2.795526)'), GeomFromEWKT('SRID=4674;POINT (-40.332818 -2.795552)'))) / (select extract(epoch from '2026-07-25 08:08:49'::timestamp) - extract(epoch from '2026-07-25 08:08:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332615 -2.795526)'), GeomFromEWKT('SRID=4674;POINT (-40.332818 -2.795552)'))) / (select extract(epoch from '2026-07-25 08:08:49'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.332843 -2.795559)', '2026-07-25 08:08:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332818 -2.795552)'), GeomFromEWKT('SRID=4674;POINT (-40.332843 -2.795559)'))) / (select extract(epoch from '2026-07-25 08:08:50'::timestamp) - extract(epoch from '2026-07-25 08:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332818 -2.795552)'), GeomFromEWKT('SRID=4674;POINT (-40.332843 -2.795559)'))) / (select extract(epoch from '2026-07-25 08:08:50'::timestamp) - extract(epoch from '2026-07-25 08:08: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'), 47837, 'SRID=4674;POINT (-40.333046 -2.795585)', '2026-07-25 08:08:58', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332843 -2.795559)'), GeomFromEWKT('SRID=4674;POINT (-40.333046 -2.795585)'))) / (select extract(epoch from '2026-07-25 08:08:58'::timestamp) - extract(epoch from '2026-07-25 08:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332843 -2.795559)'), GeomFromEWKT('SRID=4674;POINT (-40.333046 -2.795585)'))) / (select extract(epoch from '2026-07-25 08:08:58'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.333231 -2.795584)', '2026-07-25 08:09:05', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333046 -2.795585)'), GeomFromEWKT('SRID=4674;POINT (-40.333231 -2.795584)'))) / (select extract(epoch from '2026-07-25 08:09:05'::timestamp) - extract(epoch from '2026-07-25 08:08:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333046 -2.795585)'), GeomFromEWKT('SRID=4674;POINT (-40.333231 -2.795584)'))) / (select extract(epoch from '2026-07-25 08:09:05'::timestamp) - extract(epoch from '2026-07-25 08:08: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'), 47837, 'SRID=4674;POINT (-40.333258 -2.795584)', '2026-07-25 08:09:06', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333231 -2.795584)'), GeomFromEWKT('SRID=4674;POINT (-40.333258 -2.795584)'))) / (select extract(epoch from '2026-07-25 08:09:06'::timestamp) - extract(epoch from '2026-07-25 08:09:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333231 -2.795584)'), GeomFromEWKT('SRID=4674;POINT (-40.333258 -2.795584)'))) / (select extract(epoch from '2026-07-25 08:09:06'::timestamp) - extract(epoch from '2026-07-25 08:09:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.333443 -2.795603)', '2026-07-25 08:09:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333258 -2.795584)'), GeomFromEWKT('SRID=4674;POINT (-40.333443 -2.795603)'))) / (select extract(epoch from '2026-07-25 08:09:13'::timestamp) - extract(epoch from '2026-07-25 08:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333258 -2.795584)'), GeomFromEWKT('SRID=4674;POINT (-40.333443 -2.795603)'))) / (select extract(epoch from '2026-07-25 08:09:13'::timestamp) - extract(epoch from '2026-07-25 08:09:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.333522 -2.795613)', '2026-07-25 08:09:16', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333443 -2.795603)'), GeomFromEWKT('SRID=4674;POINT (-40.333522 -2.795613)'))) / (select extract(epoch from '2026-07-25 08:09:16'::timestamp) - extract(epoch from '2026-07-25 08:09:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333443 -2.795603)'), GeomFromEWKT('SRID=4674;POINT (-40.333522 -2.795613)'))) / (select extract(epoch from '2026-07-25 08:09:16'::timestamp) - extract(epoch from '2026-07-25 08:09: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'), 47837, 'SRID=4674;POINT (-40.333702 -2.79565)', '2026-07-25 08:09:23', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333522 -2.795613)'), GeomFromEWKT('SRID=4674;POINT (-40.333702 -2.79565)'))) / (select extract(epoch from '2026-07-25 08:09:23'::timestamp) - extract(epoch from '2026-07-25 08:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333522 -2.795613)'), GeomFromEWKT('SRID=4674;POINT (-40.333702 -2.79565)'))) / (select extract(epoch from '2026-07-25 08:09:23'::timestamp) - extract(epoch from '2026-07-25 08:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.333746 -2.79567)', '2026-07-25 08:09:25', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333702 -2.79565)'), GeomFromEWKT('SRID=4674;POINT (-40.333746 -2.79567)'))) / (select extract(epoch from '2026-07-25 08:09:25'::timestamp) - extract(epoch from '2026-07-25 08:09:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333702 -2.79565)'), GeomFromEWKT('SRID=4674;POINT (-40.333746 -2.79567)'))) / (select extract(epoch from '2026-07-25 08:09:25'::timestamp) - extract(epoch from '2026-07-25 08:09:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.333914 -2.795743)', '2026-07-25 08:09:32', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333746 -2.79567)'), GeomFromEWKT('SRID=4674;POINT (-40.333914 -2.795743)'))) / (select extract(epoch from '2026-07-25 08:09:32'::timestamp) - extract(epoch from '2026-07-25 08:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333746 -2.79567)'), GeomFromEWKT('SRID=4674;POINT (-40.333914 -2.795743)'))) / (select extract(epoch from '2026-07-25 08:09:32'::timestamp) - extract(epoch from '2026-07-25 08:09:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.333984 -2.795761)', '2026-07-25 08:09:35', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333914 -2.795743)'), GeomFromEWKT('SRID=4674;POINT (-40.333984 -2.795761)'))) / (select extract(epoch from '2026-07-25 08:09:35'::timestamp) - extract(epoch from '2026-07-25 08:09:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333914 -2.795743)'), GeomFromEWKT('SRID=4674;POINT (-40.333984 -2.795761)'))) / (select extract(epoch from '2026-07-25 08:09:35'::timestamp) - extract(epoch from '2026-07-25 08:09:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.334162 -2.795815)', '2026-07-25 08:09:42', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333984 -2.795761)'), GeomFromEWKT('SRID=4674;POINT (-40.334162 -2.795815)'))) / (select extract(epoch from '2026-07-25 08:09:42'::timestamp) - extract(epoch from '2026-07-25 08:09:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333984 -2.795761)'), GeomFromEWKT('SRID=4674;POINT (-40.334162 -2.795815)'))) / (select extract(epoch from '2026-07-25 08:09:42'::timestamp) - extract(epoch from '2026-07-25 08:09: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'), 47837, 'SRID=4674;POINT (-40.334189 -2.795825)', '2026-07-25 08:09:43', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334162 -2.795815)'), GeomFromEWKT('SRID=4674;POINT (-40.334189 -2.795825)'))) / (select extract(epoch from '2026-07-25 08:09:43'::timestamp) - extract(epoch from '2026-07-25 08:09:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334162 -2.795815)'), GeomFromEWKT('SRID=4674;POINT (-40.334189 -2.795825)'))) / (select extract(epoch from '2026-07-25 08:09:43'::timestamp) - extract(epoch from '2026-07-25 08:09:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.334368 -2.795913)', '2026-07-25 08:09:50', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334189 -2.795825)'), GeomFromEWKT('SRID=4674;POINT (-40.334368 -2.795913)'))) / (select extract(epoch from '2026-07-25 08:09:50'::timestamp) - extract(epoch from '2026-07-25 08:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334189 -2.795825)'), GeomFromEWKT('SRID=4674;POINT (-40.334368 -2.795913)'))) / (select extract(epoch from '2026-07-25 08:09:50'::timestamp) - extract(epoch from '2026-07-25 08:09: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'), 47837, 'SRID=4674;POINT (-40.334439 -2.795953)', '2026-07-25 08:09:53', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334368 -2.795913)'), GeomFromEWKT('SRID=4674;POINT (-40.334439 -2.795953)'))) / (select extract(epoch from '2026-07-25 08:09:53'::timestamp) - extract(epoch from '2026-07-25 08:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334368 -2.795913)'), GeomFromEWKT('SRID=4674;POINT (-40.334439 -2.795953)'))) / (select extract(epoch from '2026-07-25 08:09:53'::timestamp) - extract(epoch from '2026-07-25 08:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.334595 -2.796049)', '2026-07-25 08:10:00', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334439 -2.795953)'), GeomFromEWKT('SRID=4674;POINT (-40.334595 -2.796049)'))) / (select extract(epoch from '2026-07-25 08:10:00'::timestamp) - extract(epoch from '2026-07-25 08:09:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334439 -2.795953)'), GeomFromEWKT('SRID=4674;POINT (-40.334595 -2.796049)'))) / (select extract(epoch from '2026-07-25 08:10:00'::timestamp) - extract(epoch from '2026-07-25 08:09:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.334664 -2.796087)', '2026-07-25 08:10:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334595 -2.796049)'), GeomFromEWKT('SRID=4674;POINT (-40.334664 -2.796087)'))) / (select extract(epoch from '2026-07-25 08:10:03'::timestamp) - extract(epoch from '2026-07-25 08:10:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334595 -2.796049)'), GeomFromEWKT('SRID=4674;POINT (-40.334664 -2.796087)'))) / (select extract(epoch from '2026-07-25 08:10:03'::timestamp) - extract(epoch from '2026-07-25 08:10: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'), 47837, 'SRID=4674;POINT (-40.334832 -2.79615)', '2026-07-25 08:10:10', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334664 -2.796087)'), GeomFromEWKT('SRID=4674;POINT (-40.334832 -2.79615)'))) / (select extract(epoch from '2026-07-25 08:10:10'::timestamp) - extract(epoch from '2026-07-25 08:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334664 -2.796087)'), GeomFromEWKT('SRID=4674;POINT (-40.334832 -2.79615)'))) / (select extract(epoch from '2026-07-25 08:10:10'::timestamp) - extract(epoch from '2026-07-25 08:10: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'), 47837, 'SRID=4674;POINT (-40.335017 -2.79623)', '2026-07-25 08:10:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334832 -2.79615)'), GeomFromEWKT('SRID=4674;POINT (-40.335017 -2.79623)'))) / (select extract(epoch from '2026-07-25 08:10:18'::timestamp) - extract(epoch from '2026-07-25 08:10:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334832 -2.79615)'), GeomFromEWKT('SRID=4674;POINT (-40.335017 -2.79623)'))) / (select extract(epoch from '2026-07-25 08:10:18'::timestamp) - extract(epoch from '2026-07-25 08:10:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.335039 -2.796242)', '2026-07-25 08:10:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335017 -2.79623)'), GeomFromEWKT('SRID=4674;POINT (-40.335039 -2.796242)'))) / (select extract(epoch from '2026-07-25 08:10:19'::timestamp) - extract(epoch from '2026-07-25 08:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335017 -2.79623)'), GeomFromEWKT('SRID=4674;POINT (-40.335039 -2.796242)'))) / (select extract(epoch from '2026-07-25 08:10:19'::timestamp) - extract(epoch from '2026-07-25 08:10: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'), 47837, 'SRID=4674;POINT (-40.335217 -2.796319)', '2026-07-25 08:10:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335039 -2.796242)'), GeomFromEWKT('SRID=4674;POINT (-40.335217 -2.796319)'))) / (select extract(epoch from '2026-07-25 08:10:26'::timestamp) - extract(epoch from '2026-07-25 08:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335039 -2.796242)'), GeomFromEWKT('SRID=4674;POINT (-40.335217 -2.796319)'))) / (select extract(epoch from '2026-07-25 08:10:26'::timestamp) - extract(epoch from '2026-07-25 08:10: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'), 47837, 'SRID=4674;POINT (-40.335262 -2.796342)', '2026-07-25 08:10:28', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335217 -2.796319)'), GeomFromEWKT('SRID=4674;POINT (-40.335262 -2.796342)'))) / (select extract(epoch from '2026-07-25 08:10:28'::timestamp) - extract(epoch from '2026-07-25 08:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335217 -2.796319)'), GeomFromEWKT('SRID=4674;POINT (-40.335262 -2.796342)'))) / (select extract(epoch from '2026-07-25 08:10:28'::timestamp) - extract(epoch from '2026-07-25 08:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.335436 -2.796425)', '2026-07-25 08:10:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335262 -2.796342)'), GeomFromEWKT('SRID=4674;POINT (-40.335436 -2.796425)'))) / (select extract(epoch from '2026-07-25 08:10:35'::timestamp) - extract(epoch from '2026-07-25 08:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335262 -2.796342)'), GeomFromEWKT('SRID=4674;POINT (-40.335436 -2.796425)'))) / (select extract(epoch from '2026-07-25 08:10:35'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.335479 -2.796449)', '2026-07-25 08:10:37', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335436 -2.796425)'), GeomFromEWKT('SRID=4674;POINT (-40.335479 -2.796449)'))) / (select extract(epoch from '2026-07-25 08:10:37'::timestamp) - extract(epoch from '2026-07-25 08:10:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335436 -2.796425)'), GeomFromEWKT('SRID=4674;POINT (-40.335479 -2.796449)'))) / (select extract(epoch from '2026-07-25 08:10:37'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.335638 -2.796539)', '2026-07-25 08:10:44', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335479 -2.796449)'), GeomFromEWKT('SRID=4674;POINT (-40.335638 -2.796539)'))) / (select extract(epoch from '2026-07-25 08:10:44'::timestamp) - extract(epoch from '2026-07-25 08:10:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335479 -2.796449)'), GeomFromEWKT('SRID=4674;POINT (-40.335638 -2.796539)'))) / (select extract(epoch from '2026-07-25 08:10:44'::timestamp) - extract(epoch from '2026-07-25 08:10: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'), 47837, 'SRID=4674;POINT (-40.335686 -2.796562)', '2026-07-25 08:10:46', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335638 -2.796539)'), GeomFromEWKT('SRID=4674;POINT (-40.335686 -2.796562)'))) / (select extract(epoch from '2026-07-25 08:10:46'::timestamp) - extract(epoch from '2026-07-25 08:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335638 -2.796539)'), GeomFromEWKT('SRID=4674;POINT (-40.335686 -2.796562)'))) / (select extract(epoch from '2026-07-25 08:10:46'::timestamp) - extract(epoch from '2026-07-25 08:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.33586 -2.79666)', '2026-07-25 08:10:54', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335686 -2.796562)'), GeomFromEWKT('SRID=4674;POINT (-40.33586 -2.79666)'))) / (select extract(epoch from '2026-07-25 08:10:54'::timestamp) - extract(epoch from '2026-07-25 08:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335686 -2.796562)'), GeomFromEWKT('SRID=4674;POINT (-40.33586 -2.79666)'))) / (select extract(epoch from '2026-07-25 08:10:54'::timestamp) - extract(epoch from '2026-07-25 08:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.33591 -2.796688)', '2026-07-25 08:10:56', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33586 -2.79666)'), GeomFromEWKT('SRID=4674;POINT (-40.33591 -2.796688)'))) / (select extract(epoch from '2026-07-25 08:10:56'::timestamp) - extract(epoch from '2026-07-25 08:10:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33586 -2.79666)'), GeomFromEWKT('SRID=4674;POINT (-40.33591 -2.796688)'))) / (select extract(epoch from '2026-07-25 08:10:56'::timestamp) - extract(epoch from '2026-07-25 08:10: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'), 47837, 'SRID=4674;POINT (-40.336074 -2.796771)', '2026-07-25 08:11:03', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33591 -2.796688)'), GeomFromEWKT('SRID=4674;POINT (-40.336074 -2.796771)'))) / (select extract(epoch from '2026-07-25 08:11:03'::timestamp) - extract(epoch from '2026-07-25 08:10:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33591 -2.796688)'), GeomFromEWKT('SRID=4674;POINT (-40.336074 -2.796771)'))) / (select extract(epoch from '2026-07-25 08:11:03'::timestamp) - extract(epoch from '2026-07-25 08:10: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'), 47837, 'SRID=4674;POINT (-40.336144 -2.796811)', '2026-07-25 08:11:06', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336074 -2.796771)'), GeomFromEWKT('SRID=4674;POINT (-40.336144 -2.796811)'))) / (select extract(epoch from '2026-07-25 08:11:06'::timestamp) - extract(epoch from '2026-07-25 08:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336074 -2.796771)'), GeomFromEWKT('SRID=4674;POINT (-40.336144 -2.796811)'))) / (select extract(epoch from '2026-07-25 08:11:06'::timestamp) - extract(epoch from '2026-07-25 08:11: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'), 47837, 'SRID=4674;POINT (-40.336319 -2.796892)', '2026-07-25 08:11:13', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336144 -2.796811)'), GeomFromEWKT('SRID=4674;POINT (-40.336319 -2.796892)'))) / (select extract(epoch from '2026-07-25 08:11:13'::timestamp) - extract(epoch from '2026-07-25 08:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336144 -2.796811)'), GeomFromEWKT('SRID=4674;POINT (-40.336319 -2.796892)'))) / (select extract(epoch from '2026-07-25 08:11:13'::timestamp) - extract(epoch from '2026-07-25 08:11: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'), 47837, 'SRID=4674;POINT (-40.336341 -2.7969)', '2026-07-25 08:11:14', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336319 -2.796892)'), GeomFromEWKT('SRID=4674;POINT (-40.336341 -2.7969)'))) / (select extract(epoch from '2026-07-25 08:11:14'::timestamp) - extract(epoch from '2026-07-25 08:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336319 -2.796892)'), GeomFromEWKT('SRID=4674;POINT (-40.336341 -2.7969)'))) / (select extract(epoch from '2026-07-25 08:11:14'::timestamp) - extract(epoch from '2026-07-25 08:11: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'), 47837, 'SRID=4674;POINT (-40.336504 -2.79698)', '2026-07-25 08:11:21', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336341 -2.7969)'), GeomFromEWKT('SRID=4674;POINT (-40.336504 -2.79698)'))) / (select extract(epoch from '2026-07-25 08:11:21'::timestamp) - extract(epoch from '2026-07-25 08:11:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336341 -2.7969)'), GeomFromEWKT('SRID=4674;POINT (-40.336504 -2.79698)'))) / (select extract(epoch from '2026-07-25 08:11:21'::timestamp) - extract(epoch from '2026-07-25 08:11: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'), 47837, 'SRID=4674;POINT (-40.336526 -2.796993)', '2026-07-25 08:11:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336504 -2.79698)'), GeomFromEWKT('SRID=4674;POINT (-40.336526 -2.796993)'))) / (select extract(epoch from '2026-07-25 08:11:22'::timestamp) - extract(epoch from '2026-07-25 08:11:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336504 -2.79698)'), GeomFromEWKT('SRID=4674;POINT (-40.336526 -2.796993)'))) / (select extract(epoch from '2026-07-25 08:11:22'::timestamp) - extract(epoch from '2026-07-25 08:11:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.336692 -2.797065)', '2026-07-25 08:11:29', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336526 -2.796993)'), GeomFromEWKT('SRID=4674;POINT (-40.336692 -2.797065)'))) / (select extract(epoch from '2026-07-25 08:11:29'::timestamp) - extract(epoch from '2026-07-25 08:11:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336526 -2.796993)'), GeomFromEWKT('SRID=4674;POINT (-40.336692 -2.797065)'))) / (select extract(epoch from '2026-07-25 08:11:29'::timestamp) - extract(epoch from '2026-07-25 08:11:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.336764 -2.797089)', '2026-07-25 08:11:32', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336692 -2.797065)'), GeomFromEWKT('SRID=4674;POINT (-40.336764 -2.797089)'))) / (select extract(epoch from '2026-07-25 08:11:32'::timestamp) - extract(epoch from '2026-07-25 08:11:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336692 -2.797065)'), GeomFromEWKT('SRID=4674;POINT (-40.336764 -2.797089)'))) / (select extract(epoch from '2026-07-25 08:11:32'::timestamp) - extract(epoch from '2026-07-25 08:11: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'), 47837, 'SRID=4674;POINT (-40.336952 -2.797167)', '2026-07-25 08:11:40', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336764 -2.797089)'), GeomFromEWKT('SRID=4674;POINT (-40.336952 -2.797167)'))) / (select extract(epoch from '2026-07-25 08:11:40'::timestamp) - extract(epoch from '2026-07-25 08:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336764 -2.797089)'), GeomFromEWKT('SRID=4674;POINT (-40.336952 -2.797167)'))) / (select extract(epoch from '2026-07-25 08:11:40'::timestamp) - extract(epoch from '2026-07-25 08:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.336975 -2.797178)', '2026-07-25 08:11:41', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336952 -2.797167)'), GeomFromEWKT('SRID=4674;POINT (-40.336975 -2.797178)'))) / (select extract(epoch from '2026-07-25 08:11:41'::timestamp) - extract(epoch from '2026-07-25 08:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336952 -2.797167)'), GeomFromEWKT('SRID=4674;POINT (-40.336975 -2.797178)'))) / (select extract(epoch from '2026-07-25 08:11:41'::timestamp) - extract(epoch from '2026-07-25 08:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.337156 -2.797263)', '2026-07-25 08:11:49', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336975 -2.797178)'), GeomFromEWKT('SRID=4674;POINT (-40.337156 -2.797263)'))) / (select extract(epoch from '2026-07-25 08:11:49'::timestamp) - extract(epoch from '2026-07-25 08:11:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336975 -2.797178)'), GeomFromEWKT('SRID=4674;POINT (-40.337156 -2.797263)'))) / (select extract(epoch from '2026-07-25 08:11:49'::timestamp) - extract(epoch from '2026-07-25 08:11: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'), 47837, 'SRID=4674;POINT (-40.337248 -2.797324)', '2026-07-25 08:11:53', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337156 -2.797263)'), GeomFromEWKT('SRID=4674;POINT (-40.337248 -2.797324)'))) / (select extract(epoch from '2026-07-25 08:11:53'::timestamp) - extract(epoch from '2026-07-25 08:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337156 -2.797263)'), GeomFromEWKT('SRID=4674;POINT (-40.337248 -2.797324)'))) / (select extract(epoch from '2026-07-25 08:11:53'::timestamp) - extract(epoch from '2026-07-25 08:11: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'), 47837, 'SRID=4674;POINT (-40.337403 -2.797418)', '2026-07-25 08:12:00', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337248 -2.797324)'), GeomFromEWKT('SRID=4674;POINT (-40.337403 -2.797418)'))) / (select extract(epoch from '2026-07-25 08:12:00'::timestamp) - extract(epoch from '2026-07-25 08:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337248 -2.797324)'), GeomFromEWKT('SRID=4674;POINT (-40.337403 -2.797418)'))) / (select extract(epoch from '2026-07-25 08:12:00'::timestamp) - extract(epoch from '2026-07-25 08:11: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'), 47837, 'SRID=4674;POINT (-40.337441 -2.797446)', '2026-07-25 08:12:02', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337403 -2.797418)'), GeomFromEWKT('SRID=4674;POINT (-40.337441 -2.797446)'))) / (select extract(epoch from '2026-07-25 08:12:02'::timestamp) - extract(epoch from '2026-07-25 08:12:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337403 -2.797418)'), GeomFromEWKT('SRID=4674;POINT (-40.337441 -2.797446)'))) / (select extract(epoch from '2026-07-25 08:12:02'::timestamp) - extract(epoch from '2026-07-25 08:12: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'), 47837, 'SRID=4674;POINT (-40.337615 -2.797542)', '2026-07-25 08:12:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337441 -2.797446)'), GeomFromEWKT('SRID=4674;POINT (-40.337615 -2.797542)'))) / (select extract(epoch from '2026-07-25 08:12:10'::timestamp) - extract(epoch from '2026-07-25 08:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337441 -2.797446)'), GeomFromEWKT('SRID=4674;POINT (-40.337615 -2.797542)'))) / (select extract(epoch from '2026-07-25 08:12:10'::timestamp) - extract(epoch from '2026-07-25 08:12:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.337663 -2.797558)', '2026-07-25 08:12:12', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337615 -2.797542)'), GeomFromEWKT('SRID=4674;POINT (-40.337663 -2.797558)'))) / (select extract(epoch from '2026-07-25 08:12:12'::timestamp) - extract(epoch from '2026-07-25 08:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337615 -2.797542)'), GeomFromEWKT('SRID=4674;POINT (-40.337663 -2.797558)'))) / (select extract(epoch from '2026-07-25 08:12:12'::timestamp) - extract(epoch from '2026-07-25 08:12: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'), 47837, 'SRID=4674;POINT (-40.337861 -2.797613)', '2026-07-25 08:12:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337663 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.337861 -2.797613)'))) / (select extract(epoch from '2026-07-25 08:12:20'::timestamp) - extract(epoch from '2026-07-25 08:12:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337663 -2.797558)'), GeomFromEWKT('SRID=4674;POINT (-40.337861 -2.797613)'))) / (select extract(epoch from '2026-07-25 08:12:20'::timestamp) - extract(epoch from '2026-07-25 08:12:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.337911 -2.797632)', '2026-07-25 08:12:22', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337861 -2.797613)'), GeomFromEWKT('SRID=4674;POINT (-40.337911 -2.797632)'))) / (select extract(epoch from '2026-07-25 08:12:22'::timestamp) - extract(epoch from '2026-07-25 08:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337861 -2.797613)'), GeomFromEWKT('SRID=4674;POINT (-40.337911 -2.797632)'))) / (select extract(epoch from '2026-07-25 08:12:22'::timestamp) - extract(epoch from '2026-07-25 08:12: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'), 47837, 'SRID=4674;POINT (-40.338089 -2.797733)', '2026-07-25 08:12:30', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337911 -2.797632)'), GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.797733)'))) / (select extract(epoch from '2026-07-25 08:12:30'::timestamp) - extract(epoch from '2026-07-25 08:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337911 -2.797632)'), GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.797733)'))) / (select extract(epoch from '2026-07-25 08:12:30'::timestamp) - extract(epoch from '2026-07-25 08:12: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'), 47837, 'SRID=4674;POINT (-40.338113 -2.797744)', '2026-07-25 08:12:31', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.797733)'), GeomFromEWKT('SRID=4674;POINT (-40.338113 -2.797744)'))) / (select extract(epoch from '2026-07-25 08:12:31'::timestamp) - extract(epoch from '2026-07-25 08:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338089 -2.797733)'), GeomFromEWKT('SRID=4674;POINT (-40.338113 -2.797744)'))) / (select extract(epoch from '2026-07-25 08:12:31'::timestamp) - extract(epoch from '2026-07-25 08:12: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'), 47837, 'SRID=4674;POINT (-40.338291 -2.797839)', '2026-07-25 08:12:39', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338113 -2.797744)'), GeomFromEWKT('SRID=4674;POINT (-40.338291 -2.797839)'))) / (select extract(epoch from '2026-07-25 08:12:39'::timestamp) - extract(epoch from '2026-07-25 08:12:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338113 -2.797744)'), GeomFromEWKT('SRID=4674;POINT (-40.338291 -2.797839)'))) / (select extract(epoch from '2026-07-25 08:12:39'::timestamp) - extract(epoch from '2026-07-25 08:12:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.338358 -2.79788)', '2026-07-25 08:12:42', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338291 -2.797839)'), GeomFromEWKT('SRID=4674;POINT (-40.338358 -2.79788)'))) / (select extract(epoch from '2026-07-25 08:12:42'::timestamp) - extract(epoch from '2026-07-25 08:12:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338291 -2.797839)'), GeomFromEWKT('SRID=4674;POINT (-40.338358 -2.79788)'))) / (select extract(epoch from '2026-07-25 08:12:42'::timestamp) - extract(epoch from '2026-07-25 08:12: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'), 47837, 'SRID=4674;POINT (-40.338536 -2.797979)', '2026-07-25 08:12:50', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338358 -2.79788)'), GeomFromEWKT('SRID=4674;POINT (-40.338536 -2.797979)'))) / (select extract(epoch from '2026-07-25 08:12:50'::timestamp) - extract(epoch from '2026-07-25 08:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338358 -2.79788)'), GeomFromEWKT('SRID=4674;POINT (-40.338536 -2.797979)'))) / (select extract(epoch from '2026-07-25 08:12:50'::timestamp) - extract(epoch from '2026-07-25 08:12:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.338605 -2.79801)', '2026-07-25 08:12:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338536 -2.797979)'), GeomFromEWKT('SRID=4674;POINT (-40.338605 -2.79801)'))) / (select extract(epoch from '2026-07-25 08:12:53'::timestamp) - extract(epoch from '2026-07-25 08:12:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338536 -2.797979)'), GeomFromEWKT('SRID=4674;POINT (-40.338605 -2.79801)'))) / (select extract(epoch from '2026-07-25 08:12:53'::timestamp) - extract(epoch from '2026-07-25 08:12: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'), 47837, 'SRID=4674;POINT (-40.338788 -2.798092)', '2026-07-25 08:13:01', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338605 -2.79801)'), GeomFromEWKT('SRID=4674;POINT (-40.338788 -2.798092)'))) / (select extract(epoch from '2026-07-25 08:13:01'::timestamp) - extract(epoch from '2026-07-25 08:12:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338605 -2.79801)'), GeomFromEWKT('SRID=4674;POINT (-40.338788 -2.798092)'))) / (select extract(epoch from '2026-07-25 08:13:01'::timestamp) - extract(epoch from '2026-07-25 08:12:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.338832 -2.798112)', '2026-07-25 08:13:03', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338788 -2.798092)'), GeomFromEWKT('SRID=4674;POINT (-40.338832 -2.798112)'))) / (select extract(epoch from '2026-07-25 08:13:03'::timestamp) - extract(epoch from '2026-07-25 08:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338788 -2.798092)'), GeomFromEWKT('SRID=4674;POINT (-40.338832 -2.798112)'))) / (select extract(epoch from '2026-07-25 08:13:03'::timestamp) - extract(epoch from '2026-07-25 08:13: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'), 47837, 'SRID=4674;POINT (-40.339002 -2.79819)', '2026-07-25 08:13:10', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338832 -2.798112)'), GeomFromEWKT('SRID=4674;POINT (-40.339002 -2.79819)'))) / (select extract(epoch from '2026-07-25 08:13:10'::timestamp) - extract(epoch from '2026-07-25 08:13:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338832 -2.798112)'), GeomFromEWKT('SRID=4674;POINT (-40.339002 -2.79819)'))) / (select extract(epoch from '2026-07-25 08:13:10'::timestamp) - extract(epoch from '2026-07-25 08:13:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.339047 -2.798212)', '2026-07-25 08:13:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339002 -2.79819)'), GeomFromEWKT('SRID=4674;POINT (-40.339047 -2.798212)'))) / (select extract(epoch from '2026-07-25 08:13:12'::timestamp) - extract(epoch from '2026-07-25 08:13:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339002 -2.79819)'), GeomFromEWKT('SRID=4674;POINT (-40.339047 -2.798212)'))) / (select extract(epoch from '2026-07-25 08:13:12'::timestamp) - extract(epoch from '2026-07-25 08:13: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'), 47837, 'SRID=4674;POINT (-40.339224 -2.798309)', '2026-07-25 08:13:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339047 -2.798212)'), GeomFromEWKT('SRID=4674;POINT (-40.339224 -2.798309)'))) / (select extract(epoch from '2026-07-25 08:13:20'::timestamp) - extract(epoch from '2026-07-25 08:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339047 -2.798212)'), GeomFromEWKT('SRID=4674;POINT (-40.339224 -2.798309)'))) / (select extract(epoch from '2026-07-25 08:13:20'::timestamp) - extract(epoch from '2026-07-25 08:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.339247 -2.798322)', '2026-07-25 08:13:21', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339224 -2.798309)'), GeomFromEWKT('SRID=4674;POINT (-40.339247 -2.798322)'))) / (select extract(epoch from '2026-07-25 08:13:21'::timestamp) - extract(epoch from '2026-07-25 08:13:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339224 -2.798309)'), GeomFromEWKT('SRID=4674;POINT (-40.339247 -2.798322)'))) / (select extract(epoch from '2026-07-25 08:13:21'::timestamp) - extract(epoch from '2026-07-25 08:13: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'), 47837, 'SRID=4674;POINT (-40.339426 -2.798414)', '2026-07-25 08:13:29', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339247 -2.798322)'), GeomFromEWKT('SRID=4674;POINT (-40.339426 -2.798414)'))) / (select extract(epoch from '2026-07-25 08:13:29'::timestamp) - extract(epoch from '2026-07-25 08:13:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339247 -2.798322)'), GeomFromEWKT('SRID=4674;POINT (-40.339426 -2.798414)'))) / (select extract(epoch from '2026-07-25 08:13:29'::timestamp) - extract(epoch from '2026-07-25 08:13: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'), 47837, 'SRID=4674;POINT (-40.33949 -2.798447)', '2026-07-25 08:13:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339426 -2.798414)'), GeomFromEWKT('SRID=4674;POINT (-40.33949 -2.798447)'))) / (select extract(epoch from '2026-07-25 08:13:32'::timestamp) - extract(epoch from '2026-07-25 08:13:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339426 -2.798414)'), GeomFromEWKT('SRID=4674;POINT (-40.33949 -2.798447)'))) / (select extract(epoch from '2026-07-25 08:13:32'::timestamp) - extract(epoch from '2026-07-25 08:13:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.339657 -2.79852)', '2026-07-25 08:13:39', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33949 -2.798447)'), GeomFromEWKT('SRID=4674;POINT (-40.339657 -2.79852)'))) / (select extract(epoch from '2026-07-25 08:13:39'::timestamp) - extract(epoch from '2026-07-25 08:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33949 -2.798447)'), GeomFromEWKT('SRID=4674;POINT (-40.339657 -2.79852)'))) / (select extract(epoch from '2026-07-25 08:13:39'::timestamp) - extract(epoch from '2026-07-25 08:13: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'), 47837, 'SRID=4674;POINT (-40.339752 -2.798569)', '2026-07-25 08:13:43', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339657 -2.79852)'), GeomFromEWKT('SRID=4674;POINT (-40.339752 -2.798569)'))) / (select extract(epoch from '2026-07-25 08:13:43'::timestamp) - extract(epoch from '2026-07-25 08:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339657 -2.79852)'), GeomFromEWKT('SRID=4674;POINT (-40.339752 -2.798569)'))) / (select extract(epoch from '2026-07-25 08:13:43'::timestamp) - extract(epoch from '2026-07-25 08:13: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'), 47837, 'SRID=4674;POINT (-40.33992 -2.798651)', '2026-07-25 08:13:50', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339752 -2.798569)'), GeomFromEWKT('SRID=4674;POINT (-40.33992 -2.798651)'))) / (select extract(epoch from '2026-07-25 08:13:50'::timestamp) - extract(epoch from '2026-07-25 08:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339752 -2.798569)'), GeomFromEWKT('SRID=4674;POINT (-40.33992 -2.798651)'))) / (select extract(epoch from '2026-07-25 08:13:50'::timestamp) - extract(epoch from '2026-07-25 08:13: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'), 47837, 'SRID=4674;POINT (-40.33997 -2.798669)', '2026-07-25 08:13:52', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33992 -2.798651)'), GeomFromEWKT('SRID=4674;POINT (-40.33997 -2.798669)'))) / (select extract(epoch from '2026-07-25 08:13:52'::timestamp) - extract(epoch from '2026-07-25 08:13:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33992 -2.798651)'), GeomFromEWKT('SRID=4674;POINT (-40.33997 -2.798669)'))) / (select extract(epoch from '2026-07-25 08:13:52'::timestamp) - extract(epoch from '2026-07-25 08:13: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'), 47837, 'SRID=4674;POINT (-40.340154 -2.798761)', '2026-07-25 08:14:00', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33997 -2.798669)'), GeomFromEWKT('SRID=4674;POINT (-40.340154 -2.798761)'))) / (select extract(epoch from '2026-07-25 08:14:00'::timestamp) - extract(epoch from '2026-07-25 08:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33997 -2.798669)'), GeomFromEWKT('SRID=4674;POINT (-40.340154 -2.798761)'))) / (select extract(epoch from '2026-07-25 08:14:00'::timestamp) - extract(epoch from '2026-07-25 08:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.340198 -2.798788)', '2026-07-25 08:14:02', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340154 -2.798761)'), GeomFromEWKT('SRID=4674;POINT (-40.340198 -2.798788)'))) / (select extract(epoch from '2026-07-25 08:14:02'::timestamp) - extract(epoch from '2026-07-25 08:14:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340154 -2.798761)'), GeomFromEWKT('SRID=4674;POINT (-40.340198 -2.798788)'))) / (select extract(epoch from '2026-07-25 08:14:02'::timestamp) - extract(epoch from '2026-07-25 08:14:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.340348 -2.798901)', '2026-07-25 08:14:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340198 -2.798788)'), GeomFromEWKT('SRID=4674;POINT (-40.340348 -2.798901)'))) / (select extract(epoch from '2026-07-25 08:14:09'::timestamp) - extract(epoch from '2026-07-25 08:14:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340198 -2.798788)'), GeomFromEWKT('SRID=4674;POINT (-40.340348 -2.798901)'))) / (select extract(epoch from '2026-07-25 08:14:09'::timestamp) - extract(epoch from '2026-07-25 08:14: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'), 47837, 'SRID=4674;POINT (-40.34041 -2.798949)', '2026-07-25 08:14:12', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340348 -2.798901)'), GeomFromEWKT('SRID=4674;POINT (-40.34041 -2.798949)'))) / (select extract(epoch from '2026-07-25 08:14:12'::timestamp) - extract(epoch from '2026-07-25 08:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340348 -2.798901)'), GeomFromEWKT('SRID=4674;POINT (-40.34041 -2.798949)'))) / (select extract(epoch from '2026-07-25 08:14:12'::timestamp) - extract(epoch from '2026-07-25 08:14: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'), 47837, 'SRID=4674;POINT (-40.340567 -2.799059)', '2026-07-25 08:14:19', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34041 -2.798949)'), GeomFromEWKT('SRID=4674;POINT (-40.340567 -2.799059)'))) / (select extract(epoch from '2026-07-25 08:14:19'::timestamp) - extract(epoch from '2026-07-25 08:14:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34041 -2.798949)'), GeomFromEWKT('SRID=4674;POINT (-40.340567 -2.799059)'))) / (select extract(epoch from '2026-07-25 08:14:19'::timestamp) - extract(epoch from '2026-07-25 08:14: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'), 47837, 'SRID=4674;POINT (-40.340663 -2.799121)', '2026-07-25 08:14:23', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340567 -2.799059)'), GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.799121)'))) / (select extract(epoch from '2026-07-25 08:14:23'::timestamp) - extract(epoch from '2026-07-25 08:14:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340567 -2.799059)'), GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.799121)'))) / (select extract(epoch from '2026-07-25 08:14:23'::timestamp) - extract(epoch from '2026-07-25 08:14:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.340812 -2.799228)', '2026-07-25 08:14:30', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.799121)'), GeomFromEWKT('SRID=4674;POINT (-40.340812 -2.799228)'))) / (select extract(epoch from '2026-07-25 08:14:30'::timestamp) - extract(epoch from '2026-07-25 08:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340663 -2.799121)'), GeomFromEWKT('SRID=4674;POINT (-40.340812 -2.799228)'))) / (select extract(epoch from '2026-07-25 08:14:30'::timestamp) - extract(epoch from '2026-07-25 08:14: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'), 47837, 'SRID=4674;POINT (-40.340897 -2.799284)', '2026-07-25 08:14:34', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340812 -2.799228)'), GeomFromEWKT('SRID=4674;POINT (-40.340897 -2.799284)'))) / (select extract(epoch from '2026-07-25 08:14:34'::timestamp) - extract(epoch from '2026-07-25 08:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340812 -2.799228)'), GeomFromEWKT('SRID=4674;POINT (-40.340897 -2.799284)'))) / (select extract(epoch from '2026-07-25 08:14:34'::timestamp) - extract(epoch from '2026-07-25 08:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.341049 -2.799385)', '2026-07-25 08:14:41', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340897 -2.799284)'), GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.799385)'))) / (select extract(epoch from '2026-07-25 08:14:41'::timestamp) - extract(epoch from '2026-07-25 08:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340897 -2.799284)'), GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.799385)'))) / (select extract(epoch from '2026-07-25 08:14:41'::timestamp) - extract(epoch from '2026-07-25 08:14:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.341097 -2.799416)', '2026-07-25 08:14:43', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.799385)'), GeomFromEWKT('SRID=4674;POINT (-40.341097 -2.799416)'))) / (select extract(epoch from '2026-07-25 08:14:43'::timestamp) - extract(epoch from '2026-07-25 08:14:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341049 -2.799385)'), GeomFromEWKT('SRID=4674;POINT (-40.341097 -2.799416)'))) / (select extract(epoch from '2026-07-25 08:14:43'::timestamp) - extract(epoch from '2026-07-25 08:14: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'), 47837, 'SRID=4674;POINT (-40.341251 -2.79952)', '2026-07-25 08:14:50', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341097 -2.799416)'), GeomFromEWKT('SRID=4674;POINT (-40.341251 -2.79952)'))) / (select extract(epoch from '2026-07-25 08:14:50'::timestamp) - extract(epoch from '2026-07-25 08:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341097 -2.799416)'), GeomFromEWKT('SRID=4674;POINT (-40.341251 -2.79952)'))) / (select extract(epoch from '2026-07-25 08:14:50'::timestamp) - extract(epoch from '2026-07-25 08:14: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'), 47837, 'SRID=4674;POINT (-40.341311 -2.799568)', '2026-07-25 08:14:53', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341251 -2.79952)'), GeomFromEWKT('SRID=4674;POINT (-40.341311 -2.799568)'))) / (select extract(epoch from '2026-07-25 08:14:53'::timestamp) - extract(epoch from '2026-07-25 08:14:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341251 -2.79952)'), GeomFromEWKT('SRID=4674;POINT (-40.341311 -2.799568)'))) / (select extract(epoch from '2026-07-25 08:14:53'::timestamp) - extract(epoch from '2026-07-25 08:14: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'), 47837, 'SRID=4674;POINT (-40.341467 -2.79966)', '2026-07-25 08:15:00', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341311 -2.799568)'), GeomFromEWKT('SRID=4674;POINT (-40.341467 -2.79966)'))) / (select extract(epoch from '2026-07-25 08:15:00'::timestamp) - extract(epoch from '2026-07-25 08:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341311 -2.799568)'), GeomFromEWKT('SRID=4674;POINT (-40.341467 -2.79966)'))) / (select extract(epoch from '2026-07-25 08:15:00'::timestamp) - extract(epoch from '2026-07-25 08:14:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.341557 -2.799702)', '2026-07-25 08:15:04', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341467 -2.79966)'), GeomFromEWKT('SRID=4674;POINT (-40.341557 -2.799702)'))) / (select extract(epoch from '2026-07-25 08:15:04'::timestamp) - extract(epoch from '2026-07-25 08:15:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341467 -2.79966)'), GeomFromEWKT('SRID=4674;POINT (-40.341557 -2.799702)'))) / (select extract(epoch from '2026-07-25 08:15:04'::timestamp) - extract(epoch from '2026-07-25 08:15:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.34173 -2.799785)', '2026-07-25 08:15:11', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341557 -2.799702)'), GeomFromEWKT('SRID=4674;POINT (-40.34173 -2.799785)'))) / (select extract(epoch from '2026-07-25 08:15:11'::timestamp) - extract(epoch from '2026-07-25 08:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341557 -2.799702)'), GeomFromEWKT('SRID=4674;POINT (-40.34173 -2.799785)'))) / (select extract(epoch from '2026-07-25 08:15:11'::timestamp) - extract(epoch from '2026-07-25 08:15: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'), 47837, 'SRID=4674;POINT (-40.341773 -2.799811)', '2026-07-25 08:15:13', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34173 -2.799785)'), GeomFromEWKT('SRID=4674;POINT (-40.341773 -2.799811)'))) / (select extract(epoch from '2026-07-25 08:15:13'::timestamp) - extract(epoch from '2026-07-25 08:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34173 -2.799785)'), GeomFromEWKT('SRID=4674;POINT (-40.341773 -2.799811)'))) / (select extract(epoch from '2026-07-25 08:15:13'::timestamp) - extract(epoch from '2026-07-25 08:15: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'), 47837, 'SRID=4674;POINT (-40.341933 -2.799917)', '2026-07-25 08:15:21', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341773 -2.799811)'), GeomFromEWKT('SRID=4674;POINT (-40.341933 -2.799917)'))) / (select extract(epoch from '2026-07-25 08:15:21'::timestamp) - extract(epoch from '2026-07-25 08:15:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341773 -2.799811)'), GeomFromEWKT('SRID=4674;POINT (-40.341933 -2.799917)'))) / (select extract(epoch from '2026-07-25 08:15:21'::timestamp) - extract(epoch from '2026-07-25 08:15:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.341973 -2.799945)', '2026-07-25 08:15:23', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341933 -2.799917)'), GeomFromEWKT('SRID=4674;POINT (-40.341973 -2.799945)'))) / (select extract(epoch from '2026-07-25 08:15:23'::timestamp) - extract(epoch from '2026-07-25 08:15:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341933 -2.799917)'), GeomFromEWKT('SRID=4674;POINT (-40.341973 -2.799945)'))) / (select extract(epoch from '2026-07-25 08:15:23'::timestamp) - extract(epoch from '2026-07-25 08:15: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'), 47837, 'SRID=4674;POINT (-40.342128 -2.800046)', '2026-07-25 08:15:30', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341973 -2.799945)'), GeomFromEWKT('SRID=4674;POINT (-40.342128 -2.800046)'))) / (select extract(epoch from '2026-07-25 08:15:30'::timestamp) - extract(epoch from '2026-07-25 08:15:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341973 -2.799945)'), GeomFromEWKT('SRID=4674;POINT (-40.342128 -2.800046)'))) / (select extract(epoch from '2026-07-25 08:15:30'::timestamp) - extract(epoch from '2026-07-25 08:15: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'), 47837, 'SRID=4674;POINT (-40.342187 -2.800088)', '2026-07-25 08:15:33', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342128 -2.800046)'), GeomFromEWKT('SRID=4674;POINT (-40.342187 -2.800088)'))) / (select extract(epoch from '2026-07-25 08:15:33'::timestamp) - extract(epoch from '2026-07-25 08:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342128 -2.800046)'), GeomFromEWKT('SRID=4674;POINT (-40.342187 -2.800088)'))) / (select extract(epoch from '2026-07-25 08:15:33'::timestamp) - extract(epoch from '2026-07-25 08:15: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'), 47837, 'SRID=4674;POINT (-40.342341 -2.8002)', '2026-07-25 08:15:40', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342187 -2.800088)'), GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.8002)'))) / (select extract(epoch from '2026-07-25 08:15:40'::timestamp) - extract(epoch from '2026-07-25 08:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342187 -2.800088)'), GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.8002)'))) / (select extract(epoch from '2026-07-25 08:15:40'::timestamp) - extract(epoch from '2026-07-25 08:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.342388 -2.800226)', '2026-07-25 08:15:42', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.342388 -2.800226)'))) / (select extract(epoch from '2026-07-25 08:15:42'::timestamp) - extract(epoch from '2026-07-25 08:15:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342341 -2.8002)'), GeomFromEWKT('SRID=4674;POINT (-40.342388 -2.800226)'))) / (select extract(epoch from '2026-07-25 08:15:42'::timestamp) - extract(epoch from '2026-07-25 08:15: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'), 47837, 'SRID=4674;POINT (-40.342551 -2.800309)', '2026-07-25 08:15:49', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342388 -2.800226)'), GeomFromEWKT('SRID=4674;POINT (-40.342551 -2.800309)'))) / (select extract(epoch from '2026-07-25 08:15:49'::timestamp) - extract(epoch from '2026-07-25 08:15:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342388 -2.800226)'), GeomFromEWKT('SRID=4674;POINT (-40.342551 -2.800309)'))) / (select extract(epoch from '2026-07-25 08:15:49'::timestamp) - extract(epoch from '2026-07-25 08:15: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'), 47837, 'SRID=4674;POINT (-40.342599 -2.800328)', '2026-07-25 08:15:51', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342551 -2.800309)'), GeomFromEWKT('SRID=4674;POINT (-40.342599 -2.800328)'))) / (select extract(epoch from '2026-07-25 08:15:51'::timestamp) - extract(epoch from '2026-07-25 08:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342551 -2.800309)'), GeomFromEWKT('SRID=4674;POINT (-40.342599 -2.800328)'))) / (select extract(epoch from '2026-07-25 08:15:51'::timestamp) - extract(epoch from '2026-07-25 08:15: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'), 47837, 'SRID=4674;POINT (-40.342768 -2.800411)', '2026-07-25 08:15:58', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342599 -2.800328)'), GeomFromEWKT('SRID=4674;POINT (-40.342768 -2.800411)'))) / (select extract(epoch from '2026-07-25 08:15:58'::timestamp) - extract(epoch from '2026-07-25 08:15:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342599 -2.800328)'), GeomFromEWKT('SRID=4674;POINT (-40.342768 -2.800411)'))) / (select extract(epoch from '2026-07-25 08:15:58'::timestamp) - extract(epoch from '2026-07-25 08:15:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.342814 -2.800441)', '2026-07-25 08:16:00', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342768 -2.800411)'), GeomFromEWKT('SRID=4674;POINT (-40.342814 -2.800441)'))) / (select extract(epoch from '2026-07-25 08:16:00'::timestamp) - extract(epoch from '2026-07-25 08:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342768 -2.800411)'), GeomFromEWKT('SRID=4674;POINT (-40.342814 -2.800441)'))) / (select extract(epoch from '2026-07-25 08:16:00'::timestamp) - extract(epoch from '2026-07-25 08:15: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'), 47837, 'SRID=4674;POINT (-40.342962 -2.800527)', '2026-07-25 08:16:07', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342814 -2.800441)'), GeomFromEWKT('SRID=4674;POINT (-40.342962 -2.800527)'))) / (select extract(epoch from '2026-07-25 08:16:07'::timestamp) - extract(epoch from '2026-07-25 08:16:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342814 -2.800441)'), GeomFromEWKT('SRID=4674;POINT (-40.342962 -2.800527)'))) / (select extract(epoch from '2026-07-25 08:16:07'::timestamp) - extract(epoch from '2026-07-25 08:16:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.34312 -2.800616)', '2026-07-25 08:16:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342962 -2.800527)'), GeomFromEWKT('SRID=4674;POINT (-40.34312 -2.800616)'))) / (select extract(epoch from '2026-07-25 08:16:14'::timestamp) - extract(epoch from '2026-07-25 08:16:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342962 -2.800527)'), GeomFromEWKT('SRID=4674;POINT (-40.34312 -2.800616)'))) / (select extract(epoch from '2026-07-25 08:16:14'::timestamp) - extract(epoch from '2026-07-25 08:16:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.343189 -2.800654)', '2026-07-25 08:16:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34312 -2.800616)'), GeomFromEWKT('SRID=4674;POINT (-40.343189 -2.800654)'))) / (select extract(epoch from '2026-07-25 08:16:17'::timestamp) - extract(epoch from '2026-07-25 08:16:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34312 -2.800616)'), GeomFromEWKT('SRID=4674;POINT (-40.343189 -2.800654)'))) / (select extract(epoch from '2026-07-25 08:16:17'::timestamp) - extract(epoch from '2026-07-25 08:16: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'), 47837, 'SRID=4674;POINT (-40.343374 -2.800743)', '2026-07-25 08:16:25', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343189 -2.800654)'), GeomFromEWKT('SRID=4674;POINT (-40.343374 -2.800743)'))) / (select extract(epoch from '2026-07-25 08:16:25'::timestamp) - extract(epoch from '2026-07-25 08:16:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343189 -2.800654)'), GeomFromEWKT('SRID=4674;POINT (-40.343374 -2.800743)'))) / (select extract(epoch from '2026-07-25 08:16:25'::timestamp) - extract(epoch from '2026-07-25 08:16: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'), 47837, 'SRID=4674;POINT (-40.343398 -2.800755)', '2026-07-25 08:16:26', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343374 -2.800743)'), GeomFromEWKT('SRID=4674;POINT (-40.343398 -2.800755)'))) / (select extract(epoch from '2026-07-25 08:16:26'::timestamp) - extract(epoch from '2026-07-25 08:16:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343374 -2.800743)'), GeomFromEWKT('SRID=4674;POINT (-40.343398 -2.800755)'))) / (select extract(epoch from '2026-07-25 08:16:26'::timestamp) - extract(epoch from '2026-07-25 08:16:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.343561 -2.800839)', '2026-07-25 08:16:33', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343398 -2.800755)'), GeomFromEWKT('SRID=4674;POINT (-40.343561 -2.800839)'))) / (select extract(epoch from '2026-07-25 08:16:33'::timestamp) - extract(epoch from '2026-07-25 08:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343398 -2.800755)'), GeomFromEWKT('SRID=4674;POINT (-40.343561 -2.800839)'))) / (select extract(epoch from '2026-07-25 08:16:33'::timestamp) - extract(epoch from '2026-07-25 08:16: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'), 47837, 'SRID=4674;POINT (-40.343742 -2.800928)', '2026-07-25 08:16:41', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343561 -2.800839)'), GeomFromEWKT('SRID=4674;POINT (-40.343742 -2.800928)'))) / (select extract(epoch from '2026-07-25 08:16:41'::timestamp) - extract(epoch from '2026-07-25 08:16:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343561 -2.800839)'), GeomFromEWKT('SRID=4674;POINT (-40.343742 -2.800928)'))) / (select extract(epoch from '2026-07-25 08:16:41'::timestamp) - extract(epoch from '2026-07-25 08:16:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.343765 -2.800938)', '2026-07-25 08:16:42', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343742 -2.800928)'), GeomFromEWKT('SRID=4674;POINT (-40.343765 -2.800938)'))) / (select extract(epoch from '2026-07-25 08:16:42'::timestamp) - extract(epoch from '2026-07-25 08:16:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343742 -2.800928)'), GeomFromEWKT('SRID=4674;POINT (-40.343765 -2.800938)'))) / (select extract(epoch from '2026-07-25 08:16:42'::timestamp) - extract(epoch from '2026-07-25 08:16: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'), 47837, 'SRID=4674;POINT (-40.343949 -2.801021)', '2026-07-25 08:16:50', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343765 -2.800938)'), GeomFromEWKT('SRID=4674;POINT (-40.343949 -2.801021)'))) / (select extract(epoch from '2026-07-25 08:16:50'::timestamp) - extract(epoch from '2026-07-25 08:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343765 -2.800938)'), GeomFromEWKT('SRID=4674;POINT (-40.343949 -2.801021)'))) / (select extract(epoch from '2026-07-25 08:16:50'::timestamp) - extract(epoch from '2026-07-25 08:16: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'), 47837, 'SRID=4674;POINT (-40.344024 -2.801046)', '2026-07-25 08:16:53', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343949 -2.801021)'), GeomFromEWKT('SRID=4674;POINT (-40.344024 -2.801046)'))) / (select extract(epoch from '2026-07-25 08:16:53'::timestamp) - extract(epoch from '2026-07-25 08:16:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343949 -2.801021)'), GeomFromEWKT('SRID=4674;POINT (-40.344024 -2.801046)'))) / (select extract(epoch from '2026-07-25 08:16:53'::timestamp) - extract(epoch from '2026-07-25 08:16:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.344204 -2.80113)', '2026-07-25 08:17:01', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344024 -2.801046)'), GeomFromEWKT('SRID=4674;POINT (-40.344204 -2.80113)'))) / (select extract(epoch from '2026-07-25 08:17:01'::timestamp) - extract(epoch from '2026-07-25 08:16:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344024 -2.801046)'), GeomFromEWKT('SRID=4674;POINT (-40.344204 -2.80113)'))) / (select extract(epoch from '2026-07-25 08:17:01'::timestamp) - extract(epoch from '2026-07-25 08:16: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'), 47837, 'SRID=4674;POINT (-40.344364 -2.801218)', '2026-07-25 08:17:08', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344204 -2.80113)'), GeomFromEWKT('SRID=4674;POINT (-40.344364 -2.801218)'))) / (select extract(epoch from '2026-07-25 08:17:08'::timestamp) - extract(epoch from '2026-07-25 08:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344204 -2.80113)'), GeomFromEWKT('SRID=4674;POINT (-40.344364 -2.801218)'))) / (select extract(epoch from '2026-07-25 08:17:08'::timestamp) - extract(epoch from '2026-07-25 08:17: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'), 47837, 'SRID=4674;POINT (-40.344389 -2.801231)', '2026-07-25 08:17:09', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344364 -2.801218)'), GeomFromEWKT('SRID=4674;POINT (-40.344389 -2.801231)'))) / (select extract(epoch from '2026-07-25 08:17:09'::timestamp) - extract(epoch from '2026-07-25 08:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344364 -2.801218)'), GeomFromEWKT('SRID=4674;POINT (-40.344389 -2.801231)'))) / (select extract(epoch from '2026-07-25 08:17:09'::timestamp) - extract(epoch from '2026-07-25 08:17:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.344562 -2.801307)', '2026-07-25 08:17:16', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344389 -2.801231)'), GeomFromEWKT('SRID=4674;POINT (-40.344562 -2.801307)'))) / (select extract(epoch from '2026-07-25 08:17:16'::timestamp) - extract(epoch from '2026-07-25 08:17:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344389 -2.801231)'), GeomFromEWKT('SRID=4674;POINT (-40.344562 -2.801307)'))) / (select extract(epoch from '2026-07-25 08:17:16'::timestamp) - extract(epoch from '2026-07-25 08:17: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'), 47837, 'SRID=4674;POINT (-40.344588 -2.801318)', '2026-07-25 08:17:17', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344562 -2.801307)'), GeomFromEWKT('SRID=4674;POINT (-40.344588 -2.801318)'))) / (select extract(epoch from '2026-07-25 08:17:17'::timestamp) - extract(epoch from '2026-07-25 08:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344562 -2.801307)'), GeomFromEWKT('SRID=4674;POINT (-40.344588 -2.801318)'))) / (select extract(epoch from '2026-07-25 08:17:17'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.344751 -2.801401)', '2026-07-25 08:17:24', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344588 -2.801318)'), GeomFromEWKT('SRID=4674;POINT (-40.344751 -2.801401)'))) / (select extract(epoch from '2026-07-25 08:17:24'::timestamp) - extract(epoch from '2026-07-25 08:17:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344588 -2.801318)'), GeomFromEWKT('SRID=4674;POINT (-40.344751 -2.801401)'))) / (select extract(epoch from '2026-07-25 08:17:24'::timestamp) - extract(epoch from '2026-07-25 08:17:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.344936 -2.80147)', '2026-07-25 08:17:31', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344751 -2.801401)'), GeomFromEWKT('SRID=4674;POINT (-40.344936 -2.80147)'))) / (select extract(epoch from '2026-07-25 08:17:31'::timestamp) - extract(epoch from '2026-07-25 08:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344751 -2.801401)'), GeomFromEWKT('SRID=4674;POINT (-40.344936 -2.80147)'))) / (select extract(epoch from '2026-07-25 08:17:31'::timestamp) - extract(epoch from '2026-07-25 08:17: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'), 47837, 'SRID=4674;POINT (-40.344961 -2.801481)', '2026-07-25 08:17:32', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344936 -2.80147)'), GeomFromEWKT('SRID=4674;POINT (-40.344961 -2.801481)'))) / (select extract(epoch from '2026-07-25 08:17:32'::timestamp) - extract(epoch from '2026-07-25 08:17:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344936 -2.80147)'), GeomFromEWKT('SRID=4674;POINT (-40.344961 -2.801481)'))) / (select extract(epoch from '2026-07-25 08:17:32'::timestamp) - extract(epoch from '2026-07-25 08:17:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.345135 -2.801569)', '2026-07-25 08:17:39', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344961 -2.801481)'), GeomFromEWKT('SRID=4674;POINT (-40.345135 -2.801569)'))) / (select extract(epoch from '2026-07-25 08:17:39'::timestamp) - extract(epoch from '2026-07-25 08:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344961 -2.801481)'), GeomFromEWKT('SRID=4674;POINT (-40.345135 -2.801569)'))) / (select extract(epoch from '2026-07-25 08:17:39'::timestamp) - extract(epoch from '2026-07-25 08:17: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'), 47837, 'SRID=4674;POINT (-40.345204 -2.801608)', '2026-07-25 08:17:42', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345135 -2.801569)'), GeomFromEWKT('SRID=4674;POINT (-40.345204 -2.801608)'))) / (select extract(epoch from '2026-07-25 08:17:42'::timestamp) - extract(epoch from '2026-07-25 08:17:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345135 -2.801569)'), GeomFromEWKT('SRID=4674;POINT (-40.345204 -2.801608)'))) / (select extract(epoch from '2026-07-25 08:17:42'::timestamp) - extract(epoch from '2026-07-25 08:17:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.345378 -2.801714)', '2026-07-25 08:17:50', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345204 -2.801608)'), GeomFromEWKT('SRID=4674;POINT (-40.345378 -2.801714)'))) / (select extract(epoch from '2026-07-25 08:17:50'::timestamp) - extract(epoch from '2026-07-25 08:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345204 -2.801608)'), GeomFromEWKT('SRID=4674;POINT (-40.345378 -2.801714)'))) / (select extract(epoch from '2026-07-25 08:17:50'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.345552 -2.801811)', '2026-07-25 08:17:58', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345378 -2.801714)'), GeomFromEWKT('SRID=4674;POINT (-40.345552 -2.801811)'))) / (select extract(epoch from '2026-07-25 08:17:58'::timestamp) - extract(epoch from '2026-07-25 08:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345378 -2.801714)'), GeomFromEWKT('SRID=4674;POINT (-40.345552 -2.801811)'))) / (select extract(epoch from '2026-07-25 08:17:58'::timestamp) - extract(epoch from '2026-07-25 08:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.345615 -2.801845)', '2026-07-25 08:18:01', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345552 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.345615 -2.801845)'))) / (select extract(epoch from '2026-07-25 08:18:01'::timestamp) - extract(epoch from '2026-07-25 08:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345552 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.345615 -2.801845)'))) / (select extract(epoch from '2026-07-25 08:18:01'::timestamp) - extract(epoch from '2026-07-25 08:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.345777 -2.801944)', '2026-07-25 08:18:09', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345615 -2.801845)'), GeomFromEWKT('SRID=4674;POINT (-40.345777 -2.801944)'))) / (select extract(epoch from '2026-07-25 08:18:09'::timestamp) - extract(epoch from '2026-07-25 08:18:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345615 -2.801845)'), GeomFromEWKT('SRID=4674;POINT (-40.345777 -2.801944)'))) / (select extract(epoch from '2026-07-25 08:18:09'::timestamp) - extract(epoch from '2026-07-25 08:18:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.345836 -2.801986)', '2026-07-25 08:18:12', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345777 -2.801944)'), GeomFromEWKT('SRID=4674;POINT (-40.345836 -2.801986)'))) / (select extract(epoch from '2026-07-25 08:18:12'::timestamp) - extract(epoch from '2026-07-25 08:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345777 -2.801944)'), GeomFromEWKT('SRID=4674;POINT (-40.345836 -2.801986)'))) / (select extract(epoch from '2026-07-25 08:18:12'::timestamp) - extract(epoch from '2026-07-25 08:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.346008 -2.802081)', '2026-07-25 08:18:20', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345836 -2.801986)'), GeomFromEWKT('SRID=4674;POINT (-40.346008 -2.802081)'))) / (select extract(epoch from '2026-07-25 08:18:20'::timestamp) - extract(epoch from '2026-07-25 08:18:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345836 -2.801986)'), GeomFromEWKT('SRID=4674;POINT (-40.346008 -2.802081)'))) / (select extract(epoch from '2026-07-25 08:18:20'::timestamp) - extract(epoch from '2026-07-25 08:18:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.346032 -2.802093)', '2026-07-25 08:18:21', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346008 -2.802081)'), GeomFromEWKT('SRID=4674;POINT (-40.346032 -2.802093)'))) / (select extract(epoch from '2026-07-25 08:18:21'::timestamp) - extract(epoch from '2026-07-25 08:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346008 -2.802081)'), GeomFromEWKT('SRID=4674;POINT (-40.346032 -2.802093)'))) / (select extract(epoch from '2026-07-25 08:18:21'::timestamp) - extract(epoch from '2026-07-25 08:18: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'), 47837, 'SRID=4674;POINT (-40.34621 -2.802157)', '2026-07-25 08:18:28', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346032 -2.802093)'), GeomFromEWKT('SRID=4674;POINT (-40.34621 -2.802157)'))) / (select extract(epoch from '2026-07-25 08:18:28'::timestamp) - extract(epoch from '2026-07-25 08:18:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346032 -2.802093)'), GeomFromEWKT('SRID=4674;POINT (-40.34621 -2.802157)'))) / (select extract(epoch from '2026-07-25 08:18:28'::timestamp) - extract(epoch from '2026-07-25 08:18:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.346257 -2.802174)', '2026-07-25 08:18:30', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34621 -2.802157)'), GeomFromEWKT('SRID=4674;POINT (-40.346257 -2.802174)'))) / (select extract(epoch from '2026-07-25 08:18:30'::timestamp) - extract(epoch from '2026-07-25 08:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34621 -2.802157)'), GeomFromEWKT('SRID=4674;POINT (-40.346257 -2.802174)'))) / (select extract(epoch from '2026-07-25 08:18:30'::timestamp) - extract(epoch from '2026-07-25 08:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.346425 -2.802254)', '2026-07-25 08:18:37', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346257 -2.802174)'), GeomFromEWKT('SRID=4674;POINT (-40.346425 -2.802254)'))) / (select extract(epoch from '2026-07-25 08:18:37'::timestamp) - extract(epoch from '2026-07-25 08:18:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346257 -2.802174)'), GeomFromEWKT('SRID=4674;POINT (-40.346425 -2.802254)'))) / (select extract(epoch from '2026-07-25 08:18:37'::timestamp) - extract(epoch from '2026-07-25 08:18:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.346478 -2.80228)', '2026-07-25 08:18:39', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346425 -2.802254)'), GeomFromEWKT('SRID=4674;POINT (-40.346478 -2.80228)'))) / (select extract(epoch from '2026-07-25 08:18:39'::timestamp) - extract(epoch from '2026-07-25 08:18:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346425 -2.802254)'), GeomFromEWKT('SRID=4674;POINT (-40.346478 -2.80228)'))) / (select extract(epoch from '2026-07-25 08:18:39'::timestamp) - extract(epoch from '2026-07-25 08:18: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'), 47837, 'SRID=4674;POINT (-40.346656 -2.802371)', '2026-07-25 08:18:47', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346478 -2.80228)'), GeomFromEWKT('SRID=4674;POINT (-40.346656 -2.802371)'))) / (select extract(epoch from '2026-07-25 08:18:47'::timestamp) - extract(epoch from '2026-07-25 08:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346478 -2.80228)'), GeomFromEWKT('SRID=4674;POINT (-40.346656 -2.802371)'))) / (select extract(epoch from '2026-07-25 08:18:47'::timestamp) - extract(epoch from '2026-07-25 08:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.346819 -2.802466)', '2026-07-25 08:18:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346656 -2.802371)'), GeomFromEWKT('SRID=4674;POINT (-40.346819 -2.802466)'))) / (select extract(epoch from '2026-07-25 08:18:54'::timestamp) - extract(epoch from '2026-07-25 08:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346656 -2.802371)'), GeomFromEWKT('SRID=4674;POINT (-40.346819 -2.802466)'))) / (select extract(epoch from '2026-07-25 08:18:54'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.346862 -2.802489)', '2026-07-25 08:18:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346819 -2.802466)'), GeomFromEWKT('SRID=4674;POINT (-40.346862 -2.802489)'))) / (select extract(epoch from '2026-07-25 08:18:56'::timestamp) - extract(epoch from '2026-07-25 08:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346819 -2.802466)'), GeomFromEWKT('SRID=4674;POINT (-40.346862 -2.802489)'))) / (select extract(epoch from '2026-07-25 08:18:56'::timestamp) - extract(epoch from '2026-07-25 08:18: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'), 47837, 'SRID=4674;POINT (-40.347037 -2.802597)', '2026-07-25 08:19:04', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346862 -2.802489)'), GeomFromEWKT('SRID=4674;POINT (-40.347037 -2.802597)'))) / (select extract(epoch from '2026-07-25 08:19:04'::timestamp) - extract(epoch from '2026-07-25 08:18:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346862 -2.802489)'), GeomFromEWKT('SRID=4674;POINT (-40.347037 -2.802597)'))) / (select extract(epoch from '2026-07-25 08:19:04'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.347061 -2.80261)', '2026-07-25 08:19:05', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347037 -2.802597)'), GeomFromEWKT('SRID=4674;POINT (-40.347061 -2.80261)'))) / (select extract(epoch from '2026-07-25 08:19:05'::timestamp) - extract(epoch from '2026-07-25 08:19:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347037 -2.802597)'), GeomFromEWKT('SRID=4674;POINT (-40.347061 -2.80261)'))) / (select extract(epoch from '2026-07-25 08:19:05'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.347217 -2.802706)', '2026-07-25 08:19:12', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347061 -2.80261)'), GeomFromEWKT('SRID=4674;POINT (-40.347217 -2.802706)'))) / (select extract(epoch from '2026-07-25 08:19:12'::timestamp) - extract(epoch from '2026-07-25 08:19:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347061 -2.80261)'), GeomFromEWKT('SRID=4674;POINT (-40.347217 -2.802706)'))) / (select extract(epoch from '2026-07-25 08:19:12'::timestamp) - extract(epoch from '2026-07-25 08:19:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.34726 -2.802733)', '2026-07-25 08:19:14', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347217 -2.802706)'), GeomFromEWKT('SRID=4674;POINT (-40.34726 -2.802733)'))) / (select extract(epoch from '2026-07-25 08:19:14'::timestamp) - extract(epoch from '2026-07-25 08:19:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347217 -2.802706)'), GeomFromEWKT('SRID=4674;POINT (-40.34726 -2.802733)'))) / (select extract(epoch from '2026-07-25 08:19:14'::timestamp) - extract(epoch from '2026-07-25 08:19: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'), 47837, 'SRID=4674;POINT (-40.347438 -2.802816)', '2026-07-25 08:19:22', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34726 -2.802733)'), GeomFromEWKT('SRID=4674;POINT (-40.347438 -2.802816)'))) / (select extract(epoch from '2026-07-25 08:19:22'::timestamp) - extract(epoch from '2026-07-25 08:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34726 -2.802733)'), GeomFromEWKT('SRID=4674;POINT (-40.347438 -2.802816)'))) / (select extract(epoch from '2026-07-25 08:19:22'::timestamp) - extract(epoch from '2026-07-25 08:19: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'), 47837, 'SRID=4674;POINT (-40.347603 -2.802897)', '2026-07-25 08:19:29', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347438 -2.802816)'), GeomFromEWKT('SRID=4674;POINT (-40.347603 -2.802897)'))) / (select extract(epoch from '2026-07-25 08:19:29'::timestamp) - extract(epoch from '2026-07-25 08:19:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347438 -2.802816)'), GeomFromEWKT('SRID=4674;POINT (-40.347603 -2.802897)'))) / (select extract(epoch from '2026-07-25 08:19:29'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.347676 -2.802924)', '2026-07-25 08:19:32', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347603 -2.802897)'), GeomFromEWKT('SRID=4674;POINT (-40.347676 -2.802924)'))) / (select extract(epoch from '2026-07-25 08:19:32'::timestamp) - extract(epoch from '2026-07-25 08:19:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347603 -2.802897)'), GeomFromEWKT('SRID=4674;POINT (-40.347676 -2.802924)'))) / (select extract(epoch from '2026-07-25 08:19:32'::timestamp) - extract(epoch from '2026-07-25 08:19: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'), 47837, 'SRID=4674;POINT (-40.347844 -2.803003)', '2026-07-25 08:19:39', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347676 -2.802924)'), GeomFromEWKT('SRID=4674;POINT (-40.347844 -2.803003)'))) / (select extract(epoch from '2026-07-25 08:19:39'::timestamp) - extract(epoch from '2026-07-25 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347676 -2.802924)'), GeomFromEWKT('SRID=4674;POINT (-40.347844 -2.803003)'))) / (select extract(epoch from '2026-07-25 08:19:39'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.347912 -2.803035)', '2026-07-25 08:19:42', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347844 -2.803003)'), GeomFromEWKT('SRID=4674;POINT (-40.347912 -2.803035)'))) / (select extract(epoch from '2026-07-25 08:19:42'::timestamp) - extract(epoch from '2026-07-25 08:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347844 -2.803003)'), GeomFromEWKT('SRID=4674;POINT (-40.347912 -2.803035)'))) / (select extract(epoch from '2026-07-25 08:19:42'::timestamp) - extract(epoch from '2026-07-25 08:19: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'), 47837, 'SRID=4674;POINT (-40.348076 -2.803115)', '2026-07-25 08:19:49', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347912 -2.803035)'), GeomFromEWKT('SRID=4674;POINT (-40.348076 -2.803115)'))) / (select extract(epoch from '2026-07-25 08:19:49'::timestamp) - extract(epoch from '2026-07-25 08:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347912 -2.803035)'), GeomFromEWKT('SRID=4674;POINT (-40.348076 -2.803115)'))) / (select extract(epoch from '2026-07-25 08:19:49'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.348118 -2.803139)', '2026-07-25 08:19:51', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348076 -2.803115)'), GeomFromEWKT('SRID=4674;POINT (-40.348118 -2.803139)'))) / (select extract(epoch from '2026-07-25 08:19:51'::timestamp) - extract(epoch from '2026-07-25 08:19:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348076 -2.803115)'), GeomFromEWKT('SRID=4674;POINT (-40.348118 -2.803139)'))) / (select extract(epoch from '2026-07-25 08:19:51'::timestamp) - extract(epoch from '2026-07-25 08:19: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'), 47837, 'SRID=4674;POINT (-40.348284 -2.803233)', '2026-07-25 08:19:59', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348118 -2.803139)'), GeomFromEWKT('SRID=4674;POINT (-40.348284 -2.803233)'))) / (select extract(epoch from '2026-07-25 08:19:59'::timestamp) - extract(epoch from '2026-07-25 08:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348118 -2.803139)'), GeomFromEWKT('SRID=4674;POINT (-40.348284 -2.803233)'))) / (select extract(epoch from '2026-07-25 08:19:59'::timestamp) - extract(epoch from '2026-07-25 08:19: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'), 47837, 'SRID=4674;POINT (-40.348438 -2.803329)', '2026-07-25 08:20:06', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348284 -2.803233)'), GeomFromEWKT('SRID=4674;POINT (-40.348438 -2.803329)'))) / (select extract(epoch from '2026-07-25 08:20:06'::timestamp) - extract(epoch from '2026-07-25 08:19:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348284 -2.803233)'), GeomFromEWKT('SRID=4674;POINT (-40.348438 -2.803329)'))) / (select extract(epoch from '2026-07-25 08:20:06'::timestamp) - extract(epoch from '2026-07-25 08:19: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'), 47837, 'SRID=4674;POINT (-40.348479 -2.803358)', '2026-07-25 08:20:08', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348438 -2.803329)'), GeomFromEWKT('SRID=4674;POINT (-40.348479 -2.803358)'))) / (select extract(epoch from '2026-07-25 08:20:08'::timestamp) - extract(epoch from '2026-07-25 08:20:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348438 -2.803329)'), GeomFromEWKT('SRID=4674;POINT (-40.348479 -2.803358)'))) / (select extract(epoch from '2026-07-25 08:20:08'::timestamp) - extract(epoch from '2026-07-25 08:20: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'), 47837, 'SRID=4674;POINT (-40.348648 -2.803474)', '2026-07-25 08:20:16', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348479 -2.803358)'), GeomFromEWKT('SRID=4674;POINT (-40.348648 -2.803474)'))) / (select extract(epoch from '2026-07-25 08:20:16'::timestamp) - extract(epoch from '2026-07-25 08:20:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348479 -2.803358)'), GeomFromEWKT('SRID=4674;POINT (-40.348648 -2.803474)'))) / (select extract(epoch from '2026-07-25 08:20:16'::timestamp) - extract(epoch from '2026-07-25 08:20: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'), 47837, 'SRID=4674;POINT (-40.348695 -2.8035)', '2026-07-25 08:20:18', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348648 -2.803474)'), GeomFromEWKT('SRID=4674;POINT (-40.348695 -2.8035)'))) / (select extract(epoch from '2026-07-25 08:20:18'::timestamp) - extract(epoch from '2026-07-25 08:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348648 -2.803474)'), GeomFromEWKT('SRID=4674;POINT (-40.348695 -2.8035)'))) / (select extract(epoch from '2026-07-25 08:20:18'::timestamp) - extract(epoch from '2026-07-25 08:20: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'), 47837, 'SRID=4674;POINT (-40.348851 -2.803591)', '2026-07-25 08:20:25', -3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348695 -2.8035)'), GeomFromEWKT('SRID=4674;POINT (-40.348851 -2.803591)'))) / (select extract(epoch from '2026-07-25 08:20:25'::timestamp) - extract(epoch from '2026-07-25 08:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348695 -2.8035)'), GeomFromEWKT('SRID=4674;POINT (-40.348851 -2.803591)'))) / (select extract(epoch from '2026-07-25 08:20:25'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.348898 -2.803616)', '2026-07-25 08:20:27', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348851 -2.803591)'), GeomFromEWKT('SRID=4674;POINT (-40.348898 -2.803616)'))) / (select extract(epoch from '2026-07-25 08:20:27'::timestamp) - extract(epoch from '2026-07-25 08:20:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348851 -2.803591)'), GeomFromEWKT('SRID=4674;POINT (-40.348898 -2.803616)'))) / (select extract(epoch from '2026-07-25 08:20:27'::timestamp) - extract(epoch from '2026-07-25 08:20:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.349084 -2.803708)', '2026-07-25 08:20:35', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348898 -2.803616)'), GeomFromEWKT('SRID=4674;POINT (-40.349084 -2.803708)'))) / (select extract(epoch from '2026-07-25 08:20:35'::timestamp) - extract(epoch from '2026-07-25 08:20:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348898 -2.803616)'), GeomFromEWKT('SRID=4674;POINT (-40.349084 -2.803708)'))) / (select extract(epoch from '2026-07-25 08:20:35'::timestamp) - extract(epoch from '2026-07-25 08:20: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'), 47837, 'SRID=4674;POINT (-40.349133 -2.803729)', '2026-07-25 08:20:37', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349084 -2.803708)'), GeomFromEWKT('SRID=4674;POINT (-40.349133 -2.803729)'))) / (select extract(epoch from '2026-07-25 08:20:37'::timestamp) - extract(epoch from '2026-07-25 08:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349084 -2.803708)'), GeomFromEWKT('SRID=4674;POINT (-40.349133 -2.803729)'))) / (select extract(epoch from '2026-07-25 08:20:37'::timestamp) - extract(epoch from '2026-07-25 08:20:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.349311 -2.803823)', '2026-07-25 08:20:45', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349133 -2.803729)'), GeomFromEWKT('SRID=4674;POINT (-40.349311 -2.803823)'))) / (select extract(epoch from '2026-07-25 08:20:45'::timestamp) - extract(epoch from '2026-07-25 08:20:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349133 -2.803729)'), GeomFromEWKT('SRID=4674;POINT (-40.349311 -2.803823)'))) / (select extract(epoch from '2026-07-25 08:20:45'::timestamp) - extract(epoch from '2026-07-25 08:20: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'), 47837, 'SRID=4674;POINT (-40.349352 -2.80385)', '2026-07-25 08:20:47', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349311 -2.803823)'), GeomFromEWKT('SRID=4674;POINT (-40.349352 -2.80385)'))) / (select extract(epoch from '2026-07-25 08:20:47'::timestamp) - extract(epoch from '2026-07-25 08:20:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349311 -2.803823)'), GeomFromEWKT('SRID=4674;POINT (-40.349352 -2.80385)'))) / (select extract(epoch from '2026-07-25 08:20:47'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.349503 -2.80396)', '2026-07-25 08:20:55', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349352 -2.80385)'), GeomFromEWKT('SRID=4674;POINT (-40.349503 -2.80396)'))) / (select extract(epoch from '2026-07-25 08:20:55'::timestamp) - extract(epoch from '2026-07-25 08:20:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349352 -2.80385)'), GeomFromEWKT('SRID=4674;POINT (-40.349503 -2.80396)'))) / (select extract(epoch from '2026-07-25 08:20:55'::timestamp) - extract(epoch from '2026-07-25 08:20: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'), 47837, 'SRID=4674;POINT (-40.349684 -2.804055)', '2026-07-25 08:21:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349503 -2.80396)'), GeomFromEWKT('SRID=4674;POINT (-40.349684 -2.804055)'))) / (select extract(epoch from '2026-07-25 08:21:03'::timestamp) - extract(epoch from '2026-07-25 08:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349503 -2.80396)'), GeomFromEWKT('SRID=4674;POINT (-40.349684 -2.804055)'))) / (select extract(epoch from '2026-07-25 08:21:03'::timestamp) - extract(epoch from '2026-07-25 08:20:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.349843 -2.804154)', '2026-07-25 08:21:10', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349684 -2.804055)'), GeomFromEWKT('SRID=4674;POINT (-40.349843 -2.804154)'))) / (select extract(epoch from '2026-07-25 08:21:10'::timestamp) - extract(epoch from '2026-07-25 08:21:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349684 -2.804055)'), GeomFromEWKT('SRID=4674;POINT (-40.349843 -2.804154)'))) / (select extract(epoch from '2026-07-25 08:21:10'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.350002 -2.804243)', '2026-07-25 08:21:17', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349843 -2.804154)'), GeomFromEWKT('SRID=4674;POINT (-40.350002 -2.804243)'))) / (select extract(epoch from '2026-07-25 08:21:17'::timestamp) - extract(epoch from '2026-07-25 08:21:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349843 -2.804154)'), GeomFromEWKT('SRID=4674;POINT (-40.350002 -2.804243)'))) / (select extract(epoch from '2026-07-25 08:21:17'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.350022 -2.804254)', '2026-07-25 08:21:18', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350002 -2.804243)'), GeomFromEWKT('SRID=4674;POINT (-40.350022 -2.804254)'))) / (select extract(epoch from '2026-07-25 08:21:18'::timestamp) - extract(epoch from '2026-07-25 08:21:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350002 -2.804243)'), GeomFromEWKT('SRID=4674;POINT (-40.350022 -2.804254)'))) / (select extract(epoch from '2026-07-25 08:21:18'::timestamp) - extract(epoch from '2026-07-25 08:21: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'), 47837, 'SRID=4674;POINT (-40.350177 -2.804371)', '2026-07-25 08:21:26', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350022 -2.804254)'), GeomFromEWKT('SRID=4674;POINT (-40.350177 -2.804371)'))) / (select extract(epoch from '2026-07-25 08:21:26'::timestamp) - extract(epoch from '2026-07-25 08:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350022 -2.804254)'), GeomFromEWKT('SRID=4674;POINT (-40.350177 -2.804371)'))) / (select extract(epoch from '2026-07-25 08:21:26'::timestamp) - extract(epoch from '2026-07-25 08:21: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'), 47837, 'SRID=4674;POINT (-40.350198 -2.804384)', '2026-07-25 08:21:27', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350177 -2.804371)'), GeomFromEWKT('SRID=4674;POINT (-40.350198 -2.804384)'))) / (select extract(epoch from '2026-07-25 08:21:27'::timestamp) - extract(epoch from '2026-07-25 08:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350177 -2.804371)'), GeomFromEWKT('SRID=4674;POINT (-40.350198 -2.804384)'))) / (select extract(epoch from '2026-07-25 08:21:27'::timestamp) - extract(epoch from '2026-07-25 08:21: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'), 47837, 'SRID=4674;POINT (-40.350365 -2.804503)', '2026-07-25 08:21:35', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350198 -2.804384)'), GeomFromEWKT('SRID=4674;POINT (-40.350365 -2.804503)'))) / (select extract(epoch from '2026-07-25 08:21:35'::timestamp) - extract(epoch from '2026-07-25 08:21:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350198 -2.804384)'), GeomFromEWKT('SRID=4674;POINT (-40.350365 -2.804503)'))) / (select extract(epoch from '2026-07-25 08:21:35'::timestamp) - extract(epoch from '2026-07-25 08:21: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'), 47837, 'SRID=4674;POINT (-40.350446 -2.804563)', '2026-07-25 08:21:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350365 -2.804503)'), GeomFromEWKT('SRID=4674;POINT (-40.350446 -2.804563)'))) / (select extract(epoch from '2026-07-25 08:21:39'::timestamp) - extract(epoch from '2026-07-25 08:21:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350365 -2.804503)'), GeomFromEWKT('SRID=4674;POINT (-40.350446 -2.804563)'))) / (select extract(epoch from '2026-07-25 08:21:39'::timestamp) - extract(epoch from '2026-07-25 08:21: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'), 47837, 'SRID=4674;POINT (-40.350603 -2.804689)', '2026-07-25 08:21:47', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350446 -2.804563)'), GeomFromEWKT('SRID=4674;POINT (-40.350603 -2.804689)'))) / (select extract(epoch from '2026-07-25 08:21:47'::timestamp) - extract(epoch from '2026-07-25 08:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350446 -2.804563)'), GeomFromEWKT('SRID=4674;POINT (-40.350603 -2.804689)'))) / (select extract(epoch from '2026-07-25 08:21:47'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.350621 -2.804707)', '2026-07-25 08:21:48', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350603 -2.804689)'), GeomFromEWKT('SRID=4674;POINT (-40.350621 -2.804707)'))) / (select extract(epoch from '2026-07-25 08:21:48'::timestamp) - extract(epoch from '2026-07-25 08:21:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350603 -2.804689)'), GeomFromEWKT('SRID=4674;POINT (-40.350621 -2.804707)'))) / (select extract(epoch from '2026-07-25 08:21:48'::timestamp) - extract(epoch from '2026-07-25 08:21: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'), 47837, 'SRID=4674;POINT (-40.35078 -2.80482)', '2026-07-25 08:21:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350621 -2.804707)'), GeomFromEWKT('SRID=4674;POINT (-40.35078 -2.80482)'))) / (select extract(epoch from '2026-07-25 08:21:56'::timestamp) - extract(epoch from '2026-07-25 08:21:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350621 -2.804707)'), GeomFromEWKT('SRID=4674;POINT (-40.35078 -2.80482)'))) / (select extract(epoch from '2026-07-25 08:21:56'::timestamp) - extract(epoch from '2026-07-25 08:21:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.350944 -2.80493)', '2026-07-25 08:22:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35078 -2.80482)'), GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.80493)'))) / (select extract(epoch from '2026-07-25 08:22:04'::timestamp) - extract(epoch from '2026-07-25 08:21:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35078 -2.80482)'), GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.80493)'))) / (select extract(epoch from '2026-07-25 08:22:04'::timestamp) - extract(epoch from '2026-07-25 08:21: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'), 47837, 'SRID=4674;POINT (-40.351002 -2.804974)', '2026-07-25 08:22:07', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.80493)'), GeomFromEWKT('SRID=4674;POINT (-40.351002 -2.804974)'))) / (select extract(epoch from '2026-07-25 08:22:07'::timestamp) - extract(epoch from '2026-07-25 08:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350944 -2.80493)'), GeomFromEWKT('SRID=4674;POINT (-40.351002 -2.804974)'))) / (select extract(epoch from '2026-07-25 08:22:07'::timestamp) - extract(epoch from '2026-07-25 08:22: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'), 47837, 'SRID=4674;POINT (-40.351159 -2.805101)', '2026-07-25 08:22:15', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351002 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.351159 -2.805101)'))) / (select extract(epoch from '2026-07-25 08:22:15'::timestamp) - extract(epoch from '2026-07-25 08:22:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351002 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.351159 -2.805101)'))) / (select extract(epoch from '2026-07-25 08:22:15'::timestamp) - extract(epoch from '2026-07-25 08:22: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'), 47837, 'SRID=4674;POINT (-40.351199 -2.805133)', '2026-07-25 08:22:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351159 -2.805101)'), GeomFromEWKT('SRID=4674;POINT (-40.351199 -2.805133)'))) / (select extract(epoch from '2026-07-25 08:22:17'::timestamp) - extract(epoch from '2026-07-25 08:22:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351159 -2.805101)'), GeomFromEWKT('SRID=4674;POINT (-40.351199 -2.805133)'))) / (select extract(epoch from '2026-07-25 08:22:17'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.35135 -2.805253)', '2026-07-25 08:22:25', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351199 -2.805133)'), GeomFromEWKT('SRID=4674;POINT (-40.35135 -2.805253)'))) / (select extract(epoch from '2026-07-25 08:22:25'::timestamp) - extract(epoch from '2026-07-25 08:22:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351199 -2.805133)'), GeomFromEWKT('SRID=4674;POINT (-40.35135 -2.805253)'))) / (select extract(epoch from '2026-07-25 08:22:25'::timestamp) - extract(epoch from '2026-07-25 08:22: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'), 47837, 'SRID=4674;POINT (-40.351369 -2.805267)', '2026-07-25 08:22:26', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35135 -2.805253)'), GeomFromEWKT('SRID=4674;POINT (-40.351369 -2.805267)'))) / (select extract(epoch from '2026-07-25 08:22:26'::timestamp) - extract(epoch from '2026-07-25 08:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35135 -2.805253)'), GeomFromEWKT('SRID=4674;POINT (-40.351369 -2.805267)'))) / (select extract(epoch from '2026-07-25 08:22:26'::timestamp) - extract(epoch from '2026-07-25 08:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.351511 -2.805387)', '2026-07-25 08:22:34', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351369 -2.805267)'), GeomFromEWKT('SRID=4674;POINT (-40.351511 -2.805387)'))) / (select extract(epoch from '2026-07-25 08:22:34'::timestamp) - extract(epoch from '2026-07-25 08:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351369 -2.805267)'), GeomFromEWKT('SRID=4674;POINT (-40.351511 -2.805387)'))) / (select extract(epoch from '2026-07-25 08:22:34'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.351548 -2.805422)', '2026-07-25 08:22:36', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351511 -2.805387)'), GeomFromEWKT('SRID=4674;POINT (-40.351548 -2.805422)'))) / (select extract(epoch from '2026-07-25 08:22:36'::timestamp) - extract(epoch from '2026-07-25 08:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351511 -2.805387)'), GeomFromEWKT('SRID=4674;POINT (-40.351548 -2.805422)'))) / (select extract(epoch from '2026-07-25 08:22:36'::timestamp) - extract(epoch from '2026-07-25 08:22: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'), 47837, 'SRID=4674;POINT (-40.351668 -2.805505)', '2026-07-25 08:22:43', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351548 -2.805422)'), GeomFromEWKT('SRID=4674;POINT (-40.351668 -2.805505)'))) / (select extract(epoch from '2026-07-25 08:22:43'::timestamp) - extract(epoch from '2026-07-25 08:22:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351548 -2.805422)'), GeomFromEWKT('SRID=4674;POINT (-40.351668 -2.805505)'))) / (select extract(epoch from '2026-07-25 08:22:43'::timestamp) - extract(epoch from '2026-07-25 08:22:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.351812 -2.805628)', '2026-07-25 08:22:51', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351668 -2.805505)'), GeomFromEWKT('SRID=4674;POINT (-40.351812 -2.805628)'))) / (select extract(epoch from '2026-07-25 08:22:51'::timestamp) - extract(epoch from '2026-07-25 08:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351668 -2.805505)'), GeomFromEWKT('SRID=4674;POINT (-40.351812 -2.805628)'))) / (select extract(epoch from '2026-07-25 08:22:51'::timestamp) - extract(epoch from '2026-07-25 08:22: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'), 47837, 'SRID=4674;POINT (-40.351827 -2.805645)', '2026-07-25 08:22:52', -2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351812 -2.805628)'), GeomFromEWKT('SRID=4674;POINT (-40.351827 -2.805645)'))) / (select extract(epoch from '2026-07-25 08:22:52'::timestamp) - extract(epoch from '2026-07-25 08:22:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351812 -2.805628)'), GeomFromEWKT('SRID=4674;POINT (-40.351827 -2.805645)'))) / (select extract(epoch from '2026-07-25 08:22:52'::timestamp) - extract(epoch from '2026-07-25 08:22: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'), 47837, 'SRID=4674;POINT (-40.351967 -2.80578)', '2026-07-25 08:23:00', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351827 -2.805645)'), GeomFromEWKT('SRID=4674;POINT (-40.351967 -2.80578)'))) / (select extract(epoch from '2026-07-25 08:23:00'::timestamp) - extract(epoch from '2026-07-25 08:22:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351827 -2.805645)'), GeomFromEWKT('SRID=4674;POINT (-40.351967 -2.80578)'))) / (select extract(epoch from '2026-07-25 08:23:00'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.351985 -2.805792)', '2026-07-25 08:23:01', -2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351967 -2.80578)'), GeomFromEWKT('SRID=4674;POINT (-40.351985 -2.805792)'))) / (select extract(epoch from '2026-07-25 08:23:01'::timestamp) - extract(epoch from '2026-07-25 08:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351967 -2.80578)'), GeomFromEWKT('SRID=4674;POINT (-40.351985 -2.805792)'))) / (select extract(epoch from '2026-07-25 08:23:01'::timestamp) - extract(epoch from '2026-07-25 08:23: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'), 47837, 'SRID=4674;POINT (-40.352132 -2.805905)', '2026-07-25 08:23:09', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351985 -2.805792)'), GeomFromEWKT('SRID=4674;POINT (-40.352132 -2.805905)'))) / (select extract(epoch from '2026-07-25 08:23:09'::timestamp) - extract(epoch from '2026-07-25 08:23:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.351985 -2.805792)'), GeomFromEWKT('SRID=4674;POINT (-40.352132 -2.805905)'))) / (select extract(epoch from '2026-07-25 08:23:09'::timestamp) - extract(epoch from '2026-07-25 08:23:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.352147 -2.805925)', '2026-07-25 08:23:10', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352132 -2.805905)'), GeomFromEWKT('SRID=4674;POINT (-40.352147 -2.805925)'))) / (select extract(epoch from '2026-07-25 08:23:10'::timestamp) - extract(epoch from '2026-07-25 08:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352132 -2.805905)'), GeomFromEWKT('SRID=4674;POINT (-40.352147 -2.805925)'))) / (select extract(epoch from '2026-07-25 08:23:10'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.352249 -2.806069)', '2026-07-25 08:23:18', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352147 -2.805925)'), GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.806069)'))) / (select extract(epoch from '2026-07-25 08:23:18'::timestamp) - extract(epoch from '2026-07-25 08:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352147 -2.805925)'), GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.806069)'))) / (select extract(epoch from '2026-07-25 08:23:18'::timestamp) - extract(epoch from '2026-07-25 08:23: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'), 47837, 'SRID=4674;POINT (-40.352368 -2.806198)', '2026-07-25 08:23:26', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.806069)'), GeomFromEWKT('SRID=4674;POINT (-40.352368 -2.806198)'))) / (select extract(epoch from '2026-07-25 08:23:26'::timestamp) - extract(epoch from '2026-07-25 08:23:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352249 -2.806069)'), GeomFromEWKT('SRID=4674;POINT (-40.352368 -2.806198)'))) / (select extract(epoch from '2026-07-25 08:23:26'::timestamp) - extract(epoch from '2026-07-25 08:23:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.352511 -2.806314)', '2026-07-25 08:23:34', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352368 -2.806198)'), GeomFromEWKT('SRID=4674;POINT (-40.352511 -2.806314)'))) / (select extract(epoch from '2026-07-25 08:23:34'::timestamp) - extract(epoch from '2026-07-25 08:23:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352368 -2.806198)'), GeomFromEWKT('SRID=4674;POINT (-40.352511 -2.806314)'))) / (select extract(epoch from '2026-07-25 08:23:34'::timestamp) - extract(epoch from '2026-07-25 08:23: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'), 47837, 'SRID=4674;POINT (-40.352528 -2.806327)', '2026-07-25 08:23:35', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352511 -2.806314)'), GeomFromEWKT('SRID=4674;POINT (-40.352528 -2.806327)'))) / (select extract(epoch from '2026-07-25 08:23:35'::timestamp) - extract(epoch from '2026-07-25 08:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352511 -2.806314)'), GeomFromEWKT('SRID=4674;POINT (-40.352528 -2.806327)'))) / (select extract(epoch from '2026-07-25 08:23:35'::timestamp) - extract(epoch from '2026-07-25 08:23: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'), 47837, 'SRID=4674;POINT (-40.35268 -2.806456)', '2026-07-25 08:23:44', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352528 -2.806327)'), GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.806456)'))) / (select extract(epoch from '2026-07-25 08:23:44'::timestamp) - extract(epoch from '2026-07-25 08:23:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352528 -2.806327)'), GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.806456)'))) / (select extract(epoch from '2026-07-25 08:23:44'::timestamp) - extract(epoch from '2026-07-25 08:23: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'), 47837, 'SRID=4674;POINT (-40.35271 -2.806488)', '2026-07-25 08:23:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.806456)'), GeomFromEWKT('SRID=4674;POINT (-40.35271 -2.806488)'))) / (select extract(epoch from '2026-07-25 08:23:46'::timestamp) - extract(epoch from '2026-07-25 08:23:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35268 -2.806456)'), GeomFromEWKT('SRID=4674;POINT (-40.35271 -2.806488)'))) / (select extract(epoch from '2026-07-25 08:23:46'::timestamp) - extract(epoch from '2026-07-25 08:23: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'), 47837, 'SRID=4674;POINT (-40.352843 -2.806613)', '2026-07-25 08:23:54', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35271 -2.806488)'), GeomFromEWKT('SRID=4674;POINT (-40.352843 -2.806613)'))) / (select extract(epoch from '2026-07-25 08:23:54'::timestamp) - extract(epoch from '2026-07-25 08:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35271 -2.806488)'), GeomFromEWKT('SRID=4674;POINT (-40.352843 -2.806613)'))) / (select extract(epoch from '2026-07-25 08:23:54'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.352858 -2.806626)', '2026-07-25 08:23:55', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352843 -2.806613)'), GeomFromEWKT('SRID=4674;POINT (-40.352858 -2.806626)'))) / (select extract(epoch from '2026-07-25 08:23:55'::timestamp) - extract(epoch from '2026-07-25 08:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352843 -2.806613)'), GeomFromEWKT('SRID=4674;POINT (-40.352858 -2.806626)'))) / (select extract(epoch from '2026-07-25 08:23:55'::timestamp) - extract(epoch from '2026-07-25 08:23: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'), 47837, 'SRID=4674;POINT (-40.352985 -2.80676)', '2026-07-25 08:24:04', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352858 -2.806626)'), GeomFromEWKT('SRID=4674;POINT (-40.352985 -2.80676)'))) / (select extract(epoch from '2026-07-25 08:24:04'::timestamp) - extract(epoch from '2026-07-25 08:23:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352858 -2.806626)'), GeomFromEWKT('SRID=4674;POINT (-40.352985 -2.80676)'))) / (select extract(epoch from '2026-07-25 08:24:04'::timestamp) - extract(epoch from '2026-07-25 08:23: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'), 47837, 'SRID=4674;POINT (-40.353033 -2.806805)', '2026-07-25 08:24:07', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352985 -2.80676)'), GeomFromEWKT('SRID=4674;POINT (-40.353033 -2.806805)'))) / (select extract(epoch from '2026-07-25 08:24:07'::timestamp) - extract(epoch from '2026-07-25 08:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.352985 -2.80676)'), GeomFromEWKT('SRID=4674;POINT (-40.353033 -2.806805)'))) / (select extract(epoch from '2026-07-25 08:24:07'::timestamp) - extract(epoch from '2026-07-25 08:24: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'), 47837, 'SRID=4674;POINT (-40.353176 -2.80694)', '2026-07-25 08:24:17', -0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353033 -2.806805)'), GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.80694)'))) / (select extract(epoch from '2026-07-25 08:24:17'::timestamp) - extract(epoch from '2026-07-25 08:24:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353033 -2.806805)'), GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.80694)'))) / (select extract(epoch from '2026-07-25 08:24:17'::timestamp) - extract(epoch from '2026-07-25 08:24: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'), 47837, 'SRID=4674;POINT (-40.353271 -2.807081)', '2026-07-25 08:24:26', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.80694)'), GeomFromEWKT('SRID=4674;POINT (-40.353271 -2.807081)'))) / (select extract(epoch from '2026-07-25 08:24:26'::timestamp) - extract(epoch from '2026-07-25 08:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.80694)'), GeomFromEWKT('SRID=4674;POINT (-40.353271 -2.807081)'))) / (select extract(epoch from '2026-07-25 08:24:26'::timestamp) - extract(epoch from '2026-07-25 08:24:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353281 -2.807134)', '2026-07-25 08:24:30', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353271 -2.807081)'), GeomFromEWKT('SRID=4674;POINT (-40.353281 -2.807134)'))) / (select extract(epoch from '2026-07-25 08:24:30'::timestamp) - extract(epoch from '2026-07-25 08:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353271 -2.807081)'), GeomFromEWKT('SRID=4674;POINT (-40.353281 -2.807134)'))) / (select extract(epoch from '2026-07-25 08:24:30'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.353278 -2.807209)', '2026-07-25 08:24:35', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353281 -2.807134)'), GeomFromEWKT('SRID=4674;POINT (-40.353278 -2.807209)'))) / (select extract(epoch from '2026-07-25 08:24:35'::timestamp) - extract(epoch from '2026-07-25 08:24:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353281 -2.807134)'), GeomFromEWKT('SRID=4674;POINT (-40.353278 -2.807209)'))) / (select extract(epoch from '2026-07-25 08:24:35'::timestamp) - extract(epoch from '2026-07-25 08:24: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'), 47837, 'SRID=4674;POINT (-40.353272 -2.807362)', '2026-07-25 08:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353278 -2.807209)'), GeomFromEWKT('SRID=4674;POINT (-40.353272 -2.807362)'))) / (select extract(epoch from '2026-07-25 08:24:47'::timestamp) - extract(epoch from '2026-07-25 08:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353278 -2.807209)'), GeomFromEWKT('SRID=4674;POINT (-40.353272 -2.807362)'))) / (select extract(epoch from '2026-07-25 08:24:47'::timestamp) - extract(epoch from '2026-07-25 08:24: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'), 47837, 'SRID=4674;POINT (-40.353248 -2.807445)', '2026-07-25 08:24:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353272 -2.807362)'), GeomFromEWKT('SRID=4674;POINT (-40.353248 -2.807445)'))) / (select extract(epoch from '2026-07-25 08:24:58'::timestamp) - extract(epoch from '2026-07-25 08:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353272 -2.807362)'), GeomFromEWKT('SRID=4674;POINT (-40.353248 -2.807445)'))) / (select extract(epoch from '2026-07-25 08:24:58'::timestamp) - extract(epoch from '2026-07-25 08:24:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353244 -2.807515)', '2026-07-25 08:25:11', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353248 -2.807445)'), GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.807515)'))) / (select extract(epoch from '2026-07-25 08:25:11'::timestamp) - extract(epoch from '2026-07-25 08:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353248 -2.807445)'), GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.807515)'))) / (select extract(epoch from '2026-07-25 08:25:11'::timestamp) - extract(epoch from '2026-07-25 08:24: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'), 47837, 'SRID=4674;POINT (-40.353243 -2.807536)', '2026-07-25 08:25:22', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.807515)'), GeomFromEWKT('SRID=4674;POINT (-40.353243 -2.807536)'))) / (select extract(epoch from '2026-07-25 08:25:22'::timestamp) - extract(epoch from '2026-07-25 08:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353244 -2.807515)'), GeomFromEWKT('SRID=4674;POINT (-40.353243 -2.807536)'))) / (select extract(epoch from '2026-07-25 08:25:22'::timestamp) - extract(epoch from '2026-07-25 08:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353205 -2.807618)', '2026-07-25 08:26:52', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353243 -2.807536)'), GeomFromEWKT('SRID=4674;POINT (-40.353205 -2.807618)'))) / (select extract(epoch from '2026-07-25 08:26:52'::timestamp) - extract(epoch from '2026-07-25 08:25:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353243 -2.807536)'), GeomFromEWKT('SRID=4674;POINT (-40.353205 -2.807618)'))) / (select extract(epoch from '2026-07-25 08:26:52'::timestamp) - extract(epoch from '2026-07-25 08:25: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'), 47837, 'SRID=4674;POINT (-40.353242 -2.807642)', '2026-07-25 08:32:25', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353205 -2.807618)'), GeomFromEWKT('SRID=4674;POINT (-40.353242 -2.807642)'))) / (select extract(epoch from '2026-07-25 08:32:25'::timestamp) - extract(epoch from '2026-07-25 08:26:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353205 -2.807618)'), GeomFromEWKT('SRID=4674;POINT (-40.353242 -2.807642)'))) / (select extract(epoch from '2026-07-25 08:32:25'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.353217 -2.807673)', '2026-07-25 08:32:45', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353242 -2.807642)'), GeomFromEWKT('SRID=4674;POINT (-40.353217 -2.807673)'))) / (select extract(epoch from '2026-07-25 08:32:45'::timestamp) - extract(epoch from '2026-07-25 08:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353242 -2.807642)'), GeomFromEWKT('SRID=4674;POINT (-40.353217 -2.807673)'))) / (select extract(epoch from '2026-07-25 08:32:45'::timestamp) - extract(epoch from '2026-07-25 08:32: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'), 47837, 'SRID=4674;POINT (-40.353169 -2.807726)', '2026-07-25 08:32:54', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353217 -2.807673)'), GeomFromEWKT('SRID=4674;POINT (-40.353169 -2.807726)'))) / (select extract(epoch from '2026-07-25 08:32:54'::timestamp) - extract(epoch from '2026-07-25 08:32:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353217 -2.807673)'), GeomFromEWKT('SRID=4674;POINT (-40.353169 -2.807726)'))) / (select extract(epoch from '2026-07-25 08:32:54'::timestamp) - extract(epoch from '2026-07-25 08:32:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353144 -2.80777)', '2026-07-25 08:33:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353169 -2.807726)'), GeomFromEWKT('SRID=4674;POINT (-40.353144 -2.80777)'))) / (select extract(epoch from '2026-07-25 08:33:03'::timestamp) - extract(epoch from '2026-07-25 08:32:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353169 -2.807726)'), GeomFromEWKT('SRID=4674;POINT (-40.353144 -2.80777)'))) / (select extract(epoch from '2026-07-25 08:33:03'::timestamp) - extract(epoch from '2026-07-25 08:32: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'), 47837, 'SRID=4674;POINT (-40.35314 -2.807775)', '2026-07-25 08:33:09', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353144 -2.80777)'), GeomFromEWKT('SRID=4674;POINT (-40.35314 -2.807775)'))) / (select extract(epoch from '2026-07-25 08:33:09'::timestamp) - extract(epoch from '2026-07-25 08:33:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353144 -2.80777)'), GeomFromEWKT('SRID=4674;POINT (-40.35314 -2.807775)'))) / (select extract(epoch from '2026-07-25 08:33:09'::timestamp) - extract(epoch from '2026-07-25 08:33: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'), 47837, 'SRID=4674;POINT (-40.35315 -2.807853)', '2026-07-25 08:38:37', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35314 -2.807775)'), GeomFromEWKT('SRID=4674;POINT (-40.35315 -2.807853)'))) / (select extract(epoch from '2026-07-25 08:38:37'::timestamp) - extract(epoch from '2026-07-25 08:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35314 -2.807775)'), GeomFromEWKT('SRID=4674;POINT (-40.35315 -2.807853)'))) / (select extract(epoch from '2026-07-25 08:38:37'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.353146 -2.807861)', '2026-07-25 08:38:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35315 -2.807853)'), GeomFromEWKT('SRID=4674;POINT (-40.353146 -2.807861)'))) / (select extract(epoch from '2026-07-25 08:38:39'::timestamp) - extract(epoch from '2026-07-25 08:38:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35315 -2.807853)'), GeomFromEWKT('SRID=4674;POINT (-40.353146 -2.807861)'))) / (select extract(epoch from '2026-07-25 08:38:39'::timestamp) - extract(epoch from '2026-07-25 08:38: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'), 47837, 'SRID=4674;POINT (-40.353144 -2.807902)', '2026-07-25 08:38:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353146 -2.807861)'), GeomFromEWKT('SRID=4674;POINT (-40.353144 -2.807902)'))) / (select extract(epoch from '2026-07-25 08:38:46'::timestamp) - extract(epoch from '2026-07-25 08:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353146 -2.807861)'), GeomFromEWKT('SRID=4674;POINT (-40.353144 -2.807902)'))) / (select extract(epoch from '2026-07-25 08:38:46'::timestamp) - extract(epoch from '2026-07-25 08:38: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'), 47837, 'SRID=4674;POINT (-40.353151 -2.80796)', '2026-07-25 08:38:52', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353144 -2.807902)'), GeomFromEWKT('SRID=4674;POINT (-40.353151 -2.80796)'))) / (select extract(epoch from '2026-07-25 08:38:52'::timestamp) - extract(epoch from '2026-07-25 08:38:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353144 -2.807902)'), GeomFromEWKT('SRID=4674;POINT (-40.353151 -2.80796)'))) / (select extract(epoch from '2026-07-25 08:38:52'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.353145 -2.80799)', '2026-07-25 08:38:57', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353151 -2.80796)'), GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.80799)'))) / (select extract(epoch from '2026-07-25 08:38:57'::timestamp) - extract(epoch from '2026-07-25 08:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353151 -2.80796)'), GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.80799)'))) / (select extract(epoch from '2026-07-25 08:38:57'::timestamp) - extract(epoch from '2026-07-25 08:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353143 -2.808)', '2026-07-25 08:38:58', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.80799)'), GeomFromEWKT('SRID=4674;POINT (-40.353143 -2.808)'))) / (select extract(epoch from '2026-07-25 08:38:58'::timestamp) - extract(epoch from '2026-07-25 08:38:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353145 -2.80799)'), GeomFromEWKT('SRID=4674;POINT (-40.353143 -2.808)'))) / (select extract(epoch from '2026-07-25 08:38:58'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.353149 -2.80804)', '2026-07-25 08:39:02', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353143 -2.808)'), GeomFromEWKT('SRID=4674;POINT (-40.353149 -2.80804)'))) / (select extract(epoch from '2026-07-25 08:39:02'::timestamp) - extract(epoch from '2026-07-25 08:38:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353143 -2.808)'), GeomFromEWKT('SRID=4674;POINT (-40.353149 -2.80804)'))) / (select extract(epoch from '2026-07-25 08:39:02'::timestamp) - extract(epoch from '2026-07-25 08:38: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'), 47837, 'SRID=4674;POINT (-40.353156 -2.808101)', '2026-07-25 08:39:09', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353149 -2.80804)'), GeomFromEWKT('SRID=4674;POINT (-40.353156 -2.808101)'))) / (select extract(epoch from '2026-07-25 08:39:09'::timestamp) - extract(epoch from '2026-07-25 08:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353149 -2.80804)'), GeomFromEWKT('SRID=4674;POINT (-40.353156 -2.808101)'))) / (select extract(epoch from '2026-07-25 08:39:09'::timestamp) - extract(epoch from '2026-07-25 08:39: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'), 47837, 'SRID=4674;POINT (-40.353165 -2.808156)', '2026-07-25 08:39:17', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353156 -2.808101)'), GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808156)'))) / (select extract(epoch from '2026-07-25 08:39:17'::timestamp) - extract(epoch from '2026-07-25 08:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353156 -2.808101)'), GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808156)'))) / (select extract(epoch from '2026-07-25 08:39:17'::timestamp) - extract(epoch from '2026-07-25 08:39: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'), 47837, 'SRID=4674;POINT (-40.353167 -2.808236)', '2026-07-25 08:39:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808156)'), GeomFromEWKT('SRID=4674;POINT (-40.353167 -2.808236)'))) / (select extract(epoch from '2026-07-25 08:39:24'::timestamp) - extract(epoch from '2026-07-25 08:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808156)'), GeomFromEWKT('SRID=4674;POINT (-40.353167 -2.808236)'))) / (select extract(epoch from '2026-07-25 08:39:24'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.353173 -2.80832)', '2026-07-25 08:39:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353167 -2.808236)'), GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.80832)'))) / (select extract(epoch from '2026-07-25 08:39:32'::timestamp) - extract(epoch from '2026-07-25 08:39:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353167 -2.808236)'), GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.80832)'))) / (select extract(epoch from '2026-07-25 08:39:32'::timestamp) - extract(epoch from '2026-07-25 08:39:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353176 -2.808402)', '2026-07-25 08:39:40', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.80832)'), GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.808402)'))) / (select extract(epoch from '2026-07-25 08:39:40'::timestamp) - extract(epoch from '2026-07-25 08:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.80832)'), GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.808402)'))) / (select extract(epoch from '2026-07-25 08:39:40'::timestamp) - extract(epoch from '2026-07-25 08:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353163 -2.808459)', '2026-07-25 08:39:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.808402)'), GeomFromEWKT('SRID=4674;POINT (-40.353163 -2.808459)'))) / (select extract(epoch from '2026-07-25 08:39:46'::timestamp) - extract(epoch from '2026-07-25 08:39:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.808402)'), GeomFromEWKT('SRID=4674;POINT (-40.353163 -2.808459)'))) / (select extract(epoch from '2026-07-25 08:39:46'::timestamp) - extract(epoch from '2026-07-25 08:39:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353165 -2.808468)', '2026-07-25 08:39:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353163 -2.808459)'), GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808468)'))) / (select extract(epoch from '2026-07-25 08:39:47'::timestamp) - extract(epoch from '2026-07-25 08:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353163 -2.808459)'), GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808468)'))) / (select extract(epoch from '2026-07-25 08:39:47'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.353166 -2.808487)', '2026-07-25 08:39:49', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808468)'), GeomFromEWKT('SRID=4674;POINT (-40.353166 -2.808487)'))) / (select extract(epoch from '2026-07-25 08:39:49'::timestamp) - extract(epoch from '2026-07-25 08:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808468)'), GeomFromEWKT('SRID=4674;POINT (-40.353166 -2.808487)'))) / (select extract(epoch from '2026-07-25 08:39:49'::timestamp) - extract(epoch from '2026-07-25 08:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353163 -2.808514)', '2026-07-25 08:39:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353166 -2.808487)'), GeomFromEWKT('SRID=4674;POINT (-40.353163 -2.808514)'))) / (select extract(epoch from '2026-07-25 08:39:53'::timestamp) - extract(epoch from '2026-07-25 08:39:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353166 -2.808487)'), GeomFromEWKT('SRID=4674;POINT (-40.353163 -2.808514)'))) / (select extract(epoch from '2026-07-25 08:39:53'::timestamp) - extract(epoch from '2026-07-25 08:39: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'), 47837, 'SRID=4674;POINT (-40.35315 -2.808564)', '2026-07-25 08:39:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353163 -2.808514)'), GeomFromEWKT('SRID=4674;POINT (-40.35315 -2.808564)'))) / (select extract(epoch from '2026-07-25 08:39:59'::timestamp) - extract(epoch from '2026-07-25 08:39:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353163 -2.808514)'), GeomFromEWKT('SRID=4674;POINT (-40.35315 -2.808564)'))) / (select extract(epoch from '2026-07-25 08:39:59'::timestamp) - extract(epoch from '2026-07-25 08:39:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353153 -2.808583)', '2026-07-25 08:40:01', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35315 -2.808564)'), GeomFromEWKT('SRID=4674;POINT (-40.353153 -2.808583)'))) / (select extract(epoch from '2026-07-25 08:40:01'::timestamp) - extract(epoch from '2026-07-25 08:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.35315 -2.808564)'), GeomFromEWKT('SRID=4674;POINT (-40.353153 -2.808583)'))) / (select extract(epoch from '2026-07-25 08:40:01'::timestamp) - extract(epoch from '2026-07-25 08:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353155 -2.8086)', '2026-07-25 08:40:03', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353153 -2.808583)'), GeomFromEWKT('SRID=4674;POINT (-40.353155 -2.8086)'))) / (select extract(epoch from '2026-07-25 08:40:03'::timestamp) - extract(epoch from '2026-07-25 08:40:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353153 -2.808583)'), GeomFromEWKT('SRID=4674;POINT (-40.353155 -2.8086)'))) / (select extract(epoch from '2026-07-25 08:40:03'::timestamp) - extract(epoch from '2026-07-25 08:40:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353154 -2.80861)', '2026-07-25 08:40:04', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353155 -2.8086)'), GeomFromEWKT('SRID=4674;POINT (-40.353154 -2.80861)'))) / (select extract(epoch from '2026-07-25 08:40:04'::timestamp) - extract(epoch from '2026-07-25 08:40:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353155 -2.8086)'), GeomFromEWKT('SRID=4674;POINT (-40.353154 -2.80861)'))) / (select extract(epoch from '2026-07-25 08:40:04'::timestamp) - extract(epoch from '2026-07-25 08:40: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'), 47837, 'SRID=4674;POINT (-40.353165 -2.808673)', '2026-07-25 08:40:10', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353154 -2.80861)'), GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808673)'))) / (select extract(epoch from '2026-07-25 08:40:10'::timestamp) - extract(epoch from '2026-07-25 08:40:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353154 -2.80861)'), GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808673)'))) / (select extract(epoch from '2026-07-25 08:40:10'::timestamp) - extract(epoch from '2026-07-25 08:40:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353168 -2.808745)', '2026-07-25 08:40:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808673)'), GeomFromEWKT('SRID=4674;POINT (-40.353168 -2.808745)'))) / (select extract(epoch from '2026-07-25 08:40:17'::timestamp) - extract(epoch from '2026-07-25 08:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353165 -2.808673)'), GeomFromEWKT('SRID=4674;POINT (-40.353168 -2.808745)'))) / (select extract(epoch from '2026-07-25 08:40:17'::timestamp) - extract(epoch from '2026-07-25 08:40: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'), 47837, 'SRID=4674;POINT (-40.353175 -2.808831)', '2026-07-25 08:40:25', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353168 -2.808745)'), GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.808831)'))) / (select extract(epoch from '2026-07-25 08:40:25'::timestamp) - extract(epoch from '2026-07-25 08:40:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353168 -2.808745)'), GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.808831)'))) / (select extract(epoch from '2026-07-25 08:40:25'::timestamp) - extract(epoch from '2026-07-25 08:40:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353172 -2.808916)', '2026-07-25 08:40:33', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.808831)'), GeomFromEWKT('SRID=4674;POINT (-40.353172 -2.808916)'))) / (select extract(epoch from '2026-07-25 08:40:33'::timestamp) - extract(epoch from '2026-07-25 08:40:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353175 -2.808831)'), GeomFromEWKT('SRID=4674;POINT (-40.353172 -2.808916)'))) / (select extract(epoch from '2026-07-25 08:40:33'::timestamp) - extract(epoch from '2026-07-25 08:40:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353176 -2.808929)', '2026-07-25 08:40:34', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353172 -2.808916)'), GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.808929)'))) / (select extract(epoch from '2026-07-25 08:40:34'::timestamp) - extract(epoch from '2026-07-25 08:40:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353172 -2.808916)'), GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.808929)'))) / (select extract(epoch from '2026-07-25 08:40:34'::timestamp) - extract(epoch from '2026-07-25 08:40:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353181 -2.808974)', '2026-07-25 08:40:40', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.808929)'), GeomFromEWKT('SRID=4674;POINT (-40.353181 -2.808974)'))) / (select extract(epoch from '2026-07-25 08:40:40'::timestamp) - extract(epoch from '2026-07-25 08:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353176 -2.808929)'), GeomFromEWKT('SRID=4674;POINT (-40.353181 -2.808974)'))) / (select extract(epoch from '2026-07-25 08:40:40'::timestamp) - extract(epoch from '2026-07-25 08:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353173 -2.808987)', '2026-07-25 08:40:46', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353181 -2.808974)'), GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.808987)'))) / (select extract(epoch from '2026-07-25 08:40:46'::timestamp) - extract(epoch from '2026-07-25 08:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353181 -2.808974)'), GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.808987)'))) / (select extract(epoch from '2026-07-25 08:40:46'::timestamp) - extract(epoch from '2026-07-25 08:40: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'), 47837, 'SRID=4674;POINT (-40.353156 -2.808992)', '2026-07-25 08:40:48', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.808987)'), GeomFromEWKT('SRID=4674;POINT (-40.353156 -2.808992)'))) / (select extract(epoch from '2026-07-25 08:40:48'::timestamp) - extract(epoch from '2026-07-25 08:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353173 -2.808987)'), GeomFromEWKT('SRID=4674;POINT (-40.353156 -2.808992)'))) / (select extract(epoch from '2026-07-25 08:40:48'::timestamp) - extract(epoch from '2026-07-25 08:40: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'), 47837, 'SRID=4674;POINT (-40.353108 -2.80904)', '2026-07-25 08:40:55', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353156 -2.808992)'), GeomFromEWKT('SRID=4674;POINT (-40.353108 -2.80904)'))) / (select extract(epoch from '2026-07-25 08:40:55'::timestamp) - extract(epoch from '2026-07-25 08:40:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353156 -2.808992)'), GeomFromEWKT('SRID=4674;POINT (-40.353108 -2.80904)'))) / (select extract(epoch from '2026-07-25 08:40:55'::timestamp) - extract(epoch from '2026-07-25 08:40:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353099 -2.809065)', '2026-07-25 08:40:58', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353108 -2.80904)'), GeomFromEWKT('SRID=4674;POINT (-40.353099 -2.809065)'))) / (select extract(epoch from '2026-07-25 08:40:58'::timestamp) - extract(epoch from '2026-07-25 08:40:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353108 -2.80904)'), GeomFromEWKT('SRID=4674;POINT (-40.353099 -2.809065)'))) / (select extract(epoch from '2026-07-25 08:40:58'::timestamp) - extract(epoch from '2026-07-25 08:40:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353099 -2.809096)', '2026-07-25 08:41:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353099 -2.809065)'), GeomFromEWKT('SRID=4674;POINT (-40.353099 -2.809096)'))) / (select extract(epoch from '2026-07-25 08:41:01'::timestamp) - extract(epoch from '2026-07-25 08:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353099 -2.809065)'), GeomFromEWKT('SRID=4674;POINT (-40.353099 -2.809096)'))) / (select extract(epoch from '2026-07-25 08:41:01'::timestamp) - extract(epoch from '2026-07-25 08:40: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'), 47837, 'SRID=4674;POINT (-40.353096 -2.809106)', '2026-07-25 08:41:02', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353099 -2.809096)'), GeomFromEWKT('SRID=4674;POINT (-40.353096 -2.809106)'))) / (select extract(epoch from '2026-07-25 08:41:02'::timestamp) - extract(epoch from '2026-07-25 08:41:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353099 -2.809096)'), GeomFromEWKT('SRID=4674;POINT (-40.353096 -2.809106)'))) / (select extract(epoch from '2026-07-25 08:41:02'::timestamp) - extract(epoch from '2026-07-25 08:41:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353092 -2.809137)', '2026-07-25 08:41:05', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353096 -2.809106)'), GeomFromEWKT('SRID=4674;POINT (-40.353092 -2.809137)'))) / (select extract(epoch from '2026-07-25 08:41:05'::timestamp) - extract(epoch from '2026-07-25 08:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353096 -2.809106)'), GeomFromEWKT('SRID=4674;POINT (-40.353092 -2.809137)'))) / (select extract(epoch from '2026-07-25 08:41:05'::timestamp) - extract(epoch from '2026-07-25 08:41: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'), 47837, 'SRID=4674;POINT (-40.353088 -2.809159)', '2026-07-25 08:41:08', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353092 -2.809137)'), GeomFromEWKT('SRID=4674;POINT (-40.353088 -2.809159)'))) / (select extract(epoch from '2026-07-25 08:41:08'::timestamp) - extract(epoch from '2026-07-25 08:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353092 -2.809137)'), GeomFromEWKT('SRID=4674;POINT (-40.353088 -2.809159)'))) / (select extract(epoch from '2026-07-25 08:41:08'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.353086 -2.809203)', '2026-07-25 08:41:14', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353088 -2.809159)'), GeomFromEWKT('SRID=4674;POINT (-40.353086 -2.809203)'))) / (select extract(epoch from '2026-07-25 08:41:14'::timestamp) - extract(epoch from '2026-07-25 08:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353088 -2.809159)'), GeomFromEWKT('SRID=4674;POINT (-40.353086 -2.809203)'))) / (select extract(epoch from '2026-07-25 08:41:14'::timestamp) - extract(epoch from '2026-07-25 08:41: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'), 47837, 'SRID=4674;POINT (-40.353081 -2.809279)', '2026-07-25 08:41:22', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353086 -2.809203)'), GeomFromEWKT('SRID=4674;POINT (-40.353081 -2.809279)'))) / (select extract(epoch from '2026-07-25 08:41:22'::timestamp) - extract(epoch from '2026-07-25 08:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353086 -2.809203)'), GeomFromEWKT('SRID=4674;POINT (-40.353081 -2.809279)'))) / (select extract(epoch from '2026-07-25 08:41:22'::timestamp) - extract(epoch from '2026-07-25 08:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47837, 'SRID=4674;POINT (-40.353077 -2.809326)', '2026-07-25 08:41:28', 12.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353081 -2.809279)'), GeomFromEWKT('SRID=4674;POINT (-40.353077 -2.809326)'))) / (select extract(epoch from '2026-07-25 08:41:28'::timestamp) - extract(epoch from '2026-07-25 08:41:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353081 -2.809279)'), GeomFromEWKT('SRID=4674;POINT (-40.353077 -2.809326)'))) / (select extract(epoch from '2026-07-25 08:41:28'::timestamp) - extract(epoch from '2026-07-25 08:41: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'), 47837, 'SRID=4674;POINT (-40.353087 -2.809429)', '2026-07-25 08:41:39', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353077 -2.809326)'), GeomFromEWKT('SRID=4674;POINT (-40.353087 -2.809429)'))) / (select extract(epoch from '2026-07-25 08:41:39'::timestamp) - extract(epoch from '2026-07-25 08:41:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353077 -2.809326)'), GeomFromEWKT('SRID=4674;POINT (-40.353087 -2.809429)'))) / (select extract(epoch from '2026-07-25 08:41:39'::timestamp) - extract(epoch from '2026-07-25 08:41: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'), 47837, 'SRID=4674;POINT (-40.353073 -2.809439)', '2026-07-25 08:41:40', 13.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353087 -2.809429)'), GeomFromEWKT('SRID=4674;POINT (-40.353073 -2.809439)'))) / (select extract(epoch from '2026-07-25 08:41:40'::timestamp) - extract(epoch from '2026-07-25 08:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353087 -2.809429)'), GeomFromEWKT('SRID=4674;POINT (-40.353073 -2.809439)'))) / (select extract(epoch from '2026-07-25 08:41:40'::timestamp) - extract(epoch from '2026-07-25 08:41: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'), 47837, 'SRID=4674;POINT (-40.353069 -2.80949)', '2026-07-25 08:41:46', 13.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353073 -2.809439)'), GeomFromEWKT('SRID=4674;POINT (-40.353069 -2.80949)'))) / (select extract(epoch from '2026-07-25 08:41:46'::timestamp) - extract(epoch from '2026-07-25 08:41:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353073 -2.809439)'), GeomFromEWKT('SRID=4674;POINT (-40.353069 -2.80949)'))) / (select extract(epoch from '2026-07-25 08:41:46'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.353064 -2.809531)', '2026-07-25 08:41:51', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353069 -2.80949)'), GeomFromEWKT('SRID=4674;POINT (-40.353064 -2.809531)'))) / (select extract(epoch from '2026-07-25 08:41:51'::timestamp) - extract(epoch from '2026-07-25 08:41:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353069 -2.80949)'), GeomFromEWKT('SRID=4674;POINT (-40.353064 -2.809531)'))) / (select extract(epoch from '2026-07-25 08:41:51'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.353063 -2.80955)', '2026-07-25 08:41:53', 14.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353064 -2.809531)'), GeomFromEWKT('SRID=4674;POINT (-40.353063 -2.80955)'))) / (select extract(epoch from '2026-07-25 08:41:53'::timestamp) - extract(epoch from '2026-07-25 08:41:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353064 -2.809531)'), GeomFromEWKT('SRID=4674;POINT (-40.353063 -2.80955)'))) / (select extract(epoch from '2026-07-25 08:41:53'::timestamp) - extract(epoch from '2026-07-25 08: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'), 47837, 'SRID=4674;POINT (-40.353049 -2.809607)', '2026-07-25 08:42:00', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353063 -2.80955)'), GeomFromEWKT('SRID=4674;POINT (-40.353049 -2.809607)'))) / (select extract(epoch from '2026-07-25 08:42:00'::timestamp) - extract(epoch from '2026-07-25 08:41:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353063 -2.80955)'), GeomFromEWKT('SRID=4674;POINT (-40.353049 -2.809607)'))) / (select extract(epoch from '2026-07-25 08:42:00'::timestamp) - extract(epoch from '2026-07-25 08:41: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'), 47837, 'SRID=4674;POINT (-40.353045 -2.809616)', '2026-07-25 08:42:01', 14.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353049 -2.809607)'), GeomFromEWKT('SRID=4674;POINT (-40.353045 -2.809616)'))) / (select extract(epoch from '2026-07-25 08:42:01'::timestamp) - extract(epoch from '2026-07-25 08:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.353049 -2.809607)'), GeomFromEWKT('SRID=4674;POINT (-40.353045 -2.809616)'))) / (select extract(epoch from '2026-07-25 08:42:01'::timestamp) - extract(epoch from '2026-07-25 08:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
