BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04274 -2.823984)', '2026-07-11 06:29:47', 0, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.042592 -2.823818)', '2026-07-11 06:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04274 -2.823984)'), GeomFromEWKT('SRID=4674;POINT (-40.042592 -2.823818)'))) / (select extract(epoch from '2026-07-11 06:29:57'::timestamp) - extract(epoch from '2026-07-11 06:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04274 -2.823984)'), GeomFromEWKT('SRID=4674;POINT (-40.042592 -2.823818)'))) / (select extract(epoch from '2026-07-11 06:29:57'::timestamp) - extract(epoch from '2026-07-11 06:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.042469 -2.82364)', '2026-07-11 06:30:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042592 -2.823818)'), GeomFromEWKT('SRID=4674;POINT (-40.042469 -2.82364)'))) / (select extract(epoch from '2026-07-11 06:30:07'::timestamp) - extract(epoch from '2026-07-11 06:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042592 -2.823818)'), GeomFromEWKT('SRID=4674;POINT (-40.042469 -2.82364)'))) / (select extract(epoch from '2026-07-11 06:30:07'::timestamp) - extract(epoch from '2026-07-11 06:29: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'), 47627, 'SRID=4674;POINT (-40.042331 -2.823399)', '2026-07-11 06:30:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042469 -2.82364)'), GeomFromEWKT('SRID=4674;POINT (-40.042331 -2.823399)'))) / (select extract(epoch from '2026-07-11 06:30:20'::timestamp) - extract(epoch from '2026-07-11 06:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042469 -2.82364)'), GeomFromEWKT('SRID=4674;POINT (-40.042331 -2.823399)'))) / (select extract(epoch from '2026-07-11 06:30:20'::timestamp) - extract(epoch from '2026-07-11 06:30: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'), 47627, 'SRID=4674;POINT (-40.042261 -2.823202)', '2026-07-11 06:30:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042331 -2.823399)'), GeomFromEWKT('SRID=4674;POINT (-40.042261 -2.823202)'))) / (select extract(epoch from '2026-07-11 06:30:29'::timestamp) - extract(epoch from '2026-07-11 06:30:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042331 -2.823399)'), GeomFromEWKT('SRID=4674;POINT (-40.042261 -2.823202)'))) / (select extract(epoch from '2026-07-11 06:30:29'::timestamp) - extract(epoch from '2026-07-11 06:30: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'), 47627, 'SRID=4674;POINT (-40.042163 -2.822946)', '2026-07-11 06:30:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042261 -2.823202)'), GeomFromEWKT('SRID=4674;POINT (-40.042163 -2.822946)'))) / (select extract(epoch from '2026-07-11 06:30:41'::timestamp) - extract(epoch from '2026-07-11 06:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042261 -2.823202)'), GeomFromEWKT('SRID=4674;POINT (-40.042163 -2.822946)'))) / (select extract(epoch from '2026-07-11 06:30:41'::timestamp) - extract(epoch from '2026-07-11 06:30: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'), 47627, 'SRID=4674;POINT (-40.042016 -2.822589)', '2026-07-11 06:30:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042163 -2.822946)'), GeomFromEWKT('SRID=4674;POINT (-40.042016 -2.822589)'))) / (select extract(epoch from '2026-07-11 06:30:58'::timestamp) - extract(epoch from '2026-07-11 06:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042163 -2.822946)'), GeomFromEWKT('SRID=4674;POINT (-40.042016 -2.822589)'))) / (select extract(epoch from '2026-07-11 06:30:58'::timestamp) - extract(epoch from '2026-07-11 06:30: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'), 47627, 'SRID=4674;POINT (-40.041887 -2.82229)', '2026-07-11 06:31:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042016 -2.822589)'), GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.82229)'))) / (select extract(epoch from '2026-07-11 06:31:13'::timestamp) - extract(epoch from '2026-07-11 06:30:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042016 -2.822589)'), GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.82229)'))) / (select extract(epoch from '2026-07-11 06:31:13'::timestamp) - extract(epoch from '2026-07-11 06:30: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'), 47627, 'SRID=4674;POINT (-40.04188 -2.822093)', '2026-07-11 06:31:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.82229)'), GeomFromEWKT('SRID=4674;POINT (-40.04188 -2.822093)'))) / (select extract(epoch from '2026-07-11 06:31:22'::timestamp) - extract(epoch from '2026-07-11 06:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.82229)'), GeomFromEWKT('SRID=4674;POINT (-40.04188 -2.822093)'))) / (select extract(epoch from '2026-07-11 06:31:22'::timestamp) - extract(epoch from '2026-07-11 06:31: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'), 47627, 'SRID=4674;POINT (-40.041804 -2.821888)', '2026-07-11 06:31:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04188 -2.822093)'), GeomFromEWKT('SRID=4674;POINT (-40.041804 -2.821888)'))) / (select extract(epoch from '2026-07-11 06:31:32'::timestamp) - extract(epoch from '2026-07-11 06:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04188 -2.822093)'), GeomFromEWKT('SRID=4674;POINT (-40.041804 -2.821888)'))) / (select extract(epoch from '2026-07-11 06:31:32'::timestamp) - extract(epoch from '2026-07-11 06:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.041609 -2.821604)', '2026-07-11 06:31:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041804 -2.821888)'), GeomFromEWKT('SRID=4674;POINT (-40.041609 -2.821604)'))) / (select extract(epoch from '2026-07-11 06:31:48'::timestamp) - extract(epoch from '2026-07-11 06:31:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041804 -2.821888)'), GeomFromEWKT('SRID=4674;POINT (-40.041609 -2.821604)'))) / (select extract(epoch from '2026-07-11 06:31:48'::timestamp) - extract(epoch from '2026-07-11 06:31: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'), 47627, 'SRID=4674;POINT (-40.041415 -2.821333)', '2026-07-11 06:32:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041609 -2.821604)'), GeomFromEWKT('SRID=4674;POINT (-40.041415 -2.821333)'))) / (select extract(epoch from '2026-07-11 06:32:04'::timestamp) - extract(epoch from '2026-07-11 06:31:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041609 -2.821604)'), GeomFromEWKT('SRID=4674;POINT (-40.041415 -2.821333)'))) / (select extract(epoch from '2026-07-11 06:32:04'::timestamp) - extract(epoch from '2026-07-11 06:31: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'), 47627, 'SRID=4674;POINT (-40.041274 -2.821024)', '2026-07-11 06:32:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041415 -2.821333)'), GeomFromEWKT('SRID=4674;POINT (-40.041274 -2.821024)'))) / (select extract(epoch from '2026-07-11 06:32:20'::timestamp) - extract(epoch from '2026-07-11 06:32:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041415 -2.821333)'), GeomFromEWKT('SRID=4674;POINT (-40.041274 -2.821024)'))) / (select extract(epoch from '2026-07-11 06:32:20'::timestamp) - extract(epoch from '2026-07-11 06:32: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'), 47627, 'SRID=4674;POINT (-40.0412 -2.820708)', '2026-07-11 06:32:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041274 -2.821024)'), GeomFromEWKT('SRID=4674;POINT (-40.0412 -2.820708)'))) / (select extract(epoch from '2026-07-11 06:32:35'::timestamp) - extract(epoch from '2026-07-11 06:32:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041274 -2.821024)'), GeomFromEWKT('SRID=4674;POINT (-40.0412 -2.820708)'))) / (select extract(epoch from '2026-07-11 06:32:35'::timestamp) - extract(epoch from '2026-07-11 06:32: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'), 47627, 'SRID=4674;POINT (-40.041195 -2.820399)', '2026-07-11 06:32:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0412 -2.820708)'), GeomFromEWKT('SRID=4674;POINT (-40.041195 -2.820399)'))) / (select extract(epoch from '2026-07-11 06:32:49'::timestamp) - extract(epoch from '2026-07-11 06:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0412 -2.820708)'), GeomFromEWKT('SRID=4674;POINT (-40.041195 -2.820399)'))) / (select extract(epoch from '2026-07-11 06:32:49'::timestamp) - extract(epoch from '2026-07-11 06:32: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'), 47627, 'SRID=4674;POINT (-40.041237 -2.820029)', '2026-07-11 06:33:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041195 -2.820399)'), GeomFromEWKT('SRID=4674;POINT (-40.041237 -2.820029)'))) / (select extract(epoch from '2026-07-11 06:33:06'::timestamp) - extract(epoch from '2026-07-11 06:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041195 -2.820399)'), GeomFromEWKT('SRID=4674;POINT (-40.041237 -2.820029)'))) / (select extract(epoch from '2026-07-11 06:33:06'::timestamp) - extract(epoch from '2026-07-11 06:32: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'), 47627, 'SRID=4674;POINT (-40.041322 -2.819823)', '2026-07-11 06:33:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041237 -2.820029)'), GeomFromEWKT('SRID=4674;POINT (-40.041322 -2.819823)'))) / (select extract(epoch from '2026-07-11 06:33:17'::timestamp) - extract(epoch from '2026-07-11 06:33:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041237 -2.820029)'), GeomFromEWKT('SRID=4674;POINT (-40.041322 -2.819823)'))) / (select extract(epoch from '2026-07-11 06:33:17'::timestamp) - extract(epoch from '2026-07-11 06:33: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'), 47627, 'SRID=4674;POINT (-40.041423 -2.819631)', '2026-07-11 06:33:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041322 -2.819823)'), GeomFromEWKT('SRID=4674;POINT (-40.041423 -2.819631)'))) / (select extract(epoch from '2026-07-11 06:33:28'::timestamp) - extract(epoch from '2026-07-11 06:33:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041322 -2.819823)'), GeomFromEWKT('SRID=4674;POINT (-40.041423 -2.819631)'))) / (select extract(epoch from '2026-07-11 06:33:28'::timestamp) - extract(epoch from '2026-07-11 06:33:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.041508 -2.819416)', '2026-07-11 06:33:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041423 -2.819631)'), GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.819416)'))) / (select extract(epoch from '2026-07-11 06:33:40'::timestamp) - extract(epoch from '2026-07-11 06:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041423 -2.819631)'), GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.819416)'))) / (select extract(epoch from '2026-07-11 06:33:40'::timestamp) - extract(epoch from '2026-07-11 06:33:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04161 -2.819257)', '2026-07-11 06:33:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.819416)'), GeomFromEWKT('SRID=4674;POINT (-40.04161 -2.819257)'))) / (select extract(epoch from '2026-07-11 06:33:50'::timestamp) - extract(epoch from '2026-07-11 06:33:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041508 -2.819416)'), GeomFromEWKT('SRID=4674;POINT (-40.04161 -2.819257)'))) / (select extract(epoch from '2026-07-11 06:33:50'::timestamp) - extract(epoch from '2026-07-11 06:33:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.041766 -2.818922)', '2026-07-11 06:34:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04161 -2.819257)'), GeomFromEWKT('SRID=4674;POINT (-40.041766 -2.818922)'))) / (select extract(epoch from '2026-07-11 06:34:08'::timestamp) - extract(epoch from '2026-07-11 06:33:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04161 -2.819257)'), GeomFromEWKT('SRID=4674;POINT (-40.041766 -2.818922)'))) / (select extract(epoch from '2026-07-11 06:34:08'::timestamp) - extract(epoch from '2026-07-11 06:33:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.041866 -2.818697)', '2026-07-11 06:34:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041766 -2.818922)'), GeomFromEWKT('SRID=4674;POINT (-40.041866 -2.818697)'))) / (select extract(epoch from '2026-07-11 06:34:20'::timestamp) - extract(epoch from '2026-07-11 06:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041766 -2.818922)'), GeomFromEWKT('SRID=4674;POINT (-40.041866 -2.818697)'))) / (select extract(epoch from '2026-07-11 06:34:20'::timestamp) - extract(epoch from '2026-07-11 06:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04194 -2.818426)', '2026-07-11 06:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041866 -2.818697)'), GeomFromEWKT('SRID=4674;POINT (-40.04194 -2.818426)'))) / (select extract(epoch from '2026-07-11 06:34:34'::timestamp) - extract(epoch from '2026-07-11 06:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041866 -2.818697)'), GeomFromEWKT('SRID=4674;POINT (-40.04194 -2.818426)'))) / (select extract(epoch from '2026-07-11 06:34:34'::timestamp) - extract(epoch from '2026-07-11 06:34: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'), 47627, 'SRID=4674;POINT (-40.042015 -2.818276)', '2026-07-11 06:34:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04194 -2.818426)'), GeomFromEWKT('SRID=4674;POINT (-40.042015 -2.818276)'))) / (select extract(epoch from '2026-07-11 06:34:43'::timestamp) - extract(epoch from '2026-07-11 06:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04194 -2.818426)'), GeomFromEWKT('SRID=4674;POINT (-40.042015 -2.818276)'))) / (select extract(epoch from '2026-07-11 06:34:43'::timestamp) - extract(epoch from '2026-07-11 06:34: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'), 47627, 'SRID=4674;POINT (-40.042042 -2.818227)', '2026-07-11 06:34:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042015 -2.818276)'), GeomFromEWKT('SRID=4674;POINT (-40.042042 -2.818227)'))) / (select extract(epoch from '2026-07-11 06:34:47'::timestamp) - extract(epoch from '2026-07-11 06:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042015 -2.818276)'), GeomFromEWKT('SRID=4674;POINT (-40.042042 -2.818227)'))) / (select extract(epoch from '2026-07-11 06:34:47'::timestamp) - extract(epoch from '2026-07-11 06:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.048115 -2.808541)', '2026-07-11 06:44:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042042 -2.818227)'), GeomFromEWKT('SRID=4674;POINT (-40.048115 -2.808541)'))) / (select extract(epoch from '2026-07-11 06:44:29'::timestamp) - extract(epoch from '2026-07-11 06:34:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042042 -2.818227)'), GeomFromEWKT('SRID=4674;POINT (-40.048115 -2.808541)'))) / (select extract(epoch from '2026-07-11 06:44:29'::timestamp) - extract(epoch from '2026-07-11 06:34: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'), 47627, 'SRID=4674;POINT (-40.048252 -2.808475)', '2026-07-11 06:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048115 -2.808541)'), GeomFromEWKT('SRID=4674;POINT (-40.048252 -2.808475)'))) / (select extract(epoch from '2026-07-11 06:44:36'::timestamp) - extract(epoch from '2026-07-11 06:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048115 -2.808541)'), GeomFromEWKT('SRID=4674;POINT (-40.048252 -2.808475)'))) / (select extract(epoch from '2026-07-11 06:44:36'::timestamp) - extract(epoch from '2026-07-11 06:44:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.048347 -2.808437)', '2026-07-11 06:44:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048252 -2.808475)'), GeomFromEWKT('SRID=4674;POINT (-40.048347 -2.808437)'))) / (select extract(epoch from '2026-07-11 06:44:42'::timestamp) - extract(epoch from '2026-07-11 06:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048252 -2.808475)'), GeomFromEWKT('SRID=4674;POINT (-40.048347 -2.808437)'))) / (select extract(epoch from '2026-07-11 06:44:42'::timestamp) - extract(epoch from '2026-07-11 06:44: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'), 47627, 'SRID=4674;POINT (-40.048516 -2.808369)', '2026-07-11 06:44:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048347 -2.808437)'), GeomFromEWKT('SRID=4674;POINT (-40.048516 -2.808369)'))) / (select extract(epoch from '2026-07-11 06:44:51'::timestamp) - extract(epoch from '2026-07-11 06:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048347 -2.808437)'), GeomFromEWKT('SRID=4674;POINT (-40.048516 -2.808369)'))) / (select extract(epoch from '2026-07-11 06:44:51'::timestamp) - extract(epoch from '2026-07-11 06:44: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'), 47627, 'SRID=4674;POINT (-40.048677 -2.80829)', '2026-07-11 06:45:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048516 -2.808369)'), GeomFromEWKT('SRID=4674;POINT (-40.048677 -2.80829)'))) / (select extract(epoch from '2026-07-11 06:45:00'::timestamp) - extract(epoch from '2026-07-11 06:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048516 -2.808369)'), GeomFromEWKT('SRID=4674;POINT (-40.048677 -2.80829)'))) / (select extract(epoch from '2026-07-11 06:45:00'::timestamp) - extract(epoch from '2026-07-11 06:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04882 -2.808233)', '2026-07-11 06:45:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048677 -2.80829)'), GeomFromEWKT('SRID=4674;POINT (-40.04882 -2.808233)'))) / (select extract(epoch from '2026-07-11 06:45:07'::timestamp) - extract(epoch from '2026-07-11 06:45:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048677 -2.80829)'), GeomFromEWKT('SRID=4674;POINT (-40.04882 -2.808233)'))) / (select extract(epoch from '2026-07-11 06:45:07'::timestamp) - extract(epoch from '2026-07-11 06:45: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'), 47627, 'SRID=4674;POINT (-40.048969 -2.808161)', '2026-07-11 06:45:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04882 -2.808233)'), GeomFromEWKT('SRID=4674;POINT (-40.048969 -2.808161)'))) / (select extract(epoch from '2026-07-11 06:45:15'::timestamp) - extract(epoch from '2026-07-11 06:45:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04882 -2.808233)'), GeomFromEWKT('SRID=4674;POINT (-40.048969 -2.808161)'))) / (select extract(epoch from '2026-07-11 06:45:15'::timestamp) - extract(epoch from '2026-07-11 06:45:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049158 -2.808078)', '2026-07-11 06:45:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048969 -2.808161)'), GeomFromEWKT('SRID=4674;POINT (-40.049158 -2.808078)'))) / (select extract(epoch from '2026-07-11 06:45:25'::timestamp) - extract(epoch from '2026-07-11 06:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048969 -2.808161)'), GeomFromEWKT('SRID=4674;POINT (-40.049158 -2.808078)'))) / (select extract(epoch from '2026-07-11 06:45:25'::timestamp) - extract(epoch from '2026-07-11 06:45: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'), 47627, 'SRID=4674;POINT (-40.04929 -2.808026)', '2026-07-11 06:45:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049158 -2.808078)'), GeomFromEWKT('SRID=4674;POINT (-40.04929 -2.808026)'))) / (select extract(epoch from '2026-07-11 06:45:32'::timestamp) - extract(epoch from '2026-07-11 06:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049158 -2.808078)'), GeomFromEWKT('SRID=4674;POINT (-40.04929 -2.808026)'))) / (select extract(epoch from '2026-07-11 06:45:32'::timestamp) - extract(epoch from '2026-07-11 06:45: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'), 47627, 'SRID=4674;POINT (-40.049404 -2.807973)', '2026-07-11 06:45:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04929 -2.808026)'), GeomFromEWKT('SRID=4674;POINT (-40.049404 -2.807973)'))) / (select extract(epoch from '2026-07-11 06:45:38'::timestamp) - extract(epoch from '2026-07-11 06:45:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04929 -2.808026)'), GeomFromEWKT('SRID=4674;POINT (-40.049404 -2.807973)'))) / (select extract(epoch from '2026-07-11 06:45:38'::timestamp) - extract(epoch from '2026-07-11 06:45:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049578 -2.807864)', '2026-07-11 06:45:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049404 -2.807973)'), GeomFromEWKT('SRID=4674;POINT (-40.049578 -2.807864)'))) / (select extract(epoch from '2026-07-11 06:45:48'::timestamp) - extract(epoch from '2026-07-11 06:45:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049404 -2.807973)'), GeomFromEWKT('SRID=4674;POINT (-40.049578 -2.807864)'))) / (select extract(epoch from '2026-07-11 06:45:48'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.049772 -2.807779)', '2026-07-11 06:45:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049578 -2.807864)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.807779)'))) / (select extract(epoch from '2026-07-11 06:45:58'::timestamp) - extract(epoch from '2026-07-11 06:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049578 -2.807864)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.807779)'))) / (select extract(epoch from '2026-07-11 06:45:58'::timestamp) - extract(epoch from '2026-07-11 06:45: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'), 47627, 'SRID=4674;POINT (-40.049902 -2.807715)', '2026-07-11 06:46:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.807779)'), GeomFromEWKT('SRID=4674;POINT (-40.049902 -2.807715)'))) / (select extract(epoch from '2026-07-11 06:46:05'::timestamp) - extract(epoch from '2026-07-11 06:45:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.807779)'), GeomFromEWKT('SRID=4674;POINT (-40.049902 -2.807715)'))) / (select extract(epoch from '2026-07-11 06:46:05'::timestamp) - extract(epoch from '2026-07-11 06:45: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'), 47627, 'SRID=4674;POINT (-40.050042 -2.807627)', '2026-07-11 06:46:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049902 -2.807715)'), GeomFromEWKT('SRID=4674;POINT (-40.050042 -2.807627)'))) / (select extract(epoch from '2026-07-11 06:46:13'::timestamp) - extract(epoch from '2026-07-11 06:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049902 -2.807715)'), GeomFromEWKT('SRID=4674;POINT (-40.050042 -2.807627)'))) / (select extract(epoch from '2026-07-11 06:46:13'::timestamp) - extract(epoch from '2026-07-11 06:46: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'), 47627, 'SRID=4674;POINT (-40.05015 -2.807567)', '2026-07-11 06:46:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050042 -2.807627)'), GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.807567)'))) / (select extract(epoch from '2026-07-11 06:46:19'::timestamp) - extract(epoch from '2026-07-11 06:46:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050042 -2.807627)'), GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.807567)'))) / (select extract(epoch from '2026-07-11 06:46:19'::timestamp) - extract(epoch from '2026-07-11 06:46:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050339 -2.807471)', '2026-07-11 06:46:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.807567)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.807471)'))) / (select extract(epoch from '2026-07-11 06:46:29'::timestamp) - extract(epoch from '2026-07-11 06:46:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05015 -2.807567)'), GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.807471)'))) / (select extract(epoch from '2026-07-11 06:46:29'::timestamp) - extract(epoch from '2026-07-11 06:46:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050436 -2.807438)', '2026-07-11 06:46:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.807471)'), GeomFromEWKT('SRID=4674;POINT (-40.050436 -2.807438)'))) / (select extract(epoch from '2026-07-11 06:46:34'::timestamp) - extract(epoch from '2026-07-11 06:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050339 -2.807471)'), GeomFromEWKT('SRID=4674;POINT (-40.050436 -2.807438)'))) / (select extract(epoch from '2026-07-11 06:46:34'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.050611 -2.807353)', '2026-07-11 06:46:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050436 -2.807438)'), GeomFromEWKT('SRID=4674;POINT (-40.050611 -2.807353)'))) / (select extract(epoch from '2026-07-11 06:46:44'::timestamp) - extract(epoch from '2026-07-11 06:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050436 -2.807438)'), GeomFromEWKT('SRID=4674;POINT (-40.050611 -2.807353)'))) / (select extract(epoch from '2026-07-11 06:46:44'::timestamp) - extract(epoch from '2026-07-11 06:46: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'), 47627, 'SRID=4674;POINT (-40.0508 -2.807263)', '2026-07-11 06:46:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050611 -2.807353)'), GeomFromEWKT('SRID=4674;POINT (-40.0508 -2.807263)'))) / (select extract(epoch from '2026-07-11 06:46:54'::timestamp) - extract(epoch from '2026-07-11 06:46:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050611 -2.807353)'), GeomFromEWKT('SRID=4674;POINT (-40.0508 -2.807263)'))) / (select extract(epoch from '2026-07-11 06:46:54'::timestamp) - extract(epoch from '2026-07-11 06:46: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'), 47627, 'SRID=4674;POINT (-40.050965 -2.807167)', '2026-07-11 06:47:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0508 -2.807263)'), GeomFromEWKT('SRID=4674;POINT (-40.050965 -2.807167)'))) / (select extract(epoch from '2026-07-11 06:47:03'::timestamp) - extract(epoch from '2026-07-11 06:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0508 -2.807263)'), GeomFromEWKT('SRID=4674;POINT (-40.050965 -2.807167)'))) / (select extract(epoch from '2026-07-11 06:47:03'::timestamp) - extract(epoch from '2026-07-11 06:46: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'), 47627, 'SRID=4674;POINT (-40.051161 -2.807072)', '2026-07-11 06:47:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050965 -2.807167)'), GeomFromEWKT('SRID=4674;POINT (-40.051161 -2.807072)'))) / (select extract(epoch from '2026-07-11 06:47:13'::timestamp) - extract(epoch from '2026-07-11 06:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050965 -2.807167)'), GeomFromEWKT('SRID=4674;POINT (-40.051161 -2.807072)'))) / (select extract(epoch from '2026-07-11 06:47:13'::timestamp) - extract(epoch from '2026-07-11 06:47: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'), 47627, 'SRID=4674;POINT (-40.051369 -2.806996)', '2026-07-11 06:47:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051161 -2.807072)'), GeomFromEWKT('SRID=4674;POINT (-40.051369 -2.806996)'))) / (select extract(epoch from '2026-07-11 06:47:23'::timestamp) - extract(epoch from '2026-07-11 06:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051161 -2.807072)'), GeomFromEWKT('SRID=4674;POINT (-40.051369 -2.806996)'))) / (select extract(epoch from '2026-07-11 06:47:23'::timestamp) - extract(epoch from '2026-07-11 06:47: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'), 47627, 'SRID=4674;POINT (-40.05155 -2.806932)', '2026-07-11 06:47:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051369 -2.806996)'), GeomFromEWKT('SRID=4674;POINT (-40.05155 -2.806932)'))) / (select extract(epoch from '2026-07-11 06:47:32'::timestamp) - extract(epoch from '2026-07-11 06:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051369 -2.806996)'), GeomFromEWKT('SRID=4674;POINT (-40.05155 -2.806932)'))) / (select extract(epoch from '2026-07-11 06:47:32'::timestamp) - extract(epoch from '2026-07-11 06:47: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'), 47627, 'SRID=4674;POINT (-40.051726 -2.806862)', '2026-07-11 06:47:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05155 -2.806932)'), GeomFromEWKT('SRID=4674;POINT (-40.051726 -2.806862)'))) / (select extract(epoch from '2026-07-11 06:47:41'::timestamp) - extract(epoch from '2026-07-11 06:47:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05155 -2.806932)'), GeomFromEWKT('SRID=4674;POINT (-40.051726 -2.806862)'))) / (select extract(epoch from '2026-07-11 06:47:41'::timestamp) - extract(epoch from '2026-07-11 06:47: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'), 47627, 'SRID=4674;POINT (-40.05187 -2.80679)', '2026-07-11 06:47:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051726 -2.806862)'), GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.80679)'))) / (select extract(epoch from '2026-07-11 06:47:49'::timestamp) - extract(epoch from '2026-07-11 06:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051726 -2.806862)'), GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.80679)'))) / (select extract(epoch from '2026-07-11 06:47:49'::timestamp) - extract(epoch from '2026-07-11 06:47: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'), 47627, 'SRID=4674;POINT (-40.05204 -2.806707)', '2026-07-11 06:47:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.80679)'), GeomFromEWKT('SRID=4674;POINT (-40.05204 -2.806707)'))) / (select extract(epoch from '2026-07-11 06:47:58'::timestamp) - extract(epoch from '2026-07-11 06:47:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.80679)'), GeomFromEWKT('SRID=4674;POINT (-40.05204 -2.806707)'))) / (select extract(epoch from '2026-07-11 06:47:58'::timestamp) - extract(epoch from '2026-07-11 06:47:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052216 -2.806628)', '2026-07-11 06:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05204 -2.806707)'), GeomFromEWKT('SRID=4674;POINT (-40.052216 -2.806628)'))) / (select extract(epoch from '2026-07-11 06:48:07'::timestamp) - extract(epoch from '2026-07-11 06:47:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05204 -2.806707)'), GeomFromEWKT('SRID=4674;POINT (-40.052216 -2.806628)'))) / (select extract(epoch from '2026-07-11 06:48:07'::timestamp) - extract(epoch from '2026-07-11 06:47: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'), 47627, 'SRID=4674;POINT (-40.052361 -2.80658)', '2026-07-11 06:48:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052216 -2.806628)'), GeomFromEWKT('SRID=4674;POINT (-40.052361 -2.80658)'))) / (select extract(epoch from '2026-07-11 06:48:14'::timestamp) - extract(epoch from '2026-07-11 06:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052216 -2.806628)'), GeomFromEWKT('SRID=4674;POINT (-40.052361 -2.80658)'))) / (select extract(epoch from '2026-07-11 06:48:14'::timestamp) - extract(epoch from '2026-07-11 06:48:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052562 -2.806525)', '2026-07-11 06:48:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052361 -2.80658)'), GeomFromEWKT('SRID=4674;POINT (-40.052562 -2.806525)'))) / (select extract(epoch from '2026-07-11 06:48:24'::timestamp) - extract(epoch from '2026-07-11 06:48:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052361 -2.80658)'), GeomFromEWKT('SRID=4674;POINT (-40.052562 -2.806525)'))) / (select extract(epoch from '2026-07-11 06:48:24'::timestamp) - extract(epoch from '2026-07-11 06:48:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052742 -2.806466)', '2026-07-11 06:48:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052562 -2.806525)'), GeomFromEWKT('SRID=4674;POINT (-40.052742 -2.806466)'))) / (select extract(epoch from '2026-07-11 06:48:33'::timestamp) - extract(epoch from '2026-07-11 06:48:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052562 -2.806525)'), GeomFromEWKT('SRID=4674;POINT (-40.052742 -2.806466)'))) / (select extract(epoch from '2026-07-11 06:48:33'::timestamp) - extract(epoch from '2026-07-11 06:48: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'), 47627, 'SRID=4674;POINT (-40.052916 -2.806405)', '2026-07-11 06:48:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052742 -2.806466)'), GeomFromEWKT('SRID=4674;POINT (-40.052916 -2.806405)'))) / (select extract(epoch from '2026-07-11 06:48:42'::timestamp) - extract(epoch from '2026-07-11 06:48:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052742 -2.806466)'), GeomFromEWKT('SRID=4674;POINT (-40.052916 -2.806405)'))) / (select extract(epoch from '2026-07-11 06:48:42'::timestamp) - extract(epoch from '2026-07-11 06:48:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053117 -2.80631)', '2026-07-11 06:48:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052916 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.80631)'))) / (select extract(epoch from '2026-07-11 06:48:53'::timestamp) - extract(epoch from '2026-07-11 06:48:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052916 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.80631)'))) / (select extract(epoch from '2026-07-11 06:48:53'::timestamp) - extract(epoch from '2026-07-11 06:48:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053277 -2.806188)', '2026-07-11 06:49:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.80631)'), GeomFromEWKT('SRID=4674;POINT (-40.053277 -2.806188)'))) / (select extract(epoch from '2026-07-11 06:49:03'::timestamp) - extract(epoch from '2026-07-11 06:48:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053117 -2.80631)'), GeomFromEWKT('SRID=4674;POINT (-40.053277 -2.806188)'))) / (select extract(epoch from '2026-07-11 06:49:03'::timestamp) - extract(epoch from '2026-07-11 06:48:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053448 -2.806062)', '2026-07-11 06:49:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053277 -2.806188)'), GeomFromEWKT('SRID=4674;POINT (-40.053448 -2.806062)'))) / (select extract(epoch from '2026-07-11 06:49:14'::timestamp) - extract(epoch from '2026-07-11 06:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053277 -2.806188)'), GeomFromEWKT('SRID=4674;POINT (-40.053448 -2.806062)'))) / (select extract(epoch from '2026-07-11 06:49:14'::timestamp) - extract(epoch from '2026-07-11 06:49: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'), 47627, 'SRID=4674;POINT (-40.053541 -2.806005)', '2026-07-11 06:49:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053448 -2.806062)'), GeomFromEWKT('SRID=4674;POINT (-40.053541 -2.806005)'))) / (select extract(epoch from '2026-07-11 06:49:20'::timestamp) - extract(epoch from '2026-07-11 06:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053448 -2.806062)'), GeomFromEWKT('SRID=4674;POINT (-40.053541 -2.806005)'))) / (select extract(epoch from '2026-07-11 06:49:20'::timestamp) - extract(epoch from '2026-07-11 06:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053662 -2.805937)', '2026-07-11 06:49:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053541 -2.806005)'), GeomFromEWKT('SRID=4674;POINT (-40.053662 -2.805937)'))) / (select extract(epoch from '2026-07-11 06:49:28'::timestamp) - extract(epoch from '2026-07-11 06:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053541 -2.806005)'), GeomFromEWKT('SRID=4674;POINT (-40.053662 -2.805937)'))) / (select extract(epoch from '2026-07-11 06:49:28'::timestamp) - extract(epoch from '2026-07-11 06:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053759 -2.805852)', '2026-07-11 06:49:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053662 -2.805937)'), GeomFromEWKT('SRID=4674;POINT (-40.053759 -2.805852)'))) / (select extract(epoch from '2026-07-11 06:49:36'::timestamp) - extract(epoch from '2026-07-11 06:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053662 -2.805937)'), GeomFromEWKT('SRID=4674;POINT (-40.053759 -2.805852)'))) / (select extract(epoch from '2026-07-11 06:49:36'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.053857 -2.805744)', '2026-07-11 06:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053759 -2.805852)'), GeomFromEWKT('SRID=4674;POINT (-40.053857 -2.805744)'))) / (select extract(epoch from '2026-07-11 06:49:44'::timestamp) - extract(epoch from '2026-07-11 06:49:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053759 -2.805852)'), GeomFromEWKT('SRID=4674;POINT (-40.053857 -2.805744)'))) / (select extract(epoch from '2026-07-11 06:49:44'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.053913 -2.805655)', '2026-07-11 06:49:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053857 -2.805744)'), GeomFromEWKT('SRID=4674;POINT (-40.053913 -2.805655)'))) / (select extract(epoch from '2026-07-11 06:49:51'::timestamp) - extract(epoch from '2026-07-11 06:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053857 -2.805744)'), GeomFromEWKT('SRID=4674;POINT (-40.053913 -2.805655)'))) / (select extract(epoch from '2026-07-11 06:49:51'::timestamp) - extract(epoch from '2026-07-11 06:49:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053916 -2.805644)', '2026-07-11 06:49:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053913 -2.805655)'), GeomFromEWKT('SRID=4674;POINT (-40.053916 -2.805644)'))) / (select extract(epoch from '2026-07-11 06:49:52'::timestamp) - extract(epoch from '2026-07-11 06:49:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053913 -2.805655)'), GeomFromEWKT('SRID=4674;POINT (-40.053916 -2.805644)'))) / (select extract(epoch from '2026-07-11 06:49:52'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.053926 -2.805616)', '2026-07-11 06:49:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053916 -2.805644)'), GeomFromEWKT('SRID=4674;POINT (-40.053926 -2.805616)'))) / (select extract(epoch from '2026-07-11 06:49:55'::timestamp) - extract(epoch from '2026-07-11 06:49:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053916 -2.805644)'), GeomFromEWKT('SRID=4674;POINT (-40.053926 -2.805616)'))) / (select extract(epoch from '2026-07-11 06:49:55'::timestamp) - extract(epoch from '2026-07-11 06:49: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'), 47627, 'SRID=4674;POINT (-40.05393 -2.805588)', '2026-07-11 06:49:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053926 -2.805616)'), GeomFromEWKT('SRID=4674;POINT (-40.05393 -2.805588)'))) / (select extract(epoch from '2026-07-11 06:49:59'::timestamp) - extract(epoch from '2026-07-11 06:49:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053926 -2.805616)'), GeomFromEWKT('SRID=4674;POINT (-40.05393 -2.805588)'))) / (select extract(epoch from '2026-07-11 06:49:59'::timestamp) - extract(epoch from '2026-07-11 06:49: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'), 47627, 'SRID=4674;POINT (-40.053938 -2.80556)', '2026-07-11 06:50:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05393 -2.805588)'), GeomFromEWKT('SRID=4674;POINT (-40.053938 -2.80556)'))) / (select extract(epoch from '2026-07-11 06:50:14'::timestamp) - extract(epoch from '2026-07-11 06:49:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05393 -2.805588)'), GeomFromEWKT('SRID=4674;POINT (-40.053938 -2.80556)'))) / (select extract(epoch from '2026-07-11 06:50:14'::timestamp) - extract(epoch from '2026-07-11 06:49:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053962 -2.805588)', '2026-07-11 06:50:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053938 -2.80556)'), GeomFromEWKT('SRID=4674;POINT (-40.053962 -2.805588)'))) / (select extract(epoch from '2026-07-11 06:50:32'::timestamp) - extract(epoch from '2026-07-11 06:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053938 -2.80556)'), GeomFromEWKT('SRID=4674;POINT (-40.053962 -2.805588)'))) / (select extract(epoch from '2026-07-11 06:50:32'::timestamp) - extract(epoch from '2026-07-11 06:50: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'), 47627, 'SRID=4674;POINT (-40.053975 -2.805599)', '2026-07-11 06:51:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053962 -2.805588)'), GeomFromEWKT('SRID=4674;POINT (-40.053975 -2.805599)'))) / (select extract(epoch from '2026-07-11 06:51:08'::timestamp) - extract(epoch from '2026-07-11 06:50:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053962 -2.805588)'), GeomFromEWKT('SRID=4674;POINT (-40.053975 -2.805599)'))) / (select extract(epoch from '2026-07-11 06:51:08'::timestamp) - extract(epoch from '2026-07-11 06:50:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053971 -2.805591)', '2026-07-11 06:52:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053975 -2.805599)'), GeomFromEWKT('SRID=4674;POINT (-40.053971 -2.805591)'))) / (select extract(epoch from '2026-07-11 06:52:28'::timestamp) - extract(epoch from '2026-07-11 06:51:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053975 -2.805599)'), GeomFromEWKT('SRID=4674;POINT (-40.053971 -2.805591)'))) / (select extract(epoch from '2026-07-11 06:52:28'::timestamp) - extract(epoch from '2026-07-11 06:51: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'), 47627, 'SRID=4674;POINT (-40.05398 -2.805576)', '2026-07-11 06:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053971 -2.805591)'), GeomFromEWKT('SRID=4674;POINT (-40.05398 -2.805576)'))) / (select extract(epoch from '2026-07-11 06:52:44'::timestamp) - extract(epoch from '2026-07-11 06:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053971 -2.805591)'), GeomFromEWKT('SRID=4674;POINT (-40.05398 -2.805576)'))) / (select extract(epoch from '2026-07-11 06:52:44'::timestamp) - extract(epoch from '2026-07-11 06:52:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053989 -2.805565)', '2026-07-11 06:52:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05398 -2.805576)'), GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.805565)'))) / (select extract(epoch from '2026-07-11 06:52:52'::timestamp) - extract(epoch from '2026-07-11 06:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05398 -2.805576)'), GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.805565)'))) / (select extract(epoch from '2026-07-11 06:52:52'::timestamp) - extract(epoch from '2026-07-11 06:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053988 -2.805589)', '2026-07-11 06:52:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.805565)'), GeomFromEWKT('SRID=4674;POINT (-40.053988 -2.805589)'))) / (select extract(epoch from '2026-07-11 06:52:58'::timestamp) - extract(epoch from '2026-07-11 06:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053989 -2.805565)'), GeomFromEWKT('SRID=4674;POINT (-40.053988 -2.805589)'))) / (select extract(epoch from '2026-07-11 06:52:58'::timestamp) - extract(epoch from '2026-07-11 06:52: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'), 47627, 'SRID=4674;POINT (-40.05399 -2.805598)', '2026-07-11 06:53:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053988 -2.805589)'), GeomFromEWKT('SRID=4674;POINT (-40.05399 -2.805598)'))) / (select extract(epoch from '2026-07-11 06:53:02'::timestamp) - extract(epoch from '2026-07-11 06:52:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053988 -2.805589)'), GeomFromEWKT('SRID=4674;POINT (-40.05399 -2.805598)'))) / (select extract(epoch from '2026-07-11 06:53:02'::timestamp) - extract(epoch from '2026-07-11 06:52: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'), 47627, 'SRID=4674;POINT (-40.053992 -2.805608)', '2026-07-11 06:53:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05399 -2.805598)'), GeomFromEWKT('SRID=4674;POINT (-40.053992 -2.805608)'))) / (select extract(epoch from '2026-07-11 06:53:13'::timestamp) - extract(epoch from '2026-07-11 06:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05399 -2.805598)'), GeomFromEWKT('SRID=4674;POINT (-40.053992 -2.805608)'))) / (select extract(epoch from '2026-07-11 06:53:13'::timestamp) - extract(epoch from '2026-07-11 06:53:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053952 -2.805629)', '2026-07-11 06:53:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053992 -2.805608)'), GeomFromEWKT('SRID=4674;POINT (-40.053952 -2.805629)'))) / (select extract(epoch from '2026-07-11 06:53:41'::timestamp) - extract(epoch from '2026-07-11 06:53:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053992 -2.805608)'), GeomFromEWKT('SRID=4674;POINT (-40.053952 -2.805629)'))) / (select extract(epoch from '2026-07-11 06:53:41'::timestamp) - extract(epoch from '2026-07-11 06:53:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05387 -2.805683)', '2026-07-11 06:53:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053952 -2.805629)'), GeomFromEWKT('SRID=4674;POINT (-40.05387 -2.805683)'))) / (select extract(epoch from '2026-07-11 06:53:50'::timestamp) - extract(epoch from '2026-07-11 06:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053952 -2.805629)'), GeomFromEWKT('SRID=4674;POINT (-40.05387 -2.805683)'))) / (select extract(epoch from '2026-07-11 06:53:50'::timestamp) - extract(epoch from '2026-07-11 06:53: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'), 47627, 'SRID=4674;POINT (-40.053843 -2.805704)', '2026-07-11 06:53:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05387 -2.805683)'), GeomFromEWKT('SRID=4674;POINT (-40.053843 -2.805704)'))) / (select extract(epoch from '2026-07-11 06:53:54'::timestamp) - extract(epoch from '2026-07-11 06:53:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05387 -2.805683)'), GeomFromEWKT('SRID=4674;POINT (-40.053843 -2.805704)'))) / (select extract(epoch from '2026-07-11 06:53:54'::timestamp) - extract(epoch from '2026-07-11 06:53:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053824 -2.805709)', '2026-07-11 06:53:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053843 -2.805704)'), GeomFromEWKT('SRID=4674;POINT (-40.053824 -2.805709)'))) / (select extract(epoch from '2026-07-11 06:53:56'::timestamp) - extract(epoch from '2026-07-11 06:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053843 -2.805704)'), GeomFromEWKT('SRID=4674;POINT (-40.053824 -2.805709)'))) / (select extract(epoch from '2026-07-11 06:53:56'::timestamp) - extract(epoch from '2026-07-11 06:53:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053759 -2.805696)', '2026-07-11 06:54:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053824 -2.805709)'), GeomFromEWKT('SRID=4674;POINT (-40.053759 -2.805696)'))) / (select extract(epoch from '2026-07-11 06:54:01'::timestamp) - extract(epoch from '2026-07-11 06:53:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053824 -2.805709)'), GeomFromEWKT('SRID=4674;POINT (-40.053759 -2.805696)'))) / (select extract(epoch from '2026-07-11 06:54:01'::timestamp) - extract(epoch from '2026-07-11 06:53:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053686 -2.805604)', '2026-07-11 06:54:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053759 -2.805696)'), GeomFromEWKT('SRID=4674;POINT (-40.053686 -2.805604)'))) / (select extract(epoch from '2026-07-11 06:54:09'::timestamp) - extract(epoch from '2026-07-11 06:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053759 -2.805696)'), GeomFromEWKT('SRID=4674;POINT (-40.053686 -2.805604)'))) / (select extract(epoch from '2026-07-11 06:54:09'::timestamp) - extract(epoch from '2026-07-11 06:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053695 -2.805475)', '2026-07-11 06:54:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053686 -2.805604)'), GeomFromEWKT('SRID=4674;POINT (-40.053695 -2.805475)'))) / (select extract(epoch from '2026-07-11 06:54:16'::timestamp) - extract(epoch from '2026-07-11 06:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053686 -2.805604)'), GeomFromEWKT('SRID=4674;POINT (-40.053695 -2.805475)'))) / (select extract(epoch from '2026-07-11 06:54:16'::timestamp) - extract(epoch from '2026-07-11 06:54: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'), 47627, 'SRID=4674;POINT (-40.05373 -2.805336)', '2026-07-11 06:54:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053695 -2.805475)'), GeomFromEWKT('SRID=4674;POINT (-40.05373 -2.805336)'))) / (select extract(epoch from '2026-07-11 06:54:23'::timestamp) - extract(epoch from '2026-07-11 06:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053695 -2.805475)'), GeomFromEWKT('SRID=4674;POINT (-40.05373 -2.805336)'))) / (select extract(epoch from '2026-07-11 06:54:23'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.053829 -2.805152)', '2026-07-11 06:54:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05373 -2.805336)'), GeomFromEWKT('SRID=4674;POINT (-40.053829 -2.805152)'))) / (select extract(epoch from '2026-07-11 06:54:33'::timestamp) - extract(epoch from '2026-07-11 06:54:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05373 -2.805336)'), GeomFromEWKT('SRID=4674;POINT (-40.053829 -2.805152)'))) / (select extract(epoch from '2026-07-11 06:54:33'::timestamp) - extract(epoch from '2026-07-11 06:54:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053906 -2.805035)', '2026-07-11 06:54:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053829 -2.805152)'), GeomFromEWKT('SRID=4674;POINT (-40.053906 -2.805035)'))) / (select extract(epoch from '2026-07-11 06:54:40'::timestamp) - extract(epoch from '2026-07-11 06:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053829 -2.805152)'), GeomFromEWKT('SRID=4674;POINT (-40.053906 -2.805035)'))) / (select extract(epoch from '2026-07-11 06:54:40'::timestamp) - extract(epoch from '2026-07-11 06:54: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'), 47627, 'SRID=4674;POINT (-40.053948 -2.804903)', '2026-07-11 06:54:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053906 -2.805035)'), GeomFromEWKT('SRID=4674;POINT (-40.053948 -2.804903)'))) / (select extract(epoch from '2026-07-11 06:54:47'::timestamp) - extract(epoch from '2026-07-11 06:54:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053906 -2.805035)'), GeomFromEWKT('SRID=4674;POINT (-40.053948 -2.804903)'))) / (select extract(epoch from '2026-07-11 06:54:47'::timestamp) - extract(epoch from '2026-07-11 06:54:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053966 -2.804744)', '2026-07-11 06:54:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053948 -2.804903)'), GeomFromEWKT('SRID=4674;POINT (-40.053966 -2.804744)'))) / (select extract(epoch from '2026-07-11 06:54:55'::timestamp) - extract(epoch from '2026-07-11 06:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053948 -2.804903)'), GeomFromEWKT('SRID=4674;POINT (-40.053966 -2.804744)'))) / (select extract(epoch from '2026-07-11 06:54:55'::timestamp) - extract(epoch from '2026-07-11 06:54:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053968 -2.804588)', '2026-07-11 06:55:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053966 -2.804744)'), GeomFromEWKT('SRID=4674;POINT (-40.053968 -2.804588)'))) / (select extract(epoch from '2026-07-11 06:55:03'::timestamp) - extract(epoch from '2026-07-11 06:54:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053966 -2.804744)'), GeomFromEWKT('SRID=4674;POINT (-40.053968 -2.804588)'))) / (select extract(epoch from '2026-07-11 06:55:03'::timestamp) - extract(epoch from '2026-07-11 06:54: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'), 47627, 'SRID=4674;POINT (-40.053982 -2.804386)', '2026-07-11 06:55:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053968 -2.804588)'), GeomFromEWKT('SRID=4674;POINT (-40.053982 -2.804386)'))) / (select extract(epoch from '2026-07-11 06:55:14'::timestamp) - extract(epoch from '2026-07-11 06:55:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053968 -2.804588)'), GeomFromEWKT('SRID=4674;POINT (-40.053982 -2.804386)'))) / (select extract(epoch from '2026-07-11 06:55:14'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.053988 -2.804299)', '2026-07-11 06:55:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053982 -2.804386)'), GeomFromEWKT('SRID=4674;POINT (-40.053988 -2.804299)'))) / (select extract(epoch from '2026-07-11 06:55:20'::timestamp) - extract(epoch from '2026-07-11 06:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053982 -2.804386)'), GeomFromEWKT('SRID=4674;POINT (-40.053988 -2.804299)'))) / (select extract(epoch from '2026-07-11 06:55:20'::timestamp) - extract(epoch from '2026-07-11 06:55: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'), 47627, 'SRID=4674;POINT (-40.053996 -2.804231)', '2026-07-11 06:55:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053988 -2.804299)'), GeomFromEWKT('SRID=4674;POINT (-40.053996 -2.804231)'))) / (select extract(epoch from '2026-07-11 06:55:28'::timestamp) - extract(epoch from '2026-07-11 06:55:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053988 -2.804299)'), GeomFromEWKT('SRID=4674;POINT (-40.053996 -2.804231)'))) / (select extract(epoch from '2026-07-11 06:55:28'::timestamp) - extract(epoch from '2026-07-11 06:55: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'), 47627, 'SRID=4674;POINT (-40.05402 -2.804184)', '2026-07-11 06:55:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053996 -2.804231)'), GeomFromEWKT('SRID=4674;POINT (-40.05402 -2.804184)'))) / (select extract(epoch from '2026-07-11 06:55:43'::timestamp) - extract(epoch from '2026-07-11 06:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053996 -2.804231)'), GeomFromEWKT('SRID=4674;POINT (-40.05402 -2.804184)'))) / (select extract(epoch from '2026-07-11 06:55:43'::timestamp) - extract(epoch from '2026-07-11 06:55: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'), 47627, 'SRID=4674;POINT (-40.054047 -2.804196)', '2026-07-11 06:56:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05402 -2.804184)'), GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.804196)'))) / (select extract(epoch from '2026-07-11 06:56:03'::timestamp) - extract(epoch from '2026-07-11 06:55:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05402 -2.804184)'), GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.804196)'))) / (select extract(epoch from '2026-07-11 06:56:03'::timestamp) - extract(epoch from '2026-07-11 06:55:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.054083 -2.804222)', '2026-07-11 06:56:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.804196)'), GeomFromEWKT('SRID=4674;POINT (-40.054083 -2.804222)'))) / (select extract(epoch from '2026-07-11 06:56:20'::timestamp) - extract(epoch from '2026-07-11 06:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054047 -2.804196)'), GeomFromEWKT('SRID=4674;POINT (-40.054083 -2.804222)'))) / (select extract(epoch from '2026-07-11 06:56:20'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.054077 -2.804228)', '2026-07-11 06:56:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054083 -2.804222)'), GeomFromEWKT('SRID=4674;POINT (-40.054077 -2.804228)'))) / (select extract(epoch from '2026-07-11 06:56:30'::timestamp) - extract(epoch from '2026-07-11 06:56:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054083 -2.804222)'), GeomFromEWKT('SRID=4674;POINT (-40.054077 -2.804228)'))) / (select extract(epoch from '2026-07-11 06:56:30'::timestamp) - extract(epoch from '2026-07-11 06:56:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.054062 -2.804204)', '2026-07-11 06:56:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054077 -2.804228)'), GeomFromEWKT('SRID=4674;POINT (-40.054062 -2.804204)'))) / (select extract(epoch from '2026-07-11 06:56:38'::timestamp) - extract(epoch from '2026-07-11 06:56:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054077 -2.804228)'), GeomFromEWKT('SRID=4674;POINT (-40.054062 -2.804204)'))) / (select extract(epoch from '2026-07-11 06:56:38'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.054065 -2.804185)', '2026-07-11 06:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054062 -2.804204)'), GeomFromEWKT('SRID=4674;POINT (-40.054065 -2.804185)'))) / (select extract(epoch from '2026-07-11 06:56:44'::timestamp) - extract(epoch from '2026-07-11 06:56:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054062 -2.804204)'), GeomFromEWKT('SRID=4674;POINT (-40.054065 -2.804185)'))) / (select extract(epoch from '2026-07-11 06:56:44'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.054045 -2.804192)', '2026-07-11 06:56:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054065 -2.804185)'), GeomFromEWKT('SRID=4674;POINT (-40.054045 -2.804192)'))) / (select extract(epoch from '2026-07-11 06:56:51'::timestamp) - extract(epoch from '2026-07-11 06:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054065 -2.804185)'), GeomFromEWKT('SRID=4674;POINT (-40.054045 -2.804192)'))) / (select extract(epoch from '2026-07-11 06:56:51'::timestamp) - extract(epoch from '2026-07-11 06:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.054027 -2.80419)', '2026-07-11 06:56:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054045 -2.804192)'), GeomFromEWKT('SRID=4674;POINT (-40.054027 -2.80419)'))) / (select extract(epoch from '2026-07-11 06:56:59'::timestamp) - extract(epoch from '2026-07-11 06:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054045 -2.804192)'), GeomFromEWKT('SRID=4674;POINT (-40.054027 -2.80419)'))) / (select extract(epoch from '2026-07-11 06:56:59'::timestamp) - extract(epoch from '2026-07-11 06:56:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.054046 -2.804203)', '2026-07-11 06:57:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054027 -2.80419)'), GeomFromEWKT('SRID=4674;POINT (-40.054046 -2.804203)'))) / (select extract(epoch from '2026-07-11 06:57:06'::timestamp) - extract(epoch from '2026-07-11 06:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054027 -2.80419)'), GeomFromEWKT('SRID=4674;POINT (-40.054046 -2.804203)'))) / (select extract(epoch from '2026-07-11 06:57:06'::timestamp) - extract(epoch from '2026-07-11 06:56:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.054073 -2.804222)', '2026-07-11 06:57:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054046 -2.804203)'), GeomFromEWKT('SRID=4674;POINT (-40.054073 -2.804222)'))) / (select extract(epoch from '2026-07-11 06:57:13'::timestamp) - extract(epoch from '2026-07-11 06:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054046 -2.804203)'), GeomFromEWKT('SRID=4674;POINT (-40.054073 -2.804222)'))) / (select extract(epoch from '2026-07-11 06:57:13'::timestamp) - extract(epoch from '2026-07-11 06:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.054106 -2.804246)', '2026-07-11 06:57:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054073 -2.804222)'), GeomFromEWKT('SRID=4674;POINT (-40.054106 -2.804246)'))) / (select extract(epoch from '2026-07-11 06:57:19'::timestamp) - extract(epoch from '2026-07-11 06:57:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054073 -2.804222)'), GeomFromEWKT('SRID=4674;POINT (-40.054106 -2.804246)'))) / (select extract(epoch from '2026-07-11 06:57:19'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.054111 -2.804249)', '2026-07-11 06:57:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054106 -2.804246)'), GeomFromEWKT('SRID=4674;POINT (-40.054111 -2.804249)'))) / (select extract(epoch from '2026-07-11 06:57:20'::timestamp) - extract(epoch from '2026-07-11 06:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054106 -2.804246)'), GeomFromEWKT('SRID=4674;POINT (-40.054111 -2.804249)'))) / (select extract(epoch from '2026-07-11 06:57:20'::timestamp) - extract(epoch from '2026-07-11 06:57: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'), 47627, 'SRID=4674;POINT (-40.05412 -2.80425)', '2026-07-11 06:57:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054111 -2.804249)'), GeomFromEWKT('SRID=4674;POINT (-40.05412 -2.80425)'))) / (select extract(epoch from '2026-07-11 06:57:34'::timestamp) - extract(epoch from '2026-07-11 06:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054111 -2.804249)'), GeomFromEWKT('SRID=4674;POINT (-40.05412 -2.80425)'))) / (select extract(epoch from '2026-07-11 06:57:34'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.054092 -2.804233)', '2026-07-11 06:57:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05412 -2.80425)'), GeomFromEWKT('SRID=4674;POINT (-40.054092 -2.804233)'))) / (select extract(epoch from '2026-07-11 06:57:45'::timestamp) - extract(epoch from '2026-07-11 06:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05412 -2.80425)'), GeomFromEWKT('SRID=4674;POINT (-40.054092 -2.804233)'))) / (select extract(epoch from '2026-07-11 06:57:45'::timestamp) - extract(epoch from '2026-07-11 06:57: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'), 47627, 'SRID=4674;POINT (-40.054041 -2.804239)', '2026-07-11 06:57:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054092 -2.804233)'), GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.804239)'))) / (select extract(epoch from '2026-07-11 06:57:53'::timestamp) - extract(epoch from '2026-07-11 06:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054092 -2.804233)'), GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.804239)'))) / (select extract(epoch from '2026-07-11 06:57:53'::timestamp) - extract(epoch from '2026-07-11 06:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.054025 -2.80425)', '2026-07-11 06:57:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.804239)'), GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.80425)'))) / (select extract(epoch from '2026-07-11 06:57:55'::timestamp) - extract(epoch from '2026-07-11 06:57:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054041 -2.804239)'), GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.80425)'))) / (select extract(epoch from '2026-07-11 06:57:55'::timestamp) - extract(epoch from '2026-07-11 06:57: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'), 47627, 'SRID=4674;POINT (-40.053999 -2.804269)', '2026-07-11 06:57:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.80425)'), GeomFromEWKT('SRID=4674;POINT (-40.053999 -2.804269)'))) / (select extract(epoch from '2026-07-11 06:57:58'::timestamp) - extract(epoch from '2026-07-11 06:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.054025 -2.80425)'), GeomFromEWKT('SRID=4674;POINT (-40.053999 -2.804269)'))) / (select extract(epoch from '2026-07-11 06:57:58'::timestamp) - extract(epoch from '2026-07-11 06:57: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'), 47627, 'SRID=4674;POINT (-40.053992 -2.804276)', '2026-07-11 06:57:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053999 -2.804269)'), GeomFromEWKT('SRID=4674;POINT (-40.053992 -2.804276)'))) / (select extract(epoch from '2026-07-11 06:57:59'::timestamp) - extract(epoch from '2026-07-11 06:57:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053999 -2.804269)'), GeomFromEWKT('SRID=4674;POINT (-40.053992 -2.804276)'))) / (select extract(epoch from '2026-07-11 06:57:59'::timestamp) - extract(epoch from '2026-07-11 06:57: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'), 47627, 'SRID=4674;POINT (-40.053986 -2.804284)', '2026-07-11 06:58:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053992 -2.804276)'), GeomFromEWKT('SRID=4674;POINT (-40.053986 -2.804284)'))) / (select extract(epoch from '2026-07-11 06:58:00'::timestamp) - extract(epoch from '2026-07-11 06:57:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053992 -2.804276)'), GeomFromEWKT('SRID=4674;POINT (-40.053986 -2.804284)'))) / (select extract(epoch from '2026-07-11 06:58:00'::timestamp) - extract(epoch from '2026-07-11 06:57: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'), 47627, 'SRID=4674;POINT (-40.053974 -2.804299)', '2026-07-11 06:58:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053986 -2.804284)'), GeomFromEWKT('SRID=4674;POINT (-40.053974 -2.804299)'))) / (select extract(epoch from '2026-07-11 06:58:02'::timestamp) - extract(epoch from '2026-07-11 06:58:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053986 -2.804284)'), GeomFromEWKT('SRID=4674;POINT (-40.053974 -2.804299)'))) / (select extract(epoch from '2026-07-11 06:58:02'::timestamp) - extract(epoch from '2026-07-11 06:58: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'), 47627, 'SRID=4674;POINT (-40.053954 -2.804314)', '2026-07-11 06:58:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053974 -2.804299)'), GeomFromEWKT('SRID=4674;POINT (-40.053954 -2.804314)'))) / (select extract(epoch from '2026-07-11 06:58:05'::timestamp) - extract(epoch from '2026-07-11 06:58:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053974 -2.804299)'), GeomFromEWKT('SRID=4674;POINT (-40.053954 -2.804314)'))) / (select extract(epoch from '2026-07-11 06:58:05'::timestamp) - extract(epoch from '2026-07-11 06:58:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053947 -2.804317)', '2026-07-11 06:58:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053954 -2.804314)'), GeomFromEWKT('SRID=4674;POINT (-40.053947 -2.804317)'))) / (select extract(epoch from '2026-07-11 06:58:06'::timestamp) - extract(epoch from '2026-07-11 06:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053954 -2.804314)'), GeomFromEWKT('SRID=4674;POINT (-40.053947 -2.804317)'))) / (select extract(epoch from '2026-07-11 06:58:06'::timestamp) - extract(epoch from '2026-07-11 06:58: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'), 47627, 'SRID=4674;POINT (-40.053902 -2.804315)', '2026-07-11 06:58:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053947 -2.804317)'), GeomFromEWKT('SRID=4674;POINT (-40.053902 -2.804315)'))) / (select extract(epoch from '2026-07-11 06:58:11'::timestamp) - extract(epoch from '2026-07-11 06:58:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053947 -2.804317)'), GeomFromEWKT('SRID=4674;POINT (-40.053902 -2.804315)'))) / (select extract(epoch from '2026-07-11 06:58:11'::timestamp) - extract(epoch from '2026-07-11 06:58:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053896 -2.804308)', '2026-07-11 06:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053902 -2.804315)'), GeomFromEWKT('SRID=4674;POINT (-40.053896 -2.804308)'))) / (select extract(epoch from '2026-07-11 06:58:12'::timestamp) - extract(epoch from '2026-07-11 06:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053902 -2.804315)'), GeomFromEWKT('SRID=4674;POINT (-40.053896 -2.804308)'))) / (select extract(epoch from '2026-07-11 06:58:12'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.053864 -2.804238)', '2026-07-11 06:58:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053896 -2.804308)'), GeomFromEWKT('SRID=4674;POINT (-40.053864 -2.804238)'))) / (select extract(epoch from '2026-07-11 06:58:19'::timestamp) - extract(epoch from '2026-07-11 06:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053896 -2.804308)'), GeomFromEWKT('SRID=4674;POINT (-40.053864 -2.804238)'))) / (select extract(epoch from '2026-07-11 06:58:19'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.053849 -2.804101)', '2026-07-11 06:58:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053864 -2.804238)'), GeomFromEWKT('SRID=4674;POINT (-40.053849 -2.804101)'))) / (select extract(epoch from '2026-07-11 06:58:27'::timestamp) - extract(epoch from '2026-07-11 06:58:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053864 -2.804238)'), GeomFromEWKT('SRID=4674;POINT (-40.053849 -2.804101)'))) / (select extract(epoch from '2026-07-11 06:58:27'::timestamp) - extract(epoch from '2026-07-11 06: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'), 47627, 'SRID=4674;POINT (-40.053856 -2.803947)', '2026-07-11 06:58:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053849 -2.804101)'), GeomFromEWKT('SRID=4674;POINT (-40.053856 -2.803947)'))) / (select extract(epoch from '2026-07-11 06:58:35'::timestamp) - extract(epoch from '2026-07-11 06:58:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053849 -2.804101)'), GeomFromEWKT('SRID=4674;POINT (-40.053856 -2.803947)'))) / (select extract(epoch from '2026-07-11 06:58:35'::timestamp) - extract(epoch from '2026-07-11 06:58: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'), 47627, 'SRID=4674;POINT (-40.05389 -2.803768)', '2026-07-11 06:58:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053856 -2.803947)'), GeomFromEWKT('SRID=4674;POINT (-40.05389 -2.803768)'))) / (select extract(epoch from '2026-07-11 06:58:44'::timestamp) - extract(epoch from '2026-07-11 06:58:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053856 -2.803947)'), GeomFromEWKT('SRID=4674;POINT (-40.05389 -2.803768)'))) / (select extract(epoch from '2026-07-11 06:58:44'::timestamp) - extract(epoch from '2026-07-11 06:58: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'), 47627, 'SRID=4674;POINT (-40.053915 -2.803633)', '2026-07-11 06:58:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05389 -2.803768)'), GeomFromEWKT('SRID=4674;POINT (-40.053915 -2.803633)'))) / (select extract(epoch from '2026-07-11 06:58:51'::timestamp) - extract(epoch from '2026-07-11 06:58:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05389 -2.803768)'), GeomFromEWKT('SRID=4674;POINT (-40.053915 -2.803633)'))) / (select extract(epoch from '2026-07-11 06:58:51'::timestamp) - extract(epoch from '2026-07-11 06:58:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053927 -2.803477)', '2026-07-11 06:58:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053915 -2.803633)'), GeomFromEWKT('SRID=4674;POINT (-40.053927 -2.803477)'))) / (select extract(epoch from '2026-07-11 06:58:59'::timestamp) - extract(epoch from '2026-07-11 06:58:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053915 -2.803633)'), GeomFromEWKT('SRID=4674;POINT (-40.053927 -2.803477)'))) / (select extract(epoch from '2026-07-11 06:58:59'::timestamp) - extract(epoch from '2026-07-11 06:58:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053914 -2.803336)', '2026-07-11 06:59:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053927 -2.803477)'), GeomFromEWKT('SRID=4674;POINT (-40.053914 -2.803336)'))) / (select extract(epoch from '2026-07-11 06:59:07'::timestamp) - extract(epoch from '2026-07-11 06:58:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053927 -2.803477)'), GeomFromEWKT('SRID=4674;POINT (-40.053914 -2.803336)'))) / (select extract(epoch from '2026-07-11 06:59:07'::timestamp) - extract(epoch from '2026-07-11 06:58: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'), 47627, 'SRID=4674;POINT (-40.053882 -2.803204)', '2026-07-11 06:59:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053914 -2.803336)'), GeomFromEWKT('SRID=4674;POINT (-40.053882 -2.803204)'))) / (select extract(epoch from '2026-07-11 06:59:15'::timestamp) - extract(epoch from '2026-07-11 06:59:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053914 -2.803336)'), GeomFromEWKT('SRID=4674;POINT (-40.053882 -2.803204)'))) / (select extract(epoch from '2026-07-11 06:59:15'::timestamp) - extract(epoch from '2026-07-11 06:59: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'), 47627, 'SRID=4674;POINT (-40.053847 -2.803086)', '2026-07-11 06:59:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053882 -2.803204)'), GeomFromEWKT('SRID=4674;POINT (-40.053847 -2.803086)'))) / (select extract(epoch from '2026-07-11 06:59:22'::timestamp) - extract(epoch from '2026-07-11 06:59:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053882 -2.803204)'), GeomFromEWKT('SRID=4674;POINT (-40.053847 -2.803086)'))) / (select extract(epoch from '2026-07-11 06:59:22'::timestamp) - extract(epoch from '2026-07-11 06:59: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'), 47627, 'SRID=4674;POINT (-40.053844 -2.803073)', '2026-07-11 06:59:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053847 -2.803086)'), GeomFromEWKT('SRID=4674;POINT (-40.053844 -2.803073)'))) / (select extract(epoch from '2026-07-11 06:59:23'::timestamp) - extract(epoch from '2026-07-11 06:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053847 -2.803086)'), GeomFromEWKT('SRID=4674;POINT (-40.053844 -2.803073)'))) / (select extract(epoch from '2026-07-11 06:59:23'::timestamp) - extract(epoch from '2026-07-11 06:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053832 -2.803037)', '2026-07-11 06:59:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053844 -2.803073)'), GeomFromEWKT('SRID=4674;POINT (-40.053832 -2.803037)'))) / (select extract(epoch from '2026-07-11 06:59:27'::timestamp) - extract(epoch from '2026-07-11 06:59:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053844 -2.803073)'), GeomFromEWKT('SRID=4674;POINT (-40.053832 -2.803037)'))) / (select extract(epoch from '2026-07-11 06:59:27'::timestamp) - extract(epoch from '2026-07-11 06:59:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05383 -2.802972)', '2026-07-11 06:59:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053832 -2.803037)'), GeomFromEWKT('SRID=4674;POINT (-40.05383 -2.802972)'))) / (select extract(epoch from '2026-07-11 06:59:36'::timestamp) - extract(epoch from '2026-07-11 06:59:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053832 -2.803037)'), GeomFromEWKT('SRID=4674;POINT (-40.05383 -2.802972)'))) / (select extract(epoch from '2026-07-11 06:59:36'::timestamp) - extract(epoch from '2026-07-11 06:59:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05389 -2.802922)', '2026-07-11 06:59:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05383 -2.802972)'), GeomFromEWKT('SRID=4674;POINT (-40.05389 -2.802922)'))) / (select extract(epoch from '2026-07-11 06:59:52'::timestamp) - extract(epoch from '2026-07-11 06:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05383 -2.802972)'), GeomFromEWKT('SRID=4674;POINT (-40.05389 -2.802922)'))) / (select extract(epoch from '2026-07-11 06:59:52'::timestamp) - extract(epoch from '2026-07-11 06:59: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'), 47627, 'SRID=4674;POINT (-40.053915 -2.802941)', '2026-07-11 07:00:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05389 -2.802922)'), GeomFromEWKT('SRID=4674;POINT (-40.053915 -2.802941)'))) / (select extract(epoch from '2026-07-11 07:00:07'::timestamp) - extract(epoch from '2026-07-11 06:59:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05389 -2.802922)'), GeomFromEWKT('SRID=4674;POINT (-40.053915 -2.802941)'))) / (select extract(epoch from '2026-07-11 07:00:07'::timestamp) - extract(epoch from '2026-07-11 06:59: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'), 47627, 'SRID=4674;POINT (-40.053927 -2.802961)', '2026-07-11 07:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053915 -2.802941)'), GeomFromEWKT('SRID=4674;POINT (-40.053927 -2.802961)'))) / (select extract(epoch from '2026-07-11 07:00:21'::timestamp) - extract(epoch from '2026-07-11 07:00:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053915 -2.802941)'), GeomFromEWKT('SRID=4674;POINT (-40.053927 -2.802961)'))) / (select extract(epoch from '2026-07-11 07:00:21'::timestamp) - extract(epoch from '2026-07-11 07:00: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'), 47627, 'SRID=4674;POINT (-40.053921 -2.802946)', '2026-07-11 07:00:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053927 -2.802961)'), GeomFromEWKT('SRID=4674;POINT (-40.053921 -2.802946)'))) / (select extract(epoch from '2026-07-11 07:00:32'::timestamp) - extract(epoch from '2026-07-11 07:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053927 -2.802961)'), GeomFromEWKT('SRID=4674;POINT (-40.053921 -2.802946)'))) / (select extract(epoch from '2026-07-11 07:00:32'::timestamp) - extract(epoch from '2026-07-11 07:00: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'), 47627, 'SRID=4674;POINT (-40.053913 -2.802928)', '2026-07-11 07:00:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053921 -2.802946)'), GeomFromEWKT('SRID=4674;POINT (-40.053913 -2.802928)'))) / (select extract(epoch from '2026-07-11 07:00:38'::timestamp) - extract(epoch from '2026-07-11 07:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053921 -2.802946)'), GeomFromEWKT('SRID=4674;POINT (-40.053913 -2.802928)'))) / (select extract(epoch from '2026-07-11 07:00:38'::timestamp) - extract(epoch from '2026-07-11 07:00: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'), 47627, 'SRID=4674;POINT (-40.053921 -2.802922)', '2026-07-11 07:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053913 -2.802928)'), GeomFromEWKT('SRID=4674;POINT (-40.053921 -2.802922)'))) / (select extract(epoch from '2026-07-11 07:00:44'::timestamp) - extract(epoch from '2026-07-11 07:00:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053913 -2.802928)'), GeomFromEWKT('SRID=4674;POINT (-40.053921 -2.802922)'))) / (select extract(epoch from '2026-07-11 07:00:44'::timestamp) - extract(epoch from '2026-07-11 07:00: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'), 47627, 'SRID=4674;POINT (-40.053933 -2.802951)', '2026-07-11 07:00:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053921 -2.802922)'), GeomFromEWKT('SRID=4674;POINT (-40.053933 -2.802951)'))) / (select extract(epoch from '2026-07-11 07:00:53'::timestamp) - extract(epoch from '2026-07-11 07:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053921 -2.802922)'), GeomFromEWKT('SRID=4674;POINT (-40.053933 -2.802951)'))) / (select extract(epoch from '2026-07-11 07:00:53'::timestamp) - extract(epoch from '2026-07-11 07:00:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053941 -2.802955)', '2026-07-11 07:00:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053933 -2.802951)'), GeomFromEWKT('SRID=4674;POINT (-40.053941 -2.802955)'))) / (select extract(epoch from '2026-07-11 07:00:58'::timestamp) - extract(epoch from '2026-07-11 07:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053933 -2.802951)'), GeomFromEWKT('SRID=4674;POINT (-40.053941 -2.802955)'))) / (select extract(epoch from '2026-07-11 07:00:58'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053937 -2.802966)', '2026-07-11 07:01:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053941 -2.802955)'), GeomFromEWKT('SRID=4674;POINT (-40.053937 -2.802966)'))) / (select extract(epoch from '2026-07-11 07:01:15'::timestamp) - extract(epoch from '2026-07-11 07:00:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053941 -2.802955)'), GeomFromEWKT('SRID=4674;POINT (-40.053937 -2.802966)'))) / (select extract(epoch from '2026-07-11 07:01:15'::timestamp) - extract(epoch from '2026-07-11 07:00:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053905 -2.802977)', '2026-07-11 07:01:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053937 -2.802966)'), GeomFromEWKT('SRID=4674;POINT (-40.053905 -2.802977)'))) / (select extract(epoch from '2026-07-11 07:01:30'::timestamp) - extract(epoch from '2026-07-11 07:01:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053937 -2.802966)'), GeomFromEWKT('SRID=4674;POINT (-40.053905 -2.802977)'))) / (select extract(epoch from '2026-07-11 07:01:30'::timestamp) - extract(epoch from '2026-07-11 07:01:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053837 -2.802978)', '2026-07-11 07:01:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053905 -2.802977)'), GeomFromEWKT('SRID=4674;POINT (-40.053837 -2.802978)'))) / (select extract(epoch from '2026-07-11 07:01:40'::timestamp) - extract(epoch from '2026-07-11 07:01:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053905 -2.802977)'), GeomFromEWKT('SRID=4674;POINT (-40.053837 -2.802978)'))) / (select extract(epoch from '2026-07-11 07:01:40'::timestamp) - extract(epoch from '2026-07-11 07:01:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053804 -2.802997)', '2026-07-11 07:01:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053837 -2.802978)'), GeomFromEWKT('SRID=4674;POINT (-40.053804 -2.802997)'))) / (select extract(epoch from '2026-07-11 07:01:46'::timestamp) - extract(epoch from '2026-07-11 07:01:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053837 -2.802978)'), GeomFromEWKT('SRID=4674;POINT (-40.053804 -2.802997)'))) / (select extract(epoch from '2026-07-11 07:01:46'::timestamp) - extract(epoch from '2026-07-11 07:01: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'), 47627, 'SRID=4674;POINT (-40.053763 -2.803038)', '2026-07-11 07:01:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053804 -2.802997)'), GeomFromEWKT('SRID=4674;POINT (-40.053763 -2.803038)'))) / (select extract(epoch from '2026-07-11 07:01:57'::timestamp) - extract(epoch from '2026-07-11 07:01:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053804 -2.802997)'), GeomFromEWKT('SRID=4674;POINT (-40.053763 -2.803038)'))) / (select extract(epoch from '2026-07-11 07:01:57'::timestamp) - extract(epoch from '2026-07-11 07:01: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'), 47627, 'SRID=4674;POINT (-40.053728 -2.802999)', '2026-07-11 07:02:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053763 -2.803038)'), GeomFromEWKT('SRID=4674;POINT (-40.053728 -2.802999)'))) / (select extract(epoch from '2026-07-11 07:02:06'::timestamp) - extract(epoch from '2026-07-11 07:01:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053763 -2.803038)'), GeomFromEWKT('SRID=4674;POINT (-40.053728 -2.802999)'))) / (select extract(epoch from '2026-07-11 07:02:06'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053705 -2.802885)', '2026-07-11 07:02:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053728 -2.802999)'), GeomFromEWKT('SRID=4674;POINT (-40.053705 -2.802885)'))) / (select extract(epoch from '2026-07-11 07:02:14'::timestamp) - extract(epoch from '2026-07-11 07:02:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053728 -2.802999)'), GeomFromEWKT('SRID=4674;POINT (-40.053705 -2.802885)'))) / (select extract(epoch from '2026-07-11 07:02:14'::timestamp) - extract(epoch from '2026-07-11 07:02: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'), 47627, 'SRID=4674;POINT (-40.053699 -2.802778)', '2026-07-11 07:02:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053705 -2.802885)'), GeomFromEWKT('SRID=4674;POINT (-40.053699 -2.802778)'))) / (select extract(epoch from '2026-07-11 07:02:20'::timestamp) - extract(epoch from '2026-07-11 07:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053705 -2.802885)'), GeomFromEWKT('SRID=4674;POINT (-40.053699 -2.802778)'))) / (select extract(epoch from '2026-07-11 07:02:20'::timestamp) - extract(epoch from '2026-07-11 07:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053695 -2.802641)', '2026-07-11 07:02:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053699 -2.802778)'), GeomFromEWKT('SRID=4674;POINT (-40.053695 -2.802641)'))) / (select extract(epoch from '2026-07-11 07:02:27'::timestamp) - extract(epoch from '2026-07-11 07:02:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053699 -2.802778)'), GeomFromEWKT('SRID=4674;POINT (-40.053695 -2.802641)'))) / (select extract(epoch from '2026-07-11 07:02:27'::timestamp) - extract(epoch from '2026-07-11 07:02:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053696 -2.802622)', '2026-07-11 07:02:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053695 -2.802641)'), GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.802622)'))) / (select extract(epoch from '2026-07-11 07:02:28'::timestamp) - extract(epoch from '2026-07-11 07:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053695 -2.802641)'), GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.802622)'))) / (select extract(epoch from '2026-07-11 07:02:28'::timestamp) - extract(epoch from '2026-07-11 07:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053701 -2.802544)', '2026-07-11 07:02:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.802622)'), GeomFromEWKT('SRID=4674;POINT (-40.053701 -2.802544)'))) / (select extract(epoch from '2026-07-11 07:02:32'::timestamp) - extract(epoch from '2026-07-11 07:02:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.802622)'), GeomFromEWKT('SRID=4674;POINT (-40.053701 -2.802544)'))) / (select extract(epoch from '2026-07-11 07:02:32'::timestamp) - extract(epoch from '2026-07-11 07:02: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'), 47627, 'SRID=4674;POINT (-40.053696 -2.80241)', '2026-07-11 07:02:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053701 -2.802544)'), GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.80241)'))) / (select extract(epoch from '2026-07-11 07:02:39'::timestamp) - extract(epoch from '2026-07-11 07:02:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053701 -2.802544)'), GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.80241)'))) / (select extract(epoch from '2026-07-11 07:02:39'::timestamp) - extract(epoch from '2026-07-11 07:02:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053706 -2.80226)', '2026-07-11 07:02:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.80241)'), GeomFromEWKT('SRID=4674;POINT (-40.053706 -2.80226)'))) / (select extract(epoch from '2026-07-11 07:02:47'::timestamp) - extract(epoch from '2026-07-11 07:02:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053696 -2.80241)'), GeomFromEWKT('SRID=4674;POINT (-40.053706 -2.80226)'))) / (select extract(epoch from '2026-07-11 07:02:47'::timestamp) - extract(epoch from '2026-07-11 07:02: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'), 47627, 'SRID=4674;POINT (-40.053713 -2.802131)', '2026-07-11 07:02:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053706 -2.80226)'), GeomFromEWKT('SRID=4674;POINT (-40.053713 -2.802131)'))) / (select extract(epoch from '2026-07-11 07:02:54'::timestamp) - extract(epoch from '2026-07-11 07:02:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053706 -2.80226)'), GeomFromEWKT('SRID=4674;POINT (-40.053713 -2.802131)'))) / (select extract(epoch from '2026-07-11 07:02:54'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053716 -2.80202)', '2026-07-11 07:03:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053713 -2.802131)'), GeomFromEWKT('SRID=4674;POINT (-40.053716 -2.80202)'))) / (select extract(epoch from '2026-07-11 07:03:00'::timestamp) - extract(epoch from '2026-07-11 07:02:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053713 -2.802131)'), GeomFromEWKT('SRID=4674;POINT (-40.053716 -2.80202)'))) / (select extract(epoch from '2026-07-11 07:03:00'::timestamp) - extract(epoch from '2026-07-11 07:02:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053711 -2.801932)', '2026-07-11 07:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053716 -2.80202)'), GeomFromEWKT('SRID=4674;POINT (-40.053711 -2.801932)'))) / (select extract(epoch from '2026-07-11 07:03:05'::timestamp) - extract(epoch from '2026-07-11 07:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053716 -2.80202)'), GeomFromEWKT('SRID=4674;POINT (-40.053711 -2.801932)'))) / (select extract(epoch from '2026-07-11 07:03:05'::timestamp) - extract(epoch from '2026-07-11 07:03: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'), 47627, 'SRID=4674;POINT (-40.053713 -2.801822)', '2026-07-11 07:03:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053711 -2.801932)'), GeomFromEWKT('SRID=4674;POINT (-40.053713 -2.801822)'))) / (select extract(epoch from '2026-07-11 07:03:11'::timestamp) - extract(epoch from '2026-07-11 07:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053711 -2.801932)'), GeomFromEWKT('SRID=4674;POINT (-40.053713 -2.801822)'))) / (select extract(epoch from '2026-07-11 07:03:11'::timestamp) - extract(epoch from '2026-07-11 07:03: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'), 47627, 'SRID=4674;POINT (-40.053703 -2.801723)', '2026-07-11 07:03:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053713 -2.801822)'), GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.801723)'))) / (select extract(epoch from '2026-07-11 07:03:17'::timestamp) - extract(epoch from '2026-07-11 07:03:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053713 -2.801822)'), GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.801723)'))) / (select extract(epoch from '2026-07-11 07:03:17'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.05369 -2.801594)', '2026-07-11 07:03:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.801723)'), GeomFromEWKT('SRID=4674;POINT (-40.05369 -2.801594)'))) / (select extract(epoch from '2026-07-11 07:03:25'::timestamp) - extract(epoch from '2026-07-11 07:03:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053703 -2.801723)'), GeomFromEWKT('SRID=4674;POINT (-40.05369 -2.801594)'))) / (select extract(epoch from '2026-07-11 07:03:25'::timestamp) - extract(epoch from '2026-07-11 07:03: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'), 47627, 'SRID=4674;POINT (-40.053684 -2.80155)', '2026-07-11 07:03:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05369 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.053684 -2.80155)'))) / (select extract(epoch from '2026-07-11 07:03:29'::timestamp) - extract(epoch from '2026-07-11 07:03:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05369 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.053684 -2.80155)'))) / (select extract(epoch from '2026-07-11 07:03:29'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053682 -2.801521)', '2026-07-11 07:03:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053684 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.053682 -2.801521)'))) / (select extract(epoch from '2026-07-11 07:03:32'::timestamp) - extract(epoch from '2026-07-11 07:03:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053684 -2.80155)'), GeomFromEWKT('SRID=4674;POINT (-40.053682 -2.801521)'))) / (select extract(epoch from '2026-07-11 07:03:32'::timestamp) - extract(epoch from '2026-07-11 07:03:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053707 -2.801467)', '2026-07-11 07:03:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053682 -2.801521)'), GeomFromEWKT('SRID=4674;POINT (-40.053707 -2.801467)'))) / (select extract(epoch from '2026-07-11 07:03:42'::timestamp) - extract(epoch from '2026-07-11 07:03:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053682 -2.801521)'), GeomFromEWKT('SRID=4674;POINT (-40.053707 -2.801467)'))) / (select extract(epoch from '2026-07-11 07:03:42'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.05379 -2.801435)', '2026-07-11 07:04:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053707 -2.801467)'), GeomFromEWKT('SRID=4674;POINT (-40.05379 -2.801435)'))) / (select extract(epoch from '2026-07-11 07:04:02'::timestamp) - extract(epoch from '2026-07-11 07:03:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053707 -2.801467)'), GeomFromEWKT('SRID=4674;POINT (-40.05379 -2.801435)'))) / (select extract(epoch from '2026-07-11 07:04:02'::timestamp) - extract(epoch from '2026-07-11 07:03: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'), 47627, 'SRID=4674;POINT (-40.053797 -2.801441)', '2026-07-11 07:04:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05379 -2.801435)'), GeomFromEWKT('SRID=4674;POINT (-40.053797 -2.801441)'))) / (select extract(epoch from '2026-07-11 07:04:16'::timestamp) - extract(epoch from '2026-07-11 07:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05379 -2.801435)'), GeomFromEWKT('SRID=4674;POINT (-40.053797 -2.801441)'))) / (select extract(epoch from '2026-07-11 07:04:16'::timestamp) - extract(epoch from '2026-07-11 07:04: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'), 47627, 'SRID=4674;POINT (-40.053801 -2.801454)', '2026-07-11 07:04:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053797 -2.801441)'), GeomFromEWKT('SRID=4674;POINT (-40.053801 -2.801454)'))) / (select extract(epoch from '2026-07-11 07:04:45'::timestamp) - extract(epoch from '2026-07-11 07:04:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053797 -2.801441)'), GeomFromEWKT('SRID=4674;POINT (-40.053801 -2.801454)'))) / (select extract(epoch from '2026-07-11 07:04:45'::timestamp) - extract(epoch from '2026-07-11 07:04: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'), 47627, 'SRID=4674;POINT (-40.053802 -2.801465)', '2026-07-11 07:05:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053801 -2.801454)'), GeomFromEWKT('SRID=4674;POINT (-40.053802 -2.801465)'))) / (select extract(epoch from '2026-07-11 07:05:32'::timestamp) - extract(epoch from '2026-07-11 07:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053801 -2.801454)'), GeomFromEWKT('SRID=4674;POINT (-40.053802 -2.801465)'))) / (select extract(epoch from '2026-07-11 07:05:32'::timestamp) - extract(epoch from '2026-07-11 07:04: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'), 47627, 'SRID=4674;POINT (-40.053801 -2.801448)', '2026-07-11 07:05:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053802 -2.801465)'), GeomFromEWKT('SRID=4674;POINT (-40.053801 -2.801448)'))) / (select extract(epoch from '2026-07-11 07:05:43'::timestamp) - extract(epoch from '2026-07-11 07:05:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053802 -2.801465)'), GeomFromEWKT('SRID=4674;POINT (-40.053801 -2.801448)'))) / (select extract(epoch from '2026-07-11 07:05:43'::timestamp) - extract(epoch from '2026-07-11 07:05:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053808 -2.801459)', '2026-07-11 07:05:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053801 -2.801448)'), GeomFromEWKT('SRID=4674;POINT (-40.053808 -2.801459)'))) / (select extract(epoch from '2026-07-11 07:05:51'::timestamp) - extract(epoch from '2026-07-11 07:05:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053801 -2.801448)'), GeomFromEWKT('SRID=4674;POINT (-40.053808 -2.801459)'))) / (select extract(epoch from '2026-07-11 07:05:51'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053806 -2.801462)', '2026-07-11 07:06:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053808 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.053806 -2.801462)'))) / (select extract(epoch from '2026-07-11 07:06:08'::timestamp) - extract(epoch from '2026-07-11 07:05:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053808 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.053806 -2.801462)'))) / (select extract(epoch from '2026-07-11 07:06:08'::timestamp) - extract(epoch from '2026-07-11 07:05: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'), 47627, 'SRID=4674;POINT (-40.0538 -2.801459)', '2026-07-11 07:06:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053806 -2.801462)'), GeomFromEWKT('SRID=4674;POINT (-40.0538 -2.801459)'))) / (select extract(epoch from '2026-07-11 07:06:25'::timestamp) - extract(epoch from '2026-07-11 07:06:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053806 -2.801462)'), GeomFromEWKT('SRID=4674;POINT (-40.0538 -2.801459)'))) / (select extract(epoch from '2026-07-11 07:06:25'::timestamp) - extract(epoch from '2026-07-11 07:06: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'), 47627, 'SRID=4674;POINT (-40.053765 -2.801458)', '2026-07-11 07:06:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0538 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.053765 -2.801458)'))) / (select extract(epoch from '2026-07-11 07:06:34'::timestamp) - extract(epoch from '2026-07-11 07:06:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0538 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.053765 -2.801458)'))) / (select extract(epoch from '2026-07-11 07:06:34'::timestamp) - extract(epoch from '2026-07-11 07:06:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053724 -2.801477)', '2026-07-11 07:06:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053765 -2.801458)'), GeomFromEWKT('SRID=4674;POINT (-40.053724 -2.801477)'))) / (select extract(epoch from '2026-07-11 07:06:45'::timestamp) - extract(epoch from '2026-07-11 07:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053765 -2.801458)'), GeomFromEWKT('SRID=4674;POINT (-40.053724 -2.801477)'))) / (select extract(epoch from '2026-07-11 07:06:45'::timestamp) - extract(epoch from '2026-07-11 07:06: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'), 47627, 'SRID=4674;POINT (-40.05368 -2.801513)', '2026-07-11 07:06:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053724 -2.801477)'), GeomFromEWKT('SRID=4674;POINT (-40.05368 -2.801513)'))) / (select extract(epoch from '2026-07-11 07:06:54'::timestamp) - extract(epoch from '2026-07-11 07:06:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053724 -2.801477)'), GeomFromEWKT('SRID=4674;POINT (-40.05368 -2.801513)'))) / (select extract(epoch from '2026-07-11 07:06:54'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053664 -2.801505)', '2026-07-11 07:07:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05368 -2.801513)'), GeomFromEWKT('SRID=4674;POINT (-40.053664 -2.801505)'))) / (select extract(epoch from '2026-07-11 07:07:04'::timestamp) - extract(epoch from '2026-07-11 07:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05368 -2.801513)'), GeomFromEWKT('SRID=4674;POINT (-40.053664 -2.801505)'))) / (select extract(epoch from '2026-07-11 07:07:04'::timestamp) - extract(epoch from '2026-07-11 07:06: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'), 47627, 'SRID=4674;POINT (-40.053635 -2.801459)', '2026-07-11 07:07:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053664 -2.801505)'), GeomFromEWKT('SRID=4674;POINT (-40.053635 -2.801459)'))) / (select extract(epoch from '2026-07-11 07:07:13'::timestamp) - extract(epoch from '2026-07-11 07:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053664 -2.801505)'), GeomFromEWKT('SRID=4674;POINT (-40.053635 -2.801459)'))) / (select extract(epoch from '2026-07-11 07:07:13'::timestamp) - extract(epoch from '2026-07-11 07:07: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'), 47627, 'SRID=4674;POINT (-40.053593 -2.801371)', '2026-07-11 07:07:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053635 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.053593 -2.801371)'))) / (select extract(epoch from '2026-07-11 07:07:21'::timestamp) - extract(epoch from '2026-07-11 07:07:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053635 -2.801459)'), GeomFromEWKT('SRID=4674;POINT (-40.053593 -2.801371)'))) / (select extract(epoch from '2026-07-11 07:07:21'::timestamp) - extract(epoch from '2026-07-11 07:07: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'), 47627, 'SRID=4674;POINT (-40.053572 -2.801267)', '2026-07-11 07:07:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053593 -2.801371)'), GeomFromEWKT('SRID=4674;POINT (-40.053572 -2.801267)'))) / (select extract(epoch from '2026-07-11 07:07:28'::timestamp) - extract(epoch from '2026-07-11 07:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053593 -2.801371)'), GeomFromEWKT('SRID=4674;POINT (-40.053572 -2.801267)'))) / (select extract(epoch from '2026-07-11 07:07:28'::timestamp) - extract(epoch from '2026-07-11 07:07: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'), 47627, 'SRID=4674;POINT (-40.053563 -2.801182)', '2026-07-11 07:07:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053572 -2.801267)'), GeomFromEWKT('SRID=4674;POINT (-40.053563 -2.801182)'))) / (select extract(epoch from '2026-07-11 07:07:33'::timestamp) - extract(epoch from '2026-07-11 07:07:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053572 -2.801267)'), GeomFromEWKT('SRID=4674;POINT (-40.053563 -2.801182)'))) / (select extract(epoch from '2026-07-11 07:07:33'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053556 -2.801041)', '2026-07-11 07:07:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053563 -2.801182)'), GeomFromEWKT('SRID=4674;POINT (-40.053556 -2.801041)'))) / (select extract(epoch from '2026-07-11 07:07:41'::timestamp) - extract(epoch from '2026-07-11 07:07:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053563 -2.801182)'), GeomFromEWKT('SRID=4674;POINT (-40.053556 -2.801041)'))) / (select extract(epoch from '2026-07-11 07:07:41'::timestamp) - extract(epoch from '2026-07-11 07:07:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05355 -2.800955)', '2026-07-11 07:07:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053556 -2.801041)'), GeomFromEWKT('SRID=4674;POINT (-40.05355 -2.800955)'))) / (select extract(epoch from '2026-07-11 07:07:47'::timestamp) - extract(epoch from '2026-07-11 07:07:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053556 -2.801041)'), GeomFromEWKT('SRID=4674;POINT (-40.05355 -2.800955)'))) / (select extract(epoch from '2026-07-11 07:07:47'::timestamp) - extract(epoch from '2026-07-11 07:07:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053542 -2.800863)', '2026-07-11 07:07:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05355 -2.800955)'), GeomFromEWKT('SRID=4674;POINT (-40.053542 -2.800863)'))) / (select extract(epoch from '2026-07-11 07:07:53'::timestamp) - extract(epoch from '2026-07-11 07:07:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05355 -2.800955)'), GeomFromEWKT('SRID=4674;POINT (-40.053542 -2.800863)'))) / (select extract(epoch from '2026-07-11 07:07:53'::timestamp) - extract(epoch from '2026-07-11 07:07:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053522 -2.800741)', '2026-07-11 07:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053542 -2.800863)'), GeomFromEWKT('SRID=4674;POINT (-40.053522 -2.800741)'))) / (select extract(epoch from '2026-07-11 07:08:01'::timestamp) - extract(epoch from '2026-07-11 07:07:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053542 -2.800863)'), GeomFromEWKT('SRID=4674;POINT (-40.053522 -2.800741)'))) / (select extract(epoch from '2026-07-11 07:08:01'::timestamp) - extract(epoch from '2026-07-11 07:07: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'), 47627, 'SRID=4674;POINT (-40.053507 -2.800638)', '2026-07-11 07:08:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053522 -2.800741)'), GeomFromEWKT('SRID=4674;POINT (-40.053507 -2.800638)'))) / (select extract(epoch from '2026-07-11 07:08:08'::timestamp) - extract(epoch from '2026-07-11 07:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053522 -2.800741)'), GeomFromEWKT('SRID=4674;POINT (-40.053507 -2.800638)'))) / (select extract(epoch from '2026-07-11 07:08:08'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053499 -2.800538)', '2026-07-11 07:08:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053507 -2.800638)'), GeomFromEWKT('SRID=4674;POINT (-40.053499 -2.800538)'))) / (select extract(epoch from '2026-07-11 07:08:15'::timestamp) - extract(epoch from '2026-07-11 07:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053507 -2.800638)'), GeomFromEWKT('SRID=4674;POINT (-40.053499 -2.800538)'))) / (select extract(epoch from '2026-07-11 07:08:15'::timestamp) - extract(epoch from '2026-07-11 07:08: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'), 47627, 'SRID=4674;POINT (-40.053485 -2.800424)', '2026-07-11 07:08:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053499 -2.800538)'), GeomFromEWKT('SRID=4674;POINT (-40.053485 -2.800424)'))) / (select extract(epoch from '2026-07-11 07:08:22'::timestamp) - extract(epoch from '2026-07-11 07:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053499 -2.800538)'), GeomFromEWKT('SRID=4674;POINT (-40.053485 -2.800424)'))) / (select extract(epoch from '2026-07-11 07:08:22'::timestamp) - extract(epoch from '2026-07-11 07:08: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'), 47627, 'SRID=4674;POINT (-40.053479 -2.800366)', '2026-07-11 07:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053485 -2.800424)'), GeomFromEWKT('SRID=4674;POINT (-40.053479 -2.800366)'))) / (select extract(epoch from '2026-07-11 07:08:26'::timestamp) - extract(epoch from '2026-07-11 07:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053485 -2.800424)'), GeomFromEWKT('SRID=4674;POINT (-40.053479 -2.800366)'))) / (select extract(epoch from '2026-07-11 07:08:26'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053477 -2.800352)', '2026-07-11 07:08:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053479 -2.800366)'), GeomFromEWKT('SRID=4674;POINT (-40.053477 -2.800352)'))) / (select extract(epoch from '2026-07-11 07:08:27'::timestamp) - extract(epoch from '2026-07-11 07:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053479 -2.800366)'), GeomFromEWKT('SRID=4674;POINT (-40.053477 -2.800352)'))) / (select extract(epoch from '2026-07-11 07:08:27'::timestamp) - extract(epoch from '2026-07-11 07:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053474 -2.800339)', '2026-07-11 07:08:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053477 -2.800352)'), GeomFromEWKT('SRID=4674;POINT (-40.053474 -2.800339)'))) / (select extract(epoch from '2026-07-11 07:08:28'::timestamp) - extract(epoch from '2026-07-11 07:08:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053477 -2.800352)'), GeomFromEWKT('SRID=4674;POINT (-40.053474 -2.800339)'))) / (select extract(epoch from '2026-07-11 07:08:28'::timestamp) - extract(epoch from '2026-07-11 07:08: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'), 47627, 'SRID=4674;POINT (-40.053462 -2.800282)', '2026-07-11 07:08:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053474 -2.800339)'), GeomFromEWKT('SRID=4674;POINT (-40.053462 -2.800282)'))) / (select extract(epoch from '2026-07-11 07:08:32'::timestamp) - extract(epoch from '2026-07-11 07:08:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053474 -2.800339)'), GeomFromEWKT('SRID=4674;POINT (-40.053462 -2.800282)'))) / (select extract(epoch from '2026-07-11 07:08:32'::timestamp) - extract(epoch from '2026-07-11 07:08:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053445 -2.800187)', '2026-07-11 07:08:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053462 -2.800282)'), GeomFromEWKT('SRID=4674;POINT (-40.053445 -2.800187)'))) / (select extract(epoch from '2026-07-11 07:08:40'::timestamp) - extract(epoch from '2026-07-11 07:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053462 -2.800282)'), GeomFromEWKT('SRID=4674;POINT (-40.053445 -2.800187)'))) / (select extract(epoch from '2026-07-11 07:08:40'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.05345 -2.800149)', '2026-07-11 07:08:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053445 -2.800187)'), GeomFromEWKT('SRID=4674;POINT (-40.05345 -2.800149)'))) / (select extract(epoch from '2026-07-11 07:08:47'::timestamp) - extract(epoch from '2026-07-11 07:08:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053445 -2.800187)'), GeomFromEWKT('SRID=4674;POINT (-40.05345 -2.800149)'))) / (select extract(epoch from '2026-07-11 07:08:47'::timestamp) - extract(epoch from '2026-07-11 07:08:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053504 -2.800118)', '2026-07-11 07:08:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05345 -2.800149)'), GeomFromEWKT('SRID=4674;POINT (-40.053504 -2.800118)'))) / (select extract(epoch from '2026-07-11 07:08:59'::timestamp) - extract(epoch from '2026-07-11 07:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05345 -2.800149)'), GeomFromEWKT('SRID=4674;POINT (-40.053504 -2.800118)'))) / (select extract(epoch from '2026-07-11 07:08:59'::timestamp) - extract(epoch from '2026-07-11 07:08: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'), 47627, 'SRID=4674;POINT (-40.053555 -2.80011)', '2026-07-11 07:09:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053504 -2.800118)'), GeomFromEWKT('SRID=4674;POINT (-40.053555 -2.80011)'))) / (select extract(epoch from '2026-07-11 07:09:18'::timestamp) - extract(epoch from '2026-07-11 07:08:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053504 -2.800118)'), GeomFromEWKT('SRID=4674;POINT (-40.053555 -2.80011)'))) / (select extract(epoch from '2026-07-11 07:09:18'::timestamp) - extract(epoch from '2026-07-11 07:08: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'), 47627, 'SRID=4674;POINT (-40.053564 -2.80014)', '2026-07-11 07:09:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053555 -2.80011)'), GeomFromEWKT('SRID=4674;POINT (-40.053564 -2.80014)'))) / (select extract(epoch from '2026-07-11 07:09:33'::timestamp) - extract(epoch from '2026-07-11 07:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053555 -2.80011)'), GeomFromEWKT('SRID=4674;POINT (-40.053564 -2.80014)'))) / (select extract(epoch from '2026-07-11 07:09:33'::timestamp) - extract(epoch from '2026-07-11 07:09: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'), 47627, 'SRID=4674;POINT (-40.053554 -2.80013)', '2026-07-11 07:09:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053564 -2.80014)'), GeomFromEWKT('SRID=4674;POINT (-40.053554 -2.80013)'))) / (select extract(epoch from '2026-07-11 07:09:52'::timestamp) - extract(epoch from '2026-07-11 07:09:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053564 -2.80014)'), GeomFromEWKT('SRID=4674;POINT (-40.053554 -2.80013)'))) / (select extract(epoch from '2026-07-11 07:09:52'::timestamp) - extract(epoch from '2026-07-11 07:09:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053559 -2.800125)', '2026-07-11 07:09:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053554 -2.80013)'), GeomFromEWKT('SRID=4674;POINT (-40.053559 -2.800125)'))) / (select extract(epoch from '2026-07-11 07:09:58'::timestamp) - extract(epoch from '2026-07-11 07:09:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053554 -2.80013)'), GeomFromEWKT('SRID=4674;POINT (-40.053559 -2.800125)'))) / (select extract(epoch from '2026-07-11 07:09:58'::timestamp) - extract(epoch from '2026-07-11 07:09: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'), 47627, 'SRID=4674;POINT (-40.053562 -2.800119)', '2026-07-11 07:10:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053559 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.053562 -2.800119)'))) / (select extract(epoch from '2026-07-11 07:10:05'::timestamp) - extract(epoch from '2026-07-11 07:09:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053559 -2.800125)'), GeomFromEWKT('SRID=4674;POINT (-40.053562 -2.800119)'))) / (select extract(epoch from '2026-07-11 07:10:05'::timestamp) - extract(epoch from '2026-07-11 07:09:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053571 -2.800149)', '2026-07-11 07:10:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053562 -2.800119)'), GeomFromEWKT('SRID=4674;POINT (-40.053571 -2.800149)'))) / (select extract(epoch from '2026-07-11 07:10:18'::timestamp) - extract(epoch from '2026-07-11 07:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053562 -2.800119)'), GeomFromEWKT('SRID=4674;POINT (-40.053571 -2.800149)'))) / (select extract(epoch from '2026-07-11 07:10:18'::timestamp) - extract(epoch from '2026-07-11 07:10: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'), 47627, 'SRID=4674;POINT (-40.053552 -2.800132)', '2026-07-11 07:10:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053571 -2.800149)'), GeomFromEWKT('SRID=4674;POINT (-40.053552 -2.800132)'))) / (select extract(epoch from '2026-07-11 07:10:29'::timestamp) - extract(epoch from '2026-07-11 07:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053571 -2.800149)'), GeomFromEWKT('SRID=4674;POINT (-40.053552 -2.800132)'))) / (select extract(epoch from '2026-07-11 07:10:29'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053484 -2.800101)', '2026-07-11 07:10:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053552 -2.800132)'), GeomFromEWKT('SRID=4674;POINT (-40.053484 -2.800101)'))) / (select extract(epoch from '2026-07-11 07:10:40'::timestamp) - extract(epoch from '2026-07-11 07:10:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053552 -2.800132)'), GeomFromEWKT('SRID=4674;POINT (-40.053484 -2.800101)'))) / (select extract(epoch from '2026-07-11 07:10:40'::timestamp) - extract(epoch from '2026-07-11 07:10: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'), 47627, 'SRID=4674;POINT (-40.053463 -2.800106)', '2026-07-11 07:10:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053484 -2.800101)'), GeomFromEWKT('SRID=4674;POINT (-40.053463 -2.800106)'))) / (select extract(epoch from '2026-07-11 07:10:42'::timestamp) - extract(epoch from '2026-07-11 07:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053484 -2.800101)'), GeomFromEWKT('SRID=4674;POINT (-40.053463 -2.800106)'))) / (select extract(epoch from '2026-07-11 07:10:42'::timestamp) - extract(epoch from '2026-07-11 07:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053442 -2.800124)', '2026-07-11 07:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053463 -2.800106)'), GeomFromEWKT('SRID=4674;POINT (-40.053442 -2.800124)'))) / (select extract(epoch from '2026-07-11 07:10:46'::timestamp) - extract(epoch from '2026-07-11 07:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053463 -2.800106)'), GeomFromEWKT('SRID=4674;POINT (-40.053442 -2.800124)'))) / (select extract(epoch from '2026-07-11 07:10:46'::timestamp) - extract(epoch from '2026-07-11 07:10: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'), 47627, 'SRID=4674;POINT (-40.053384 -2.800176)', '2026-07-11 07:10:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053442 -2.800124)'), GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.800176)'))) / (select extract(epoch from '2026-07-11 07:10:59'::timestamp) - extract(epoch from '2026-07-11 07:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053442 -2.800124)'), GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.800176)'))) / (select extract(epoch from '2026-07-11 07:10:59'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053384 -2.80017)', '2026-07-11 07:11:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.800176)'), GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.80017)'))) / (select extract(epoch from '2026-07-11 07:11:13'::timestamp) - extract(epoch from '2026-07-11 07:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.800176)'), GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.80017)'))) / (select extract(epoch from '2026-07-11 07:11:13'::timestamp) - extract(epoch from '2026-07-11 07:10: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'), 47627, 'SRID=4674;POINT (-40.053375 -2.800126)', '2026-07-11 07:11:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.80017)'), GeomFromEWKT('SRID=4674;POINT (-40.053375 -2.800126)'))) / (select extract(epoch from '2026-07-11 07:11:18'::timestamp) - extract(epoch from '2026-07-11 07:11:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053384 -2.80017)'), GeomFromEWKT('SRID=4674;POINT (-40.053375 -2.800126)'))) / (select extract(epoch from '2026-07-11 07:11:18'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053359 -2.800047)', '2026-07-11 07:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053375 -2.800126)'), GeomFromEWKT('SRID=4674;POINT (-40.053359 -2.800047)'))) / (select extract(epoch from '2026-07-11 07:11:24'::timestamp) - extract(epoch from '2026-07-11 07:11:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053375 -2.800126)'), GeomFromEWKT('SRID=4674;POINT (-40.053359 -2.800047)'))) / (select extract(epoch from '2026-07-11 07:11:24'::timestamp) - extract(epoch from '2026-07-11 07:11: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'), 47627, 'SRID=4674;POINT (-40.053342 -2.799945)', '2026-07-11 07:11:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053359 -2.800047)'), GeomFromEWKT('SRID=4674;POINT (-40.053342 -2.799945)'))) / (select extract(epoch from '2026-07-11 07:11:31'::timestamp) - extract(epoch from '2026-07-11 07:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053359 -2.800047)'), GeomFromEWKT('SRID=4674;POINT (-40.053342 -2.799945)'))) / (select extract(epoch from '2026-07-11 07:11:31'::timestamp) - extract(epoch from '2026-07-11 07:11: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'), 47627, 'SRID=4674;POINT (-40.053331 -2.799809)', '2026-07-11 07:11:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053342 -2.799945)'), GeomFromEWKT('SRID=4674;POINT (-40.053331 -2.799809)'))) / (select extract(epoch from '2026-07-11 07:11:40'::timestamp) - extract(epoch from '2026-07-11 07:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053342 -2.799945)'), GeomFromEWKT('SRID=4674;POINT (-40.053331 -2.799809)'))) / (select extract(epoch from '2026-07-11 07:11:40'::timestamp) - extract(epoch from '2026-07-11 07:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053333 -2.799725)', '2026-07-11 07:11:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053331 -2.799809)'), GeomFromEWKT('SRID=4674;POINT (-40.053333 -2.799725)'))) / (select extract(epoch from '2026-07-11 07:11:45'::timestamp) - extract(epoch from '2026-07-11 07:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053331 -2.799809)'), GeomFromEWKT('SRID=4674;POINT (-40.053333 -2.799725)'))) / (select extract(epoch from '2026-07-11 07:11:45'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053334 -2.799596)', '2026-07-11 07:11:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053333 -2.799725)'), GeomFromEWKT('SRID=4674;POINT (-40.053334 -2.799596)'))) / (select extract(epoch from '2026-07-11 07:11:53'::timestamp) - extract(epoch from '2026-07-11 07:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053333 -2.799725)'), GeomFromEWKT('SRID=4674;POINT (-40.053334 -2.799596)'))) / (select extract(epoch from '2026-07-11 07:11:53'::timestamp) - extract(epoch from '2026-07-11 07:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053299 -2.79944)', '2026-07-11 07:12:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053334 -2.799596)'), GeomFromEWKT('SRID=4674;POINT (-40.053299 -2.79944)'))) / (select extract(epoch from '2026-07-11 07:12:03'::timestamp) - extract(epoch from '2026-07-11 07:11:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053334 -2.799596)'), GeomFromEWKT('SRID=4674;POINT (-40.053299 -2.79944)'))) / (select extract(epoch from '2026-07-11 07:12:03'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053259 -2.799341)', '2026-07-11 07:12:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053299 -2.79944)'), GeomFromEWKT('SRID=4674;POINT (-40.053259 -2.799341)'))) / (select extract(epoch from '2026-07-11 07:12:10'::timestamp) - extract(epoch from '2026-07-11 07:12:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053299 -2.79944)'), GeomFromEWKT('SRID=4674;POINT (-40.053259 -2.799341)'))) / (select extract(epoch from '2026-07-11 07:12:10'::timestamp) - extract(epoch from '2026-07-11 07:12: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'), 47627, 'SRID=4674;POINT (-40.053234 -2.799255)', '2026-07-11 07:12:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053259 -2.799341)'), GeomFromEWKT('SRID=4674;POINT (-40.053234 -2.799255)'))) / (select extract(epoch from '2026-07-11 07:12:16'::timestamp) - extract(epoch from '2026-07-11 07:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053259 -2.799341)'), GeomFromEWKT('SRID=4674;POINT (-40.053234 -2.799255)'))) / (select extract(epoch from '2026-07-11 07:12:16'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053217 -2.799193)', '2026-07-11 07:12:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053234 -2.799255)'), GeomFromEWKT('SRID=4674;POINT (-40.053217 -2.799193)'))) / (select extract(epoch from '2026-07-11 07:12:20'::timestamp) - extract(epoch from '2026-07-11 07:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053234 -2.799255)'), GeomFromEWKT('SRID=4674;POINT (-40.053217 -2.799193)'))) / (select extract(epoch from '2026-07-11 07:12:20'::timestamp) - extract(epoch from '2026-07-11 07:12: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'), 47627, 'SRID=4674;POINT (-40.05321 -2.799164)', '2026-07-11 07:12:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053217 -2.799193)'), GeomFromEWKT('SRID=4674;POINT (-40.05321 -2.799164)'))) / (select extract(epoch from '2026-07-11 07:12:22'::timestamp) - extract(epoch from '2026-07-11 07:12:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053217 -2.799193)'), GeomFromEWKT('SRID=4674;POINT (-40.05321 -2.799164)'))) / (select extract(epoch from '2026-07-11 07:12:22'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053182 -2.799079)', '2026-07-11 07:12:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05321 -2.799164)'), GeomFromEWKT('SRID=4674;POINT (-40.053182 -2.799079)'))) / (select extract(epoch from '2026-07-11 07:12:28'::timestamp) - extract(epoch from '2026-07-11 07:12:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05321 -2.799164)'), GeomFromEWKT('SRID=4674;POINT (-40.053182 -2.799079)'))) / (select extract(epoch from '2026-07-11 07:12:28'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053154 -2.799015)', '2026-07-11 07:12:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053182 -2.799079)'), GeomFromEWKT('SRID=4674;POINT (-40.053154 -2.799015)'))) / (select extract(epoch from '2026-07-11 07:12:34'::timestamp) - extract(epoch from '2026-07-11 07:12:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053182 -2.799079)'), GeomFromEWKT('SRID=4674;POINT (-40.053154 -2.799015)'))) / (select extract(epoch from '2026-07-11 07:12:34'::timestamp) - extract(epoch from '2026-07-11 07:12:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.053126 -2.798935)', '2026-07-11 07:12:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053154 -2.799015)'), GeomFromEWKT('SRID=4674;POINT (-40.053126 -2.798935)'))) / (select extract(epoch from '2026-07-11 07:12:42'::timestamp) - extract(epoch from '2026-07-11 07:12:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053154 -2.799015)'), GeomFromEWKT('SRID=4674;POINT (-40.053126 -2.798935)'))) / (select extract(epoch from '2026-07-11 07:12:42'::timestamp) - extract(epoch from '2026-07-11 07:12: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'), 47627, 'SRID=4674;POINT (-40.053125 -2.798903)', '2026-07-11 07:12:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053126 -2.798935)'), GeomFromEWKT('SRID=4674;POINT (-40.053125 -2.798903)'))) / (select extract(epoch from '2026-07-11 07:12:48'::timestamp) - extract(epoch from '2026-07-11 07:12:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053126 -2.798935)'), GeomFromEWKT('SRID=4674;POINT (-40.053125 -2.798903)'))) / (select extract(epoch from '2026-07-11 07:12:48'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053149 -2.798869)', '2026-07-11 07:12:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053125 -2.798903)'), GeomFromEWKT('SRID=4674;POINT (-40.053149 -2.798869)'))) / (select extract(epoch from '2026-07-11 07:12:56'::timestamp) - extract(epoch from '2026-07-11 07:12:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053125 -2.798903)'), GeomFromEWKT('SRID=4674;POINT (-40.053149 -2.798869)'))) / (select extract(epoch from '2026-07-11 07:12:56'::timestamp) - extract(epoch from '2026-07-11 07:12: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'), 47627, 'SRID=4674;POINT (-40.053184 -2.798853)', '2026-07-11 07:13:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053149 -2.798869)'), GeomFromEWKT('SRID=4674;POINT (-40.053184 -2.798853)'))) / (select extract(epoch from '2026-07-11 07:13:04'::timestamp) - extract(epoch from '2026-07-11 07:12:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053149 -2.798869)'), GeomFromEWKT('SRID=4674;POINT (-40.053184 -2.798853)'))) / (select extract(epoch from '2026-07-11 07:13:04'::timestamp) - extract(epoch from '2026-07-11 07:12: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'), 47627, 'SRID=4674;POINT (-40.053235 -2.798847)', '2026-07-11 07:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053184 -2.798853)'), GeomFromEWKT('SRID=4674;POINT (-40.053235 -2.798847)'))) / (select extract(epoch from '2026-07-11 07:13:16'::timestamp) - extract(epoch from '2026-07-11 07:13:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053184 -2.798853)'), GeomFromEWKT('SRID=4674;POINT (-40.053235 -2.798847)'))) / (select extract(epoch from '2026-07-11 07:13:16'::timestamp) - extract(epoch from '2026-07-11 07:13: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'), 47627, 'SRID=4674;POINT (-40.053248 -2.798876)', '2026-07-11 07:13:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053235 -2.798847)'), GeomFromEWKT('SRID=4674;POINT (-40.053248 -2.798876)'))) / (select extract(epoch from '2026-07-11 07:13:32'::timestamp) - extract(epoch from '2026-07-11 07:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053235 -2.798847)'), GeomFromEWKT('SRID=4674;POINT (-40.053248 -2.798876)'))) / (select extract(epoch from '2026-07-11 07:13:32'::timestamp) - extract(epoch from '2026-07-11 07:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05325 -2.798864)', '2026-07-11 07:13:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053248 -2.798876)'), GeomFromEWKT('SRID=4674;POINT (-40.05325 -2.798864)'))) / (select extract(epoch from '2026-07-11 07:13:49'::timestamp) - extract(epoch from '2026-07-11 07:13:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053248 -2.798876)'), GeomFromEWKT('SRID=4674;POINT (-40.05325 -2.798864)'))) / (select extract(epoch from '2026-07-11 07:13:49'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053243 -2.798862)', '2026-07-11 07:14:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05325 -2.798864)'), GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.798862)'))) / (select extract(epoch from '2026-07-11 07:14:11'::timestamp) - extract(epoch from '2026-07-11 07:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05325 -2.798864)'), GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.798862)'))) / (select extract(epoch from '2026-07-11 07:14:11'::timestamp) - extract(epoch from '2026-07-11 07:13: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'), 47627, 'SRID=4674;POINT (-40.053248 -2.798869)', '2026-07-11 07:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.798862)'), GeomFromEWKT('SRID=4674;POINT (-40.053248 -2.798869)'))) / (select extract(epoch from '2026-07-11 07:14:17'::timestamp) - extract(epoch from '2026-07-11 07:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053243 -2.798862)'), GeomFromEWKT('SRID=4674;POINT (-40.053248 -2.798869)'))) / (select extract(epoch from '2026-07-11 07:14:17'::timestamp) - extract(epoch from '2026-07-11 07:14: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'), 47627, 'SRID=4674;POINT (-40.053246 -2.798875)', '2026-07-11 07:14:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053248 -2.798869)'), GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.798875)'))) / (select extract(epoch from '2026-07-11 07:14:28'::timestamp) - extract(epoch from '2026-07-11 07:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053248 -2.798869)'), GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.798875)'))) / (select extract(epoch from '2026-07-11 07:14:28'::timestamp) - extract(epoch from '2026-07-11 07:14: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'), 47627, 'SRID=4674;POINT (-40.053224 -2.798864)', '2026-07-11 07:14:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.798875)'), GeomFromEWKT('SRID=4674;POINT (-40.053224 -2.798864)'))) / (select extract(epoch from '2026-07-11 07:14:34'::timestamp) - extract(epoch from '2026-07-11 07:14:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.798875)'), GeomFromEWKT('SRID=4674;POINT (-40.053224 -2.798864)'))) / (select extract(epoch from '2026-07-11 07:14:34'::timestamp) - extract(epoch from '2026-07-11 07:14:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05321 -2.798862)', '2026-07-11 07:14:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053224 -2.798864)'), GeomFromEWKT('SRID=4674;POINT (-40.05321 -2.798862)'))) / (select extract(epoch from '2026-07-11 07:14:42'::timestamp) - extract(epoch from '2026-07-11 07:14:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053224 -2.798864)'), GeomFromEWKT('SRID=4674;POINT (-40.05321 -2.798862)'))) / (select extract(epoch from '2026-07-11 07:14:42'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053201 -2.798855)', '2026-07-11 07:14:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05321 -2.798862)'), GeomFromEWKT('SRID=4674;POINT (-40.053201 -2.798855)'))) / (select extract(epoch from '2026-07-11 07:14:49'::timestamp) - extract(epoch from '2026-07-11 07:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05321 -2.798862)'), GeomFromEWKT('SRID=4674;POINT (-40.053201 -2.798855)'))) / (select extract(epoch from '2026-07-11 07:14:49'::timestamp) - extract(epoch from '2026-07-11 07:14: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'), 47627, 'SRID=4674;POINT (-40.053224 -2.798855)', '2026-07-11 07:14:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053201 -2.798855)'), GeomFromEWKT('SRID=4674;POINT (-40.053224 -2.798855)'))) / (select extract(epoch from '2026-07-11 07:14:56'::timestamp) - extract(epoch from '2026-07-11 07:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053201 -2.798855)'), GeomFromEWKT('SRID=4674;POINT (-40.053224 -2.798855)'))) / (select extract(epoch from '2026-07-11 07:14:56'::timestamp) - extract(epoch from '2026-07-11 07:14: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'), 47627, 'SRID=4674;POINT (-40.05325 -2.798861)', '2026-07-11 07:15:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053224 -2.798855)'), GeomFromEWKT('SRID=4674;POINT (-40.05325 -2.798861)'))) / (select extract(epoch from '2026-07-11 07:15:03'::timestamp) - extract(epoch from '2026-07-11 07:14:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053224 -2.798855)'), GeomFromEWKT('SRID=4674;POINT (-40.05325 -2.798861)'))) / (select extract(epoch from '2026-07-11 07:15:03'::timestamp) - extract(epoch from '2026-07-11 07:14: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'), 47627, 'SRID=4674;POINT (-40.053247 -2.798865)', '2026-07-11 07:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05325 -2.798861)'), GeomFromEWKT('SRID=4674;POINT (-40.053247 -2.798865)'))) / (select extract(epoch from '2026-07-11 07:15:19'::timestamp) - extract(epoch from '2026-07-11 07:15:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05325 -2.798861)'), GeomFromEWKT('SRID=4674;POINT (-40.053247 -2.798865)'))) / (select extract(epoch from '2026-07-11 07:15:19'::timestamp) - extract(epoch from '2026-07-11 07:15: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'), 47627, 'SRID=4674;POINT (-40.053246 -2.798878)', '2026-07-11 07:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053247 -2.798865)'), GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.798878)'))) / (select extract(epoch from '2026-07-11 07:15:33'::timestamp) - extract(epoch from '2026-07-11 07:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053247 -2.798865)'), GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.798878)'))) / (select extract(epoch from '2026-07-11 07:15:33'::timestamp) - extract(epoch from '2026-07-11 07:15: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'), 47627, 'SRID=4674;POINT (-40.053204 -2.798902)', '2026-07-11 07:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.798878)'), GeomFromEWKT('SRID=4674;POINT (-40.053204 -2.798902)'))) / (select extract(epoch from '2026-07-11 07:15:45'::timestamp) - extract(epoch from '2026-07-11 07:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053246 -2.798878)'), GeomFromEWKT('SRID=4674;POINT (-40.053204 -2.798902)'))) / (select extract(epoch from '2026-07-11 07:15:45'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.053137 -2.798894)', '2026-07-11 07:15:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053204 -2.798902)'), GeomFromEWKT('SRID=4674;POINT (-40.053137 -2.798894)'))) / (select extract(epoch from '2026-07-11 07:15:54'::timestamp) - extract(epoch from '2026-07-11 07:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053204 -2.798902)'), GeomFromEWKT('SRID=4674;POINT (-40.053137 -2.798894)'))) / (select extract(epoch from '2026-07-11 07:15:54'::timestamp) - extract(epoch from '2026-07-11 07:15: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'), 47627, 'SRID=4674;POINT (-40.053112 -2.798909)', '2026-07-11 07:16:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053137 -2.798894)'), GeomFromEWKT('SRID=4674;POINT (-40.053112 -2.798909)'))) / (select extract(epoch from '2026-07-11 07:16:05'::timestamp) - extract(epoch from '2026-07-11 07:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053137 -2.798894)'), GeomFromEWKT('SRID=4674;POINT (-40.053112 -2.798909)'))) / (select extract(epoch from '2026-07-11 07:16:05'::timestamp) - extract(epoch from '2026-07-11 07:15: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'), 47627, 'SRID=4674;POINT (-40.053105 -2.798876)', '2026-07-11 07:16:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053112 -2.798909)'), GeomFromEWKT('SRID=4674;POINT (-40.053105 -2.798876)'))) / (select extract(epoch from '2026-07-11 07:16:15'::timestamp) - extract(epoch from '2026-07-11 07:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053112 -2.798909)'), GeomFromEWKT('SRID=4674;POINT (-40.053105 -2.798876)'))) / (select extract(epoch from '2026-07-11 07:16:15'::timestamp) - extract(epoch from '2026-07-11 07:16: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'), 47627, 'SRID=4674;POINT (-40.053105 -2.798866)', '2026-07-11 07:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053105 -2.798876)'), GeomFromEWKT('SRID=4674;POINT (-40.053105 -2.798866)'))) / (select extract(epoch from '2026-07-11 07:16:16'::timestamp) - extract(epoch from '2026-07-11 07:16:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053105 -2.798876)'), GeomFromEWKT('SRID=4674;POINT (-40.053105 -2.798866)'))) / (select extract(epoch from '2026-07-11 07:16:16'::timestamp) - extract(epoch from '2026-07-11 07:16: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'), 47627, 'SRID=4674;POINT (-40.053101 -2.798804)', '2026-07-11 07:16:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053105 -2.798866)'), GeomFromEWKT('SRID=4674;POINT (-40.053101 -2.798804)'))) / (select extract(epoch from '2026-07-11 07:16:21'::timestamp) - extract(epoch from '2026-07-11 07:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053105 -2.798866)'), GeomFromEWKT('SRID=4674;POINT (-40.053101 -2.798804)'))) / (select extract(epoch from '2026-07-11 07:16:21'::timestamp) - extract(epoch from '2026-07-11 07:16: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'), 47627, 'SRID=4674;POINT (-40.053081 -2.798723)', '2026-07-11 07:16:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053101 -2.798804)'), GeomFromEWKT('SRID=4674;POINT (-40.053081 -2.798723)'))) / (select extract(epoch from '2026-07-11 07:16:27'::timestamp) - extract(epoch from '2026-07-11 07:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053101 -2.798804)'), GeomFromEWKT('SRID=4674;POINT (-40.053081 -2.798723)'))) / (select extract(epoch from '2026-07-11 07:16:27'::timestamp) - extract(epoch from '2026-07-11 07:16: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'), 47627, 'SRID=4674;POINT (-40.053048 -2.798627)', '2026-07-11 07:16:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053081 -2.798723)'), GeomFromEWKT('SRID=4674;POINT (-40.053048 -2.798627)'))) / (select extract(epoch from '2026-07-11 07:16:34'::timestamp) - extract(epoch from '2026-07-11 07:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053081 -2.798723)'), GeomFromEWKT('SRID=4674;POINT (-40.053048 -2.798627)'))) / (select extract(epoch from '2026-07-11 07:16:34'::timestamp) - extract(epoch from '2026-07-11 07:16: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'), 47627, 'SRID=4674;POINT (-40.052991 -2.798534)', '2026-07-11 07:16:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053048 -2.798627)'), GeomFromEWKT('SRID=4674;POINT (-40.052991 -2.798534)'))) / (select extract(epoch from '2026-07-11 07:16:42'::timestamp) - extract(epoch from '2026-07-11 07:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.053048 -2.798627)'), GeomFromEWKT('SRID=4674;POINT (-40.052991 -2.798534)'))) / (select extract(epoch from '2026-07-11 07:16:42'::timestamp) - extract(epoch from '2026-07-11 07:16: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'), 47627, 'SRID=4674;POINT (-40.052943 -2.798455)', '2026-07-11 07:16:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052991 -2.798534)'), GeomFromEWKT('SRID=4674;POINT (-40.052943 -2.798455)'))) / (select extract(epoch from '2026-07-11 07:16:49'::timestamp) - extract(epoch from '2026-07-11 07:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052991 -2.798534)'), GeomFromEWKT('SRID=4674;POINT (-40.052943 -2.798455)'))) / (select extract(epoch from '2026-07-11 07:16:49'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.052904 -2.798359)', '2026-07-11 07:16:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052943 -2.798455)'), GeomFromEWKT('SRID=4674;POINT (-40.052904 -2.798359)'))) / (select extract(epoch from '2026-07-11 07:16:56'::timestamp) - extract(epoch from '2026-07-11 07:16:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052943 -2.798455)'), GeomFromEWKT('SRID=4674;POINT (-40.052904 -2.798359)'))) / (select extract(epoch from '2026-07-11 07:16:56'::timestamp) - extract(epoch from '2026-07-11 07:16: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'), 47627, 'SRID=4674;POINT (-40.052857 -2.79821)', '2026-07-11 07:17:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052904 -2.798359)'), GeomFromEWKT('SRID=4674;POINT (-40.052857 -2.79821)'))) / (select extract(epoch from '2026-07-11 07:17:06'::timestamp) - extract(epoch from '2026-07-11 07:16:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052904 -2.798359)'), GeomFromEWKT('SRID=4674;POINT (-40.052857 -2.79821)'))) / (select extract(epoch from '2026-07-11 07:17:06'::timestamp) - extract(epoch from '2026-07-11 07:16: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'), 47627, 'SRID=4674;POINT (-40.052797 -2.79812)', '2026-07-11 07:17:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052857 -2.79821)'), GeomFromEWKT('SRID=4674;POINT (-40.052797 -2.79812)'))) / (select extract(epoch from '2026-07-11 07:17:14'::timestamp) - extract(epoch from '2026-07-11 07:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052857 -2.79821)'), GeomFromEWKT('SRID=4674;POINT (-40.052797 -2.79812)'))) / (select extract(epoch from '2026-07-11 07:17:14'::timestamp) - extract(epoch from '2026-07-11 07:17: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'), 47627, 'SRID=4674;POINT (-40.052762 -2.798021)', '2026-07-11 07:17:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052797 -2.79812)'), GeomFromEWKT('SRID=4674;POINT (-40.052762 -2.798021)'))) / (select extract(epoch from '2026-07-11 07:17:22'::timestamp) - extract(epoch from '2026-07-11 07:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052797 -2.79812)'), GeomFromEWKT('SRID=4674;POINT (-40.052762 -2.798021)'))) / (select extract(epoch from '2026-07-11 07:17:22'::timestamp) - extract(epoch from '2026-07-11 07:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052749 -2.797908)', '2026-07-11 07:17:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052762 -2.798021)'), GeomFromEWKT('SRID=4674;POINT (-40.052749 -2.797908)'))) / (select extract(epoch from '2026-07-11 07:17:29'::timestamp) - extract(epoch from '2026-07-11 07:17:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052762 -2.798021)'), GeomFromEWKT('SRID=4674;POINT (-40.052749 -2.797908)'))) / (select extract(epoch from '2026-07-11 07:17:29'::timestamp) - extract(epoch from '2026-07-11 07:17: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'), 47627, 'SRID=4674;POINT (-40.052742 -2.797827)', '2026-07-11 07:17:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052749 -2.797908)'), GeomFromEWKT('SRID=4674;POINT (-40.052742 -2.797827)'))) / (select extract(epoch from '2026-07-11 07:17:34'::timestamp) - extract(epoch from '2026-07-11 07:17:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052749 -2.797908)'), GeomFromEWKT('SRID=4674;POINT (-40.052742 -2.797827)'))) / (select extract(epoch from '2026-07-11 07:17:34'::timestamp) - extract(epoch from '2026-07-11 07:17:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052716 -2.797713)', '2026-07-11 07:17:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052742 -2.797827)'), GeomFromEWKT('SRID=4674;POINT (-40.052716 -2.797713)'))) / (select extract(epoch from '2026-07-11 07:17:42'::timestamp) - extract(epoch from '2026-07-11 07:17:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052742 -2.797827)'), GeomFromEWKT('SRID=4674;POINT (-40.052716 -2.797713)'))) / (select extract(epoch from '2026-07-11 07:17:42'::timestamp) - extract(epoch from '2026-07-11 07:17: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'), 47627, 'SRID=4674;POINT (-40.052714 -2.797678)', '2026-07-11 07:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052716 -2.797713)'), GeomFromEWKT('SRID=4674;POINT (-40.052714 -2.797678)'))) / (select extract(epoch from '2026-07-11 07:17:51'::timestamp) - extract(epoch from '2026-07-11 07:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052716 -2.797713)'), GeomFromEWKT('SRID=4674;POINT (-40.052714 -2.797678)'))) / (select extract(epoch from '2026-07-11 07:17:51'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.052782 -2.79765)', '2026-07-11 07:18:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052714 -2.797678)'), GeomFromEWKT('SRID=4674;POINT (-40.052782 -2.79765)'))) / (select extract(epoch from '2026-07-11 07:18:07'::timestamp) - extract(epoch from '2026-07-11 07:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052714 -2.797678)'), GeomFromEWKT('SRID=4674;POINT (-40.052782 -2.79765)'))) / (select extract(epoch from '2026-07-11 07:18:07'::timestamp) - extract(epoch from '2026-07-11 07:17: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'), 47627, 'SRID=4674;POINT (-40.052825 -2.797644)', '2026-07-11 07:18:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052782 -2.79765)'), GeomFromEWKT('SRID=4674;POINT (-40.052825 -2.797644)'))) / (select extract(epoch from '2026-07-11 07:18:18'::timestamp) - extract(epoch from '2026-07-11 07:18:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052782 -2.79765)'), GeomFromEWKT('SRID=4674;POINT (-40.052825 -2.797644)'))) / (select extract(epoch from '2026-07-11 07:18:18'::timestamp) - extract(epoch from '2026-07-11 07:18:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05283 -2.797659)', '2026-07-11 07:18:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052825 -2.797644)'), GeomFromEWKT('SRID=4674;POINT (-40.05283 -2.797659)'))) / (select extract(epoch from '2026-07-11 07:18:32'::timestamp) - extract(epoch from '2026-07-11 07:18:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052825 -2.797644)'), GeomFromEWKT('SRID=4674;POINT (-40.05283 -2.797659)'))) / (select extract(epoch from '2026-07-11 07:18:32'::timestamp) - extract(epoch from '2026-07-11 07:18:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052821 -2.797653)', '2026-07-11 07:18:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05283 -2.797659)'), GeomFromEWKT('SRID=4674;POINT (-40.052821 -2.797653)'))) / (select extract(epoch from '2026-07-11 07:18:49'::timestamp) - extract(epoch from '2026-07-11 07:18:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05283 -2.797659)'), GeomFromEWKT('SRID=4674;POINT (-40.052821 -2.797653)'))) / (select extract(epoch from '2026-07-11 07:18:49'::timestamp) - extract(epoch from '2026-07-11 07:18: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'), 47627, 'SRID=4674;POINT (-40.052824 -2.797648)', '2026-07-11 07:18:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052821 -2.797653)'), GeomFromEWKT('SRID=4674;POINT (-40.052824 -2.797648)'))) / (select extract(epoch from '2026-07-11 07:18:59'::timestamp) - extract(epoch from '2026-07-11 07:18:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052821 -2.797653)'), GeomFromEWKT('SRID=4674;POINT (-40.052824 -2.797648)'))) / (select extract(epoch from '2026-07-11 07:18:59'::timestamp) - extract(epoch from '2026-07-11 07:18:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05282 -2.797665)', '2026-07-11 07:19:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052824 -2.797648)'), GeomFromEWKT('SRID=4674;POINT (-40.05282 -2.797665)'))) / (select extract(epoch from '2026-07-11 07:19:06'::timestamp) - extract(epoch from '2026-07-11 07:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052824 -2.797648)'), GeomFromEWKT('SRID=4674;POINT (-40.05282 -2.797665)'))) / (select extract(epoch from '2026-07-11 07:19:06'::timestamp) - extract(epoch from '2026-07-11 07:18:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052836 -2.797663)', '2026-07-11 07:19:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05282 -2.797665)'), GeomFromEWKT('SRID=4674;POINT (-40.052836 -2.797663)'))) / (select extract(epoch from '2026-07-11 07:19:15'::timestamp) - extract(epoch from '2026-07-11 07:19:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05282 -2.797665)'), GeomFromEWKT('SRID=4674;POINT (-40.052836 -2.797663)'))) / (select extract(epoch from '2026-07-11 07:19:15'::timestamp) - extract(epoch from '2026-07-11 07:19:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052837 -2.797671)', '2026-07-11 07:19:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052836 -2.797663)'), GeomFromEWKT('SRID=4674;POINT (-40.052837 -2.797671)'))) / (select extract(epoch from '2026-07-11 07:19:23'::timestamp) - extract(epoch from '2026-07-11 07:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052836 -2.797663)'), GeomFromEWKT('SRID=4674;POINT (-40.052837 -2.797671)'))) / (select extract(epoch from '2026-07-11 07:19:23'::timestamp) - extract(epoch from '2026-07-11 07:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052831 -2.797644)', '2026-07-11 07:19:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052837 -2.797671)'), GeomFromEWKT('SRID=4674;POINT (-40.052831 -2.797644)'))) / (select extract(epoch from '2026-07-11 07:19:38'::timestamp) - extract(epoch from '2026-07-11 07:19:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052837 -2.797671)'), GeomFromEWKT('SRID=4674;POINT (-40.052831 -2.797644)'))) / (select extract(epoch from '2026-07-11 07:19:38'::timestamp) - extract(epoch from '2026-07-11 07:19: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'), 47627, 'SRID=4674;POINT (-40.052832 -2.797634)', '2026-07-11 07:19:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052831 -2.797644)'), GeomFromEWKT('SRID=4674;POINT (-40.052832 -2.797634)'))) / (select extract(epoch from '2026-07-11 07:19:50'::timestamp) - extract(epoch from '2026-07-11 07:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052831 -2.797644)'), GeomFromEWKT('SRID=4674;POINT (-40.052832 -2.797634)'))) / (select extract(epoch from '2026-07-11 07:19:50'::timestamp) - extract(epoch from '2026-07-11 07:19: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'), 47627, 'SRID=4674;POINT (-40.052828 -2.797627)', '2026-07-11 07:20:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052832 -2.797634)'), GeomFromEWKT('SRID=4674;POINT (-40.052828 -2.797627)'))) / (select extract(epoch from '2026-07-11 07:20:15'::timestamp) - extract(epoch from '2026-07-11 07:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052832 -2.797634)'), GeomFromEWKT('SRID=4674;POINT (-40.052828 -2.797627)'))) / (select extract(epoch from '2026-07-11 07:20:15'::timestamp) - extract(epoch from '2026-07-11 07:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052818 -2.797611)', '2026-07-11 07:20:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052828 -2.797627)'), GeomFromEWKT('SRID=4674;POINT (-40.052818 -2.797611)'))) / (select extract(epoch from '2026-07-11 07:20:29'::timestamp) - extract(epoch from '2026-07-11 07:20:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052828 -2.797627)'), GeomFromEWKT('SRID=4674;POINT (-40.052818 -2.797611)'))) / (select extract(epoch from '2026-07-11 07:20:29'::timestamp) - extract(epoch from '2026-07-11 07:20:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052778 -2.797597)', '2026-07-11 07:20:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052818 -2.797611)'), GeomFromEWKT('SRID=4674;POINT (-40.052778 -2.797597)'))) / (select extract(epoch from '2026-07-11 07:20:43'::timestamp) - extract(epoch from '2026-07-11 07:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052818 -2.797611)'), GeomFromEWKT('SRID=4674;POINT (-40.052778 -2.797597)'))) / (select extract(epoch from '2026-07-11 07:20:43'::timestamp) - extract(epoch from '2026-07-11 07:20: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'), 47627, 'SRID=4674;POINT (-40.05273 -2.797649)', '2026-07-11 07:20:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052778 -2.797597)'), GeomFromEWKT('SRID=4674;POINT (-40.05273 -2.797649)'))) / (select extract(epoch from '2026-07-11 07:20:55'::timestamp) - extract(epoch from '2026-07-11 07:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052778 -2.797597)'), GeomFromEWKT('SRID=4674;POINT (-40.05273 -2.797649)'))) / (select extract(epoch from '2026-07-11 07:20:55'::timestamp) - extract(epoch from '2026-07-11 07:20: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'), 47627, 'SRID=4674;POINT (-40.052688 -2.797701)', '2026-07-11 07:21:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05273 -2.797649)'), GeomFromEWKT('SRID=4674;POINT (-40.052688 -2.797701)'))) / (select extract(epoch from '2026-07-11 07:21:07'::timestamp) - extract(epoch from '2026-07-11 07:20:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05273 -2.797649)'), GeomFromEWKT('SRID=4674;POINT (-40.052688 -2.797701)'))) / (select extract(epoch from '2026-07-11 07:21:07'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.052635 -2.797651)', '2026-07-11 07:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052688 -2.797701)'), GeomFromEWKT('SRID=4674;POINT (-40.052635 -2.797651)'))) / (select extract(epoch from '2026-07-11 07:21:18'::timestamp) - extract(epoch from '2026-07-11 07:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052688 -2.797701)'), GeomFromEWKT('SRID=4674;POINT (-40.052635 -2.797651)'))) / (select extract(epoch from '2026-07-11 07:21:18'::timestamp) - extract(epoch from '2026-07-11 07:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052582 -2.797592)', '2026-07-11 07:21:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052635 -2.797651)'), GeomFromEWKT('SRID=4674;POINT (-40.052582 -2.797592)'))) / (select extract(epoch from '2026-07-11 07:21:25'::timestamp) - extract(epoch from '2026-07-11 07:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052635 -2.797651)'), GeomFromEWKT('SRID=4674;POINT (-40.052582 -2.797592)'))) / (select extract(epoch from '2026-07-11 07:21:25'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.052519 -2.797557)', '2026-07-11 07:21:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052582 -2.797592)'), GeomFromEWKT('SRID=4674;POINT (-40.052519 -2.797557)'))) / (select extract(epoch from '2026-07-11 07:21:32'::timestamp) - extract(epoch from '2026-07-11 07:21:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052582 -2.797592)'), GeomFromEWKT('SRID=4674;POINT (-40.052519 -2.797557)'))) / (select extract(epoch from '2026-07-11 07:21:32'::timestamp) - extract(epoch from '2026-07-11 07:21: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'), 47627, 'SRID=4674;POINT (-40.052455 -2.797529)', '2026-07-11 07:21:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052519 -2.797557)'), GeomFromEWKT('SRID=4674;POINT (-40.052455 -2.797529)'))) / (select extract(epoch from '2026-07-11 07:21:39'::timestamp) - extract(epoch from '2026-07-11 07:21:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052519 -2.797557)'), GeomFromEWKT('SRID=4674;POINT (-40.052455 -2.797529)'))) / (select extract(epoch from '2026-07-11 07:21:39'::timestamp) - extract(epoch from '2026-07-11 07:21: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'), 47627, 'SRID=4674;POINT (-40.052414 -2.797508)', '2026-07-11 07:21:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052455 -2.797529)'), GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.797508)'))) / (select extract(epoch from '2026-07-11 07:21:43'::timestamp) - extract(epoch from '2026-07-11 07:21:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052455 -2.797529)'), GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.797508)'))) / (select extract(epoch from '2026-07-11 07:21:43'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.052396 -2.797494)', '2026-07-11 07:21:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.797508)'), GeomFromEWKT('SRID=4674;POINT (-40.052396 -2.797494)'))) / (select extract(epoch from '2026-07-11 07:21:45'::timestamp) - extract(epoch from '2026-07-11 07:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.797508)'), GeomFromEWKT('SRID=4674;POINT (-40.052396 -2.797494)'))) / (select extract(epoch from '2026-07-11 07:21:45'::timestamp) - extract(epoch from '2026-07-11 07:21: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'), 47627, 'SRID=4674;POINT (-40.05236 -2.797471)', '2026-07-11 07:21:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052396 -2.797494)'), GeomFromEWKT('SRID=4674;POINT (-40.05236 -2.797471)'))) / (select extract(epoch from '2026-07-11 07:21:52'::timestamp) - extract(epoch from '2026-07-11 07:21:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052396 -2.797494)'), GeomFromEWKT('SRID=4674;POINT (-40.05236 -2.797471)'))) / (select extract(epoch from '2026-07-11 07:21:52'::timestamp) - extract(epoch from '2026-07-11 07:21:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052287 -2.797452)', '2026-07-11 07:22:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05236 -2.797471)'), GeomFromEWKT('SRID=4674;POINT (-40.052287 -2.797452)'))) / (select extract(epoch from '2026-07-11 07:22:02'::timestamp) - extract(epoch from '2026-07-11 07:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05236 -2.797471)'), GeomFromEWKT('SRID=4674;POINT (-40.052287 -2.797452)'))) / (select extract(epoch from '2026-07-11 07:22:02'::timestamp) - extract(epoch from '2026-07-11 07:21: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'), 47627, 'SRID=4674;POINT (-40.052265 -2.797435)', '2026-07-11 07:22:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052287 -2.797452)'), GeomFromEWKT('SRID=4674;POINT (-40.052265 -2.797435)'))) / (select extract(epoch from '2026-07-11 07:22:05'::timestamp) - extract(epoch from '2026-07-11 07:22:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052287 -2.797452)'), GeomFromEWKT('SRID=4674;POINT (-40.052265 -2.797435)'))) / (select extract(epoch from '2026-07-11 07:22:05'::timestamp) - extract(epoch from '2026-07-11 07:22: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'), 47627, 'SRID=4674;POINT (-40.052239 -2.797414)', '2026-07-11 07:22:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052265 -2.797435)'), GeomFromEWKT('SRID=4674;POINT (-40.052239 -2.797414)'))) / (select extract(epoch from '2026-07-11 07:22:08'::timestamp) - extract(epoch from '2026-07-11 07:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052265 -2.797435)'), GeomFromEWKT('SRID=4674;POINT (-40.052239 -2.797414)'))) / (select extract(epoch from '2026-07-11 07:22:08'::timestamp) - extract(epoch from '2026-07-11 07:22: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'), 47627, 'SRID=4674;POINT (-40.052179 -2.79736)', '2026-07-11 07:22:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052239 -2.797414)'), GeomFromEWKT('SRID=4674;POINT (-40.052179 -2.79736)'))) / (select extract(epoch from '2026-07-11 07:22:14'::timestamp) - extract(epoch from '2026-07-11 07:22:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052239 -2.797414)'), GeomFromEWKT('SRID=4674;POINT (-40.052179 -2.79736)'))) / (select extract(epoch from '2026-07-11 07:22:14'::timestamp) - extract(epoch from '2026-07-11 07:22: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'), 47627, 'SRID=4674;POINT (-40.052116 -2.797301)', '2026-07-11 07:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052179 -2.79736)'), GeomFromEWKT('SRID=4674;POINT (-40.052116 -2.797301)'))) / (select extract(epoch from '2026-07-11 07:22:20'::timestamp) - extract(epoch from '2026-07-11 07:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052179 -2.79736)'), GeomFromEWKT('SRID=4674;POINT (-40.052116 -2.797301)'))) / (select extract(epoch from '2026-07-11 07:22:20'::timestamp) - extract(epoch from '2026-07-11 07:22: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'), 47627, 'SRID=4674;POINT (-40.052054 -2.79723)', '2026-07-11 07:22:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052116 -2.797301)'), GeomFromEWKT('SRID=4674;POINT (-40.052054 -2.79723)'))) / (select extract(epoch from '2026-07-11 07:22:27'::timestamp) - extract(epoch from '2026-07-11 07:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052116 -2.797301)'), GeomFromEWKT('SRID=4674;POINT (-40.052054 -2.79723)'))) / (select extract(epoch from '2026-07-11 07:22:27'::timestamp) - extract(epoch from '2026-07-11 07:22: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'), 47627, 'SRID=4674;POINT (-40.051981 -2.797156)', '2026-07-11 07:22:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052054 -2.79723)'), GeomFromEWKT('SRID=4674;POINT (-40.051981 -2.797156)'))) / (select extract(epoch from '2026-07-11 07:22:35'::timestamp) - extract(epoch from '2026-07-11 07:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052054 -2.79723)'), GeomFromEWKT('SRID=4674;POINT (-40.051981 -2.797156)'))) / (select extract(epoch from '2026-07-11 07:22:35'::timestamp) - extract(epoch from '2026-07-11 07:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051906 -2.797094)', '2026-07-11 07:22:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051981 -2.797156)'), GeomFromEWKT('SRID=4674;POINT (-40.051906 -2.797094)'))) / (select extract(epoch from '2026-07-11 07:22:42'::timestamp) - extract(epoch from '2026-07-11 07:22:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051981 -2.797156)'), GeomFromEWKT('SRID=4674;POINT (-40.051906 -2.797094)'))) / (select extract(epoch from '2026-07-11 07:22:42'::timestamp) - extract(epoch from '2026-07-11 07:22:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.0519 -2.797084)', '2026-07-11 07:22:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051906 -2.797094)'), GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.797084)'))) / (select extract(epoch from '2026-07-11 07:22:43'::timestamp) - extract(epoch from '2026-07-11 07:22:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051906 -2.797094)'), GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.797084)'))) / (select extract(epoch from '2026-07-11 07:22:43'::timestamp) - extract(epoch from '2026-07-11 07:22: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'), 47627, 'SRID=4674;POINT (-40.051891 -2.797053)', '2026-07-11 07:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.797084)'), GeomFromEWKT('SRID=4674;POINT (-40.051891 -2.797053)'))) / (select extract(epoch from '2026-07-11 07:22:47'::timestamp) - extract(epoch from '2026-07-11 07:22:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0519 -2.797084)'), GeomFromEWKT('SRID=4674;POINT (-40.051891 -2.797053)'))) / (select extract(epoch from '2026-07-11 07:22:47'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.05189 -2.797044)', '2026-07-11 07:22:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051891 -2.797053)'), GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.797044)'))) / (select extract(epoch from '2026-07-11 07:22:48'::timestamp) - extract(epoch from '2026-07-11 07:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051891 -2.797053)'), GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.797044)'))) / (select extract(epoch from '2026-07-11 07:22:48'::timestamp) - extract(epoch from '2026-07-11 07:22: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'), 47627, 'SRID=4674;POINT (-40.05189 -2.797036)', '2026-07-11 07:22:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.797044)'), GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.797036)'))) / (select extract(epoch from '2026-07-11 07:22:49'::timestamp) - extract(epoch from '2026-07-11 07:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.797044)'), GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.797036)'))) / (select extract(epoch from '2026-07-11 07:22:49'::timestamp) - extract(epoch from '2026-07-11 07:22: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'), 47627, 'SRID=4674;POINT (-40.051892 -2.797005)', '2026-07-11 07:22:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.797036)'), GeomFromEWKT('SRID=4674;POINT (-40.051892 -2.797005)'))) / (select extract(epoch from '2026-07-11 07:22:53'::timestamp) - extract(epoch from '2026-07-11 07:22:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.797036)'), GeomFromEWKT('SRID=4674;POINT (-40.051892 -2.797005)'))) / (select extract(epoch from '2026-07-11 07:22:53'::timestamp) - extract(epoch from '2026-07-11 07:22: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'), 47627, 'SRID=4674;POINT (-40.051911 -2.796941)', '2026-07-11 07:23:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051892 -2.797005)'), GeomFromEWKT('SRID=4674;POINT (-40.051911 -2.796941)'))) / (select extract(epoch from '2026-07-11 07:23:00'::timestamp) - extract(epoch from '2026-07-11 07:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051892 -2.797005)'), GeomFromEWKT('SRID=4674;POINT (-40.051911 -2.796941)'))) / (select extract(epoch from '2026-07-11 07:23:00'::timestamp) - extract(epoch from '2026-07-11 07:22: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'), 47627, 'SRID=4674;POINT (-40.051901 -2.796894)', '2026-07-11 07:23:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051911 -2.796941)'), GeomFromEWKT('SRID=4674;POINT (-40.051901 -2.796894)'))) / (select extract(epoch from '2026-07-11 07:23:06'::timestamp) - extract(epoch from '2026-07-11 07:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051911 -2.796941)'), GeomFromEWKT('SRID=4674;POINT (-40.051901 -2.796894)'))) / (select extract(epoch from '2026-07-11 07:23:06'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.05189 -2.796858)', '2026-07-11 07:23:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051901 -2.796894)'), GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.796858)'))) / (select extract(epoch from '2026-07-11 07:23:14'::timestamp) - extract(epoch from '2026-07-11 07:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051901 -2.796894)'), GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.796858)'))) / (select extract(epoch from '2026-07-11 07:23:14'::timestamp) - extract(epoch from '2026-07-11 07:23: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'), 47627, 'SRID=4674;POINT (-40.051892 -2.796835)', '2026-07-11 07:23:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.796858)'), GeomFromEWKT('SRID=4674;POINT (-40.051892 -2.796835)'))) / (select extract(epoch from '2026-07-11 07:23:20'::timestamp) - extract(epoch from '2026-07-11 07:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05189 -2.796858)'), GeomFromEWKT('SRID=4674;POINT (-40.051892 -2.796835)'))) / (select extract(epoch from '2026-07-11 07:23:20'::timestamp) - extract(epoch from '2026-07-11 07:23: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'), 47627, 'SRID=4674;POINT (-40.051865 -2.796808)', '2026-07-11 07:23:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051892 -2.796835)'), GeomFromEWKT('SRID=4674;POINT (-40.051865 -2.796808)'))) / (select extract(epoch from '2026-07-11 07:23:28'::timestamp) - extract(epoch from '2026-07-11 07:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051892 -2.796835)'), GeomFromEWKT('SRID=4674;POINT (-40.051865 -2.796808)'))) / (select extract(epoch from '2026-07-11 07:23:28'::timestamp) - extract(epoch from '2026-07-11 07:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051856 -2.796805)', '2026-07-11 07:23:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051865 -2.796808)'), GeomFromEWKT('SRID=4674;POINT (-40.051856 -2.796805)'))) / (select extract(epoch from '2026-07-11 07:23:29'::timestamp) - extract(epoch from '2026-07-11 07:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051865 -2.796808)'), GeomFromEWKT('SRID=4674;POINT (-40.051856 -2.796805)'))) / (select extract(epoch from '2026-07-11 07:23:29'::timestamp) - extract(epoch from '2026-07-11 07:23: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'), 47627, 'SRID=4674;POINT (-40.051851 -2.796816)', '2026-07-11 07:23:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051856 -2.796805)'), GeomFromEWKT('SRID=4674;POINT (-40.051851 -2.796816)'))) / (select extract(epoch from '2026-07-11 07:23:32'::timestamp) - extract(epoch from '2026-07-11 07:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051856 -2.796805)'), GeomFromEWKT('SRID=4674;POINT (-40.051851 -2.796816)'))) / (select extract(epoch from '2026-07-11 07:23:32'::timestamp) - extract(epoch from '2026-07-11 07:23: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'), 47627, 'SRID=4674;POINT (-40.051847 -2.796826)', '2026-07-11 07:23:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051851 -2.796816)'), GeomFromEWKT('SRID=4674;POINT (-40.051847 -2.796826)'))) / (select extract(epoch from '2026-07-11 07:23:39'::timestamp) - extract(epoch from '2026-07-11 07:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051851 -2.796816)'), GeomFromEWKT('SRID=4674;POINT (-40.051847 -2.796826)'))) / (select extract(epoch from '2026-07-11 07:23:39'::timestamp) - extract(epoch from '2026-07-11 07:23: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'), 47627, 'SRID=4674;POINT (-40.051866 -2.796852)', '2026-07-11 07:23:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051847 -2.796826)'), GeomFromEWKT('SRID=4674;POINT (-40.051866 -2.796852)'))) / (select extract(epoch from '2026-07-11 07:23:45'::timestamp) - extract(epoch from '2026-07-11 07:23:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051847 -2.796826)'), GeomFromEWKT('SRID=4674;POINT (-40.051866 -2.796852)'))) / (select extract(epoch from '2026-07-11 07:23:45'::timestamp) - extract(epoch from '2026-07-11 07:23: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'), 47627, 'SRID=4674;POINT (-40.05195 -2.796865)', '2026-07-11 07:23:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051866 -2.796852)'), GeomFromEWKT('SRID=4674;POINT (-40.05195 -2.796865)'))) / (select extract(epoch from '2026-07-11 07:23:54'::timestamp) - extract(epoch from '2026-07-11 07:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051866 -2.796852)'), GeomFromEWKT('SRID=4674;POINT (-40.05195 -2.796865)'))) / (select extract(epoch from '2026-07-11 07:23:54'::timestamp) - extract(epoch from '2026-07-11 07:23: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'), 47627, 'SRID=4674;POINT (-40.052046 -2.796819)', '2026-07-11 07:24:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05195 -2.796865)'), GeomFromEWKT('SRID=4674;POINT (-40.052046 -2.796819)'))) / (select extract(epoch from '2026-07-11 07:24:01'::timestamp) - extract(epoch from '2026-07-11 07:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05195 -2.796865)'), GeomFromEWKT('SRID=4674;POINT (-40.052046 -2.796819)'))) / (select extract(epoch from '2026-07-11 07:24:01'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.052092 -2.796743)', '2026-07-11 07:24:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052046 -2.796819)'), GeomFromEWKT('SRID=4674;POINT (-40.052092 -2.796743)'))) / (select extract(epoch from '2026-07-11 07:24:06'::timestamp) - extract(epoch from '2026-07-11 07:24:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052046 -2.796819)'), GeomFromEWKT('SRID=4674;POINT (-40.052092 -2.796743)'))) / (select extract(epoch from '2026-07-11 07:24:06'::timestamp) - extract(epoch from '2026-07-11 07:24:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052106 -2.796658)', '2026-07-11 07:24:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052092 -2.796743)'), GeomFromEWKT('SRID=4674;POINT (-40.052106 -2.796658)'))) / (select extract(epoch from '2026-07-11 07:24:11'::timestamp) - extract(epoch from '2026-07-11 07:24:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052092 -2.796743)'), GeomFromEWKT('SRID=4674;POINT (-40.052106 -2.796658)'))) / (select extract(epoch from '2026-07-11 07:24:11'::timestamp) - extract(epoch from '2026-07-11 07:24: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'), 47627, 'SRID=4674;POINT (-40.052089 -2.79656)', '2026-07-11 07:24:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052106 -2.796658)'), GeomFromEWKT('SRID=4674;POINT (-40.052089 -2.79656)'))) / (select extract(epoch from '2026-07-11 07:24:17'::timestamp) - extract(epoch from '2026-07-11 07:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052106 -2.796658)'), GeomFromEWKT('SRID=4674;POINT (-40.052089 -2.79656)'))) / (select extract(epoch from '2026-07-11 07:24:17'::timestamp) - extract(epoch from '2026-07-11 07:24: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'), 47627, 'SRID=4674;POINT (-40.052039 -2.7964)', '2026-07-11 07:24:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052089 -2.79656)'), GeomFromEWKT('SRID=4674;POINT (-40.052039 -2.7964)'))) / (select extract(epoch from '2026-07-11 07:24:26'::timestamp) - extract(epoch from '2026-07-11 07:24:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052089 -2.79656)'), GeomFromEWKT('SRID=4674;POINT (-40.052039 -2.7964)'))) / (select extract(epoch from '2026-07-11 07:24:26'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.051995 -2.796276)', '2026-07-11 07:24:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052039 -2.7964)'), GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.796276)'))) / (select extract(epoch from '2026-07-11 07:24:33'::timestamp) - extract(epoch from '2026-07-11 07:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052039 -2.7964)'), GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.796276)'))) / (select extract(epoch from '2026-07-11 07:24:33'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.051967 -2.796106)', '2026-07-11 07:24:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.051967 -2.796106)'))) / (select extract(epoch from '2026-07-11 07:24:42'::timestamp) - extract(epoch from '2026-07-11 07:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051995 -2.796276)'), GeomFromEWKT('SRID=4674;POINT (-40.051967 -2.796106)'))) / (select extract(epoch from '2026-07-11 07:24:42'::timestamp) - extract(epoch from '2026-07-11 07:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051963 -2.796009)', '2026-07-11 07:24:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051967 -2.796106)'), GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.796009)'))) / (select extract(epoch from '2026-07-11 07:24:47'::timestamp) - extract(epoch from '2026-07-11 07:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051967 -2.796106)'), GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.796009)'))) / (select extract(epoch from '2026-07-11 07:24:47'::timestamp) - extract(epoch from '2026-07-11 07:24: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'), 47627, 'SRID=4674;POINT (-40.051945 -2.795836)', '2026-07-11 07:24:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.796009)'), GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.795836)'))) / (select extract(epoch from '2026-07-11 07:24:56'::timestamp) - extract(epoch from '2026-07-11 07:24:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051963 -2.796009)'), GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.795836)'))) / (select extract(epoch from '2026-07-11 07:24:56'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.051924 -2.795725)', '2026-07-11 07:25:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.795836)'), GeomFromEWKT('SRID=4674;POINT (-40.051924 -2.795725)'))) / (select extract(epoch from '2026-07-11 07:25:02'::timestamp) - extract(epoch from '2026-07-11 07:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051945 -2.795836)'), GeomFromEWKT('SRID=4674;POINT (-40.051924 -2.795725)'))) / (select extract(epoch from '2026-07-11 07:25:02'::timestamp) - extract(epoch from '2026-07-11 07:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051917 -2.795627)', '2026-07-11 07:25:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051924 -2.795725)'), GeomFromEWKT('SRID=4674;POINT (-40.051917 -2.795627)'))) / (select extract(epoch from '2026-07-11 07:25:07'::timestamp) - extract(epoch from '2026-07-11 07:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051924 -2.795725)'), GeomFromEWKT('SRID=4674;POINT (-40.051917 -2.795627)'))) / (select extract(epoch from '2026-07-11 07:25:07'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.051922 -2.795534)', '2026-07-11 07:25:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051917 -2.795627)'), GeomFromEWKT('SRID=4674;POINT (-40.051922 -2.795534)'))) / (select extract(epoch from '2026-07-11 07:25:12'::timestamp) - extract(epoch from '2026-07-11 07:25:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051917 -2.795627)'), GeomFromEWKT('SRID=4674;POINT (-40.051922 -2.795534)'))) / (select extract(epoch from '2026-07-11 07:25:12'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.05194 -2.795476)', '2026-07-11 07:25:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051922 -2.795534)'), GeomFromEWKT('SRID=4674;POINT (-40.05194 -2.795476)'))) / (select extract(epoch from '2026-07-11 07:25:16'::timestamp) - extract(epoch from '2026-07-11 07:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051922 -2.795534)'), GeomFromEWKT('SRID=4674;POINT (-40.05194 -2.795476)'))) / (select extract(epoch from '2026-07-11 07:25:16'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.051949 -2.795468)', '2026-07-11 07:25:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05194 -2.795476)'), GeomFromEWKT('SRID=4674;POINT (-40.051949 -2.795468)'))) / (select extract(epoch from '2026-07-11 07:25:17'::timestamp) - extract(epoch from '2026-07-11 07:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05194 -2.795476)'), GeomFromEWKT('SRID=4674;POINT (-40.051949 -2.795468)'))) / (select extract(epoch from '2026-07-11 07:25:17'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.052008 -2.795451)', '2026-07-11 07:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051949 -2.795468)'), GeomFromEWKT('SRID=4674;POINT (-40.052008 -2.795451)'))) / (select extract(epoch from '2026-07-11 07:25:23'::timestamp) - extract(epoch from '2026-07-11 07:25:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051949 -2.795468)'), GeomFromEWKT('SRID=4674;POINT (-40.052008 -2.795451)'))) / (select extract(epoch from '2026-07-11 07:25:23'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.052025 -2.795452)', '2026-07-11 07:25:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052008 -2.795451)'), GeomFromEWKT('SRID=4674;POINT (-40.052025 -2.795452)'))) / (select extract(epoch from '2026-07-11 07:25:25'::timestamp) - extract(epoch from '2026-07-11 07:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052008 -2.795451)'), GeomFromEWKT('SRID=4674;POINT (-40.052025 -2.795452)'))) / (select extract(epoch from '2026-07-11 07:25:25'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.052055 -2.795456)', '2026-07-11 07:25:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052025 -2.795452)'), GeomFromEWKT('SRID=4674;POINT (-40.052055 -2.795456)'))) / (select extract(epoch from '2026-07-11 07:25:28'::timestamp) - extract(epoch from '2026-07-11 07:25:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052025 -2.795452)'), GeomFromEWKT('SRID=4674;POINT (-40.052055 -2.795456)'))) / (select extract(epoch from '2026-07-11 07:25:28'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.052118 -2.795488)', '2026-07-11 07:25:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052055 -2.795456)'), GeomFromEWKT('SRID=4674;POINT (-40.052118 -2.795488)'))) / (select extract(epoch from '2026-07-11 07:25:36'::timestamp) - extract(epoch from '2026-07-11 07:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052055 -2.795456)'), GeomFromEWKT('SRID=4674;POINT (-40.052118 -2.795488)'))) / (select extract(epoch from '2026-07-11 07:25:36'::timestamp) - extract(epoch from '2026-07-11 07:25:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052123 -2.795493)', '2026-07-11 07:25:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052118 -2.795488)'), GeomFromEWKT('SRID=4674;POINT (-40.052123 -2.795493)'))) / (select extract(epoch from '2026-07-11 07:25:37'::timestamp) - extract(epoch from '2026-07-11 07:25:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052118 -2.795488)'), GeomFromEWKT('SRID=4674;POINT (-40.052123 -2.795493)'))) / (select extract(epoch from '2026-07-11 07:25:37'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.052135 -2.795505)', '2026-07-11 07:25:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052123 -2.795493)'), GeomFromEWKT('SRID=4674;POINT (-40.052135 -2.795505)'))) / (select extract(epoch from '2026-07-11 07:25:39'::timestamp) - extract(epoch from '2026-07-11 07:25:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052123 -2.795493)'), GeomFromEWKT('SRID=4674;POINT (-40.052135 -2.795505)'))) / (select extract(epoch from '2026-07-11 07:25:39'::timestamp) - extract(epoch from '2026-07-11 07:25:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052139 -2.795519)', '2026-07-11 07:25:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052135 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.052139 -2.795519)'))) / (select extract(epoch from '2026-07-11 07:25:41'::timestamp) - extract(epoch from '2026-07-11 07:25:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052135 -2.795505)'), GeomFromEWKT('SRID=4674;POINT (-40.052139 -2.795519)'))) / (select extract(epoch from '2026-07-11 07:25:41'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.052133 -2.795561)', '2026-07-11 07:25:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052139 -2.795519)'), GeomFromEWKT('SRID=4674;POINT (-40.052133 -2.795561)'))) / (select extract(epoch from '2026-07-11 07:25:47'::timestamp) - extract(epoch from '2026-07-11 07:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052139 -2.795519)'), GeomFromEWKT('SRID=4674;POINT (-40.052133 -2.795561)'))) / (select extract(epoch from '2026-07-11 07:25:47'::timestamp) - extract(epoch from '2026-07-11 07:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052097 -2.795565)', '2026-07-11 07:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052133 -2.795561)'), GeomFromEWKT('SRID=4674;POINT (-40.052097 -2.795565)'))) / (select extract(epoch from '2026-07-11 07:25:55'::timestamp) - extract(epoch from '2026-07-11 07:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052133 -2.795561)'), GeomFromEWKT('SRID=4674;POINT (-40.052097 -2.795565)'))) / (select extract(epoch from '2026-07-11 07:25:55'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.052088 -2.79555)', '2026-07-11 07:25:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052097 -2.795565)'), GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.79555)'))) / (select extract(epoch from '2026-07-11 07:25:57'::timestamp) - extract(epoch from '2026-07-11 07:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052097 -2.795565)'), GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.79555)'))) / (select extract(epoch from '2026-07-11 07:25:57'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.052079 -2.795526)', '2026-07-11 07:26:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.79555)'), GeomFromEWKT('SRID=4674;POINT (-40.052079 -2.795526)'))) / (select extract(epoch from '2026-07-11 07:26:00'::timestamp) - extract(epoch from '2026-07-11 07:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.79555)'), GeomFromEWKT('SRID=4674;POINT (-40.052079 -2.795526)'))) / (select extract(epoch from '2026-07-11 07:26:00'::timestamp) - extract(epoch from '2026-07-11 07:25: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'), 47627, 'SRID=4674;POINT (-40.052073 -2.795511)', '2026-07-11 07:26:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052079 -2.795526)'), GeomFromEWKT('SRID=4674;POINT (-40.052073 -2.795511)'))) / (select extract(epoch from '2026-07-11 07:26:02'::timestamp) - extract(epoch from '2026-07-11 07:26:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052079 -2.795526)'), GeomFromEWKT('SRID=4674;POINT (-40.052073 -2.795511)'))) / (select extract(epoch from '2026-07-11 07:26:02'::timestamp) - extract(epoch from '2026-07-11 07:26: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'), 47627, 'SRID=4674;POINT (-40.052066 -2.795479)', '2026-07-11 07:26:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052073 -2.795511)'), GeomFromEWKT('SRID=4674;POINT (-40.052066 -2.795479)'))) / (select extract(epoch from '2026-07-11 07:26:06'::timestamp) - extract(epoch from '2026-07-11 07:26:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052073 -2.795511)'), GeomFromEWKT('SRID=4674;POINT (-40.052066 -2.795479)'))) / (select extract(epoch from '2026-07-11 07:26:06'::timestamp) - extract(epoch from '2026-07-11 07:26:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052056 -2.795414)', '2026-07-11 07:26:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052066 -2.795479)'), GeomFromEWKT('SRID=4674;POINT (-40.052056 -2.795414)'))) / (select extract(epoch from '2026-07-11 07:26:15'::timestamp) - extract(epoch from '2026-07-11 07:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052066 -2.795479)'), GeomFromEWKT('SRID=4674;POINT (-40.052056 -2.795414)'))) / (select extract(epoch from '2026-07-11 07:26:15'::timestamp) - extract(epoch from '2026-07-11 07:26: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'), 47627, 'SRID=4674;POINT (-40.052038 -2.795368)', '2026-07-11 07:26:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052056 -2.795414)'), GeomFromEWKT('SRID=4674;POINT (-40.052038 -2.795368)'))) / (select extract(epoch from '2026-07-11 07:26:22'::timestamp) - extract(epoch from '2026-07-11 07:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052056 -2.795414)'), GeomFromEWKT('SRID=4674;POINT (-40.052038 -2.795368)'))) / (select extract(epoch from '2026-07-11 07:26:22'::timestamp) - extract(epoch from '2026-07-11 07:26:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.052022 -2.795321)', '2026-07-11 07:26:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052038 -2.795368)'), GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.795321)'))) / (select extract(epoch from '2026-07-11 07:26:28'::timestamp) - extract(epoch from '2026-07-11 07:26:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052038 -2.795368)'), GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.795321)'))) / (select extract(epoch from '2026-07-11 07:26:28'::timestamp) - extract(epoch from '2026-07-11 07:26: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'), 47627, 'SRID=4674;POINT (-40.05201 -2.795302)', '2026-07-11 07:26:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.795321)'), GeomFromEWKT('SRID=4674;POINT (-40.05201 -2.795302)'))) / (select extract(epoch from '2026-07-11 07:26:31'::timestamp) - extract(epoch from '2026-07-11 07:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052022 -2.795321)'), GeomFromEWKT('SRID=4674;POINT (-40.05201 -2.795302)'))) / (select extract(epoch from '2026-07-11 07:26:31'::timestamp) - extract(epoch from '2026-07-11 07:26: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'), 47627, 'SRID=4674;POINT (-40.051984 -2.795248)', '2026-07-11 07:26:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05201 -2.795302)'), GeomFromEWKT('SRID=4674;POINT (-40.051984 -2.795248)'))) / (select extract(epoch from '2026-07-11 07:26:40'::timestamp) - extract(epoch from '2026-07-11 07:26:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05201 -2.795302)'), GeomFromEWKT('SRID=4674;POINT (-40.051984 -2.795248)'))) / (select extract(epoch from '2026-07-11 07:26:40'::timestamp) - extract(epoch from '2026-07-11 07:26:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051949 -2.795225)', '2026-07-11 07:26:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051984 -2.795248)'), GeomFromEWKT('SRID=4674;POINT (-40.051949 -2.795225)'))) / (select extract(epoch from '2026-07-11 07:26:47'::timestamp) - extract(epoch from '2026-07-11 07:26:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051984 -2.795248)'), GeomFromEWKT('SRID=4674;POINT (-40.051949 -2.795225)'))) / (select extract(epoch from '2026-07-11 07:26:47'::timestamp) - extract(epoch from '2026-07-11 07:26: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'), 47627, 'SRID=4674;POINT (-40.051882 -2.795174)', '2026-07-11 07:26:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051949 -2.795225)'), GeomFromEWKT('SRID=4674;POINT (-40.051882 -2.795174)'))) / (select extract(epoch from '2026-07-11 07:26:55'::timestamp) - extract(epoch from '2026-07-11 07:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051949 -2.795225)'), GeomFromEWKT('SRID=4674;POINT (-40.051882 -2.795174)'))) / (select extract(epoch from '2026-07-11 07:26:55'::timestamp) - extract(epoch from '2026-07-11 07:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051843 -2.795067)', '2026-07-11 07:27:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051882 -2.795174)'), GeomFromEWKT('SRID=4674;POINT (-40.051843 -2.795067)'))) / (select extract(epoch from '2026-07-11 07:27:02'::timestamp) - extract(epoch from '2026-07-11 07:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051882 -2.795174)'), GeomFromEWKT('SRID=4674;POINT (-40.051843 -2.795067)'))) / (select extract(epoch from '2026-07-11 07:27:02'::timestamp) - extract(epoch from '2026-07-11 07:26: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'), 47627, 'SRID=4674;POINT (-40.05181 -2.794945)', '2026-07-11 07:27:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051843 -2.795067)'), GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.794945)'))) / (select extract(epoch from '2026-07-11 07:27:09'::timestamp) - extract(epoch from '2026-07-11 07:27:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051843 -2.795067)'), GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.794945)'))) / (select extract(epoch from '2026-07-11 07:27:09'::timestamp) - extract(epoch from '2026-07-11 07:27: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'), 47627, 'SRID=4674;POINT (-40.051784 -2.79484)', '2026-07-11 07:27:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.794945)'), GeomFromEWKT('SRID=4674;POINT (-40.051784 -2.79484)'))) / (select extract(epoch from '2026-07-11 07:27:15'::timestamp) - extract(epoch from '2026-07-11 07:27:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05181 -2.794945)'), GeomFromEWKT('SRID=4674;POINT (-40.051784 -2.79484)'))) / (select extract(epoch from '2026-07-11 07:27:15'::timestamp) - extract(epoch from '2026-07-11 07:27: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'), 47627, 'SRID=4674;POINT (-40.051744 -2.79468)', '2026-07-11 07:27:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051784 -2.79484)'), GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.79468)'))) / (select extract(epoch from '2026-07-11 07:27:24'::timestamp) - extract(epoch from '2026-07-11 07:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051784 -2.79484)'), GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.79468)'))) / (select extract(epoch from '2026-07-11 07:27:24'::timestamp) - extract(epoch from '2026-07-11 07:27: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'), 47627, 'SRID=4674;POINT (-40.051696 -2.794541)', '2026-07-11 07:27:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.051696 -2.794541)'))) / (select extract(epoch from '2026-07-11 07:27:32'::timestamp) - extract(epoch from '2026-07-11 07:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051744 -2.79468)'), GeomFromEWKT('SRID=4674;POINT (-40.051696 -2.794541)'))) / (select extract(epoch from '2026-07-11 07:27:32'::timestamp) - extract(epoch from '2026-07-11 07:27: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'), 47627, 'SRID=4674;POINT (-40.051664 -2.794432)', '2026-07-11 07:27:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051696 -2.794541)'), GeomFromEWKT('SRID=4674;POINT (-40.051664 -2.794432)'))) / (select extract(epoch from '2026-07-11 07:27:38'::timestamp) - extract(epoch from '2026-07-11 07:27:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051696 -2.794541)'), GeomFromEWKT('SRID=4674;POINT (-40.051664 -2.794432)'))) / (select extract(epoch from '2026-07-11 07:27:38'::timestamp) - extract(epoch from '2026-07-11 07:27: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'), 47627, 'SRID=4674;POINT (-40.051632 -2.794325)', '2026-07-11 07:27:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051664 -2.794432)'), GeomFromEWKT('SRID=4674;POINT (-40.051632 -2.794325)'))) / (select extract(epoch from '2026-07-11 07:27:44'::timestamp) - extract(epoch from '2026-07-11 07:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051664 -2.794432)'), GeomFromEWKT('SRID=4674;POINT (-40.051632 -2.794325)'))) / (select extract(epoch from '2026-07-11 07:27:44'::timestamp) - extract(epoch from '2026-07-11 07:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051595 -2.794178)', '2026-07-11 07:27:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051632 -2.794325)'), GeomFromEWKT('SRID=4674;POINT (-40.051595 -2.794178)'))) / (select extract(epoch from '2026-07-11 07:27:52'::timestamp) - extract(epoch from '2026-07-11 07:27:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051632 -2.794325)'), GeomFromEWKT('SRID=4674;POINT (-40.051595 -2.794178)'))) / (select extract(epoch from '2026-07-11 07:27:52'::timestamp) - extract(epoch from '2026-07-11 07:27: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'), 47627, 'SRID=4674;POINT (-40.051603 -2.794063)', '2026-07-11 07:27:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051595 -2.794178)'), GeomFromEWKT('SRID=4674;POINT (-40.051603 -2.794063)'))) / (select extract(epoch from '2026-07-11 07:27:58'::timestamp) - extract(epoch from '2026-07-11 07:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051595 -2.794178)'), GeomFromEWKT('SRID=4674;POINT (-40.051603 -2.794063)'))) / (select extract(epoch from '2026-07-11 07:27:58'::timestamp) - extract(epoch from '2026-07-11 07:27: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'), 47627, 'SRID=4674;POINT (-40.051603 -2.793966)', '2026-07-11 07:28:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051603 -2.794063)'), GeomFromEWKT('SRID=4674;POINT (-40.051603 -2.793966)'))) / (select extract(epoch from '2026-07-11 07:28:03'::timestamp) - extract(epoch from '2026-07-11 07:27:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051603 -2.794063)'), GeomFromEWKT('SRID=4674;POINT (-40.051603 -2.793966)'))) / (select extract(epoch from '2026-07-11 07:28:03'::timestamp) - extract(epoch from '2026-07-11 07:27: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'), 47627, 'SRID=4674;POINT (-40.051604 -2.79381)', '2026-07-11 07:28:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051603 -2.793966)'), GeomFromEWKT('SRID=4674;POINT (-40.051604 -2.79381)'))) / (select extract(epoch from '2026-07-11 07:28:11'::timestamp) - extract(epoch from '2026-07-11 07:28:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051603 -2.793966)'), GeomFromEWKT('SRID=4674;POINT (-40.051604 -2.79381)'))) / (select extract(epoch from '2026-07-11 07:28:11'::timestamp) - extract(epoch from '2026-07-11 07:28: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'), 47627, 'SRID=4674;POINT (-40.051594 -2.793624)', '2026-07-11 07:28:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051604 -2.79381)'), GeomFromEWKT('SRID=4674;POINT (-40.051594 -2.793624)'))) / (select extract(epoch from '2026-07-11 07:28:21'::timestamp) - extract(epoch from '2026-07-11 07:28:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051604 -2.79381)'), GeomFromEWKT('SRID=4674;POINT (-40.051594 -2.793624)'))) / (select extract(epoch from '2026-07-11 07:28:21'::timestamp) - extract(epoch from '2026-07-11 07:28: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'), 47627, 'SRID=4674;POINT (-40.051608 -2.793565)', '2026-07-11 07:28:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051594 -2.793624)'), GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.793565)'))) / (select extract(epoch from '2026-07-11 07:28:25'::timestamp) - extract(epoch from '2026-07-11 07:28:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051594 -2.793624)'), GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.793565)'))) / (select extract(epoch from '2026-07-11 07:28:25'::timestamp) - extract(epoch from '2026-07-11 07:28:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051634 -2.79355)', '2026-07-11 07:28:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.793565)'), GeomFromEWKT('SRID=4674;POINT (-40.051634 -2.79355)'))) / (select extract(epoch from '2026-07-11 07:28:27'::timestamp) - extract(epoch from '2026-07-11 07:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051608 -2.793565)'), GeomFromEWKT('SRID=4674;POINT (-40.051634 -2.79355)'))) / (select extract(epoch from '2026-07-11 07:28:27'::timestamp) - extract(epoch from '2026-07-11 07:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051733 -2.793474)', '2026-07-11 07:28:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051634 -2.79355)'), GeomFromEWKT('SRID=4674;POINT (-40.051733 -2.793474)'))) / (select extract(epoch from '2026-07-11 07:28:35'::timestamp) - extract(epoch from '2026-07-11 07:28:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051634 -2.79355)'), GeomFromEWKT('SRID=4674;POINT (-40.051733 -2.793474)'))) / (select extract(epoch from '2026-07-11 07:28:35'::timestamp) - extract(epoch from '2026-07-11 07:28: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'), 47627, 'SRID=4674;POINT (-40.051771 -2.793383)', '2026-07-11 07:28:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051733 -2.793474)'), GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793383)'))) / (select extract(epoch from '2026-07-11 07:28:42'::timestamp) - extract(epoch from '2026-07-11 07:28:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051733 -2.793474)'), GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793383)'))) / (select extract(epoch from '2026-07-11 07:28:42'::timestamp) - extract(epoch from '2026-07-11 07:28: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'), 47627, 'SRID=4674;POINT (-40.05178 -2.793325)', '2026-07-11 07:28:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793383)'), GeomFromEWKT('SRID=4674;POINT (-40.05178 -2.793325)'))) / (select extract(epoch from '2026-07-11 07:28:49'::timestamp) - extract(epoch from '2026-07-11 07:28:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793383)'), GeomFromEWKT('SRID=4674;POINT (-40.05178 -2.793325)'))) / (select extract(epoch from '2026-07-11 07:28:49'::timestamp) - extract(epoch from '2026-07-11 07:28: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'), 47627, 'SRID=4674;POINT (-40.051775 -2.793274)', '2026-07-11 07:28:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05178 -2.793325)'), GeomFromEWKT('SRID=4674;POINT (-40.051775 -2.793274)'))) / (select extract(epoch from '2026-07-11 07:28:55'::timestamp) - extract(epoch from '2026-07-11 07:28:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05178 -2.793325)'), GeomFromEWKT('SRID=4674;POINT (-40.051775 -2.793274)'))) / (select extract(epoch from '2026-07-11 07:28:55'::timestamp) - extract(epoch from '2026-07-11 07:28:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051764 -2.79323)', '2026-07-11 07:29:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051775 -2.793274)'), GeomFromEWKT('SRID=4674;POINT (-40.051764 -2.79323)'))) / (select extract(epoch from '2026-07-11 07:29:03'::timestamp) - extract(epoch from '2026-07-11 07:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051775 -2.793274)'), GeomFromEWKT('SRID=4674;POINT (-40.051764 -2.79323)'))) / (select extract(epoch from '2026-07-11 07:29:03'::timestamp) - extract(epoch from '2026-07-11 07:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051751 -2.793206)', '2026-07-11 07:29:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051764 -2.79323)'), GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.793206)'))) / (select extract(epoch from '2026-07-11 07:29:12'::timestamp) - extract(epoch from '2026-07-11 07:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051764 -2.79323)'), GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.793206)'))) / (select extract(epoch from '2026-07-11 07:29:12'::timestamp) - extract(epoch from '2026-07-11 07:29: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'), 47627, 'SRID=4674;POINT (-40.051738 -2.793228)', '2026-07-11 07:29:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.793206)'), GeomFromEWKT('SRID=4674;POINT (-40.051738 -2.793228)'))) / (select extract(epoch from '2026-07-11 07:29:23'::timestamp) - extract(epoch from '2026-07-11 07:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051751 -2.793206)'), GeomFromEWKT('SRID=4674;POINT (-40.051738 -2.793228)'))) / (select extract(epoch from '2026-07-11 07:29:23'::timestamp) - extract(epoch from '2026-07-11 07:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051771 -2.793234)', '2026-07-11 07:29:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051738 -2.793228)'), GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793234)'))) / (select extract(epoch from '2026-07-11 07:29:27'::timestamp) - extract(epoch from '2026-07-11 07:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051738 -2.793228)'), GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793234)'))) / (select extract(epoch from '2026-07-11 07:29:27'::timestamp) - extract(epoch from '2026-07-11 07:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051793 -2.793236)', '2026-07-11 07:29:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793234)'), GeomFromEWKT('SRID=4674;POINT (-40.051793 -2.793236)'))) / (select extract(epoch from '2026-07-11 07:29:30'::timestamp) - extract(epoch from '2026-07-11 07:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051771 -2.793234)'), GeomFromEWKT('SRID=4674;POINT (-40.051793 -2.793236)'))) / (select extract(epoch from '2026-07-11 07:29:30'::timestamp) - extract(epoch from '2026-07-11 07:29: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'), 47627, 'SRID=4674;POINT (-40.051847 -2.793253)', '2026-07-11 07:29:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051793 -2.793236)'), GeomFromEWKT('SRID=4674;POINT (-40.051847 -2.793253)'))) / (select extract(epoch from '2026-07-11 07:29:37'::timestamp) - extract(epoch from '2026-07-11 07:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051793 -2.793236)'), GeomFromEWKT('SRID=4674;POINT (-40.051847 -2.793253)'))) / (select extract(epoch from '2026-07-11 07:29:37'::timestamp) - extract(epoch from '2026-07-11 07:29: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'), 47627, 'SRID=4674;POINT (-40.05187 -2.793267)', '2026-07-11 07:29:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051847 -2.793253)'), GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.793267)'))) / (select extract(epoch from '2026-07-11 07:29:40'::timestamp) - extract(epoch from '2026-07-11 07:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051847 -2.793253)'), GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.793267)'))) / (select extract(epoch from '2026-07-11 07:29:40'::timestamp) - extract(epoch from '2026-07-11 07:29: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'), 47627, 'SRID=4674;POINT (-40.051899 -2.793296)', '2026-07-11 07:29:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.793267)'), GeomFromEWKT('SRID=4674;POINT (-40.051899 -2.793296)'))) / (select extract(epoch from '2026-07-11 07:29:44'::timestamp) - extract(epoch from '2026-07-11 07:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05187 -2.793267)'), GeomFromEWKT('SRID=4674;POINT (-40.051899 -2.793296)'))) / (select extract(epoch from '2026-07-11 07:29:44'::timestamp) - extract(epoch from '2026-07-11 07:29: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'), 47627, 'SRID=4674;POINT (-40.051919 -2.793351)', '2026-07-11 07:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051899 -2.793296)'), GeomFromEWKT('SRID=4674;POINT (-40.051919 -2.793351)'))) / (select extract(epoch from '2026-07-11 07:29:51'::timestamp) - extract(epoch from '2026-07-11 07:29:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051899 -2.793296)'), GeomFromEWKT('SRID=4674;POINT (-40.051919 -2.793351)'))) / (select extract(epoch from '2026-07-11 07:29:51'::timestamp) - extract(epoch from '2026-07-11 07:29: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'), 47627, 'SRID=4674;POINT (-40.051915 -2.793399)', '2026-07-11 07:29:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051919 -2.793351)'), GeomFromEWKT('SRID=4674;POINT (-40.051915 -2.793399)'))) / (select extract(epoch from '2026-07-11 07:29:57'::timestamp) - extract(epoch from '2026-07-11 07:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051919 -2.793351)'), GeomFromEWKT('SRID=4674;POINT (-40.051915 -2.793399)'))) / (select extract(epoch from '2026-07-11 07:29:57'::timestamp) - extract(epoch from '2026-07-11 07:29: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'), 47627, 'SRID=4674;POINT (-40.051914 -2.793406)', '2026-07-11 07:29:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051915 -2.793399)'), GeomFromEWKT('SRID=4674;POINT (-40.051914 -2.793406)'))) / (select extract(epoch from '2026-07-11 07:29:58'::timestamp) - extract(epoch from '2026-07-11 07:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051915 -2.793399)'), GeomFromEWKT('SRID=4674;POINT (-40.051914 -2.793406)'))) / (select extract(epoch from '2026-07-11 07:29:58'::timestamp) - extract(epoch from '2026-07-11 07:29: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'), 47627, 'SRID=4674;POINT (-40.051886 -2.793398)', '2026-07-11 07:30:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051914 -2.793406)'), GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.793398)'))) / (select extract(epoch from '2026-07-11 07:30:04'::timestamp) - extract(epoch from '2026-07-11 07:29:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051914 -2.793406)'), GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.793398)'))) / (select extract(epoch from '2026-07-11 07:30:04'::timestamp) - extract(epoch from '2026-07-11 07:29: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'), 47627, 'SRID=4674;POINT (-40.051852 -2.793344)', '2026-07-11 07:30:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.793398)'), GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.793344)'))) / (select extract(epoch from '2026-07-11 07:30:16'::timestamp) - extract(epoch from '2026-07-11 07:30:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051886 -2.793398)'), GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.793344)'))) / (select extract(epoch from '2026-07-11 07:30:16'::timestamp) - extract(epoch from '2026-07-11 07:30:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05182 -2.793302)', '2026-07-11 07:30:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.793344)'), GeomFromEWKT('SRID=4674;POINT (-40.05182 -2.793302)'))) / (select extract(epoch from '2026-07-11 07:30:23'::timestamp) - extract(epoch from '2026-07-11 07:30:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051852 -2.793344)'), GeomFromEWKT('SRID=4674;POINT (-40.05182 -2.793302)'))) / (select extract(epoch from '2026-07-11 07:30:23'::timestamp) - extract(epoch from '2026-07-11 07:30: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'), 47627, 'SRID=4674;POINT (-40.051785 -2.793263)', '2026-07-11 07:30:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05182 -2.793302)'), GeomFromEWKT('SRID=4674;POINT (-40.051785 -2.793263)'))) / (select extract(epoch from '2026-07-11 07:30:28'::timestamp) - extract(epoch from '2026-07-11 07:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05182 -2.793302)'), GeomFromEWKT('SRID=4674;POINT (-40.051785 -2.793263)'))) / (select extract(epoch from '2026-07-11 07:30:28'::timestamp) - extract(epoch from '2026-07-11 07:30: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'), 47627, 'SRID=4674;POINT (-40.05173 -2.793224)', '2026-07-11 07:30:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051785 -2.793263)'), GeomFromEWKT('SRID=4674;POINT (-40.05173 -2.793224)'))) / (select extract(epoch from '2026-07-11 07:30:34'::timestamp) - extract(epoch from '2026-07-11 07:30:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051785 -2.793263)'), GeomFromEWKT('SRID=4674;POINT (-40.05173 -2.793224)'))) / (select extract(epoch from '2026-07-11 07:30:34'::timestamp) - extract(epoch from '2026-07-11 07:30: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'), 47627, 'SRID=4674;POINT (-40.051687 -2.793217)', '2026-07-11 07:30:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05173 -2.793224)'), GeomFromEWKT('SRID=4674;POINT (-40.051687 -2.793217)'))) / (select extract(epoch from '2026-07-11 07:30:38'::timestamp) - extract(epoch from '2026-07-11 07:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05173 -2.793224)'), GeomFromEWKT('SRID=4674;POINT (-40.051687 -2.793217)'))) / (select extract(epoch from '2026-07-11 07:30:38'::timestamp) - extract(epoch from '2026-07-11 07:30: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'), 47627, 'SRID=4674;POINT (-40.051612 -2.793225)', '2026-07-11 07:30:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051687 -2.793217)'), GeomFromEWKT('SRID=4674;POINT (-40.051612 -2.793225)'))) / (select extract(epoch from '2026-07-11 07:30:47'::timestamp) - extract(epoch from '2026-07-11 07:30:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051687 -2.793217)'), GeomFromEWKT('SRID=4674;POINT (-40.051612 -2.793225)'))) / (select extract(epoch from '2026-07-11 07:30:47'::timestamp) - extract(epoch from '2026-07-11 07:30: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'), 47627, 'SRID=4674;POINT (-40.051532 -2.793235)', '2026-07-11 07:30:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051612 -2.793225)'), GeomFromEWKT('SRID=4674;POINT (-40.051532 -2.793235)'))) / (select extract(epoch from '2026-07-11 07:30:54'::timestamp) - extract(epoch from '2026-07-11 07:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051612 -2.793225)'), GeomFromEWKT('SRID=4674;POINT (-40.051532 -2.793235)'))) / (select extract(epoch from '2026-07-11 07:30:54'::timestamp) - extract(epoch from '2026-07-11 07:30:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051452 -2.793261)', '2026-07-11 07:31:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051532 -2.793235)'), GeomFromEWKT('SRID=4674;POINT (-40.051452 -2.793261)'))) / (select extract(epoch from '2026-07-11 07:31:02'::timestamp) - extract(epoch from '2026-07-11 07:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051532 -2.793235)'), GeomFromEWKT('SRID=4674;POINT (-40.051452 -2.793261)'))) / (select extract(epoch from '2026-07-11 07:31:02'::timestamp) - extract(epoch from '2026-07-11 07:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051383 -2.793292)', '2026-07-11 07:31:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051452 -2.793261)'), GeomFromEWKT('SRID=4674;POINT (-40.051383 -2.793292)'))) / (select extract(epoch from '2026-07-11 07:31:08'::timestamp) - extract(epoch from '2026-07-11 07:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051452 -2.793261)'), GeomFromEWKT('SRID=4674;POINT (-40.051383 -2.793292)'))) / (select extract(epoch from '2026-07-11 07:31:08'::timestamp) - extract(epoch from '2026-07-11 07:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051375 -2.793297)', '2026-07-11 07:31:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051383 -2.793292)'), GeomFromEWKT('SRID=4674;POINT (-40.051375 -2.793297)'))) / (select extract(epoch from '2026-07-11 07:31:09'::timestamp) - extract(epoch from '2026-07-11 07:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051383 -2.793292)'), GeomFromEWKT('SRID=4674;POINT (-40.051375 -2.793297)'))) / (select extract(epoch from '2026-07-11 07:31:09'::timestamp) - extract(epoch from '2026-07-11 07:31: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'), 47627, 'SRID=4674;POINT (-40.051356 -2.79331)', '2026-07-11 07:31:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051375 -2.793297)'), GeomFromEWKT('SRID=4674;POINT (-40.051356 -2.79331)'))) / (select extract(epoch from '2026-07-11 07:31:12'::timestamp) - extract(epoch from '2026-07-11 07:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051375 -2.793297)'), GeomFromEWKT('SRID=4674;POINT (-40.051356 -2.79331)'))) / (select extract(epoch from '2026-07-11 07:31:12'::timestamp) - extract(epoch from '2026-07-11 07:31: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'), 47627, 'SRID=4674;POINT (-40.051326 -2.793324)', '2026-07-11 07:31:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051356 -2.79331)'), GeomFromEWKT('SRID=4674;POINT (-40.051326 -2.793324)'))) / (select extract(epoch from '2026-07-11 07:31:15'::timestamp) - extract(epoch from '2026-07-11 07:31:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051356 -2.79331)'), GeomFromEWKT('SRID=4674;POINT (-40.051326 -2.793324)'))) / (select extract(epoch from '2026-07-11 07:31:15'::timestamp) - extract(epoch from '2026-07-11 07:31: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'), 47627, 'SRID=4674;POINT (-40.051229 -2.793358)', '2026-07-11 07:31:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051326 -2.793324)'), GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.793358)'))) / (select extract(epoch from '2026-07-11 07:31:23'::timestamp) - extract(epoch from '2026-07-11 07:31:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051326 -2.793324)'), GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.793358)'))) / (select extract(epoch from '2026-07-11 07:31:23'::timestamp) - extract(epoch from '2026-07-11 07:31: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'), 47627, 'SRID=4674;POINT (-40.051209 -2.793372)', '2026-07-11 07:31:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.793358)'), GeomFromEWKT('SRID=4674;POINT (-40.051209 -2.793372)'))) / (select extract(epoch from '2026-07-11 07:31:25'::timestamp) - extract(epoch from '2026-07-11 07:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051229 -2.793358)'), GeomFromEWKT('SRID=4674;POINT (-40.051209 -2.793372)'))) / (select extract(epoch from '2026-07-11 07:31:25'::timestamp) - extract(epoch from '2026-07-11 07:31: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'), 47627, 'SRID=4674;POINT (-40.051175 -2.793383)', '2026-07-11 07:31:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051209 -2.793372)'), GeomFromEWKT('SRID=4674;POINT (-40.051175 -2.793383)'))) / (select extract(epoch from '2026-07-11 07:31:28'::timestamp) - extract(epoch from '2026-07-11 07:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051209 -2.793372)'), GeomFromEWKT('SRID=4674;POINT (-40.051175 -2.793383)'))) / (select extract(epoch from '2026-07-11 07:31:28'::timestamp) - extract(epoch from '2026-07-11 07:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.051091 -2.793414)', '2026-07-11 07:31:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051175 -2.793383)'), GeomFromEWKT('SRID=4674;POINT (-40.051091 -2.793414)'))) / (select extract(epoch from '2026-07-11 07:31:35'::timestamp) - extract(epoch from '2026-07-11 07:31:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051175 -2.793383)'), GeomFromEWKT('SRID=4674;POINT (-40.051091 -2.793414)'))) / (select extract(epoch from '2026-07-11 07:31:35'::timestamp) - extract(epoch from '2026-07-11 07:31: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'), 47627, 'SRID=4674;POINT (-40.050993 -2.793461)', '2026-07-11 07:31:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051091 -2.793414)'), GeomFromEWKT('SRID=4674;POINT (-40.050993 -2.793461)'))) / (select extract(epoch from '2026-07-11 07:31:42'::timestamp) - extract(epoch from '2026-07-11 07:31:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051091 -2.793414)'), GeomFromEWKT('SRID=4674;POINT (-40.050993 -2.793461)'))) / (select extract(epoch from '2026-07-11 07:31:42'::timestamp) - extract(epoch from '2026-07-11 07:31:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050859 -2.793519)', '2026-07-11 07:31:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050993 -2.793461)'), GeomFromEWKT('SRID=4674;POINT (-40.050859 -2.793519)'))) / (select extract(epoch from '2026-07-11 07:31:51'::timestamp) - extract(epoch from '2026-07-11 07:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050993 -2.793461)'), GeomFromEWKT('SRID=4674;POINT (-40.050859 -2.793519)'))) / (select extract(epoch from '2026-07-11 07:31:51'::timestamp) - extract(epoch from '2026-07-11 07:31: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'), 47627, 'SRID=4674;POINT (-40.050719 -2.793585)', '2026-07-11 07:32:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050859 -2.793519)'), GeomFromEWKT('SRID=4674;POINT (-40.050719 -2.793585)'))) / (select extract(epoch from '2026-07-11 07:32:01'::timestamp) - extract(epoch from '2026-07-11 07:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050859 -2.793519)'), GeomFromEWKT('SRID=4674;POINT (-40.050719 -2.793585)'))) / (select extract(epoch from '2026-07-11 07:32:01'::timestamp) - extract(epoch from '2026-07-11 07:31: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'), 47627, 'SRID=4674;POINT (-40.050593 -2.793643)', '2026-07-11 07:32:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050719 -2.793585)'), GeomFromEWKT('SRID=4674;POINT (-40.050593 -2.793643)'))) / (select extract(epoch from '2026-07-11 07:32:10'::timestamp) - extract(epoch from '2026-07-11 07:32:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050719 -2.793585)'), GeomFromEWKT('SRID=4674;POINT (-40.050593 -2.793643)'))) / (select extract(epoch from '2026-07-11 07:32:10'::timestamp) - extract(epoch from '2026-07-11 07:32: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'), 47627, 'SRID=4674;POINT (-40.050535 -2.793663)', '2026-07-11 07:32:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050593 -2.793643)'), GeomFromEWKT('SRID=4674;POINT (-40.050535 -2.793663)'))) / (select extract(epoch from '2026-07-11 07:32:14'::timestamp) - extract(epoch from '2026-07-11 07:32:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050593 -2.793643)'), GeomFromEWKT('SRID=4674;POINT (-40.050535 -2.793663)'))) / (select extract(epoch from '2026-07-11 07:32:14'::timestamp) - extract(epoch from '2026-07-11 07:32: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'), 47627, 'SRID=4674;POINT (-40.05051 -2.793676)', '2026-07-11 07:32:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050535 -2.793663)'), GeomFromEWKT('SRID=4674;POINT (-40.05051 -2.793676)'))) / (select extract(epoch from '2026-07-11 07:32:16'::timestamp) - extract(epoch from '2026-07-11 07:32:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050535 -2.793663)'), GeomFromEWKT('SRID=4674;POINT (-40.05051 -2.793676)'))) / (select extract(epoch from '2026-07-11 07:32:16'::timestamp) - extract(epoch from '2026-07-11 07:32: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'), 47627, 'SRID=4674;POINT (-40.050393 -2.793746)', '2026-07-11 07:32:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05051 -2.793676)'), GeomFromEWKT('SRID=4674;POINT (-40.050393 -2.793746)'))) / (select extract(epoch from '2026-07-11 07:32:25'::timestamp) - extract(epoch from '2026-07-11 07:32:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05051 -2.793676)'), GeomFromEWKT('SRID=4674;POINT (-40.050393 -2.793746)'))) / (select extract(epoch from '2026-07-11 07:32:25'::timestamp) - extract(epoch from '2026-07-11 07:32: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'), 47627, 'SRID=4674;POINT (-40.050338 -2.793777)', '2026-07-11 07:32:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050393 -2.793746)'), GeomFromEWKT('SRID=4674;POINT (-40.050338 -2.793777)'))) / (select extract(epoch from '2026-07-11 07:32:31'::timestamp) - extract(epoch from '2026-07-11 07:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050393 -2.793746)'), GeomFromEWKT('SRID=4674;POINT (-40.050338 -2.793777)'))) / (select extract(epoch from '2026-07-11 07:32:31'::timestamp) - extract(epoch from '2026-07-11 07: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'), 47627, 'SRID=4674;POINT (-40.050271 -2.793813)', '2026-07-11 07:32:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050338 -2.793777)'), GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.793813)'))) / (select extract(epoch from '2026-07-11 07:32:39'::timestamp) - extract(epoch from '2026-07-11 07:32:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050338 -2.793777)'), GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.793813)'))) / (select extract(epoch from '2026-07-11 07:32:39'::timestamp) - extract(epoch from '2026-07-11 07:32:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050237 -2.793891)', '2026-07-11 07:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.793813)'), GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.793891)'))) / (select extract(epoch from '2026-07-11 07:32:46'::timestamp) - extract(epoch from '2026-07-11 07:32:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050271 -2.793813)'), GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.793891)'))) / (select extract(epoch from '2026-07-11 07:32:46'::timestamp) - extract(epoch from '2026-07-11 07:32:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050224 -2.793966)', '2026-07-11 07:32:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.050224 -2.793966)'))) / (select extract(epoch from '2026-07-11 07:32:51'::timestamp) - extract(epoch from '2026-07-11 07:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050237 -2.793891)'), GeomFromEWKT('SRID=4674;POINT (-40.050224 -2.793966)'))) / (select extract(epoch from '2026-07-11 07:32:51'::timestamp) - extract(epoch from '2026-07-11 07:32: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'), 47627, 'SRID=4674;POINT (-40.050222 -2.793982)', '2026-07-11 07:32:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050224 -2.793966)'), GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.793982)'))) / (select extract(epoch from '2026-07-11 07:32:52'::timestamp) - extract(epoch from '2026-07-11 07:32:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050224 -2.793966)'), GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.793982)'))) / (select extract(epoch from '2026-07-11 07:32:52'::timestamp) - extract(epoch from '2026-07-11 07:32: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'), 47627, 'SRID=4674;POINT (-40.05018 -2.794084)', '2026-07-11 07:32:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.793982)'), GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.794084)'))) / (select extract(epoch from '2026-07-11 07:32:59'::timestamp) - extract(epoch from '2026-07-11 07:32:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050222 -2.793982)'), GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.794084)'))) / (select extract(epoch from '2026-07-11 07:32:59'::timestamp) - extract(epoch from '2026-07-11 07:32:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.05012 -2.794155)', '2026-07-11 07:33:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.794084)'), GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.794155)'))) / (select extract(epoch from '2026-07-11 07:33:05'::timestamp) - extract(epoch from '2026-07-11 07:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05018 -2.794084)'), GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.794155)'))) / (select extract(epoch from '2026-07-11 07:33:05'::timestamp) - extract(epoch from '2026-07-11 07:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050101 -2.794191)', '2026-07-11 07:33:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.794155)'), GeomFromEWKT('SRID=4674;POINT (-40.050101 -2.794191)'))) / (select extract(epoch from '2026-07-11 07:33:08'::timestamp) - extract(epoch from '2026-07-11 07:33:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05012 -2.794155)'), GeomFromEWKT('SRID=4674;POINT (-40.050101 -2.794191)'))) / (select extract(epoch from '2026-07-11 07:33:08'::timestamp) - extract(epoch from '2026-07-11 07:33: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'), 47627, 'SRID=4674;POINT (-40.050092 -2.794229)', '2026-07-11 07:33:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050101 -2.794191)'), GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.794229)'))) / (select extract(epoch from '2026-07-11 07:33:11'::timestamp) - extract(epoch from '2026-07-11 07:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050101 -2.794191)'), GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.794229)'))) / (select extract(epoch from '2026-07-11 07:33:11'::timestamp) - extract(epoch from '2026-07-11 07:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050111 -2.794303)', '2026-07-11 07:33:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.794229)'), GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.794303)'))) / (select extract(epoch from '2026-07-11 07:33:18'::timestamp) - extract(epoch from '2026-07-11 07:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050092 -2.794229)'), GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.794303)'))) / (select extract(epoch from '2026-07-11 07:33:18'::timestamp) - extract(epoch from '2026-07-11 07:33: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'), 47627, 'SRID=4674;POINT (-40.050135 -2.794355)', '2026-07-11 07:33:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.794303)'), GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794355)'))) / (select extract(epoch from '2026-07-11 07:33:24'::timestamp) - extract(epoch from '2026-07-11 07:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050111 -2.794303)'), GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794355)'))) / (select extract(epoch from '2026-07-11 07:33:24'::timestamp) - extract(epoch from '2026-07-11 07:33: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'), 47627, 'SRID=4674;POINT (-40.050142 -2.794415)', '2026-07-11 07:33:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794355)'), GeomFromEWKT('SRID=4674;POINT (-40.050142 -2.794415)'))) / (select extract(epoch from '2026-07-11 07:33:33'::timestamp) - extract(epoch from '2026-07-11 07:33:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794355)'), GeomFromEWKT('SRID=4674;POINT (-40.050142 -2.794415)'))) / (select extract(epoch from '2026-07-11 07:33:33'::timestamp) - extract(epoch from '2026-07-11 07:33: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'), 47627, 'SRID=4674;POINT (-40.050162 -2.794473)', '2026-07-11 07:33:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050142 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.050162 -2.794473)'))) / (select extract(epoch from '2026-07-11 07:33:44'::timestamp) - extract(epoch from '2026-07-11 07:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050142 -2.794415)'), GeomFromEWKT('SRID=4674;POINT (-40.050162 -2.794473)'))) / (select extract(epoch from '2026-07-11 07:33:44'::timestamp) - extract(epoch from '2026-07-11 07:33: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'), 47627, 'SRID=4674;POINT (-40.05019 -2.794495)', '2026-07-11 07:33:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050162 -2.794473)'), GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794495)'))) / (select extract(epoch from '2026-07-11 07:33:49'::timestamp) - extract(epoch from '2026-07-11 07:33:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050162 -2.794473)'), GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794495)'))) / (select extract(epoch from '2026-07-11 07:33:49'::timestamp) - extract(epoch from '2026-07-11 07:33: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'), 47627, 'SRID=4674;POINT (-40.0502 -2.794511)', '2026-07-11 07:33:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794495)'), GeomFromEWKT('SRID=4674;POINT (-40.0502 -2.794511)'))) / (select extract(epoch from '2026-07-11 07:33:51'::timestamp) - extract(epoch from '2026-07-11 07:33:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05019 -2.794495)'), GeomFromEWKT('SRID=4674;POINT (-40.0502 -2.794511)'))) / (select extract(epoch from '2026-07-11 07:33:51'::timestamp) - extract(epoch from '2026-07-11 07:33: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'), 47627, 'SRID=4674;POINT (-40.050205 -2.794554)', '2026-07-11 07:33:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0502 -2.794511)'), GeomFromEWKT('SRID=4674;POINT (-40.050205 -2.794554)'))) / (select extract(epoch from '2026-07-11 07:33:57'::timestamp) - extract(epoch from '2026-07-11 07:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0502 -2.794511)'), GeomFromEWKT('SRID=4674;POINT (-40.050205 -2.794554)'))) / (select extract(epoch from '2026-07-11 07:33:57'::timestamp) - extract(epoch from '2026-07-11 07:33: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'), 47627, 'SRID=4674;POINT (-40.050196 -2.794563)', '2026-07-11 07:34:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050205 -2.794554)'), GeomFromEWKT('SRID=4674;POINT (-40.050196 -2.794563)'))) / (select extract(epoch from '2026-07-11 07:34:06'::timestamp) - extract(epoch from '2026-07-11 07:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050205 -2.794554)'), GeomFromEWKT('SRID=4674;POINT (-40.050196 -2.794563)'))) / (select extract(epoch from '2026-07-11 07:34:06'::timestamp) - extract(epoch from '2026-07-11 07:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050193 -2.794522)', '2026-07-11 07:34:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050196 -2.794563)'), GeomFromEWKT('SRID=4674;POINT (-40.050193 -2.794522)'))) / (select extract(epoch from '2026-07-11 07:34:13'::timestamp) - extract(epoch from '2026-07-11 07:34:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050196 -2.794563)'), GeomFromEWKT('SRID=4674;POINT (-40.050193 -2.794522)'))) / (select extract(epoch from '2026-07-11 07:34:13'::timestamp) - extract(epoch from '2026-07-11 07:34:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050192 -2.794468)', '2026-07-11 07:34:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050193 -2.794522)'), GeomFromEWKT('SRID=4674;POINT (-40.050192 -2.794468)'))) / (select extract(epoch from '2026-07-11 07:34:20'::timestamp) - extract(epoch from '2026-07-11 07:34:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050193 -2.794522)'), GeomFromEWKT('SRID=4674;POINT (-40.050192 -2.794468)'))) / (select extract(epoch from '2026-07-11 07:34:20'::timestamp) - extract(epoch from '2026-07-11 07:34: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'), 47627, 'SRID=4674;POINT (-40.050195 -2.794417)', '2026-07-11 07:34:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050192 -2.794468)'), GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.794417)'))) / (select extract(epoch from '2026-07-11 07:34:29'::timestamp) - extract(epoch from '2026-07-11 07:34:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050192 -2.794468)'), GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.794417)'))) / (select extract(epoch from '2026-07-11 07:34:29'::timestamp) - extract(epoch from '2026-07-11 07:34: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'), 47627, 'SRID=4674;POINT (-40.050192 -2.794387)', '2026-07-11 07:34:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.794417)'), GeomFromEWKT('SRID=4674;POINT (-40.050192 -2.794387)'))) / (select extract(epoch from '2026-07-11 07:34:36'::timestamp) - extract(epoch from '2026-07-11 07:34:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050195 -2.794417)'), GeomFromEWKT('SRID=4674;POINT (-40.050192 -2.794387)'))) / (select extract(epoch from '2026-07-11 07:34:36'::timestamp) - extract(epoch from '2026-07-11 07:34:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050171 -2.79435)', '2026-07-11 07:34:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050192 -2.794387)'), GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.79435)'))) / (select extract(epoch from '2026-07-11 07:34:43'::timestamp) - extract(epoch from '2026-07-11 07:34:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050192 -2.794387)'), GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.79435)'))) / (select extract(epoch from '2026-07-11 07:34:43'::timestamp) - extract(epoch from '2026-07-11 07:34: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'), 47627, 'SRID=4674;POINT (-40.05014 -2.794341)', '2026-07-11 07:34:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.79435)'), GeomFromEWKT('SRID=4674;POINT (-40.05014 -2.794341)'))) / (select extract(epoch from '2026-07-11 07:34:49'::timestamp) - extract(epoch from '2026-07-11 07:34:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050171 -2.79435)'), GeomFromEWKT('SRID=4674;POINT (-40.05014 -2.794341)'))) / (select extract(epoch from '2026-07-11 07:34:49'::timestamp) - extract(epoch from '2026-07-11 07:34:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050113 -2.794372)', '2026-07-11 07:34:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05014 -2.794341)'), GeomFromEWKT('SRID=4674;POINT (-40.050113 -2.794372)'))) / (select extract(epoch from '2026-07-11 07:34:57'::timestamp) - extract(epoch from '2026-07-11 07:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05014 -2.794341)'), GeomFromEWKT('SRID=4674;POINT (-40.050113 -2.794372)'))) / (select extract(epoch from '2026-07-11 07:34:57'::timestamp) - extract(epoch from '2026-07-11 07:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050116 -2.79438)', '2026-07-11 07:34:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050113 -2.794372)'), GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.79438)'))) / (select extract(epoch from '2026-07-11 07:34:58'::timestamp) - extract(epoch from '2026-07-11 07:34:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050113 -2.794372)'), GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.79438)'))) / (select extract(epoch from '2026-07-11 07:34:58'::timestamp) - extract(epoch from '2026-07-11 07:34: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'), 47627, 'SRID=4674;POINT (-40.050132 -2.79442)', '2026-07-11 07:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.79438)'), GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.79442)'))) / (select extract(epoch from '2026-07-11 07:35:02'::timestamp) - extract(epoch from '2026-07-11 07:34:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050116 -2.79438)'), GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.79442)'))) / (select extract(epoch from '2026-07-11 07:35:02'::timestamp) - extract(epoch from '2026-07-11 07:34: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'), 47627, 'SRID=4674;POINT (-40.050135 -2.794433)', '2026-07-11 07:35:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.79442)'), GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794433)'))) / (select extract(epoch from '2026-07-11 07:35:03'::timestamp) - extract(epoch from '2026-07-11 07:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.79442)'), GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794433)'))) / (select extract(epoch from '2026-07-11 07:35:03'::timestamp) - extract(epoch from '2026-07-11 07:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050135 -2.794444)', '2026-07-11 07:35:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794433)'), GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794444)'))) / (select extract(epoch from '2026-07-11 07:35:04'::timestamp) - extract(epoch from '2026-07-11 07:35:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794433)'), GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794444)'))) / (select extract(epoch from '2026-07-11 07:35:04'::timestamp) - extract(epoch from '2026-07-11 07:35: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'), 47627, 'SRID=4674;POINT (-40.050132 -2.794466)', '2026-07-11 07:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794444)'), GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.794466)'))) / (select extract(epoch from '2026-07-11 07:35:06'::timestamp) - extract(epoch from '2026-07-11 07:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050135 -2.794444)'), GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.794466)'))) / (select extract(epoch from '2026-07-11 07:35:06'::timestamp) - extract(epoch from '2026-07-11 07:35: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'), 47627, 'SRID=4674;POINT (-40.05013 -2.794477)', '2026-07-11 07:35:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.794466)'), GeomFromEWKT('SRID=4674;POINT (-40.05013 -2.794477)'))) / (select extract(epoch from '2026-07-11 07:35:07'::timestamp) - extract(epoch from '2026-07-11 07:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050132 -2.794466)'), GeomFromEWKT('SRID=4674;POINT (-40.05013 -2.794477)'))) / (select extract(epoch from '2026-07-11 07:35:07'::timestamp) - extract(epoch from '2026-07-11 07:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050127 -2.794488)', '2026-07-11 07:35:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05013 -2.794477)'), GeomFromEWKT('SRID=4674;POINT (-40.050127 -2.794488)'))) / (select extract(epoch from '2026-07-11 07:35:08'::timestamp) - extract(epoch from '2026-07-11 07:35:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05013 -2.794477)'), GeomFromEWKT('SRID=4674;POINT (-40.050127 -2.794488)'))) / (select extract(epoch from '2026-07-11 07:35:08'::timestamp) - extract(epoch from '2026-07-11 07:35:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050083 -2.794535)', '2026-07-11 07:35:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050127 -2.794488)'), GeomFromEWKT('SRID=4674;POINT (-40.050083 -2.794535)'))) / (select extract(epoch from '2026-07-11 07:35:14'::timestamp) - extract(epoch from '2026-07-11 07:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050127 -2.794488)'), GeomFromEWKT('SRID=4674;POINT (-40.050083 -2.794535)'))) / (select extract(epoch from '2026-07-11 07:35:14'::timestamp) - extract(epoch from '2026-07-11 07:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050053 -2.794547)', '2026-07-11 07:35:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050083 -2.794535)'), GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.794547)'))) / (select extract(epoch from '2026-07-11 07:35:18'::timestamp) - extract(epoch from '2026-07-11 07:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050083 -2.794535)'), GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.794547)'))) / (select extract(epoch from '2026-07-11 07:35:18'::timestamp) - extract(epoch from '2026-07-11 07:35:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.050036 -2.794552)', '2026-07-11 07:35:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.794547)'), GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.794552)'))) / (select extract(epoch from '2026-07-11 07:35:20'::timestamp) - extract(epoch from '2026-07-11 07:35:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.794547)'), GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.794552)'))) / (select extract(epoch from '2026-07-11 07:35:20'::timestamp) - extract(epoch from '2026-07-11 07:35: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'), 47627, 'SRID=4674;POINT (-40.050014 -2.794554)', '2026-07-11 07:35:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.794552)'), GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.794554)'))) / (select extract(epoch from '2026-07-11 07:35:23'::timestamp) - extract(epoch from '2026-07-11 07:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050036 -2.794552)'), GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.794554)'))) / (select extract(epoch from '2026-07-11 07:35:23'::timestamp) - extract(epoch from '2026-07-11 07:35: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'), 47627, 'SRID=4674;POINT (-40.049983 -2.794559)', '2026-07-11 07:35:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.794554)'), GeomFromEWKT('SRID=4674;POINT (-40.049983 -2.794559)'))) / (select extract(epoch from '2026-07-11 07:35:26'::timestamp) - extract(epoch from '2026-07-11 07:35:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050014 -2.794554)'), GeomFromEWKT('SRID=4674;POINT (-40.049983 -2.794559)'))) / (select extract(epoch from '2026-07-11 07:35:26'::timestamp) - extract(epoch from '2026-07-11 07:35: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'), 47627, 'SRID=4674;POINT (-40.049922 -2.794572)', '2026-07-11 07:35:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049983 -2.794559)'), GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.794572)'))) / (select extract(epoch from '2026-07-11 07:35:33'::timestamp) - extract(epoch from '2026-07-11 07:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049983 -2.794559)'), GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.794572)'))) / (select extract(epoch from '2026-07-11 07:35:33'::timestamp) - extract(epoch from '2026-07-11 07:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049887 -2.794657)', '2026-07-11 07:35:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.794572)'), GeomFromEWKT('SRID=4674;POINT (-40.049887 -2.794657)'))) / (select extract(epoch from '2026-07-11 07:35:41'::timestamp) - extract(epoch from '2026-07-11 07:35:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.794572)'), GeomFromEWKT('SRID=4674;POINT (-40.049887 -2.794657)'))) / (select extract(epoch from '2026-07-11 07:35:41'::timestamp) - extract(epoch from '2026-07-11 07:35:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049886 -2.79467)', '2026-07-11 07:35:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049887 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.049886 -2.79467)'))) / (select extract(epoch from '2026-07-11 07:35:42'::timestamp) - extract(epoch from '2026-07-11 07:35:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049887 -2.794657)'), GeomFromEWKT('SRID=4674;POINT (-40.049886 -2.79467)'))) / (select extract(epoch from '2026-07-11 07:35:42'::timestamp) - extract(epoch from '2026-07-11 07:35:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049878 -2.794725)', '2026-07-11 07:35:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049886 -2.79467)'), GeomFromEWKT('SRID=4674;POINT (-40.049878 -2.794725)'))) / (select extract(epoch from '2026-07-11 07:35:46'::timestamp) - extract(epoch from '2026-07-11 07:35:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049886 -2.79467)'), GeomFromEWKT('SRID=4674;POINT (-40.049878 -2.794725)'))) / (select extract(epoch from '2026-07-11 07:35:46'::timestamp) - extract(epoch from '2026-07-11 07:35: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'), 47627, 'SRID=4674;POINT (-40.049858 -2.794826)', '2026-07-11 07:35:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049878 -2.794725)'), GeomFromEWKT('SRID=4674;POINT (-40.049858 -2.794826)'))) / (select extract(epoch from '2026-07-11 07:35:53'::timestamp) - extract(epoch from '2026-07-11 07:35:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049878 -2.794725)'), GeomFromEWKT('SRID=4674;POINT (-40.049858 -2.794826)'))) / (select extract(epoch from '2026-07-11 07:35:53'::timestamp) - extract(epoch from '2026-07-11 07:35:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04985 -2.794855)', '2026-07-11 07:35:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049858 -2.794826)'), GeomFromEWKT('SRID=4674;POINT (-40.04985 -2.794855)'))) / (select extract(epoch from '2026-07-11 07:35:55'::timestamp) - extract(epoch from '2026-07-11 07:35:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049858 -2.794826)'), GeomFromEWKT('SRID=4674;POINT (-40.04985 -2.794855)'))) / (select extract(epoch from '2026-07-11 07:35:55'::timestamp) - extract(epoch from '2026-07-11 07:35: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'), 47627, 'SRID=4674;POINT (-40.049837 -2.7949)', '2026-07-11 07:35:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04985 -2.794855)'), GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.7949)'))) / (select extract(epoch from '2026-07-11 07:35:58'::timestamp) - extract(epoch from '2026-07-11 07:35:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04985 -2.794855)'), GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.7949)'))) / (select extract(epoch from '2026-07-11 07:35:58'::timestamp) - extract(epoch from '2026-07-11 07:35: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'), 47627, 'SRID=4674;POINT (-40.049804 -2.794984)', '2026-07-11 07:36:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.7949)'), GeomFromEWKT('SRID=4674;POINT (-40.049804 -2.794984)'))) / (select extract(epoch from '2026-07-11 07:36:04'::timestamp) - extract(epoch from '2026-07-11 07:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049837 -2.7949)'), GeomFromEWKT('SRID=4674;POINT (-40.049804 -2.794984)'))) / (select extract(epoch from '2026-07-11 07:36:04'::timestamp) - extract(epoch from '2026-07-11 07:35: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'), 47627, 'SRID=4674;POINT (-40.049772 -2.795077)', '2026-07-11 07:36:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049804 -2.794984)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795077)'))) / (select extract(epoch from '2026-07-11 07:36:11'::timestamp) - extract(epoch from '2026-07-11 07:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049804 -2.794984)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795077)'))) / (select extract(epoch from '2026-07-11 07:36:11'::timestamp) - extract(epoch from '2026-07-11 07:36: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'), 47627, 'SRID=4674;POINT (-40.04974 -2.795169)', '2026-07-11 07:36:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795077)'), GeomFromEWKT('SRID=4674;POINT (-40.04974 -2.795169)'))) / (select extract(epoch from '2026-07-11 07:36:18'::timestamp) - extract(epoch from '2026-07-11 07:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795077)'), GeomFromEWKT('SRID=4674;POINT (-40.04974 -2.795169)'))) / (select extract(epoch from '2026-07-11 07:36:18'::timestamp) - extract(epoch from '2026-07-11 07:36: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'), 47627, 'SRID=4674;POINT (-40.049741 -2.795192)', '2026-07-11 07:36:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04974 -2.795169)'), GeomFromEWKT('SRID=4674;POINT (-40.049741 -2.795192)'))) / (select extract(epoch from '2026-07-11 07:36:20'::timestamp) - extract(epoch from '2026-07-11 07:36:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04974 -2.795169)'), GeomFromEWKT('SRID=4674;POINT (-40.049741 -2.795192)'))) / (select extract(epoch from '2026-07-11 07:36:20'::timestamp) - extract(epoch from '2026-07-11 07:36:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049749 -2.795226)', '2026-07-11 07:36:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049741 -2.795192)'), GeomFromEWKT('SRID=4674;POINT (-40.049749 -2.795226)'))) / (select extract(epoch from '2026-07-11 07:36:23'::timestamp) - extract(epoch from '2026-07-11 07:36:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049741 -2.795192)'), GeomFromEWKT('SRID=4674;POINT (-40.049749 -2.795226)'))) / (select extract(epoch from '2026-07-11 07:36:23'::timestamp) - extract(epoch from '2026-07-11 07:36:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049767 -2.795324)', '2026-07-11 07:36:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049749 -2.795226)'), GeomFromEWKT('SRID=4674;POINT (-40.049767 -2.795324)'))) / (select extract(epoch from '2026-07-11 07:36:31'::timestamp) - extract(epoch from '2026-07-11 07:36:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049749 -2.795226)'), GeomFromEWKT('SRID=4674;POINT (-40.049767 -2.795324)'))) / (select extract(epoch from '2026-07-11 07:36:31'::timestamp) - extract(epoch from '2026-07-11 07:36: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'), 47627, 'SRID=4674;POINT (-40.049776 -2.795355)', '2026-07-11 07:36:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049767 -2.795324)'), GeomFromEWKT('SRID=4674;POINT (-40.049776 -2.795355)'))) / (select extract(epoch from '2026-07-11 07:36:34'::timestamp) - extract(epoch from '2026-07-11 07:36:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049767 -2.795324)'), GeomFromEWKT('SRID=4674;POINT (-40.049776 -2.795355)'))) / (select extract(epoch from '2026-07-11 07:36:34'::timestamp) - extract(epoch from '2026-07-11 07:36: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'), 47627, 'SRID=4674;POINT (-40.049785 -2.79538)', '2026-07-11 07:36:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049776 -2.795355)'), GeomFromEWKT('SRID=4674;POINT (-40.049785 -2.79538)'))) / (select extract(epoch from '2026-07-11 07:36:37'::timestamp) - extract(epoch from '2026-07-11 07:36:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049776 -2.795355)'), GeomFromEWKT('SRID=4674;POINT (-40.049785 -2.79538)'))) / (select extract(epoch from '2026-07-11 07:36:37'::timestamp) - extract(epoch from '2026-07-11 07:36: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'), 47627, 'SRID=4674;POINT (-40.049803 -2.795406)', '2026-07-11 07:36:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049785 -2.79538)'), GeomFromEWKT('SRID=4674;POINT (-40.049803 -2.795406)'))) / (select extract(epoch from '2026-07-11 07:36:41'::timestamp) - extract(epoch from '2026-07-11 07:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049785 -2.79538)'), GeomFromEWKT('SRID=4674;POINT (-40.049803 -2.795406)'))) / (select extract(epoch from '2026-07-11 07:36:41'::timestamp) - extract(epoch from '2026-07-11 07:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049814 -2.795418)', '2026-07-11 07:36:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049803 -2.795406)'), GeomFromEWKT('SRID=4674;POINT (-40.049814 -2.795418)'))) / (select extract(epoch from '2026-07-11 07:36:43'::timestamp) - extract(epoch from '2026-07-11 07:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049803 -2.795406)'), GeomFromEWKT('SRID=4674;POINT (-40.049814 -2.795418)'))) / (select extract(epoch from '2026-07-11 07:36:43'::timestamp) - extract(epoch from '2026-07-11 07:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049898 -2.795449)', '2026-07-11 07:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049814 -2.795418)'), GeomFromEWKT('SRID=4674;POINT (-40.049898 -2.795449)'))) / (select extract(epoch from '2026-07-11 07:36:51'::timestamp) - extract(epoch from '2026-07-11 07:36:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049814 -2.795418)'), GeomFromEWKT('SRID=4674;POINT (-40.049898 -2.795449)'))) / (select extract(epoch from '2026-07-11 07:36:51'::timestamp) - extract(epoch from '2026-07-11 07:36: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'), 47627, 'SRID=4674;POINT (-40.049952 -2.795414)', '2026-07-11 07:36:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049898 -2.795449)'), GeomFromEWKT('SRID=4674;POINT (-40.049952 -2.795414)'))) / (select extract(epoch from '2026-07-11 07:36:56'::timestamp) - extract(epoch from '2026-07-11 07:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049898 -2.795449)'), GeomFromEWKT('SRID=4674;POINT (-40.049952 -2.795414)'))) / (select extract(epoch from '2026-07-11 07:36:56'::timestamp) - extract(epoch from '2026-07-11 07:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049958 -2.795403)', '2026-07-11 07:36:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049952 -2.795414)'), GeomFromEWKT('SRID=4674;POINT (-40.049958 -2.795403)'))) / (select extract(epoch from '2026-07-11 07:36:57'::timestamp) - extract(epoch from '2026-07-11 07:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049952 -2.795414)'), GeomFromEWKT('SRID=4674;POINT (-40.049958 -2.795403)'))) / (select extract(epoch from '2026-07-11 07:36:57'::timestamp) - extract(epoch from '2026-07-11 07:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.04997 -2.795341)', '2026-07-11 07:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049958 -2.795403)'), GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.795341)'))) / (select extract(epoch from '2026-07-11 07:37:03'::timestamp) - extract(epoch from '2026-07-11 07:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049958 -2.795403)'), GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.795341)'))) / (select extract(epoch from '2026-07-11 07:37:03'::timestamp) - extract(epoch from '2026-07-11 07:36:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049954 -2.795307)', '2026-07-11 07:37:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.795341)'), GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.795307)'))) / (select extract(epoch from '2026-07-11 07:37:10'::timestamp) - extract(epoch from '2026-07-11 07:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04997 -2.795341)'), GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.795307)'))) / (select extract(epoch from '2026-07-11 07:37:10'::timestamp) - extract(epoch from '2026-07-11 07:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049922 -2.795292)', '2026-07-11 07:37:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.795307)'), GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.795292)'))) / (select extract(epoch from '2026-07-11 07:37:15'::timestamp) - extract(epoch from '2026-07-11 07:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049954 -2.795307)'), GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.795292)'))) / (select extract(epoch from '2026-07-11 07:37:15'::timestamp) - extract(epoch from '2026-07-11 07:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049897 -2.795288)', '2026-07-11 07:37:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.795292)'), GeomFromEWKT('SRID=4674;POINT (-40.049897 -2.795288)'))) / (select extract(epoch from '2026-07-11 07:37:21'::timestamp) - extract(epoch from '2026-07-11 07:37:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049922 -2.795292)'), GeomFromEWKT('SRID=4674;POINT (-40.049897 -2.795288)'))) / (select extract(epoch from '2026-07-11 07:37:21'::timestamp) - extract(epoch from '2026-07-11 07:37:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049849 -2.795324)', '2026-07-11 07:37:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049897 -2.795288)'), GeomFromEWKT('SRID=4674;POINT (-40.049849 -2.795324)'))) / (select extract(epoch from '2026-07-11 07:37:32'::timestamp) - extract(epoch from '2026-07-11 07:37:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049897 -2.795288)'), GeomFromEWKT('SRID=4674;POINT (-40.049849 -2.795324)'))) / (select extract(epoch from '2026-07-11 07:37:32'::timestamp) - extract(epoch from '2026-07-11 07:37:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049818 -2.795327)', '2026-07-11 07:37:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049849 -2.795324)'), GeomFromEWKT('SRID=4674;POINT (-40.049818 -2.795327)'))) / (select extract(epoch from '2026-07-11 07:37:38'::timestamp) - extract(epoch from '2026-07-11 07:37:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049849 -2.795324)'), GeomFromEWKT('SRID=4674;POINT (-40.049818 -2.795327)'))) / (select extract(epoch from '2026-07-11 07:37:38'::timestamp) - extract(epoch from '2026-07-11 07:37:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049772 -2.795329)', '2026-07-11 07:37:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049818 -2.795327)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795329)'))) / (select extract(epoch from '2026-07-11 07:37:46'::timestamp) - extract(epoch from '2026-07-11 07:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049818 -2.795327)'), GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795329)'))) / (select extract(epoch from '2026-07-11 07:37:46'::timestamp) - extract(epoch from '2026-07-11 07:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049751 -2.795335)', '2026-07-11 07:37:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795329)'), GeomFromEWKT('SRID=4674;POINT (-40.049751 -2.795335)'))) / (select extract(epoch from '2026-07-11 07:37:52'::timestamp) - extract(epoch from '2026-07-11 07:37:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049772 -2.795329)'), GeomFromEWKT('SRID=4674;POINT (-40.049751 -2.795335)'))) / (select extract(epoch from '2026-07-11 07:37:52'::timestamp) - extract(epoch from '2026-07-11 07:37: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'), 47627, 'SRID=4674;POINT (-40.049736 -2.795319)', '2026-07-11 07:38:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049751 -2.795335)'), GeomFromEWKT('SRID=4674;POINT (-40.049736 -2.795319)'))) / (select extract(epoch from '2026-07-11 07:38:02'::timestamp) - extract(epoch from '2026-07-11 07:37:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049751 -2.795335)'), GeomFromEWKT('SRID=4674;POINT (-40.049736 -2.795319)'))) / (select extract(epoch from '2026-07-11 07:38:02'::timestamp) - extract(epoch from '2026-07-11 07:37: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'), 47627, 'SRID=4674;POINT (-40.049727 -2.795288)', '2026-07-11 07:38:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049736 -2.795319)'), GeomFromEWKT('SRID=4674;POINT (-40.049727 -2.795288)'))) / (select extract(epoch from '2026-07-11 07:38:10'::timestamp) - extract(epoch from '2026-07-11 07:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049736 -2.795319)'), GeomFromEWKT('SRID=4674;POINT (-40.049727 -2.795288)'))) / (select extract(epoch from '2026-07-11 07:38:10'::timestamp) - extract(epoch from '2026-07-11 07:38:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049704 -2.795278)', '2026-07-11 07:38:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049727 -2.795288)'), GeomFromEWKT('SRID=4674;POINT (-40.049704 -2.795278)'))) / (select extract(epoch from '2026-07-11 07:38:17'::timestamp) - extract(epoch from '2026-07-11 07:38:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049727 -2.795288)'), GeomFromEWKT('SRID=4674;POINT (-40.049704 -2.795278)'))) / (select extract(epoch from '2026-07-11 07:38:17'::timestamp) - extract(epoch from '2026-07-11 07:38: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'), 47627, 'SRID=4674;POINT (-40.049669 -2.795275)', '2026-07-11 07:38:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049704 -2.795278)'), GeomFromEWKT('SRID=4674;POINT (-40.049669 -2.795275)'))) / (select extract(epoch from '2026-07-11 07:38:26'::timestamp) - extract(epoch from '2026-07-11 07:38:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049704 -2.795278)'), GeomFromEWKT('SRID=4674;POINT (-40.049669 -2.795275)'))) / (select extract(epoch from '2026-07-11 07:38:26'::timestamp) - extract(epoch from '2026-07-11 07:38: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'), 47627, 'SRID=4674;POINT (-40.049654 -2.795299)', '2026-07-11 07:38:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049669 -2.795275)'), GeomFromEWKT('SRID=4674;POINT (-40.049654 -2.795299)'))) / (select extract(epoch from '2026-07-11 07:38:33'::timestamp) - extract(epoch from '2026-07-11 07:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049669 -2.795275)'), GeomFromEWKT('SRID=4674;POINT (-40.049654 -2.795299)'))) / (select extract(epoch from '2026-07-11 07:38:33'::timestamp) - extract(epoch from '2026-07-11 07:38: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'), 47627, 'SRID=4674;POINT (-40.049679 -2.795344)', '2026-07-11 07:38:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049654 -2.795299)'), GeomFromEWKT('SRID=4674;POINT (-40.049679 -2.795344)'))) / (select extract(epoch from '2026-07-11 07:38:44'::timestamp) - extract(epoch from '2026-07-11 07:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049654 -2.795299)'), GeomFromEWKT('SRID=4674;POINT (-40.049679 -2.795344)'))) / (select extract(epoch from '2026-07-11 07:38:44'::timestamp) - extract(epoch from '2026-07-11 07:38: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'), 47627, 'SRID=4674;POINT (-40.049721 -2.795329)', '2026-07-11 07:38:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049679 -2.795344)'), GeomFromEWKT('SRID=4674;POINT (-40.049721 -2.795329)'))) / (select extract(epoch from '2026-07-11 07:38:55'::timestamp) - extract(epoch from '2026-07-11 07:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049679 -2.795344)'), GeomFromEWKT('SRID=4674;POINT (-40.049721 -2.795329)'))) / (select extract(epoch from '2026-07-11 07:38:55'::timestamp) - extract(epoch from '2026-07-11 07:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049774 -2.795303)', '2026-07-11 07:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049721 -2.795329)'), GeomFromEWKT('SRID=4674;POINT (-40.049774 -2.795303)'))) / (select extract(epoch from '2026-07-11 07:39:12'::timestamp) - extract(epoch from '2026-07-11 07:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049721 -2.795329)'), GeomFromEWKT('SRID=4674;POINT (-40.049774 -2.795303)'))) / (select extract(epoch from '2026-07-11 07:39:12'::timestamp) - extract(epoch from '2026-07-11 07:38: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'), 47627, 'SRID=4674;POINT (-40.049802 -2.795285)', '2026-07-11 07:39:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049774 -2.795303)'), GeomFromEWKT('SRID=4674;POINT (-40.049802 -2.795285)'))) / (select extract(epoch from '2026-07-11 07:39:31'::timestamp) - extract(epoch from '2026-07-11 07:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049774 -2.795303)'), GeomFromEWKT('SRID=4674;POINT (-40.049802 -2.795285)'))) / (select extract(epoch from '2026-07-11 07:39:31'::timestamp) - extract(epoch from '2026-07-11 07:39: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'), 47627, 'SRID=4674;POINT (-40.049811 -2.795302)', '2026-07-11 07:40:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049802 -2.795285)'), GeomFromEWKT('SRID=4674;POINT (-40.049811 -2.795302)'))) / (select extract(epoch from '2026-07-11 07:40:13'::timestamp) - extract(epoch from '2026-07-11 07:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049802 -2.795285)'), GeomFromEWKT('SRID=4674;POINT (-40.049811 -2.795302)'))) / (select extract(epoch from '2026-07-11 07:40:13'::timestamp) - extract(epoch from '2026-07-11 07:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049805 -2.795305)', '2026-07-11 07:40:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049811 -2.795302)'), GeomFromEWKT('SRID=4674;POINT (-40.049805 -2.795305)'))) / (select extract(epoch from '2026-07-11 07:40:49'::timestamp) - extract(epoch from '2026-07-11 07:40:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049811 -2.795302)'), GeomFromEWKT('SRID=4674;POINT (-40.049805 -2.795305)'))) / (select extract(epoch from '2026-07-11 07:40:49'::timestamp) - extract(epoch from '2026-07-11 07:40: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'), 47627, 'SRID=4674;POINT (-40.049816 -2.795328)', '2026-07-11 07:41:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049805 -2.795305)'), GeomFromEWKT('SRID=4674;POINT (-40.049816 -2.795328)'))) / (select extract(epoch from '2026-07-11 07:41:11'::timestamp) - extract(epoch from '2026-07-11 07:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049805 -2.795305)'), GeomFromEWKT('SRID=4674;POINT (-40.049816 -2.795328)'))) / (select extract(epoch from '2026-07-11 07:41:11'::timestamp) - extract(epoch from '2026-07-11 07:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049806 -2.795327)', '2026-07-11 07:41:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049816 -2.795328)'), GeomFromEWKT('SRID=4674;POINT (-40.049806 -2.795327)'))) / (select extract(epoch from '2026-07-11 07:41:44'::timestamp) - extract(epoch from '2026-07-11 07:41:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049816 -2.795328)'), GeomFromEWKT('SRID=4674;POINT (-40.049806 -2.795327)'))) / (select extract(epoch from '2026-07-11 07:41:44'::timestamp) - extract(epoch from '2026-07-11 07:41:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049818 -2.795354)', '2026-07-11 07:42:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049806 -2.795327)'), GeomFromEWKT('SRID=4674;POINT (-40.049818 -2.795354)'))) / (select extract(epoch from '2026-07-11 07:42:38'::timestamp) - extract(epoch from '2026-07-11 07:41:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049806 -2.795327)'), GeomFromEWKT('SRID=4674;POINT (-40.049818 -2.795354)'))) / (select extract(epoch from '2026-07-11 07:42:38'::timestamp) - extract(epoch from '2026-07-11 07:41: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'), 47627, 'SRID=4674;POINT (-40.049817 -2.795322)', '2026-07-11 07:43:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049818 -2.795354)'), GeomFromEWKT('SRID=4674;POINT (-40.049817 -2.795322)'))) / (select extract(epoch from '2026-07-11 07:43:17'::timestamp) - extract(epoch from '2026-07-11 07:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049818 -2.795354)'), GeomFromEWKT('SRID=4674;POINT (-40.049817 -2.795322)'))) / (select extract(epoch from '2026-07-11 07:43:17'::timestamp) - extract(epoch from '2026-07-11 07:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049822 -2.795317)', '2026-07-11 07:43:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049817 -2.795322)'), GeomFromEWKT('SRID=4674;POINT (-40.049822 -2.795317)'))) / (select extract(epoch from '2026-07-11 07:43:39'::timestamp) - extract(epoch from '2026-07-11 07:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049817 -2.795322)'), GeomFromEWKT('SRID=4674;POINT (-40.049822 -2.795317)'))) / (select extract(epoch from '2026-07-11 07:43:39'::timestamp) - extract(epoch from '2026-07-11 07:43: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'), 47627, 'SRID=4674;POINT (-40.049825 -2.795327)', '2026-07-11 07:43:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049822 -2.795317)'), GeomFromEWKT('SRID=4674;POINT (-40.049825 -2.795327)'))) / (select extract(epoch from '2026-07-11 07:43:49'::timestamp) - extract(epoch from '2026-07-11 07:43:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049822 -2.795317)'), GeomFromEWKT('SRID=4674;POINT (-40.049825 -2.795327)'))) / (select extract(epoch from '2026-07-11 07:43:49'::timestamp) - extract(epoch from '2026-07-11 07:43: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'), 47627, 'SRID=4674;POINT (-40.049828 -2.795334)', '2026-07-11 07:44:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049825 -2.795327)'), GeomFromEWKT('SRID=4674;POINT (-40.049828 -2.795334)'))) / (select extract(epoch from '2026-07-11 07:44:03'::timestamp) - extract(epoch from '2026-07-11 07:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049825 -2.795327)'), GeomFromEWKT('SRID=4674;POINT (-40.049828 -2.795334)'))) / (select extract(epoch from '2026-07-11 07:44:03'::timestamp) - extract(epoch from '2026-07-11 07:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049806 -2.79532)', '2026-07-11 07:44:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049828 -2.795334)'), GeomFromEWKT('SRID=4674;POINT (-40.049806 -2.79532)'))) / (select extract(epoch from '2026-07-11 07:44:18'::timestamp) - extract(epoch from '2026-07-11 07:44:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049828 -2.795334)'), GeomFromEWKT('SRID=4674;POINT (-40.049806 -2.79532)'))) / (select extract(epoch from '2026-07-11 07:44:18'::timestamp) - extract(epoch from '2026-07-11 07:44: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'), 47627, 'SRID=4674;POINT (-40.049747 -2.795365)', '2026-07-11 07:44:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049806 -2.79532)'), GeomFromEWKT('SRID=4674;POINT (-40.049747 -2.795365)'))) / (select extract(epoch from '2026-07-11 07:44:29'::timestamp) - extract(epoch from '2026-07-11 07:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049806 -2.79532)'), GeomFromEWKT('SRID=4674;POINT (-40.049747 -2.795365)'))) / (select extract(epoch from '2026-07-11 07:44:29'::timestamp) - extract(epoch from '2026-07-11 07:44: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'), 47627, 'SRID=4674;POINT (-40.04969 -2.795396)', '2026-07-11 07:44:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049747 -2.795365)'), GeomFromEWKT('SRID=4674;POINT (-40.04969 -2.795396)'))) / (select extract(epoch from '2026-07-11 07:44:39'::timestamp) - extract(epoch from '2026-07-11 07:44:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049747 -2.795365)'), GeomFromEWKT('SRID=4674;POINT (-40.04969 -2.795396)'))) / (select extract(epoch from '2026-07-11 07:44:39'::timestamp) - extract(epoch from '2026-07-11 07:44:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049657 -2.795439)', '2026-07-11 07:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04969 -2.795396)'), GeomFromEWKT('SRID=4674;POINT (-40.049657 -2.795439)'))) / (select extract(epoch from '2026-07-11 07:44:49'::timestamp) - extract(epoch from '2026-07-11 07:44:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04969 -2.795396)'), GeomFromEWKT('SRID=4674;POINT (-40.049657 -2.795439)'))) / (select extract(epoch from '2026-07-11 07:44:49'::timestamp) - extract(epoch from '2026-07-11 07:44:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049684 -2.795507)', '2026-07-11 07:44:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049657 -2.795439)'), GeomFromEWKT('SRID=4674;POINT (-40.049684 -2.795507)'))) / (select extract(epoch from '2026-07-11 07:44:56'::timestamp) - extract(epoch from '2026-07-11 07:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049657 -2.795439)'), GeomFromEWKT('SRID=4674;POINT (-40.049684 -2.795507)'))) / (select extract(epoch from '2026-07-11 07:44:56'::timestamp) - extract(epoch from '2026-07-11 07:44: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'), 47627, 'SRID=4674;POINT (-40.049692 -2.79552)', '2026-07-11 07:44:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049684 -2.795507)'), GeomFromEWKT('SRID=4674;POINT (-40.049692 -2.79552)'))) / (select extract(epoch from '2026-07-11 07:44:57'::timestamp) - extract(epoch from '2026-07-11 07:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049684 -2.795507)'), GeomFromEWKT('SRID=4674;POINT (-40.049692 -2.79552)'))) / (select extract(epoch from '2026-07-11 07:44:57'::timestamp) - extract(epoch from '2026-07-11 07:44: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'), 47627, 'SRID=4674;POINT (-40.049721 -2.795577)', '2026-07-11 07:45:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049692 -2.79552)'), GeomFromEWKT('SRID=4674;POINT (-40.049721 -2.795577)'))) / (select extract(epoch from '2026-07-11 07:45:01'::timestamp) - extract(epoch from '2026-07-11 07:44:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049692 -2.79552)'), GeomFromEWKT('SRID=4674;POINT (-40.049721 -2.795577)'))) / (select extract(epoch from '2026-07-11 07:45:01'::timestamp) - extract(epoch from '2026-07-11 07:44:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049732 -2.79559)', '2026-07-11 07:45:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049721 -2.795577)'), GeomFromEWKT('SRID=4674;POINT (-40.049732 -2.79559)'))) / (select extract(epoch from '2026-07-11 07:45:02'::timestamp) - extract(epoch from '2026-07-11 07:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049721 -2.795577)'), GeomFromEWKT('SRID=4674;POINT (-40.049732 -2.79559)'))) / (select extract(epoch from '2026-07-11 07:45:02'::timestamp) - extract(epoch from '2026-07-11 07:45:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47627, 'SRID=4674;POINT (-40.049784 -2.795681)', '2026-07-11 07:45:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049732 -2.79559)'), GeomFromEWKT('SRID=4674;POINT (-40.049784 -2.795681)'))) / (select extract(epoch from '2026-07-11 07:45:08'::timestamp) - extract(epoch from '2026-07-11 07:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049732 -2.79559)'), GeomFromEWKT('SRID=4674;POINT (-40.049784 -2.795681)'))) / (select extract(epoch from '2026-07-11 07:45:08'::timestamp) - extract(epoch from '2026-07-11 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'), 47627, 'SRID=4674;POINT (-40.049841 -2.795788)', '2026-07-11 07:45:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049784 -2.795681)'), GeomFromEWKT('SRID=4674;POINT (-40.049841 -2.795788)'))) / (select extract(epoch from '2026-07-11 07:45:15'::timestamp) - extract(epoch from '2026-07-11 07:45:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049784 -2.795681)'), GeomFromEWKT('SRID=4674;POINT (-40.049841 -2.795788)'))) / (select extract(epoch from '2026-07-11 07:45:15'::timestamp) - extract(epoch from '2026-07-11 07:45: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'), 47627, 'SRID=4674;POINT (-40.049965 -2.79588)', '2026-07-11 07:45:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049841 -2.795788)'), GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.79588)'))) / (select extract(epoch from '2026-07-11 07:45:23'::timestamp) - extract(epoch from '2026-07-11 07:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049841 -2.795788)'), GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.79588)'))) / (select extract(epoch from '2026-07-11 07:45:23'::timestamp) - extract(epoch from '2026-07-11 07:45: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'), 47627, 'SRID=4674;POINT (-40.050096 -2.795923)', '2026-07-11 07:45:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.79588)'), GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.795923)'))) / (select extract(epoch from '2026-07-11 07:45:30'::timestamp) - extract(epoch from '2026-07-11 07:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049965 -2.79588)'), GeomFromEWKT('SRID=4674;POINT (-40.050096 -2.795923)'))) / (select extract(epoch from '2026-07-11 07:45:30'::timestamp) - extract(epoch from '2026-07-11 07:45:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
