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'), 46721, 'SRID=4674;POINT (-40.36205 -2.803421)', '2026-06-05 01:44:34', 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'), 46721, 'SRID=4674;POINT (-40.362187 -2.803285)', '2026-06-05 01:44:44', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36205 -2.803421)'), GeomFromEWKT('SRID=4674;POINT (-40.362187 -2.803285)'))) / (select extract(epoch from '2026-06-05 01:44:44'::timestamp) - extract(epoch from '2026-06-05 01:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36205 -2.803421)'), GeomFromEWKT('SRID=4674;POINT (-40.362187 -2.803285)'))) / (select extract(epoch from '2026-06-05 01:44:44'::timestamp) - extract(epoch from '2026-06-05 01:44: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'), 46721, 'SRID=4674;POINT (-40.362314 -2.80319)', '2026-06-05 01:44:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362187 -2.803285)'), GeomFromEWKT('SRID=4674;POINT (-40.362314 -2.80319)'))) / (select extract(epoch from '2026-06-05 01:44:52'::timestamp) - extract(epoch from '2026-06-05 01:44:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362187 -2.803285)'), GeomFromEWKT('SRID=4674;POINT (-40.362314 -2.80319)'))) / (select extract(epoch from '2026-06-05 01:44:52'::timestamp) - extract(epoch from '2026-06-05 01:44:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.362531 -2.803051)', '2026-06-05 01:45:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362314 -2.80319)'), GeomFromEWKT('SRID=4674;POINT (-40.362531 -2.803051)'))) / (select extract(epoch from '2026-06-05 01:45:05'::timestamp) - extract(epoch from '2026-06-05 01:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362314 -2.80319)'), GeomFromEWKT('SRID=4674;POINT (-40.362531 -2.803051)'))) / (select extract(epoch from '2026-06-05 01:45:05'::timestamp) - extract(epoch from '2026-06-05 01:44:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.362664 -2.802944)', '2026-06-05 01:45:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362531 -2.803051)'), GeomFromEWKT('SRID=4674;POINT (-40.362664 -2.802944)'))) / (select extract(epoch from '2026-06-05 01:45:14'::timestamp) - extract(epoch from '2026-06-05 01:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362531 -2.803051)'), GeomFromEWKT('SRID=4674;POINT (-40.362664 -2.802944)'))) / (select extract(epoch from '2026-06-05 01:45:14'::timestamp) - extract(epoch from '2026-06-05 01:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.362773 -2.802813)', '2026-06-05 01:45:23', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362664 -2.802944)'), GeomFromEWKT('SRID=4674;POINT (-40.362773 -2.802813)'))) / (select extract(epoch from '2026-06-05 01:45:23'::timestamp) - extract(epoch from '2026-06-05 01:45:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362664 -2.802944)'), GeomFromEWKT('SRID=4674;POINT (-40.362773 -2.802813)'))) / (select extract(epoch from '2026-06-05 01:45:23'::timestamp) - extract(epoch from '2026-06-05 01:45: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'), 46721, 'SRID=4674;POINT (-40.362889 -2.802663)', '2026-06-05 01:45:33', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362773 -2.802813)'), GeomFromEWKT('SRID=4674;POINT (-40.362889 -2.802663)'))) / (select extract(epoch from '2026-06-05 01:45:33'::timestamp) - extract(epoch from '2026-06-05 01:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362773 -2.802813)'), GeomFromEWKT('SRID=4674;POINT (-40.362889 -2.802663)'))) / (select extract(epoch from '2026-06-05 01:45:33'::timestamp) - extract(epoch from '2026-06-05 01: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'), 46721, 'SRID=4674;POINT (-40.362998 -2.802541)', '2026-06-05 01:45:42', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362889 -2.802663)'), GeomFromEWKT('SRID=4674;POINT (-40.362998 -2.802541)'))) / (select extract(epoch from '2026-06-05 01:45:42'::timestamp) - extract(epoch from '2026-06-05 01:45:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362889 -2.802663)'), GeomFromEWKT('SRID=4674;POINT (-40.362998 -2.802541)'))) / (select extract(epoch from '2026-06-05 01:45:42'::timestamp) - extract(epoch from '2026-06-05 01:45: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'), 46721, 'SRID=4674;POINT (-40.363131 -2.802442)', '2026-06-05 01:45:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362998 -2.802541)'), GeomFromEWKT('SRID=4674;POINT (-40.363131 -2.802442)'))) / (select extract(epoch from '2026-06-05 01:45:51'::timestamp) - extract(epoch from '2026-06-05 01:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.362998 -2.802541)'), GeomFromEWKT('SRID=4674;POINT (-40.363131 -2.802442)'))) / (select extract(epoch from '2026-06-05 01:45:51'::timestamp) - extract(epoch from '2026-06-05 01:45: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'), 46721, 'SRID=4674;POINT (-40.363283 -2.802339)', '2026-06-05 01:46:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363131 -2.802442)'), GeomFromEWKT('SRID=4674;POINT (-40.363283 -2.802339)'))) / (select extract(epoch from '2026-06-05 01:46:01'::timestamp) - extract(epoch from '2026-06-05 01:45:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363131 -2.802442)'), GeomFromEWKT('SRID=4674;POINT (-40.363283 -2.802339)'))) / (select extract(epoch from '2026-06-05 01:46:01'::timestamp) - extract(epoch from '2026-06-05 01:45: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'), 46721, 'SRID=4674;POINT (-40.363385 -2.802287)', '2026-06-05 01:46:08', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363283 -2.802339)'), GeomFromEWKT('SRID=4674;POINT (-40.363385 -2.802287)'))) / (select extract(epoch from '2026-06-05 01:46:08'::timestamp) - extract(epoch from '2026-06-05 01:46:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363283 -2.802339)'), GeomFromEWKT('SRID=4674;POINT (-40.363385 -2.802287)'))) / (select extract(epoch from '2026-06-05 01:46:08'::timestamp) - extract(epoch from '2026-06-05 01:46: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'), 46721, 'SRID=4674;POINT (-40.363513 -2.802261)', '2026-06-05 01:46:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363385 -2.802287)'), GeomFromEWKT('SRID=4674;POINT (-40.363513 -2.802261)'))) / (select extract(epoch from '2026-06-05 01:46:18'::timestamp) - extract(epoch from '2026-06-05 01:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363385 -2.802287)'), GeomFromEWKT('SRID=4674;POINT (-40.363513 -2.802261)'))) / (select extract(epoch from '2026-06-05 01:46:18'::timestamp) - extract(epoch from '2026-06-05 01: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'), 46721, 'SRID=4674;POINT (-40.363603 -2.802256)', '2026-06-05 01:46:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363513 -2.802261)'), GeomFromEWKT('SRID=4674;POINT (-40.363603 -2.802256)'))) / (select extract(epoch from '2026-06-05 01:46:26'::timestamp) - extract(epoch from '2026-06-05 01:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363513 -2.802261)'), GeomFromEWKT('SRID=4674;POINT (-40.363603 -2.802256)'))) / (select extract(epoch from '2026-06-05 01:46:26'::timestamp) - extract(epoch from '2026-06-05 01:46: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'), 46721, 'SRID=4674;POINT (-40.363611 -2.802254)', '2026-06-05 01:46:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363603 -2.802256)'), GeomFromEWKT('SRID=4674;POINT (-40.363611 -2.802254)'))) / (select extract(epoch from '2026-06-05 01:46:27'::timestamp) - extract(epoch from '2026-06-05 01:46:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363603 -2.802256)'), GeomFromEWKT('SRID=4674;POINT (-40.363611 -2.802254)'))) / (select extract(epoch from '2026-06-05 01:46:27'::timestamp) - extract(epoch from '2026-06-05 01:46: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'), 46721, 'SRID=4674;POINT (-40.363696 -2.80226)', '2026-06-05 01:46:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363611 -2.802254)'), GeomFromEWKT('SRID=4674;POINT (-40.363696 -2.80226)'))) / (select extract(epoch from '2026-06-05 01:46:36'::timestamp) - extract(epoch from '2026-06-05 01:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363611 -2.802254)'), GeomFromEWKT('SRID=4674;POINT (-40.363696 -2.80226)'))) / (select extract(epoch from '2026-06-05 01:46:36'::timestamp) - extract(epoch from '2026-06-05 01:46: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'), 46721, 'SRID=4674;POINT (-40.363761 -2.802265)', '2026-06-05 01:46:45', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363696 -2.80226)'), GeomFromEWKT('SRID=4674;POINT (-40.363761 -2.802265)'))) / (select extract(epoch from '2026-06-05 01:46:45'::timestamp) - extract(epoch from '2026-06-05 01:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363696 -2.80226)'), GeomFromEWKT('SRID=4674;POINT (-40.363761 -2.802265)'))) / (select extract(epoch from '2026-06-05 01:46:45'::timestamp) - extract(epoch from '2026-06-05 01:46: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'), 46721, 'SRID=4674;POINT (-40.363848 -2.802281)', '2026-06-05 01:46:59', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363761 -2.802265)'), GeomFromEWKT('SRID=4674;POINT (-40.363848 -2.802281)'))) / (select extract(epoch from '2026-06-05 01:46:59'::timestamp) - extract(epoch from '2026-06-05 01:46:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363761 -2.802265)'), GeomFromEWKT('SRID=4674;POINT (-40.363848 -2.802281)'))) / (select extract(epoch from '2026-06-05 01:46:59'::timestamp) - extract(epoch from '2026-06-05 01:46: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'), 46721, 'SRID=4674;POINT (-40.363923 -2.802297)', '2026-06-05 01:47:13', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363848 -2.802281)'), GeomFromEWKT('SRID=4674;POINT (-40.363923 -2.802297)'))) / (select extract(epoch from '2026-06-05 01:47:13'::timestamp) - extract(epoch from '2026-06-05 01:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363848 -2.802281)'), GeomFromEWKT('SRID=4674;POINT (-40.363923 -2.802297)'))) / (select extract(epoch from '2026-06-05 01:47:13'::timestamp) - extract(epoch from '2026-06-05 01:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.363996 -2.802328)', '2026-06-05 01:47:29', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363923 -2.802297)'), GeomFromEWKT('SRID=4674;POINT (-40.363996 -2.802328)'))) / (select extract(epoch from '2026-06-05 01:47:29'::timestamp) - extract(epoch from '2026-06-05 01:47:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363923 -2.802297)'), GeomFromEWKT('SRID=4674;POINT (-40.363996 -2.802328)'))) / (select extract(epoch from '2026-06-05 01:47:29'::timestamp) - extract(epoch from '2026-06-05 01:47:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.364062 -2.802336)', '2026-06-05 01:47:45', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363996 -2.802328)'), GeomFromEWKT('SRID=4674;POINT (-40.364062 -2.802336)'))) / (select extract(epoch from '2026-06-05 01:47:45'::timestamp) - extract(epoch from '2026-06-05 01:47:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.363996 -2.802328)'), GeomFromEWKT('SRID=4674;POINT (-40.364062 -2.802336)'))) / (select extract(epoch from '2026-06-05 01:47:45'::timestamp) - extract(epoch from '2026-06-05 01:47: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'), 46721, 'SRID=4674;POINT (-40.364107 -2.802358)', '2026-06-05 01:48:00', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364062 -2.802336)'), GeomFromEWKT('SRID=4674;POINT (-40.364107 -2.802358)'))) / (select extract(epoch from '2026-06-05 01:48:00'::timestamp) - extract(epoch from '2026-06-05 01:47:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364062 -2.802336)'), GeomFromEWKT('SRID=4674;POINT (-40.364107 -2.802358)'))) / (select extract(epoch from '2026-06-05 01:48:00'::timestamp) - extract(epoch from '2026-06-05 01: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'), 46721, 'SRID=4674;POINT (-40.364168 -2.802354)', '2026-06-05 01:48:20', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364107 -2.802358)'), GeomFromEWKT('SRID=4674;POINT (-40.364168 -2.802354)'))) / (select extract(epoch from '2026-06-05 01:48:20'::timestamp) - extract(epoch from '2026-06-05 01:48:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364107 -2.802358)'), GeomFromEWKT('SRID=4674;POINT (-40.364168 -2.802354)'))) / (select extract(epoch from '2026-06-05 01:48:20'::timestamp) - extract(epoch from '2026-06-05 01:48: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'), 46721, 'SRID=4674;POINT (-40.364215 -2.802359)', '2026-06-05 01:48:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364168 -2.802354)'), GeomFromEWKT('SRID=4674;POINT (-40.364215 -2.802359)'))) / (select extract(epoch from '2026-06-05 01:48:36'::timestamp) - extract(epoch from '2026-06-05 01:48:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364168 -2.802354)'), GeomFromEWKT('SRID=4674;POINT (-40.364215 -2.802359)'))) / (select extract(epoch from '2026-06-05 01:48:36'::timestamp) - extract(epoch from '2026-06-05 01:48:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.364249 -2.802362)', '2026-06-05 01:48:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364215 -2.802359)'), GeomFromEWKT('SRID=4674;POINT (-40.364249 -2.802362)'))) / (select extract(epoch from '2026-06-05 01:48:48'::timestamp) - extract(epoch from '2026-06-05 01:48:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364215 -2.802359)'), GeomFromEWKT('SRID=4674;POINT (-40.364249 -2.802362)'))) / (select extract(epoch from '2026-06-05 01:48:48'::timestamp) - extract(epoch from '2026-06-05 01:48:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.364277 -2.802358)', '2026-06-05 01:48:58', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364249 -2.802362)'), GeomFromEWKT('SRID=4674;POINT (-40.364277 -2.802358)'))) / (select extract(epoch from '2026-06-05 01:48:58'::timestamp) - extract(epoch from '2026-06-05 01:48:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364249 -2.802362)'), GeomFromEWKT('SRID=4674;POINT (-40.364277 -2.802358)'))) / (select extract(epoch from '2026-06-05 01:48:58'::timestamp) - extract(epoch from '2026-06-05 01: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'), 46721, 'SRID=4674;POINT (-40.364327 -2.802358)', '2026-06-05 01:49:15', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364277 -2.802358)'), GeomFromEWKT('SRID=4674;POINT (-40.364327 -2.802358)'))) / (select extract(epoch from '2026-06-05 01:49:15'::timestamp) - extract(epoch from '2026-06-05 01:48:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364277 -2.802358)'), GeomFromEWKT('SRID=4674;POINT (-40.364327 -2.802358)'))) / (select extract(epoch from '2026-06-05 01:49:15'::timestamp) - extract(epoch from '2026-06-05 01: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'), 46721, 'SRID=4674;POINT (-40.364366 -2.802348)', '2026-06-05 01:49:28', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364327 -2.802358)'), GeomFromEWKT('SRID=4674;POINT (-40.364366 -2.802348)'))) / (select extract(epoch from '2026-06-05 01:49:28'::timestamp) - extract(epoch from '2026-06-05 01:49:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364327 -2.802358)'), GeomFromEWKT('SRID=4674;POINT (-40.364366 -2.802348)'))) / (select extract(epoch from '2026-06-05 01:49:28'::timestamp) - extract(epoch from '2026-06-05 01:49: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'), 46721, 'SRID=4674;POINT (-40.364411 -2.802346)', '2026-06-05 01:49:44', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364366 -2.802348)'), GeomFromEWKT('SRID=4674;POINT (-40.364411 -2.802346)'))) / (select extract(epoch from '2026-06-05 01:49:44'::timestamp) - extract(epoch from '2026-06-05 01:49:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364366 -2.802348)'), GeomFromEWKT('SRID=4674;POINT (-40.364411 -2.802346)'))) / (select extract(epoch from '2026-06-05 01:49:44'::timestamp) - extract(epoch from '2026-06-05 01:49:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.364446 -2.802349)', '2026-06-05 01:50:01', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364411 -2.802346)'), GeomFromEWKT('SRID=4674;POINT (-40.364446 -2.802349)'))) / (select extract(epoch from '2026-06-05 01:50:01'::timestamp) - extract(epoch from '2026-06-05 01:49:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364411 -2.802346)'), GeomFromEWKT('SRID=4674;POINT (-40.364446 -2.802349)'))) / (select extract(epoch from '2026-06-05 01:50:01'::timestamp) - extract(epoch from '2026-06-05 01: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'), 46721, 'SRID=4674;POINT (-40.364495 -2.802344)', '2026-06-05 01:50:19', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364446 -2.802349)'), GeomFromEWKT('SRID=4674;POINT (-40.364495 -2.802344)'))) / (select extract(epoch from '2026-06-05 01:50:19'::timestamp) - extract(epoch from '2026-06-05 01:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364446 -2.802349)'), GeomFromEWKT('SRID=4674;POINT (-40.364495 -2.802344)'))) / (select extract(epoch from '2026-06-05 01:50:19'::timestamp) - extract(epoch from '2026-06-05 01:50: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'), 46721, 'SRID=4674;POINT (-40.364533 -2.802342)', '2026-06-05 01:50:34', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364495 -2.802344)'), GeomFromEWKT('SRID=4674;POINT (-40.364533 -2.802342)'))) / (select extract(epoch from '2026-06-05 01:50:34'::timestamp) - extract(epoch from '2026-06-05 01:50:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364495 -2.802344)'), GeomFromEWKT('SRID=4674;POINT (-40.364533 -2.802342)'))) / (select extract(epoch from '2026-06-05 01:50:34'::timestamp) - extract(epoch from '2026-06-05 01: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'), 46721, 'SRID=4674;POINT (-40.364576 -2.802344)', '2026-06-05 01:50:53', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364533 -2.802342)'), GeomFromEWKT('SRID=4674;POINT (-40.364576 -2.802344)'))) / (select extract(epoch from '2026-06-05 01:50:53'::timestamp) - extract(epoch from '2026-06-05 01:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364533 -2.802342)'), GeomFromEWKT('SRID=4674;POINT (-40.364576 -2.802344)'))) / (select extract(epoch from '2026-06-05 01:50:53'::timestamp) - extract(epoch from '2026-06-05 01:50:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.364623 -2.80234)', '2026-06-05 01:51:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364576 -2.802344)'), GeomFromEWKT('SRID=4674;POINT (-40.364623 -2.80234)'))) / (select extract(epoch from '2026-06-05 01:51:12'::timestamp) - extract(epoch from '2026-06-05 01:50:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364576 -2.802344)'), GeomFromEWKT('SRID=4674;POINT (-40.364623 -2.80234)'))) / (select extract(epoch from '2026-06-05 01:51:12'::timestamp) - extract(epoch from '2026-06-05 01: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'), 46721, 'SRID=4674;POINT (-40.364647 -2.802338)', '2026-06-05 01:51:27', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364623 -2.80234)'), GeomFromEWKT('SRID=4674;POINT (-40.364647 -2.802338)'))) / (select extract(epoch from '2026-06-05 01:51:27'::timestamp) - extract(epoch from '2026-06-05 01:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364623 -2.80234)'), GeomFromEWKT('SRID=4674;POINT (-40.364647 -2.802338)'))) / (select extract(epoch from '2026-06-05 01:51:27'::timestamp) - extract(epoch from '2026-06-05 01:51: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'), 46721, 'SRID=4674;POINT (-40.364679 -2.802336)', '2026-06-05 01:51:39', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364647 -2.802338)'), GeomFromEWKT('SRID=4674;POINT (-40.364679 -2.802336)'))) / (select extract(epoch from '2026-06-05 01:51:39'::timestamp) - extract(epoch from '2026-06-05 01:51:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364647 -2.802338)'), GeomFromEWKT('SRID=4674;POINT (-40.364679 -2.802336)'))) / (select extract(epoch from '2026-06-05 01:51:39'::timestamp) - extract(epoch from '2026-06-05 01:51:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.364722 -2.802333)', '2026-06-05 01:51:56', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364679 -2.802336)'), GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.802333)'))) / (select extract(epoch from '2026-06-05 01:51:56'::timestamp) - extract(epoch from '2026-06-05 01:51:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364679 -2.802336)'), GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.802333)'))) / (select extract(epoch from '2026-06-05 01:51:56'::timestamp) - extract(epoch from '2026-06-05 01:51: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'), 46721, 'SRID=4674;POINT (-40.364766 -2.802333)', '2026-06-05 01:52:12', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.802333)'), GeomFromEWKT('SRID=4674;POINT (-40.364766 -2.802333)'))) / (select extract(epoch from '2026-06-05 01:52:12'::timestamp) - extract(epoch from '2026-06-05 01:51:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364722 -2.802333)'), GeomFromEWKT('SRID=4674;POINT (-40.364766 -2.802333)'))) / (select extract(epoch from '2026-06-05 01:52:12'::timestamp) - extract(epoch from '2026-06-05 01:51: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'), 46721, 'SRID=4674;POINT (-40.364811 -2.802329)', '2026-06-05 01:52:32', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364766 -2.802333)'), GeomFromEWKT('SRID=4674;POINT (-40.364811 -2.802329)'))) / (select extract(epoch from '2026-06-05 01:52:32'::timestamp) - extract(epoch from '2026-06-05 01:52:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364766 -2.802333)'), GeomFromEWKT('SRID=4674;POINT (-40.364811 -2.802329)'))) / (select extract(epoch from '2026-06-05 01:52:32'::timestamp) - extract(epoch from '2026-06-05 01:52: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'), 46721, 'SRID=4674;POINT (-40.364853 -2.802322)', '2026-06-05 01:52:47', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364811 -2.802329)'), GeomFromEWKT('SRID=4674;POINT (-40.364853 -2.802322)'))) / (select extract(epoch from '2026-06-05 01:52:47'::timestamp) - extract(epoch from '2026-06-05 01:52:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364811 -2.802329)'), GeomFromEWKT('SRID=4674;POINT (-40.364853 -2.802322)'))) / (select extract(epoch from '2026-06-05 01:52:47'::timestamp) - extract(epoch from '2026-06-05 01:52:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.364918 -2.802317)', '2026-06-05 01:53:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364853 -2.802322)'), GeomFromEWKT('SRID=4674;POINT (-40.364918 -2.802317)'))) / (select extract(epoch from '2026-06-05 01:53:05'::timestamp) - extract(epoch from '2026-06-05 01:52:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364853 -2.802322)'), GeomFromEWKT('SRID=4674;POINT (-40.364918 -2.802317)'))) / (select extract(epoch from '2026-06-05 01:53:05'::timestamp) - extract(epoch from '2026-06-05 01:52: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'), 46721, 'SRID=4674;POINT (-40.36495 -2.802309)', '2026-06-05 01:53:24', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364918 -2.802317)'), GeomFromEWKT('SRID=4674;POINT (-40.36495 -2.802309)'))) / (select extract(epoch from '2026-06-05 01:53:24'::timestamp) - extract(epoch from '2026-06-05 01:53:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364918 -2.802317)'), GeomFromEWKT('SRID=4674;POINT (-40.36495 -2.802309)'))) / (select extract(epoch from '2026-06-05 01:53:24'::timestamp) - extract(epoch from '2026-06-05 01:53: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'), 46721, 'SRID=4674;POINT (-40.364976 -2.802296)', '2026-06-05 01:53:36', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36495 -2.802309)'), GeomFromEWKT('SRID=4674;POINT (-40.364976 -2.802296)'))) / (select extract(epoch from '2026-06-05 01:53:36'::timestamp) - extract(epoch from '2026-06-05 01:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36495 -2.802309)'), GeomFromEWKT('SRID=4674;POINT (-40.364976 -2.802296)'))) / (select extract(epoch from '2026-06-05 01:53:36'::timestamp) - extract(epoch from '2026-06-05 01:53: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'), 46721, 'SRID=4674;POINT (-40.36501 -2.802289)', '2026-06-05 01:53:52', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364976 -2.802296)'), GeomFromEWKT('SRID=4674;POINT (-40.36501 -2.802289)'))) / (select extract(epoch from '2026-06-05 01:53:52'::timestamp) - extract(epoch from '2026-06-05 01:53:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.364976 -2.802296)'), GeomFromEWKT('SRID=4674;POINT (-40.36501 -2.802289)'))) / (select extract(epoch from '2026-06-05 01:53:52'::timestamp) - extract(epoch from '2026-06-05 01:53:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.365052 -2.802284)', '2026-06-05 01:54:13', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36501 -2.802289)'), GeomFromEWKT('SRID=4674;POINT (-40.365052 -2.802284)'))) / (select extract(epoch from '2026-06-05 01:54:13'::timestamp) - extract(epoch from '2026-06-05 01:53:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36501 -2.802289)'), GeomFromEWKT('SRID=4674;POINT (-40.365052 -2.802284)'))) / (select extract(epoch from '2026-06-05 01:54:13'::timestamp) - extract(epoch from '2026-06-05 01:53: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'), 46721, 'SRID=4674;POINT (-40.365094 -2.802281)', '2026-06-05 01:54:32', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365052 -2.802284)'), GeomFromEWKT('SRID=4674;POINT (-40.365094 -2.802281)'))) / (select extract(epoch from '2026-06-05 01:54:32'::timestamp) - extract(epoch from '2026-06-05 01:54:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365052 -2.802284)'), GeomFromEWKT('SRID=4674;POINT (-40.365094 -2.802281)'))) / (select extract(epoch from '2026-06-05 01:54:32'::timestamp) - extract(epoch from '2026-06-05 01:54:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.365136 -2.802277)', '2026-06-05 01:54:51', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365094 -2.802281)'), GeomFromEWKT('SRID=4674;POINT (-40.365136 -2.802277)'))) / (select extract(epoch from '2026-06-05 01:54:51'::timestamp) - extract(epoch from '2026-06-05 01:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365094 -2.802281)'), GeomFromEWKT('SRID=4674;POINT (-40.365136 -2.802277)'))) / (select extract(epoch from '2026-06-05 01:54:51'::timestamp) - extract(epoch from '2026-06-05 01:54:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.365163 -2.802269)', '2026-06-05 01:55:04', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365136 -2.802277)'), GeomFromEWKT('SRID=4674;POINT (-40.365163 -2.802269)'))) / (select extract(epoch from '2026-06-05 01:55:04'::timestamp) - extract(epoch from '2026-06-05 01:54:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365136 -2.802277)'), GeomFromEWKT('SRID=4674;POINT (-40.365163 -2.802269)'))) / (select extract(epoch from '2026-06-05 01:55:04'::timestamp) - extract(epoch from '2026-06-05 01:54:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.3652 -2.802257)', '2026-06-05 01:55:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365163 -2.802269)'), GeomFromEWKT('SRID=4674;POINT (-40.3652 -2.802257)'))) / (select extract(epoch from '2026-06-05 01:55:22'::timestamp) - extract(epoch from '2026-06-05 01:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365163 -2.802269)'), GeomFromEWKT('SRID=4674;POINT (-40.3652 -2.802257)'))) / (select extract(epoch from '2026-06-05 01:55:22'::timestamp) - extract(epoch from '2026-06-05 01:55: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'), 46721, 'SRID=4674;POINT (-40.365258 -2.802247)', '2026-06-05 01:55:44', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3652 -2.802257)'), GeomFromEWKT('SRID=4674;POINT (-40.365258 -2.802247)'))) / (select extract(epoch from '2026-06-05 01:55:44'::timestamp) - extract(epoch from '2026-06-05 01:55:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3652 -2.802257)'), GeomFromEWKT('SRID=4674;POINT (-40.365258 -2.802247)'))) / (select extract(epoch from '2026-06-05 01:55:44'::timestamp) - extract(epoch from '2026-06-05 01: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'), 46721, 'SRID=4674;POINT (-40.365342 -2.802221)', '2026-06-05 01:56:19', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365258 -2.802247)'), GeomFromEWKT('SRID=4674;POINT (-40.365342 -2.802221)'))) / (select extract(epoch from '2026-06-05 01:56:19'::timestamp) - extract(epoch from '2026-06-05 01:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365258 -2.802247)'), GeomFromEWKT('SRID=4674;POINT (-40.365342 -2.802221)'))) / (select extract(epoch from '2026-06-05 01:56:19'::timestamp) - extract(epoch from '2026-06-05 01:55:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.365441 -2.802217)', '2026-06-05 01:56:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365342 -2.802221)'), GeomFromEWKT('SRID=4674;POINT (-40.365441 -2.802217)'))) / (select extract(epoch from '2026-06-05 01:56:53'::timestamp) - extract(epoch from '2026-06-05 01:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365342 -2.802221)'), GeomFromEWKT('SRID=4674;POINT (-40.365441 -2.802217)'))) / (select extract(epoch from '2026-06-05 01:56:53'::timestamp) - extract(epoch from '2026-06-05 01:56: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'), 46721, 'SRID=4674;POINT (-40.365501 -2.802218)', '2026-06-05 01:57:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365441 -2.802217)'), GeomFromEWKT('SRID=4674;POINT (-40.365501 -2.802218)'))) / (select extract(epoch from '2026-06-05 01:57:21'::timestamp) - extract(epoch from '2026-06-05 01:56:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365441 -2.802217)'), GeomFromEWKT('SRID=4674;POINT (-40.365501 -2.802218)'))) / (select extract(epoch from '2026-06-05 01:57:21'::timestamp) - extract(epoch from '2026-06-05 01:56: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'), 46721, 'SRID=4674;POINT (-40.365581 -2.802214)', '2026-06-05 01:57:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365501 -2.802218)'), GeomFromEWKT('SRID=4674;POINT (-40.365581 -2.802214)'))) / (select extract(epoch from '2026-06-05 01:57:56'::timestamp) - extract(epoch from '2026-06-05 01:57:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365501 -2.802218)'), GeomFromEWKT('SRID=4674;POINT (-40.365581 -2.802214)'))) / (select extract(epoch from '2026-06-05 01:57:56'::timestamp) - extract(epoch from '2026-06-05 01:57: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'), 46721, 'SRID=4674;POINT (-40.365649 -2.802207)', '2026-06-05 01:58:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365581 -2.802214)'), GeomFromEWKT('SRID=4674;POINT (-40.365649 -2.802207)'))) / (select extract(epoch from '2026-06-05 01:58:29'::timestamp) - extract(epoch from '2026-06-05 01:57:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365581 -2.802214)'), GeomFromEWKT('SRID=4674;POINT (-40.365649 -2.802207)'))) / (select extract(epoch from '2026-06-05 01:58:29'::timestamp) - extract(epoch from '2026-06-05 01:57:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.365728 -2.802197)', '2026-06-05 01:59:03', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365649 -2.802207)'), GeomFromEWKT('SRID=4674;POINT (-40.365728 -2.802197)'))) / (select extract(epoch from '2026-06-05 01:59:03'::timestamp) - extract(epoch from '2026-06-05 01:58:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365649 -2.802207)'), GeomFromEWKT('SRID=4674;POINT (-40.365728 -2.802197)'))) / (select extract(epoch from '2026-06-05 01:59:03'::timestamp) - extract(epoch from '2026-06-05 01:58: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'), 46721, 'SRID=4674;POINT (-40.365792 -2.802184)', '2026-06-05 01:59:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365728 -2.802197)'), GeomFromEWKT('SRID=4674;POINT (-40.365792 -2.802184)'))) / (select extract(epoch from '2026-06-05 01:59:35'::timestamp) - extract(epoch from '2026-06-05 01:59:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365728 -2.802197)'), GeomFromEWKT('SRID=4674;POINT (-40.365792 -2.802184)'))) / (select extract(epoch from '2026-06-05 01:59:35'::timestamp) - extract(epoch from '2026-06-05 01: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'), 46721, 'SRID=4674;POINT (-40.365871 -2.802209)', '2026-06-05 02:00:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365792 -2.802184)'), GeomFromEWKT('SRID=4674;POINT (-40.365871 -2.802209)'))) / (select extract(epoch from '2026-06-05 02:00:00'::timestamp) - extract(epoch from '2026-06-05 01:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365792 -2.802184)'), GeomFromEWKT('SRID=4674;POINT (-40.365871 -2.802209)'))) / (select extract(epoch from '2026-06-05 02:00:00'::timestamp) - extract(epoch from '2026-06-05 01:59: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'), 46721, 'SRID=4674;POINT (-40.365955 -2.80225)', '2026-06-05 02:00:09', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365871 -2.802209)'), GeomFromEWKT('SRID=4674;POINT (-40.365955 -2.80225)'))) / (select extract(epoch from '2026-06-05 02:00:09'::timestamp) - extract(epoch from '2026-06-05 02:00:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365871 -2.802209)'), GeomFromEWKT('SRID=4674;POINT (-40.365955 -2.80225)'))) / (select extract(epoch from '2026-06-05 02:00:09'::timestamp) - extract(epoch from '2026-06-05 02:00: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'), 46721, 'SRID=4674;POINT (-40.366041 -2.802239)', '2026-06-05 02:00:15', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365955 -2.80225)'), GeomFromEWKT('SRID=4674;POINT (-40.366041 -2.802239)'))) / (select extract(epoch from '2026-06-05 02:00:15'::timestamp) - extract(epoch from '2026-06-05 02:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.365955 -2.80225)'), GeomFromEWKT('SRID=4674;POINT (-40.366041 -2.802239)'))) / (select extract(epoch from '2026-06-05 02:00:15'::timestamp) - extract(epoch from '2026-06-05 02:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.366154 -2.80221)', '2026-06-05 02:00:22', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366041 -2.802239)'), GeomFromEWKT('SRID=4674;POINT (-40.366154 -2.80221)'))) / (select extract(epoch from '2026-06-05 02:00:22'::timestamp) - extract(epoch from '2026-06-05 02:00:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366041 -2.802239)'), GeomFromEWKT('SRID=4674;POINT (-40.366154 -2.80221)'))) / (select extract(epoch from '2026-06-05 02:00:22'::timestamp) - extract(epoch from '2026-06-05 02:00: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'), 46721, 'SRID=4674;POINT (-40.366283 -2.802171)', '2026-06-05 02:00:30', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366154 -2.80221)'), GeomFromEWKT('SRID=4674;POINT (-40.366283 -2.802171)'))) / (select extract(epoch from '2026-06-05 02:00:30'::timestamp) - extract(epoch from '2026-06-05 02:00:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366154 -2.80221)'), GeomFromEWKT('SRID=4674;POINT (-40.366283 -2.802171)'))) / (select extract(epoch from '2026-06-05 02:00:30'::timestamp) - extract(epoch from '2026-06-05 02:00: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'), 46721, 'SRID=4674;POINT (-40.366395 -2.802121)', '2026-06-05 02:00:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366283 -2.802171)'), GeomFromEWKT('SRID=4674;POINT (-40.366395 -2.802121)'))) / (select extract(epoch from '2026-06-05 02:00:37'::timestamp) - extract(epoch from '2026-06-05 02:00:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366283 -2.802171)'), GeomFromEWKT('SRID=4674;POINT (-40.366395 -2.802121)'))) / (select extract(epoch from '2026-06-05 02:00:37'::timestamp) - extract(epoch from '2026-06-05 02:00:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.366507 -2.802025)', '2026-06-05 02:00:45', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366395 -2.802121)'), GeomFromEWKT('SRID=4674;POINT (-40.366507 -2.802025)'))) / (select extract(epoch from '2026-06-05 02:00:45'::timestamp) - extract(epoch from '2026-06-05 02:00:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366395 -2.802121)'), GeomFromEWKT('SRID=4674;POINT (-40.366507 -2.802025)'))) / (select extract(epoch from '2026-06-05 02:00:45'::timestamp) - extract(epoch from '2026-06-05 02:00: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'), 46721, 'SRID=4674;POINT (-40.366648 -2.801926)', '2026-06-05 02:00:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366507 -2.802025)'), GeomFromEWKT('SRID=4674;POINT (-40.366648 -2.801926)'))) / (select extract(epoch from '2026-06-05 02:00:54'::timestamp) - extract(epoch from '2026-06-05 02:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366507 -2.802025)'), GeomFromEWKT('SRID=4674;POINT (-40.366648 -2.801926)'))) / (select extract(epoch from '2026-06-05 02:00:54'::timestamp) - extract(epoch from '2026-06-05 02:00: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'), 46721, 'SRID=4674;POINT (-40.366773 -2.801889)', '2026-06-05 02:01:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366648 -2.801926)'), GeomFromEWKT('SRID=4674;POINT (-40.366773 -2.801889)'))) / (select extract(epoch from '2026-06-05 02:01:01'::timestamp) - extract(epoch from '2026-06-05 02:00:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366648 -2.801926)'), GeomFromEWKT('SRID=4674;POINT (-40.366773 -2.801889)'))) / (select extract(epoch from '2026-06-05 02:01:01'::timestamp) - extract(epoch from '2026-06-05 02:00: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'), 46721, 'SRID=4674;POINT (-40.366943 -2.801859)', '2026-06-05 02:01:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366773 -2.801889)'), GeomFromEWKT('SRID=4674;POINT (-40.366943 -2.801859)'))) / (select extract(epoch from '2026-06-05 02:01:10'::timestamp) - extract(epoch from '2026-06-05 02:01:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366773 -2.801889)'), GeomFromEWKT('SRID=4674;POINT (-40.366943 -2.801859)'))) / (select extract(epoch from '2026-06-05 02:01:10'::timestamp) - extract(epoch from '2026-06-05 02:01: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'), 46721, 'SRID=4674;POINT (-40.367104 -2.801829)', '2026-06-05 02:01:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366943 -2.801859)'), GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.801829)'))) / (select extract(epoch from '2026-06-05 02:01:18'::timestamp) - extract(epoch from '2026-06-05 02:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.366943 -2.801859)'), GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.801829)'))) / (select extract(epoch from '2026-06-05 02:01:18'::timestamp) - extract(epoch from '2026-06-05 02:01: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'), 46721, 'SRID=4674;POINT (-40.367251 -2.801811)', '2026-06-05 02:01:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.801829)'), GeomFromEWKT('SRID=4674;POINT (-40.367251 -2.801811)'))) / (select extract(epoch from '2026-06-05 02:01:26'::timestamp) - extract(epoch from '2026-06-05 02:01:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367104 -2.801829)'), GeomFromEWKT('SRID=4674;POINT (-40.367251 -2.801811)'))) / (select extract(epoch from '2026-06-05 02:01:26'::timestamp) - extract(epoch from '2026-06-05 02:01: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'), 46721, 'SRID=4674;POINT (-40.367396 -2.80181)', '2026-06-05 02:01:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367251 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.367396 -2.80181)'))) / (select extract(epoch from '2026-06-05 02:01:34'::timestamp) - extract(epoch from '2026-06-05 02:01:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367251 -2.801811)'), GeomFromEWKT('SRID=4674;POINT (-40.367396 -2.80181)'))) / (select extract(epoch from '2026-06-05 02:01:34'::timestamp) - extract(epoch from '2026-06-05 02:01: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'), 46721, 'SRID=4674;POINT (-40.36754 -2.801781)', '2026-06-05 02:01:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367396 -2.80181)'), GeomFromEWKT('SRID=4674;POINT (-40.36754 -2.801781)'))) / (select extract(epoch from '2026-06-05 02:01:42'::timestamp) - extract(epoch from '2026-06-05 02:01:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367396 -2.80181)'), GeomFromEWKT('SRID=4674;POINT (-40.36754 -2.801781)'))) / (select extract(epoch from '2026-06-05 02:01:42'::timestamp) - extract(epoch from '2026-06-05 02:01:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.367744 -2.801741)', '2026-06-05 02:01:53', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36754 -2.801781)'), GeomFromEWKT('SRID=4674;POINT (-40.367744 -2.801741)'))) / (select extract(epoch from '2026-06-05 02:01:53'::timestamp) - extract(epoch from '2026-06-05 02:01:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36754 -2.801781)'), GeomFromEWKT('SRID=4674;POINT (-40.367744 -2.801741)'))) / (select extract(epoch from '2026-06-05 02:01:53'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.367929 -2.801749)', '2026-06-05 02:02:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367744 -2.801741)'), GeomFromEWKT('SRID=4674;POINT (-40.367929 -2.801749)'))) / (select extract(epoch from '2026-06-05 02:02:03'::timestamp) - extract(epoch from '2026-06-05 02:01:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367744 -2.801741)'), GeomFromEWKT('SRID=4674;POINT (-40.367929 -2.801749)'))) / (select extract(epoch from '2026-06-05 02:02:03'::timestamp) - extract(epoch from '2026-06-05 02:01:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.368081 -2.801744)', '2026-06-05 02:02:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367929 -2.801749)'), GeomFromEWKT('SRID=4674;POINT (-40.368081 -2.801744)'))) / (select extract(epoch from '2026-06-05 02:02:11'::timestamp) - extract(epoch from '2026-06-05 02:02:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.367929 -2.801749)'), GeomFromEWKT('SRID=4674;POINT (-40.368081 -2.801744)'))) / (select extract(epoch from '2026-06-05 02:02:11'::timestamp) - extract(epoch from '2026-06-05 02:02: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'), 46721, 'SRID=4674;POINT (-40.368233 -2.801749)', '2026-06-05 02:02:19', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368081 -2.801744)'), GeomFromEWKT('SRID=4674;POINT (-40.368233 -2.801749)'))) / (select extract(epoch from '2026-06-05 02:02:19'::timestamp) - extract(epoch from '2026-06-05 02:02:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368081 -2.801744)'), GeomFromEWKT('SRID=4674;POINT (-40.368233 -2.801749)'))) / (select extract(epoch from '2026-06-05 02:02:19'::timestamp) - extract(epoch from '2026-06-05 02:02:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.368368 -2.801739)', '2026-06-05 02:02:26', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368233 -2.801749)'), GeomFromEWKT('SRID=4674;POINT (-40.368368 -2.801739)'))) / (select extract(epoch from '2026-06-05 02:02:26'::timestamp) - extract(epoch from '2026-06-05 02:02:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368233 -2.801749)'), GeomFromEWKT('SRID=4674;POINT (-40.368368 -2.801739)'))) / (select extract(epoch from '2026-06-05 02:02:26'::timestamp) - extract(epoch from '2026-06-05 02:02: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'), 46721, 'SRID=4674;POINT (-40.368506 -2.801694)', '2026-06-05 02:02:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368368 -2.801739)'), GeomFromEWKT('SRID=4674;POINT (-40.368506 -2.801694)'))) / (select extract(epoch from '2026-06-05 02:02:33'::timestamp) - extract(epoch from '2026-06-05 02:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368368 -2.801739)'), GeomFromEWKT('SRID=4674;POINT (-40.368506 -2.801694)'))) / (select extract(epoch from '2026-06-05 02:02:33'::timestamp) - extract(epoch from '2026-06-05 02:02: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'), 46721, 'SRID=4674;POINT (-40.368638 -2.801649)', '2026-06-05 02:02:40', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368506 -2.801694)'), GeomFromEWKT('SRID=4674;POINT (-40.368638 -2.801649)'))) / (select extract(epoch from '2026-06-05 02:02:40'::timestamp) - extract(epoch from '2026-06-05 02:02:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368506 -2.801694)'), GeomFromEWKT('SRID=4674;POINT (-40.368638 -2.801649)'))) / (select extract(epoch from '2026-06-05 02:02:40'::timestamp) - extract(epoch from '2026-06-05 02:02:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.368814 -2.80161)', '2026-06-05 02:02:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368638 -2.801649)'), GeomFromEWKT('SRID=4674;POINT (-40.368814 -2.80161)'))) / (select extract(epoch from '2026-06-05 02:02:49'::timestamp) - extract(epoch from '2026-06-05 02:02:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368638 -2.801649)'), GeomFromEWKT('SRID=4674;POINT (-40.368814 -2.80161)'))) / (select extract(epoch from '2026-06-05 02:02:49'::timestamp) - extract(epoch from '2026-06-05 02:02:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.368956 -2.801588)', '2026-06-05 02:02:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368814 -2.80161)'), GeomFromEWKT('SRID=4674;POINT (-40.368956 -2.801588)'))) / (select extract(epoch from '2026-06-05 02:02:56'::timestamp) - extract(epoch from '2026-06-05 02:02:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368814 -2.80161)'), GeomFromEWKT('SRID=4674;POINT (-40.368956 -2.801588)'))) / (select extract(epoch from '2026-06-05 02:02:56'::timestamp) - extract(epoch from '2026-06-05 02:02: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'), 46721, 'SRID=4674;POINT (-40.36911 -2.801533)', '2026-06-05 02:03:04', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368956 -2.801588)'), GeomFromEWKT('SRID=4674;POINT (-40.36911 -2.801533)'))) / (select extract(epoch from '2026-06-05 02:03:04'::timestamp) - extract(epoch from '2026-06-05 02:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.368956 -2.801588)'), GeomFromEWKT('SRID=4674;POINT (-40.36911 -2.801533)'))) / (select extract(epoch from '2026-06-05 02:03:04'::timestamp) - extract(epoch from '2026-06-05 02:02: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'), 46721, 'SRID=4674;POINT (-40.369275 -2.801454)', '2026-06-05 02:03:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36911 -2.801533)'), GeomFromEWKT('SRID=4674;POINT (-40.369275 -2.801454)'))) / (select extract(epoch from '2026-06-05 02:03:13'::timestamp) - extract(epoch from '2026-06-05 02:03:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.36911 -2.801533)'), GeomFromEWKT('SRID=4674;POINT (-40.369275 -2.801454)'))) / (select extract(epoch from '2026-06-05 02:03:13'::timestamp) - extract(epoch from '2026-06-05 02:03:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.369422 -2.801358)', '2026-06-05 02:03:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369275 -2.801454)'), GeomFromEWKT('SRID=4674;POINT (-40.369422 -2.801358)'))) / (select extract(epoch from '2026-06-05 02:03:22'::timestamp) - extract(epoch from '2026-06-05 02:03:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369275 -2.801454)'), GeomFromEWKT('SRID=4674;POINT (-40.369422 -2.801358)'))) / (select extract(epoch from '2026-06-05 02:03:22'::timestamp) - extract(epoch from '2026-06-05 02:03: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'), 46721, 'SRID=4674;POINT (-40.369529 -2.801245)', '2026-06-05 02:03:30', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369422 -2.801358)'), GeomFromEWKT('SRID=4674;POINT (-40.369529 -2.801245)'))) / (select extract(epoch from '2026-06-05 02:03:30'::timestamp) - extract(epoch from '2026-06-05 02:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369422 -2.801358)'), GeomFromEWKT('SRID=4674;POINT (-40.369529 -2.801245)'))) / (select extract(epoch from '2026-06-05 02:03:30'::timestamp) - extract(epoch from '2026-06-05 02:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.369627 -2.801148)', '2026-06-05 02:03:37', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369529 -2.801245)'), GeomFromEWKT('SRID=4674;POINT (-40.369627 -2.801148)'))) / (select extract(epoch from '2026-06-05 02:03:37'::timestamp) - extract(epoch from '2026-06-05 02:03:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369529 -2.801245)'), GeomFromEWKT('SRID=4674;POINT (-40.369627 -2.801148)'))) / (select extract(epoch from '2026-06-05 02:03:37'::timestamp) - extract(epoch from '2026-06-05 02:03:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.369756 -2.801049)', '2026-06-05 02:03:45', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369627 -2.801148)'), GeomFromEWKT('SRID=4674;POINT (-40.369756 -2.801049)'))) / (select extract(epoch from '2026-06-05 02:03:45'::timestamp) - extract(epoch from '2026-06-05 02:03:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369627 -2.801148)'), GeomFromEWKT('SRID=4674;POINT (-40.369756 -2.801049)'))) / (select extract(epoch from '2026-06-05 02:03:45'::timestamp) - extract(epoch from '2026-06-05 02:03: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'), 46721, 'SRID=4674;POINT (-40.369912 -2.800956)', '2026-06-05 02:03:54', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369756 -2.801049)'), GeomFromEWKT('SRID=4674;POINT (-40.369912 -2.800956)'))) / (select extract(epoch from '2026-06-05 02:03:54'::timestamp) - extract(epoch from '2026-06-05 02:03:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369756 -2.801049)'), GeomFromEWKT('SRID=4674;POINT (-40.369912 -2.800956)'))) / (select extract(epoch from '2026-06-05 02:03:54'::timestamp) - extract(epoch from '2026-06-05 02:03: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'), 46721, 'SRID=4674;POINT (-40.370058 -2.800886)', '2026-06-05 02:04:02', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369912 -2.800956)'), GeomFromEWKT('SRID=4674;POINT (-40.370058 -2.800886)'))) / (select extract(epoch from '2026-06-05 02:04:02'::timestamp) - extract(epoch from '2026-06-05 02:03:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.369912 -2.800956)'), GeomFromEWKT('SRID=4674;POINT (-40.370058 -2.800886)'))) / (select extract(epoch from '2026-06-05 02:04:02'::timestamp) - extract(epoch from '2026-06-05 02:03: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'), 46721, 'SRID=4674;POINT (-40.37026 -2.800793)', '2026-06-05 02:04:13', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370058 -2.800886)'), GeomFromEWKT('SRID=4674;POINT (-40.37026 -2.800793)'))) / (select extract(epoch from '2026-06-05 02:04:13'::timestamp) - extract(epoch from '2026-06-05 02:04:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370058 -2.800886)'), GeomFromEWKT('SRID=4674;POINT (-40.37026 -2.800793)'))) / (select extract(epoch from '2026-06-05 02:04:13'::timestamp) - extract(epoch from '2026-06-05 02:04:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.370424 -2.800708)', '2026-06-05 02:04:22', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37026 -2.800793)'), GeomFromEWKT('SRID=4674;POINT (-40.370424 -2.800708)'))) / (select extract(epoch from '2026-06-05 02:04:22'::timestamp) - extract(epoch from '2026-06-05 02:04:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37026 -2.800793)'), GeomFromEWKT('SRID=4674;POINT (-40.370424 -2.800708)'))) / (select extract(epoch from '2026-06-05 02:04:22'::timestamp) - extract(epoch from '2026-06-05 02:04:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.370568 -2.800634)', '2026-06-05 02:04:30', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370424 -2.800708)'), GeomFromEWKT('SRID=4674;POINT (-40.370568 -2.800634)'))) / (select extract(epoch from '2026-06-05 02:04:30'::timestamp) - extract(epoch from '2026-06-05 02:04:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370424 -2.800708)'), GeomFromEWKT('SRID=4674;POINT (-40.370568 -2.800634)'))) / (select extract(epoch from '2026-06-05 02:04:30'::timestamp) - extract(epoch from '2026-06-05 02:04: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'), 46721, 'SRID=4674;POINT (-40.370707 -2.800526)', '2026-06-05 02:04:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370568 -2.800634)'), GeomFromEWKT('SRID=4674;POINT (-40.370707 -2.800526)'))) / (select extract(epoch from '2026-06-05 02:04:39'::timestamp) - extract(epoch from '2026-06-05 02:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370568 -2.800634)'), GeomFromEWKT('SRID=4674;POINT (-40.370707 -2.800526)'))) / (select extract(epoch from '2026-06-05 02:04:39'::timestamp) - extract(epoch from '2026-06-05 02:04: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'), 46721, 'SRID=4674;POINT (-40.370824 -2.80045)', '2026-06-05 02:04:46', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370707 -2.800526)'), GeomFromEWKT('SRID=4674;POINT (-40.370824 -2.80045)'))) / (select extract(epoch from '2026-06-05 02:04:46'::timestamp) - extract(epoch from '2026-06-05 02:04:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370707 -2.800526)'), GeomFromEWKT('SRID=4674;POINT (-40.370824 -2.80045)'))) / (select extract(epoch from '2026-06-05 02:04:46'::timestamp) - extract(epoch from '2026-06-05 02:04: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'), 46721, 'SRID=4674;POINT (-40.370931 -2.800404)', '2026-06-05 02:04:52', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370824 -2.80045)'), GeomFromEWKT('SRID=4674;POINT (-40.370931 -2.800404)'))) / (select extract(epoch from '2026-06-05 02:04:52'::timestamp) - extract(epoch from '2026-06-05 02:04:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370824 -2.80045)'), GeomFromEWKT('SRID=4674;POINT (-40.370931 -2.800404)'))) / (select extract(epoch from '2026-06-05 02:04:52'::timestamp) - extract(epoch from '2026-06-05 02:04: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'), 46721, 'SRID=4674;POINT (-40.371068 -2.800336)', '2026-06-05 02:05:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370931 -2.800404)'), GeomFromEWKT('SRID=4674;POINT (-40.371068 -2.800336)'))) / (select extract(epoch from '2026-06-05 02:05:00'::timestamp) - extract(epoch from '2026-06-05 02:04:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.370931 -2.800404)'), GeomFromEWKT('SRID=4674;POINT (-40.371068 -2.800336)'))) / (select extract(epoch from '2026-06-05 02:05:00'::timestamp) - extract(epoch from '2026-06-05 02:04: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'), 46721, 'SRID=4674;POINT (-40.371246 -2.80024)', '2026-06-05 02:05:10', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371068 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.371246 -2.80024)'))) / (select extract(epoch from '2026-06-05 02:05:10'::timestamp) - extract(epoch from '2026-06-05 02:05:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371068 -2.800336)'), GeomFromEWKT('SRID=4674;POINT (-40.371246 -2.80024)'))) / (select extract(epoch from '2026-06-05 02:05:10'::timestamp) - extract(epoch from '2026-06-05 02:05: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'), 46721, 'SRID=4674;POINT (-40.371401 -2.800189)', '2026-06-05 02:05:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371246 -2.80024)'), GeomFromEWKT('SRID=4674;POINT (-40.371401 -2.800189)'))) / (select extract(epoch from '2026-06-05 02:05:18'::timestamp) - extract(epoch from '2026-06-05 02:05:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371246 -2.80024)'), GeomFromEWKT('SRID=4674;POINT (-40.371401 -2.800189)'))) / (select extract(epoch from '2026-06-05 02:05:18'::timestamp) - extract(epoch from '2026-06-05 02:05: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'), 46721, 'SRID=4674;POINT (-40.371542 -2.800115)', '2026-06-05 02:05:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371401 -2.800189)'), GeomFromEWKT('SRID=4674;POINT (-40.371542 -2.800115)'))) / (select extract(epoch from '2026-06-05 02:05:26'::timestamp) - extract(epoch from '2026-06-05 02:05:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371401 -2.800189)'), GeomFromEWKT('SRID=4674;POINT (-40.371542 -2.800115)'))) / (select extract(epoch from '2026-06-05 02:05:26'::timestamp) - extract(epoch from '2026-06-05 02:05: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'), 46721, 'SRID=4674;POINT (-40.371723 -2.800008)', '2026-06-05 02:05:36', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371542 -2.800115)'), GeomFromEWKT('SRID=4674;POINT (-40.371723 -2.800008)'))) / (select extract(epoch from '2026-06-05 02:05:36'::timestamp) - extract(epoch from '2026-06-05 02:05:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371542 -2.800115)'), GeomFromEWKT('SRID=4674;POINT (-40.371723 -2.800008)'))) / (select extract(epoch from '2026-06-05 02:05:36'::timestamp) - extract(epoch from '2026-06-05 02:05:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.371883 -2.799928)', '2026-06-05 02:05:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371723 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.371883 -2.799928)'))) / (select extract(epoch from '2026-06-05 02:05:45'::timestamp) - extract(epoch from '2026-06-05 02:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371723 -2.800008)'), GeomFromEWKT('SRID=4674;POINT (-40.371883 -2.799928)'))) / (select extract(epoch from '2026-06-05 02:05:45'::timestamp) - extract(epoch from '2026-06-05 02:05:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.372054 -2.79989)', '2026-06-05 02:05:54', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371883 -2.799928)'), GeomFromEWKT('SRID=4674;POINT (-40.372054 -2.79989)'))) / (select extract(epoch from '2026-06-05 02:05:54'::timestamp) - extract(epoch from '2026-06-05 02:05:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.371883 -2.799928)'), GeomFromEWKT('SRID=4674;POINT (-40.372054 -2.79989)'))) / (select extract(epoch from '2026-06-05 02:05:54'::timestamp) - extract(epoch from '2026-06-05 02:05: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'), 46721, 'SRID=4674;POINT (-40.372178 -2.799833)', '2026-06-05 02:06:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372054 -2.79989)'), GeomFromEWKT('SRID=4674;POINT (-40.372178 -2.799833)'))) / (select extract(epoch from '2026-06-05 02:06:01'::timestamp) - extract(epoch from '2026-06-05 02:05:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372054 -2.79989)'), GeomFromEWKT('SRID=4674;POINT (-40.372178 -2.799833)'))) / (select extract(epoch from '2026-06-05 02:06:01'::timestamp) - extract(epoch from '2026-06-05 02:05: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'), 46721, 'SRID=4674;POINT (-40.372347 -2.799706)', '2026-06-05 02:06:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372178 -2.799833)'), GeomFromEWKT('SRID=4674;POINT (-40.372347 -2.799706)'))) / (select extract(epoch from '2026-06-05 02:06:12'::timestamp) - extract(epoch from '2026-06-05 02:06:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372178 -2.799833)'), GeomFromEWKT('SRID=4674;POINT (-40.372347 -2.799706)'))) / (select extract(epoch from '2026-06-05 02:06:12'::timestamp) - extract(epoch from '2026-06-05 02:06:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.37246 -2.799622)', '2026-06-05 02:06:19', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372347 -2.799706)'), GeomFromEWKT('SRID=4674;POINT (-40.37246 -2.799622)'))) / (select extract(epoch from '2026-06-05 02:06:19'::timestamp) - extract(epoch from '2026-06-05 02:06:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372347 -2.799706)'), GeomFromEWKT('SRID=4674;POINT (-40.37246 -2.799622)'))) / (select extract(epoch from '2026-06-05 02:06:19'::timestamp) - extract(epoch from '2026-06-05 02:06: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'), 46721, 'SRID=4674;POINT (-40.37261 -2.799519)', '2026-06-05 02:06:28', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37246 -2.799622)'), GeomFromEWKT('SRID=4674;POINT (-40.37261 -2.799519)'))) / (select extract(epoch from '2026-06-05 02:06:28'::timestamp) - extract(epoch from '2026-06-05 02:06:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37246 -2.799622)'), GeomFromEWKT('SRID=4674;POINT (-40.37261 -2.799519)'))) / (select extract(epoch from '2026-06-05 02:06:28'::timestamp) - extract(epoch from '2026-06-05 02:06:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.372724 -2.799438)', '2026-06-05 02:06:35', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37261 -2.799519)'), GeomFromEWKT('SRID=4674;POINT (-40.372724 -2.799438)'))) / (select extract(epoch from '2026-06-05 02:06:35'::timestamp) - extract(epoch from '2026-06-05 02:06:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37261 -2.799519)'), GeomFromEWKT('SRID=4674;POINT (-40.372724 -2.799438)'))) / (select extract(epoch from '2026-06-05 02:06:35'::timestamp) - extract(epoch from '2026-06-05 02:06:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.37286 -2.79932)', '2026-06-05 02:06:44', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372724 -2.799438)'), GeomFromEWKT('SRID=4674;POINT (-40.37286 -2.79932)'))) / (select extract(epoch from '2026-06-05 02:06:44'::timestamp) - extract(epoch from '2026-06-05 02:06:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.372724 -2.799438)'), GeomFromEWKT('SRID=4674;POINT (-40.37286 -2.79932)'))) / (select extract(epoch from '2026-06-05 02:06:44'::timestamp) - extract(epoch from '2026-06-05 02:06: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'), 46721, 'SRID=4674;POINT (-40.373017 -2.799186)', '2026-06-05 02:06:54', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37286 -2.79932)'), GeomFromEWKT('SRID=4674;POINT (-40.373017 -2.799186)'))) / (select extract(epoch from '2026-06-05 02:06:54'::timestamp) - extract(epoch from '2026-06-05 02:06:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37286 -2.79932)'), GeomFromEWKT('SRID=4674;POINT (-40.373017 -2.799186)'))) / (select extract(epoch from '2026-06-05 02:06:54'::timestamp) - extract(epoch from '2026-06-05 02:06: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'), 46721, 'SRID=4674;POINT (-40.373158 -2.799099)', '2026-06-05 02:07:02', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373017 -2.799186)'), GeomFromEWKT('SRID=4674;POINT (-40.373158 -2.799099)'))) / (select extract(epoch from '2026-06-05 02:07:02'::timestamp) - extract(epoch from '2026-06-05 02:06:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373017 -2.799186)'), GeomFromEWKT('SRID=4674;POINT (-40.373158 -2.799099)'))) / (select extract(epoch from '2026-06-05 02:07:02'::timestamp) - extract(epoch from '2026-06-05 02:06:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.373296 -2.799019)', '2026-06-05 02:07:10', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373158 -2.799099)'), GeomFromEWKT('SRID=4674;POINT (-40.373296 -2.799019)'))) / (select extract(epoch from '2026-06-05 02:07:10'::timestamp) - extract(epoch from '2026-06-05 02:07:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373158 -2.799099)'), GeomFromEWKT('SRID=4674;POINT (-40.373296 -2.799019)'))) / (select extract(epoch from '2026-06-05 02:07:10'::timestamp) - extract(epoch from '2026-06-05 02:07:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.373444 -2.79892)', '2026-06-05 02:07:19', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373296 -2.799019)'), GeomFromEWKT('SRID=4674;POINT (-40.373444 -2.79892)'))) / (select extract(epoch from '2026-06-05 02:07:19'::timestamp) - extract(epoch from '2026-06-05 02:07:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373296 -2.799019)'), GeomFromEWKT('SRID=4674;POINT (-40.373444 -2.79892)'))) / (select extract(epoch from '2026-06-05 02:07:19'::timestamp) - extract(epoch from '2026-06-05 02:07:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.373568 -2.798826)', '2026-06-05 02:07:27', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373444 -2.79892)'), GeomFromEWKT('SRID=4674;POINT (-40.373568 -2.798826)'))) / (select extract(epoch from '2026-06-05 02:07:27'::timestamp) - extract(epoch from '2026-06-05 02:07:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373444 -2.79892)'), GeomFromEWKT('SRID=4674;POINT (-40.373568 -2.798826)'))) / (select extract(epoch from '2026-06-05 02:07:27'::timestamp) - extract(epoch from '2026-06-05 02:07: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'), 46721, 'SRID=4674;POINT (-40.373713 -2.798714)', '2026-06-05 02:07:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373568 -2.798826)'), GeomFromEWKT('SRID=4674;POINT (-40.373713 -2.798714)'))) / (select extract(epoch from '2026-06-05 02:07:36'::timestamp) - extract(epoch from '2026-06-05 02:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373568 -2.798826)'), GeomFromEWKT('SRID=4674;POINT (-40.373713 -2.798714)'))) / (select extract(epoch from '2026-06-05 02:07:36'::timestamp) - extract(epoch from '2026-06-05 02:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.373834 -2.798641)', '2026-06-05 02:07:43', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373713 -2.798714)'), GeomFromEWKT('SRID=4674;POINT (-40.373834 -2.798641)'))) / (select extract(epoch from '2026-06-05 02:07:43'::timestamp) - extract(epoch from '2026-06-05 02:07:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373713 -2.798714)'), GeomFromEWKT('SRID=4674;POINT (-40.373834 -2.798641)'))) / (select extract(epoch from '2026-06-05 02:07:43'::timestamp) - extract(epoch from '2026-06-05 02:07: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'), 46721, 'SRID=4674;POINT (-40.373968 -2.798587)', '2026-06-05 02:07:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373834 -2.798641)'), GeomFromEWKT('SRID=4674;POINT (-40.373968 -2.798587)'))) / (select extract(epoch from '2026-06-05 02:07:50'::timestamp) - extract(epoch from '2026-06-05 02:07:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373834 -2.798641)'), GeomFromEWKT('SRID=4674;POINT (-40.373968 -2.798587)'))) / (select extract(epoch from '2026-06-05 02:07:50'::timestamp) - extract(epoch from '2026-06-05 02:07:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.374132 -2.798516)', '2026-06-05 02:07:59', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373968 -2.798587)'), GeomFromEWKT('SRID=4674;POINT (-40.374132 -2.798516)'))) / (select extract(epoch from '2026-06-05 02:07:59'::timestamp) - extract(epoch from '2026-06-05 02:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.373968 -2.798587)'), GeomFromEWKT('SRID=4674;POINT (-40.374132 -2.798516)'))) / (select extract(epoch from '2026-06-05 02:07:59'::timestamp) - extract(epoch from '2026-06-05 02:07: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'), 46721, 'SRID=4674;POINT (-40.374243 -2.79844)', '2026-06-05 02:08:06', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374132 -2.798516)'), GeomFromEWKT('SRID=4674;POINT (-40.374243 -2.79844)'))) / (select extract(epoch from '2026-06-05 02:08:06'::timestamp) - extract(epoch from '2026-06-05 02:07:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374132 -2.798516)'), GeomFromEWKT('SRID=4674;POINT (-40.374243 -2.79844)'))) / (select extract(epoch from '2026-06-05 02:08:06'::timestamp) - extract(epoch from '2026-06-05 02:07:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.374383 -2.798335)', '2026-06-05 02:08:15', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374243 -2.79844)'), GeomFromEWKT('SRID=4674;POINT (-40.374383 -2.798335)'))) / (select extract(epoch from '2026-06-05 02:08:15'::timestamp) - extract(epoch from '2026-06-05 02:08:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374243 -2.79844)'), GeomFromEWKT('SRID=4674;POINT (-40.374383 -2.798335)'))) / (select extract(epoch from '2026-06-05 02:08:15'::timestamp) - extract(epoch from '2026-06-05 02:08:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.374516 -2.798253)', '2026-06-05 02:08:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374383 -2.798335)'), GeomFromEWKT('SRID=4674;POINT (-40.374516 -2.798253)'))) / (select extract(epoch from '2026-06-05 02:08:23'::timestamp) - extract(epoch from '2026-06-05 02:08:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374383 -2.798335)'), GeomFromEWKT('SRID=4674;POINT (-40.374516 -2.798253)'))) / (select extract(epoch from '2026-06-05 02:08:23'::timestamp) - extract(epoch from '2026-06-05 02:08:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.374654 -2.798138)', '2026-06-05 02:08:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374516 -2.798253)'), GeomFromEWKT('SRID=4674;POINT (-40.374654 -2.798138)'))) / (select extract(epoch from '2026-06-05 02:08:32'::timestamp) - extract(epoch from '2026-06-05 02:08:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374516 -2.798253)'), GeomFromEWKT('SRID=4674;POINT (-40.374654 -2.798138)'))) / (select extract(epoch from '2026-06-05 02:08:32'::timestamp) - extract(epoch from '2026-06-05 02:08:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.374759 -2.798044)', '2026-06-05 02:08:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374654 -2.798138)'), GeomFromEWKT('SRID=4674;POINT (-40.374759 -2.798044)'))) / (select extract(epoch from '2026-06-05 02:08:39'::timestamp) - extract(epoch from '2026-06-05 02:08:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374654 -2.798138)'), GeomFromEWKT('SRID=4674;POINT (-40.374759 -2.798044)'))) / (select extract(epoch from '2026-06-05 02:08:39'::timestamp) - extract(epoch from '2026-06-05 02:08:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.374888 -2.797955)', '2026-06-05 02:08:47', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374759 -2.798044)'), GeomFromEWKT('SRID=4674;POINT (-40.374888 -2.797955)'))) / (select extract(epoch from '2026-06-05 02:08:47'::timestamp) - extract(epoch from '2026-06-05 02:08:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374759 -2.798044)'), GeomFromEWKT('SRID=4674;POINT (-40.374888 -2.797955)'))) / (select extract(epoch from '2026-06-05 02:08:47'::timestamp) - extract(epoch from '2026-06-05 02:08:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.375037 -2.797886)', '2026-06-05 02:08:55', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374888 -2.797955)'), GeomFromEWKT('SRID=4674;POINT (-40.375037 -2.797886)'))) / (select extract(epoch from '2026-06-05 02:08:55'::timestamp) - extract(epoch from '2026-06-05 02:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.374888 -2.797955)'), GeomFromEWKT('SRID=4674;POINT (-40.375037 -2.797886)'))) / (select extract(epoch from '2026-06-05 02:08:55'::timestamp) - extract(epoch from '2026-06-05 02:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.375182 -2.797815)', '2026-06-05 02:09:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375037 -2.797886)'), GeomFromEWKT('SRID=4674;POINT (-40.375182 -2.797815)'))) / (select extract(epoch from '2026-06-05 02:09:03'::timestamp) - extract(epoch from '2026-06-05 02:08:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375037 -2.797886)'), GeomFromEWKT('SRID=4674;POINT (-40.375182 -2.797815)'))) / (select extract(epoch from '2026-06-05 02:09:03'::timestamp) - extract(epoch from '2026-06-05 02:08: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'), 46721, 'SRID=4674;POINT (-40.375316 -2.797735)', '2026-06-05 02:09:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375182 -2.797815)'), GeomFromEWKT('SRID=4674;POINT (-40.375316 -2.797735)'))) / (select extract(epoch from '2026-06-05 02:09:11'::timestamp) - extract(epoch from '2026-06-05 02:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375182 -2.797815)'), GeomFromEWKT('SRID=4674;POINT (-40.375316 -2.797735)'))) / (select extract(epoch from '2026-06-05 02:09:11'::timestamp) - extract(epoch from '2026-06-05 02:09: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'), 46721, 'SRID=4674;POINT (-40.375434 -2.797654)', '2026-06-05 02:09:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375316 -2.797735)'), GeomFromEWKT('SRID=4674;POINT (-40.375434 -2.797654)'))) / (select extract(epoch from '2026-06-05 02:09:18'::timestamp) - extract(epoch from '2026-06-05 02:09:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375316 -2.797735)'), GeomFromEWKT('SRID=4674;POINT (-40.375434 -2.797654)'))) / (select extract(epoch from '2026-06-05 02:09:18'::timestamp) - extract(epoch from '2026-06-05 02:09:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.375559 -2.797585)', '2026-06-05 02:09:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375434 -2.797654)'), GeomFromEWKT('SRID=4674;POINT (-40.375559 -2.797585)'))) / (select extract(epoch from '2026-06-05 02:09:25'::timestamp) - extract(epoch from '2026-06-05 02:09:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375434 -2.797654)'), GeomFromEWKT('SRID=4674;POINT (-40.375559 -2.797585)'))) / (select extract(epoch from '2026-06-05 02:09:25'::timestamp) - extract(epoch from '2026-06-05 02:09:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.375719 -2.797497)', '2026-06-05 02:09:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375559 -2.797585)'), GeomFromEWKT('SRID=4674;POINT (-40.375719 -2.797497)'))) / (select extract(epoch from '2026-06-05 02:09:34'::timestamp) - extract(epoch from '2026-06-05 02:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375559 -2.797585)'), GeomFromEWKT('SRID=4674;POINT (-40.375719 -2.797497)'))) / (select extract(epoch from '2026-06-05 02:09:34'::timestamp) - extract(epoch from '2026-06-05 02:09:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.375894 -2.797369)', '2026-06-05 02:09:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375719 -2.797497)'), GeomFromEWKT('SRID=4674;POINT (-40.375894 -2.797369)'))) / (select extract(epoch from '2026-06-05 02:09:45'::timestamp) - extract(epoch from '2026-06-05 02:09:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375719 -2.797497)'), GeomFromEWKT('SRID=4674;POINT (-40.375894 -2.797369)'))) / (select extract(epoch from '2026-06-05 02:09:45'::timestamp) - extract(epoch from '2026-06-05 02:09: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'), 46721, 'SRID=4674;POINT (-40.376036 -2.797253)', '2026-06-05 02:09:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375894 -2.797369)'), GeomFromEWKT('SRID=4674;POINT (-40.376036 -2.797253)'))) / (select extract(epoch from '2026-06-05 02:09:54'::timestamp) - extract(epoch from '2026-06-05 02:09:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.375894 -2.797369)'), GeomFromEWKT('SRID=4674;POINT (-40.376036 -2.797253)'))) / (select extract(epoch from '2026-06-05 02:09:54'::timestamp) - extract(epoch from '2026-06-05 02:09:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.376188 -2.79715)', '2026-06-05 02:10:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376036 -2.797253)'), GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.79715)'))) / (select extract(epoch from '2026-06-05 02:10:03'::timestamp) - extract(epoch from '2026-06-05 02:09:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376036 -2.797253)'), GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.79715)'))) / (select extract(epoch from '2026-06-05 02:10:03'::timestamp) - extract(epoch from '2026-06-05 02:09: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'), 46721, 'SRID=4674;POINT (-40.376316 -2.797054)', '2026-06-05 02:10:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.79715)'), GeomFromEWKT('SRID=4674;POINT (-40.376316 -2.797054)'))) / (select extract(epoch from '2026-06-05 02:10:11'::timestamp) - extract(epoch from '2026-06-05 02:10:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376188 -2.79715)'), GeomFromEWKT('SRID=4674;POINT (-40.376316 -2.797054)'))) / (select extract(epoch from '2026-06-05 02:10:11'::timestamp) - extract(epoch from '2026-06-05 02:10:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.376428 -2.796964)', '2026-06-05 02:10:18', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376316 -2.797054)'), GeomFromEWKT('SRID=4674;POINT (-40.376428 -2.796964)'))) / (select extract(epoch from '2026-06-05 02:10:18'::timestamp) - extract(epoch from '2026-06-05 02:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376316 -2.797054)'), GeomFromEWKT('SRID=4674;POINT (-40.376428 -2.796964)'))) / (select extract(epoch from '2026-06-05 02:10:18'::timestamp) - extract(epoch from '2026-06-05 02:10: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'), 46721, 'SRID=4674;POINT (-40.376591 -2.796841)', '2026-06-05 02:10:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376428 -2.796964)'), GeomFromEWKT('SRID=4674;POINT (-40.376591 -2.796841)'))) / (select extract(epoch from '2026-06-05 02:10:28'::timestamp) - extract(epoch from '2026-06-05 02:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376428 -2.796964)'), GeomFromEWKT('SRID=4674;POINT (-40.376591 -2.796841)'))) / (select extract(epoch from '2026-06-05 02:10:28'::timestamp) - extract(epoch from '2026-06-05 02:10:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.376731 -2.796756)', '2026-06-05 02:10:36', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376591 -2.796841)'), GeomFromEWKT('SRID=4674;POINT (-40.376731 -2.796756)'))) / (select extract(epoch from '2026-06-05 02:10:36'::timestamp) - extract(epoch from '2026-06-05 02:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376591 -2.796841)'), GeomFromEWKT('SRID=4674;POINT (-40.376731 -2.796756)'))) / (select extract(epoch from '2026-06-05 02:10:36'::timestamp) - extract(epoch from '2026-06-05 02:10:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.376871 -2.796684)', '2026-06-05 02:10:44', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376731 -2.796756)'), GeomFromEWKT('SRID=4674;POINT (-40.376871 -2.796684)'))) / (select extract(epoch from '2026-06-05 02:10:44'::timestamp) - extract(epoch from '2026-06-05 02:10:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376731 -2.796756)'), GeomFromEWKT('SRID=4674;POINT (-40.376871 -2.796684)'))) / (select extract(epoch from '2026-06-05 02:10:44'::timestamp) - extract(epoch from '2026-06-05 02:10:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.377037 -2.796603)', '2026-06-05 02:10:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376871 -2.796684)'), GeomFromEWKT('SRID=4674;POINT (-40.377037 -2.796603)'))) / (select extract(epoch from '2026-06-05 02:10:53'::timestamp) - extract(epoch from '2026-06-05 02:10:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.376871 -2.796684)'), GeomFromEWKT('SRID=4674;POINT (-40.377037 -2.796603)'))) / (select extract(epoch from '2026-06-05 02:10:53'::timestamp) - extract(epoch from '2026-06-05 02:10:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.377182 -2.796532)', '2026-06-05 02:11:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377037 -2.796603)'), GeomFromEWKT('SRID=4674;POINT (-40.377182 -2.796532)'))) / (select extract(epoch from '2026-06-05 02:11:01'::timestamp) - extract(epoch from '2026-06-05 02:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377037 -2.796603)'), GeomFromEWKT('SRID=4674;POINT (-40.377182 -2.796532)'))) / (select extract(epoch from '2026-06-05 02:11:01'::timestamp) - extract(epoch from '2026-06-05 02:10: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'), 46721, 'SRID=4674;POINT (-40.377316 -2.796437)', '2026-06-05 02:11:09', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377182 -2.796532)'), GeomFromEWKT('SRID=4674;POINT (-40.377316 -2.796437)'))) / (select extract(epoch from '2026-06-05 02:11:09'::timestamp) - extract(epoch from '2026-06-05 02:11:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377182 -2.796532)'), GeomFromEWKT('SRID=4674;POINT (-40.377316 -2.796437)'))) / (select extract(epoch from '2026-06-05 02:11:09'::timestamp) - extract(epoch from '2026-06-05 02:11: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'), 46721, 'SRID=4674;POINT (-40.377449 -2.796348)', '2026-06-05 02:11:17', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377316 -2.796437)'), GeomFromEWKT('SRID=4674;POINT (-40.377449 -2.796348)'))) / (select extract(epoch from '2026-06-05 02:11:17'::timestamp) - extract(epoch from '2026-06-05 02:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377316 -2.796437)'), GeomFromEWKT('SRID=4674;POINT (-40.377449 -2.796348)'))) / (select extract(epoch from '2026-06-05 02:11:17'::timestamp) - extract(epoch from '2026-06-05 02:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.37759 -2.79628)', '2026-06-05 02:11:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377449 -2.796348)'), GeomFromEWKT('SRID=4674;POINT (-40.37759 -2.79628)'))) / (select extract(epoch from '2026-06-05 02:11:25'::timestamp) - extract(epoch from '2026-06-05 02:11:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377449 -2.796348)'), GeomFromEWKT('SRID=4674;POINT (-40.37759 -2.79628)'))) / (select extract(epoch from '2026-06-05 02:11:25'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.377722 -2.796224)', '2026-06-05 02:11:32', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37759 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.377722 -2.796224)'))) / (select extract(epoch from '2026-06-05 02:11:32'::timestamp) - extract(epoch from '2026-06-05 02:11:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37759 -2.79628)'), GeomFromEWKT('SRID=4674;POINT (-40.377722 -2.796224)'))) / (select extract(epoch from '2026-06-05 02:11:32'::timestamp) - extract(epoch from '2026-06-05 02:11: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'), 46721, 'SRID=4674;POINT (-40.37787 -2.796154)', '2026-06-05 02:11:40', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377722 -2.796224)'), GeomFromEWKT('SRID=4674;POINT (-40.37787 -2.796154)'))) / (select extract(epoch from '2026-06-05 02:11:40'::timestamp) - extract(epoch from '2026-06-05 02:11:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.377722 -2.796224)'), GeomFromEWKT('SRID=4674;POINT (-40.37787 -2.796154)'))) / (select extract(epoch from '2026-06-05 02:11:40'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.378007 -2.796049)', '2026-06-05 02:11:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37787 -2.796154)'), GeomFromEWKT('SRID=4674;POINT (-40.378007 -2.796049)'))) / (select extract(epoch from '2026-06-05 02:11:49'::timestamp) - extract(epoch from '2026-06-05 02:11:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37787 -2.796154)'), GeomFromEWKT('SRID=4674;POINT (-40.378007 -2.796049)'))) / (select extract(epoch from '2026-06-05 02:11:49'::timestamp) - extract(epoch from '2026-06-05 02:11:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.378115 -2.795928)', '2026-06-05 02:11:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378007 -2.796049)'), GeomFromEWKT('SRID=4674;POINT (-40.378115 -2.795928)'))) / (select extract(epoch from '2026-06-05 02:11:57'::timestamp) - extract(epoch from '2026-06-05 02:11:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378007 -2.796049)'), GeomFromEWKT('SRID=4674;POINT (-40.378115 -2.795928)'))) / (select extract(epoch from '2026-06-05 02:11:57'::timestamp) - extract(epoch from '2026-06-05 02:11:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.378206 -2.795822)', '2026-06-05 02:12:04', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378115 -2.795928)'), GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.795822)'))) / (select extract(epoch from '2026-06-05 02:12:04'::timestamp) - extract(epoch from '2026-06-05 02:11:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378115 -2.795928)'), GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.795822)'))) / (select extract(epoch from '2026-06-05 02:12:04'::timestamp) - extract(epoch from '2026-06-05 02:11: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'), 46721, 'SRID=4674;POINT (-40.378326 -2.795692)', '2026-06-05 02:12:13', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.795822)'), GeomFromEWKT('SRID=4674;POINT (-40.378326 -2.795692)'))) / (select extract(epoch from '2026-06-05 02:12:13'::timestamp) - extract(epoch from '2026-06-05 02:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378206 -2.795822)'), GeomFromEWKT('SRID=4674;POINT (-40.378326 -2.795692)'))) / (select extract(epoch from '2026-06-05 02:12:13'::timestamp) - extract(epoch from '2026-06-05 02:12: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'), 46721, 'SRID=4674;POINT (-40.378414 -2.79561)', '2026-06-05 02:12:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378326 -2.795692)'), GeomFromEWKT('SRID=4674;POINT (-40.378414 -2.79561)'))) / (select extract(epoch from '2026-06-05 02:12:19'::timestamp) - extract(epoch from '2026-06-05 02:12:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378326 -2.795692)'), GeomFromEWKT('SRID=4674;POINT (-40.378414 -2.79561)'))) / (select extract(epoch from '2026-06-05 02:12:19'::timestamp) - extract(epoch from '2026-06-05 02:12: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'), 46721, 'SRID=4674;POINT (-40.378539 -2.795513)', '2026-06-05 02:12:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378414 -2.79561)'), GeomFromEWKT('SRID=4674;POINT (-40.378539 -2.795513)'))) / (select extract(epoch from '2026-06-05 02:12:27'::timestamp) - extract(epoch from '2026-06-05 02:12:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378414 -2.79561)'), GeomFromEWKT('SRID=4674;POINT (-40.378539 -2.795513)'))) / (select extract(epoch from '2026-06-05 02:12:27'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.378663 -2.795411)', '2026-06-05 02:12:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378539 -2.795513)'), GeomFromEWKT('SRID=4674;POINT (-40.378663 -2.795411)'))) / (select extract(epoch from '2026-06-05 02:12:35'::timestamp) - extract(epoch from '2026-06-05 02:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378539 -2.795513)'), GeomFromEWKT('SRID=4674;POINT (-40.378663 -2.795411)'))) / (select extract(epoch from '2026-06-05 02:12:35'::timestamp) - extract(epoch from '2026-06-05 02:12: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'), 46721, 'SRID=4674;POINT (-40.378772 -2.795296)', '2026-06-05 02:12:43', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378663 -2.795411)'), GeomFromEWKT('SRID=4674;POINT (-40.378772 -2.795296)'))) / (select extract(epoch from '2026-06-05 02:12:43'::timestamp) - extract(epoch from '2026-06-05 02:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378663 -2.795411)'), GeomFromEWKT('SRID=4674;POINT (-40.378772 -2.795296)'))) / (select extract(epoch from '2026-06-05 02:12:43'::timestamp) - extract(epoch from '2026-06-05 02:12:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.378887 -2.795187)', '2026-06-05 02:12:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378772 -2.795296)'), GeomFromEWKT('SRID=4674;POINT (-40.378887 -2.795187)'))) / (select extract(epoch from '2026-06-05 02:12:51'::timestamp) - extract(epoch from '2026-06-05 02:12:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378772 -2.795296)'), GeomFromEWKT('SRID=4674;POINT (-40.378887 -2.795187)'))) / (select extract(epoch from '2026-06-05 02:12:51'::timestamp) - extract(epoch from '2026-06-05 02:12:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.379055 -2.795083)', '2026-06-05 02:13:01', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378887 -2.795187)'), GeomFromEWKT('SRID=4674;POINT (-40.379055 -2.795083)'))) / (select extract(epoch from '2026-06-05 02:13:01'::timestamp) - extract(epoch from '2026-06-05 02:12:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.378887 -2.795187)'), GeomFromEWKT('SRID=4674;POINT (-40.379055 -2.795083)'))) / (select extract(epoch from '2026-06-05 02:13:01'::timestamp) - extract(epoch from '2026-06-05 02:12: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'), 46721, 'SRID=4674;POINT (-40.37918 -2.795011)', '2026-06-05 02:13:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379055 -2.795083)'), GeomFromEWKT('SRID=4674;POINT (-40.37918 -2.795011)'))) / (select extract(epoch from '2026-06-05 02:13:08'::timestamp) - extract(epoch from '2026-06-05 02:13:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379055 -2.795083)'), GeomFromEWKT('SRID=4674;POINT (-40.37918 -2.795011)'))) / (select extract(epoch from '2026-06-05 02:13:08'::timestamp) - extract(epoch from '2026-06-05 02:13:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.379323 -2.7949)', '2026-06-05 02:13:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37918 -2.795011)'), GeomFromEWKT('SRID=4674;POINT (-40.379323 -2.7949)'))) / (select extract(epoch from '2026-06-05 02:13:17'::timestamp) - extract(epoch from '2026-06-05 02:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.37918 -2.795011)'), GeomFromEWKT('SRID=4674;POINT (-40.379323 -2.7949)'))) / (select extract(epoch from '2026-06-05 02:13:17'::timestamp) - extract(epoch from '2026-06-05 02:13: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'), 46721, 'SRID=4674;POINT (-40.379438 -2.794812)', '2026-06-05 02:13:24', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379323 -2.7949)'), GeomFromEWKT('SRID=4674;POINT (-40.379438 -2.794812)'))) / (select extract(epoch from '2026-06-05 02:13:24'::timestamp) - extract(epoch from '2026-06-05 02:13:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379323 -2.7949)'), GeomFromEWKT('SRID=4674;POINT (-40.379438 -2.794812)'))) / (select extract(epoch from '2026-06-05 02:13:24'::timestamp) - extract(epoch from '2026-06-05 02:13: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'), 46721, 'SRID=4674;POINT (-40.379558 -2.794735)', '2026-06-05 02:13:31', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379438 -2.794812)'), GeomFromEWKT('SRID=4674;POINT (-40.379558 -2.794735)'))) / (select extract(epoch from '2026-06-05 02:13:31'::timestamp) - extract(epoch from '2026-06-05 02:13:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379438 -2.794812)'), GeomFromEWKT('SRID=4674;POINT (-40.379558 -2.794735)'))) / (select extract(epoch from '2026-06-05 02:13:31'::timestamp) - extract(epoch from '2026-06-05 02:13: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'), 46721, 'SRID=4674;POINT (-40.379713 -2.794642)', '2026-06-05 02:13:40', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379558 -2.794735)'), GeomFromEWKT('SRID=4674;POINT (-40.379713 -2.794642)'))) / (select extract(epoch from '2026-06-05 02:13:40'::timestamp) - extract(epoch from '2026-06-05 02:13:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379558 -2.794735)'), GeomFromEWKT('SRID=4674;POINT (-40.379713 -2.794642)'))) / (select extract(epoch from '2026-06-05 02:13:40'::timestamp) - extract(epoch from '2026-06-05 02:13: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'), 46721, 'SRID=4674;POINT (-40.379845 -2.794554)', '2026-06-05 02:13:48', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379713 -2.794642)'), GeomFromEWKT('SRID=4674;POINT (-40.379845 -2.794554)'))) / (select extract(epoch from '2026-06-05 02:13:48'::timestamp) - extract(epoch from '2026-06-05 02:13:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379713 -2.794642)'), GeomFromEWKT('SRID=4674;POINT (-40.379845 -2.794554)'))) / (select extract(epoch from '2026-06-05 02:13:48'::timestamp) - extract(epoch from '2026-06-05 02:13: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'), 46721, 'SRID=4674;POINT (-40.379983 -2.794441)', '2026-06-05 02:13:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379845 -2.794554)'), GeomFromEWKT('SRID=4674;POINT (-40.379983 -2.794441)'))) / (select extract(epoch from '2026-06-05 02:13:57'::timestamp) - extract(epoch from '2026-06-05 02:13:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379845 -2.794554)'), GeomFromEWKT('SRID=4674;POINT (-40.379983 -2.794441)'))) / (select extract(epoch from '2026-06-05 02:13:57'::timestamp) - extract(epoch from '2026-06-05 02:13: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'), 46721, 'SRID=4674;POINT (-40.38007 -2.794364)', '2026-06-05 02:14:03', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379983 -2.794441)'), GeomFromEWKT('SRID=4674;POINT (-40.38007 -2.794364)'))) / (select extract(epoch from '2026-06-05 02:14:03'::timestamp) - extract(epoch from '2026-06-05 02:13:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.379983 -2.794441)'), GeomFromEWKT('SRID=4674;POINT (-40.38007 -2.794364)'))) / (select extract(epoch from '2026-06-05 02:14:03'::timestamp) - extract(epoch from '2026-06-05 02:13: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'), 46721, 'SRID=4674;POINT (-40.380162 -2.794287)', '2026-06-05 02:14:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38007 -2.794364)'), GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.794287)'))) / (select extract(epoch from '2026-06-05 02:14:09'::timestamp) - extract(epoch from '2026-06-05 02:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38007 -2.794364)'), GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.794287)'))) / (select extract(epoch from '2026-06-05 02:14:09'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.380271 -2.794201)', '2026-06-05 02:14:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.794287)'), GeomFromEWKT('SRID=4674;POINT (-40.380271 -2.794201)'))) / (select extract(epoch from '2026-06-05 02:14:16'::timestamp) - extract(epoch from '2026-06-05 02:14:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380162 -2.794287)'), GeomFromEWKT('SRID=4674;POINT (-40.380271 -2.794201)'))) / (select extract(epoch from '2026-06-05 02:14:16'::timestamp) - extract(epoch from '2026-06-05 02:14:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.380373 -2.794113)', '2026-06-05 02:14:23', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380271 -2.794201)'), GeomFromEWKT('SRID=4674;POINT (-40.380373 -2.794113)'))) / (select extract(epoch from '2026-06-05 02:14:23'::timestamp) - extract(epoch from '2026-06-05 02:14:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380271 -2.794201)'), GeomFromEWKT('SRID=4674;POINT (-40.380373 -2.794113)'))) / (select extract(epoch from '2026-06-05 02:14:23'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.380462 -2.79401)', '2026-06-05 02:14:30', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380373 -2.794113)'), GeomFromEWKT('SRID=4674;POINT (-40.380462 -2.79401)'))) / (select extract(epoch from '2026-06-05 02:14:30'::timestamp) - extract(epoch from '2026-06-05 02:14:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380373 -2.794113)'), GeomFromEWKT('SRID=4674;POINT (-40.380462 -2.79401)'))) / (select extract(epoch from '2026-06-05 02:14:30'::timestamp) - extract(epoch from '2026-06-05 02:14:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.380538 -2.793897)', '2026-06-05 02:14:37', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380462 -2.79401)'), GeomFromEWKT('SRID=4674;POINT (-40.380538 -2.793897)'))) / (select extract(epoch from '2026-06-05 02:14:37'::timestamp) - extract(epoch from '2026-06-05 02:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380462 -2.79401)'), GeomFromEWKT('SRID=4674;POINT (-40.380538 -2.793897)'))) / (select extract(epoch from '2026-06-05 02:14:37'::timestamp) - extract(epoch from '2026-06-05 02:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.380599 -2.793801)', '2026-06-05 02:14:43', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380538 -2.793897)'), GeomFromEWKT('SRID=4674;POINT (-40.380599 -2.793801)'))) / (select extract(epoch from '2026-06-05 02:14:43'::timestamp) - extract(epoch from '2026-06-05 02:14:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380538 -2.793897)'), GeomFromEWKT('SRID=4674;POINT (-40.380599 -2.793801)'))) / (select extract(epoch from '2026-06-05 02:14:43'::timestamp) - extract(epoch from '2026-06-05 02:14: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'), 46721, 'SRID=4674;POINT (-40.380665 -2.793716)', '2026-06-05 02:14:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380599 -2.793801)'), GeomFromEWKT('SRID=4674;POINT (-40.380665 -2.793716)'))) / (select extract(epoch from '2026-06-05 02:14:49'::timestamp) - extract(epoch from '2026-06-05 02:14:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380599 -2.793801)'), GeomFromEWKT('SRID=4674;POINT (-40.380665 -2.793716)'))) / (select extract(epoch from '2026-06-05 02:14:49'::timestamp) - extract(epoch from '2026-06-05 02:14:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.380774 -2.793616)', '2026-06-05 02:14:57', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380665 -2.793716)'), GeomFromEWKT('SRID=4674;POINT (-40.380774 -2.793616)'))) / (select extract(epoch from '2026-06-05 02:14:57'::timestamp) - extract(epoch from '2026-06-05 02:14:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380665 -2.793716)'), GeomFromEWKT('SRID=4674;POINT (-40.380774 -2.793616)'))) / (select extract(epoch from '2026-06-05 02:14:57'::timestamp) - extract(epoch from '2026-06-05 02:14:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.380905 -2.793533)', '2026-06-05 02:15:05', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380774 -2.793616)'), GeomFromEWKT('SRID=4674;POINT (-40.380905 -2.793533)'))) / (select extract(epoch from '2026-06-05 02:15:05'::timestamp) - extract(epoch from '2026-06-05 02:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380774 -2.793616)'), GeomFromEWKT('SRID=4674;POINT (-40.380905 -2.793533)'))) / (select extract(epoch from '2026-06-05 02:15:05'::timestamp) - extract(epoch from '2026-06-05 02:14: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'), 46721, 'SRID=4674;POINT (-40.381011 -2.793479)', '2026-06-05 02:15:11', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380905 -2.793533)'), GeomFromEWKT('SRID=4674;POINT (-40.381011 -2.793479)'))) / (select extract(epoch from '2026-06-05 02:15:11'::timestamp) - extract(epoch from '2026-06-05 02:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.380905 -2.793533)'), GeomFromEWKT('SRID=4674;POINT (-40.381011 -2.793479)'))) / (select extract(epoch from '2026-06-05 02:15:11'::timestamp) - extract(epoch from '2026-06-05 02:15: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'), 46721, 'SRID=4674;POINT (-40.381156 -2.793404)', '2026-06-05 02:15:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381011 -2.793479)'), GeomFromEWKT('SRID=4674;POINT (-40.381156 -2.793404)'))) / (select extract(epoch from '2026-06-05 02:15:19'::timestamp) - extract(epoch from '2026-06-05 02:15:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381011 -2.793479)'), GeomFromEWKT('SRID=4674;POINT (-40.381156 -2.793404)'))) / (select extract(epoch from '2026-06-05 02:15:19'::timestamp) - extract(epoch from '2026-06-05 02:15:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.381282 -2.79333)', '2026-06-05 02:15:26', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381156 -2.793404)'), GeomFromEWKT('SRID=4674;POINT (-40.381282 -2.79333)'))) / (select extract(epoch from '2026-06-05 02:15:26'::timestamp) - extract(epoch from '2026-06-05 02:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381156 -2.793404)'), GeomFromEWKT('SRID=4674;POINT (-40.381282 -2.79333)'))) / (select extract(epoch from '2026-06-05 02:15:26'::timestamp) - extract(epoch from '2026-06-05 02:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.381413 -2.793243)', '2026-06-05 02:15:34', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381282 -2.79333)'), GeomFromEWKT('SRID=4674;POINT (-40.381413 -2.793243)'))) / (select extract(epoch from '2026-06-05 02:15:34'::timestamp) - extract(epoch from '2026-06-05 02:15:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381282 -2.79333)'), GeomFromEWKT('SRID=4674;POINT (-40.381413 -2.793243)'))) / (select extract(epoch from '2026-06-05 02:15:34'::timestamp) - extract(epoch from '2026-06-05 02:15: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'), 46721, 'SRID=4674;POINT (-40.381544 -2.793128)', '2026-06-05 02:15:43', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381413 -2.793243)'), GeomFromEWKT('SRID=4674;POINT (-40.381544 -2.793128)'))) / (select extract(epoch from '2026-06-05 02:15:43'::timestamp) - extract(epoch from '2026-06-05 02:15:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381413 -2.793243)'), GeomFromEWKT('SRID=4674;POINT (-40.381544 -2.793128)'))) / (select extract(epoch from '2026-06-05 02:15:43'::timestamp) - extract(epoch from '2026-06-05 02:15: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'), 46721, 'SRID=4674;POINT (-40.381686 -2.793019)', '2026-06-05 02:15:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381544 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.381686 -2.793019)'))) / (select extract(epoch from '2026-06-05 02:15:52'::timestamp) - extract(epoch from '2026-06-05 02:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381544 -2.793128)'), GeomFromEWKT('SRID=4674;POINT (-40.381686 -2.793019)'))) / (select extract(epoch from '2026-06-05 02:15:52'::timestamp) - extract(epoch from '2026-06-05 02:15: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'), 46721, 'SRID=4674;POINT (-40.381843 -2.792932)', '2026-06-05 02:16:01', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381686 -2.793019)'), GeomFromEWKT('SRID=4674;POINT (-40.381843 -2.792932)'))) / (select extract(epoch from '2026-06-05 02:16:01'::timestamp) - extract(epoch from '2026-06-05 02:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381686 -2.793019)'), GeomFromEWKT('SRID=4674;POINT (-40.381843 -2.792932)'))) / (select extract(epoch from '2026-06-05 02:16:01'::timestamp) - extract(epoch from '2026-06-05 02:15: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'), 46721, 'SRID=4674;POINT (-40.382013 -2.792833)', '2026-06-05 02:16:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381843 -2.792932)'), GeomFromEWKT('SRID=4674;POINT (-40.382013 -2.792833)'))) / (select extract(epoch from '2026-06-05 02:16:11'::timestamp) - extract(epoch from '2026-06-05 02:16:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.381843 -2.792932)'), GeomFromEWKT('SRID=4674;POINT (-40.382013 -2.792833)'))) / (select extract(epoch from '2026-06-05 02:16:11'::timestamp) - extract(epoch from '2026-06-05 02:16:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.382145 -2.792746)', '2026-06-05 02:16:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382013 -2.792833)'), GeomFromEWKT('SRID=4674;POINT (-40.382145 -2.792746)'))) / (select extract(epoch from '2026-06-05 02:16:19'::timestamp) - extract(epoch from '2026-06-05 02:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382013 -2.792833)'), GeomFromEWKT('SRID=4674;POINT (-40.382145 -2.792746)'))) / (select extract(epoch from '2026-06-05 02:16:19'::timestamp) - extract(epoch from '2026-06-05 02:16:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.382279 -2.792657)', '2026-06-05 02:16:27', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382145 -2.792746)'), GeomFromEWKT('SRID=4674;POINT (-40.382279 -2.792657)'))) / (select extract(epoch from '2026-06-05 02:16:27'::timestamp) - extract(epoch from '2026-06-05 02:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382145 -2.792746)'), GeomFromEWKT('SRID=4674;POINT (-40.382279 -2.792657)'))) / (select extract(epoch from '2026-06-05 02:16:27'::timestamp) - extract(epoch from '2026-06-05 02:16: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'), 46721, 'SRID=4674;POINT (-40.382401 -2.79259)', '2026-06-05 02:16:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382279 -2.792657)'), GeomFromEWKT('SRID=4674;POINT (-40.382401 -2.79259)'))) / (select extract(epoch from '2026-06-05 02:16:34'::timestamp) - extract(epoch from '2026-06-05 02:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382279 -2.792657)'), GeomFromEWKT('SRID=4674;POINT (-40.382401 -2.79259)'))) / (select extract(epoch from '2026-06-05 02:16:34'::timestamp) - extract(epoch from '2026-06-05 02:16:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.382568 -2.792534)', '2026-06-05 02:16:43', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382401 -2.79259)'), GeomFromEWKT('SRID=4674;POINT (-40.382568 -2.792534)'))) / (select extract(epoch from '2026-06-05 02:16:43'::timestamp) - extract(epoch from '2026-06-05 02:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382401 -2.79259)'), GeomFromEWKT('SRID=4674;POINT (-40.382568 -2.792534)'))) / (select extract(epoch from '2026-06-05 02:16:43'::timestamp) - extract(epoch from '2026-06-05 02:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.382698 -2.79245)', '2026-06-05 02:16:51', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382568 -2.792534)'), GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.79245)'))) / (select extract(epoch from '2026-06-05 02:16:51'::timestamp) - extract(epoch from '2026-06-05 02:16:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382568 -2.792534)'), GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.79245)'))) / (select extract(epoch from '2026-06-05 02:16:51'::timestamp) - extract(epoch from '2026-06-05 02:16: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'), 46721, 'SRID=4674;POINT (-40.382804 -2.792339)', '2026-06-05 02:16:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.79245)'), GeomFromEWKT('SRID=4674;POINT (-40.382804 -2.792339)'))) / (select extract(epoch from '2026-06-05 02:16:59'::timestamp) - extract(epoch from '2026-06-05 02:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382698 -2.79245)'), GeomFromEWKT('SRID=4674;POINT (-40.382804 -2.792339)'))) / (select extract(epoch from '2026-06-05 02:16:59'::timestamp) - extract(epoch from '2026-06-05 02:16: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'), 46721, 'SRID=4674;POINT (-40.382892 -2.79224)', '2026-06-05 02:17:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382804 -2.792339)'), GeomFromEWKT('SRID=4674;POINT (-40.382892 -2.79224)'))) / (select extract(epoch from '2026-06-05 02:17:06'::timestamp) - extract(epoch from '2026-06-05 02:16:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382804 -2.792339)'), GeomFromEWKT('SRID=4674;POINT (-40.382892 -2.79224)'))) / (select extract(epoch from '2026-06-05 02:17:06'::timestamp) - extract(epoch from '2026-06-05 02:16: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'), 46721, 'SRID=4674;POINT (-40.383018 -2.79214)', '2026-06-05 02:17:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382892 -2.79224)'), GeomFromEWKT('SRID=4674;POINT (-40.383018 -2.79214)'))) / (select extract(epoch from '2026-06-05 02:17:14'::timestamp) - extract(epoch from '2026-06-05 02:17:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.382892 -2.79224)'), GeomFromEWKT('SRID=4674;POINT (-40.383018 -2.79214)'))) / (select extract(epoch from '2026-06-05 02:17:14'::timestamp) - extract(epoch from '2026-06-05 02:17:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.383178 -2.79207)', '2026-06-05 02:17:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383018 -2.79214)'), GeomFromEWKT('SRID=4674;POINT (-40.383178 -2.79207)'))) / (select extract(epoch from '2026-06-05 02:17:23'::timestamp) - extract(epoch from '2026-06-05 02:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383018 -2.79214)'), GeomFromEWKT('SRID=4674;POINT (-40.383178 -2.79207)'))) / (select extract(epoch from '2026-06-05 02:17:23'::timestamp) - extract(epoch from '2026-06-05 02:17:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.383306 -2.792028)', '2026-06-05 02:17:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383178 -2.79207)'), GeomFromEWKT('SRID=4674;POINT (-40.383306 -2.792028)'))) / (select extract(epoch from '2026-06-05 02:17:30'::timestamp) - extract(epoch from '2026-06-05 02:17:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383178 -2.79207)'), GeomFromEWKT('SRID=4674;POINT (-40.383306 -2.792028)'))) / (select extract(epoch from '2026-06-05 02:17:30'::timestamp) - extract(epoch from '2026-06-05 02:17:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.383446 -2.791962)', '2026-06-05 02:17:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383306 -2.792028)'), GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.791962)'))) / (select extract(epoch from '2026-06-05 02:17:38'::timestamp) - extract(epoch from '2026-06-05 02:17:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383306 -2.792028)'), GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.791962)'))) / (select extract(epoch from '2026-06-05 02:17:38'::timestamp) - extract(epoch from '2026-06-05 02:17: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'), 46721, 'SRID=4674;POINT (-40.383581 -2.79188)', '2026-06-05 02:17:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.791962)'), GeomFromEWKT('SRID=4674;POINT (-40.383581 -2.79188)'))) / (select extract(epoch from '2026-06-05 02:17:46'::timestamp) - extract(epoch from '2026-06-05 02:17:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383446 -2.791962)'), GeomFromEWKT('SRID=4674;POINT (-40.383581 -2.79188)'))) / (select extract(epoch from '2026-06-05 02:17:46'::timestamp) - extract(epoch from '2026-06-05 02:17: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'), 46721, 'SRID=4674;POINT (-40.383726 -2.791775)', '2026-06-05 02:17:55', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383581 -2.79188)'), GeomFromEWKT('SRID=4674;POINT (-40.383726 -2.791775)'))) / (select extract(epoch from '2026-06-05 02:17:55'::timestamp) - extract(epoch from '2026-06-05 02:17:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383581 -2.79188)'), GeomFromEWKT('SRID=4674;POINT (-40.383726 -2.791775)'))) / (select extract(epoch from '2026-06-05 02:17:55'::timestamp) - extract(epoch from '2026-06-05 02:17: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'), 46721, 'SRID=4674;POINT (-40.38385 -2.791699)', '2026-06-05 02:18:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383726 -2.791775)'), GeomFromEWKT('SRID=4674;POINT (-40.38385 -2.791699)'))) / (select extract(epoch from '2026-06-05 02:18:02'::timestamp) - extract(epoch from '2026-06-05 02:17:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383726 -2.791775)'), GeomFromEWKT('SRID=4674;POINT (-40.38385 -2.791699)'))) / (select extract(epoch from '2026-06-05 02:18:02'::timestamp) - extract(epoch from '2026-06-05 02:17:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.383977 -2.791645)', '2026-06-05 02:18:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38385 -2.791699)'), GeomFromEWKT('SRID=4674;POINT (-40.383977 -2.791645)'))) / (select extract(epoch from '2026-06-05 02:18:09'::timestamp) - extract(epoch from '2026-06-05 02:18:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38385 -2.791699)'), GeomFromEWKT('SRID=4674;POINT (-40.383977 -2.791645)'))) / (select extract(epoch from '2026-06-05 02:18:09'::timestamp) - extract(epoch from '2026-06-05 02:18: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'), 46721, 'SRID=4674;POINT (-40.384103 -2.791597)', '2026-06-05 02:18:16', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383977 -2.791645)'), GeomFromEWKT('SRID=4674;POINT (-40.384103 -2.791597)'))) / (select extract(epoch from '2026-06-05 02:18:16'::timestamp) - extract(epoch from '2026-06-05 02:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.383977 -2.791645)'), GeomFromEWKT('SRID=4674;POINT (-40.384103 -2.791597)'))) / (select extract(epoch from '2026-06-05 02:18:16'::timestamp) - extract(epoch from '2026-06-05 02:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.384249 -2.791518)', '2026-06-05 02:18:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384103 -2.791597)'), GeomFromEWKT('SRID=4674;POINT (-40.384249 -2.791518)'))) / (select extract(epoch from '2026-06-05 02:18:24'::timestamp) - extract(epoch from '2026-06-05 02:18:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384103 -2.791597)'), GeomFromEWKT('SRID=4674;POINT (-40.384249 -2.791518)'))) / (select extract(epoch from '2026-06-05 02:18:24'::timestamp) - extract(epoch from '2026-06-05 02:18: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'), 46721, 'SRID=4674;POINT (-40.384356 -2.791435)', '2026-06-05 02:18:31', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384249 -2.791518)'), GeomFromEWKT('SRID=4674;POINT (-40.384356 -2.791435)'))) / (select extract(epoch from '2026-06-05 02:18:31'::timestamp) - extract(epoch from '2026-06-05 02:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384249 -2.791518)'), GeomFromEWKT('SRID=4674;POINT (-40.384356 -2.791435)'))) / (select extract(epoch from '2026-06-05 02:18:31'::timestamp) - extract(epoch from '2026-06-05 02:18: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'), 46721, 'SRID=4674;POINT (-40.384453 -2.791343)', '2026-06-05 02:18:38', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384356 -2.791435)'), GeomFromEWKT('SRID=4674;POINT (-40.384453 -2.791343)'))) / (select extract(epoch from '2026-06-05 02:18:38'::timestamp) - extract(epoch from '2026-06-05 02:18:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384356 -2.791435)'), GeomFromEWKT('SRID=4674;POINT (-40.384453 -2.791343)'))) / (select extract(epoch from '2026-06-05 02:18:38'::timestamp) - extract(epoch from '2026-06-05 02:18: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'), 46721, 'SRID=4674;POINT (-40.384554 -2.791229)', '2026-06-05 02:18:46', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384453 -2.791343)'), GeomFromEWKT('SRID=4674;POINT (-40.384554 -2.791229)'))) / (select extract(epoch from '2026-06-05 02:18:46'::timestamp) - extract(epoch from '2026-06-05 02:18:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384453 -2.791343)'), GeomFromEWKT('SRID=4674;POINT (-40.384554 -2.791229)'))) / (select extract(epoch from '2026-06-05 02:18:46'::timestamp) - extract(epoch from '2026-06-05 02:18: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'), 46721, 'SRID=4674;POINT (-40.384657 -2.791114)', '2026-06-05 02:18:54', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384554 -2.791229)'), GeomFromEWKT('SRID=4674;POINT (-40.384657 -2.791114)'))) / (select extract(epoch from '2026-06-05 02:18:54'::timestamp) - extract(epoch from '2026-06-05 02:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384554 -2.791229)'), GeomFromEWKT('SRID=4674;POINT (-40.384657 -2.791114)'))) / (select extract(epoch from '2026-06-05 02:18:54'::timestamp) - extract(epoch from '2026-06-05 02:18:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.384761 -2.791048)', '2026-06-05 02:19:00', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384657 -2.791114)'), GeomFromEWKT('SRID=4674;POINT (-40.384761 -2.791048)'))) / (select extract(epoch from '2026-06-05 02:19:00'::timestamp) - extract(epoch from '2026-06-05 02:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384657 -2.791114)'), GeomFromEWKT('SRID=4674;POINT (-40.384761 -2.791048)'))) / (select extract(epoch from '2026-06-05 02:19:00'::timestamp) - extract(epoch from '2026-06-05 02:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.384885 -2.790979)', '2026-06-05 02:19:07', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384761 -2.791048)'), GeomFromEWKT('SRID=4674;POINT (-40.384885 -2.790979)'))) / (select extract(epoch from '2026-06-05 02:19:07'::timestamp) - extract(epoch from '2026-06-05 02:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384761 -2.791048)'), GeomFromEWKT('SRID=4674;POINT (-40.384885 -2.790979)'))) / (select extract(epoch from '2026-06-05 02:19:07'::timestamp) - extract(epoch from '2026-06-05 02:19: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'), 46721, 'SRID=4674;POINT (-40.385044 -2.790895)', '2026-06-05 02:19:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384885 -2.790979)'), GeomFromEWKT('SRID=4674;POINT (-40.385044 -2.790895)'))) / (select extract(epoch from '2026-06-05 02:19:16'::timestamp) - extract(epoch from '2026-06-05 02:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.384885 -2.790979)'), GeomFromEWKT('SRID=4674;POINT (-40.385044 -2.790895)'))) / (select extract(epoch from '2026-06-05 02:19:16'::timestamp) - extract(epoch from '2026-06-05 02:19: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'), 46721, 'SRID=4674;POINT (-40.385183 -2.790819)', '2026-06-05 02:19:24', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385044 -2.790895)'), GeomFromEWKT('SRID=4674;POINT (-40.385183 -2.790819)'))) / (select extract(epoch from '2026-06-05 02:19:24'::timestamp) - extract(epoch from '2026-06-05 02:19:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385044 -2.790895)'), GeomFromEWKT('SRID=4674;POINT (-40.385183 -2.790819)'))) / (select extract(epoch from '2026-06-05 02:19:24'::timestamp) - extract(epoch from '2026-06-05 02:19: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'), 46721, 'SRID=4674;POINT (-40.385306 -2.790759)', '2026-06-05 02:19:31', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385183 -2.790819)'), GeomFromEWKT('SRID=4674;POINT (-40.385306 -2.790759)'))) / (select extract(epoch from '2026-06-05 02:19:31'::timestamp) - extract(epoch from '2026-06-05 02:19:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385183 -2.790819)'), GeomFromEWKT('SRID=4674;POINT (-40.385306 -2.790759)'))) / (select extract(epoch from '2026-06-05 02:19:31'::timestamp) - extract(epoch from '2026-06-05 02:19:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.385488 -2.790668)', '2026-06-05 02:19:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385306 -2.790759)'), GeomFromEWKT('SRID=4674;POINT (-40.385488 -2.790668)'))) / (select extract(epoch from '2026-06-05 02:19:41'::timestamp) - extract(epoch from '2026-06-05 02:19:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385306 -2.790759)'), GeomFromEWKT('SRID=4674;POINT (-40.385488 -2.790668)'))) / (select extract(epoch from '2026-06-05 02:19:41'::timestamp) - extract(epoch from '2026-06-05 02:19: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'), 46721, 'SRID=4674;POINT (-40.385649 -2.790594)', '2026-06-05 02:19:50', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385488 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.385649 -2.790594)'))) / (select extract(epoch from '2026-06-05 02:19:50'::timestamp) - extract(epoch from '2026-06-05 02:19:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385488 -2.790668)'), GeomFromEWKT('SRID=4674;POINT (-40.385649 -2.790594)'))) / (select extract(epoch from '2026-06-05 02:19:50'::timestamp) - extract(epoch from '2026-06-05 02:19: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'), 46721, 'SRID=4674;POINT (-40.385753 -2.790543)', '2026-06-05 02:19:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385649 -2.790594)'), GeomFromEWKT('SRID=4674;POINT (-40.385753 -2.790543)'))) / (select extract(epoch from '2026-06-05 02:19:56'::timestamp) - extract(epoch from '2026-06-05 02:19:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385649 -2.790594)'), GeomFromEWKT('SRID=4674;POINT (-40.385753 -2.790543)'))) / (select extract(epoch from '2026-06-05 02:19:56'::timestamp) - extract(epoch from '2026-06-05 02:19:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.385893 -2.790462)', '2026-06-05 02:20:04', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385753 -2.790543)'), GeomFromEWKT('SRID=4674;POINT (-40.385893 -2.790462)'))) / (select extract(epoch from '2026-06-05 02:20:04'::timestamp) - extract(epoch from '2026-06-05 02:19:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385753 -2.790543)'), GeomFromEWKT('SRID=4674;POINT (-40.385893 -2.790462)'))) / (select extract(epoch from '2026-06-05 02:20:04'::timestamp) - extract(epoch from '2026-06-05 02:19: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'), 46721, 'SRID=4674;POINT (-40.386023 -2.790381)', '2026-06-05 02:20:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385893 -2.790462)'), GeomFromEWKT('SRID=4674;POINT (-40.386023 -2.790381)'))) / (select extract(epoch from '2026-06-05 02:20:12'::timestamp) - extract(epoch from '2026-06-05 02:20:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.385893 -2.790462)'), GeomFromEWKT('SRID=4674;POINT (-40.386023 -2.790381)'))) / (select extract(epoch from '2026-06-05 02:20:12'::timestamp) - extract(epoch from '2026-06-05 02:20: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'), 46721, 'SRID=4674;POINT (-40.386148 -2.790296)', '2026-06-05 02:20:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386023 -2.790381)'), GeomFromEWKT('SRID=4674;POINT (-40.386148 -2.790296)'))) / (select extract(epoch from '2026-06-05 02:20:20'::timestamp) - extract(epoch from '2026-06-05 02:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386023 -2.790381)'), GeomFromEWKT('SRID=4674;POINT (-40.386148 -2.790296)'))) / (select extract(epoch from '2026-06-05 02:20:20'::timestamp) - extract(epoch from '2026-06-05 02:20: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'), 46721, 'SRID=4674;POINT (-40.386285 -2.790221)', '2026-06-05 02:20:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386148 -2.790296)'), GeomFromEWKT('SRID=4674;POINT (-40.386285 -2.790221)'))) / (select extract(epoch from '2026-06-05 02:20:28'::timestamp) - extract(epoch from '2026-06-05 02:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386148 -2.790296)'), GeomFromEWKT('SRID=4674;POINT (-40.386285 -2.790221)'))) / (select extract(epoch from '2026-06-05 02:20:28'::timestamp) - extract(epoch from '2026-06-05 02:20: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'), 46721, 'SRID=4674;POINT (-40.386432 -2.790154)', '2026-06-05 02:20:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386285 -2.790221)'), GeomFromEWKT('SRID=4674;POINT (-40.386432 -2.790154)'))) / (select extract(epoch from '2026-06-05 02:20:36'::timestamp) - extract(epoch from '2026-06-05 02:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386285 -2.790221)'), GeomFromEWKT('SRID=4674;POINT (-40.386432 -2.790154)'))) / (select extract(epoch from '2026-06-05 02:20:36'::timestamp) - extract(epoch from '2026-06-05 02:20: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'), 46721, 'SRID=4674;POINT (-40.386555 -2.79009)', '2026-06-05 02:20:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386432 -2.790154)'), GeomFromEWKT('SRID=4674;POINT (-40.386555 -2.79009)'))) / (select extract(epoch from '2026-06-05 02:20:43'::timestamp) - extract(epoch from '2026-06-05 02:20:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386432 -2.790154)'), GeomFromEWKT('SRID=4674;POINT (-40.386555 -2.79009)'))) / (select extract(epoch from '2026-06-05 02:20:43'::timestamp) - extract(epoch from '2026-06-05 02:20: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'), 46721, 'SRID=4674;POINT (-40.386684 -2.789998)', '2026-06-05 02:20:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386555 -2.79009)'), GeomFromEWKT('SRID=4674;POINT (-40.386684 -2.789998)'))) / (select extract(epoch from '2026-06-05 02:20:51'::timestamp) - extract(epoch from '2026-06-05 02:20:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386555 -2.79009)'), GeomFromEWKT('SRID=4674;POINT (-40.386684 -2.789998)'))) / (select extract(epoch from '2026-06-05 02:20:51'::timestamp) - extract(epoch from '2026-06-05 02:20:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.386784 -2.789908)', '2026-06-05 02:20:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386684 -2.789998)'), GeomFromEWKT('SRID=4674;POINT (-40.386784 -2.789908)'))) / (select extract(epoch from '2026-06-05 02:20:58'::timestamp) - extract(epoch from '2026-06-05 02:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386684 -2.789998)'), GeomFromEWKT('SRID=4674;POINT (-40.386784 -2.789908)'))) / (select extract(epoch from '2026-06-05 02:20:58'::timestamp) - extract(epoch from '2026-06-05 02:20: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'), 46721, 'SRID=4674;POINT (-40.38687 -2.789833)', '2026-06-05 02:21:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386784 -2.789908)'), GeomFromEWKT('SRID=4674;POINT (-40.38687 -2.789833)'))) / (select extract(epoch from '2026-06-05 02:21:04'::timestamp) - extract(epoch from '2026-06-05 02:20:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386784 -2.789908)'), GeomFromEWKT('SRID=4674;POINT (-40.38687 -2.789833)'))) / (select extract(epoch from '2026-06-05 02:21:04'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.386986 -2.789754)', '2026-06-05 02:21:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38687 -2.789833)'), GeomFromEWKT('SRID=4674;POINT (-40.386986 -2.789754)'))) / (select extract(epoch from '2026-06-05 02:21:11'::timestamp) - extract(epoch from '2026-06-05 02:21:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38687 -2.789833)'), GeomFromEWKT('SRID=4674;POINT (-40.386986 -2.789754)'))) / (select extract(epoch from '2026-06-05 02:21:11'::timestamp) - extract(epoch from '2026-06-05 02:21: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'), 46721, 'SRID=4674;POINT (-40.387102 -2.789681)', '2026-06-05 02:21:18', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386986 -2.789754)'), GeomFromEWKT('SRID=4674;POINT (-40.387102 -2.789681)'))) / (select extract(epoch from '2026-06-05 02:21:18'::timestamp) - extract(epoch from '2026-06-05 02:21:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.386986 -2.789754)'), GeomFromEWKT('SRID=4674;POINT (-40.387102 -2.789681)'))) / (select extract(epoch from '2026-06-05 02:21:18'::timestamp) - extract(epoch from '2026-06-05 02:21: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'), 46721, 'SRID=4674;POINT (-40.387236 -2.7896)', '2026-06-05 02:21:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387102 -2.789681)'), GeomFromEWKT('SRID=4674;POINT (-40.387236 -2.7896)'))) / (select extract(epoch from '2026-06-05 02:21:26'::timestamp) - extract(epoch from '2026-06-05 02:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387102 -2.789681)'), GeomFromEWKT('SRID=4674;POINT (-40.387236 -2.7896)'))) / (select extract(epoch from '2026-06-05 02:21:26'::timestamp) - extract(epoch from '2026-06-05 02:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.387406 -2.789493)', '2026-06-05 02:21:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387236 -2.7896)'), GeomFromEWKT('SRID=4674;POINT (-40.387406 -2.789493)'))) / (select extract(epoch from '2026-06-05 02:21:36'::timestamp) - extract(epoch from '2026-06-05 02:21:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387236 -2.7896)'), GeomFromEWKT('SRID=4674;POINT (-40.387406 -2.789493)'))) / (select extract(epoch from '2026-06-05 02:21:36'::timestamp) - extract(epoch from '2026-06-05 02:21:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.38753 -2.78942)', '2026-06-05 02:21:43', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387406 -2.789493)'), GeomFromEWKT('SRID=4674;POINT (-40.38753 -2.78942)'))) / (select extract(epoch from '2026-06-05 02:21:43'::timestamp) - extract(epoch from '2026-06-05 02:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387406 -2.789493)'), GeomFromEWKT('SRID=4674;POINT (-40.38753 -2.78942)'))) / (select extract(epoch from '2026-06-05 02:21:43'::timestamp) - extract(epoch from '2026-06-05 02:21: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'), 46721, 'SRID=4674;POINT (-40.387668 -2.789332)', '2026-06-05 02:21:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38753 -2.78942)'), GeomFromEWKT('SRID=4674;POINT (-40.387668 -2.789332)'))) / (select extract(epoch from '2026-06-05 02:21:51'::timestamp) - extract(epoch from '2026-06-05 02:21:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38753 -2.78942)'), GeomFromEWKT('SRID=4674;POINT (-40.387668 -2.789332)'))) / (select extract(epoch from '2026-06-05 02:21:51'::timestamp) - extract(epoch from '2026-06-05 02:21:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.387787 -2.789236)', '2026-06-05 02:21:59', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387668 -2.789332)'), GeomFromEWKT('SRID=4674;POINT (-40.387787 -2.789236)'))) / (select extract(epoch from '2026-06-05 02:21:59'::timestamp) - extract(epoch from '2026-06-05 02:21:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387668 -2.789332)'), GeomFromEWKT('SRID=4674;POINT (-40.387787 -2.789236)'))) / (select extract(epoch from '2026-06-05 02:21:59'::timestamp) - extract(epoch from '2026-06-05 02:21: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'), 46721, 'SRID=4674;POINT (-40.387885 -2.789139)', '2026-06-05 02:22:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387787 -2.789236)'), GeomFromEWKT('SRID=4674;POINT (-40.387885 -2.789139)'))) / (select extract(epoch from '2026-06-05 02:22:06'::timestamp) - extract(epoch from '2026-06-05 02:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387787 -2.789236)'), GeomFromEWKT('SRID=4674;POINT (-40.387885 -2.789139)'))) / (select extract(epoch from '2026-06-05 02:22:06'::timestamp) - extract(epoch from '2026-06-05 02:21: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'), 46721, 'SRID=4674;POINT (-40.388001 -2.789034)', '2026-06-05 02:22:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387885 -2.789139)'), GeomFromEWKT('SRID=4674;POINT (-40.388001 -2.789034)'))) / (select extract(epoch from '2026-06-05 02:22:14'::timestamp) - extract(epoch from '2026-06-05 02:22:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.387885 -2.789139)'), GeomFromEWKT('SRID=4674;POINT (-40.388001 -2.789034)'))) / (select extract(epoch from '2026-06-05 02:22:14'::timestamp) - extract(epoch from '2026-06-05 02:22:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.388109 -2.788945)', '2026-06-05 02:22:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388001 -2.789034)'), GeomFromEWKT('SRID=4674;POINT (-40.388109 -2.788945)'))) / (select extract(epoch from '2026-06-05 02:22:21'::timestamp) - extract(epoch from '2026-06-05 02:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388001 -2.789034)'), GeomFromEWKT('SRID=4674;POINT (-40.388109 -2.788945)'))) / (select extract(epoch from '2026-06-05 02:22:21'::timestamp) - extract(epoch from '2026-06-05 02:22:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.388204 -2.788865)', '2026-06-05 02:22:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388109 -2.788945)'), GeomFromEWKT('SRID=4674;POINT (-40.388204 -2.788865)'))) / (select extract(epoch from '2026-06-05 02:22:27'::timestamp) - extract(epoch from '2026-06-05 02:22:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388109 -2.788945)'), GeomFromEWKT('SRID=4674;POINT (-40.388204 -2.788865)'))) / (select extract(epoch from '2026-06-05 02:22:27'::timestamp) - extract(epoch from '2026-06-05 02:22:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.388314 -2.78878)', '2026-06-05 02:22:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388204 -2.788865)'), GeomFromEWKT('SRID=4674;POINT (-40.388314 -2.78878)'))) / (select extract(epoch from '2026-06-05 02:22:34'::timestamp) - extract(epoch from '2026-06-05 02:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388204 -2.788865)'), GeomFromEWKT('SRID=4674;POINT (-40.388314 -2.78878)'))) / (select extract(epoch from '2026-06-05 02:22:34'::timestamp) - extract(epoch from '2026-06-05 02:22:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.388427 -2.788696)', '2026-06-05 02:22:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388314 -2.78878)'), GeomFromEWKT('SRID=4674;POINT (-40.388427 -2.788696)'))) / (select extract(epoch from '2026-06-05 02:22:41'::timestamp) - extract(epoch from '2026-06-05 02:22:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388314 -2.78878)'), GeomFromEWKT('SRID=4674;POINT (-40.388427 -2.788696)'))) / (select extract(epoch from '2026-06-05 02:22:41'::timestamp) - extract(epoch from '2026-06-05 02:22:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.388542 -2.788628)', '2026-06-05 02:22:48', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388427 -2.788696)'), GeomFromEWKT('SRID=4674;POINT (-40.388542 -2.788628)'))) / (select extract(epoch from '2026-06-05 02:22:48'::timestamp) - extract(epoch from '2026-06-05 02:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388427 -2.788696)'), GeomFromEWKT('SRID=4674;POINT (-40.388542 -2.788628)'))) / (select extract(epoch from '2026-06-05 02:22:48'::timestamp) - extract(epoch from '2026-06-05 02:22: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'), 46721, 'SRID=4674;POINT (-40.388679 -2.788566)', '2026-06-05 02:22:56', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388542 -2.788628)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.788566)'))) / (select extract(epoch from '2026-06-05 02:22:56'::timestamp) - extract(epoch from '2026-06-05 02:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388542 -2.788628)'), GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.788566)'))) / (select extract(epoch from '2026-06-05 02:22:56'::timestamp) - extract(epoch from '2026-06-05 02:22:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.388819 -2.788507)', '2026-06-05 02:23:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.788566)'), GeomFromEWKT('SRID=4674;POINT (-40.388819 -2.788507)'))) / (select extract(epoch from '2026-06-05 02:23:04'::timestamp) - extract(epoch from '2026-06-05 02:22:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388679 -2.788566)'), GeomFromEWKT('SRID=4674;POINT (-40.388819 -2.788507)'))) / (select extract(epoch from '2026-06-05 02:23:04'::timestamp) - extract(epoch from '2026-06-05 02:22:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.388959 -2.788423)', '2026-06-05 02:23:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388819 -2.788507)'), GeomFromEWKT('SRID=4674;POINT (-40.388959 -2.788423)'))) / (select extract(epoch from '2026-06-05 02:23:12'::timestamp) - extract(epoch from '2026-06-05 02:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388819 -2.788507)'), GeomFromEWKT('SRID=4674;POINT (-40.388959 -2.788423)'))) / (select extract(epoch from '2026-06-05 02:23:12'::timestamp) - extract(epoch from '2026-06-05 02:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.38911 -2.788323)', '2026-06-05 02:23:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388959 -2.788423)'), GeomFromEWKT('SRID=4674;POINT (-40.38911 -2.788323)'))) / (select extract(epoch from '2026-06-05 02:23:21'::timestamp) - extract(epoch from '2026-06-05 02:23:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.388959 -2.788423)'), GeomFromEWKT('SRID=4674;POINT (-40.38911 -2.788323)'))) / (select extract(epoch from '2026-06-05 02:23:21'::timestamp) - extract(epoch from '2026-06-05 02:23: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'), 46721, 'SRID=4674;POINT (-40.389233 -2.788255)', '2026-06-05 02:23:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38911 -2.788323)'), GeomFromEWKT('SRID=4674;POINT (-40.389233 -2.788255)'))) / (select extract(epoch from '2026-06-05 02:23:28'::timestamp) - extract(epoch from '2026-06-05 02:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.38911 -2.788323)'), GeomFromEWKT('SRID=4674;POINT (-40.389233 -2.788255)'))) / (select extract(epoch from '2026-06-05 02:23:28'::timestamp) - extract(epoch from '2026-06-05 02:23: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'), 46721, 'SRID=4674;POINT (-40.389346 -2.788211)', '2026-06-05 02:23:34', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389233 -2.788255)'), GeomFromEWKT('SRID=4674;POINT (-40.389346 -2.788211)'))) / (select extract(epoch from '2026-06-05 02:23:34'::timestamp) - extract(epoch from '2026-06-05 02:23:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389233 -2.788255)'), GeomFromEWKT('SRID=4674;POINT (-40.389346 -2.788211)'))) / (select extract(epoch from '2026-06-05 02:23:34'::timestamp) - extract(epoch from '2026-06-05 02:23:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.389489 -2.788138)', '2026-06-05 02:23:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389346 -2.788211)'), GeomFromEWKT('SRID=4674;POINT (-40.389489 -2.788138)'))) / (select extract(epoch from '2026-06-05 02:23:42'::timestamp) - extract(epoch from '2026-06-05 02:23:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389346 -2.788211)'), GeomFromEWKT('SRID=4674;POINT (-40.389489 -2.788138)'))) / (select extract(epoch from '2026-06-05 02:23:42'::timestamp) - extract(epoch from '2026-06-05 02:23:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.389602 -2.788067)', '2026-06-05 02:23:49', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389489 -2.788138)'), GeomFromEWKT('SRID=4674;POINT (-40.389602 -2.788067)'))) / (select extract(epoch from '2026-06-05 02:23:49'::timestamp) - extract(epoch from '2026-06-05 02:23:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389489 -2.788138)'), GeomFromEWKT('SRID=4674;POINT (-40.389602 -2.788067)'))) / (select extract(epoch from '2026-06-05 02:23:49'::timestamp) - extract(epoch from '2026-06-05 02:23:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.389712 -2.787982)', '2026-06-05 02:23:56', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389602 -2.788067)'), GeomFromEWKT('SRID=4674;POINT (-40.389712 -2.787982)'))) / (select extract(epoch from '2026-06-05 02:23:56'::timestamp) - extract(epoch from '2026-06-05 02:23:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389602 -2.788067)'), GeomFromEWKT('SRID=4674;POINT (-40.389712 -2.787982)'))) / (select extract(epoch from '2026-06-05 02:23:56'::timestamp) - extract(epoch from '2026-06-05 02:23: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'), 46721, 'SRID=4674;POINT (-40.389841 -2.787877)', '2026-06-05 02:24:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389712 -2.787982)'), GeomFromEWKT('SRID=4674;POINT (-40.389841 -2.787877)'))) / (select extract(epoch from '2026-06-05 02:24:04'::timestamp) - extract(epoch from '2026-06-05 02:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389712 -2.787982)'), GeomFromEWKT('SRID=4674;POINT (-40.389841 -2.787877)'))) / (select extract(epoch from '2026-06-05 02:24:04'::timestamp) - extract(epoch from '2026-06-05 02:23: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'), 46721, 'SRID=4674;POINT (-40.389979 -2.787795)', '2026-06-05 02:24:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389841 -2.787877)'), GeomFromEWKT('SRID=4674;POINT (-40.389979 -2.787795)'))) / (select extract(epoch from '2026-06-05 02:24:12'::timestamp) - extract(epoch from '2026-06-05 02:24:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389841 -2.787877)'), GeomFromEWKT('SRID=4674;POINT (-40.389979 -2.787795)'))) / (select extract(epoch from '2026-06-05 02:24:12'::timestamp) - extract(epoch from '2026-06-05 02:24:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.390084 -2.787744)', '2026-06-05 02:24:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389979 -2.787795)'), GeomFromEWKT('SRID=4674;POINT (-40.390084 -2.787744)'))) / (select extract(epoch from '2026-06-05 02:24:18'::timestamp) - extract(epoch from '2026-06-05 02:24:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.389979 -2.787795)'), GeomFromEWKT('SRID=4674;POINT (-40.390084 -2.787744)'))) / (select extract(epoch from '2026-06-05 02:24:18'::timestamp) - extract(epoch from '2026-06-05 02:24: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'), 46721, 'SRID=4674;POINT (-40.390225 -2.787672)', '2026-06-05 02:24:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390084 -2.787744)'), GeomFromEWKT('SRID=4674;POINT (-40.390225 -2.787672)'))) / (select extract(epoch from '2026-06-05 02:24:26'::timestamp) - extract(epoch from '2026-06-05 02:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390084 -2.787744)'), GeomFromEWKT('SRID=4674;POINT (-40.390225 -2.787672)'))) / (select extract(epoch from '2026-06-05 02:24:26'::timestamp) - extract(epoch from '2026-06-05 02:24: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'), 46721, 'SRID=4674;POINT (-40.390344 -2.787593)', '2026-06-05 02:24:33', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390225 -2.787672)'), GeomFromEWKT('SRID=4674;POINT (-40.390344 -2.787593)'))) / (select extract(epoch from '2026-06-05 02:24:33'::timestamp) - extract(epoch from '2026-06-05 02:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390225 -2.787672)'), GeomFromEWKT('SRID=4674;POINT (-40.390344 -2.787593)'))) / (select extract(epoch from '2026-06-05 02:24:33'::timestamp) - extract(epoch from '2026-06-05 02:24:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.390424 -2.787533)', '2026-06-05 02:24:38', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390344 -2.787593)'), GeomFromEWKT('SRID=4674;POINT (-40.390424 -2.787533)'))) / (select extract(epoch from '2026-06-05 02:24:38'::timestamp) - extract(epoch from '2026-06-05 02:24:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390344 -2.787593)'), GeomFromEWKT('SRID=4674;POINT (-40.390424 -2.787533)'))) / (select extract(epoch from '2026-06-05 02:24:38'::timestamp) - extract(epoch from '2026-06-05 02:24:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.390493 -2.787466)', '2026-06-05 02:24:43', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390424 -2.787533)'), GeomFromEWKT('SRID=4674;POINT (-40.390493 -2.787466)'))) / (select extract(epoch from '2026-06-05 02:24:43'::timestamp) - extract(epoch from '2026-06-05 02:24:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390424 -2.787533)'), GeomFromEWKT('SRID=4674;POINT (-40.390493 -2.787466)'))) / (select extract(epoch from '2026-06-05 02:24:43'::timestamp) - extract(epoch from '2026-06-05 02:24: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'), 46721, 'SRID=4674;POINT (-40.390616 -2.787345)', '2026-06-05 02:24:52', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390493 -2.787466)'), GeomFromEWKT('SRID=4674;POINT (-40.390616 -2.787345)'))) / (select extract(epoch from '2026-06-05 02:24:52'::timestamp) - extract(epoch from '2026-06-05 02:24:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390493 -2.787466)'), GeomFromEWKT('SRID=4674;POINT (-40.390616 -2.787345)'))) / (select extract(epoch from '2026-06-05 02:24:52'::timestamp) - extract(epoch from '2026-06-05 02:24: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'), 46721, 'SRID=4674;POINT (-40.390717 -2.787267)', '2026-06-05 02:24:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390616 -2.787345)'), GeomFromEWKT('SRID=4674;POINT (-40.390717 -2.787267)'))) / (select extract(epoch from '2026-06-05 02:24:58'::timestamp) - extract(epoch from '2026-06-05 02:24:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390616 -2.787345)'), GeomFromEWKT('SRID=4674;POINT (-40.390717 -2.787267)'))) / (select extract(epoch from '2026-06-05 02:24:58'::timestamp) - extract(epoch from '2026-06-05 02:24: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'), 46721, 'SRID=4674;POINT (-40.39083 -2.787171)', '2026-06-05 02:25:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390717 -2.787267)'), GeomFromEWKT('SRID=4674;POINT (-40.39083 -2.787171)'))) / (select extract(epoch from '2026-06-05 02:25:05'::timestamp) - extract(epoch from '2026-06-05 02:24:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390717 -2.787267)'), GeomFromEWKT('SRID=4674;POINT (-40.39083 -2.787171)'))) / (select extract(epoch from '2026-06-05 02:25:05'::timestamp) - extract(epoch from '2026-06-05 02:24:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.390945 -2.787086)', '2026-06-05 02:25:12', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39083 -2.787171)'), GeomFromEWKT('SRID=4674;POINT (-40.390945 -2.787086)'))) / (select extract(epoch from '2026-06-05 02:25:12'::timestamp) - extract(epoch from '2026-06-05 02:25:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39083 -2.787171)'), GeomFromEWKT('SRID=4674;POINT (-40.390945 -2.787086)'))) / (select extract(epoch from '2026-06-05 02:25:12'::timestamp) - extract(epoch from '2026-06-05 02:25: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'), 46721, 'SRID=4674;POINT (-40.391063 -2.787025)', '2026-06-05 02:25:19', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390945 -2.787086)'), GeomFromEWKT('SRID=4674;POINT (-40.391063 -2.787025)'))) / (select extract(epoch from '2026-06-05 02:25:19'::timestamp) - extract(epoch from '2026-06-05 02:25:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.390945 -2.787086)'), GeomFromEWKT('SRID=4674;POINT (-40.391063 -2.787025)'))) / (select extract(epoch from '2026-06-05 02:25:19'::timestamp) - extract(epoch from '2026-06-05 02:25:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.391225 -2.786951)', '2026-06-05 02:25:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391063 -2.787025)'), GeomFromEWKT('SRID=4674;POINT (-40.391225 -2.786951)'))) / (select extract(epoch from '2026-06-05 02:25:28'::timestamp) - extract(epoch from '2026-06-05 02:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391063 -2.787025)'), GeomFromEWKT('SRID=4674;POINT (-40.391225 -2.786951)'))) / (select extract(epoch from '2026-06-05 02:25:28'::timestamp) - extract(epoch from '2026-06-05 02:25: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'), 46721, 'SRID=4674;POINT (-40.391335 -2.786899)', '2026-06-05 02:25:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391225 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.391335 -2.786899)'))) / (select extract(epoch from '2026-06-05 02:25:34'::timestamp) - extract(epoch from '2026-06-05 02:25:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391225 -2.786951)'), GeomFromEWKT('SRID=4674;POINT (-40.391335 -2.786899)'))) / (select extract(epoch from '2026-06-05 02:25:34'::timestamp) - extract(epoch from '2026-06-05 02:25:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.391453 -2.786826)', '2026-06-05 02:25:41', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391335 -2.786899)'), GeomFromEWKT('SRID=4674;POINT (-40.391453 -2.786826)'))) / (select extract(epoch from '2026-06-05 02:25:41'::timestamp) - extract(epoch from '2026-06-05 02:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391335 -2.786899)'), GeomFromEWKT('SRID=4674;POINT (-40.391453 -2.786826)'))) / (select extract(epoch from '2026-06-05 02:25:41'::timestamp) - extract(epoch from '2026-06-05 02:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.391607 -2.786734)', '2026-06-05 02:25:50', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391453 -2.786826)'), GeomFromEWKT('SRID=4674;POINT (-40.391607 -2.786734)'))) / (select extract(epoch from '2026-06-05 02:25:50'::timestamp) - extract(epoch from '2026-06-05 02:25:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391453 -2.786826)'), GeomFromEWKT('SRID=4674;POINT (-40.391607 -2.786734)'))) / (select extract(epoch from '2026-06-05 02:25:50'::timestamp) - extract(epoch from '2026-06-05 02:25:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.391765 -2.786657)', '2026-06-05 02:25:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391607 -2.786734)'), GeomFromEWKT('SRID=4674;POINT (-40.391765 -2.786657)'))) / (select extract(epoch from '2026-06-05 02:25:59'::timestamp) - extract(epoch from '2026-06-05 02:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391607 -2.786734)'), GeomFromEWKT('SRID=4674;POINT (-40.391765 -2.786657)'))) / (select extract(epoch from '2026-06-05 02:25:59'::timestamp) - extract(epoch from '2026-06-05 02:25: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'), 46721, 'SRID=4674;POINT (-40.391886 -2.786581)', '2026-06-05 02:26:07', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391765 -2.786657)'), GeomFromEWKT('SRID=4674;POINT (-40.391886 -2.786581)'))) / (select extract(epoch from '2026-06-05 02:26:07'::timestamp) - extract(epoch from '2026-06-05 02:25:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391765 -2.786657)'), GeomFromEWKT('SRID=4674;POINT (-40.391886 -2.786581)'))) / (select extract(epoch from '2026-06-05 02:26:07'::timestamp) - extract(epoch from '2026-06-05 02:25:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.392018 -2.78647)', '2026-06-05 02:26:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391886 -2.786581)'), GeomFromEWKT('SRID=4674;POINT (-40.392018 -2.78647)'))) / (select extract(epoch from '2026-06-05 02:26:16'::timestamp) - extract(epoch from '2026-06-05 02:26:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.391886 -2.786581)'), GeomFromEWKT('SRID=4674;POINT (-40.392018 -2.78647)'))) / (select extract(epoch from '2026-06-05 02:26:16'::timestamp) - extract(epoch from '2026-06-05 02:26: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'), 46721, 'SRID=4674;POINT (-40.392122 -2.786383)', '2026-06-05 02:26:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392018 -2.78647)'), GeomFromEWKT('SRID=4674;POINT (-40.392122 -2.786383)'))) / (select extract(epoch from '2026-06-05 02:26:23'::timestamp) - extract(epoch from '2026-06-05 02:26:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392018 -2.78647)'), GeomFromEWKT('SRID=4674;POINT (-40.392122 -2.786383)'))) / (select extract(epoch from '2026-06-05 02:26:23'::timestamp) - extract(epoch from '2026-06-05 02:26:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.392237 -2.786305)', '2026-06-05 02:26:30', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392122 -2.786383)'), GeomFromEWKT('SRID=4674;POINT (-40.392237 -2.786305)'))) / (select extract(epoch from '2026-06-05 02:26:30'::timestamp) - extract(epoch from '2026-06-05 02:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392122 -2.786383)'), GeomFromEWKT('SRID=4674;POINT (-40.392237 -2.786305)'))) / (select extract(epoch from '2026-06-05 02:26:30'::timestamp) - extract(epoch from '2026-06-05 02:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.392357 -2.786227)', '2026-06-05 02:26:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392237 -2.786305)'), GeomFromEWKT('SRID=4674;POINT (-40.392357 -2.786227)'))) / (select extract(epoch from '2026-06-05 02:26:37'::timestamp) - extract(epoch from '2026-06-05 02:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392237 -2.786305)'), GeomFromEWKT('SRID=4674;POINT (-40.392357 -2.786227)'))) / (select extract(epoch from '2026-06-05 02:26:37'::timestamp) - extract(epoch from '2026-06-05 02:26:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.392518 -2.786104)', '2026-06-05 02:26:47', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392357 -2.786227)'), GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.786104)'))) / (select extract(epoch from '2026-06-05 02:26:47'::timestamp) - extract(epoch from '2026-06-05 02:26:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392357 -2.786227)'), GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.786104)'))) / (select extract(epoch from '2026-06-05 02:26:47'::timestamp) - extract(epoch from '2026-06-05 02:26: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'), 46721, 'SRID=4674;POINT (-40.392617 -2.786033)', '2026-06-05 02:26:53', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.786104)'), GeomFromEWKT('SRID=4674;POINT (-40.392617 -2.786033)'))) / (select extract(epoch from '2026-06-05 02:26:53'::timestamp) - extract(epoch from '2026-06-05 02:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392518 -2.786104)'), GeomFromEWKT('SRID=4674;POINT (-40.392617 -2.786033)'))) / (select extract(epoch from '2026-06-05 02:26:53'::timestamp) - extract(epoch from '2026-06-05 02:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.392724 -2.785949)', '2026-06-05 02:27:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392617 -2.786033)'), GeomFromEWKT('SRID=4674;POINT (-40.392724 -2.785949)'))) / (select extract(epoch from '2026-06-05 02:27:00'::timestamp) - extract(epoch from '2026-06-05 02:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392617 -2.786033)'), GeomFromEWKT('SRID=4674;POINT (-40.392724 -2.785949)'))) / (select extract(epoch from '2026-06-05 02:27:00'::timestamp) - extract(epoch from '2026-06-05 02:26: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'), 46721, 'SRID=4674;POINT (-40.392837 -2.78586)', '2026-06-05 02:27:07', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392724 -2.785949)'), GeomFromEWKT('SRID=4674;POINT (-40.392837 -2.78586)'))) / (select extract(epoch from '2026-06-05 02:27:07'::timestamp) - extract(epoch from '2026-06-05 02:27:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392724 -2.785949)'), GeomFromEWKT('SRID=4674;POINT (-40.392837 -2.78586)'))) / (select extract(epoch from '2026-06-05 02:27:07'::timestamp) - extract(epoch from '2026-06-05 02:27: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'), 46721, 'SRID=4674;POINT (-40.393006 -2.785757)', '2026-06-05 02:27:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392837 -2.78586)'), GeomFromEWKT('SRID=4674;POINT (-40.393006 -2.785757)'))) / (select extract(epoch from '2026-06-05 02:27:17'::timestamp) - extract(epoch from '2026-06-05 02:27:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.392837 -2.78586)'), GeomFromEWKT('SRID=4674;POINT (-40.393006 -2.785757)'))) / (select extract(epoch from '2026-06-05 02:27:17'::timestamp) - extract(epoch from '2026-06-05 02:27: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'), 46721, 'SRID=4674;POINT (-40.393122 -2.785696)', '2026-06-05 02:27:24', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393006 -2.785757)'), GeomFromEWKT('SRID=4674;POINT (-40.393122 -2.785696)'))) / (select extract(epoch from '2026-06-05 02:27:24'::timestamp) - extract(epoch from '2026-06-05 02:27:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393006 -2.785757)'), GeomFromEWKT('SRID=4674;POINT (-40.393122 -2.785696)'))) / (select extract(epoch from '2026-06-05 02:27:24'::timestamp) - extract(epoch from '2026-06-05 02:27: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'), 46721, 'SRID=4674;POINT (-40.393227 -2.78564)', '2026-06-05 02:27:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393122 -2.785696)'), GeomFromEWKT('SRID=4674;POINT (-40.393227 -2.78564)'))) / (select extract(epoch from '2026-06-05 02:27:30'::timestamp) - extract(epoch from '2026-06-05 02:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393122 -2.785696)'), GeomFromEWKT('SRID=4674;POINT (-40.393227 -2.78564)'))) / (select extract(epoch from '2026-06-05 02:27:30'::timestamp) - extract(epoch from '2026-06-05 02:27:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.393333 -2.785582)', '2026-06-05 02:27:36', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393227 -2.78564)'), GeomFromEWKT('SRID=4674;POINT (-40.393333 -2.785582)'))) / (select extract(epoch from '2026-06-05 02:27:36'::timestamp) - extract(epoch from '2026-06-05 02:27:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393227 -2.78564)'), GeomFromEWKT('SRID=4674;POINT (-40.393333 -2.785582)'))) / (select extract(epoch from '2026-06-05 02:27:36'::timestamp) - extract(epoch from '2026-06-05 02:27: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'), 46721, 'SRID=4674;POINT (-40.393447 -2.785504)', '2026-06-05 02:27:43', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393333 -2.785582)'), GeomFromEWKT('SRID=4674;POINT (-40.393447 -2.785504)'))) / (select extract(epoch from '2026-06-05 02:27:43'::timestamp) - extract(epoch from '2026-06-05 02:27:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393333 -2.785582)'), GeomFromEWKT('SRID=4674;POINT (-40.393447 -2.785504)'))) / (select extract(epoch from '2026-06-05 02:27:43'::timestamp) - extract(epoch from '2026-06-05 02:27: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'), 46721, 'SRID=4674;POINT (-40.393604 -2.785376)', '2026-06-05 02:27:53', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393447 -2.785504)'), GeomFromEWKT('SRID=4674;POINT (-40.393604 -2.785376)'))) / (select extract(epoch from '2026-06-05 02:27:53'::timestamp) - extract(epoch from '2026-06-05 02:27:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393447 -2.785504)'), GeomFromEWKT('SRID=4674;POINT (-40.393604 -2.785376)'))) / (select extract(epoch from '2026-06-05 02:27:53'::timestamp) - extract(epoch from '2026-06-05 02:27: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'), 46721, 'SRID=4674;POINT (-40.393728 -2.785316)', '2026-06-05 02:28:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393604 -2.785376)'), GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.785316)'))) / (select extract(epoch from '2026-06-05 02:28:00'::timestamp) - extract(epoch from '2026-06-05 02:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393604 -2.785376)'), GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.785316)'))) / (select extract(epoch from '2026-06-05 02:28:00'::timestamp) - extract(epoch from '2026-06-05 02:27:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.39382 -2.785283)', '2026-06-05 02:28:05', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.785316)'), GeomFromEWKT('SRID=4674;POINT (-40.39382 -2.785283)'))) / (select extract(epoch from '2026-06-05 02:28:05'::timestamp) - extract(epoch from '2026-06-05 02:28:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393728 -2.785316)'), GeomFromEWKT('SRID=4674;POINT (-40.39382 -2.785283)'))) / (select extract(epoch from '2026-06-05 02:28:05'::timestamp) - extract(epoch from '2026-06-05 02:28:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.393948 -2.785194)', '2026-06-05 02:28:13', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39382 -2.785283)'), GeomFromEWKT('SRID=4674;POINT (-40.393948 -2.785194)'))) / (select extract(epoch from '2026-06-05 02:28:13'::timestamp) - extract(epoch from '2026-06-05 02:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39382 -2.785283)'), GeomFromEWKT('SRID=4674;POINT (-40.393948 -2.785194)'))) / (select extract(epoch from '2026-06-05 02:28:13'::timestamp) - extract(epoch from '2026-06-05 02:28: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'), 46721, 'SRID=4674;POINT (-40.394034 -2.785121)', '2026-06-05 02:28:19', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393948 -2.785194)'), GeomFromEWKT('SRID=4674;POINT (-40.394034 -2.785121)'))) / (select extract(epoch from '2026-06-05 02:28:19'::timestamp) - extract(epoch from '2026-06-05 02:28:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.393948 -2.785194)'), GeomFromEWKT('SRID=4674;POINT (-40.394034 -2.785121)'))) / (select extract(epoch from '2026-06-05 02:28:19'::timestamp) - extract(epoch from '2026-06-05 02:28: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'), 46721, 'SRID=4674;POINT (-40.394122 -2.78505)', '2026-06-05 02:28:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394034 -2.785121)'), GeomFromEWKT('SRID=4674;POINT (-40.394122 -2.78505)'))) / (select extract(epoch from '2026-06-05 02:28:25'::timestamp) - extract(epoch from '2026-06-05 02:28:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394034 -2.785121)'), GeomFromEWKT('SRID=4674;POINT (-40.394122 -2.78505)'))) / (select extract(epoch from '2026-06-05 02:28:25'::timestamp) - extract(epoch from '2026-06-05 02:28:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.39423 -2.784967)', '2026-06-05 02:28:32', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394122 -2.78505)'), GeomFromEWKT('SRID=4674;POINT (-40.39423 -2.784967)'))) / (select extract(epoch from '2026-06-05 02:28:32'::timestamp) - extract(epoch from '2026-06-05 02:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394122 -2.78505)'), GeomFromEWKT('SRID=4674;POINT (-40.39423 -2.784967)'))) / (select extract(epoch from '2026-06-05 02:28:32'::timestamp) - extract(epoch from '2026-06-05 02:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.394353 -2.784878)', '2026-06-05 02:28:40', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39423 -2.784967)'), GeomFromEWKT('SRID=4674;POINT (-40.394353 -2.784878)'))) / (select extract(epoch from '2026-06-05 02:28:40'::timestamp) - extract(epoch from '2026-06-05 02:28:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39423 -2.784967)'), GeomFromEWKT('SRID=4674;POINT (-40.394353 -2.784878)'))) / (select extract(epoch from '2026-06-05 02:28:40'::timestamp) - extract(epoch from '2026-06-05 02:28: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'), 46721, 'SRID=4674;POINT (-40.394477 -2.784804)', '2026-06-05 02:28:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394353 -2.784878)'), GeomFromEWKT('SRID=4674;POINT (-40.394477 -2.784804)'))) / (select extract(epoch from '2026-06-05 02:28:47'::timestamp) - extract(epoch from '2026-06-05 02:28:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394353 -2.784878)'), GeomFromEWKT('SRID=4674;POINT (-40.394477 -2.784804)'))) / (select extract(epoch from '2026-06-05 02:28:47'::timestamp) - extract(epoch from '2026-06-05 02:28:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.3946 -2.784739)', '2026-06-05 02:28:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394477 -2.784804)'), GeomFromEWKT('SRID=4674;POINT (-40.3946 -2.784739)'))) / (select extract(epoch from '2026-06-05 02:28:54'::timestamp) - extract(epoch from '2026-06-05 02:28:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394477 -2.784804)'), GeomFromEWKT('SRID=4674;POINT (-40.3946 -2.784739)'))) / (select extract(epoch from '2026-06-05 02:28:54'::timestamp) - extract(epoch from '2026-06-05 02:28:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.394722 -2.784676)', '2026-06-05 02:29:01', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3946 -2.784739)'), GeomFromEWKT('SRID=4674;POINT (-40.394722 -2.784676)'))) / (select extract(epoch from '2026-06-05 02:29:01'::timestamp) - extract(epoch from '2026-06-05 02:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3946 -2.784739)'), GeomFromEWKT('SRID=4674;POINT (-40.394722 -2.784676)'))) / (select extract(epoch from '2026-06-05 02:29:01'::timestamp) - extract(epoch from '2026-06-05 02:28: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'), 46721, 'SRID=4674;POINT (-40.394858 -2.784589)', '2026-06-05 02:29:09', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394722 -2.784676)'), GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.784589)'))) / (select extract(epoch from '2026-06-05 02:29:09'::timestamp) - extract(epoch from '2026-06-05 02:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394722 -2.784676)'), GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.784589)'))) / (select extract(epoch from '2026-06-05 02:29:09'::timestamp) - extract(epoch from '2026-06-05 02:29:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.394989 -2.784497)', '2026-06-05 02:29:17', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.784589)'), GeomFromEWKT('SRID=4674;POINT (-40.394989 -2.784497)'))) / (select extract(epoch from '2026-06-05 02:29:17'::timestamp) - extract(epoch from '2026-06-05 02:29:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394858 -2.784589)'), GeomFromEWKT('SRID=4674;POINT (-40.394989 -2.784497)'))) / (select extract(epoch from '2026-06-05 02:29:17'::timestamp) - extract(epoch from '2026-06-05 02:29: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'), 46721, 'SRID=4674;POINT (-40.395121 -2.784418)', '2026-06-05 02:29:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394989 -2.784497)'), GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.784418)'))) / (select extract(epoch from '2026-06-05 02:29:25'::timestamp) - extract(epoch from '2026-06-05 02:29:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.394989 -2.784497)'), GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.784418)'))) / (select extract(epoch from '2026-06-05 02:29:25'::timestamp) - extract(epoch from '2026-06-05 02:29:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.395275 -2.784362)', '2026-06-05 02:29:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.784418)'), GeomFromEWKT('SRID=4674;POINT (-40.395275 -2.784362)'))) / (select extract(epoch from '2026-06-05 02:29:33'::timestamp) - extract(epoch from '2026-06-05 02:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395121 -2.784418)'), GeomFromEWKT('SRID=4674;POINT (-40.395275 -2.784362)'))) / (select extract(epoch from '2026-06-05 02:29:33'::timestamp) - extract(epoch from '2026-06-05 02:29: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'), 46721, 'SRID=4674;POINT (-40.395397 -2.784322)', '2026-06-05 02:29:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395275 -2.784362)'), GeomFromEWKT('SRID=4674;POINT (-40.395397 -2.784322)'))) / (select extract(epoch from '2026-06-05 02:29:39'::timestamp) - extract(epoch from '2026-06-05 02:29:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395275 -2.784362)'), GeomFromEWKT('SRID=4674;POINT (-40.395397 -2.784322)'))) / (select extract(epoch from '2026-06-05 02:29:39'::timestamp) - extract(epoch from '2026-06-05 02:29: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'), 46721, 'SRID=4674;POINT (-40.395495 -2.784259)', '2026-06-05 02:29:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395397 -2.784322)'), GeomFromEWKT('SRID=4674;POINT (-40.395495 -2.784259)'))) / (select extract(epoch from '2026-06-05 02:29:45'::timestamp) - extract(epoch from '2026-06-05 02:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395397 -2.784322)'), GeomFromEWKT('SRID=4674;POINT (-40.395495 -2.784259)'))) / (select extract(epoch from '2026-06-05 02:29:45'::timestamp) - extract(epoch from '2026-06-05 02:29: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'), 46721, 'SRID=4674;POINT (-40.395598 -2.784171)', '2026-06-05 02:29:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395495 -2.784259)'), GeomFromEWKT('SRID=4674;POINT (-40.395598 -2.784171)'))) / (select extract(epoch from '2026-06-05 02:29:52'::timestamp) - extract(epoch from '2026-06-05 02:29:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395495 -2.784259)'), GeomFromEWKT('SRID=4674;POINT (-40.395598 -2.784171)'))) / (select extract(epoch from '2026-06-05 02:29:52'::timestamp) - extract(epoch from '2026-06-05 02:29: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'), 46721, 'SRID=4674;POINT (-40.395698 -2.784071)', '2026-06-05 02:29:59', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395598 -2.784171)'), GeomFromEWKT('SRID=4674;POINT (-40.395698 -2.784071)'))) / (select extract(epoch from '2026-06-05 02:29:59'::timestamp) - extract(epoch from '2026-06-05 02:29:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395598 -2.784171)'), GeomFromEWKT('SRID=4674;POINT (-40.395698 -2.784071)'))) / (select extract(epoch from '2026-06-05 02:29:59'::timestamp) - extract(epoch from '2026-06-05 02:29:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.39579 -2.783972)', '2026-06-05 02:30:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395698 -2.784071)'), GeomFromEWKT('SRID=4674;POINT (-40.39579 -2.783972)'))) / (select extract(epoch from '2026-06-05 02:30:06'::timestamp) - extract(epoch from '2026-06-05 02:29:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395698 -2.784071)'), GeomFromEWKT('SRID=4674;POINT (-40.39579 -2.783972)'))) / (select extract(epoch from '2026-06-05 02:30:06'::timestamp) - extract(epoch from '2026-06-05 02:29: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'), 46721, 'SRID=4674;POINT (-40.395874 -2.783897)', '2026-06-05 02:30:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39579 -2.783972)'), GeomFromEWKT('SRID=4674;POINT (-40.395874 -2.783897)'))) / (select extract(epoch from '2026-06-05 02:30:12'::timestamp) - extract(epoch from '2026-06-05 02:30:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39579 -2.783972)'), GeomFromEWKT('SRID=4674;POINT (-40.395874 -2.783897)'))) / (select extract(epoch from '2026-06-05 02:30:12'::timestamp) - extract(epoch from '2026-06-05 02:30: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'), 46721, 'SRID=4674;POINT (-40.395987 -2.78382)', '2026-06-05 02:30:19', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395874 -2.783897)'), GeomFromEWKT('SRID=4674;POINT (-40.395987 -2.78382)'))) / (select extract(epoch from '2026-06-05 02:30:19'::timestamp) - extract(epoch from '2026-06-05 02:30:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395874 -2.783897)'), GeomFromEWKT('SRID=4674;POINT (-40.395987 -2.78382)'))) / (select extract(epoch from '2026-06-05 02:30:19'::timestamp) - extract(epoch from '2026-06-05 02:30:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.396122 -2.783745)', '2026-06-05 02:30:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395987 -2.78382)'), GeomFromEWKT('SRID=4674;POINT (-40.396122 -2.783745)'))) / (select extract(epoch from '2026-06-05 02:30:27'::timestamp) - extract(epoch from '2026-06-05 02:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.395987 -2.78382)'), GeomFromEWKT('SRID=4674;POINT (-40.396122 -2.783745)'))) / (select extract(epoch from '2026-06-05 02:30:27'::timestamp) - extract(epoch from '2026-06-05 02:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.396236 -2.783672)', '2026-06-05 02:30:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396122 -2.783745)'), GeomFromEWKT('SRID=4674;POINT (-40.396236 -2.783672)'))) / (select extract(epoch from '2026-06-05 02:30:34'::timestamp) - extract(epoch from '2026-06-05 02:30:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396122 -2.783745)'), GeomFromEWKT('SRID=4674;POINT (-40.396236 -2.783672)'))) / (select extract(epoch from '2026-06-05 02:30:34'::timestamp) - extract(epoch from '2026-06-05 02:30:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.396355 -2.783591)', '2026-06-05 02:30:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396236 -2.783672)'), GeomFromEWKT('SRID=4674;POINT (-40.396355 -2.783591)'))) / (select extract(epoch from '2026-06-05 02:30:41'::timestamp) - extract(epoch from '2026-06-05 02:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396236 -2.783672)'), GeomFromEWKT('SRID=4674;POINT (-40.396355 -2.783591)'))) / (select extract(epoch from '2026-06-05 02:30:41'::timestamp) - extract(epoch from '2026-06-05 02:30:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.396458 -2.783529)', '2026-06-05 02:30:47', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396355 -2.783591)'), GeomFromEWKT('SRID=4674;POINT (-40.396458 -2.783529)'))) / (select extract(epoch from '2026-06-05 02:30:47'::timestamp) - extract(epoch from '2026-06-05 02:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396355 -2.783591)'), GeomFromEWKT('SRID=4674;POINT (-40.396458 -2.783529)'))) / (select extract(epoch from '2026-06-05 02:30:47'::timestamp) - extract(epoch from '2026-06-05 02:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.396569 -2.783454)', '2026-06-05 02:30:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396458 -2.783529)'), GeomFromEWKT('SRID=4674;POINT (-40.396569 -2.783454)'))) / (select extract(epoch from '2026-06-05 02:30:54'::timestamp) - extract(epoch from '2026-06-05 02:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396458 -2.783529)'), GeomFromEWKT('SRID=4674;POINT (-40.396569 -2.783454)'))) / (select extract(epoch from '2026-06-05 02:30:54'::timestamp) - extract(epoch from '2026-06-05 02:30:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.396686 -2.783386)', '2026-06-05 02:31:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396569 -2.783454)'), GeomFromEWKT('SRID=4674;POINT (-40.396686 -2.783386)'))) / (select extract(epoch from '2026-06-05 02:31:01'::timestamp) - extract(epoch from '2026-06-05 02:30:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396569 -2.783454)'), GeomFromEWKT('SRID=4674;POINT (-40.396686 -2.783386)'))) / (select extract(epoch from '2026-06-05 02:31:01'::timestamp) - extract(epoch from '2026-06-05 02:30:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.396785 -2.783327)', '2026-06-05 02:31:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396686 -2.783386)'), GeomFromEWKT('SRID=4674;POINT (-40.396785 -2.783327)'))) / (select extract(epoch from '2026-06-05 02:31:07'::timestamp) - extract(epoch from '2026-06-05 02:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396686 -2.783386)'), GeomFromEWKT('SRID=4674;POINT (-40.396785 -2.783327)'))) / (select extract(epoch from '2026-06-05 02:31:07'::timestamp) - extract(epoch from '2026-06-05 02:31: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'), 46721, 'SRID=4674;POINT (-40.396888 -2.783265)', '2026-06-05 02:31:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396785 -2.783327)'), GeomFromEWKT('SRID=4674;POINT (-40.396888 -2.783265)'))) / (select extract(epoch from '2026-06-05 02:31:13'::timestamp) - extract(epoch from '2026-06-05 02:31:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396785 -2.783327)'), GeomFromEWKT('SRID=4674;POINT (-40.396888 -2.783265)'))) / (select extract(epoch from '2026-06-05 02:31:13'::timestamp) - extract(epoch from '2026-06-05 02:31: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'), 46721, 'SRID=4674;POINT (-40.397023 -2.78318)', '2026-06-05 02:31:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396888 -2.783265)'), GeomFromEWKT('SRID=4674;POINT (-40.397023 -2.78318)'))) / (select extract(epoch from '2026-06-05 02:31:21'::timestamp) - extract(epoch from '2026-06-05 02:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.396888 -2.783265)'), GeomFromEWKT('SRID=4674;POINT (-40.397023 -2.78318)'))) / (select extract(epoch from '2026-06-05 02:31:21'::timestamp) - extract(epoch from '2026-06-05 02:31:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.397125 -2.783123)', '2026-06-05 02:31:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397023 -2.78318)'), GeomFromEWKT('SRID=4674;POINT (-40.397125 -2.783123)'))) / (select extract(epoch from '2026-06-05 02:31:27'::timestamp) - extract(epoch from '2026-06-05 02:31:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397023 -2.78318)'), GeomFromEWKT('SRID=4674;POINT (-40.397125 -2.783123)'))) / (select extract(epoch from '2026-06-05 02:31:27'::timestamp) - extract(epoch from '2026-06-05 02:31: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'), 46721, 'SRID=4674;POINT (-40.397243 -2.783059)', '2026-06-05 02:31:34', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397125 -2.783123)'), GeomFromEWKT('SRID=4674;POINT (-40.397243 -2.783059)'))) / (select extract(epoch from '2026-06-05 02:31:34'::timestamp) - extract(epoch from '2026-06-05 02:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397125 -2.783123)'), GeomFromEWKT('SRID=4674;POINT (-40.397243 -2.783059)'))) / (select extract(epoch from '2026-06-05 02:31:34'::timestamp) - extract(epoch from '2026-06-05 02:31: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'), 46721, 'SRID=4674;POINT (-40.397365 -2.782967)', '2026-06-05 02:31:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397243 -2.783059)'), GeomFromEWKT('SRID=4674;POINT (-40.397365 -2.782967)'))) / (select extract(epoch from '2026-06-05 02:31:42'::timestamp) - extract(epoch from '2026-06-05 02:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397243 -2.783059)'), GeomFromEWKT('SRID=4674;POINT (-40.397365 -2.782967)'))) / (select extract(epoch from '2026-06-05 02:31:42'::timestamp) - extract(epoch from '2026-06-05 02:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.397464 -2.782873)', '2026-06-05 02:31:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397365 -2.782967)'), GeomFromEWKT('SRID=4674;POINT (-40.397464 -2.782873)'))) / (select extract(epoch from '2026-06-05 02:31:49'::timestamp) - extract(epoch from '2026-06-05 02:31:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397365 -2.782967)'), GeomFromEWKT('SRID=4674;POINT (-40.397464 -2.782873)'))) / (select extract(epoch from '2026-06-05 02:31:49'::timestamp) - extract(epoch from '2026-06-05 02:31:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.397559 -2.782801)', '2026-06-05 02:31:55', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397464 -2.782873)'), GeomFromEWKT('SRID=4674;POINT (-40.397559 -2.782801)'))) / (select extract(epoch from '2026-06-05 02:31:55'::timestamp) - extract(epoch from '2026-06-05 02:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397464 -2.782873)'), GeomFromEWKT('SRID=4674;POINT (-40.397559 -2.782801)'))) / (select extract(epoch from '2026-06-05 02:31:55'::timestamp) - extract(epoch from '2026-06-05 02:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.397697 -2.782721)', '2026-06-05 02:32:03', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397559 -2.782801)'), GeomFromEWKT('SRID=4674;POINT (-40.397697 -2.782721)'))) / (select extract(epoch from '2026-06-05 02:32:03'::timestamp) - extract(epoch from '2026-06-05 02:31:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397559 -2.782801)'), GeomFromEWKT('SRID=4674;POINT (-40.397697 -2.782721)'))) / (select extract(epoch from '2026-06-05 02:32:03'::timestamp) - extract(epoch from '2026-06-05 02:31: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'), 46721, 'SRID=4674;POINT (-40.397862 -2.782655)', '2026-06-05 02:32:12', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397697 -2.782721)'), GeomFromEWKT('SRID=4674;POINT (-40.397862 -2.782655)'))) / (select extract(epoch from '2026-06-05 02:32:12'::timestamp) - extract(epoch from '2026-06-05 02:32:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397697 -2.782721)'), GeomFromEWKT('SRID=4674;POINT (-40.397862 -2.782655)'))) / (select extract(epoch from '2026-06-05 02:32:12'::timestamp) - extract(epoch from '2026-06-05 02:32:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.397988 -2.782598)', '2026-06-05 02:32:19', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397862 -2.782655)'), GeomFromEWKT('SRID=4674;POINT (-40.397988 -2.782598)'))) / (select extract(epoch from '2026-06-05 02:32:19'::timestamp) - extract(epoch from '2026-06-05 02:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397862 -2.782655)'), GeomFromEWKT('SRID=4674;POINT (-40.397988 -2.782598)'))) / (select extract(epoch from '2026-06-05 02:32:19'::timestamp) - extract(epoch from '2026-06-05 02:32: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'), 46721, 'SRID=4674;POINT (-40.398092 -2.782517)', '2026-06-05 02:32:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397988 -2.782598)'), GeomFromEWKT('SRID=4674;POINT (-40.398092 -2.782517)'))) / (select extract(epoch from '2026-06-05 02:32:26'::timestamp) - extract(epoch from '2026-06-05 02:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.397988 -2.782598)'), GeomFromEWKT('SRID=4674;POINT (-40.398092 -2.782517)'))) / (select extract(epoch from '2026-06-05 02:32:26'::timestamp) - extract(epoch from '2026-06-05 02:32: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'), 46721, 'SRID=4674;POINT (-40.398213 -2.782418)', '2026-06-05 02:32:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398092 -2.782517)'), GeomFromEWKT('SRID=4674;POINT (-40.398213 -2.782418)'))) / (select extract(epoch from '2026-06-05 02:32:34'::timestamp) - extract(epoch from '2026-06-05 02:32:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398092 -2.782517)'), GeomFromEWKT('SRID=4674;POINT (-40.398213 -2.782418)'))) / (select extract(epoch from '2026-06-05 02:32:34'::timestamp) - extract(epoch from '2026-06-05 02:32: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'), 46721, 'SRID=4674;POINT (-40.39832 -2.782305)', '2026-06-05 02:32:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398213 -2.782418)'), GeomFromEWKT('SRID=4674;POINT (-40.39832 -2.782305)'))) / (select extract(epoch from '2026-06-05 02:32:42'::timestamp) - extract(epoch from '2026-06-05 02:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398213 -2.782418)'), GeomFromEWKT('SRID=4674;POINT (-40.39832 -2.782305)'))) / (select extract(epoch from '2026-06-05 02:32:42'::timestamp) - extract(epoch from '2026-06-05 02:32: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'), 46721, 'SRID=4674;POINT (-40.398406 -2.782197)', '2026-06-05 02:32:49', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39832 -2.782305)'), GeomFromEWKT('SRID=4674;POINT (-40.398406 -2.782197)'))) / (select extract(epoch from '2026-06-05 02:32:49'::timestamp) - extract(epoch from '2026-06-05 02:32:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39832 -2.782305)'), GeomFromEWKT('SRID=4674;POINT (-40.398406 -2.782197)'))) / (select extract(epoch from '2026-06-05 02:32:49'::timestamp) - extract(epoch from '2026-06-05 02:32: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'), 46721, 'SRID=4674;POINT (-40.398474 -2.782103)', '2026-06-05 02:32:55', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398406 -2.782197)'), GeomFromEWKT('SRID=4674;POINT (-40.398474 -2.782103)'))) / (select extract(epoch from '2026-06-05 02:32:55'::timestamp) - extract(epoch from '2026-06-05 02:32:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398406 -2.782197)'), GeomFromEWKT('SRID=4674;POINT (-40.398474 -2.782103)'))) / (select extract(epoch from '2026-06-05 02:32:55'::timestamp) - extract(epoch from '2026-06-05 02:32:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.398548 -2.782017)', '2026-06-05 02:33:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398474 -2.782103)'), GeomFromEWKT('SRID=4674;POINT (-40.398548 -2.782017)'))) / (select extract(epoch from '2026-06-05 02:33:01'::timestamp) - extract(epoch from '2026-06-05 02:32:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398474 -2.782103)'), GeomFromEWKT('SRID=4674;POINT (-40.398548 -2.782017)'))) / (select extract(epoch from '2026-06-05 02:33:01'::timestamp) - extract(epoch from '2026-06-05 02:32:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.398663 -2.78191)', '2026-06-05 02:33:09', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398548 -2.782017)'), GeomFromEWKT('SRID=4674;POINT (-40.398663 -2.78191)'))) / (select extract(epoch from '2026-06-05 02:33:09'::timestamp) - extract(epoch from '2026-06-05 02:33:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398548 -2.782017)'), GeomFromEWKT('SRID=4674;POINT (-40.398663 -2.78191)'))) / (select extract(epoch from '2026-06-05 02:33:09'::timestamp) - extract(epoch from '2026-06-05 02:33: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'), 46721, 'SRID=4674;POINT (-40.398804 -2.781803)', '2026-06-05 02:33:18', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398663 -2.78191)'), GeomFromEWKT('SRID=4674;POINT (-40.398804 -2.781803)'))) / (select extract(epoch from '2026-06-05 02:33:18'::timestamp) - extract(epoch from '2026-06-05 02:33:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398663 -2.78191)'), GeomFromEWKT('SRID=4674;POINT (-40.398804 -2.781803)'))) / (select extract(epoch from '2026-06-05 02:33:18'::timestamp) - extract(epoch from '2026-06-05 02:33:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.398933 -2.781722)', '2026-06-05 02:33:26', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398804 -2.781803)'), GeomFromEWKT('SRID=4674;POINT (-40.398933 -2.781722)'))) / (select extract(epoch from '2026-06-05 02:33:26'::timestamp) - extract(epoch from '2026-06-05 02:33:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398804 -2.781803)'), GeomFromEWKT('SRID=4674;POINT (-40.398933 -2.781722)'))) / (select extract(epoch from '2026-06-05 02:33:26'::timestamp) - extract(epoch from '2026-06-05 02:33:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.39907 -2.781676)', '2026-06-05 02:33:33', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398933 -2.781722)'), GeomFromEWKT('SRID=4674;POINT (-40.39907 -2.781676)'))) / (select extract(epoch from '2026-06-05 02:33:33'::timestamp) - extract(epoch from '2026-06-05 02:33:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.398933 -2.781722)'), GeomFromEWKT('SRID=4674;POINT (-40.39907 -2.781676)'))) / (select extract(epoch from '2026-06-05 02:33:33'::timestamp) - extract(epoch from '2026-06-05 02:33: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'), 46721, 'SRID=4674;POINT (-40.399188 -2.781649)', '2026-06-05 02:33:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39907 -2.781676)'), GeomFromEWKT('SRID=4674;POINT (-40.399188 -2.781649)'))) / (select extract(epoch from '2026-06-05 02:33:39'::timestamp) - extract(epoch from '2026-06-05 02:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39907 -2.781676)'), GeomFromEWKT('SRID=4674;POINT (-40.399188 -2.781649)'))) / (select extract(epoch from '2026-06-05 02:33:39'::timestamp) - extract(epoch from '2026-06-05 02:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.399325 -2.781593)', '2026-06-05 02:33:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399188 -2.781649)'), GeomFromEWKT('SRID=4674;POINT (-40.399325 -2.781593)'))) / (select extract(epoch from '2026-06-05 02:33:47'::timestamp) - extract(epoch from '2026-06-05 02:33:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399188 -2.781649)'), GeomFromEWKT('SRID=4674;POINT (-40.399325 -2.781593)'))) / (select extract(epoch from '2026-06-05 02:33:47'::timestamp) - extract(epoch from '2026-06-05 02:33:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.399461 -2.781503)', '2026-06-05 02:33:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399325 -2.781593)'), GeomFromEWKT('SRID=4674;POINT (-40.399461 -2.781503)'))) / (select extract(epoch from '2026-06-05 02:33:56'::timestamp) - extract(epoch from '2026-06-05 02:33:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399325 -2.781593)'), GeomFromEWKT('SRID=4674;POINT (-40.399461 -2.781503)'))) / (select extract(epoch from '2026-06-05 02:33:56'::timestamp) - extract(epoch from '2026-06-05 02:33:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.39957 -2.781414)', '2026-06-05 02:34:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399461 -2.781503)'), GeomFromEWKT('SRID=4674;POINT (-40.39957 -2.781414)'))) / (select extract(epoch from '2026-06-05 02:34:03'::timestamp) - extract(epoch from '2026-06-05 02:33:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399461 -2.781503)'), GeomFromEWKT('SRID=4674;POINT (-40.39957 -2.781414)'))) / (select extract(epoch from '2026-06-05 02:34:03'::timestamp) - extract(epoch from '2026-06-05 02:33: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'), 46721, 'SRID=4674;POINT (-40.399725 -2.78126)', '2026-06-05 02:34:14', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39957 -2.781414)'), GeomFromEWKT('SRID=4674;POINT (-40.399725 -2.78126)'))) / (select extract(epoch from '2026-06-05 02:34:14'::timestamp) - extract(epoch from '2026-06-05 02:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.39957 -2.781414)'), GeomFromEWKT('SRID=4674;POINT (-40.399725 -2.78126)'))) / (select extract(epoch from '2026-06-05 02:34:14'::timestamp) - extract(epoch from '2026-06-05 02:34: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'), 46721, 'SRID=4674;POINT (-40.399817 -2.781152)', '2026-06-05 02:34:21', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399725 -2.78126)'), GeomFromEWKT('SRID=4674;POINT (-40.399817 -2.781152)'))) / (select extract(epoch from '2026-06-05 02:34:21'::timestamp) - extract(epoch from '2026-06-05 02:34:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399725 -2.78126)'), GeomFromEWKT('SRID=4674;POINT (-40.399817 -2.781152)'))) / (select extract(epoch from '2026-06-05 02:34:21'::timestamp) - extract(epoch from '2026-06-05 02:34: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'), 46721, 'SRID=4674;POINT (-40.399903 -2.781046)', '2026-06-05 02:34:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399817 -2.781152)'), GeomFromEWKT('SRID=4674;POINT (-40.399903 -2.781046)'))) / (select extract(epoch from '2026-06-05 02:34:28'::timestamp) - extract(epoch from '2026-06-05 02:34:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399817 -2.781152)'), GeomFromEWKT('SRID=4674;POINT (-40.399903 -2.781046)'))) / (select extract(epoch from '2026-06-05 02:34:28'::timestamp) - extract(epoch from '2026-06-05 02:34: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'), 46721, 'SRID=4674;POINT (-40.399987 -2.780948)', '2026-06-05 02:34:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399903 -2.781046)'), GeomFromEWKT('SRID=4674;POINT (-40.399987 -2.780948)'))) / (select extract(epoch from '2026-06-05 02:34:35'::timestamp) - extract(epoch from '2026-06-05 02:34:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399903 -2.781046)'), GeomFromEWKT('SRID=4674;POINT (-40.399987 -2.780948)'))) / (select extract(epoch from '2026-06-05 02:34:35'::timestamp) - extract(epoch from '2026-06-05 02:34:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.400071 -2.780874)', '2026-06-05 02:34:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399987 -2.780948)'), GeomFromEWKT('SRID=4674;POINT (-40.400071 -2.780874)'))) / (select extract(epoch from '2026-06-05 02:34:41'::timestamp) - extract(epoch from '2026-06-05 02:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.399987 -2.780948)'), GeomFromEWKT('SRID=4674;POINT (-40.400071 -2.780874)'))) / (select extract(epoch from '2026-06-05 02:34:41'::timestamp) - extract(epoch from '2026-06-05 02:34: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'), 46721, 'SRID=4674;POINT (-40.400175 -2.780786)', '2026-06-05 02:34:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400071 -2.780874)'), GeomFromEWKT('SRID=4674;POINT (-40.400175 -2.780786)'))) / (select extract(epoch from '2026-06-05 02:34:48'::timestamp) - extract(epoch from '2026-06-05 02:34:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400071 -2.780874)'), GeomFromEWKT('SRID=4674;POINT (-40.400175 -2.780786)'))) / (select extract(epoch from '2026-06-05 02:34:48'::timestamp) - extract(epoch from '2026-06-05 02:34: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'), 46721, 'SRID=4674;POINT (-40.400282 -2.780698)', '2026-06-05 02:34:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400175 -2.780786)'), GeomFromEWKT('SRID=4674;POINT (-40.400282 -2.780698)'))) / (select extract(epoch from '2026-06-05 02:34:55'::timestamp) - extract(epoch from '2026-06-05 02:34:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400175 -2.780786)'), GeomFromEWKT('SRID=4674;POINT (-40.400282 -2.780698)'))) / (select extract(epoch from '2026-06-05 02:34:55'::timestamp) - extract(epoch from '2026-06-05 02:34: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'), 46721, 'SRID=4674;POINT (-40.400374 -2.780614)', '2026-06-05 02:35:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400282 -2.780698)'), GeomFromEWKT('SRID=4674;POINT (-40.400374 -2.780614)'))) / (select extract(epoch from '2026-06-05 02:35:01'::timestamp) - extract(epoch from '2026-06-05 02:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400282 -2.780698)'), GeomFromEWKT('SRID=4674;POINT (-40.400374 -2.780614)'))) / (select extract(epoch from '2026-06-05 02:35:01'::timestamp) - extract(epoch from '2026-06-05 02:34: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'), 46721, 'SRID=4674;POINT (-40.400485 -2.780503)', '2026-06-05 02:35:09', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400374 -2.780614)'), GeomFromEWKT('SRID=4674;POINT (-40.400485 -2.780503)'))) / (select extract(epoch from '2026-06-05 02:35:09'::timestamp) - extract(epoch from '2026-06-05 02:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400374 -2.780614)'), GeomFromEWKT('SRID=4674;POINT (-40.400485 -2.780503)'))) / (select extract(epoch from '2026-06-05 02:35:09'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.400599 -2.780396)', '2026-06-05 02:35:17', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400485 -2.780503)'), GeomFromEWKT('SRID=4674;POINT (-40.400599 -2.780396)'))) / (select extract(epoch from '2026-06-05 02:35:17'::timestamp) - extract(epoch from '2026-06-05 02:35:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400485 -2.780503)'), GeomFromEWKT('SRID=4674;POINT (-40.400599 -2.780396)'))) / (select extract(epoch from '2026-06-05 02:35:17'::timestamp) - extract(epoch from '2026-06-05 02:35: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'), 46721, 'SRID=4674;POINT (-40.400695 -2.780301)', '2026-06-05 02:35:24', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400599 -2.780396)'), GeomFromEWKT('SRID=4674;POINT (-40.400695 -2.780301)'))) / (select extract(epoch from '2026-06-05 02:35:24'::timestamp) - extract(epoch from '2026-06-05 02:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400599 -2.780396)'), GeomFromEWKT('SRID=4674;POINT (-40.400695 -2.780301)'))) / (select extract(epoch from '2026-06-05 02:35:24'::timestamp) - extract(epoch from '2026-06-05 02:35: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'), 46721, 'SRID=4674;POINT (-40.400772 -2.780242)', '2026-06-05 02:35:29', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400695 -2.780301)'), GeomFromEWKT('SRID=4674;POINT (-40.400772 -2.780242)'))) / (select extract(epoch from '2026-06-05 02:35:29'::timestamp) - extract(epoch from '2026-06-05 02:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400695 -2.780301)'), GeomFromEWKT('SRID=4674;POINT (-40.400772 -2.780242)'))) / (select extract(epoch from '2026-06-05 02:35:29'::timestamp) - extract(epoch from '2026-06-05 02:35: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'), 46721, 'SRID=4674;POINT (-40.400869 -2.780175)', '2026-06-05 02:35:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400772 -2.780242)'), GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.780175)'))) / (select extract(epoch from '2026-06-05 02:35:35'::timestamp) - extract(epoch from '2026-06-05 02:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400772 -2.780242)'), GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.780175)'))) / (select extract(epoch from '2026-06-05 02:35:35'::timestamp) - extract(epoch from '2026-06-05 02:35: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'), 46721, 'SRID=4674;POINT (-40.401007 -2.780097)', '2026-06-05 02:35:43', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.780175)'), GeomFromEWKT('SRID=4674;POINT (-40.401007 -2.780097)'))) / (select extract(epoch from '2026-06-05 02:35:43'::timestamp) - extract(epoch from '2026-06-05 02:35:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.400869 -2.780175)'), GeomFromEWKT('SRID=4674;POINT (-40.401007 -2.780097)'))) / (select extract(epoch from '2026-06-05 02:35:43'::timestamp) - extract(epoch from '2026-06-05 02:35: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'), 46721, 'SRID=4674;POINT (-40.401117 -2.780013)', '2026-06-05 02:35:50', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401007 -2.780097)'), GeomFromEWKT('SRID=4674;POINT (-40.401117 -2.780013)'))) / (select extract(epoch from '2026-06-05 02:35:50'::timestamp) - extract(epoch from '2026-06-05 02:35:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401007 -2.780097)'), GeomFromEWKT('SRID=4674;POINT (-40.401117 -2.780013)'))) / (select extract(epoch from '2026-06-05 02:35:50'::timestamp) - extract(epoch from '2026-06-05 02:35: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'), 46721, 'SRID=4674;POINT (-40.401241 -2.779916)', '2026-06-05 02:35:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401117 -2.780013)'), GeomFromEWKT('SRID=4674;POINT (-40.401241 -2.779916)'))) / (select extract(epoch from '2026-06-05 02:35:58'::timestamp) - extract(epoch from '2026-06-05 02:35:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401117 -2.780013)'), GeomFromEWKT('SRID=4674;POINT (-40.401241 -2.779916)'))) / (select extract(epoch from '2026-06-05 02:35:58'::timestamp) - extract(epoch from '2026-06-05 02:35: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'), 46721, 'SRID=4674;POINT (-40.401338 -2.779862)', '2026-06-05 02:36:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401241 -2.779916)'), GeomFromEWKT('SRID=4674;POINT (-40.401338 -2.779862)'))) / (select extract(epoch from '2026-06-05 02:36:04'::timestamp) - extract(epoch from '2026-06-05 02:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401241 -2.779916)'), GeomFromEWKT('SRID=4674;POINT (-40.401338 -2.779862)'))) / (select extract(epoch from '2026-06-05 02:36:04'::timestamp) - extract(epoch from '2026-06-05 02:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.401459 -2.779802)', '2026-06-05 02:36:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401338 -2.779862)'), GeomFromEWKT('SRID=4674;POINT (-40.401459 -2.779802)'))) / (select extract(epoch from '2026-06-05 02:36:11'::timestamp) - extract(epoch from '2026-06-05 02:36:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401338 -2.779862)'), GeomFromEWKT('SRID=4674;POINT (-40.401459 -2.779802)'))) / (select extract(epoch from '2026-06-05 02:36:11'::timestamp) - extract(epoch from '2026-06-05 02:36:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.401546 -2.77975)', '2026-06-05 02:36:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401459 -2.779802)'), GeomFromEWKT('SRID=4674;POINT (-40.401546 -2.77975)'))) / (select extract(epoch from '2026-06-05 02:36:16'::timestamp) - extract(epoch from '2026-06-05 02:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401459 -2.779802)'), GeomFromEWKT('SRID=4674;POINT (-40.401546 -2.77975)'))) / (select extract(epoch from '2026-06-05 02:36:16'::timestamp) - extract(epoch from '2026-06-05 02:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.401688 -2.779628)', '2026-06-05 02:36:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401546 -2.77975)'), GeomFromEWKT('SRID=4674;POINT (-40.401688 -2.779628)'))) / (select extract(epoch from '2026-06-05 02:36:26'::timestamp) - extract(epoch from '2026-06-05 02:36:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401546 -2.77975)'), GeomFromEWKT('SRID=4674;POINT (-40.401688 -2.779628)'))) / (select extract(epoch from '2026-06-05 02:36:26'::timestamp) - extract(epoch from '2026-06-05 02:36: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'), 46721, 'SRID=4674;POINT (-40.401779 -2.77954)', '2026-06-05 02:36:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401688 -2.779628)'), GeomFromEWKT('SRID=4674;POINT (-40.401779 -2.77954)'))) / (select extract(epoch from '2026-06-05 02:36:33'::timestamp) - extract(epoch from '2026-06-05 02:36:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401688 -2.779628)'), GeomFromEWKT('SRID=4674;POINT (-40.401779 -2.77954)'))) / (select extract(epoch from '2026-06-05 02:36:33'::timestamp) - extract(epoch from '2026-06-05 02:36:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.40187 -2.77946)', '2026-06-05 02:36:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401779 -2.77954)'), GeomFromEWKT('SRID=4674;POINT (-40.40187 -2.77946)'))) / (select extract(epoch from '2026-06-05 02:36:39'::timestamp) - extract(epoch from '2026-06-05 02:36:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.401779 -2.77954)'), GeomFromEWKT('SRID=4674;POINT (-40.40187 -2.77946)'))) / (select extract(epoch from '2026-06-05 02:36:39'::timestamp) - extract(epoch from '2026-06-05 02:36:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.402012 -2.779362)', '2026-06-05 02:36:48', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40187 -2.77946)'), GeomFromEWKT('SRID=4674;POINT (-40.402012 -2.779362)'))) / (select extract(epoch from '2026-06-05 02:36:48'::timestamp) - extract(epoch from '2026-06-05 02:36:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40187 -2.77946)'), GeomFromEWKT('SRID=4674;POINT (-40.402012 -2.779362)'))) / (select extract(epoch from '2026-06-05 02:36:48'::timestamp) - extract(epoch from '2026-06-05 02:36: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'), 46721, 'SRID=4674;POINT (-40.40213 -2.779261)', '2026-06-05 02:36:56', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402012 -2.779362)'), GeomFromEWKT('SRID=4674;POINT (-40.40213 -2.779261)'))) / (select extract(epoch from '2026-06-05 02:36:56'::timestamp) - extract(epoch from '2026-06-05 02:36:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402012 -2.779362)'), GeomFromEWKT('SRID=4674;POINT (-40.40213 -2.779261)'))) / (select extract(epoch from '2026-06-05 02:36:56'::timestamp) - extract(epoch from '2026-06-05 02:36: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'), 46721, 'SRID=4674;POINT (-40.402243 -2.779118)', '2026-06-05 02:37:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40213 -2.779261)'), GeomFromEWKT('SRID=4674;POINT (-40.402243 -2.779118)'))) / (select extract(epoch from '2026-06-05 02:37:05'::timestamp) - extract(epoch from '2026-06-05 02:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40213 -2.779261)'), GeomFromEWKT('SRID=4674;POINT (-40.402243 -2.779118)'))) / (select extract(epoch from '2026-06-05 02:37:05'::timestamp) - extract(epoch from '2026-06-05 02:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.402333 -2.779007)', '2026-06-05 02:37:12', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402243 -2.779118)'), GeomFromEWKT('SRID=4674;POINT (-40.402333 -2.779007)'))) / (select extract(epoch from '2026-06-05 02:37:12'::timestamp) - extract(epoch from '2026-06-05 02:37:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402243 -2.779118)'), GeomFromEWKT('SRID=4674;POINT (-40.402333 -2.779007)'))) / (select extract(epoch from '2026-06-05 02:37:12'::timestamp) - extract(epoch from '2026-06-05 02:37: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'), 46721, 'SRID=4674;POINT (-40.402446 -2.778933)', '2026-06-05 02:37:19', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402333 -2.779007)'), GeomFromEWKT('SRID=4674;POINT (-40.402446 -2.778933)'))) / (select extract(epoch from '2026-06-05 02:37:19'::timestamp) - extract(epoch from '2026-06-05 02:37:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402333 -2.779007)'), GeomFromEWKT('SRID=4674;POINT (-40.402446 -2.778933)'))) / (select extract(epoch from '2026-06-05 02:37:19'::timestamp) - extract(epoch from '2026-06-05 02:37: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'), 46721, 'SRID=4674;POINT (-40.402591 -2.778812)', '2026-06-05 02:37:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402446 -2.778933)'), GeomFromEWKT('SRID=4674;POINT (-40.402591 -2.778812)'))) / (select extract(epoch from '2026-06-05 02:37:29'::timestamp) - extract(epoch from '2026-06-05 02:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402446 -2.778933)'), GeomFromEWKT('SRID=4674;POINT (-40.402591 -2.778812)'))) / (select extract(epoch from '2026-06-05 02:37:29'::timestamp) - extract(epoch from '2026-06-05 02:37: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'), 46721, 'SRID=4674;POINT (-40.402683 -2.77873)', '2026-06-05 02:37:35', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402591 -2.778812)'), GeomFromEWKT('SRID=4674;POINT (-40.402683 -2.77873)'))) / (select extract(epoch from '2026-06-05 02:37:35'::timestamp) - extract(epoch from '2026-06-05 02:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402591 -2.778812)'), GeomFromEWKT('SRID=4674;POINT (-40.402683 -2.77873)'))) / (select extract(epoch from '2026-06-05 02:37:35'::timestamp) - extract(epoch from '2026-06-05 02:37:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.402788 -2.778645)', '2026-06-05 02:37:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402683 -2.77873)'), GeomFromEWKT('SRID=4674;POINT (-40.402788 -2.778645)'))) / (select extract(epoch from '2026-06-05 02:37:42'::timestamp) - extract(epoch from '2026-06-05 02:37:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402683 -2.77873)'), GeomFromEWKT('SRID=4674;POINT (-40.402788 -2.778645)'))) / (select extract(epoch from '2026-06-05 02:37:42'::timestamp) - extract(epoch from '2026-06-05 02:37: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'), 46721, 'SRID=4674;POINT (-40.402901 -2.778566)', '2026-06-05 02:37:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402788 -2.778645)'), GeomFromEWKT('SRID=4674;POINT (-40.402901 -2.778566)'))) / (select extract(epoch from '2026-06-05 02:37:49'::timestamp) - extract(epoch from '2026-06-05 02:37:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402788 -2.778645)'), GeomFromEWKT('SRID=4674;POINT (-40.402901 -2.778566)'))) / (select extract(epoch from '2026-06-05 02:37:49'::timestamp) - extract(epoch from '2026-06-05 02:37: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'), 46721, 'SRID=4674;POINT (-40.403017 -2.778533)', '2026-06-05 02:37:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402901 -2.778566)'), GeomFromEWKT('SRID=4674;POINT (-40.403017 -2.778533)'))) / (select extract(epoch from '2026-06-05 02:37:55'::timestamp) - extract(epoch from '2026-06-05 02:37:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.402901 -2.778566)'), GeomFromEWKT('SRID=4674;POINT (-40.403017 -2.778533)'))) / (select extract(epoch from '2026-06-05 02:37:55'::timestamp) - extract(epoch from '2026-06-05 02:37: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'), 46721, 'SRID=4674;POINT (-40.403202 -2.778468)', '2026-06-05 02:38:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403017 -2.778533)'), GeomFromEWKT('SRID=4674;POINT (-40.403202 -2.778468)'))) / (select extract(epoch from '2026-06-05 02:38:05'::timestamp) - extract(epoch from '2026-06-05 02:37:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403017 -2.778533)'), GeomFromEWKT('SRID=4674;POINT (-40.403202 -2.778468)'))) / (select extract(epoch from '2026-06-05 02:38:05'::timestamp) - extract(epoch from '2026-06-05 02:37: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'), 46721, 'SRID=4674;POINT (-40.403321 -2.778408)', '2026-06-05 02:38:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403202 -2.778468)'), GeomFromEWKT('SRID=4674;POINT (-40.403321 -2.778408)'))) / (select extract(epoch from '2026-06-05 02:38:12'::timestamp) - extract(epoch from '2026-06-05 02:38:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403202 -2.778468)'), GeomFromEWKT('SRID=4674;POINT (-40.403321 -2.778408)'))) / (select extract(epoch from '2026-06-05 02:38:12'::timestamp) - extract(epoch from '2026-06-05 02:38: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'), 46721, 'SRID=4674;POINT (-40.403441 -2.778342)', '2026-06-05 02:38:20', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403321 -2.778408)'), GeomFromEWKT('SRID=4674;POINT (-40.403441 -2.778342)'))) / (select extract(epoch from '2026-06-05 02:38:20'::timestamp) - extract(epoch from '2026-06-05 02:38:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403321 -2.778408)'), GeomFromEWKT('SRID=4674;POINT (-40.403441 -2.778342)'))) / (select extract(epoch from '2026-06-05 02:38:20'::timestamp) - extract(epoch from '2026-06-05 02:38:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.40357 -2.778296)', '2026-06-05 02:38:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403441 -2.778342)'), GeomFromEWKT('SRID=4674;POINT (-40.40357 -2.778296)'))) / (select extract(epoch from '2026-06-05 02:38:27'::timestamp) - extract(epoch from '2026-06-05 02:38:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403441 -2.778342)'), GeomFromEWKT('SRID=4674;POINT (-40.40357 -2.778296)'))) / (select extract(epoch from '2026-06-05 02:38:27'::timestamp) - extract(epoch from '2026-06-05 02:38: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'), 46721, 'SRID=4674;POINT (-40.403738 -2.778248)', '2026-06-05 02:38:36', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40357 -2.778296)'), GeomFromEWKT('SRID=4674;POINT (-40.403738 -2.778248)'))) / (select extract(epoch from '2026-06-05 02:38:36'::timestamp) - extract(epoch from '2026-06-05 02:38:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40357 -2.778296)'), GeomFromEWKT('SRID=4674;POINT (-40.403738 -2.778248)'))) / (select extract(epoch from '2026-06-05 02:38:36'::timestamp) - extract(epoch from '2026-06-05 02:38:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.403879 -2.778182)', '2026-06-05 02:38:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403738 -2.778248)'), GeomFromEWKT('SRID=4674;POINT (-40.403879 -2.778182)'))) / (select extract(epoch from '2026-06-05 02:38:44'::timestamp) - extract(epoch from '2026-06-05 02:38:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403738 -2.778248)'), GeomFromEWKT('SRID=4674;POINT (-40.403879 -2.778182)'))) / (select extract(epoch from '2026-06-05 02:38:44'::timestamp) - extract(epoch from '2026-06-05 02:38: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'), 46721, 'SRID=4674;POINT (-40.404016 -2.778113)', '2026-06-05 02:38:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403879 -2.778182)'), GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.778113)'))) / (select extract(epoch from '2026-06-05 02:38:52'::timestamp) - extract(epoch from '2026-06-05 02:38:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.403879 -2.778182)'), GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.778113)'))) / (select extract(epoch from '2026-06-05 02:38:52'::timestamp) - extract(epoch from '2026-06-05 02:38:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.404155 -2.778049)', '2026-06-05 02:39:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.778113)'), GeomFromEWKT('SRID=4674;POINT (-40.404155 -2.778049)'))) / (select extract(epoch from '2026-06-05 02:39:00'::timestamp) - extract(epoch from '2026-06-05 02:38:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404016 -2.778113)'), GeomFromEWKT('SRID=4674;POINT (-40.404155 -2.778049)'))) / (select extract(epoch from '2026-06-05 02:39:00'::timestamp) - extract(epoch from '2026-06-05 02:38:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.404282 -2.777964)', '2026-06-05 02:39:08', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404155 -2.778049)'), GeomFromEWKT('SRID=4674;POINT (-40.404282 -2.777964)'))) / (select extract(epoch from '2026-06-05 02:39:08'::timestamp) - extract(epoch from '2026-06-05 02:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404155 -2.778049)'), GeomFromEWKT('SRID=4674;POINT (-40.404282 -2.777964)'))) / (select extract(epoch from '2026-06-05 02:39:08'::timestamp) - extract(epoch from '2026-06-05 02:39: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'), 46721, 'SRID=4674;POINT (-40.404388 -2.777897)', '2026-06-05 02:39:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404282 -2.777964)'), GeomFromEWKT('SRID=4674;POINT (-40.404388 -2.777897)'))) / (select extract(epoch from '2026-06-05 02:39:14'::timestamp) - extract(epoch from '2026-06-05 02:39:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404282 -2.777964)'), GeomFromEWKT('SRID=4674;POINT (-40.404388 -2.777897)'))) / (select extract(epoch from '2026-06-05 02:39:14'::timestamp) - extract(epoch from '2026-06-05 02:39: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'), 46721, 'SRID=4674;POINT (-40.404497 -2.777827)', '2026-06-05 02:39:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404388 -2.777897)'), GeomFromEWKT('SRID=4674;POINT (-40.404497 -2.777827)'))) / (select extract(epoch from '2026-06-05 02:39:21'::timestamp) - extract(epoch from '2026-06-05 02:39:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404388 -2.777897)'), GeomFromEWKT('SRID=4674;POINT (-40.404497 -2.777827)'))) / (select extract(epoch from '2026-06-05 02:39:21'::timestamp) - extract(epoch from '2026-06-05 02:39: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'), 46721, 'SRID=4674;POINT (-40.40464 -2.777755)', '2026-06-05 02:39:29', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404497 -2.777827)'), GeomFromEWKT('SRID=4674;POINT (-40.40464 -2.777755)'))) / (select extract(epoch from '2026-06-05 02:39:29'::timestamp) - extract(epoch from '2026-06-05 02:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404497 -2.777827)'), GeomFromEWKT('SRID=4674;POINT (-40.40464 -2.777755)'))) / (select extract(epoch from '2026-06-05 02:39:29'::timestamp) - extract(epoch from '2026-06-05 02:39: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'), 46721, 'SRID=4674;POINT (-40.404767 -2.777665)', '2026-06-05 02:39:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40464 -2.777755)'), GeomFromEWKT('SRID=4674;POINT (-40.404767 -2.777665)'))) / (select extract(epoch from '2026-06-05 02:39:37'::timestamp) - extract(epoch from '2026-06-05 02:39:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40464 -2.777755)'), GeomFromEWKT('SRID=4674;POINT (-40.404767 -2.777665)'))) / (select extract(epoch from '2026-06-05 02:39:37'::timestamp) - extract(epoch from '2026-06-05 02:39:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.4049 -2.777548)', '2026-06-05 02:39:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404767 -2.777665)'), GeomFromEWKT('SRID=4674;POINT (-40.4049 -2.777548)'))) / (select extract(epoch from '2026-06-05 02:39:46'::timestamp) - extract(epoch from '2026-06-05 02:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404767 -2.777665)'), GeomFromEWKT('SRID=4674;POINT (-40.4049 -2.777548)'))) / (select extract(epoch from '2026-06-05 02:39:46'::timestamp) - extract(epoch from '2026-06-05 02:39: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'), 46721, 'SRID=4674;POINT (-40.404986 -2.777473)', '2026-06-05 02:39:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4049 -2.777548)'), GeomFromEWKT('SRID=4674;POINT (-40.404986 -2.777473)'))) / (select extract(epoch from '2026-06-05 02:39:52'::timestamp) - extract(epoch from '2026-06-05 02:39:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4049 -2.777548)'), GeomFromEWKT('SRID=4674;POINT (-40.404986 -2.777473)'))) / (select extract(epoch from '2026-06-05 02:39:52'::timestamp) - extract(epoch from '2026-06-05 02:39:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.405054 -2.777406)', '2026-06-05 02:39:57', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404986 -2.777473)'), GeomFromEWKT('SRID=4674;POINT (-40.405054 -2.777406)'))) / (select extract(epoch from '2026-06-05 02:39:57'::timestamp) - extract(epoch from '2026-06-05 02:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.404986 -2.777473)'), GeomFromEWKT('SRID=4674;POINT (-40.405054 -2.777406)'))) / (select extract(epoch from '2026-06-05 02:39:57'::timestamp) - extract(epoch from '2026-06-05 02:39: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'), 46721, 'SRID=4674;POINT (-40.40517 -2.777321)', '2026-06-05 02:40:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405054 -2.777406)'), GeomFromEWKT('SRID=4674;POINT (-40.40517 -2.777321)'))) / (select extract(epoch from '2026-06-05 02:40:05'::timestamp) - extract(epoch from '2026-06-05 02:39:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405054 -2.777406)'), GeomFromEWKT('SRID=4674;POINT (-40.40517 -2.777321)'))) / (select extract(epoch from '2026-06-05 02:40:05'::timestamp) - extract(epoch from '2026-06-05 02:39: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'), 46721, 'SRID=4674;POINT (-40.405298 -2.77729)', '2026-06-05 02:40:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40517 -2.777321)'), GeomFromEWKT('SRID=4674;POINT (-40.405298 -2.77729)'))) / (select extract(epoch from '2026-06-05 02:40:12'::timestamp) - extract(epoch from '2026-06-05 02:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40517 -2.777321)'), GeomFromEWKT('SRID=4674;POINT (-40.405298 -2.77729)'))) / (select extract(epoch from '2026-06-05 02:40:12'::timestamp) - extract(epoch from '2026-06-05 02:40: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'), 46721, 'SRID=4674;POINT (-40.405431 -2.777275)', '2026-06-05 02:40:19', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405298 -2.77729)'), GeomFromEWKT('SRID=4674;POINT (-40.405431 -2.777275)'))) / (select extract(epoch from '2026-06-05 02:40:19'::timestamp) - extract(epoch from '2026-06-05 02:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405298 -2.77729)'), GeomFromEWKT('SRID=4674;POINT (-40.405431 -2.777275)'))) / (select extract(epoch from '2026-06-05 02:40:19'::timestamp) - extract(epoch from '2026-06-05 02:40: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'), 46721, 'SRID=4674;POINT (-40.40558 -2.777247)', '2026-06-05 02:40:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405431 -2.777275)'), GeomFromEWKT('SRID=4674;POINT (-40.40558 -2.777247)'))) / (select extract(epoch from '2026-06-05 02:40:27'::timestamp) - extract(epoch from '2026-06-05 02:40:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405431 -2.777275)'), GeomFromEWKT('SRID=4674;POINT (-40.40558 -2.777247)'))) / (select extract(epoch from '2026-06-05 02:40:27'::timestamp) - extract(epoch from '2026-06-05 02:40: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'), 46721, 'SRID=4674;POINT (-40.405755 -2.777206)', '2026-06-05 02:40:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40558 -2.777247)'), GeomFromEWKT('SRID=4674;POINT (-40.405755 -2.777206)'))) / (select extract(epoch from '2026-06-05 02:40:36'::timestamp) - extract(epoch from '2026-06-05 02:40:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40558 -2.777247)'), GeomFromEWKT('SRID=4674;POINT (-40.405755 -2.777206)'))) / (select extract(epoch from '2026-06-05 02:40:36'::timestamp) - extract(epoch from '2026-06-05 02:40:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.405879 -2.777175)', '2026-06-05 02:40:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405755 -2.777206)'), GeomFromEWKT('SRID=4674;POINT (-40.405879 -2.777175)'))) / (select extract(epoch from '2026-06-05 02:40:43'::timestamp) - extract(epoch from '2026-06-05 02:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405755 -2.777206)'), GeomFromEWKT('SRID=4674;POINT (-40.405879 -2.777175)'))) / (select extract(epoch from '2026-06-05 02:40:43'::timestamp) - extract(epoch from '2026-06-05 02:40: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'), 46721, 'SRID=4674;POINT (-40.406028 -2.777112)', '2026-06-05 02:40:52', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405879 -2.777175)'), GeomFromEWKT('SRID=4674;POINT (-40.406028 -2.777112)'))) / (select extract(epoch from '2026-06-05 02:40:52'::timestamp) - extract(epoch from '2026-06-05 02:40:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.405879 -2.777175)'), GeomFromEWKT('SRID=4674;POINT (-40.406028 -2.777112)'))) / (select extract(epoch from '2026-06-05 02:40:52'::timestamp) - extract(epoch from '2026-06-05 02:40:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.406163 -2.777037)', '2026-06-05 02:41:00', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406028 -2.777112)'), GeomFromEWKT('SRID=4674;POINT (-40.406163 -2.777037)'))) / (select extract(epoch from '2026-06-05 02:41:00'::timestamp) - extract(epoch from '2026-06-05 02:40:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406028 -2.777112)'), GeomFromEWKT('SRID=4674;POINT (-40.406163 -2.777037)'))) / (select extract(epoch from '2026-06-05 02:41:00'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.4063 -2.776976)', '2026-06-05 02:41:08', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406163 -2.777037)'), GeomFromEWKT('SRID=4674;POINT (-40.4063 -2.776976)'))) / (select extract(epoch from '2026-06-05 02:41:08'::timestamp) - extract(epoch from '2026-06-05 02:41:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406163 -2.777037)'), GeomFromEWKT('SRID=4674;POINT (-40.4063 -2.776976)'))) / (select extract(epoch from '2026-06-05 02:41:08'::timestamp) - extract(epoch from '2026-06-05 02:41: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'), 46721, 'SRID=4674;POINT (-40.406448 -2.776941)', '2026-06-05 02:41:16', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4063 -2.776976)'), GeomFromEWKT('SRID=4674;POINT (-40.406448 -2.776941)'))) / (select extract(epoch from '2026-06-05 02:41:16'::timestamp) - extract(epoch from '2026-06-05 02:41:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.4063 -2.776976)'), GeomFromEWKT('SRID=4674;POINT (-40.406448 -2.776941)'))) / (select extract(epoch from '2026-06-05 02:41:16'::timestamp) - extract(epoch from '2026-06-05 02:41:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.406627 -2.77692)', '2026-06-05 02:41:25', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406448 -2.776941)'), GeomFromEWKT('SRID=4674;POINT (-40.406627 -2.77692)'))) / (select extract(epoch from '2026-06-05 02:41:25'::timestamp) - extract(epoch from '2026-06-05 02:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406448 -2.776941)'), GeomFromEWKT('SRID=4674;POINT (-40.406627 -2.77692)'))) / (select extract(epoch from '2026-06-05 02:41:25'::timestamp) - extract(epoch from '2026-06-05 02:41: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'), 46721, 'SRID=4674;POINT (-40.406762 -2.776888)', '2026-06-05 02:41:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406627 -2.77692)'), GeomFromEWKT('SRID=4674;POINT (-40.406762 -2.776888)'))) / (select extract(epoch from '2026-06-05 02:41:32'::timestamp) - extract(epoch from '2026-06-05 02:41:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406627 -2.77692)'), GeomFromEWKT('SRID=4674;POINT (-40.406762 -2.776888)'))) / (select extract(epoch from '2026-06-05 02:41:32'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.406892 -2.776845)', '2026-06-05 02:41:39', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406762 -2.776888)'), GeomFromEWKT('SRID=4674;POINT (-40.406892 -2.776845)'))) / (select extract(epoch from '2026-06-05 02:41:39'::timestamp) - extract(epoch from '2026-06-05 02:41:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406762 -2.776888)'), GeomFromEWKT('SRID=4674;POINT (-40.406892 -2.776845)'))) / (select extract(epoch from '2026-06-05 02:41:39'::timestamp) - extract(epoch from '2026-06-05 02:41: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'), 46721, 'SRID=4674;POINT (-40.407049 -2.776811)', '2026-06-05 02:41:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406892 -2.776845)'), GeomFromEWKT('SRID=4674;POINT (-40.407049 -2.776811)'))) / (select extract(epoch from '2026-06-05 02:41:47'::timestamp) - extract(epoch from '2026-06-05 02:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.406892 -2.776845)'), GeomFromEWKT('SRID=4674;POINT (-40.407049 -2.776811)'))) / (select extract(epoch from '2026-06-05 02:41:47'::timestamp) - extract(epoch from '2026-06-05 02:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.407183 -2.776788)', '2026-06-05 02:41:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407049 -2.776811)'), GeomFromEWKT('SRID=4674;POINT (-40.407183 -2.776788)'))) / (select extract(epoch from '2026-06-05 02:41:54'::timestamp) - extract(epoch from '2026-06-05 02:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407049 -2.776811)'), GeomFromEWKT('SRID=4674;POINT (-40.407183 -2.776788)'))) / (select extract(epoch from '2026-06-05 02:41:54'::timestamp) - extract(epoch from '2026-06-05 02:41: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'), 46721, 'SRID=4674;POINT (-40.407345 -2.776768)', '2026-06-05 02:42:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407183 -2.776788)'), GeomFromEWKT('SRID=4674;POINT (-40.407345 -2.776768)'))) / (select extract(epoch from '2026-06-05 02:42:02'::timestamp) - extract(epoch from '2026-06-05 02:41:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407183 -2.776788)'), GeomFromEWKT('SRID=4674;POINT (-40.407345 -2.776768)'))) / (select extract(epoch from '2026-06-05 02:42:02'::timestamp) - extract(epoch from '2026-06-05 02:41: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'), 46721, 'SRID=4674;POINT (-40.40754 -2.77674)', '2026-06-05 02:42:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407345 -2.776768)'), GeomFromEWKT('SRID=4674;POINT (-40.40754 -2.77674)'))) / (select extract(epoch from '2026-06-05 02:42:12'::timestamp) - extract(epoch from '2026-06-05 02:42:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407345 -2.776768)'), GeomFromEWKT('SRID=4674;POINT (-40.40754 -2.77674)'))) / (select extract(epoch from '2026-06-05 02:42:12'::timestamp) - extract(epoch from '2026-06-05 02:42: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'), 46721, 'SRID=4674;POINT (-40.407652 -2.776703)', '2026-06-05 02:42:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40754 -2.77674)'), GeomFromEWKT('SRID=4674;POINT (-40.407652 -2.776703)'))) / (select extract(epoch from '2026-06-05 02:42:18'::timestamp) - extract(epoch from '2026-06-05 02:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.40754 -2.77674)'), GeomFromEWKT('SRID=4674;POINT (-40.407652 -2.776703)'))) / (select extract(epoch from '2026-06-05 02:42:18'::timestamp) - extract(epoch from '2026-06-05 02:42: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'), 46721, 'SRID=4674;POINT (-40.407791 -2.776621)', '2026-06-05 02:42:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407652 -2.776703)'), GeomFromEWKT('SRID=4674;POINT (-40.407791 -2.776621)'))) / (select extract(epoch from '2026-06-05 02:42:26'::timestamp) - extract(epoch from '2026-06-05 02:42:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407652 -2.776703)'), GeomFromEWKT('SRID=4674;POINT (-40.407791 -2.776621)'))) / (select extract(epoch from '2026-06-05 02:42:26'::timestamp) - extract(epoch from '2026-06-05 02:42:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.407889 -2.776551)', '2026-06-05 02:42:32', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407791 -2.776621)'), GeomFromEWKT('SRID=4674;POINT (-40.407889 -2.776551)'))) / (select extract(epoch from '2026-06-05 02:42:32'::timestamp) - extract(epoch from '2026-06-05 02:42:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407791 -2.776621)'), GeomFromEWKT('SRID=4674;POINT (-40.407889 -2.776551)'))) / (select extract(epoch from '2026-06-05 02:42:32'::timestamp) - extract(epoch from '2026-06-05 02:42: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'), 46721, 'SRID=4674;POINT (-40.407989 -2.77649)', '2026-06-05 02:42:38', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407889 -2.776551)'), GeomFromEWKT('SRID=4674;POINT (-40.407989 -2.77649)'))) / (select extract(epoch from '2026-06-05 02:42:38'::timestamp) - extract(epoch from '2026-06-05 02:42:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407889 -2.776551)'), GeomFromEWKT('SRID=4674;POINT (-40.407989 -2.77649)'))) / (select extract(epoch from '2026-06-05 02:42:38'::timestamp) - extract(epoch from '2026-06-05 02:42: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'), 46721, 'SRID=4674;POINT (-40.408088 -2.776432)', '2026-06-05 02:42:44', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407989 -2.77649)'), GeomFromEWKT('SRID=4674;POINT (-40.408088 -2.776432)'))) / (select extract(epoch from '2026-06-05 02:42:44'::timestamp) - extract(epoch from '2026-06-05 02:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.407989 -2.77649)'), GeomFromEWKT('SRID=4674;POINT (-40.408088 -2.776432)'))) / (select extract(epoch from '2026-06-05 02:42:44'::timestamp) - extract(epoch from '2026-06-05 02:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.408226 -2.776365)', '2026-06-05 02:42:52', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408088 -2.776432)'), GeomFromEWKT('SRID=4674;POINT (-40.408226 -2.776365)'))) / (select extract(epoch from '2026-06-05 02:42:52'::timestamp) - extract(epoch from '2026-06-05 02:42:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408088 -2.776432)'), GeomFromEWKT('SRID=4674;POINT (-40.408226 -2.776365)'))) / (select extract(epoch from '2026-06-05 02:42:52'::timestamp) - extract(epoch from '2026-06-05 02:42: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'), 46721, 'SRID=4674;POINT (-40.408353 -2.776303)', '2026-06-05 02:42:59', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408226 -2.776365)'), GeomFromEWKT('SRID=4674;POINT (-40.408353 -2.776303)'))) / (select extract(epoch from '2026-06-05 02:42:59'::timestamp) - extract(epoch from '2026-06-05 02:42:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408226 -2.776365)'), GeomFromEWKT('SRID=4674;POINT (-40.408353 -2.776303)'))) / (select extract(epoch from '2026-06-05 02:42:59'::timestamp) - extract(epoch from '2026-06-05 02:42: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'), 46721, 'SRID=4674;POINT (-40.408441 -2.776257)', '2026-06-05 02:43:04', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408353 -2.776303)'), GeomFromEWKT('SRID=4674;POINT (-40.408441 -2.776257)'))) / (select extract(epoch from '2026-06-05 02:43:04'::timestamp) - extract(epoch from '2026-06-05 02:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408353 -2.776303)'), GeomFromEWKT('SRID=4674;POINT (-40.408441 -2.776257)'))) / (select extract(epoch from '2026-06-05 02:43:04'::timestamp) - extract(epoch from '2026-06-05 02:42: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'), 46721, 'SRID=4674;POINT (-40.408584 -2.77619)', '2026-06-05 02:43:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408441 -2.776257)'), GeomFromEWKT('SRID=4674;POINT (-40.408584 -2.77619)'))) / (select extract(epoch from '2026-06-05 02:43:12'::timestamp) - extract(epoch from '2026-06-05 02:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408441 -2.776257)'), GeomFromEWKT('SRID=4674;POINT (-40.408584 -2.77619)'))) / (select extract(epoch from '2026-06-05 02:43:12'::timestamp) - extract(epoch from '2026-06-05 02:43:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.408735 -2.776155)', '2026-06-05 02:43:20', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408584 -2.77619)'), GeomFromEWKT('SRID=4674;POINT (-40.408735 -2.776155)'))) / (select extract(epoch from '2026-06-05 02:43:20'::timestamp) - extract(epoch from '2026-06-05 02:43:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408584 -2.77619)'), GeomFromEWKT('SRID=4674;POINT (-40.408735 -2.776155)'))) / (select extract(epoch from '2026-06-05 02:43:20'::timestamp) - extract(epoch from '2026-06-05 02:43: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'), 46721, 'SRID=4674;POINT (-40.408865 -2.776123)', '2026-06-05 02:43:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408735 -2.776155)'), GeomFromEWKT('SRID=4674;POINT (-40.408865 -2.776123)'))) / (select extract(epoch from '2026-06-05 02:43:27'::timestamp) - extract(epoch from '2026-06-05 02:43:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408735 -2.776155)'), GeomFromEWKT('SRID=4674;POINT (-40.408865 -2.776123)'))) / (select extract(epoch from '2026-06-05 02:43:27'::timestamp) - extract(epoch from '2026-06-05 02:43: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'), 46721, 'SRID=4674;POINT (-40.408985 -2.776094)', '2026-06-05 02:43:33', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408865 -2.776123)'), GeomFromEWKT('SRID=4674;POINT (-40.408985 -2.776094)'))) / (select extract(epoch from '2026-06-05 02:43:33'::timestamp) - extract(epoch from '2026-06-05 02:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408865 -2.776123)'), GeomFromEWKT('SRID=4674;POINT (-40.408985 -2.776094)'))) / (select extract(epoch from '2026-06-05 02:43:33'::timestamp) - extract(epoch from '2026-06-05 02:43: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'), 46721, 'SRID=4674;POINT (-40.409119 -2.776049)', '2026-06-05 02:43:40', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408985 -2.776094)'), GeomFromEWKT('SRID=4674;POINT (-40.409119 -2.776049)'))) / (select extract(epoch from '2026-06-05 02:43:40'::timestamp) - extract(epoch from '2026-06-05 02:43:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.408985 -2.776094)'), GeomFromEWKT('SRID=4674;POINT (-40.409119 -2.776049)'))) / (select extract(epoch from '2026-06-05 02:43:40'::timestamp) - extract(epoch from '2026-06-05 02:43: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'), 46721, 'SRID=4674;POINT (-40.409244 -2.775997)', '2026-06-05 02:43:47', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409119 -2.776049)'), GeomFromEWKT('SRID=4674;POINT (-40.409244 -2.775997)'))) / (select extract(epoch from '2026-06-05 02:43:47'::timestamp) - extract(epoch from '2026-06-05 02:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409119 -2.776049)'), GeomFromEWKT('SRID=4674;POINT (-40.409244 -2.775997)'))) / (select extract(epoch from '2026-06-05 02:43:47'::timestamp) - extract(epoch from '2026-06-05 02:43: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'), 46721, 'SRID=4674;POINT (-40.409353 -2.775943)', '2026-06-05 02:43:53', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409244 -2.775997)'), GeomFromEWKT('SRID=4674;POINT (-40.409353 -2.775943)'))) / (select extract(epoch from '2026-06-05 02:43:53'::timestamp) - extract(epoch from '2026-06-05 02:43:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409244 -2.775997)'), GeomFromEWKT('SRID=4674;POINT (-40.409353 -2.775943)'))) / (select extract(epoch from '2026-06-05 02:43:53'::timestamp) - extract(epoch from '2026-06-05 02:43: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'), 46721, 'SRID=4674;POINT (-40.409469 -2.775878)', '2026-06-05 02:44:00', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409353 -2.775943)'), GeomFromEWKT('SRID=4674;POINT (-40.409469 -2.775878)'))) / (select extract(epoch from '2026-06-05 02:44:00'::timestamp) - extract(epoch from '2026-06-05 02:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409353 -2.775943)'), GeomFromEWKT('SRID=4674;POINT (-40.409469 -2.775878)'))) / (select extract(epoch from '2026-06-05 02:44:00'::timestamp) - extract(epoch from '2026-06-05 02:43: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'), 46721, 'SRID=4674;POINT (-40.409589 -2.775813)', '2026-06-05 02:44:07', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409469 -2.775878)'), GeomFromEWKT('SRID=4674;POINT (-40.409589 -2.775813)'))) / (select extract(epoch from '2026-06-05 02:44:07'::timestamp) - extract(epoch from '2026-06-05 02:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409469 -2.775878)'), GeomFromEWKT('SRID=4674;POINT (-40.409589 -2.775813)'))) / (select extract(epoch from '2026-06-05 02:44:07'::timestamp) - extract(epoch from '2026-06-05 02:44: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'), 46721, 'SRID=4674;POINT (-40.409728 -2.77574)', '2026-06-05 02:44:15', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409589 -2.775813)'), GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.77574)'))) / (select extract(epoch from '2026-06-05 02:44:15'::timestamp) - extract(epoch from '2026-06-05 02:44:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409589 -2.775813)'), GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.77574)'))) / (select extract(epoch from '2026-06-05 02:44:15'::timestamp) - extract(epoch from '2026-06-05 02:44: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'), 46721, 'SRID=4674;POINT (-40.409815 -2.775691)', '2026-06-05 02:44:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.77574)'), GeomFromEWKT('SRID=4674;POINT (-40.409815 -2.775691)'))) / (select extract(epoch from '2026-06-05 02:44:20'::timestamp) - extract(epoch from '2026-06-05 02:44:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409728 -2.77574)'), GeomFromEWKT('SRID=4674;POINT (-40.409815 -2.775691)'))) / (select extract(epoch from '2026-06-05 02:44:20'::timestamp) - extract(epoch from '2026-06-05 02:44:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.409833 -2.775686)', '2026-06-05 02:44:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409815 -2.775691)'), GeomFromEWKT('SRID=4674;POINT (-40.409833 -2.775686)'))) / (select extract(epoch from '2026-06-05 02:44:21'::timestamp) - extract(epoch from '2026-06-05 02:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409815 -2.775691)'), GeomFromEWKT('SRID=4674;POINT (-40.409833 -2.775686)'))) / (select extract(epoch from '2026-06-05 02:44:21'::timestamp) - extract(epoch from '2026-06-05 02:44:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.409959 -2.775637)', '2026-06-05 02:44:28', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409833 -2.775686)'), GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.775637)'))) / (select extract(epoch from '2026-06-05 02:44:28'::timestamp) - extract(epoch from '2026-06-05 02:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409833 -2.775686)'), GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.775637)'))) / (select extract(epoch from '2026-06-05 02:44:28'::timestamp) - extract(epoch from '2026-06-05 02:44: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'), 46721, 'SRID=4674;POINT (-40.410057 -2.775593)', '2026-06-05 02:44:34', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.775637)'), GeomFromEWKT('SRID=4674;POINT (-40.410057 -2.775593)'))) / (select extract(epoch from '2026-06-05 02:44:34'::timestamp) - extract(epoch from '2026-06-05 02:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.409959 -2.775637)'), GeomFromEWKT('SRID=4674;POINT (-40.410057 -2.775593)'))) / (select extract(epoch from '2026-06-05 02:44:34'::timestamp) - extract(epoch from '2026-06-05 02:44: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'), 46721, 'SRID=4674;POINT (-40.410199 -2.775524)', '2026-06-05 02:44:42', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410057 -2.775593)'), GeomFromEWKT('SRID=4674;POINT (-40.410199 -2.775524)'))) / (select extract(epoch from '2026-06-05 02:44:42'::timestamp) - extract(epoch from '2026-06-05 02:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410057 -2.775593)'), GeomFromEWKT('SRID=4674;POINT (-40.410199 -2.775524)'))) / (select extract(epoch from '2026-06-05 02:44:42'::timestamp) - extract(epoch from '2026-06-05 02:44: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'), 46721, 'SRID=4674;POINT (-40.410324 -2.77546)', '2026-06-05 02:44:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410199 -2.775524)'), GeomFromEWKT('SRID=4674;POINT (-40.410324 -2.77546)'))) / (select extract(epoch from '2026-06-05 02:44:49'::timestamp) - extract(epoch from '2026-06-05 02:44:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410199 -2.775524)'), GeomFromEWKT('SRID=4674;POINT (-40.410324 -2.77546)'))) / (select extract(epoch from '2026-06-05 02:44:49'::timestamp) - extract(epoch from '2026-06-05 02:44:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.410446 -2.775392)', '2026-06-05 02:44:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410324 -2.77546)'), GeomFromEWKT('SRID=4674;POINT (-40.410446 -2.775392)'))) / (select extract(epoch from '2026-06-05 02:44:56'::timestamp) - extract(epoch from '2026-06-05 02:44:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410324 -2.77546)'), GeomFromEWKT('SRID=4674;POINT (-40.410446 -2.775392)'))) / (select extract(epoch from '2026-06-05 02:44:56'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.410596 -2.77529)', '2026-06-05 02:45:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410446 -2.775392)'), GeomFromEWKT('SRID=4674;POINT (-40.410596 -2.77529)'))) / (select extract(epoch from '2026-06-05 02:45:05'::timestamp) - extract(epoch from '2026-06-05 02:44:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410446 -2.775392)'), GeomFromEWKT('SRID=4674;POINT (-40.410596 -2.77529)'))) / (select extract(epoch from '2026-06-05 02:45:05'::timestamp) - extract(epoch from '2026-06-05 02:44:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.410692 -2.775221)', '2026-06-05 02:45:11', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410596 -2.77529)'), GeomFromEWKT('SRID=4674;POINT (-40.410692 -2.775221)'))) / (select extract(epoch from '2026-06-05 02:45:11'::timestamp) - extract(epoch from '2026-06-05 02:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410596 -2.77529)'), GeomFromEWKT('SRID=4674;POINT (-40.410692 -2.775221)'))) / (select extract(epoch from '2026-06-05 02:45:11'::timestamp) - extract(epoch from '2026-06-05 02:45:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.410796 -2.77517)', '2026-06-05 02:45:17', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410692 -2.775221)'), GeomFromEWKT('SRID=4674;POINT (-40.410796 -2.77517)'))) / (select extract(epoch from '2026-06-05 02:45:17'::timestamp) - extract(epoch from '2026-06-05 02:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410692 -2.775221)'), GeomFromEWKT('SRID=4674;POINT (-40.410796 -2.77517)'))) / (select extract(epoch from '2026-06-05 02:45:17'::timestamp) - extract(epoch from '2026-06-05 02:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.41092 -2.775116)', '2026-06-05 02:45:24', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410796 -2.77517)'), GeomFromEWKT('SRID=4674;POINT (-40.41092 -2.775116)'))) / (select extract(epoch from '2026-06-05 02:45:24'::timestamp) - extract(epoch from '2026-06-05 02:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.410796 -2.77517)'), GeomFromEWKT('SRID=4674;POINT (-40.41092 -2.775116)'))) / (select extract(epoch from '2026-06-05 02:45:24'::timestamp) - extract(epoch from '2026-06-05 02:45:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.411029 -2.775037)', '2026-06-05 02:45:31', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41092 -2.775116)'), GeomFromEWKT('SRID=4674;POINT (-40.411029 -2.775037)'))) / (select extract(epoch from '2026-06-05 02:45:31'::timestamp) - extract(epoch from '2026-06-05 02:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41092 -2.775116)'), GeomFromEWKT('SRID=4674;POINT (-40.411029 -2.775037)'))) / (select extract(epoch from '2026-06-05 02:45:31'::timestamp) - extract(epoch from '2026-06-05 02:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.411114 -2.774957)', '2026-06-05 02:45:37', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411029 -2.775037)'), GeomFromEWKT('SRID=4674;POINT (-40.411114 -2.774957)'))) / (select extract(epoch from '2026-06-05 02:45:37'::timestamp) - extract(epoch from '2026-06-05 02:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411029 -2.775037)'), GeomFromEWKT('SRID=4674;POINT (-40.411114 -2.774957)'))) / (select extract(epoch from '2026-06-05 02:45:37'::timestamp) - extract(epoch from '2026-06-05 02:45:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.41118 -2.774888)', '2026-06-05 02:45:42', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411114 -2.774957)'), GeomFromEWKT('SRID=4674;POINT (-40.41118 -2.774888)'))) / (select extract(epoch from '2026-06-05 02:45:42'::timestamp) - extract(epoch from '2026-06-05 02:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411114 -2.774957)'), GeomFromEWKT('SRID=4674;POINT (-40.41118 -2.774888)'))) / (select extract(epoch from '2026-06-05 02:45:42'::timestamp) - extract(epoch from '2026-06-05 02:45: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'), 46721, 'SRID=4674;POINT (-40.411248 -2.774803)', '2026-06-05 02:45:48', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41118 -2.774888)'), GeomFromEWKT('SRID=4674;POINT (-40.411248 -2.774803)'))) / (select extract(epoch from '2026-06-05 02:45:48'::timestamp) - extract(epoch from '2026-06-05 02:45:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41118 -2.774888)'), GeomFromEWKT('SRID=4674;POINT (-40.411248 -2.774803)'))) / (select extract(epoch from '2026-06-05 02:45:48'::timestamp) - extract(epoch from '2026-06-05 02:45: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'), 46721, 'SRID=4674;POINT (-40.41136 -2.774704)', '2026-06-05 02:45:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411248 -2.774803)'), GeomFromEWKT('SRID=4674;POINT (-40.41136 -2.774704)'))) / (select extract(epoch from '2026-06-05 02:45:56'::timestamp) - extract(epoch from '2026-06-05 02:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411248 -2.774803)'), GeomFromEWKT('SRID=4674;POINT (-40.41136 -2.774704)'))) / (select extract(epoch from '2026-06-05 02:45:56'::timestamp) - extract(epoch from '2026-06-05 02:45:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.411472 -2.774639)', '2026-06-05 02:46:03', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41136 -2.774704)'), GeomFromEWKT('SRID=4674;POINT (-40.411472 -2.774639)'))) / (select extract(epoch from '2026-06-05 02:46:03'::timestamp) - extract(epoch from '2026-06-05 02:45:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41136 -2.774704)'), GeomFromEWKT('SRID=4674;POINT (-40.411472 -2.774639)'))) / (select extract(epoch from '2026-06-05 02:46:03'::timestamp) - extract(epoch from '2026-06-05 02:45:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.411504 -2.774622)', '2026-06-05 02:46:05', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411472 -2.774639)'), GeomFromEWKT('SRID=4674;POINT (-40.411504 -2.774622)'))) / (select extract(epoch from '2026-06-05 02:46:05'::timestamp) - extract(epoch from '2026-06-05 02:46:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411472 -2.774639)'), GeomFromEWKT('SRID=4674;POINT (-40.411504 -2.774622)'))) / (select extract(epoch from '2026-06-05 02:46:05'::timestamp) - extract(epoch from '2026-06-05 02:46:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.411557 -2.774603)', '2026-06-05 02:46:08', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411504 -2.774622)'), GeomFromEWKT('SRID=4674;POINT (-40.411557 -2.774603)'))) / (select extract(epoch from '2026-06-05 02:46:08'::timestamp) - extract(epoch from '2026-06-05 02:46:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411504 -2.774622)'), GeomFromEWKT('SRID=4674;POINT (-40.411557 -2.774603)'))) / (select extract(epoch from '2026-06-05 02:46:08'::timestamp) - extract(epoch from '2026-06-05 02:46:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.411682 -2.774554)', '2026-06-05 02:46:15', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411557 -2.774603)'), GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.774554)'))) / (select extract(epoch from '2026-06-05 02:46:15'::timestamp) - extract(epoch from '2026-06-05 02:46:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411557 -2.774603)'), GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.774554)'))) / (select extract(epoch from '2026-06-05 02:46:15'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.411834 -2.774504)', '2026-06-05 02:46:23', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.774554)'), GeomFromEWKT('SRID=4674;POINT (-40.411834 -2.774504)'))) / (select extract(epoch from '2026-06-05 02:46:23'::timestamp) - extract(epoch from '2026-06-05 02:46:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411682 -2.774554)'), GeomFromEWKT('SRID=4674;POINT (-40.411834 -2.774504)'))) / (select extract(epoch from '2026-06-05 02:46:23'::timestamp) - extract(epoch from '2026-06-05 02:46: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'), 46721, 'SRID=4674;POINT (-40.411948 -2.774474)', '2026-06-05 02:46:29', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411834 -2.774504)'), GeomFromEWKT('SRID=4674;POINT (-40.411948 -2.774474)'))) / (select extract(epoch from '2026-06-05 02:46:29'::timestamp) - extract(epoch from '2026-06-05 02:46:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411834 -2.774504)'), GeomFromEWKT('SRID=4674;POINT (-40.411948 -2.774474)'))) / (select extract(epoch from '2026-06-05 02:46:29'::timestamp) - extract(epoch from '2026-06-05 02:46: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'), 46721, 'SRID=4674;POINT (-40.412082 -2.774454)', '2026-06-05 02:46:36', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411948 -2.774474)'), GeomFromEWKT('SRID=4674;POINT (-40.412082 -2.774454)'))) / (select extract(epoch from '2026-06-05 02:46:36'::timestamp) - extract(epoch from '2026-06-05 02:46:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.411948 -2.774474)'), GeomFromEWKT('SRID=4674;POINT (-40.412082 -2.774454)'))) / (select extract(epoch from '2026-06-05 02:46:36'::timestamp) - extract(epoch from '2026-06-05 02:46:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.412197 -2.774451)', '2026-06-05 02:46:42', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412082 -2.774454)'), GeomFromEWKT('SRID=4674;POINT (-40.412197 -2.774451)'))) / (select extract(epoch from '2026-06-05 02:46:42'::timestamp) - extract(epoch from '2026-06-05 02:46:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412082 -2.774454)'), GeomFromEWKT('SRID=4674;POINT (-40.412197 -2.774451)'))) / (select extract(epoch from '2026-06-05 02:46:42'::timestamp) - extract(epoch from '2026-06-05 02:46: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'), 46721, 'SRID=4674;POINT (-40.412353 -2.774461)', '2026-06-05 02:46:50', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412197 -2.774451)'), GeomFromEWKT('SRID=4674;POINT (-40.412353 -2.774461)'))) / (select extract(epoch from '2026-06-05 02:46:50'::timestamp) - extract(epoch from '2026-06-05 02:46:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412197 -2.774451)'), GeomFromEWKT('SRID=4674;POINT (-40.412353 -2.774461)'))) / (select extract(epoch from '2026-06-05 02:46:50'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.412468 -2.774471)', '2026-06-05 02:46:56', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412353 -2.774461)'), GeomFromEWKT('SRID=4674;POINT (-40.412468 -2.774471)'))) / (select extract(epoch from '2026-06-05 02:46:56'::timestamp) - extract(epoch from '2026-06-05 02:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412353 -2.774461)'), GeomFromEWKT('SRID=4674;POINT (-40.412468 -2.774471)'))) / (select extract(epoch from '2026-06-05 02:46:56'::timestamp) - extract(epoch from '2026-06-05 02:46: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'), 46721, 'SRID=4674;POINT (-40.412603 -2.774464)', '2026-06-05 02:47:03', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412468 -2.774471)'), GeomFromEWKT('SRID=4674;POINT (-40.412603 -2.774464)'))) / (select extract(epoch from '2026-06-05 02:47:03'::timestamp) - extract(epoch from '2026-06-05 02:46:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412468 -2.774471)'), GeomFromEWKT('SRID=4674;POINT (-40.412603 -2.774464)'))) / (select extract(epoch from '2026-06-05 02:47:03'::timestamp) - extract(epoch from '2026-06-05 02:46: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'), 46721, 'SRID=4674;POINT (-40.412734 -2.774429)', '2026-06-05 02:47:10', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412603 -2.774464)'), GeomFromEWKT('SRID=4674;POINT (-40.412734 -2.774429)'))) / (select extract(epoch from '2026-06-05 02:47:10'::timestamp) - extract(epoch from '2026-06-05 02:47:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412603 -2.774464)'), GeomFromEWKT('SRID=4674;POINT (-40.412734 -2.774429)'))) / (select extract(epoch from '2026-06-05 02:47:10'::timestamp) - extract(epoch from '2026-06-05 02:47:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.412842 -2.774401)', '2026-06-05 02:47:16', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412734 -2.774429)'), GeomFromEWKT('SRID=4674;POINT (-40.412842 -2.774401)'))) / (select extract(epoch from '2026-06-05 02:47:16'::timestamp) - extract(epoch from '2026-06-05 02:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412734 -2.774429)'), GeomFromEWKT('SRID=4674;POINT (-40.412842 -2.774401)'))) / (select extract(epoch from '2026-06-05 02:47:16'::timestamp) - extract(epoch from '2026-06-05 02:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.412962 -2.774381)', '2026-06-05 02:47:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412842 -2.774401)'), GeomFromEWKT('SRID=4674;POINT (-40.412962 -2.774381)'))) / (select extract(epoch from '2026-06-05 02:47:22'::timestamp) - extract(epoch from '2026-06-05 02:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412842 -2.774401)'), GeomFromEWKT('SRID=4674;POINT (-40.412962 -2.774381)'))) / (select extract(epoch from '2026-06-05 02:47:22'::timestamp) - extract(epoch from '2026-06-05 02:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.413116 -2.774351)', '2026-06-05 02:47:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412962 -2.774381)'), GeomFromEWKT('SRID=4674;POINT (-40.413116 -2.774351)'))) / (select extract(epoch from '2026-06-05 02:47:30'::timestamp) - extract(epoch from '2026-06-05 02:47:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.412962 -2.774381)'), GeomFromEWKT('SRID=4674;POINT (-40.413116 -2.774351)'))) / (select extract(epoch from '2026-06-05 02:47:30'::timestamp) - extract(epoch from '2026-06-05 02:47: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'), 46721, 'SRID=4674;POINT (-40.413252 -2.774327)', '2026-06-05 02:47:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413116 -2.774351)'), GeomFromEWKT('SRID=4674;POINT (-40.413252 -2.774327)'))) / (select extract(epoch from '2026-06-05 02:47:37'::timestamp) - extract(epoch from '2026-06-05 02:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413116 -2.774351)'), GeomFromEWKT('SRID=4674;POINT (-40.413252 -2.774327)'))) / (select extract(epoch from '2026-06-05 02:47:37'::timestamp) - extract(epoch from '2026-06-05 02:47: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'), 46721, 'SRID=4674;POINT (-40.413383 -2.774281)', '2026-06-05 02:47:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413252 -2.774327)'), GeomFromEWKT('SRID=4674;POINT (-40.413383 -2.774281)'))) / (select extract(epoch from '2026-06-05 02:47:44'::timestamp) - extract(epoch from '2026-06-05 02:47:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413252 -2.774327)'), GeomFromEWKT('SRID=4674;POINT (-40.413383 -2.774281)'))) / (select extract(epoch from '2026-06-05 02:47:44'::timestamp) - extract(epoch from '2026-06-05 02:47: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'), 46721, 'SRID=4674;POINT (-40.413499 -2.774243)', '2026-06-05 02:47:50', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413383 -2.774281)'), GeomFromEWKT('SRID=4674;POINT (-40.413499 -2.774243)'))) / (select extract(epoch from '2026-06-05 02:47:50'::timestamp) - extract(epoch from '2026-06-05 02:47:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413383 -2.774281)'), GeomFromEWKT('SRID=4674;POINT (-40.413499 -2.774243)'))) / (select extract(epoch from '2026-06-05 02:47:50'::timestamp) - extract(epoch from '2026-06-05 02:47: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'), 46721, 'SRID=4674;POINT (-40.413639 -2.774208)', '2026-06-05 02:47:57', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413499 -2.774243)'), GeomFromEWKT('SRID=4674;POINT (-40.413639 -2.774208)'))) / (select extract(epoch from '2026-06-05 02:47:57'::timestamp) - extract(epoch from '2026-06-05 02:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413499 -2.774243)'), GeomFromEWKT('SRID=4674;POINT (-40.413639 -2.774208)'))) / (select extract(epoch from '2026-06-05 02:47:57'::timestamp) - extract(epoch from '2026-06-05 02:47: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'), 46721, 'SRID=4674;POINT (-40.413765 -2.774197)', '2026-06-05 02:48:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413639 -2.774208)'), GeomFromEWKT('SRID=4674;POINT (-40.413765 -2.774197)'))) / (select extract(epoch from '2026-06-05 02:48:04'::timestamp) - extract(epoch from '2026-06-05 02:47:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413639 -2.774208)'), GeomFromEWKT('SRID=4674;POINT (-40.413765 -2.774197)'))) / (select extract(epoch from '2026-06-05 02:48:04'::timestamp) - extract(epoch from '2026-06-05 02:47:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.413908 -2.774169)', '2026-06-05 02:48:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413765 -2.774197)'), GeomFromEWKT('SRID=4674;POINT (-40.413908 -2.774169)'))) / (select extract(epoch from '2026-06-05 02:48:12'::timestamp) - extract(epoch from '2026-06-05 02:48:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413765 -2.774197)'), GeomFromEWKT('SRID=4674;POINT (-40.413908 -2.774169)'))) / (select extract(epoch from '2026-06-05 02:48:12'::timestamp) - extract(epoch from '2026-06-05 02:48: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'), 46721, 'SRID=4674;POINT (-40.414038 -2.774128)', '2026-06-05 02:48:19', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413908 -2.774169)'), GeomFromEWKT('SRID=4674;POINT (-40.414038 -2.774128)'))) / (select extract(epoch from '2026-06-05 02:48:19'::timestamp) - extract(epoch from '2026-06-05 02:48:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.413908 -2.774169)'), GeomFromEWKT('SRID=4674;POINT (-40.414038 -2.774128)'))) / (select extract(epoch from '2026-06-05 02:48:19'::timestamp) - extract(epoch from '2026-06-05 02:48: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'), 46721, 'SRID=4674;POINT (-40.414166 -2.774077)', '2026-06-05 02:48:26', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414038 -2.774128)'), GeomFromEWKT('SRID=4674;POINT (-40.414166 -2.774077)'))) / (select extract(epoch from '2026-06-05 02:48:26'::timestamp) - extract(epoch from '2026-06-05 02:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414038 -2.774128)'), GeomFromEWKT('SRID=4674;POINT (-40.414166 -2.774077)'))) / (select extract(epoch from '2026-06-05 02:48:26'::timestamp) - extract(epoch from '2026-06-05 02:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.414282 -2.774056)', '2026-06-05 02:48:32', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414166 -2.774077)'), GeomFromEWKT('SRID=4674;POINT (-40.414282 -2.774056)'))) / (select extract(epoch from '2026-06-05 02:48:32'::timestamp) - extract(epoch from '2026-06-05 02:48:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414166 -2.774077)'), GeomFromEWKT('SRID=4674;POINT (-40.414282 -2.774056)'))) / (select extract(epoch from '2026-06-05 02:48:32'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.414392 -2.774032)', '2026-06-05 02:48:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414282 -2.774056)'), GeomFromEWKT('SRID=4674;POINT (-40.414392 -2.774032)'))) / (select extract(epoch from '2026-06-05 02:48:38'::timestamp) - extract(epoch from '2026-06-05 02:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414282 -2.774056)'), GeomFromEWKT('SRID=4674;POINT (-40.414392 -2.774032)'))) / (select extract(epoch from '2026-06-05 02:48:38'::timestamp) - extract(epoch from '2026-06-05 02:48: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'), 46721, 'SRID=4674;POINT (-40.414518 -2.77402)', '2026-06-05 02:48:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414392 -2.774032)'), GeomFromEWKT('SRID=4674;POINT (-40.414518 -2.77402)'))) / (select extract(epoch from '2026-06-05 02:48:45'::timestamp) - extract(epoch from '2026-06-05 02:48:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414392 -2.774032)'), GeomFromEWKT('SRID=4674;POINT (-40.414518 -2.77402)'))) / (select extract(epoch from '2026-06-05 02:48:45'::timestamp) - extract(epoch from '2026-06-05 02:48: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'), 46721, 'SRID=4674;POINT (-40.414643 -2.774001)', '2026-06-05 02:48:52', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414518 -2.77402)'), GeomFromEWKT('SRID=4674;POINT (-40.414643 -2.774001)'))) / (select extract(epoch from '2026-06-05 02:48:52'::timestamp) - extract(epoch from '2026-06-05 02:48:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414518 -2.77402)'), GeomFromEWKT('SRID=4674;POINT (-40.414643 -2.774001)'))) / (select extract(epoch from '2026-06-05 02:48:52'::timestamp) - extract(epoch from '2026-06-05 02:48: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'), 46721, 'SRID=4674;POINT (-40.414785 -2.773988)', '2026-06-05 02:48:59', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414643 -2.774001)'), GeomFromEWKT('SRID=4674;POINT (-40.414785 -2.773988)'))) / (select extract(epoch from '2026-06-05 02:48:59'::timestamp) - extract(epoch from '2026-06-05 02:48:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414643 -2.774001)'), GeomFromEWKT('SRID=4674;POINT (-40.414785 -2.773988)'))) / (select extract(epoch from '2026-06-05 02:48:59'::timestamp) - extract(epoch from '2026-06-05 02:48:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.41493 -2.77396)', '2026-06-05 02:49:07', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414785 -2.773988)'), GeomFromEWKT('SRID=4674;POINT (-40.41493 -2.77396)'))) / (select extract(epoch from '2026-06-05 02:49:07'::timestamp) - extract(epoch from '2026-06-05 02:48:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.414785 -2.773988)'), GeomFromEWKT('SRID=4674;POINT (-40.41493 -2.77396)'))) / (select extract(epoch from '2026-06-05 02:49:07'::timestamp) - extract(epoch from '2026-06-05 02:48:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.415054 -2.773919)', '2026-06-05 02:49:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41493 -2.77396)'), GeomFromEWKT('SRID=4674;POINT (-40.415054 -2.773919)'))) / (select extract(epoch from '2026-06-05 02:49:14'::timestamp) - extract(epoch from '2026-06-05 02:49:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41493 -2.77396)'), GeomFromEWKT('SRID=4674;POINT (-40.415054 -2.773919)'))) / (select extract(epoch from '2026-06-05 02:49:14'::timestamp) - extract(epoch from '2026-06-05 02:49: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'), 46721, 'SRID=4674;POINT (-40.415163 -2.77388)', '2026-06-05 02:49:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415054 -2.773919)'), GeomFromEWKT('SRID=4674;POINT (-40.415163 -2.77388)'))) / (select extract(epoch from '2026-06-05 02:49:20'::timestamp) - extract(epoch from '2026-06-05 02:49:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415054 -2.773919)'), GeomFromEWKT('SRID=4674;POINT (-40.415163 -2.77388)'))) / (select extract(epoch from '2026-06-05 02:49:20'::timestamp) - extract(epoch from '2026-06-05 02:49:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.415353 -2.773808)', '2026-06-05 02:49:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415163 -2.77388)'), GeomFromEWKT('SRID=4674;POINT (-40.415353 -2.773808)'))) / (select extract(epoch from '2026-06-05 02:49:31'::timestamp) - extract(epoch from '2026-06-05 02:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415163 -2.77388)'), GeomFromEWKT('SRID=4674;POINT (-40.415353 -2.773808)'))) / (select extract(epoch from '2026-06-05 02:49:31'::timestamp) - extract(epoch from '2026-06-05 02:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.415485 -2.773791)', '2026-06-05 02:49:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415353 -2.773808)'), GeomFromEWKT('SRID=4674;POINT (-40.415485 -2.773791)'))) / (select extract(epoch from '2026-06-05 02:49:38'::timestamp) - extract(epoch from '2026-06-05 02:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415353 -2.773808)'), GeomFromEWKT('SRID=4674;POINT (-40.415485 -2.773791)'))) / (select extract(epoch from '2026-06-05 02:49:38'::timestamp) - extract(epoch from '2026-06-05 02:49: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'), 46721, 'SRID=4674;POINT (-40.415633 -2.773775)', '2026-06-05 02:49:46', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415485 -2.773791)'), GeomFromEWKT('SRID=4674;POINT (-40.415633 -2.773775)'))) / (select extract(epoch from '2026-06-05 02:49:46'::timestamp) - extract(epoch from '2026-06-05 02:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415485 -2.773791)'), GeomFromEWKT('SRID=4674;POINT (-40.415633 -2.773775)'))) / (select extract(epoch from '2026-06-05 02:49:46'::timestamp) - extract(epoch from '2026-06-05 02:49: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'), 46721, 'SRID=4674;POINT (-40.415777 -2.773735)', '2026-06-05 02:49:54', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415633 -2.773775)'), GeomFromEWKT('SRID=4674;POINT (-40.415777 -2.773735)'))) / (select extract(epoch from '2026-06-05 02:49:54'::timestamp) - extract(epoch from '2026-06-05 02:49:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415633 -2.773775)'), GeomFromEWKT('SRID=4674;POINT (-40.415777 -2.773735)'))) / (select extract(epoch from '2026-06-05 02:49:54'::timestamp) - extract(epoch from '2026-06-05 02:49:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.415894 -2.773698)', '2026-06-05 02:50:00', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415777 -2.773735)'), GeomFromEWKT('SRID=4674;POINT (-40.415894 -2.773698)'))) / (select extract(epoch from '2026-06-05 02:50:00'::timestamp) - extract(epoch from '2026-06-05 02:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415777 -2.773735)'), GeomFromEWKT('SRID=4674;POINT (-40.415894 -2.773698)'))) / (select extract(epoch from '2026-06-05 02:50:00'::timestamp) - extract(epoch from '2026-06-05 02:49: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'), 46721, 'SRID=4674;POINT (-40.41602 -2.773649)', '2026-06-05 02:50:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415894 -2.773698)'), GeomFromEWKT('SRID=4674;POINT (-40.41602 -2.773649)'))) / (select extract(epoch from '2026-06-05 02:50:07'::timestamp) - extract(epoch from '2026-06-05 02:50:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.415894 -2.773698)'), GeomFromEWKT('SRID=4674;POINT (-40.41602 -2.773649)'))) / (select extract(epoch from '2026-06-05 02:50:07'::timestamp) - extract(epoch from '2026-06-05 02:50:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.41612 -2.773634)', '2026-06-05 02:50:12', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41602 -2.773649)'), GeomFromEWKT('SRID=4674;POINT (-40.41612 -2.773634)'))) / (select extract(epoch from '2026-06-05 02:50:12'::timestamp) - extract(epoch from '2026-06-05 02:50:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41602 -2.773649)'), GeomFromEWKT('SRID=4674;POINT (-40.41612 -2.773634)'))) / (select extract(epoch from '2026-06-05 02:50:12'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.416307 -2.773616)', '2026-06-05 02:50:22', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41612 -2.773634)'), GeomFromEWKT('SRID=4674;POINT (-40.416307 -2.773616)'))) / (select extract(epoch from '2026-06-05 02:50:22'::timestamp) - extract(epoch from '2026-06-05 02:50:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.41612 -2.773634)'), GeomFromEWKT('SRID=4674;POINT (-40.416307 -2.773616)'))) / (select extract(epoch from '2026-06-05 02:50:22'::timestamp) - extract(epoch from '2026-06-05 02:50: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'), 46721, 'SRID=4674;POINT (-40.416448 -2.773614)', '2026-06-05 02:50:29', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416307 -2.773616)'), GeomFromEWKT('SRID=4674;POINT (-40.416448 -2.773614)'))) / (select extract(epoch from '2026-06-05 02:50:29'::timestamp) - extract(epoch from '2026-06-05 02:50:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416307 -2.773616)'), GeomFromEWKT('SRID=4674;POINT (-40.416448 -2.773614)'))) / (select extract(epoch from '2026-06-05 02:50:29'::timestamp) - extract(epoch from '2026-06-05 02:50: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'), 46721, 'SRID=4674;POINT (-40.416542 -2.773598)', '2026-06-05 02:50:34', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416448 -2.773614)'), GeomFromEWKT('SRID=4674;POINT (-40.416542 -2.773598)'))) / (select extract(epoch from '2026-06-05 02:50:34'::timestamp) - extract(epoch from '2026-06-05 02:50:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416448 -2.773614)'), GeomFromEWKT('SRID=4674;POINT (-40.416542 -2.773598)'))) / (select extract(epoch from '2026-06-05 02:50:34'::timestamp) - extract(epoch from '2026-06-05 02:50:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.416673 -2.773565)', '2026-06-05 02:50:41', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416542 -2.773598)'), GeomFromEWKT('SRID=4674;POINT (-40.416673 -2.773565)'))) / (select extract(epoch from '2026-06-05 02:50:41'::timestamp) - extract(epoch from '2026-06-05 02:50:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416542 -2.773598)'), GeomFromEWKT('SRID=4674;POINT (-40.416673 -2.773565)'))) / (select extract(epoch from '2026-06-05 02:50:41'::timestamp) - extract(epoch from '2026-06-05 02:50:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.416824 -2.773513)', '2026-06-05 02:50:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416673 -2.773565)'), GeomFromEWKT('SRID=4674;POINT (-40.416824 -2.773513)'))) / (select extract(epoch from '2026-06-05 02:50:49'::timestamp) - extract(epoch from '2026-06-05 02:50:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416673 -2.773565)'), GeomFromEWKT('SRID=4674;POINT (-40.416824 -2.773513)'))) / (select extract(epoch from '2026-06-05 02:50:49'::timestamp) - extract(epoch from '2026-06-05 02:50:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46721, 'SRID=4674;POINT (-40.416956 -2.77347)', '2026-06-05 02:50:56', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416824 -2.773513)'), GeomFromEWKT('SRID=4674;POINT (-40.416956 -2.77347)'))) / (select extract(epoch from '2026-06-05 02:50:56'::timestamp) - extract(epoch from '2026-06-05 02:50:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416824 -2.773513)'), GeomFromEWKT('SRID=4674;POINT (-40.416956 -2.77347)'))) / (select extract(epoch from '2026-06-05 02:50:56'::timestamp) - extract(epoch from '2026-06-05 02:50: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'), 46721, 'SRID=4674;POINT (-40.417114 -2.773433)', '2026-06-05 02:51:04', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416956 -2.77347)'), GeomFromEWKT('SRID=4674;POINT (-40.417114 -2.773433)'))) / (select extract(epoch from '2026-06-05 02:51:04'::timestamp) - extract(epoch from '2026-06-05 02:50:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.416956 -2.77347)'), GeomFromEWKT('SRID=4674;POINT (-40.417114 -2.773433)'))) / (select extract(epoch from '2026-06-05 02:51:04'::timestamp) - extract(epoch from '2026-06-05 02:50: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'), 46721, 'SRID=4674;POINT (-40.417272 -2.773422)', '2026-06-05 02:51:12', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417114 -2.773433)'), GeomFromEWKT('SRID=4674;POINT (-40.417272 -2.773422)'))) / (select extract(epoch from '2026-06-05 02:51:12'::timestamp) - extract(epoch from '2026-06-05 02:51:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417114 -2.773433)'), GeomFromEWKT('SRID=4674;POINT (-40.417272 -2.773422)'))) / (select extract(epoch from '2026-06-05 02:51:12'::timestamp) - extract(epoch from '2026-06-05 02: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'), 46721, 'SRID=4674;POINT (-40.417447 -2.773414)', '2026-06-05 02:51:21', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417272 -2.773422)'), GeomFromEWKT('SRID=4674;POINT (-40.417447 -2.773414)'))) / (select extract(epoch from '2026-06-05 02:51:21'::timestamp) - extract(epoch from '2026-06-05 02:51:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417272 -2.773422)'), GeomFromEWKT('SRID=4674;POINT (-40.417447 -2.773414)'))) / (select extract(epoch from '2026-06-05 02:51:21'::timestamp) - extract(epoch from '2026-06-05 02:51: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'), 46721, 'SRID=4674;POINT (-40.417582 -2.773405)', '2026-06-05 02:51:28', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417447 -2.773414)'), GeomFromEWKT('SRID=4674;POINT (-40.417582 -2.773405)'))) / (select extract(epoch from '2026-06-05 02:51:28'::timestamp) - extract(epoch from '2026-06-05 02:51:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417447 -2.773414)'), GeomFromEWKT('SRID=4674;POINT (-40.417582 -2.773405)'))) / (select extract(epoch from '2026-06-05 02:51:28'::timestamp) - extract(epoch from '2026-06-05 02:51: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'), 46721, 'SRID=4674;POINT (-40.417712 -2.773359)', '2026-06-05 02:51:35', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417582 -2.773405)'), GeomFromEWKT('SRID=4674;POINT (-40.417712 -2.773359)'))) / (select extract(epoch from '2026-06-05 02:51:35'::timestamp) - extract(epoch from '2026-06-05 02:51:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417582 -2.773405)'), GeomFromEWKT('SRID=4674;POINT (-40.417712 -2.773359)'))) / (select extract(epoch from '2026-06-05 02:51:35'::timestamp) - extract(epoch from '2026-06-05 02:51: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'), 46721, 'SRID=4674;POINT (-40.417834 -2.773295)', '2026-06-05 02:51:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417712 -2.773359)'), GeomFromEWKT('SRID=4674;POINT (-40.417834 -2.773295)'))) / (select extract(epoch from '2026-06-05 02:51:42'::timestamp) - extract(epoch from '2026-06-05 02:51:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417712 -2.773359)'), GeomFromEWKT('SRID=4674;POINT (-40.417834 -2.773295)'))) / (select extract(epoch from '2026-06-05 02:51:42'::timestamp) - extract(epoch from '2026-06-05 02:51: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'), 46721, 'SRID=4674;POINT (-40.417943 -2.773247)', '2026-06-05 02:51:48', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417834 -2.773295)'), GeomFromEWKT('SRID=4674;POINT (-40.417943 -2.773247)'))) / (select extract(epoch from '2026-06-05 02:51:48'::timestamp) - extract(epoch from '2026-06-05 02:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417834 -2.773295)'), GeomFromEWKT('SRID=4674;POINT (-40.417943 -2.773247)'))) / (select extract(epoch from '2026-06-05 02:51:48'::timestamp) - extract(epoch from '2026-06-05 02:51: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'), 46721, 'SRID=4674;POINT (-40.418065 -2.77319)', '2026-06-05 02:51:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417943 -2.773247)'), GeomFromEWKT('SRID=4674;POINT (-40.418065 -2.77319)'))) / (select extract(epoch from '2026-06-05 02:51:55'::timestamp) - extract(epoch from '2026-06-05 02:51:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.417943 -2.773247)'), GeomFromEWKT('SRID=4674;POINT (-40.418065 -2.77319)'))) / (select extract(epoch from '2026-06-05 02:51:55'::timestamp) - extract(epoch from '2026-06-05 02:51:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
