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'), 46939, 'SRID=4674;POINT (-40.040017 -2.836798)', '2026-06-06 10:34:24', 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'), 46939, 'SRID=4674;POINT (-40.040047 -2.836604)', '2026-06-06 10:34:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040017 -2.836798)'), GeomFromEWKT('SRID=4674;POINT (-40.040047 -2.836604)'))) / (select extract(epoch from '2026-06-06 10:34:33'::timestamp) - extract(epoch from '2026-06-06 10:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040017 -2.836798)'), GeomFromEWKT('SRID=4674;POINT (-40.040047 -2.836604)'))) / (select extract(epoch from '2026-06-06 10:34:33'::timestamp) - extract(epoch from '2026-06-06 10:34: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'), 46939, 'SRID=4674;POINT (-40.040048 -2.836374)', '2026-06-06 10:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040047 -2.836604)'), GeomFromEWKT('SRID=4674;POINT (-40.040048 -2.836374)'))) / (select extract(epoch from '2026-06-06 10:34:45'::timestamp) - extract(epoch from '2026-06-06 10:34:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040047 -2.836604)'), GeomFromEWKT('SRID=4674;POINT (-40.040048 -2.836374)'))) / (select extract(epoch from '2026-06-06 10:34:45'::timestamp) - extract(epoch from '2026-06-06 10:34: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'), 46939, 'SRID=4674;POINT (-40.040107 -2.83607)', '2026-06-06 10:35:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040048 -2.836374)'), GeomFromEWKT('SRID=4674;POINT (-40.040107 -2.83607)'))) / (select extract(epoch from '2026-06-06 10:35:01'::timestamp) - extract(epoch from '2026-06-06 10:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040048 -2.836374)'), GeomFromEWKT('SRID=4674;POINT (-40.040107 -2.83607)'))) / (select extract(epoch from '2026-06-06 10:35:01'::timestamp) - extract(epoch from '2026-06-06 10:34: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'), 46939, 'SRID=4674;POINT (-40.040144 -2.835874)', '2026-06-06 10:35:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040107 -2.83607)'), GeomFromEWKT('SRID=4674;POINT (-40.040144 -2.835874)'))) / (select extract(epoch from '2026-06-06 10:35:11'::timestamp) - extract(epoch from '2026-06-06 10:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040107 -2.83607)'), GeomFromEWKT('SRID=4674;POINT (-40.040144 -2.835874)'))) / (select extract(epoch from '2026-06-06 10:35:11'::timestamp) - extract(epoch from '2026-06-06 10:35: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'), 46939, 'SRID=4674;POINT (-40.040238 -2.83566)', '2026-06-06 10:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040144 -2.835874)'), GeomFromEWKT('SRID=4674;POINT (-40.040238 -2.83566)'))) / (select extract(epoch from '2026-06-06 10:35:22'::timestamp) - extract(epoch from '2026-06-06 10:35:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040144 -2.835874)'), GeomFromEWKT('SRID=4674;POINT (-40.040238 -2.83566)'))) / (select extract(epoch from '2026-06-06 10:35:22'::timestamp) - extract(epoch from '2026-06-06 10:35: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'), 46939, 'SRID=4674;POINT (-40.040327 -2.835331)', '2026-06-06 10:35:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040238 -2.83566)'), GeomFromEWKT('SRID=4674;POINT (-40.040327 -2.835331)'))) / (select extract(epoch from '2026-06-06 10:35:38'::timestamp) - extract(epoch from '2026-06-06 10:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040238 -2.83566)'), GeomFromEWKT('SRID=4674;POINT (-40.040327 -2.835331)'))) / (select extract(epoch from '2026-06-06 10:35:38'::timestamp) - extract(epoch from '2026-06-06 10:35: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'), 46939, 'SRID=4674;POINT (-40.040371 -2.835096)', '2026-06-06 10:35:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040327 -2.835331)'), GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.835096)'))) / (select extract(epoch from '2026-06-06 10:35:49'::timestamp) - extract(epoch from '2026-06-06 10:35:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040327 -2.835331)'), GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.835096)'))) / (select extract(epoch from '2026-06-06 10:35:49'::timestamp) - extract(epoch from '2026-06-06 10:35: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'), 46939, 'SRID=4674;POINT (-40.040388 -2.834886)', '2026-06-06 10:35:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.835096)'), GeomFromEWKT('SRID=4674;POINT (-40.040388 -2.834886)'))) / (select extract(epoch from '2026-06-06 10:35:59'::timestamp) - extract(epoch from '2026-06-06 10:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040371 -2.835096)'), GeomFromEWKT('SRID=4674;POINT (-40.040388 -2.834886)'))) / (select extract(epoch from '2026-06-06 10:35:59'::timestamp) - extract(epoch from '2026-06-06 10:35: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'), 46939, 'SRID=4674;POINT (-40.040399 -2.834566)', '2026-06-06 10:36:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040388 -2.834886)'), GeomFromEWKT('SRID=4674;POINT (-40.040399 -2.834566)'))) / (select extract(epoch from '2026-06-06 10:36:14'::timestamp) - extract(epoch from '2026-06-06 10:35:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040388 -2.834886)'), GeomFromEWKT('SRID=4674;POINT (-40.040399 -2.834566)'))) / (select extract(epoch from '2026-06-06 10:36:14'::timestamp) - extract(epoch from '2026-06-06 10:35: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'), 46939, 'SRID=4674;POINT (-40.040437 -2.834225)', '2026-06-06 10:36:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040399 -2.834566)'), GeomFromEWKT('SRID=4674;POINT (-40.040437 -2.834225)'))) / (select extract(epoch from '2026-06-06 10:36:30'::timestamp) - extract(epoch from '2026-06-06 10:36:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040399 -2.834566)'), GeomFromEWKT('SRID=4674;POINT (-40.040437 -2.834225)'))) / (select extract(epoch from '2026-06-06 10:36:30'::timestamp) - extract(epoch from '2026-06-06 10:36: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'), 46939, 'SRID=4674;POINT (-40.040499 -2.833902)', '2026-06-06 10:36:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040437 -2.834225)'), GeomFromEWKT('SRID=4674;POINT (-40.040499 -2.833902)'))) / (select extract(epoch from '2026-06-06 10:36:45'::timestamp) - extract(epoch from '2026-06-06 10:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040437 -2.834225)'), GeomFromEWKT('SRID=4674;POINT (-40.040499 -2.833902)'))) / (select extract(epoch from '2026-06-06 10:36:45'::timestamp) - extract(epoch from '2026-06-06 10:36:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.040552 -2.833606)', '2026-06-06 10:36:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040499 -2.833902)'), GeomFromEWKT('SRID=4674;POINT (-40.040552 -2.833606)'))) / (select extract(epoch from '2026-06-06 10:36:59'::timestamp) - extract(epoch from '2026-06-06 10:36:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040499 -2.833902)'), GeomFromEWKT('SRID=4674;POINT (-40.040552 -2.833606)'))) / (select extract(epoch from '2026-06-06 10:36:59'::timestamp) - extract(epoch from '2026-06-06 10:36: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'), 46939, 'SRID=4674;POINT (-40.040623 -2.833307)', '2026-06-06 10:37:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040552 -2.833606)'), GeomFromEWKT('SRID=4674;POINT (-40.040623 -2.833307)'))) / (select extract(epoch from '2026-06-06 10:37:13'::timestamp) - extract(epoch from '2026-06-06 10:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040552 -2.833606)'), GeomFromEWKT('SRID=4674;POINT (-40.040623 -2.833307)'))) / (select extract(epoch from '2026-06-06 10:37:13'::timestamp) - extract(epoch from '2026-06-06 10:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.040679 -2.833082)', '2026-06-06 10:37:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040623 -2.833307)'), GeomFromEWKT('SRID=4674;POINT (-40.040679 -2.833082)'))) / (select extract(epoch from '2026-06-06 10:37:24'::timestamp) - extract(epoch from '2026-06-06 10:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040623 -2.833307)'), GeomFromEWKT('SRID=4674;POINT (-40.040679 -2.833082)'))) / (select extract(epoch from '2026-06-06 10:37:24'::timestamp) - extract(epoch from '2026-06-06 10:37: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'), 46939, 'SRID=4674;POINT (-40.040731 -2.832802)', '2026-06-06 10:37:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040679 -2.833082)'), GeomFromEWKT('SRID=4674;POINT (-40.040731 -2.832802)'))) / (select extract(epoch from '2026-06-06 10:37:37'::timestamp) - extract(epoch from '2026-06-06 10:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040679 -2.833082)'), GeomFromEWKT('SRID=4674;POINT (-40.040731 -2.832802)'))) / (select extract(epoch from '2026-06-06 10:37:37'::timestamp) - extract(epoch from '2026-06-06 10:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.04079 -2.832576)', '2026-06-06 10:37:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040731 -2.832802)'), GeomFromEWKT('SRID=4674;POINT (-40.04079 -2.832576)'))) / (select extract(epoch from '2026-06-06 10:37:48'::timestamp) - extract(epoch from '2026-06-06 10:37:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040731 -2.832802)'), GeomFromEWKT('SRID=4674;POINT (-40.04079 -2.832576)'))) / (select extract(epoch from '2026-06-06 10:37:48'::timestamp) - extract(epoch from '2026-06-06 10:37: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'), 46939, 'SRID=4674;POINT (-40.040845 -2.832271)', '2026-06-06 10:38:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04079 -2.832576)'), GeomFromEWKT('SRID=4674;POINT (-40.040845 -2.832271)'))) / (select extract(epoch from '2026-06-06 10:38:02'::timestamp) - extract(epoch from '2026-06-06 10:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04079 -2.832576)'), GeomFromEWKT('SRID=4674;POINT (-40.040845 -2.832271)'))) / (select extract(epoch from '2026-06-06 10:38:02'::timestamp) - extract(epoch from '2026-06-06 10:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.04087 -2.832032)', '2026-06-06 10:38:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040845 -2.832271)'), GeomFromEWKT('SRID=4674;POINT (-40.04087 -2.832032)'))) / (select extract(epoch from '2026-06-06 10:38:13'::timestamp) - extract(epoch from '2026-06-06 10:38:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040845 -2.832271)'), GeomFromEWKT('SRID=4674;POINT (-40.04087 -2.832032)'))) / (select extract(epoch from '2026-06-06 10:38:13'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.040931 -2.831666)', '2026-06-06 10:38:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04087 -2.832032)'), GeomFromEWKT('SRID=4674;POINT (-40.040931 -2.831666)'))) / (select extract(epoch from '2026-06-06 10:38:30'::timestamp) - extract(epoch from '2026-06-06 10:38:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04087 -2.832032)'), GeomFromEWKT('SRID=4674;POINT (-40.040931 -2.831666)'))) / (select extract(epoch from '2026-06-06 10:38:30'::timestamp) - extract(epoch from '2026-06-06 10:38: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'), 46939, 'SRID=4674;POINT (-40.040981 -2.831458)', '2026-06-06 10:38:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040931 -2.831666)'), GeomFromEWKT('SRID=4674;POINT (-40.040981 -2.831458)'))) / (select extract(epoch from '2026-06-06 10:38:40'::timestamp) - extract(epoch from '2026-06-06 10:38:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040931 -2.831666)'), GeomFromEWKT('SRID=4674;POINT (-40.040981 -2.831458)'))) / (select extract(epoch from '2026-06-06 10:38:40'::timestamp) - extract(epoch from '2026-06-06 10:38:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041034 -2.831223)', '2026-06-06 10:38:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040981 -2.831458)'), GeomFromEWKT('SRID=4674;POINT (-40.041034 -2.831223)'))) / (select extract(epoch from '2026-06-06 10:38:51'::timestamp) - extract(epoch from '2026-06-06 10:38:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.040981 -2.831458)'), GeomFromEWKT('SRID=4674;POINT (-40.041034 -2.831223)'))) / (select extract(epoch from '2026-06-06 10:38:51'::timestamp) - extract(epoch from '2026-06-06 10:38: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'), 46939, 'SRID=4674;POINT (-40.041091 -2.831014)', '2026-06-06 10:39:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041034 -2.831223)'), GeomFromEWKT('SRID=4674;POINT (-40.041091 -2.831014)'))) / (select extract(epoch from '2026-06-06 10:39:01'::timestamp) - extract(epoch from '2026-06-06 10:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041034 -2.831223)'), GeomFromEWKT('SRID=4674;POINT (-40.041091 -2.831014)'))) / (select extract(epoch from '2026-06-06 10:39:01'::timestamp) - extract(epoch from '2026-06-06 10:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041136 -2.830783)', '2026-06-06 10:39:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041091 -2.831014)'), GeomFromEWKT('SRID=4674;POINT (-40.041136 -2.830783)'))) / (select extract(epoch from '2026-06-06 10:39:12'::timestamp) - extract(epoch from '2026-06-06 10:39:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041091 -2.831014)'), GeomFromEWKT('SRID=4674;POINT (-40.041136 -2.830783)'))) / (select extract(epoch from '2026-06-06 10:39:12'::timestamp) - extract(epoch from '2026-06-06 10:39: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'), 46939, 'SRID=4674;POINT (-40.041161 -2.83057)', '2026-06-06 10:39:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041136 -2.830783)'), GeomFromEWKT('SRID=4674;POINT (-40.041161 -2.83057)'))) / (select extract(epoch from '2026-06-06 10:39:22'::timestamp) - extract(epoch from '2026-06-06 10:39:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041136 -2.830783)'), GeomFromEWKT('SRID=4674;POINT (-40.041161 -2.83057)'))) / (select extract(epoch from '2026-06-06 10:39:22'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.041178 -2.830353)', '2026-06-06 10:39:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041161 -2.83057)'), GeomFromEWKT('SRID=4674;POINT (-40.041178 -2.830353)'))) / (select extract(epoch from '2026-06-06 10:39:32'::timestamp) - extract(epoch from '2026-06-06 10:39:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041161 -2.83057)'), GeomFromEWKT('SRID=4674;POINT (-40.041178 -2.830353)'))) / (select extract(epoch from '2026-06-06 10:39:32'::timestamp) - extract(epoch from '2026-06-06 10:39: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'), 46939, 'SRID=4674;POINT (-40.041227 -2.830085)', '2026-06-06 10:39:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041178 -2.830353)'), GeomFromEWKT('SRID=4674;POINT (-40.041227 -2.830085)'))) / (select extract(epoch from '2026-06-06 10:39:45'::timestamp) - extract(epoch from '2026-06-06 10:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041178 -2.830353)'), GeomFromEWKT('SRID=4674;POINT (-40.041227 -2.830085)'))) / (select extract(epoch from '2026-06-06 10:39:45'::timestamp) - extract(epoch from '2026-06-06 10:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041279 -2.829857)', '2026-06-06 10:39:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041227 -2.830085)'), GeomFromEWKT('SRID=4674;POINT (-40.041279 -2.829857)'))) / (select extract(epoch from '2026-06-06 10:39:56'::timestamp) - extract(epoch from '2026-06-06 10:39:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041227 -2.830085)'), GeomFromEWKT('SRID=4674;POINT (-40.041279 -2.829857)'))) / (select extract(epoch from '2026-06-06 10:39:56'::timestamp) - extract(epoch from '2026-06-06 10:39:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041359 -2.829562)', '2026-06-06 10:40:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041279 -2.829857)'), GeomFromEWKT('SRID=4674;POINT (-40.041359 -2.829562)'))) / (select extract(epoch from '2026-06-06 10:40:10'::timestamp) - extract(epoch from '2026-06-06 10:39:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041279 -2.829857)'), GeomFromEWKT('SRID=4674;POINT (-40.041359 -2.829562)'))) / (select extract(epoch from '2026-06-06 10:40:10'::timestamp) - extract(epoch from '2026-06-06 10:39:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041384 -2.82939)', '2026-06-06 10:40:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041359 -2.829562)'), GeomFromEWKT('SRID=4674;POINT (-40.041384 -2.82939)'))) / (select extract(epoch from '2026-06-06 10:40:18'::timestamp) - extract(epoch from '2026-06-06 10:40:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041359 -2.829562)'), GeomFromEWKT('SRID=4674;POINT (-40.041384 -2.82939)'))) / (select extract(epoch from '2026-06-06 10:40:18'::timestamp) - extract(epoch from '2026-06-06 10:40:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041418 -2.82914)', '2026-06-06 10:40:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041384 -2.82939)'), GeomFromEWKT('SRID=4674;POINT (-40.041418 -2.82914)'))) / (select extract(epoch from '2026-06-06 10:40:30'::timestamp) - extract(epoch from '2026-06-06 10:40:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041384 -2.82939)'), GeomFromEWKT('SRID=4674;POINT (-40.041418 -2.82914)'))) / (select extract(epoch from '2026-06-06 10:40:30'::timestamp) - extract(epoch from '2026-06-06 10:40: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'), 46939, 'SRID=4674;POINT (-40.041451 -2.828914)', '2026-06-06 10:40:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041418 -2.82914)'), GeomFromEWKT('SRID=4674;POINT (-40.041451 -2.828914)'))) / (select extract(epoch from '2026-06-06 10:40:41'::timestamp) - extract(epoch from '2026-06-06 10:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041418 -2.82914)'), GeomFromEWKT('SRID=4674;POINT (-40.041451 -2.828914)'))) / (select extract(epoch from '2026-06-06 10:40:41'::timestamp) - extract(epoch from '2026-06-06 10:40: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'), 46939, 'SRID=4674;POINT (-40.041474 -2.828686)', '2026-06-06 10:40:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041451 -2.828914)'), GeomFromEWKT('SRID=4674;POINT (-40.041474 -2.828686)'))) / (select extract(epoch from '2026-06-06 10:40:52'::timestamp) - extract(epoch from '2026-06-06 10:40:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041451 -2.828914)'), GeomFromEWKT('SRID=4674;POINT (-40.041474 -2.828686)'))) / (select extract(epoch from '2026-06-06 10:40:52'::timestamp) - extract(epoch from '2026-06-06 10:40: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'), 46939, 'SRID=4674;POINT (-40.041506 -2.828483)', '2026-06-06 10:41:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041474 -2.828686)'), GeomFromEWKT('SRID=4674;POINT (-40.041506 -2.828483)'))) / (select extract(epoch from '2026-06-06 10:41:02'::timestamp) - extract(epoch from '2026-06-06 10:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041474 -2.828686)'), GeomFromEWKT('SRID=4674;POINT (-40.041506 -2.828483)'))) / (select extract(epoch from '2026-06-06 10:41:02'::timestamp) - extract(epoch from '2026-06-06 10:40:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041548 -2.828242)', '2026-06-06 10:41:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041506 -2.828483)'), GeomFromEWKT('SRID=4674;POINT (-40.041548 -2.828242)'))) / (select extract(epoch from '2026-06-06 10:41:14'::timestamp) - extract(epoch from '2026-06-06 10:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041506 -2.828483)'), GeomFromEWKT('SRID=4674;POINT (-40.041548 -2.828242)'))) / (select extract(epoch from '2026-06-06 10:41:14'::timestamp) - extract(epoch from '2026-06-06 10:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041591 -2.828026)', '2026-06-06 10:41:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041548 -2.828242)'), GeomFromEWKT('SRID=4674;POINT (-40.041591 -2.828026)'))) / (select extract(epoch from '2026-06-06 10:41:25'::timestamp) - extract(epoch from '2026-06-06 10:41:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041548 -2.828242)'), GeomFromEWKT('SRID=4674;POINT (-40.041591 -2.828026)'))) / (select extract(epoch from '2026-06-06 10:41:25'::timestamp) - extract(epoch from '2026-06-06 10:41:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041654 -2.827811)', '2026-06-06 10:41:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041591 -2.828026)'), GeomFromEWKT('SRID=4674;POINT (-40.041654 -2.827811)'))) / (select extract(epoch from '2026-06-06 10:41:36'::timestamp) - extract(epoch from '2026-06-06 10:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041591 -2.828026)'), GeomFromEWKT('SRID=4674;POINT (-40.041654 -2.827811)'))) / (select extract(epoch from '2026-06-06 10:41:36'::timestamp) - extract(epoch from '2026-06-06 10:41:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041731 -2.827557)', '2026-06-06 10:41:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041654 -2.827811)'), GeomFromEWKT('SRID=4674;POINT (-40.041731 -2.827557)'))) / (select extract(epoch from '2026-06-06 10:41:49'::timestamp) - extract(epoch from '2026-06-06 10:41:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041654 -2.827811)'), GeomFromEWKT('SRID=4674;POINT (-40.041731 -2.827557)'))) / (select extract(epoch from '2026-06-06 10:41:49'::timestamp) - extract(epoch from '2026-06-06 10:41: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'), 46939, 'SRID=4674;POINT (-40.04177 -2.827335)', '2026-06-06 10:42:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041731 -2.827557)'), GeomFromEWKT('SRID=4674;POINT (-40.04177 -2.827335)'))) / (select extract(epoch from '2026-06-06 10:42:00'::timestamp) - extract(epoch from '2026-06-06 10:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041731 -2.827557)'), GeomFromEWKT('SRID=4674;POINT (-40.04177 -2.827335)'))) / (select extract(epoch from '2026-06-06 10:42:00'::timestamp) - extract(epoch from '2026-06-06 10:41: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'), 46939, 'SRID=4674;POINT (-40.041801 -2.82711)', '2026-06-06 10:42:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04177 -2.827335)'), GeomFromEWKT('SRID=4674;POINT (-40.041801 -2.82711)'))) / (select extract(epoch from '2026-06-06 10:42:11'::timestamp) - extract(epoch from '2026-06-06 10:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04177 -2.827335)'), GeomFromEWKT('SRID=4674;POINT (-40.041801 -2.82711)'))) / (select extract(epoch from '2026-06-06 10:42:11'::timestamp) - extract(epoch from '2026-06-06 10:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041825 -2.826828)', '2026-06-06 10:42:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041801 -2.82711)'), GeomFromEWKT('SRID=4674;POINT (-40.041825 -2.826828)'))) / (select extract(epoch from '2026-06-06 10:42:25'::timestamp) - extract(epoch from '2026-06-06 10:42:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041801 -2.82711)'), GeomFromEWKT('SRID=4674;POINT (-40.041825 -2.826828)'))) / (select extract(epoch from '2026-06-06 10:42:25'::timestamp) - extract(epoch from '2026-06-06 10:42: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'), 46939, 'SRID=4674;POINT (-40.041837 -2.826585)', '2026-06-06 10:42:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041825 -2.826828)'), GeomFromEWKT('SRID=4674;POINT (-40.041837 -2.826585)'))) / (select extract(epoch from '2026-06-06 10:42:37'::timestamp) - extract(epoch from '2026-06-06 10:42:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041825 -2.826828)'), GeomFromEWKT('SRID=4674;POINT (-40.041837 -2.826585)'))) / (select extract(epoch from '2026-06-06 10:42:37'::timestamp) - extract(epoch from '2026-06-06 10:42:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041858 -2.826363)', '2026-06-06 10:42:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041837 -2.826585)'), GeomFromEWKT('SRID=4674;POINT (-40.041858 -2.826363)'))) / (select extract(epoch from '2026-06-06 10:42:48'::timestamp) - extract(epoch from '2026-06-06 10:42:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041837 -2.826585)'), GeomFromEWKT('SRID=4674;POINT (-40.041858 -2.826363)'))) / (select extract(epoch from '2026-06-06 10:42:48'::timestamp) - extract(epoch from '2026-06-06 10:42: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'), 46939, 'SRID=4674;POINT (-40.041887 -2.82616)', '2026-06-06 10:42:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041858 -2.826363)'), GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.82616)'))) / (select extract(epoch from '2026-06-06 10:42:58'::timestamp) - extract(epoch from '2026-06-06 10:42:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041858 -2.826363)'), GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.82616)'))) / (select extract(epoch from '2026-06-06 10:42:58'::timestamp) - extract(epoch from '2026-06-06 10:42: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'), 46939, 'SRID=4674;POINT (-40.041911 -2.825976)', '2026-06-06 10:43:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.82616)'), GeomFromEWKT('SRID=4674;POINT (-40.041911 -2.825976)'))) / (select extract(epoch from '2026-06-06 10:43:07'::timestamp) - extract(epoch from '2026-06-06 10:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041887 -2.82616)'), GeomFromEWKT('SRID=4674;POINT (-40.041911 -2.825976)'))) / (select extract(epoch from '2026-06-06 10:43:07'::timestamp) - extract(epoch from '2026-06-06 10:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041941 -2.82573)', '2026-06-06 10:43:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041911 -2.825976)'), GeomFromEWKT('SRID=4674;POINT (-40.041941 -2.82573)'))) / (select extract(epoch from '2026-06-06 10:43:19'::timestamp) - extract(epoch from '2026-06-06 10:43:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041911 -2.825976)'), GeomFromEWKT('SRID=4674;POINT (-40.041941 -2.82573)'))) / (select extract(epoch from '2026-06-06 10:43:19'::timestamp) - extract(epoch from '2026-06-06 10:43: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'), 46939, 'SRID=4674;POINT (-40.041959 -2.82551)', '2026-06-06 10:43:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041941 -2.82573)'), GeomFromEWKT('SRID=4674;POINT (-40.041959 -2.82551)'))) / (select extract(epoch from '2026-06-06 10:43:30'::timestamp) - extract(epoch from '2026-06-06 10:43:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041941 -2.82573)'), GeomFromEWKT('SRID=4674;POINT (-40.041959 -2.82551)'))) / (select extract(epoch from '2026-06-06 10:43:30'::timestamp) - extract(epoch from '2026-06-06 10:43:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041999 -2.825224)', '2026-06-06 10:43:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041959 -2.82551)'), GeomFromEWKT('SRID=4674;POINT (-40.041999 -2.825224)'))) / (select extract(epoch from '2026-06-06 10:43:44'::timestamp) - extract(epoch from '2026-06-06 10:43:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041959 -2.82551)'), GeomFromEWKT('SRID=4674;POINT (-40.041999 -2.825224)'))) / (select extract(epoch from '2026-06-06 10:43:44'::timestamp) - extract(epoch from '2026-06-06 10:43:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042001 -2.824922)', '2026-06-06 10:43:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041999 -2.825224)'), GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.824922)'))) / (select extract(epoch from '2026-06-06 10:43:59'::timestamp) - extract(epoch from '2026-06-06 10:43:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041999 -2.825224)'), GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.824922)'))) / (select extract(epoch from '2026-06-06 10:43:59'::timestamp) - extract(epoch from '2026-06-06 10:43: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'), 46939, 'SRID=4674;POINT (-40.042005 -2.824637)', '2026-06-06 10:44:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.824922)'), GeomFromEWKT('SRID=4674;POINT (-40.042005 -2.824637)'))) / (select extract(epoch from '2026-06-06 10:44:13'::timestamp) - extract(epoch from '2026-06-06 10:43:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.824922)'), GeomFromEWKT('SRID=4674;POINT (-40.042005 -2.824637)'))) / (select extract(epoch from '2026-06-06 10:44:13'::timestamp) - extract(epoch from '2026-06-06 10:43: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'), 46939, 'SRID=4674;POINT (-40.042005 -2.824398)', '2026-06-06 10:44:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042005 -2.824637)'), GeomFromEWKT('SRID=4674;POINT (-40.042005 -2.824398)'))) / (select extract(epoch from '2026-06-06 10:44:25'::timestamp) - extract(epoch from '2026-06-06 10:44:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042005 -2.824637)'), GeomFromEWKT('SRID=4674;POINT (-40.042005 -2.824398)'))) / (select extract(epoch from '2026-06-06 10:44:25'::timestamp) - extract(epoch from '2026-06-06 10:44:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042001 -2.824183)', '2026-06-06 10:44:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042005 -2.824398)'), GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.824183)'))) / (select extract(epoch from '2026-06-06 10:44:36'::timestamp) - extract(epoch from '2026-06-06 10:44:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042005 -2.824398)'), GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.824183)'))) / (select extract(epoch from '2026-06-06 10:44:36'::timestamp) - extract(epoch from '2026-06-06 10:44: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'), 46939, 'SRID=4674;POINT (-40.042029 -2.823922)', '2026-06-06 10:44:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.824183)'), GeomFromEWKT('SRID=4674;POINT (-40.042029 -2.823922)'))) / (select extract(epoch from '2026-06-06 10:44:49'::timestamp) - extract(epoch from '2026-06-06 10:44:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042001 -2.824183)'), GeomFromEWKT('SRID=4674;POINT (-40.042029 -2.823922)'))) / (select extract(epoch from '2026-06-06 10:44:49'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.042055 -2.823687)', '2026-06-06 10:45:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042029 -2.823922)'), GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.823687)'))) / (select extract(epoch from '2026-06-06 10:45:01'::timestamp) - extract(epoch from '2026-06-06 10:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042029 -2.823922)'), GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.823687)'))) / (select extract(epoch from '2026-06-06 10:45:01'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.042061 -2.823467)', '2026-06-06 10:45:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.042061 -2.823467)'))) / (select extract(epoch from '2026-06-06 10:45:12'::timestamp) - extract(epoch from '2026-06-06 10:45:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042055 -2.823687)'), GeomFromEWKT('SRID=4674;POINT (-40.042061 -2.823467)'))) / (select extract(epoch from '2026-06-06 10:45:12'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.042058 -2.823246)', '2026-06-06 10:45:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042061 -2.823467)'), GeomFromEWKT('SRID=4674;POINT (-40.042058 -2.823246)'))) / (select extract(epoch from '2026-06-06 10:45:23'::timestamp) - extract(epoch from '2026-06-06 10:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042061 -2.823467)'), GeomFromEWKT('SRID=4674;POINT (-40.042058 -2.823246)'))) / (select extract(epoch from '2026-06-06 10:45:23'::timestamp) - extract(epoch from '2026-06-06 10:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042059 -2.823028)', '2026-06-06 10:45:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042058 -2.823246)'), GeomFromEWKT('SRID=4674;POINT (-40.042059 -2.823028)'))) / (select extract(epoch from '2026-06-06 10:45:34'::timestamp) - extract(epoch from '2026-06-06 10:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042058 -2.823246)'), GeomFromEWKT('SRID=4674;POINT (-40.042059 -2.823028)'))) / (select extract(epoch from '2026-06-06 10:45:34'::timestamp) - extract(epoch from '2026-06-06 10:45: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'), 46939, 'SRID=4674;POINT (-40.042074 -2.822761)', '2026-06-06 10:45:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042059 -2.823028)'), GeomFromEWKT('SRID=4674;POINT (-40.042074 -2.822761)'))) / (select extract(epoch from '2026-06-06 10:45:47'::timestamp) - extract(epoch from '2026-06-06 10:45:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042059 -2.823028)'), GeomFromEWKT('SRID=4674;POINT (-40.042074 -2.822761)'))) / (select extract(epoch from '2026-06-06 10:45:47'::timestamp) - extract(epoch from '2026-06-06 10:45: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'), 46939, 'SRID=4674;POINT (-40.042102 -2.822549)', '2026-06-06 10:45:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042074 -2.822761)'), GeomFromEWKT('SRID=4674;POINT (-40.042102 -2.822549)'))) / (select extract(epoch from '2026-06-06 10:45:57'::timestamp) - extract(epoch from '2026-06-06 10:45:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042074 -2.822761)'), GeomFromEWKT('SRID=4674;POINT (-40.042102 -2.822549)'))) / (select extract(epoch from '2026-06-06 10:45:57'::timestamp) - extract(epoch from '2026-06-06 10:45:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.04213 -2.82233)', '2026-06-06 10:46:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042102 -2.822549)'), GeomFromEWKT('SRID=4674;POINT (-40.04213 -2.82233)'))) / (select extract(epoch from '2026-06-06 10:46:08'::timestamp) - extract(epoch from '2026-06-06 10:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042102 -2.822549)'), GeomFromEWKT('SRID=4674;POINT (-40.04213 -2.82233)'))) / (select extract(epoch from '2026-06-06 10:46:08'::timestamp) - extract(epoch from '2026-06-06 10:45: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'), 46939, 'SRID=4674;POINT (-40.04217 -2.822072)', '2026-06-06 10:46:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04213 -2.82233)'), GeomFromEWKT('SRID=4674;POINT (-40.04217 -2.822072)'))) / (select extract(epoch from '2026-06-06 10:46:21'::timestamp) - extract(epoch from '2026-06-06 10:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04213 -2.82233)'), GeomFromEWKT('SRID=4674;POINT (-40.04217 -2.822072)'))) / (select extract(epoch from '2026-06-06 10:46:21'::timestamp) - extract(epoch from '2026-06-06 10:46: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'), 46939, 'SRID=4674;POINT (-40.042202 -2.821868)', '2026-06-06 10:46:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04217 -2.822072)'), GeomFromEWKT('SRID=4674;POINT (-40.042202 -2.821868)'))) / (select extract(epoch from '2026-06-06 10:46:31'::timestamp) - extract(epoch from '2026-06-06 10:46:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04217 -2.822072)'), GeomFromEWKT('SRID=4674;POINT (-40.042202 -2.821868)'))) / (select extract(epoch from '2026-06-06 10:46:31'::timestamp) - extract(epoch from '2026-06-06 10:46: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'), 46939, 'SRID=4674;POINT (-40.042234 -2.821646)', '2026-06-06 10:46:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042202 -2.821868)'), GeomFromEWKT('SRID=4674;POINT (-40.042234 -2.821646)'))) / (select extract(epoch from '2026-06-06 10:46:42'::timestamp) - extract(epoch from '2026-06-06 10:46:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042202 -2.821868)'), GeomFromEWKT('SRID=4674;POINT (-40.042234 -2.821646)'))) / (select extract(epoch from '2026-06-06 10:46:42'::timestamp) - extract(epoch from '2026-06-06 10:46: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'), 46939, 'SRID=4674;POINT (-40.042248 -2.821423)', '2026-06-06 10:46:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042234 -2.821646)'), GeomFromEWKT('SRID=4674;POINT (-40.042248 -2.821423)'))) / (select extract(epoch from '2026-06-06 10:46:54'::timestamp) - extract(epoch from '2026-06-06 10:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042234 -2.821646)'), GeomFromEWKT('SRID=4674;POINT (-40.042248 -2.821423)'))) / (select extract(epoch from '2026-06-06 10:46:54'::timestamp) - extract(epoch from '2026-06-06 10:46:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042278 -2.821207)', '2026-06-06 10:47:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042248 -2.821423)'), GeomFromEWKT('SRID=4674;POINT (-40.042278 -2.821207)'))) / (select extract(epoch from '2026-06-06 10:47:05'::timestamp) - extract(epoch from '2026-06-06 10:46:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042248 -2.821423)'), GeomFromEWKT('SRID=4674;POINT (-40.042278 -2.821207)'))) / (select extract(epoch from '2026-06-06 10:47:05'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.042332 -2.821038)', '2026-06-06 10:47:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042278 -2.821207)'), GeomFromEWKT('SRID=4674;POINT (-40.042332 -2.821038)'))) / (select extract(epoch from '2026-06-06 10:47:14'::timestamp) - extract(epoch from '2026-06-06 10:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042278 -2.821207)'), GeomFromEWKT('SRID=4674;POINT (-40.042332 -2.821038)'))) / (select extract(epoch from '2026-06-06 10:47:14'::timestamp) - extract(epoch from '2026-06-06 10:47: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'), 46939, 'SRID=4674;POINT (-40.04241 -2.820875)', '2026-06-06 10:47:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042332 -2.821038)'), GeomFromEWKT('SRID=4674;POINT (-40.04241 -2.820875)'))) / (select extract(epoch from '2026-06-06 10:47:23'::timestamp) - extract(epoch from '2026-06-06 10:47:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042332 -2.821038)'), GeomFromEWKT('SRID=4674;POINT (-40.04241 -2.820875)'))) / (select extract(epoch from '2026-06-06 10:47:23'::timestamp) - extract(epoch from '2026-06-06 10:47: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'), 46939, 'SRID=4674;POINT (-40.042508 -2.820656)', '2026-06-06 10:47:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04241 -2.820875)'), GeomFromEWKT('SRID=4674;POINT (-40.042508 -2.820656)'))) / (select extract(epoch from '2026-06-06 10:47:35'::timestamp) - extract(epoch from '2026-06-06 10:47:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04241 -2.820875)'), GeomFromEWKT('SRID=4674;POINT (-40.042508 -2.820656)'))) / (select extract(epoch from '2026-06-06 10:47:35'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.04257 -2.820461)', '2026-06-06 10:47:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042508 -2.820656)'), GeomFromEWKT('SRID=4674;POINT (-40.04257 -2.820461)'))) / (select extract(epoch from '2026-06-06 10:47:45'::timestamp) - extract(epoch from '2026-06-06 10:47:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042508 -2.820656)'), GeomFromEWKT('SRID=4674;POINT (-40.04257 -2.820461)'))) / (select extract(epoch from '2026-06-06 10:47:45'::timestamp) - extract(epoch from '2026-06-06 10:47: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'), 46939, 'SRID=4674;POINT (-40.042642 -2.820258)', '2026-06-06 10:47:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04257 -2.820461)'), GeomFromEWKT('SRID=4674;POINT (-40.042642 -2.820258)'))) / (select extract(epoch from '2026-06-06 10:47:56'::timestamp) - extract(epoch from '2026-06-06 10:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04257 -2.820461)'), GeomFromEWKT('SRID=4674;POINT (-40.042642 -2.820258)'))) / (select extract(epoch from '2026-06-06 10:47:56'::timestamp) - extract(epoch from '2026-06-06 10:47: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'), 46939, 'SRID=4674;POINT (-40.042777 -2.820089)', '2026-06-06 10:48:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042642 -2.820258)'), GeomFromEWKT('SRID=4674;POINT (-40.042777 -2.820089)'))) / (select extract(epoch from '2026-06-06 10:48:07'::timestamp) - extract(epoch from '2026-06-06 10:47:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042642 -2.820258)'), GeomFromEWKT('SRID=4674;POINT (-40.042777 -2.820089)'))) / (select extract(epoch from '2026-06-06 10:48:07'::timestamp) - extract(epoch from '2026-06-06 10:47: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'), 46939, 'SRID=4674;POINT (-40.042878 -2.819948)', '2026-06-06 10:48:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042777 -2.820089)'), GeomFromEWKT('SRID=4674;POINT (-40.042878 -2.819948)'))) / (select extract(epoch from '2026-06-06 10:48:15'::timestamp) - extract(epoch from '2026-06-06 10:48:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042777 -2.820089)'), GeomFromEWKT('SRID=4674;POINT (-40.042878 -2.819948)'))) / (select extract(epoch from '2026-06-06 10:48:15'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.043 -2.819735)', '2026-06-06 10:48:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042878 -2.819948)'), GeomFromEWKT('SRID=4674;POINT (-40.043 -2.819735)'))) / (select extract(epoch from '2026-06-06 10:48:26'::timestamp) - extract(epoch from '2026-06-06 10:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042878 -2.819948)'), GeomFromEWKT('SRID=4674;POINT (-40.043 -2.819735)'))) / (select extract(epoch from '2026-06-06 10:48:26'::timestamp) - extract(epoch from '2026-06-06 10:48: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'), 46939, 'SRID=4674;POINT (-40.043106 -2.819463)', '2026-06-06 10:48:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043 -2.819735)'), GeomFromEWKT('SRID=4674;POINT (-40.043106 -2.819463)'))) / (select extract(epoch from '2026-06-06 10:48:39'::timestamp) - extract(epoch from '2026-06-06 10:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043 -2.819735)'), GeomFromEWKT('SRID=4674;POINT (-40.043106 -2.819463)'))) / (select extract(epoch from '2026-06-06 10:48:39'::timestamp) - extract(epoch from '2026-06-06 10:48: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'), 46939, 'SRID=4674;POINT (-40.043166 -2.819273)', '2026-06-06 10:48:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043106 -2.819463)'), GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.819273)'))) / (select extract(epoch from '2026-06-06 10:48:48'::timestamp) - extract(epoch from '2026-06-06 10:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043106 -2.819463)'), GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.819273)'))) / (select extract(epoch from '2026-06-06 10:48:48'::timestamp) - extract(epoch from '2026-06-06 10:48: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'), 46939, 'SRID=4674;POINT (-40.043189 -2.819052)', '2026-06-06 10:48:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.819273)'), GeomFromEWKT('SRID=4674;POINT (-40.043189 -2.819052)'))) / (select extract(epoch from '2026-06-06 10:48:58'::timestamp) - extract(epoch from '2026-06-06 10:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043166 -2.819273)'), GeomFromEWKT('SRID=4674;POINT (-40.043189 -2.819052)'))) / (select extract(epoch from '2026-06-06 10:48:58'::timestamp) - extract(epoch from '2026-06-06 10:48:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043232 -2.818808)', '2026-06-06 10:49:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043189 -2.819052)'), GeomFromEWKT('SRID=4674;POINT (-40.043232 -2.818808)'))) / (select extract(epoch from '2026-06-06 10:49:09'::timestamp) - extract(epoch from '2026-06-06 10:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043189 -2.819052)'), GeomFromEWKT('SRID=4674;POINT (-40.043232 -2.818808)'))) / (select extract(epoch from '2026-06-06 10:49:09'::timestamp) - extract(epoch from '2026-06-06 10:48:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043277 -2.81859)', '2026-06-06 10:49:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043232 -2.818808)'), GeomFromEWKT('SRID=4674;POINT (-40.043277 -2.81859)'))) / (select extract(epoch from '2026-06-06 10:49:19'::timestamp) - extract(epoch from '2026-06-06 10:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043232 -2.818808)'), GeomFromEWKT('SRID=4674;POINT (-40.043277 -2.81859)'))) / (select extract(epoch from '2026-06-06 10:49:19'::timestamp) - extract(epoch from '2026-06-06 10:49: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'), 46939, 'SRID=4674;POINT (-40.043298 -2.818304)', '2026-06-06 10:49:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043277 -2.81859)'), GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.818304)'))) / (select extract(epoch from '2026-06-06 10:49:32'::timestamp) - extract(epoch from '2026-06-06 10:49:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043277 -2.81859)'), GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.818304)'))) / (select extract(epoch from '2026-06-06 10:49:32'::timestamp) - extract(epoch from '2026-06-06 10:49: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'), 46939, 'SRID=4674;POINT (-40.043298 -2.81804)', '2026-06-06 10:49:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.818304)'), GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.81804)'))) / (select extract(epoch from '2026-06-06 10:49:44'::timestamp) - extract(epoch from '2026-06-06 10:49:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.818304)'), GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.81804)'))) / (select extract(epoch from '2026-06-06 10:49:44'::timestamp) - extract(epoch from '2026-06-06 10:49:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043295 -2.817778)', '2026-06-06 10:49:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.81804)'), GeomFromEWKT('SRID=4674;POINT (-40.043295 -2.817778)'))) / (select extract(epoch from '2026-06-06 10:49:56'::timestamp) - extract(epoch from '2026-06-06 10:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043298 -2.81804)'), GeomFromEWKT('SRID=4674;POINT (-40.043295 -2.817778)'))) / (select extract(epoch from '2026-06-06 10:49:56'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.043308 -2.817541)', '2026-06-06 10:50:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043295 -2.817778)'), GeomFromEWKT('SRID=4674;POINT (-40.043308 -2.817541)'))) / (select extract(epoch from '2026-06-06 10:50:07'::timestamp) - extract(epoch from '2026-06-06 10:49:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043295 -2.817778)'), GeomFromEWKT('SRID=4674;POINT (-40.043308 -2.817541)'))) / (select extract(epoch from '2026-06-06 10:50:07'::timestamp) - extract(epoch from '2026-06-06 10:49:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043277 -2.817287)', '2026-06-06 10:50:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043308 -2.817541)'), GeomFromEWKT('SRID=4674;POINT (-40.043277 -2.817287)'))) / (select extract(epoch from '2026-06-06 10:50:19'::timestamp) - extract(epoch from '2026-06-06 10:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043308 -2.817541)'), GeomFromEWKT('SRID=4674;POINT (-40.043277 -2.817287)'))) / (select extract(epoch from '2026-06-06 10:50:19'::timestamp) - extract(epoch from '2026-06-06 10:50: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'), 46939, 'SRID=4674;POINT (-40.043234 -2.817056)', '2026-06-06 10:50:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043277 -2.817287)'), GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.817056)'))) / (select extract(epoch from '2026-06-06 10:50:30'::timestamp) - extract(epoch from '2026-06-06 10:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043277 -2.817287)'), GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.817056)'))) / (select extract(epoch from '2026-06-06 10:50:30'::timestamp) - extract(epoch from '2026-06-06 10:50:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043178 -2.816808)', '2026-06-06 10:50:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.817056)'), GeomFromEWKT('SRID=4674;POINT (-40.043178 -2.816808)'))) / (select extract(epoch from '2026-06-06 10:50:42'::timestamp) - extract(epoch from '2026-06-06 10:50:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.817056)'), GeomFromEWKT('SRID=4674;POINT (-40.043178 -2.816808)'))) / (select extract(epoch from '2026-06-06 10:50:42'::timestamp) - extract(epoch from '2026-06-06 10:50:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043128 -2.816584)', '2026-06-06 10:50:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043178 -2.816808)'), GeomFromEWKT('SRID=4674;POINT (-40.043128 -2.816584)'))) / (select extract(epoch from '2026-06-06 10:50:53'::timestamp) - extract(epoch from '2026-06-06 10:50:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043178 -2.816808)'), GeomFromEWKT('SRID=4674;POINT (-40.043128 -2.816584)'))) / (select extract(epoch from '2026-06-06 10:50:53'::timestamp) - extract(epoch from '2026-06-06 10:50:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043077 -2.816352)', '2026-06-06 10:51:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043128 -2.816584)'), GeomFromEWKT('SRID=4674;POINT (-40.043077 -2.816352)'))) / (select extract(epoch from '2026-06-06 10:51:04'::timestamp) - extract(epoch from '2026-06-06 10:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043128 -2.816584)'), GeomFromEWKT('SRID=4674;POINT (-40.043077 -2.816352)'))) / (select extract(epoch from '2026-06-06 10:51:04'::timestamp) - extract(epoch from '2026-06-06 10:50: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'), 46939, 'SRID=4674;POINT (-40.043022 -2.816028)', '2026-06-06 10:51:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043077 -2.816352)'), GeomFromEWKT('SRID=4674;POINT (-40.043022 -2.816028)'))) / (select extract(epoch from '2026-06-06 10:51:19'::timestamp) - extract(epoch from '2026-06-06 10:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043077 -2.816352)'), GeomFromEWKT('SRID=4674;POINT (-40.043022 -2.816028)'))) / (select extract(epoch from '2026-06-06 10:51:19'::timestamp) - extract(epoch from '2026-06-06 10:51:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042988 -2.815814)', '2026-06-06 10:51:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043022 -2.816028)'), GeomFromEWKT('SRID=4674;POINT (-40.042988 -2.815814)'))) / (select extract(epoch from '2026-06-06 10:51:29'::timestamp) - extract(epoch from '2026-06-06 10:51:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043022 -2.816028)'), GeomFromEWKT('SRID=4674;POINT (-40.042988 -2.815814)'))) / (select extract(epoch from '2026-06-06 10:51:29'::timestamp) - extract(epoch from '2026-06-06 10:51:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042945 -2.815585)', '2026-06-06 10:51:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042988 -2.815814)'), GeomFromEWKT('SRID=4674;POINT (-40.042945 -2.815585)'))) / (select extract(epoch from '2026-06-06 10:51:40'::timestamp) - extract(epoch from '2026-06-06 10:51:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042988 -2.815814)'), GeomFromEWKT('SRID=4674;POINT (-40.042945 -2.815585)'))) / (select extract(epoch from '2026-06-06 10:51:40'::timestamp) - extract(epoch from '2026-06-06 10:51:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042901 -2.815399)', '2026-06-06 10:51:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042945 -2.815585)'), GeomFromEWKT('SRID=4674;POINT (-40.042901 -2.815399)'))) / (select extract(epoch from '2026-06-06 10:51:49'::timestamp) - extract(epoch from '2026-06-06 10:51:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042945 -2.815585)'), GeomFromEWKT('SRID=4674;POINT (-40.042901 -2.815399)'))) / (select extract(epoch from '2026-06-06 10:51:49'::timestamp) - extract(epoch from '2026-06-06 10:51:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.04283 -2.815174)', '2026-06-06 10:52:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042901 -2.815399)'), GeomFromEWKT('SRID=4674;POINT (-40.04283 -2.815174)'))) / (select extract(epoch from '2026-06-06 10:52:00'::timestamp) - extract(epoch from '2026-06-06 10:51:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042901 -2.815399)'), GeomFromEWKT('SRID=4674;POINT (-40.04283 -2.815174)'))) / (select extract(epoch from '2026-06-06 10:52:00'::timestamp) - extract(epoch from '2026-06-06 10:51: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'), 46939, 'SRID=4674;POINT (-40.042778 -2.814988)', '2026-06-06 10:52:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04283 -2.815174)'), GeomFromEWKT('SRID=4674;POINT (-40.042778 -2.814988)'))) / (select extract(epoch from '2026-06-06 10:52:09'::timestamp) - extract(epoch from '2026-06-06 10:52:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04283 -2.815174)'), GeomFromEWKT('SRID=4674;POINT (-40.042778 -2.814988)'))) / (select extract(epoch from '2026-06-06 10:52:09'::timestamp) - extract(epoch from '2026-06-06 10:52:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042745 -2.814757)', '2026-06-06 10:52:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042778 -2.814988)'), GeomFromEWKT('SRID=4674;POINT (-40.042745 -2.814757)'))) / (select extract(epoch from '2026-06-06 10:52:20'::timestamp) - extract(epoch from '2026-06-06 10:52:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042778 -2.814988)'), GeomFromEWKT('SRID=4674;POINT (-40.042745 -2.814757)'))) / (select extract(epoch from '2026-06-06 10:52:20'::timestamp) - extract(epoch from '2026-06-06 10:52: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'), 46939, 'SRID=4674;POINT (-40.042737 -2.814586)', '2026-06-06 10:52:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042745 -2.814757)'), GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.814586)'))) / (select extract(epoch from '2026-06-06 10:52:28'::timestamp) - extract(epoch from '2026-06-06 10:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042745 -2.814757)'), GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.814586)'))) / (select extract(epoch from '2026-06-06 10:52:28'::timestamp) - extract(epoch from '2026-06-06 10:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042727 -2.814432)', '2026-06-06 10:52:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.814586)'), GeomFromEWKT('SRID=4674;POINT (-40.042727 -2.814432)'))) / (select extract(epoch from '2026-06-06 10:52:35'::timestamp) - extract(epoch from '2026-06-06 10:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042737 -2.814586)'), GeomFromEWKT('SRID=4674;POINT (-40.042727 -2.814432)'))) / (select extract(epoch from '2026-06-06 10:52:35'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.042715 -2.814241)', '2026-06-06 10:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042727 -2.814432)'), GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.814241)'))) / (select extract(epoch from '2026-06-06 10:52:44'::timestamp) - extract(epoch from '2026-06-06 10:52:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042727 -2.814432)'), GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.814241)'))) / (select extract(epoch from '2026-06-06 10:52:44'::timestamp) - extract(epoch from '2026-06-06 10:52:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042693 -2.814007)', '2026-06-06 10:52:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.814241)'), GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.814007)'))) / (select extract(epoch from '2026-06-06 10:52:55'::timestamp) - extract(epoch from '2026-06-06 10:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042715 -2.814241)'), GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.814007)'))) / (select extract(epoch from '2026-06-06 10:52:55'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.042687 -2.813752)', '2026-06-06 10:53:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.814007)'), GeomFromEWKT('SRID=4674;POINT (-40.042687 -2.813752)'))) / (select extract(epoch from '2026-06-06 10:53:07'::timestamp) - extract(epoch from '2026-06-06 10:52:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042693 -2.814007)'), GeomFromEWKT('SRID=4674;POINT (-40.042687 -2.813752)'))) / (select extract(epoch from '2026-06-06 10:53:07'::timestamp) - extract(epoch from '2026-06-06 10:52: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'), 46939, 'SRID=4674;POINT (-40.042684 -2.81354)', '2026-06-06 10:53:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042687 -2.813752)'), GeomFromEWKT('SRID=4674;POINT (-40.042684 -2.81354)'))) / (select extract(epoch from '2026-06-06 10:53:17'::timestamp) - extract(epoch from '2026-06-06 10:53:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042687 -2.813752)'), GeomFromEWKT('SRID=4674;POINT (-40.042684 -2.81354)'))) / (select extract(epoch from '2026-06-06 10:53:17'::timestamp) - extract(epoch from '2026-06-06 10:53: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'), 46939, 'SRID=4674;POINT (-40.04267 -2.813262)', '2026-06-06 10:53:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042684 -2.81354)'), GeomFromEWKT('SRID=4674;POINT (-40.04267 -2.813262)'))) / (select extract(epoch from '2026-06-06 10:53:30'::timestamp) - extract(epoch from '2026-06-06 10:53:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042684 -2.81354)'), GeomFromEWKT('SRID=4674;POINT (-40.04267 -2.813262)'))) / (select extract(epoch from '2026-06-06 10:53:30'::timestamp) - extract(epoch from '2026-06-06 10:53: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'), 46939, 'SRID=4674;POINT (-40.042663 -2.813069)', '2026-06-06 10:53:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04267 -2.813262)'), GeomFromEWKT('SRID=4674;POINT (-40.042663 -2.813069)'))) / (select extract(epoch from '2026-06-06 10:53:39'::timestamp) - extract(epoch from '2026-06-06 10:53:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04267 -2.813262)'), GeomFromEWKT('SRID=4674;POINT (-40.042663 -2.813069)'))) / (select extract(epoch from '2026-06-06 10:53:39'::timestamp) - extract(epoch from '2026-06-06 10:53: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'), 46939, 'SRID=4674;POINT (-40.042639 -2.812751)', '2026-06-06 10:53:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042663 -2.813069)'), GeomFromEWKT('SRID=4674;POINT (-40.042639 -2.812751)'))) / (select extract(epoch from '2026-06-06 10:53:54'::timestamp) - extract(epoch from '2026-06-06 10:53:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042663 -2.813069)'), GeomFromEWKT('SRID=4674;POINT (-40.042639 -2.812751)'))) / (select extract(epoch from '2026-06-06 10:53:54'::timestamp) - extract(epoch from '2026-06-06 10:53:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042637 -2.812495)', '2026-06-06 10:54:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042639 -2.812751)'), GeomFromEWKT('SRID=4674;POINT (-40.042637 -2.812495)'))) / (select extract(epoch from '2026-06-06 10:54:06'::timestamp) - extract(epoch from '2026-06-06 10:53:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042639 -2.812751)'), GeomFromEWKT('SRID=4674;POINT (-40.042637 -2.812495)'))) / (select extract(epoch from '2026-06-06 10:54:06'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.042636 -2.812258)', '2026-06-06 10:54:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042637 -2.812495)'), GeomFromEWKT('SRID=4674;POINT (-40.042636 -2.812258)'))) / (select extract(epoch from '2026-06-06 10:54:17'::timestamp) - extract(epoch from '2026-06-06 10:54:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042637 -2.812495)'), GeomFromEWKT('SRID=4674;POINT (-40.042636 -2.812258)'))) / (select extract(epoch from '2026-06-06 10:54:17'::timestamp) - extract(epoch from '2026-06-06 10:54:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.04265 -2.812025)', '2026-06-06 10:54:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042636 -2.812258)'), GeomFromEWKT('SRID=4674;POINT (-40.04265 -2.812025)'))) / (select extract(epoch from '2026-06-06 10:54:28'::timestamp) - extract(epoch from '2026-06-06 10:54:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042636 -2.812258)'), GeomFromEWKT('SRID=4674;POINT (-40.04265 -2.812025)'))) / (select extract(epoch from '2026-06-06 10:54:28'::timestamp) - extract(epoch from '2026-06-06 10:54: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'), 46939, 'SRID=4674;POINT (-40.042689 -2.811851)', '2026-06-06 10:54:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04265 -2.812025)'), GeomFromEWKT('SRID=4674;POINT (-40.042689 -2.811851)'))) / (select extract(epoch from '2026-06-06 10:54:36'::timestamp) - extract(epoch from '2026-06-06 10:54:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04265 -2.812025)'), GeomFromEWKT('SRID=4674;POINT (-40.042689 -2.811851)'))) / (select extract(epoch from '2026-06-06 10:54:36'::timestamp) - extract(epoch from '2026-06-06 10:54: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'), 46939, 'SRID=4674;POINT (-40.042724 -2.81161)', '2026-06-06 10:54:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042689 -2.811851)'), GeomFromEWKT('SRID=4674;POINT (-40.042724 -2.81161)'))) / (select extract(epoch from '2026-06-06 10:54:47'::timestamp) - extract(epoch from '2026-06-06 10:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042689 -2.811851)'), GeomFromEWKT('SRID=4674;POINT (-40.042724 -2.81161)'))) / (select extract(epoch from '2026-06-06 10:54:47'::timestamp) - extract(epoch from '2026-06-06 10:54: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'), 46939, 'SRID=4674;POINT (-40.042747 -2.811415)', '2026-06-06 10:54:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042724 -2.81161)'), GeomFromEWKT('SRID=4674;POINT (-40.042747 -2.811415)'))) / (select extract(epoch from '2026-06-06 10:54:56'::timestamp) - extract(epoch from '2026-06-06 10:54:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042724 -2.81161)'), GeomFromEWKT('SRID=4674;POINT (-40.042747 -2.811415)'))) / (select extract(epoch from '2026-06-06 10:54:56'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.042806 -2.811158)', '2026-06-06 10:55:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042747 -2.811415)'), GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.811158)'))) / (select extract(epoch from '2026-06-06 10:55:08'::timestamp) - extract(epoch from '2026-06-06 10:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042747 -2.811415)'), GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.811158)'))) / (select extract(epoch from '2026-06-06 10:55:08'::timestamp) - extract(epoch from '2026-06-06 10:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042864 -2.811004)', '2026-06-06 10:55:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.811158)'), GeomFromEWKT('SRID=4674;POINT (-40.042864 -2.811004)'))) / (select extract(epoch from '2026-06-06 10:55:16'::timestamp) - extract(epoch from '2026-06-06 10:55:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042806 -2.811158)'), GeomFromEWKT('SRID=4674;POINT (-40.042864 -2.811004)'))) / (select extract(epoch from '2026-06-06 10:55:16'::timestamp) - extract(epoch from '2026-06-06 10:55:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042913 -2.810888)', '2026-06-06 10:55:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042864 -2.811004)'), GeomFromEWKT('SRID=4674;POINT (-40.042913 -2.810888)'))) / (select extract(epoch from '2026-06-06 10:55:22'::timestamp) - extract(epoch from '2026-06-06 10:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042864 -2.811004)'), GeomFromEWKT('SRID=4674;POINT (-40.042913 -2.810888)'))) / (select extract(epoch from '2026-06-06 10:55:22'::timestamp) - extract(epoch from '2026-06-06 10:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042986 -2.810709)', '2026-06-06 10:55:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042913 -2.810888)'), GeomFromEWKT('SRID=4674;POINT (-40.042986 -2.810709)'))) / (select extract(epoch from '2026-06-06 10:55:31'::timestamp) - extract(epoch from '2026-06-06 10:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042913 -2.810888)'), GeomFromEWKT('SRID=4674;POINT (-40.042986 -2.810709)'))) / (select extract(epoch from '2026-06-06 10:55:31'::timestamp) - extract(epoch from '2026-06-06 10:55:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043023 -2.810539)', '2026-06-06 10:55:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042986 -2.810709)'), GeomFromEWKT('SRID=4674;POINT (-40.043023 -2.810539)'))) / (select extract(epoch from '2026-06-06 10:55:39'::timestamp) - extract(epoch from '2026-06-06 10:55:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042986 -2.810709)'), GeomFromEWKT('SRID=4674;POINT (-40.043023 -2.810539)'))) / (select extract(epoch from '2026-06-06 10:55:39'::timestamp) - extract(epoch from '2026-06-06 10:55:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043028 -2.810348)', '2026-06-06 10:55:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043023 -2.810539)'), GeomFromEWKT('SRID=4674;POINT (-40.043028 -2.810348)'))) / (select extract(epoch from '2026-06-06 10:55:48'::timestamp) - extract(epoch from '2026-06-06 10:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043023 -2.810539)'), GeomFromEWKT('SRID=4674;POINT (-40.043028 -2.810348)'))) / (select extract(epoch from '2026-06-06 10:55:48'::timestamp) - extract(epoch from '2026-06-06 10:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043065 -2.810177)', '2026-06-06 10:55:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043028 -2.810348)'), GeomFromEWKT('SRID=4674;POINT (-40.043065 -2.810177)'))) / (select extract(epoch from '2026-06-06 10:55:56'::timestamp) - extract(epoch from '2026-06-06 10:55:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043028 -2.810348)'), GeomFromEWKT('SRID=4674;POINT (-40.043065 -2.810177)'))) / (select extract(epoch from '2026-06-06 10:55:56'::timestamp) - extract(epoch from '2026-06-06 10:55:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043154 -2.809983)', '2026-06-06 10:56:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043065 -2.810177)'), GeomFromEWKT('SRID=4674;POINT (-40.043154 -2.809983)'))) / (select extract(epoch from '2026-06-06 10:56:06'::timestamp) - extract(epoch from '2026-06-06 10:55:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043065 -2.810177)'), GeomFromEWKT('SRID=4674;POINT (-40.043154 -2.809983)'))) / (select extract(epoch from '2026-06-06 10:56:06'::timestamp) - extract(epoch from '2026-06-06 10:55:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043247 -2.809789)', '2026-06-06 10:56:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043154 -2.809983)'), GeomFromEWKT('SRID=4674;POINT (-40.043247 -2.809789)'))) / (select extract(epoch from '2026-06-06 10:56:16'::timestamp) - extract(epoch from '2026-06-06 10:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043154 -2.809983)'), GeomFromEWKT('SRID=4674;POINT (-40.043247 -2.809789)'))) / (select extract(epoch from '2026-06-06 10:56:16'::timestamp) - extract(epoch from '2026-06-06 10:56: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'), 46939, 'SRID=4674;POINT (-40.043324 -2.809633)', '2026-06-06 10:56:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043247 -2.809789)'), GeomFromEWKT('SRID=4674;POINT (-40.043324 -2.809633)'))) / (select extract(epoch from '2026-06-06 10:56:24'::timestamp) - extract(epoch from '2026-06-06 10:56:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043247 -2.809789)'), GeomFromEWKT('SRID=4674;POINT (-40.043324 -2.809633)'))) / (select extract(epoch from '2026-06-06 10:56:24'::timestamp) - extract(epoch from '2026-06-06 10:56: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'), 46939, 'SRID=4674;POINT (-40.043412 -2.809454)', '2026-06-06 10:56:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043324 -2.809633)'), GeomFromEWKT('SRID=4674;POINT (-40.043412 -2.809454)'))) / (select extract(epoch from '2026-06-06 10:56:33'::timestamp) - extract(epoch from '2026-06-06 10:56:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043324 -2.809633)'), GeomFromEWKT('SRID=4674;POINT (-40.043412 -2.809454)'))) / (select extract(epoch from '2026-06-06 10:56:33'::timestamp) - extract(epoch from '2026-06-06 10:56: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'), 46939, 'SRID=4674;POINT (-40.043503 -2.809253)', '2026-06-06 10:56:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043412 -2.809454)'), GeomFromEWKT('SRID=4674;POINT (-40.043503 -2.809253)'))) / (select extract(epoch from '2026-06-06 10:56:43'::timestamp) - extract(epoch from '2026-06-06 10:56:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043412 -2.809454)'), GeomFromEWKT('SRID=4674;POINT (-40.043503 -2.809253)'))) / (select extract(epoch from '2026-06-06 10:56:43'::timestamp) - extract(epoch from '2026-06-06 10:56:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043571 -2.809097)', '2026-06-06 10:56:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043503 -2.809253)'), GeomFromEWKT('SRID=4674;POINT (-40.043571 -2.809097)'))) / (select extract(epoch from '2026-06-06 10:56:51'::timestamp) - extract(epoch from '2026-06-06 10:56:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043503 -2.809253)'), GeomFromEWKT('SRID=4674;POINT (-40.043571 -2.809097)'))) / (select extract(epoch from '2026-06-06 10:56:51'::timestamp) - extract(epoch from '2026-06-06 10:56:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.04362 -2.808952)', '2026-06-06 10:56:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043571 -2.809097)'), GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.808952)'))) / (select extract(epoch from '2026-06-06 10:56:59'::timestamp) - extract(epoch from '2026-06-06 10:56:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043571 -2.809097)'), GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.808952)'))) / (select extract(epoch from '2026-06-06 10:56:59'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.043662 -2.808773)', '2026-06-06 10:57:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.808952)'), GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.808773)'))) / (select extract(epoch from '2026-06-06 10:57:10'::timestamp) - extract(epoch from '2026-06-06 10:56:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.808952)'), GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.808773)'))) / (select extract(epoch from '2026-06-06 10:57:10'::timestamp) - extract(epoch from '2026-06-06 10: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'), 46939, 'SRID=4674;POINT (-40.043689 -2.808639)', '2026-06-06 10:57:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.808773)'), GeomFromEWKT('SRID=4674;POINT (-40.043689 -2.808639)'))) / (select extract(epoch from '2026-06-06 10:57:18'::timestamp) - extract(epoch from '2026-06-06 10:57:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043662 -2.808773)'), GeomFromEWKT('SRID=4674;POINT (-40.043689 -2.808639)'))) / (select extract(epoch from '2026-06-06 10:57:18'::timestamp) - extract(epoch from '2026-06-06 10:57: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'), 46939, 'SRID=4674;POINT (-40.043718 -2.808501)', '2026-06-06 10:57:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043689 -2.808639)'), GeomFromEWKT('SRID=4674;POINT (-40.043718 -2.808501)'))) / (select extract(epoch from '2026-06-06 10:57:27'::timestamp) - extract(epoch from '2026-06-06 10:57:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043689 -2.808639)'), GeomFromEWKT('SRID=4674;POINT (-40.043718 -2.808501)'))) / (select extract(epoch from '2026-06-06 10:57:27'::timestamp) - extract(epoch from '2026-06-06 10:57: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'), 46939, 'SRID=4674;POINT (-40.043757 -2.808342)', '2026-06-06 10:57:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043718 -2.808501)'), GeomFromEWKT('SRID=4674;POINT (-40.043757 -2.808342)'))) / (select extract(epoch from '2026-06-06 10:57:38'::timestamp) - extract(epoch from '2026-06-06 10:57:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043718 -2.808501)'), GeomFromEWKT('SRID=4674;POINT (-40.043757 -2.808342)'))) / (select extract(epoch from '2026-06-06 10:57:38'::timestamp) - extract(epoch from '2026-06-06 10:57: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'), 46939, 'SRID=4674;POINT (-40.043771 -2.808203)', '2026-06-06 10:57:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043757 -2.808342)'), GeomFromEWKT('SRID=4674;POINT (-40.043771 -2.808203)'))) / (select extract(epoch from '2026-06-06 10:57:47'::timestamp) - extract(epoch from '2026-06-06 10:57:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043757 -2.808342)'), GeomFromEWKT('SRID=4674;POINT (-40.043771 -2.808203)'))) / (select extract(epoch from '2026-06-06 10:57:47'::timestamp) - extract(epoch from '2026-06-06 10:57: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'), 46939, 'SRID=4674;POINT (-40.043786 -2.808034)', '2026-06-06 10:57:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043771 -2.808203)'), GeomFromEWKT('SRID=4674;POINT (-40.043786 -2.808034)'))) / (select extract(epoch from '2026-06-06 10:57:57'::timestamp) - extract(epoch from '2026-06-06 10:57:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043771 -2.808203)'), GeomFromEWKT('SRID=4674;POINT (-40.043786 -2.808034)'))) / (select extract(epoch from '2026-06-06 10:57:57'::timestamp) - extract(epoch from '2026-06-06 10:57:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043803 -2.807876)', '2026-06-06 10:58:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043786 -2.808034)'), GeomFromEWKT('SRID=4674;POINT (-40.043803 -2.807876)'))) / (select extract(epoch from '2026-06-06 10:58:07'::timestamp) - extract(epoch from '2026-06-06 10:57:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043786 -2.808034)'), GeomFromEWKT('SRID=4674;POINT (-40.043803 -2.807876)'))) / (select extract(epoch from '2026-06-06 10:58:07'::timestamp) - extract(epoch from '2026-06-06 10:57:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.04376 -2.80776)', '2026-06-06 10:58:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043803 -2.807876)'), GeomFromEWKT('SRID=4674;POINT (-40.04376 -2.80776)'))) / (select extract(epoch from '2026-06-06 10:58:17'::timestamp) - extract(epoch from '2026-06-06 10:58:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043803 -2.807876)'), GeomFromEWKT('SRID=4674;POINT (-40.04376 -2.80776)'))) / (select extract(epoch from '2026-06-06 10:58:17'::timestamp) - extract(epoch from '2026-06-06 10:58: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'), 46939, 'SRID=4674;POINT (-40.043692 -2.807722)', '2026-06-06 10:58:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04376 -2.80776)'), GeomFromEWKT('SRID=4674;POINT (-40.043692 -2.807722)'))) / (select extract(epoch from '2026-06-06 10:58:26'::timestamp) - extract(epoch from '2026-06-06 10:58:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04376 -2.80776)'), GeomFromEWKT('SRID=4674;POINT (-40.043692 -2.807722)'))) / (select extract(epoch from '2026-06-06 10:58:26'::timestamp) - extract(epoch from '2026-06-06 10:58: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'), 46939, 'SRID=4674;POINT (-40.043582 -2.80775)', '2026-06-06 10:58:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043692 -2.807722)'), GeomFromEWKT('SRID=4674;POINT (-40.043582 -2.80775)'))) / (select extract(epoch from '2026-06-06 10:58:42'::timestamp) - extract(epoch from '2026-06-06 10:58:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043692 -2.807722)'), GeomFromEWKT('SRID=4674;POINT (-40.043582 -2.80775)'))) / (select extract(epoch from '2026-06-06 10:58:42'::timestamp) - extract(epoch from '2026-06-06 10:58:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.04347 -2.807758)', '2026-06-06 10:58:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043582 -2.80775)'), GeomFromEWKT('SRID=4674;POINT (-40.04347 -2.807758)'))) / (select extract(epoch from '2026-06-06 10:58:53'::timestamp) - extract(epoch from '2026-06-06 10:58:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043582 -2.80775)'), GeomFromEWKT('SRID=4674;POINT (-40.04347 -2.807758)'))) / (select extract(epoch from '2026-06-06 10:58:53'::timestamp) - extract(epoch from '2026-06-06 10:58: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'), 46939, 'SRID=4674;POINT (-40.043344 -2.807708)', '2026-06-06 10:59:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04347 -2.807758)'), GeomFromEWKT('SRID=4674;POINT (-40.043344 -2.807708)'))) / (select extract(epoch from '2026-06-06 10:59:03'::timestamp) - extract(epoch from '2026-06-06 10:58:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04347 -2.807758)'), GeomFromEWKT('SRID=4674;POINT (-40.043344 -2.807708)'))) / (select extract(epoch from '2026-06-06 10:59:03'::timestamp) - extract(epoch from '2026-06-06 10:58: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'), 46939, 'SRID=4674;POINT (-40.043293 -2.807644)', '2026-06-06 10:59:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043344 -2.807708)'), GeomFromEWKT('SRID=4674;POINT (-40.043293 -2.807644)'))) / (select extract(epoch from '2026-06-06 10:59:11'::timestamp) - extract(epoch from '2026-06-06 10:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043344 -2.807708)'), GeomFromEWKT('SRID=4674;POINT (-40.043293 -2.807644)'))) / (select extract(epoch from '2026-06-06 10:59:11'::timestamp) - extract(epoch from '2026-06-06 10:59: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'), 46939, 'SRID=4674;POINT (-40.043225 -2.807631)', '2026-06-06 10:59:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043293 -2.807644)'), GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.807631)'))) / (select extract(epoch from '2026-06-06 10:59:21'::timestamp) - extract(epoch from '2026-06-06 10:59:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043293 -2.807644)'), GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.807631)'))) / (select extract(epoch from '2026-06-06 10:59:21'::timestamp) - extract(epoch from '2026-06-06 10:59: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'), 46939, 'SRID=4674;POINT (-40.043199 -2.807626)', '2026-06-06 10:59:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.807631)'), GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.807626)'))) / (select extract(epoch from '2026-06-06 10:59:32'::timestamp) - extract(epoch from '2026-06-06 10:59:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.807631)'), GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.807626)'))) / (select extract(epoch from '2026-06-06 10:59:32'::timestamp) - extract(epoch from '2026-06-06 10:59:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043198 -2.807611)', '2026-06-06 10:59:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.807626)'), GeomFromEWKT('SRID=4674;POINT (-40.043198 -2.807611)'))) / (select extract(epoch from '2026-06-06 10:59:49'::timestamp) - extract(epoch from '2026-06-06 10:59:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043199 -2.807626)'), GeomFromEWKT('SRID=4674;POINT (-40.043198 -2.807611)'))) / (select extract(epoch from '2026-06-06 10:59:49'::timestamp) - extract(epoch from '2026-06-06 10:59:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043222 -2.807547)', '2026-06-06 11:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043198 -2.807611)'), GeomFromEWKT('SRID=4674;POINT (-40.043222 -2.807547)'))) / (select extract(epoch from '2026-06-06 11:00:21'::timestamp) - extract(epoch from '2026-06-06 10:59:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043198 -2.807611)'), GeomFromEWKT('SRID=4674;POINT (-40.043222 -2.807547)'))) / (select extract(epoch from '2026-06-06 11:00:21'::timestamp) - extract(epoch from '2026-06-06 10:59:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043234 -2.807556)', '2026-06-06 11:00:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043222 -2.807547)'), GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.807556)'))) / (select extract(epoch from '2026-06-06 11:00:44'::timestamp) - extract(epoch from '2026-06-06 11:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043222 -2.807547)'), GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.807556)'))) / (select extract(epoch from '2026-06-06 11:00:44'::timestamp) - extract(epoch from '2026-06-06 11: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'), 46939, 'SRID=4674;POINT (-40.043242 -2.807554)', '2026-06-06 11:01:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.807556)'), GeomFromEWKT('SRID=4674;POINT (-40.043242 -2.807554)'))) / (select extract(epoch from '2026-06-06 11:01:21'::timestamp) - extract(epoch from '2026-06-06 11:00:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.807556)'), GeomFromEWKT('SRID=4674;POINT (-40.043242 -2.807554)'))) / (select extract(epoch from '2026-06-06 11:01:21'::timestamp) - extract(epoch from '2026-06-06 11: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'), 46939, 'SRID=4674;POINT (-40.04324 -2.807553)', '2026-06-06 11:01:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043242 -2.807554)'), GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807553)'))) / (select extract(epoch from '2026-06-06 11:01:42'::timestamp) - extract(epoch from '2026-06-06 11:01:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043242 -2.807554)'), GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807553)'))) / (select extract(epoch from '2026-06-06 11:01:42'::timestamp) - extract(epoch from '2026-06-06 11:01:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043243 -2.807553)', '2026-06-06 11:02:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.807553)'))) / (select extract(epoch from '2026-06-06 11:02:01'::timestamp) - extract(epoch from '2026-06-06 11:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.807553)'))) / (select extract(epoch from '2026-06-06 11:02:01'::timestamp) - extract(epoch from '2026-06-06 11:01:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043245 -2.807554)', '2026-06-06 11:02:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.807554)'))) / (select extract(epoch from '2026-06-06 11:02:35'::timestamp) - extract(epoch from '2026-06-06 11:02:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.807554)'))) / (select extract(epoch from '2026-06-06 11:02:35'::timestamp) - extract(epoch from '2026-06-06 11:02:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043245 -2.807553)', '2026-06-06 11:03:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.807554)'), GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.807553)'))) / (select extract(epoch from '2026-06-06 11:03:05'::timestamp) - extract(epoch from '2026-06-06 11:02:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.807554)'), GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.807553)'))) / (select extract(epoch from '2026-06-06 11:03:05'::timestamp) - extract(epoch from '2026-06-06 11:02: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'), 46939, 'SRID=4674;POINT (-40.043246 -2.807554)', '2026-06-06 11:03:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.043246 -2.807554)'))) / (select extract(epoch from '2026-06-06 11:03:20'::timestamp) - extract(epoch from '2026-06-06 11:03:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.043246 -2.807554)'))) / (select extract(epoch from '2026-06-06 11:03:20'::timestamp) - extract(epoch from '2026-06-06 11: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'), 46939, 'SRID=4674;POINT (-40.043242 -2.807552)', '2026-06-06 11:03:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043246 -2.807554)'), GeomFromEWKT('SRID=4674;POINT (-40.043242 -2.807552)'))) / (select extract(epoch from '2026-06-06 11:03:50'::timestamp) - extract(epoch from '2026-06-06 11:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043246 -2.807554)'), GeomFromEWKT('SRID=4674;POINT (-40.043242 -2.807552)'))) / (select extract(epoch from '2026-06-06 11:03:50'::timestamp) - extract(epoch from '2026-06-06 11:03: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'), 46939, 'SRID=4674;POINT (-40.04324 -2.807552)', '2026-06-06 11:04:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043242 -2.807552)'), GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807552)'))) / (select extract(epoch from '2026-06-06 11:04:07'::timestamp) - extract(epoch from '2026-06-06 11:03:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043242 -2.807552)'), GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807552)'))) / (select extract(epoch from '2026-06-06 11:04:07'::timestamp) - extract(epoch from '2026-06-06 11:03:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043234 -2.807553)', '2026-06-06 11:04:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807552)'), GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.807553)'))) / (select extract(epoch from '2026-06-06 11:04:21'::timestamp) - extract(epoch from '2026-06-06 11:04:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807552)'), GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.807553)'))) / (select extract(epoch from '2026-06-06 11:04:21'::timestamp) - extract(epoch from '2026-06-06 11:04:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043231 -2.807547)', '2026-06-06 11:04:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.807547)'))) / (select extract(epoch from '2026-06-06 11:04:44'::timestamp) - extract(epoch from '2026-06-06 11:04:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043234 -2.807553)'), GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.807547)'))) / (select extract(epoch from '2026-06-06 11:04:44'::timestamp) - extract(epoch from '2026-06-06 11:04: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'), 46939, 'SRID=4674;POINT (-40.04323 -2.807548)', '2026-06-06 11:05:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.807547)'), GeomFromEWKT('SRID=4674;POINT (-40.04323 -2.807548)'))) / (select extract(epoch from '2026-06-06 11:05:15'::timestamp) - extract(epoch from '2026-06-06 11:04:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043231 -2.807547)'), GeomFromEWKT('SRID=4674;POINT (-40.04323 -2.807548)'))) / (select extract(epoch from '2026-06-06 11:05:15'::timestamp) - extract(epoch from '2026-06-06 11:04:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043227 -2.807545)', '2026-06-06 11:05:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04323 -2.807548)'), GeomFromEWKT('SRID=4674;POINT (-40.043227 -2.807545)'))) / (select extract(epoch from '2026-06-06 11:05:28'::timestamp) - extract(epoch from '2026-06-06 11:05:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04323 -2.807548)'), GeomFromEWKT('SRID=4674;POINT (-40.043227 -2.807545)'))) / (select extract(epoch from '2026-06-06 11:05:28'::timestamp) - extract(epoch from '2026-06-06 11:05:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043225 -2.807542)', '2026-06-06 11:05:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043227 -2.807545)'), GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.807542)'))) / (select extract(epoch from '2026-06-06 11:05:44'::timestamp) - extract(epoch from '2026-06-06 11:05:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043227 -2.807545)'), GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.807542)'))) / (select extract(epoch from '2026-06-06 11:05:44'::timestamp) - extract(epoch from '2026-06-06 11:05: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'), 46939, 'SRID=4674;POINT (-40.043228 -2.807548)', '2026-06-06 11:05:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.807542)'), GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.807548)'))) / (select extract(epoch from '2026-06-06 11:05:50'::timestamp) - extract(epoch from '2026-06-06 11:05:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043225 -2.807542)'), GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.807548)'))) / (select extract(epoch from '2026-06-06 11:05:50'::timestamp) - extract(epoch from '2026-06-06 11:05: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'), 46939, 'SRID=4674;POINT (-40.043229 -2.807549)', '2026-06-06 11:06:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.807548)'), GeomFromEWKT('SRID=4674;POINT (-40.043229 -2.807549)'))) / (select extract(epoch from '2026-06-06 11:06:04'::timestamp) - extract(epoch from '2026-06-06 11:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.807548)'), GeomFromEWKT('SRID=4674;POINT (-40.043229 -2.807549)'))) / (select extract(epoch from '2026-06-06 11:06:04'::timestamp) - extract(epoch from '2026-06-06 11:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043229 -2.807551)', '2026-06-06 11:06:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043229 -2.807549)'), GeomFromEWKT('SRID=4674;POINT (-40.043229 -2.807551)'))) / (select extract(epoch from '2026-06-06 11:06:23'::timestamp) - extract(epoch from '2026-06-06 11:06:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043229 -2.807549)'), GeomFromEWKT('SRID=4674;POINT (-40.043229 -2.807551)'))) / (select extract(epoch from '2026-06-06 11:06:23'::timestamp) - extract(epoch from '2026-06-06 11:06: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'), 46939, 'SRID=4674;POINT (-40.043195 -2.807588)', '2026-06-06 11:06:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043229 -2.807551)'), GeomFromEWKT('SRID=4674;POINT (-40.043195 -2.807588)'))) / (select extract(epoch from '2026-06-06 11:06:36'::timestamp) - extract(epoch from '2026-06-06 11:06:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043229 -2.807551)'), GeomFromEWKT('SRID=4674;POINT (-40.043195 -2.807588)'))) / (select extract(epoch from '2026-06-06 11:06:36'::timestamp) - extract(epoch from '2026-06-06 11:06: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'), 46939, 'SRID=4674;POINT (-40.043123 -2.807628)', '2026-06-06 11:06:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043195 -2.807588)'), GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.807628)'))) / (select extract(epoch from '2026-06-06 11:06:47'::timestamp) - extract(epoch from '2026-06-06 11:06:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043195 -2.807588)'), GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.807628)'))) / (select extract(epoch from '2026-06-06 11:06:47'::timestamp) - extract(epoch from '2026-06-06 11:06:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043103 -2.807625)', '2026-06-06 11:06:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.807628)'), GeomFromEWKT('SRID=4674;POINT (-40.043103 -2.807625)'))) / (select extract(epoch from '2026-06-06 11:06:49'::timestamp) - extract(epoch from '2026-06-06 11:06:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.807628)'), GeomFromEWKT('SRID=4674;POINT (-40.043103 -2.807625)'))) / (select extract(epoch from '2026-06-06 11:06:49'::timestamp) - extract(epoch from '2026-06-06 11:06:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043043 -2.807564)', '2026-06-06 11:06:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043103 -2.807625)'), GeomFromEWKT('SRID=4674;POINT (-40.043043 -2.807564)'))) / (select extract(epoch from '2026-06-06 11:06:56'::timestamp) - extract(epoch from '2026-06-06 11:06:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043103 -2.807625)'), GeomFromEWKT('SRID=4674;POINT (-40.043043 -2.807564)'))) / (select extract(epoch from '2026-06-06 11:06:56'::timestamp) - extract(epoch from '2026-06-06 11:06: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'), 46939, 'SRID=4674;POINT (-40.043034 -2.80755)', '2026-06-06 11:06:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043043 -2.807564)'), GeomFromEWKT('SRID=4674;POINT (-40.043034 -2.80755)'))) / (select extract(epoch from '2026-06-06 11:06:57'::timestamp) - extract(epoch from '2026-06-06 11:06:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043043 -2.807564)'), GeomFromEWKT('SRID=4674;POINT (-40.043034 -2.80755)'))) / (select extract(epoch from '2026-06-06 11:06:57'::timestamp) - extract(epoch from '2026-06-06 11:06: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'), 46939, 'SRID=4674;POINT (-40.043029 -2.807496)', '2026-06-06 11:07:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043034 -2.80755)'), GeomFromEWKT('SRID=4674;POINT (-40.043029 -2.807496)'))) / (select extract(epoch from '2026-06-06 11:07:01'::timestamp) - extract(epoch from '2026-06-06 11:06:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043034 -2.80755)'), GeomFromEWKT('SRID=4674;POINT (-40.043029 -2.807496)'))) / (select extract(epoch from '2026-06-06 11:07:01'::timestamp) - extract(epoch from '2026-06-06 11:06:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043073 -2.807405)', '2026-06-06 11:07:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043029 -2.807496)'), GeomFromEWKT('SRID=4674;POINT (-40.043073 -2.807405)'))) / (select extract(epoch from '2026-06-06 11:07:07'::timestamp) - extract(epoch from '2026-06-06 11:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043029 -2.807496)'), GeomFromEWKT('SRID=4674;POINT (-40.043073 -2.807405)'))) / (select extract(epoch from '2026-06-06 11:07:07'::timestamp) - extract(epoch from '2026-06-06 11:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043082 -2.80739)', '2026-06-06 11:07:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043073 -2.807405)'), GeomFromEWKT('SRID=4674;POINT (-40.043082 -2.80739)'))) / (select extract(epoch from '2026-06-06 11:07:08'::timestamp) - extract(epoch from '2026-06-06 11:07:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043073 -2.807405)'), GeomFromEWKT('SRID=4674;POINT (-40.043082 -2.80739)'))) / (select extract(epoch from '2026-06-06 11:07:08'::timestamp) - extract(epoch from '2026-06-06 11:07: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'), 46939, 'SRID=4674;POINT (-40.043174 -2.807335)', '2026-06-06 11:07:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043082 -2.80739)'), GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.807335)'))) / (select extract(epoch from '2026-06-06 11:07:14'::timestamp) - extract(epoch from '2026-06-06 11:07:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043082 -2.80739)'), GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.807335)'))) / (select extract(epoch from '2026-06-06 11:07:14'::timestamp) - extract(epoch from '2026-06-06 11:07: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'), 46939, 'SRID=4674;POINT (-40.043247 -2.807238)', '2026-06-06 11:07:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.807335)'), GeomFromEWKT('SRID=4674;POINT (-40.043247 -2.807238)'))) / (select extract(epoch from '2026-06-06 11:07:22'::timestamp) - extract(epoch from '2026-06-06 11:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043174 -2.807335)'), GeomFromEWKT('SRID=4674;POINT (-40.043247 -2.807238)'))) / (select extract(epoch from '2026-06-06 11:07:22'::timestamp) - extract(epoch from '2026-06-06 11:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043235 -2.807109)', '2026-06-06 11:07:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043247 -2.807238)'), GeomFromEWKT('SRID=4674;POINT (-40.043235 -2.807109)'))) / (select extract(epoch from '2026-06-06 11:07:30'::timestamp) - extract(epoch from '2026-06-06 11:07:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043247 -2.807238)'), GeomFromEWKT('SRID=4674;POINT (-40.043235 -2.807109)'))) / (select extract(epoch from '2026-06-06 11:07:30'::timestamp) - extract(epoch from '2026-06-06 11:07: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'), 46939, 'SRID=4674;POINT (-40.04326 -2.806968)', '2026-06-06 11:07:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043235 -2.807109)'), GeomFromEWKT('SRID=4674;POINT (-40.04326 -2.806968)'))) / (select extract(epoch from '2026-06-06 11:07:38'::timestamp) - extract(epoch from '2026-06-06 11:07:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043235 -2.807109)'), GeomFromEWKT('SRID=4674;POINT (-40.04326 -2.806968)'))) / (select extract(epoch from '2026-06-06 11:07:38'::timestamp) - extract(epoch from '2026-06-06 11:07: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'), 46939, 'SRID=4674;POINT (-40.04332 -2.806863)', '2026-06-06 11:07:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04326 -2.806968)'), GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.806863)'))) / (select extract(epoch from '2026-06-06 11:07:45'::timestamp) - extract(epoch from '2026-06-06 11:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04326 -2.806968)'), GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.806863)'))) / (select extract(epoch from '2026-06-06 11:07:45'::timestamp) - extract(epoch from '2026-06-06 11:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043345 -2.806754)', '2026-06-06 11:07:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.806863)'), GeomFromEWKT('SRID=4674;POINT (-40.043345 -2.806754)'))) / (select extract(epoch from '2026-06-06 11:07:52'::timestamp) - extract(epoch from '2026-06-06 11:07:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.806863)'), GeomFromEWKT('SRID=4674;POINT (-40.043345 -2.806754)'))) / (select extract(epoch from '2026-06-06 11:07:52'::timestamp) - extract(epoch from '2026-06-06 11:07: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'), 46939, 'SRID=4674;POINT (-40.043433 -2.806632)', '2026-06-06 11:08:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043345 -2.806754)'), GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.806632)'))) / (select extract(epoch from '2026-06-06 11:08:01'::timestamp) - extract(epoch from '2026-06-06 11:07:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043345 -2.806754)'), GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.806632)'))) / (select extract(epoch from '2026-06-06 11:08:01'::timestamp) - extract(epoch from '2026-06-06 11:07:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043516 -2.806586)', '2026-06-06 11:08:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.806632)'), GeomFromEWKT('SRID=4674;POINT (-40.043516 -2.806586)'))) / (select extract(epoch from '2026-06-06 11:08:08'::timestamp) - extract(epoch from '2026-06-06 11:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043433 -2.806632)'), GeomFromEWKT('SRID=4674;POINT (-40.043516 -2.806586)'))) / (select extract(epoch from '2026-06-06 11:08:08'::timestamp) - extract(epoch from '2026-06-06 11: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'), 46939, 'SRID=4674;POINT (-40.04361 -2.806544)', '2026-06-06 11:08:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043516 -2.806586)'), GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806544)'))) / (select extract(epoch from '2026-06-06 11:08:17'::timestamp) - extract(epoch from '2026-06-06 11:08:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043516 -2.806586)'), GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806544)'))) / (select extract(epoch from '2026-06-06 11:08:17'::timestamp) - extract(epoch from '2026-06-06 11: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'), 46939, 'SRID=4674;POINT (-40.043655 -2.806492)', '2026-06-06 11:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806544)'), GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806492)'))) / (select extract(epoch from '2026-06-06 11:08:26'::timestamp) - extract(epoch from '2026-06-06 11:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04361 -2.806544)'), GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806492)'))) / (select extract(epoch from '2026-06-06 11:08:26'::timestamp) - extract(epoch from '2026-06-06 11:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043658 -2.806437)', '2026-06-06 11:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806492)'), GeomFromEWKT('SRID=4674;POINT (-40.043658 -2.806437)'))) / (select extract(epoch from '2026-06-06 11:08:42'::timestamp) - extract(epoch from '2026-06-06 11:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043655 -2.806492)'), GeomFromEWKT('SRID=4674;POINT (-40.043658 -2.806437)'))) / (select extract(epoch from '2026-06-06 11:08:42'::timestamp) - extract(epoch from '2026-06-06 11: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'), 46939, 'SRID=4674;POINT (-40.043624 -2.806461)', '2026-06-06 11:08:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043658 -2.806437)'), GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806461)'))) / (select extract(epoch from '2026-06-06 11:08:57'::timestamp) - extract(epoch from '2026-06-06 11:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043658 -2.806437)'), GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806461)'))) / (select extract(epoch from '2026-06-06 11:08:57'::timestamp) - extract(epoch from '2026-06-06 11:08: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'), 46939, 'SRID=4674;POINT (-40.043594 -2.806505)', '2026-06-06 11:09:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806461)'), GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.806505)'))) / (select extract(epoch from '2026-06-06 11:09:24'::timestamp) - extract(epoch from '2026-06-06 11:08:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043624 -2.806461)'), GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.806505)'))) / (select extract(epoch from '2026-06-06 11:09:24'::timestamp) - extract(epoch from '2026-06-06 11:08: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'), 46939, 'SRID=4674;POINT (-40.043621 -2.806499)', '2026-06-06 11:09:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.806505)'), GeomFromEWKT('SRID=4674;POINT (-40.043621 -2.806499)'))) / (select extract(epoch from '2026-06-06 11:09:50'::timestamp) - extract(epoch from '2026-06-06 11:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043594 -2.806505)'), GeomFromEWKT('SRID=4674;POINT (-40.043621 -2.806499)'))) / (select extract(epoch from '2026-06-06 11:09:50'::timestamp) - extract(epoch from '2026-06-06 11:09: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'), 46939, 'SRID=4674;POINT (-40.04362 -2.806492)', '2026-06-06 11:10:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043621 -2.806499)'), GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.806492)'))) / (select extract(epoch from '2026-06-06 11:10:05'::timestamp) - extract(epoch from '2026-06-06 11:09:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043621 -2.806499)'), GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.806492)'))) / (select extract(epoch from '2026-06-06 11:10:05'::timestamp) - extract(epoch from '2026-06-06 11:09:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.04359 -2.806503)', '2026-06-06 11:10:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.806492)'), GeomFromEWKT('SRID=4674;POINT (-40.04359 -2.806503)'))) / (select extract(epoch from '2026-06-06 11:10:19'::timestamp) - extract(epoch from '2026-06-06 11:10:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04362 -2.806492)'), GeomFromEWKT('SRID=4674;POINT (-40.04359 -2.806503)'))) / (select extract(epoch from '2026-06-06 11:10:19'::timestamp) - extract(epoch from '2026-06-06 11: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'), 46939, 'SRID=4674;POINT (-40.0435 -2.806554)', '2026-06-06 11:10:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04359 -2.806503)'), GeomFromEWKT('SRID=4674;POINT (-40.0435 -2.806554)'))) / (select extract(epoch from '2026-06-06 11:10:31'::timestamp) - extract(epoch from '2026-06-06 11:10:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04359 -2.806503)'), GeomFromEWKT('SRID=4674;POINT (-40.0435 -2.806554)'))) / (select extract(epoch from '2026-06-06 11:10:31'::timestamp) - extract(epoch from '2026-06-06 11:10:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043462 -2.80663)', '2026-06-06 11:10:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0435 -2.806554)'), GeomFromEWKT('SRID=4674;POINT (-40.043462 -2.80663)'))) / (select extract(epoch from '2026-06-06 11:10:38'::timestamp) - extract(epoch from '2026-06-06 11:10:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0435 -2.806554)'), GeomFromEWKT('SRID=4674;POINT (-40.043462 -2.80663)'))) / (select extract(epoch from '2026-06-06 11:10:38'::timestamp) - extract(epoch from '2026-06-06 11:10: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'), 46939, 'SRID=4674;POINT (-40.043378 -2.80677)', '2026-06-06 11:10:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043462 -2.80663)'), GeomFromEWKT('SRID=4674;POINT (-40.043378 -2.80677)'))) / (select extract(epoch from '2026-06-06 11:10:48'::timestamp) - extract(epoch from '2026-06-06 11:10:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043462 -2.80663)'), GeomFromEWKT('SRID=4674;POINT (-40.043378 -2.80677)'))) / (select extract(epoch from '2026-06-06 11:10:48'::timestamp) - extract(epoch from '2026-06-06 11:10: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'), 46939, 'SRID=4674;POINT (-40.043316 -2.806935)', '2026-06-06 11:10:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043378 -2.80677)'), GeomFromEWKT('SRID=4674;POINT (-40.043316 -2.806935)'))) / (select extract(epoch from '2026-06-06 11:10:58'::timestamp) - extract(epoch from '2026-06-06 11:10:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043378 -2.80677)'), GeomFromEWKT('SRID=4674;POINT (-40.043316 -2.806935)'))) / (select extract(epoch from '2026-06-06 11:10:58'::timestamp) - extract(epoch from '2026-06-06 11:10: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'), 46939, 'SRID=4674;POINT (-40.043262 -2.807114)', '2026-06-06 11:11:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043316 -2.806935)'), GeomFromEWKT('SRID=4674;POINT (-40.043262 -2.807114)'))) / (select extract(epoch from '2026-06-06 11:11:08'::timestamp) - extract(epoch from '2026-06-06 11:10:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043316 -2.806935)'), GeomFromEWKT('SRID=4674;POINT (-40.043262 -2.807114)'))) / (select extract(epoch from '2026-06-06 11:11:08'::timestamp) - extract(epoch from '2026-06-06 11:10:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043257 -2.807264)', '2026-06-06 11:11:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043262 -2.807114)'), GeomFromEWKT('SRID=4674;POINT (-40.043257 -2.807264)'))) / (select extract(epoch from '2026-06-06 11:11:17'::timestamp) - extract(epoch from '2026-06-06 11:11:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043262 -2.807114)'), GeomFromEWKT('SRID=4674;POINT (-40.043257 -2.807264)'))) / (select extract(epoch from '2026-06-06 11:11:17'::timestamp) - extract(epoch from '2026-06-06 11:11:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.04324 -2.807354)', '2026-06-06 11:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043257 -2.807264)'), GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807354)'))) / (select extract(epoch from '2026-06-06 11:11:24'::timestamp) - extract(epoch from '2026-06-06 11:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043257 -2.807264)'), GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807354)'))) / (select extract(epoch from '2026-06-06 11:11:24'::timestamp) - extract(epoch from '2026-06-06 11:11:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043216 -2.807442)', '2026-06-06 11:11:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807354)'), GeomFromEWKT('SRID=4674;POINT (-40.043216 -2.807442)'))) / (select extract(epoch from '2026-06-06 11:11:32'::timestamp) - extract(epoch from '2026-06-06 11:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04324 -2.807354)'), GeomFromEWKT('SRID=4674;POINT (-40.043216 -2.807442)'))) / (select extract(epoch from '2026-06-06 11:11:32'::timestamp) - extract(epoch from '2026-06-06 11: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'), 46939, 'SRID=4674;POINT (-40.043237 -2.807506)', '2026-06-06 11:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043216 -2.807442)'), GeomFromEWKT('SRID=4674;POINT (-40.043237 -2.807506)'))) / (select extract(epoch from '2026-06-06 11:11:38'::timestamp) - extract(epoch from '2026-06-06 11:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043216 -2.807442)'), GeomFromEWKT('SRID=4674;POINT (-40.043237 -2.807506)'))) / (select extract(epoch from '2026-06-06 11:11:38'::timestamp) - extract(epoch from '2026-06-06 11:11:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043228 -2.807538)', '2026-06-06 11:11:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043237 -2.807506)'), GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.807538)'))) / (select extract(epoch from '2026-06-06 11:11:42'::timestamp) - extract(epoch from '2026-06-06 11:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043237 -2.807506)'), GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.807538)'))) / (select extract(epoch from '2026-06-06 11:11:42'::timestamp) - extract(epoch from '2026-06-06 11:11: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'), 46939, 'SRID=4674;POINT (-40.043182 -2.80756)', '2026-06-06 11:11:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.807538)'), GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.80756)'))) / (select extract(epoch from '2026-06-06 11:11:55'::timestamp) - extract(epoch from '2026-06-06 11:11:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043228 -2.807538)'), GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.80756)'))) / (select extract(epoch from '2026-06-06 11:11:55'::timestamp) - extract(epoch from '2026-06-06 11:11: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'), 46939, 'SRID=4674;POINT (-40.043179 -2.807552)', '2026-06-06 11:12:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.80756)'), GeomFromEWKT('SRID=4674;POINT (-40.043179 -2.807552)'))) / (select extract(epoch from '2026-06-06 11:12:11'::timestamp) - extract(epoch from '2026-06-06 11:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043182 -2.80756)'), GeomFromEWKT('SRID=4674;POINT (-40.043179 -2.807552)'))) / (select extract(epoch from '2026-06-06 11:12:11'::timestamp) - extract(epoch from '2026-06-06 11:11: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'), 46939, 'SRID=4674;POINT (-40.04319 -2.807549)', '2026-06-06 11:12:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043179 -2.807552)'), GeomFromEWKT('SRID=4674;POINT (-40.04319 -2.807549)'))) / (select extract(epoch from '2026-06-06 11:12:19'::timestamp) - extract(epoch from '2026-06-06 11:12:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043179 -2.807552)'), GeomFromEWKT('SRID=4674;POINT (-40.04319 -2.807549)'))) / (select extract(epoch from '2026-06-06 11:12:19'::timestamp) - extract(epoch from '2026-06-06 11:12: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'), 46939, 'SRID=4674;POINT (-40.043207 -2.807541)', '2026-06-06 11:12:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04319 -2.807549)'), GeomFromEWKT('SRID=4674;POINT (-40.043207 -2.807541)'))) / (select extract(epoch from '2026-06-06 11:12:26'::timestamp) - extract(epoch from '2026-06-06 11:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04319 -2.807549)'), GeomFromEWKT('SRID=4674;POINT (-40.043207 -2.807541)'))) / (select extract(epoch from '2026-06-06 11:12:26'::timestamp) - extract(epoch from '2026-06-06 11:12: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'), 46939, 'SRID=4674;POINT (-40.043243 -2.807514)', '2026-06-06 11:12:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043207 -2.807541)'), GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.807514)'))) / (select extract(epoch from '2026-06-06 11:12:46'::timestamp) - extract(epoch from '2026-06-06 11:12:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043207 -2.807541)'), GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.807514)'))) / (select extract(epoch from '2026-06-06 11:12:46'::timestamp) - extract(epoch from '2026-06-06 11:12: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'), 46939, 'SRID=4674;POINT (-40.043205 -2.807459)', '2026-06-06 11:13:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.807514)'), GeomFromEWKT('SRID=4674;POINT (-40.043205 -2.807459)'))) / (select extract(epoch from '2026-06-06 11:13:02'::timestamp) - extract(epoch from '2026-06-06 11:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043243 -2.807514)'), GeomFromEWKT('SRID=4674;POINT (-40.043205 -2.807459)'))) / (select extract(epoch from '2026-06-06 11:13:02'::timestamp) - extract(epoch from '2026-06-06 11:12: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'), 46939, 'SRID=4674;POINT (-40.043067 -2.807385)', '2026-06-06 11:13:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043205 -2.807459)'), GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.807385)'))) / (select extract(epoch from '2026-06-06 11:13:12'::timestamp) - extract(epoch from '2026-06-06 11:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043205 -2.807459)'), GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.807385)'))) / (select extract(epoch from '2026-06-06 11:13:12'::timestamp) - extract(epoch from '2026-06-06 11:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042954 -2.807412)', '2026-06-06 11:13:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.807385)'), GeomFromEWKT('SRID=4674;POINT (-40.042954 -2.807412)'))) / (select extract(epoch from '2026-06-06 11:13:19'::timestamp) - extract(epoch from '2026-06-06 11:13:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043067 -2.807385)'), GeomFromEWKT('SRID=4674;POINT (-40.042954 -2.807412)'))) / (select extract(epoch from '2026-06-06 11:13:19'::timestamp) - extract(epoch from '2026-06-06 11:13:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042773 -2.807479)', '2026-06-06 11:13:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042954 -2.807412)'), GeomFromEWKT('SRID=4674;POINT (-40.042773 -2.807479)'))) / (select extract(epoch from '2026-06-06 11:13:30'::timestamp) - extract(epoch from '2026-06-06 11:13:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042954 -2.807412)'), GeomFromEWKT('SRID=4674;POINT (-40.042773 -2.807479)'))) / (select extract(epoch from '2026-06-06 11:13:30'::timestamp) - extract(epoch from '2026-06-06 11:13: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'), 46939, 'SRID=4674;POINT (-40.042543 -2.807549)', '2026-06-06 11:13:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042773 -2.807479)'), GeomFromEWKT('SRID=4674;POINT (-40.042543 -2.807549)'))) / (select extract(epoch from '2026-06-06 11:13:43'::timestamp) - extract(epoch from '2026-06-06 11:13:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042773 -2.807479)'), GeomFromEWKT('SRID=4674;POINT (-40.042543 -2.807549)'))) / (select extract(epoch from '2026-06-06 11:13:43'::timestamp) - extract(epoch from '2026-06-06 11:13: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'), 46939, 'SRID=4674;POINT (-40.042377 -2.807622)', '2026-06-06 11:13:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042543 -2.807549)'), GeomFromEWKT('SRID=4674;POINT (-40.042377 -2.807622)'))) / (select extract(epoch from '2026-06-06 11:13:53'::timestamp) - extract(epoch from '2026-06-06 11:13:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042543 -2.807549)'), GeomFromEWKT('SRID=4674;POINT (-40.042377 -2.807622)'))) / (select extract(epoch from '2026-06-06 11:13:53'::timestamp) - extract(epoch from '2026-06-06 11:13:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.04224 -2.807727)', '2026-06-06 11:14:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042377 -2.807622)'), GeomFromEWKT('SRID=4674;POINT (-40.04224 -2.807727)'))) / (select extract(epoch from '2026-06-06 11:14:03'::timestamp) - extract(epoch from '2026-06-06 11:13:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042377 -2.807622)'), GeomFromEWKT('SRID=4674;POINT (-40.04224 -2.807727)'))) / (select extract(epoch from '2026-06-06 11:14:03'::timestamp) - extract(epoch from '2026-06-06 11:13: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'), 46939, 'SRID=4674;POINT (-40.042063 -2.807874)', '2026-06-06 11:14:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04224 -2.807727)'), GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.807874)'))) / (select extract(epoch from '2026-06-06 11:14:16'::timestamp) - extract(epoch from '2026-06-06 11:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04224 -2.807727)'), GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.807874)'))) / (select extract(epoch from '2026-06-06 11:14:16'::timestamp) - extract(epoch from '2026-06-06 11:14: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'), 46939, 'SRID=4674;POINT (-40.041941 -2.807945)', '2026-06-06 11:14:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.807874)'), GeomFromEWKT('SRID=4674;POINT (-40.041941 -2.807945)'))) / (select extract(epoch from '2026-06-06 11:14:24'::timestamp) - extract(epoch from '2026-06-06 11:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042063 -2.807874)'), GeomFromEWKT('SRID=4674;POINT (-40.041941 -2.807945)'))) / (select extract(epoch from '2026-06-06 11:14:24'::timestamp) - extract(epoch from '2026-06-06 11:14:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.041832 -2.80806)', '2026-06-06 11:14:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041941 -2.807945)'), GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.80806)'))) / (select extract(epoch from '2026-06-06 11:14:33'::timestamp) - extract(epoch from '2026-06-06 11:14:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041941 -2.807945)'), GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.80806)'))) / (select extract(epoch from '2026-06-06 11:14:33'::timestamp) - extract(epoch from '2026-06-06 11:14: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'), 46939, 'SRID=4674;POINT (-40.041789 -2.808145)', '2026-06-06 11:14:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.80806)'), GeomFromEWKT('SRID=4674;POINT (-40.041789 -2.808145)'))) / (select extract(epoch from '2026-06-06 11:14:39'::timestamp) - extract(epoch from '2026-06-06 11:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041832 -2.80806)'), GeomFromEWKT('SRID=4674;POINT (-40.041789 -2.808145)'))) / (select extract(epoch from '2026-06-06 11:14:39'::timestamp) - extract(epoch from '2026-06-06 11:14: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'), 46939, 'SRID=4674;POINT (-40.041703 -2.808227)', '2026-06-06 11:14:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041789 -2.808145)'), GeomFromEWKT('SRID=4674;POINT (-40.041703 -2.808227)'))) / (select extract(epoch from '2026-06-06 11:14:47'::timestamp) - extract(epoch from '2026-06-06 11:14:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041789 -2.808145)'), GeomFromEWKT('SRID=4674;POINT (-40.041703 -2.808227)'))) / (select extract(epoch from '2026-06-06 11:14:47'::timestamp) - extract(epoch from '2026-06-06 11:14: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'), 46939, 'SRID=4674;POINT (-40.041677 -2.808308)', '2026-06-06 11:14:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041703 -2.808227)'), GeomFromEWKT('SRID=4674;POINT (-40.041677 -2.808308)'))) / (select extract(epoch from '2026-06-06 11:14:54'::timestamp) - extract(epoch from '2026-06-06 11:14:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041703 -2.808227)'), GeomFromEWKT('SRID=4674;POINT (-40.041677 -2.808308)'))) / (select extract(epoch from '2026-06-06 11:14:54'::timestamp) - extract(epoch from '2026-06-06 11:14: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'), 46939, 'SRID=4674;POINT (-40.041641 -2.808353)', '2026-06-06 11:15:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041677 -2.808308)'), GeomFromEWKT('SRID=4674;POINT (-40.041641 -2.808353)'))) / (select extract(epoch from '2026-06-06 11:15:01'::timestamp) - extract(epoch from '2026-06-06 11:14:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041677 -2.808308)'), GeomFromEWKT('SRID=4674;POINT (-40.041641 -2.808353)'))) / (select extract(epoch from '2026-06-06 11:15:01'::timestamp) - extract(epoch from '2026-06-06 11:14: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'), 46939, 'SRID=4674;POINT (-40.0416 -2.808338)', '2026-06-06 11:15:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041641 -2.808353)'), GeomFromEWKT('SRID=4674;POINT (-40.0416 -2.808338)'))) / (select extract(epoch from '2026-06-06 11:15:15'::timestamp) - extract(epoch from '2026-06-06 11:15:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041641 -2.808353)'), GeomFromEWKT('SRID=4674;POINT (-40.0416 -2.808338)'))) / (select extract(epoch from '2026-06-06 11:15:15'::timestamp) - extract(epoch from '2026-06-06 11:15: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'), 46939, 'SRID=4674;POINT (-40.041607 -2.808294)', '2026-06-06 11:15:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0416 -2.808338)'), GeomFromEWKT('SRID=4674;POINT (-40.041607 -2.808294)'))) / (select extract(epoch from '2026-06-06 11:15:38'::timestamp) - extract(epoch from '2026-06-06 11:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0416 -2.808338)'), GeomFromEWKT('SRID=4674;POINT (-40.041607 -2.808294)'))) / (select extract(epoch from '2026-06-06 11:15:38'::timestamp) - extract(epoch from '2026-06-06 11:15: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'), 46939, 'SRID=4674;POINT (-40.041646 -2.808247)', '2026-06-06 11:16:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041607 -2.808294)'), GeomFromEWKT('SRID=4674;POINT (-40.041646 -2.808247)'))) / (select extract(epoch from '2026-06-06 11:16:09'::timestamp) - extract(epoch from '2026-06-06 11:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041607 -2.808294)'), GeomFromEWKT('SRID=4674;POINT (-40.041646 -2.808247)'))) / (select extract(epoch from '2026-06-06 11:16:09'::timestamp) - extract(epoch from '2026-06-06 11:15: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'), 46939, 'SRID=4674;POINT (-40.041449 -2.837288)', '2026-06-06 12:17:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041646 -2.808247)'), GeomFromEWKT('SRID=4674;POINT (-40.041449 -2.837288)'))) / (select extract(epoch from '2026-06-06 12:17:37'::timestamp) - extract(epoch from '2026-06-06 11:16:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041646 -2.808247)'), GeomFromEWKT('SRID=4674;POINT (-40.041449 -2.837288)'))) / (select extract(epoch from '2026-06-06 12:17:37'::timestamp) - extract(epoch from '2026-06-06 11:16: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'), 46939, 'SRID=4674;POINT (-40.041656 -2.837485)', '2026-06-06 12:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041449 -2.837288)'), GeomFromEWKT('SRID=4674;POINT (-40.041656 -2.837485)'))) / (select extract(epoch from '2026-06-06 12:17:51'::timestamp) - extract(epoch from '2026-06-06 12:17:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041449 -2.837288)'), GeomFromEWKT('SRID=4674;POINT (-40.041656 -2.837485)'))) / (select extract(epoch from '2026-06-06 12:17:51'::timestamp) - extract(epoch from '2026-06-06 12:17: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'), 46939, 'SRID=4674;POINT (-40.041755 -2.837594)', '2026-06-06 12:17:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041656 -2.837485)'), GeomFromEWKT('SRID=4674;POINT (-40.041755 -2.837594)'))) / (select extract(epoch from '2026-06-06 12:17:59'::timestamp) - extract(epoch from '2026-06-06 12:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041656 -2.837485)'), GeomFromEWKT('SRID=4674;POINT (-40.041755 -2.837594)'))) / (select extract(epoch from '2026-06-06 12:17:59'::timestamp) - extract(epoch from '2026-06-06 12: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'), 46939, 'SRID=4674;POINT (-40.041852 -2.837685)', '2026-06-06 12:18:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041755 -2.837594)'), GeomFromEWKT('SRID=4674;POINT (-40.041852 -2.837685)'))) / (select extract(epoch from '2026-06-06 12:18:06'::timestamp) - extract(epoch from '2026-06-06 12:17:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041755 -2.837594)'), GeomFromEWKT('SRID=4674;POINT (-40.041852 -2.837685)'))) / (select extract(epoch from '2026-06-06 12:18:06'::timestamp) - extract(epoch from '2026-06-06 12:17: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'), 46939, 'SRID=4674;POINT (-40.041957 -2.837795)', '2026-06-06 12:18:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041852 -2.837685)'), GeomFromEWKT('SRID=4674;POINT (-40.041957 -2.837795)'))) / (select extract(epoch from '2026-06-06 12:18:14'::timestamp) - extract(epoch from '2026-06-06 12:18:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041852 -2.837685)'), GeomFromEWKT('SRID=4674;POINT (-40.041957 -2.837795)'))) / (select extract(epoch from '2026-06-06 12:18:14'::timestamp) - extract(epoch from '2026-06-06 12:18:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042088 -2.837951)', '2026-06-06 12:18:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041957 -2.837795)'), GeomFromEWKT('SRID=4674;POINT (-40.042088 -2.837951)'))) / (select extract(epoch from '2026-06-06 12:18:25'::timestamp) - extract(epoch from '2026-06-06 12:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.041957 -2.837795)'), GeomFromEWKT('SRID=4674;POINT (-40.042088 -2.837951)'))) / (select extract(epoch from '2026-06-06 12:18:25'::timestamp) - extract(epoch from '2026-06-06 12:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042272 -2.838151)', '2026-06-06 12:18:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042088 -2.837951)'), GeomFromEWKT('SRID=4674;POINT (-40.042272 -2.838151)'))) / (select extract(epoch from '2026-06-06 12:18:39'::timestamp) - extract(epoch from '2026-06-06 12:18:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042088 -2.837951)'), GeomFromEWKT('SRID=4674;POINT (-40.042272 -2.838151)'))) / (select extract(epoch from '2026-06-06 12:18:39'::timestamp) - extract(epoch from '2026-06-06 12:18:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042376 -2.838266)', '2026-06-06 12:18:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042272 -2.838151)'), GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.838266)'))) / (select extract(epoch from '2026-06-06 12:18:47'::timestamp) - extract(epoch from '2026-06-06 12:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042272 -2.838151)'), GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.838266)'))) / (select extract(epoch from '2026-06-06 12:18:47'::timestamp) - extract(epoch from '2026-06-06 12:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042438 -2.838339)', '2026-06-06 12:18:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.838266)'), GeomFromEWKT('SRID=4674;POINT (-40.042438 -2.838339)'))) / (select extract(epoch from '2026-06-06 12:18:52'::timestamp) - extract(epoch from '2026-06-06 12:18:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042376 -2.838266)'), GeomFromEWKT('SRID=4674;POINT (-40.042438 -2.838339)'))) / (select extract(epoch from '2026-06-06 12:18:52'::timestamp) - extract(epoch from '2026-06-06 12:18:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042501 -2.838424)', '2026-06-06 12:18:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042438 -2.838339)'), GeomFromEWKT('SRID=4674;POINT (-40.042501 -2.838424)'))) / (select extract(epoch from '2026-06-06 12:18:57'::timestamp) - extract(epoch from '2026-06-06 12:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042438 -2.838339)'), GeomFromEWKT('SRID=4674;POINT (-40.042501 -2.838424)'))) / (select extract(epoch from '2026-06-06 12:18:57'::timestamp) - extract(epoch from '2026-06-06 12:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.042527 -2.838448)', '2026-06-06 12:18:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042501 -2.838424)'), GeomFromEWKT('SRID=4674;POINT (-40.042527 -2.838448)'))) / (select extract(epoch from '2026-06-06 12:18:59'::timestamp) - extract(epoch from '2026-06-06 12:18:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042501 -2.838424)'), GeomFromEWKT('SRID=4674;POINT (-40.042527 -2.838448)'))) / (select extract(epoch from '2026-06-06 12:18:59'::timestamp) - extract(epoch from '2026-06-06 12:18: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'), 46939, 'SRID=4674;POINT (-40.042567 -2.838476)', '2026-06-06 12:19:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042527 -2.838448)'), GeomFromEWKT('SRID=4674;POINT (-40.042567 -2.838476)'))) / (select extract(epoch from '2026-06-06 12:19:01'::timestamp) - extract(epoch from '2026-06-06 12:18:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042527 -2.838448)'), GeomFromEWKT('SRID=4674;POINT (-40.042567 -2.838476)'))) / (select extract(epoch from '2026-06-06 12:19:01'::timestamp) - extract(epoch from '2026-06-06 12: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'), 46939, 'SRID=4674;POINT (-40.042686 -2.83859)', '2026-06-06 12:19:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042567 -2.838476)'), GeomFromEWKT('SRID=4674;POINT (-40.042686 -2.83859)'))) / (select extract(epoch from '2026-06-06 12:19:10'::timestamp) - extract(epoch from '2026-06-06 12:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042567 -2.838476)'), GeomFromEWKT('SRID=4674;POINT (-40.042686 -2.83859)'))) / (select extract(epoch from '2026-06-06 12:19:10'::timestamp) - extract(epoch from '2026-06-06 12:19: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'), 46939, 'SRID=4674;POINT (-40.042821 -2.838687)', '2026-06-06 12:19:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042686 -2.83859)'), GeomFromEWKT('SRID=4674;POINT (-40.042821 -2.838687)'))) / (select extract(epoch from '2026-06-06 12:19:19'::timestamp) - extract(epoch from '2026-06-06 12:19:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042686 -2.83859)'), GeomFromEWKT('SRID=4674;POINT (-40.042821 -2.838687)'))) / (select extract(epoch from '2026-06-06 12:19:19'::timestamp) - extract(epoch from '2026-06-06 12:19: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'), 46939, 'SRID=4674;POINT (-40.04304 -2.838833)', '2026-06-06 12:19:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042821 -2.838687)'), GeomFromEWKT('SRID=4674;POINT (-40.04304 -2.838833)'))) / (select extract(epoch from '2026-06-06 12:19:33'::timestamp) - extract(epoch from '2026-06-06 12:19:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.042821 -2.838687)'), GeomFromEWKT('SRID=4674;POINT (-40.04304 -2.838833)'))) / (select extract(epoch from '2026-06-06 12:19:33'::timestamp) - extract(epoch from '2026-06-06 12:19: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'), 46939, 'SRID=4674;POINT (-40.043157 -2.83894)', '2026-06-06 12:19:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04304 -2.838833)'), GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.83894)'))) / (select extract(epoch from '2026-06-06 12:19:42'::timestamp) - extract(epoch from '2026-06-06 12:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04304 -2.838833)'), GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.83894)'))) / (select extract(epoch from '2026-06-06 12:19:42'::timestamp) - extract(epoch from '2026-06-06 12:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043341 -2.839144)', '2026-06-06 12:19:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.83894)'), GeomFromEWKT('SRID=4674;POINT (-40.043341 -2.839144)'))) / (select extract(epoch from '2026-06-06 12:19:57'::timestamp) - extract(epoch from '2026-06-06 12:19:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043157 -2.83894)'), GeomFromEWKT('SRID=4674;POINT (-40.043341 -2.839144)'))) / (select extract(epoch from '2026-06-06 12:19:57'::timestamp) - extract(epoch from '2026-06-06 12:19:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043464 -2.839341)', '2026-06-06 12:20:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043341 -2.839144)'), GeomFromEWKT('SRID=4674;POINT (-40.043464 -2.839341)'))) / (select extract(epoch from '2026-06-06 12:20:11'::timestamp) - extract(epoch from '2026-06-06 12:19:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043341 -2.839144)'), GeomFromEWKT('SRID=4674;POINT (-40.043464 -2.839341)'))) / (select extract(epoch from '2026-06-06 12:20:11'::timestamp) - extract(epoch from '2026-06-06 12:19:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043513 -2.839528)', '2026-06-06 12:20:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043464 -2.839341)'), GeomFromEWKT('SRID=4674;POINT (-40.043513 -2.839528)'))) / (select extract(epoch from '2026-06-06 12:20:24'::timestamp) - extract(epoch from '2026-06-06 12:20:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043464 -2.839341)'), GeomFromEWKT('SRID=4674;POINT (-40.043513 -2.839528)'))) / (select extract(epoch from '2026-06-06 12:20:24'::timestamp) - extract(epoch from '2026-06-06 12:20:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.043522 -2.839698)', '2026-06-06 12:20:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043513 -2.839528)'), GeomFromEWKT('SRID=4674;POINT (-40.043522 -2.839698)'))) / (select extract(epoch from '2026-06-06 12:20:35'::timestamp) - extract(epoch from '2026-06-06 12:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043513 -2.839528)'), GeomFromEWKT('SRID=4674;POINT (-40.043522 -2.839698)'))) / (select extract(epoch from '2026-06-06 12:20:35'::timestamp) - extract(epoch from '2026-06-06 12:20: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'), 46939, 'SRID=4674;POINT (-40.043564 -2.839916)', '2026-06-06 12:20:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043522 -2.839698)'), GeomFromEWKT('SRID=4674;POINT (-40.043564 -2.839916)'))) / (select extract(epoch from '2026-06-06 12:20:48'::timestamp) - extract(epoch from '2026-06-06 12:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043522 -2.839698)'), GeomFromEWKT('SRID=4674;POINT (-40.043564 -2.839916)'))) / (select extract(epoch from '2026-06-06 12:20:48'::timestamp) - extract(epoch from '2026-06-06 12:20:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46939, 'SRID=4674;POINT (-40.0436 -2.840079)', '2026-06-06 12:20:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043564 -2.839916)'), GeomFromEWKT('SRID=4674;POINT (-40.0436 -2.840079)'))) / (select extract(epoch from '2026-06-06 12:20:58'::timestamp) - extract(epoch from '2026-06-06 12:20:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043564 -2.839916)'), GeomFromEWKT('SRID=4674;POINT (-40.0436 -2.840079)'))) / (select extract(epoch from '2026-06-06 12:20:58'::timestamp) - extract(epoch from '2026-06-06 12:20: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'), 46939, 'SRID=4674;POINT (-40.043601 -2.840206)', '2026-06-06 12:21:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0436 -2.840079)'), GeomFromEWKT('SRID=4674;POINT (-40.043601 -2.840206)'))) / (select extract(epoch from '2026-06-06 12:21:05'::timestamp) - extract(epoch from '2026-06-06 12:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0436 -2.840079)'), GeomFromEWKT('SRID=4674;POINT (-40.043601 -2.840206)'))) / (select extract(epoch from '2026-06-06 12:21:05'::timestamp) - extract(epoch from '2026-06-06 12:20: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'), 46939, 'SRID=4674;POINT (-40.04355 -2.840444)', '2026-06-06 12:21:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043601 -2.840206)'), GeomFromEWKT('SRID=4674;POINT (-40.04355 -2.840444)'))) / (select extract(epoch from '2026-06-06 12:21:19'::timestamp) - extract(epoch from '2026-06-06 12:21:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043601 -2.840206)'), GeomFromEWKT('SRID=4674;POINT (-40.04355 -2.840444)'))) / (select extract(epoch from '2026-06-06 12:21:19'::timestamp) - extract(epoch from '2026-06-06 12:21: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'), 46939, 'SRID=4674;POINT (-40.043532 -2.840495)', '2026-06-06 12:21:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04355 -2.840444)'), GeomFromEWKT('SRID=4674;POINT (-40.043532 -2.840495)'))) / (select extract(epoch from '2026-06-06 12:21:23'::timestamp) - extract(epoch from '2026-06-06 12:21:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04355 -2.840444)'), GeomFromEWKT('SRID=4674;POINT (-40.043532 -2.840495)'))) / (select extract(epoch from '2026-06-06 12:21:23'::timestamp) - extract(epoch from '2026-06-06 12:21:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
