 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.32351 -2.79049)', '2026-06-25 04:17:07', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323512 -2.790499)'), GeomFromEWKT('SRID=4674;POINT (-40.32351 -2.79049)'))) / (select extract(epoch from '2026-06-25 04:17:07'::timestamp) - extract(epoch from '2026-06-25 04:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323512 -2.790499)'), GeomFromEWKT('SRID=4674;POINT (-40.32351 -2.79049)'))) / (select extract(epoch from '2026-06-25 04:17:07'::timestamp) - extract(epoch from '2026-06-25 04:16: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'), 46709, 'SRID=4674;POINT (-40.323513 -2.790499)', '2026-06-25 04:17:14', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32351 -2.79049)'), GeomFromEWKT('SRID=4674;POINT (-40.323513 -2.790499)'))) / (select extract(epoch from '2026-06-25 04:17:14'::timestamp) - extract(epoch from '2026-06-25 04:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32351 -2.79049)'), GeomFromEWKT('SRID=4674;POINT (-40.323513 -2.790499)'))) / (select extract(epoch from '2026-06-25 04:17:14'::timestamp) - extract(epoch from '2026-06-25 04:17: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'), 46709, 'SRID=4674;POINT (-40.323504 -2.790479)', '2026-06-25 04:17:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323513 -2.790499)'), GeomFromEWKT('SRID=4674;POINT (-40.323504 -2.790479)'))) / (select extract(epoch from '2026-06-25 04:17:33'::timestamp) - extract(epoch from '2026-06-25 04:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323513 -2.790499)'), GeomFromEWKT('SRID=4674;POINT (-40.323504 -2.790479)'))) / (select extract(epoch from '2026-06-25 04:17:33'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.323509 -2.79049)', '2026-06-25 04:17:47', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323504 -2.790479)'), GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.79049)'))) / (select extract(epoch from '2026-06-25 04:17:47'::timestamp) - extract(epoch from '2026-06-25 04:17:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323504 -2.790479)'), GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.79049)'))) / (select extract(epoch from '2026-06-25 04:17:47'::timestamp) - extract(epoch from '2026-06-25 04:17: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'), 46709, 'SRID=4674;POINT (-40.323514 -2.790501)', '2026-06-25 04:18:03', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.79049)'), GeomFromEWKT('SRID=4674;POINT (-40.323514 -2.790501)'))) / (select extract(epoch from '2026-06-25 04:18:03'::timestamp) - extract(epoch from '2026-06-25 04:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.79049)'), GeomFromEWKT('SRID=4674;POINT (-40.323514 -2.790501)'))) / (select extract(epoch from '2026-06-25 04:18:03'::timestamp) - extract(epoch from '2026-06-25 04:17: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'), 46709, 'SRID=4674;POINT (-40.323531 -2.790515)', '2026-06-25 04:18:24', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323514 -2.790501)'), GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790515)'))) / (select extract(epoch from '2026-06-25 04:18:24'::timestamp) - extract(epoch from '2026-06-25 04:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323514 -2.790501)'), GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790515)'))) / (select extract(epoch from '2026-06-25 04:18:24'::timestamp) - extract(epoch from '2026-06-25 04:18: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'), 46709, 'SRID=4674;POINT (-40.323534 -2.790517)', '2026-06-25 04:18:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790515)'), GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790517)'))) / (select extract(epoch from '2026-06-25 04:18:36'::timestamp) - extract(epoch from '2026-06-25 04:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790515)'), GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790517)'))) / (select extract(epoch from '2026-06-25 04:18:36'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.32353 -2.790518)', '2026-06-25 04:18:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790517)'), GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790518)'))) / (select extract(epoch from '2026-06-25 04:18:46'::timestamp) - extract(epoch from '2026-06-25 04:18:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790517)'), GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790518)'))) / (select extract(epoch from '2026-06-25 04:18:46'::timestamp) - extract(epoch from '2026-06-25 04:18: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'), 46709, 'SRID=4674;POINT (-40.323532 -2.790516)', '2026-06-25 04:19:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790518)'), GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.790516)'))) / (select extract(epoch from '2026-06-25 04:19:00'::timestamp) - extract(epoch from '2026-06-25 04:18:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790518)'), GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.790516)'))) / (select extract(epoch from '2026-06-25 04:19:00'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.32354 -2.790526)', '2026-06-25 04:19:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.790516)'), GeomFromEWKT('SRID=4674;POINT (-40.32354 -2.790526)'))) / (select extract(epoch from '2026-06-25 04:19:15'::timestamp) - extract(epoch from '2026-06-25 04:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.790516)'), GeomFromEWKT('SRID=4674;POINT (-40.32354 -2.790526)'))) / (select extract(epoch from '2026-06-25 04:19:15'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.323546 -2.79054)', '2026-06-25 04:19:33', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32354 -2.790526)'), GeomFromEWKT('SRID=4674;POINT (-40.323546 -2.79054)'))) / (select extract(epoch from '2026-06-25 04:19:33'::timestamp) - extract(epoch from '2026-06-25 04:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32354 -2.790526)'), GeomFromEWKT('SRID=4674;POINT (-40.323546 -2.79054)'))) / (select extract(epoch from '2026-06-25 04:19:33'::timestamp) - extract(epoch from '2026-06-25 04:19:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323541 -2.790546)', '2026-06-25 04:19:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323546 -2.79054)'), GeomFromEWKT('SRID=4674;POINT (-40.323541 -2.790546)'))) / (select extract(epoch from '2026-06-25 04:19:46'::timestamp) - extract(epoch from '2026-06-25 04:19:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323546 -2.79054)'), GeomFromEWKT('SRID=4674;POINT (-40.323541 -2.790546)'))) / (select extract(epoch from '2026-06-25 04:19:46'::timestamp) - extract(epoch from '2026-06-25 04:19:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323535 -2.79053)', '2026-06-25 04:20:01', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323541 -2.790546)'), GeomFromEWKT('SRID=4674;POINT (-40.323535 -2.79053)'))) / (select extract(epoch from '2026-06-25 04:20:01'::timestamp) - extract(epoch from '2026-06-25 04:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323541 -2.790546)'), GeomFromEWKT('SRID=4674;POINT (-40.323535 -2.79053)'))) / (select extract(epoch from '2026-06-25 04:20:01'::timestamp) - extract(epoch from '2026-06-25 04:19: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'), 46709, 'SRID=4674;POINT (-40.323509 -2.790509)', '2026-06-25 04:20:18', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323535 -2.79053)'), GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.790509)'))) / (select extract(epoch from '2026-06-25 04:20:18'::timestamp) - extract(epoch from '2026-06-25 04:20:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323535 -2.79053)'), GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.790509)'))) / (select extract(epoch from '2026-06-25 04:20:18'::timestamp) - extract(epoch from '2026-06-25 04:20: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'), 46709, 'SRID=4674;POINT (-40.323512 -2.7905)', '2026-06-25 04:20:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.790509)'), GeomFromEWKT('SRID=4674;POINT (-40.323512 -2.7905)'))) / (select extract(epoch from '2026-06-25 04:20:30'::timestamp) - extract(epoch from '2026-06-25 04:20:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.790509)'), GeomFromEWKT('SRID=4674;POINT (-40.323512 -2.7905)'))) / (select extract(epoch from '2026-06-25 04:20:30'::timestamp) - extract(epoch from '2026-06-25 04:20:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323509 -2.790494)', '2026-06-25 04:20:44', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323512 -2.7905)'), GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.790494)'))) / (select extract(epoch from '2026-06-25 04:20:44'::timestamp) - extract(epoch from '2026-06-25 04:20:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323512 -2.7905)'), GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.790494)'))) / (select extract(epoch from '2026-06-25 04:20:44'::timestamp) - extract(epoch from '2026-06-25 04:20: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'), 46709, 'SRID=4674;POINT (-40.323502 -2.79049)', '2026-06-25 04:20:54', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.790494)'), GeomFromEWKT('SRID=4674;POINT (-40.323502 -2.79049)'))) / (select extract(epoch from '2026-06-25 04:20:54'::timestamp) - extract(epoch from '2026-06-25 04:20:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323509 -2.790494)'), GeomFromEWKT('SRID=4674;POINT (-40.323502 -2.79049)'))) / (select extract(epoch from '2026-06-25 04:20:54'::timestamp) - extract(epoch from '2026-06-25 04:20: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'), 46709, 'SRID=4674;POINT (-40.323519 -2.790502)', '2026-06-25 04:21:12', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323502 -2.79049)'), GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790502)'))) / (select extract(epoch from '2026-06-25 04:21:12'::timestamp) - extract(epoch from '2026-06-25 04:20:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323502 -2.79049)'), GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790502)'))) / (select extract(epoch from '2026-06-25 04:21:12'::timestamp) - extract(epoch from '2026-06-25 04:20: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'), 46709, 'SRID=4674;POINT (-40.323521 -2.790502)', '2026-06-25 04:21:24', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790502)'), GeomFromEWKT('SRID=4674;POINT (-40.323521 -2.790502)'))) / (select extract(epoch from '2026-06-25 04:21:24'::timestamp) - extract(epoch from '2026-06-25 04:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790502)'), GeomFromEWKT('SRID=4674;POINT (-40.323521 -2.790502)'))) / (select extract(epoch from '2026-06-25 04:21:24'::timestamp) - extract(epoch from '2026-06-25 04:21: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'), 46709, 'SRID=4674;POINT (-40.323528 -2.79051)', '2026-06-25 04:21:36', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323521 -2.790502)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.79051)'))) / (select extract(epoch from '2026-06-25 04:21:36'::timestamp) - extract(epoch from '2026-06-25 04:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323521 -2.790502)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.79051)'))) / (select extract(epoch from '2026-06-25 04:21:36'::timestamp) - extract(epoch from '2026-06-25 04:21: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'), 46709, 'SRID=4674;POINT (-40.323524 -2.790503)', '2026-06-25 04:21:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.79051)'), GeomFromEWKT('SRID=4674;POINT (-40.323524 -2.790503)'))) / (select extract(epoch from '2026-06-25 04:21:49'::timestamp) - extract(epoch from '2026-06-25 04:21:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.79051)'), GeomFromEWKT('SRID=4674;POINT (-40.323524 -2.790503)'))) / (select extract(epoch from '2026-06-25 04:21:49'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.323519 -2.790498)', '2026-06-25 04:22:05', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323524 -2.790503)'), GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790498)'))) / (select extract(epoch from '2026-06-25 04:22:05'::timestamp) - extract(epoch from '2026-06-25 04:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323524 -2.790503)'), GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790498)'))) / (select extract(epoch from '2026-06-25 04:22:05'::timestamp) - extract(epoch from '2026-06-25 04:21: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'), 46709, 'SRID=4674;POINT (-40.323525 -2.790509)', '2026-06-25 04:22:16', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790498)'), GeomFromEWKT('SRID=4674;POINT (-40.323525 -2.790509)'))) / (select extract(epoch from '2026-06-25 04:22:16'::timestamp) - extract(epoch from '2026-06-25 04:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790498)'), GeomFromEWKT('SRID=4674;POINT (-40.323525 -2.790509)'))) / (select extract(epoch from '2026-06-25 04:22:16'::timestamp) - extract(epoch from '2026-06-25 04:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323538 -2.790527)', '2026-06-25 04:22:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323525 -2.790509)'), GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.790527)'))) / (select extract(epoch from '2026-06-25 04:22:27'::timestamp) - extract(epoch from '2026-06-25 04:22:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323525 -2.790509)'), GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.790527)'))) / (select extract(epoch from '2026-06-25 04:22:27'::timestamp) - extract(epoch from '2026-06-25 04:22: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'), 46709, 'SRID=4674;POINT (-40.323537 -2.790536)', '2026-06-25 04:22:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.790527)'), GeomFromEWKT('SRID=4674;POINT (-40.323537 -2.790536)'))) / (select extract(epoch from '2026-06-25 04:22:29'::timestamp) - extract(epoch from '2026-06-25 04:22:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.790527)'), GeomFromEWKT('SRID=4674;POINT (-40.323537 -2.790536)'))) / (select extract(epoch from '2026-06-25 04:22:29'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.323538 -2.79054)', '2026-06-25 04:22:37', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323537 -2.790536)'), GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.79054)'))) / (select extract(epoch from '2026-06-25 04:22:37'::timestamp) - extract(epoch from '2026-06-25 04:22:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323537 -2.790536)'), GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.79054)'))) / (select extract(epoch from '2026-06-25 04:22:37'::timestamp) - extract(epoch from '2026-06-25 04:22: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'), 46709, 'SRID=4674;POINT (-40.323531 -2.790524)', '2026-06-25 04:22:57', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.79054)'), GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790524)'))) / (select extract(epoch from '2026-06-25 04:22:57'::timestamp) - extract(epoch from '2026-06-25 04:22:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.79054)'), GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790524)'))) / (select extract(epoch from '2026-06-25 04:22:57'::timestamp) - extract(epoch from '2026-06-25 04:22: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'), 46709, 'SRID=4674;POINT (-40.323523 -2.790509)', '2026-06-25 04:23:09', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790524)'), GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.790509)'))) / (select extract(epoch from '2026-06-25 04:23:09'::timestamp) - extract(epoch from '2026-06-25 04:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790524)'), GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.790509)'))) / (select extract(epoch from '2026-06-25 04:23:09'::timestamp) - extract(epoch from '2026-06-25 04:22: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'), 46709, 'SRID=4674;POINT (-40.323521 -2.790505)', '2026-06-25 04:23:20', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.790509)'), GeomFromEWKT('SRID=4674;POINT (-40.323521 -2.790505)'))) / (select extract(epoch from '2026-06-25 04:23:20'::timestamp) - extract(epoch from '2026-06-25 04:23:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.790509)'), GeomFromEWKT('SRID=4674;POINT (-40.323521 -2.790505)'))) / (select extract(epoch from '2026-06-25 04:23:20'::timestamp) - extract(epoch from '2026-06-25 04:23:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323528 -2.790514)', '2026-06-25 04:23:36', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323521 -2.790505)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790514)'))) / (select extract(epoch from '2026-06-25 04:23:36'::timestamp) - extract(epoch from '2026-06-25 04:23:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323521 -2.790505)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790514)'))) / (select extract(epoch from '2026-06-25 04:23:36'::timestamp) - extract(epoch from '2026-06-25 04:23:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323534 -2.790524)', '2026-06-25 04:23:46', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790514)'), GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790524)'))) / (select extract(epoch from '2026-06-25 04:23:46'::timestamp) - extract(epoch from '2026-06-25 04:23:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790514)'), GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790524)'))) / (select extract(epoch from '2026-06-25 04:23:46'::timestamp) - extract(epoch from '2026-06-25 04:23: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'), 46709, 'SRID=4674;POINT (-40.323545 -2.790539)', '2026-06-25 04:23:58', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790524)'), GeomFromEWKT('SRID=4674;POINT (-40.323545 -2.790539)'))) / (select extract(epoch from '2026-06-25 04:23:58'::timestamp) - extract(epoch from '2026-06-25 04:23:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790524)'), GeomFromEWKT('SRID=4674;POINT (-40.323545 -2.790539)'))) / (select extract(epoch from '2026-06-25 04:23:58'::timestamp) - extract(epoch from '2026-06-25 04:23:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.32355 -2.790545)', '2026-06-25 04:24:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323545 -2.790539)'), GeomFromEWKT('SRID=4674;POINT (-40.32355 -2.790545)'))) / (select extract(epoch from '2026-06-25 04:24:11'::timestamp) - extract(epoch from '2026-06-25 04:23:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323545 -2.790539)'), GeomFromEWKT('SRID=4674;POINT (-40.32355 -2.790545)'))) / (select extract(epoch from '2026-06-25 04:24:11'::timestamp) - extract(epoch from '2026-06-25 04:23: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'), 46709, 'SRID=4674;POINT (-40.323544 -2.790541)', '2026-06-25 04:24:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32355 -2.790545)'), GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.790541)'))) / (select extract(epoch from '2026-06-25 04:24:27'::timestamp) - extract(epoch from '2026-06-25 04:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32355 -2.790545)'), GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.790541)'))) / (select extract(epoch from '2026-06-25 04:24:27'::timestamp) - extract(epoch from '2026-06-25 04:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323539 -2.790537)', '2026-06-25 04:24:42', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.790541)'), GeomFromEWKT('SRID=4674;POINT (-40.323539 -2.790537)'))) / (select extract(epoch from '2026-06-25 04:24:42'::timestamp) - extract(epoch from '2026-06-25 04:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.790541)'), GeomFromEWKT('SRID=4674;POINT (-40.323539 -2.790537)'))) / (select extract(epoch from '2026-06-25 04:24:42'::timestamp) - extract(epoch from '2026-06-25 04:24: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'), 46709, 'SRID=4674;POINT (-40.323543 -2.790549)', '2026-06-25 04:25:00', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323539 -2.790537)'), GeomFromEWKT('SRID=4674;POINT (-40.323543 -2.790549)'))) / (select extract(epoch from '2026-06-25 04:25:00'::timestamp) - extract(epoch from '2026-06-25 04:24:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323539 -2.790537)'), GeomFromEWKT('SRID=4674;POINT (-40.323543 -2.790549)'))) / (select extract(epoch from '2026-06-25 04:25:00'::timestamp) - extract(epoch from '2026-06-25 04:24:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323554 -2.790561)', '2026-06-25 04:25:14', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323543 -2.790549)'), GeomFromEWKT('SRID=4674;POINT (-40.323554 -2.790561)'))) / (select extract(epoch from '2026-06-25 04:25:14'::timestamp) - extract(epoch from '2026-06-25 04:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323543 -2.790549)'), GeomFromEWKT('SRID=4674;POINT (-40.323554 -2.790561)'))) / (select extract(epoch from '2026-06-25 04:25:14'::timestamp) - extract(epoch from '2026-06-25 04:25: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'), 46709, 'SRID=4674;POINT (-40.323548 -2.790553)', '2026-06-25 04:25:32', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323554 -2.790561)'), GeomFromEWKT('SRID=4674;POINT (-40.323548 -2.790553)'))) / (select extract(epoch from '2026-06-25 04:25:32'::timestamp) - extract(epoch from '2026-06-25 04:25:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323554 -2.790561)'), GeomFromEWKT('SRID=4674;POINT (-40.323548 -2.790553)'))) / (select extract(epoch from '2026-06-25 04:25:32'::timestamp) - extract(epoch from '2026-06-25 04:25: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'), 46709, 'SRID=4674;POINT (-40.323541 -2.790534)', '2026-06-25 04:25:44', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323548 -2.790553)'), GeomFromEWKT('SRID=4674;POINT (-40.323541 -2.790534)'))) / (select extract(epoch from '2026-06-25 04:25:44'::timestamp) - extract(epoch from '2026-06-25 04:25:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323548 -2.790553)'), GeomFromEWKT('SRID=4674;POINT (-40.323541 -2.790534)'))) / (select extract(epoch from '2026-06-25 04:25:44'::timestamp) - extract(epoch from '2026-06-25 04:25: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'), 46709, 'SRID=4674;POINT (-40.323533 -2.790523)', '2026-06-25 04:25:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323541 -2.790534)'), GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.790523)'))) / (select extract(epoch from '2026-06-25 04:25:57'::timestamp) - extract(epoch from '2026-06-25 04:25:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323541 -2.790534)'), GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.790523)'))) / (select extract(epoch from '2026-06-25 04:25:57'::timestamp) - extract(epoch from '2026-06-25 04:25: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'), 46709, 'SRID=4674;POINT (-40.323534 -2.790518)', '2026-06-25 04:26:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.790523)'), GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790518)'))) / (select extract(epoch from '2026-06-25 04:26:15'::timestamp) - extract(epoch from '2026-06-25 04:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.790523)'), GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790518)'))) / (select extract(epoch from '2026-06-25 04:26:15'::timestamp) - extract(epoch from '2026-06-25 04:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323539 -2.790522)', '2026-06-25 04:26:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790518)'), GeomFromEWKT('SRID=4674;POINT (-40.323539 -2.790522)'))) / (select extract(epoch from '2026-06-25 04:26:35'::timestamp) - extract(epoch from '2026-06-25 04:26:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323534 -2.790518)'), GeomFromEWKT('SRID=4674;POINT (-40.323539 -2.790522)'))) / (select extract(epoch from '2026-06-25 04:26:35'::timestamp) - extract(epoch from '2026-06-25 04:26:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323533 -2.79052)', '2026-06-25 04:26:53', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323539 -2.790522)'), GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.79052)'))) / (select extract(epoch from '2026-06-25 04:26:53'::timestamp) - extract(epoch from '2026-06-25 04:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323539 -2.790522)'), GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.79052)'))) / (select extract(epoch from '2026-06-25 04:26:53'::timestamp) - extract(epoch from '2026-06-25 04:26:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323524 -2.790524)', '2026-06-25 04:27:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.79052)'), GeomFromEWKT('SRID=4674;POINT (-40.323524 -2.790524)'))) / (select extract(epoch from '2026-06-25 04:27:06'::timestamp) - extract(epoch from '2026-06-25 04:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323533 -2.79052)'), GeomFromEWKT('SRID=4674;POINT (-40.323524 -2.790524)'))) / (select extract(epoch from '2026-06-25 04:27:06'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.323532 -2.790531)', '2026-06-25 04:27:24', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323524 -2.790524)'), GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.790531)'))) / (select extract(epoch from '2026-06-25 04:27:24'::timestamp) - extract(epoch from '2026-06-25 04:27:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323524 -2.790524)'), GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.790531)'))) / (select extract(epoch from '2026-06-25 04:27:24'::timestamp) - extract(epoch from '2026-06-25 04:27: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'), 46709, 'SRID=4674;POINT (-40.323536 -2.790531)', '2026-06-25 04:27:41', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.790531)'), GeomFromEWKT('SRID=4674;POINT (-40.323536 -2.790531)'))) / (select extract(epoch from '2026-06-25 04:27:41'::timestamp) - extract(epoch from '2026-06-25 04:27:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323532 -2.790531)'), GeomFromEWKT('SRID=4674;POINT (-40.323536 -2.790531)'))) / (select extract(epoch from '2026-06-25 04:27:41'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.323531 -2.790536)', '2026-06-25 04:27:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323536 -2.790531)'), GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790536)'))) / (select extract(epoch from '2026-06-25 04:27:53'::timestamp) - extract(epoch from '2026-06-25 04:27:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323536 -2.790531)'), GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790536)'))) / (select extract(epoch from '2026-06-25 04:27:53'::timestamp) - extract(epoch from '2026-06-25 04:27: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'), 46709, 'SRID=4674;POINT (-40.32353 -2.790523)', '2026-06-25 04:28:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790536)'), GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790523)'))) / (select extract(epoch from '2026-06-25 04:28:05'::timestamp) - extract(epoch from '2026-06-25 04:27:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790536)'), GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790523)'))) / (select extract(epoch from '2026-06-25 04:28:05'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.323528 -2.790513)', '2026-06-25 04:28:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790523)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790513)'))) / (select extract(epoch from '2026-06-25 04:28:18'::timestamp) - extract(epoch from '2026-06-25 04:28:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790523)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790513)'))) / (select extract(epoch from '2026-06-25 04:28:18'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.323522 -2.790519)', '2026-06-25 04:28:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790513)'), GeomFromEWKT('SRID=4674;POINT (-40.323522 -2.790519)'))) / (select extract(epoch from '2026-06-25 04:28:34'::timestamp) - extract(epoch from '2026-06-25 04:28:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790513)'), GeomFromEWKT('SRID=4674;POINT (-40.323522 -2.790519)'))) / (select extract(epoch from '2026-06-25 04:28:34'::timestamp) - extract(epoch from '2026-06-25 04:28: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'), 46709, 'SRID=4674;POINT (-40.323529 -2.790529)', '2026-06-25 04:28:55', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323522 -2.790519)'), GeomFromEWKT('SRID=4674;POINT (-40.323529 -2.790529)'))) / (select extract(epoch from '2026-06-25 04:28:55'::timestamp) - extract(epoch from '2026-06-25 04:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323522 -2.790519)'), GeomFromEWKT('SRID=4674;POINT (-40.323529 -2.790529)'))) / (select extract(epoch from '2026-06-25 04:28:55'::timestamp) - extract(epoch from '2026-06-25 04:28: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'), 46709, 'SRID=4674;POINT (-40.323523 -2.790533)', '2026-06-25 04:29:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323529 -2.790529)'), GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.790533)'))) / (select extract(epoch from '2026-06-25 04:29:12'::timestamp) - extract(epoch from '2026-06-25 04:28:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323529 -2.790529)'), GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.790533)'))) / (select extract(epoch from '2026-06-25 04:29:12'::timestamp) - extract(epoch from '2026-06-25 04:28:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323523 -2.79052)', '2026-06-25 04:29:27', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.790533)'), GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.79052)'))) / (select extract(epoch from '2026-06-25 04:29:27'::timestamp) - extract(epoch from '2026-06-25 04:29:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.790533)'), GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.79052)'))) / (select extract(epoch from '2026-06-25 04:29:27'::timestamp) - extract(epoch from '2026-06-25 04:29:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.32352 -2.790518)', '2026-06-25 04:29:40', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.79052)'), GeomFromEWKT('SRID=4674;POINT (-40.32352 -2.790518)'))) / (select extract(epoch from '2026-06-25 04:29:40'::timestamp) - extract(epoch from '2026-06-25 04:29:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323523 -2.79052)'), GeomFromEWKT('SRID=4674;POINT (-40.32352 -2.790518)'))) / (select extract(epoch from '2026-06-25 04:29:40'::timestamp) - extract(epoch from '2026-06-25 04:29:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323525 -2.790518)', '2026-06-25 04:29:53', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32352 -2.790518)'), GeomFromEWKT('SRID=4674;POINT (-40.323525 -2.790518)'))) / (select extract(epoch from '2026-06-25 04:29:53'::timestamp) - extract(epoch from '2026-06-25 04:29:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32352 -2.790518)'), GeomFromEWKT('SRID=4674;POINT (-40.323525 -2.790518)'))) / (select extract(epoch from '2026-06-25 04:29:53'::timestamp) - extract(epoch from '2026-06-25 04:29:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323531 -2.790523)', '2026-06-25 04:30:05', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323525 -2.790518)'), GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790523)'))) / (select extract(epoch from '2026-06-25 04:30:05'::timestamp) - extract(epoch from '2026-06-25 04:29:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323525 -2.790518)'), GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790523)'))) / (select extract(epoch from '2026-06-25 04:30:05'::timestamp) - extract(epoch from '2026-06-25 04:29: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'), 46709, 'SRID=4674;POINT (-40.323528 -2.790517)', '2026-06-25 04:30:22', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790523)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790517)'))) / (select extract(epoch from '2026-06-25 04:30:22'::timestamp) - extract(epoch from '2026-06-25 04:30:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790523)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790517)'))) / (select extract(epoch from '2026-06-25 04:30:22'::timestamp) - extract(epoch from '2026-06-25 04:30: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'), 46709, 'SRID=4674;POINT (-40.323517 -2.790504)', '2026-06-25 04:30:31', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790517)'), GeomFromEWKT('SRID=4674;POINT (-40.323517 -2.790504)'))) / (select extract(epoch from '2026-06-25 04:30:31'::timestamp) - extract(epoch from '2026-06-25 04:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790517)'), GeomFromEWKT('SRID=4674;POINT (-40.323517 -2.790504)'))) / (select extract(epoch from '2026-06-25 04:30:31'::timestamp) - extract(epoch from '2026-06-25 04:30: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'), 46709, 'SRID=4674;POINT (-40.323518 -2.790503)', '2026-06-25 04:30:52', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323517 -2.790504)'), GeomFromEWKT('SRID=4674;POINT (-40.323518 -2.790503)'))) / (select extract(epoch from '2026-06-25 04:30:52'::timestamp) - extract(epoch from '2026-06-25 04:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323517 -2.790504)'), GeomFromEWKT('SRID=4674;POINT (-40.323518 -2.790503)'))) / (select extract(epoch from '2026-06-25 04:30:52'::timestamp) - extract(epoch from '2026-06-25 04:30: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'), 46709, 'SRID=4674;POINT (-40.323528 -2.790521)', '2026-06-25 04:31:23', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323518 -2.790503)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790521)'))) / (select extract(epoch from '2026-06-25 04:31:23'::timestamp) - extract(epoch from '2026-06-25 04:30:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323518 -2.790503)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790521)'))) / (select extract(epoch from '2026-06-25 04:31:23'::timestamp) - extract(epoch from '2026-06-25 04:30: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'), 46709, 'SRID=4674;POINT (-40.323528 -2.7905)', '2026-06-25 04:31:51', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790521)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.7905)'))) / (select extract(epoch from '2026-06-25 04:31:51'::timestamp) - extract(epoch from '2026-06-25 04:31:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.790521)'), GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.7905)'))) / (select extract(epoch from '2026-06-25 04:31:51'::timestamp) - extract(epoch from '2026-06-25 04:31:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323536 -2.790531)', '2026-06-25 04:32:29', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.7905)'), GeomFromEWKT('SRID=4674;POINT (-40.323536 -2.790531)'))) / (select extract(epoch from '2026-06-25 04:32:29'::timestamp) - extract(epoch from '2026-06-25 04:31:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323528 -2.7905)'), GeomFromEWKT('SRID=4674;POINT (-40.323536 -2.790531)'))) / (select extract(epoch from '2026-06-25 04:32:29'::timestamp) - extract(epoch from '2026-06-25 04:31:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.32353 -2.790522)', '2026-06-25 04:32:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323536 -2.790531)'), GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790522)'))) / (select extract(epoch from '2026-06-25 04:32:34'::timestamp) - extract(epoch from '2026-06-25 04:32:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323536 -2.790531)'), GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790522)'))) / (select extract(epoch from '2026-06-25 04:32:34'::timestamp) - extract(epoch from '2026-06-25 04:32: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'), 46709, 'SRID=4674;POINT (-40.323531 -2.790514)', '2026-06-25 04:32:43', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790522)'), GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790514)'))) / (select extract(epoch from '2026-06-25 04:32:43'::timestamp) - extract(epoch from '2026-06-25 04:32:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32353 -2.790522)'), GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790514)'))) / (select extract(epoch from '2026-06-25 04:32:43'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.323526 -2.790502)', '2026-06-25 04:32:56', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790514)'), GeomFromEWKT('SRID=4674;POINT (-40.323526 -2.790502)'))) / (select extract(epoch from '2026-06-25 04:32:56'::timestamp) - extract(epoch from '2026-06-25 04:32:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323531 -2.790514)'), GeomFromEWKT('SRID=4674;POINT (-40.323526 -2.790502)'))) / (select extract(epoch from '2026-06-25 04:32:56'::timestamp) - extract(epoch from '2026-06-25 04:32: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'), 46709, 'SRID=4674;POINT (-40.323535 -2.790512)', '2026-06-25 04:33:11', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323526 -2.790502)'), GeomFromEWKT('SRID=4674;POINT (-40.323535 -2.790512)'))) / (select extract(epoch from '2026-06-25 04:33:11'::timestamp) - extract(epoch from '2026-06-25 04:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323526 -2.790502)'), GeomFromEWKT('SRID=4674;POINT (-40.323535 -2.790512)'))) / (select extract(epoch from '2026-06-25 04:33:11'::timestamp) - extract(epoch from '2026-06-25 04:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.32354 -2.790524)', '2026-06-25 04:33:25', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323535 -2.790512)'), GeomFromEWKT('SRID=4674;POINT (-40.32354 -2.790524)'))) / (select extract(epoch from '2026-06-25 04:33:25'::timestamp) - extract(epoch from '2026-06-25 04:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323535 -2.790512)'), GeomFromEWKT('SRID=4674;POINT (-40.32354 -2.790524)'))) / (select extract(epoch from '2026-06-25 04:33:25'::timestamp) - extract(epoch from '2026-06-25 04:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323552 -2.790537)', '2026-06-25 04:33:41', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32354 -2.790524)'), GeomFromEWKT('SRID=4674;POINT (-40.323552 -2.790537)'))) / (select extract(epoch from '2026-06-25 04:33:41'::timestamp) - extract(epoch from '2026-06-25 04:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32354 -2.790524)'), GeomFromEWKT('SRID=4674;POINT (-40.323552 -2.790537)'))) / (select extract(epoch from '2026-06-25 04:33:41'::timestamp) - extract(epoch from '2026-06-25 04:33: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'), 46709, 'SRID=4674;POINT (-40.323553 -2.790534)', '2026-06-25 04:33:58', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323552 -2.790537)'), GeomFromEWKT('SRID=4674;POINT (-40.323553 -2.790534)'))) / (select extract(epoch from '2026-06-25 04:33:58'::timestamp) - extract(epoch from '2026-06-25 04:33:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323552 -2.790537)'), GeomFromEWKT('SRID=4674;POINT (-40.323553 -2.790534)'))) / (select extract(epoch from '2026-06-25 04:33:58'::timestamp) - extract(epoch from '2026-06-25 04:33: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'), 46709, 'SRID=4674;POINT (-40.323553 -2.790536)', '2026-06-25 04:34:12', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323553 -2.790534)'), GeomFromEWKT('SRID=4674;POINT (-40.323553 -2.790536)'))) / (select extract(epoch from '2026-06-25 04:34:12'::timestamp) - extract(epoch from '2026-06-25 04:33:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323553 -2.790534)'), GeomFromEWKT('SRID=4674;POINT (-40.323553 -2.790536)'))) / (select extract(epoch from '2026-06-25 04:34:12'::timestamp) - extract(epoch from '2026-06-25 04:33: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'), 46709, 'SRID=4674;POINT (-40.323551 -2.790537)', '2026-06-25 04:34:23', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323553 -2.790536)'), GeomFromEWKT('SRID=4674;POINT (-40.323551 -2.790537)'))) / (select extract(epoch from '2026-06-25 04:34:23'::timestamp) - extract(epoch from '2026-06-25 04:34:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323553 -2.790536)'), GeomFromEWKT('SRID=4674;POINT (-40.323551 -2.790537)'))) / (select extract(epoch from '2026-06-25 04:34:23'::timestamp) - extract(epoch from '2026-06-25 04:34: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'), 46709, 'SRID=4674;POINT (-40.323543 -2.790537)', '2026-06-25 04:34:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323551 -2.790537)'), GeomFromEWKT('SRID=4674;POINT (-40.323543 -2.790537)'))) / (select extract(epoch from '2026-06-25 04:34:34'::timestamp) - extract(epoch from '2026-06-25 04:34:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323551 -2.790537)'), GeomFromEWKT('SRID=4674;POINT (-40.323543 -2.790537)'))) / (select extract(epoch from '2026-06-25 04:34:34'::timestamp) - extract(epoch from '2026-06-25 04:34: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'), 46709, 'SRID=4674;POINT (-40.323538 -2.79053)', '2026-06-25 04:34:45', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323543 -2.790537)'), GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.79053)'))) / (select extract(epoch from '2026-06-25 04:34:45'::timestamp) - extract(epoch from '2026-06-25 04:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323543 -2.790537)'), GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.79053)'))) / (select extract(epoch from '2026-06-25 04:34:45'::timestamp) - extract(epoch from '2026-06-25 04:34:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323519 -2.790516)', '2026-06-25 04:35:05', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.79053)'), GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790516)'))) / (select extract(epoch from '2026-06-25 04:35:05'::timestamp) - extract(epoch from '2026-06-25 04:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323538 -2.79053)'), GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790516)'))) / (select extract(epoch from '2026-06-25 04:35:05'::timestamp) - extract(epoch from '2026-06-25 04:34:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323482 -2.790542)', '2026-06-25 04:35:16', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790516)'), GeomFromEWKT('SRID=4674;POINT (-40.323482 -2.790542)'))) / (select extract(epoch from '2026-06-25 04:35:16'::timestamp) - extract(epoch from '2026-06-25 04:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323519 -2.790516)'), GeomFromEWKT('SRID=4674;POINT (-40.323482 -2.790542)'))) / (select extract(epoch from '2026-06-25 04:35:16'::timestamp) - extract(epoch from '2026-06-25 04:35: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'), 46709, 'SRID=4674;POINT (-40.32343 -2.790578)', '2026-06-25 04:35:29', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323482 -2.790542)'), GeomFromEWKT('SRID=4674;POINT (-40.32343 -2.790578)'))) / (select extract(epoch from '2026-06-25 04:35:29'::timestamp) - extract(epoch from '2026-06-25 04:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323482 -2.790542)'), GeomFromEWKT('SRID=4674;POINT (-40.32343 -2.790578)'))) / (select extract(epoch from '2026-06-25 04:35:29'::timestamp) - extract(epoch from '2026-06-25 04:35: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'), 46709, 'SRID=4674;POINT (-40.323364 -2.790599)', '2026-06-25 04:35:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32343 -2.790578)'), GeomFromEWKT('SRID=4674;POINT (-40.323364 -2.790599)'))) / (select extract(epoch from '2026-06-25 04:35:45'::timestamp) - extract(epoch from '2026-06-25 04:35:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32343 -2.790578)'), GeomFromEWKT('SRID=4674;POINT (-40.323364 -2.790599)'))) / (select extract(epoch from '2026-06-25 04:35:45'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.323327 -2.790631)', '2026-06-25 04:36:07', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323364 -2.790599)'), GeomFromEWKT('SRID=4674;POINT (-40.323327 -2.790631)'))) / (select extract(epoch from '2026-06-25 04:36:07'::timestamp) - extract(epoch from '2026-06-25 04:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323364 -2.790599)'), GeomFromEWKT('SRID=4674;POINT (-40.323327 -2.790631)'))) / (select extract(epoch from '2026-06-25 04:36:07'::timestamp) - extract(epoch from '2026-06-25 04:35:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323355 -2.790621)', '2026-06-25 04:36:28', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323327 -2.790631)'), GeomFromEWKT('SRID=4674;POINT (-40.323355 -2.790621)'))) / (select extract(epoch from '2026-06-25 04:36:28'::timestamp) - extract(epoch from '2026-06-25 04:36:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323327 -2.790631)'), GeomFromEWKT('SRID=4674;POINT (-40.323355 -2.790621)'))) / (select extract(epoch from '2026-06-25 04:36:28'::timestamp) - extract(epoch from '2026-06-25 04:36:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323387 -2.790613)', '2026-06-25 04:36:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323355 -2.790621)'), GeomFromEWKT('SRID=4674;POINT (-40.323387 -2.790613)'))) / (select extract(epoch from '2026-06-25 04:36:38'::timestamp) - extract(epoch from '2026-06-25 04:36:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323355 -2.790621)'), GeomFromEWKT('SRID=4674;POINT (-40.323387 -2.790613)'))) / (select extract(epoch from '2026-06-25 04:36:38'::timestamp) - extract(epoch from '2026-06-25 04:36: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'), 46709, 'SRID=4674;POINT (-40.323418 -2.790598)', '2026-06-25 04:36:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323387 -2.790613)'), GeomFromEWKT('SRID=4674;POINT (-40.323418 -2.790598)'))) / (select extract(epoch from '2026-06-25 04:36:50'::timestamp) - extract(epoch from '2026-06-25 04:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323387 -2.790613)'), GeomFromEWKT('SRID=4674;POINT (-40.323418 -2.790598)'))) / (select extract(epoch from '2026-06-25 04:36:50'::timestamp) - extract(epoch from '2026-06-25 04:36:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323437 -2.790589)', '2026-06-25 04:36:57', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323418 -2.790598)'), GeomFromEWKT('SRID=4674;POINT (-40.323437 -2.790589)'))) / (select extract(epoch from '2026-06-25 04:36:57'::timestamp) - extract(epoch from '2026-06-25 04:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323418 -2.790598)'), GeomFromEWKT('SRID=4674;POINT (-40.323437 -2.790589)'))) / (select extract(epoch from '2026-06-25 04:36:57'::timestamp) - extract(epoch from '2026-06-25 04:36: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'), 46709, 'SRID=4674;POINT (-40.323464 -2.790586)', '2026-06-25 04:37:04', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323437 -2.790589)'), GeomFromEWKT('SRID=4674;POINT (-40.323464 -2.790586)'))) / (select extract(epoch from '2026-06-25 04:37:04'::timestamp) - extract(epoch from '2026-06-25 04:36:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323437 -2.790589)'), GeomFromEWKT('SRID=4674;POINT (-40.323464 -2.790586)'))) / (select extract(epoch from '2026-06-25 04:37:04'::timestamp) - extract(epoch from '2026-06-25 04:36:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323502 -2.790571)', '2026-06-25 04:37:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323464 -2.790586)'), GeomFromEWKT('SRID=4674;POINT (-40.323502 -2.790571)'))) / (select extract(epoch from '2026-06-25 04:37:14'::timestamp) - extract(epoch from '2026-06-25 04:37:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323464 -2.790586)'), GeomFromEWKT('SRID=4674;POINT (-40.323502 -2.790571)'))) / (select extract(epoch from '2026-06-25 04:37:14'::timestamp) - extract(epoch from '2026-06-25 04:37: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'), 46709, 'SRID=4674;POINT (-40.323544 -2.79057)', '2026-06-25 04:37:23', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323502 -2.790571)'), GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.79057)'))) / (select extract(epoch from '2026-06-25 04:37:23'::timestamp) - extract(epoch from '2026-06-25 04:37:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323502 -2.790571)'), GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.79057)'))) / (select extract(epoch from '2026-06-25 04:37:23'::timestamp) - extract(epoch from '2026-06-25 04:37: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'), 46709, 'SRID=4674;POINT (-40.323578 -2.790623)', '2026-06-25 04:37:30', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.79057)'), GeomFromEWKT('SRID=4674;POINT (-40.323578 -2.790623)'))) / (select extract(epoch from '2026-06-25 04:37:30'::timestamp) - extract(epoch from '2026-06-25 04:37:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323544 -2.79057)'), GeomFromEWKT('SRID=4674;POINT (-40.323578 -2.790623)'))) / (select extract(epoch from '2026-06-25 04:37:30'::timestamp) - extract(epoch from '2026-06-25 04:37: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'), 46709, 'SRID=4674;POINT (-40.323618 -2.790683)', '2026-06-25 04:37:39', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323578 -2.790623)'), GeomFromEWKT('SRID=4674;POINT (-40.323618 -2.790683)'))) / (select extract(epoch from '2026-06-25 04:37:39'::timestamp) - extract(epoch from '2026-06-25 04:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323578 -2.790623)'), GeomFromEWKT('SRID=4674;POINT (-40.323618 -2.790683)'))) / (select extract(epoch from '2026-06-25 04:37:39'::timestamp) - extract(epoch from '2026-06-25 04:37: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'), 46709, 'SRID=4674;POINT (-40.323652 -2.790793)', '2026-06-25 04:37:50', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323618 -2.790683)'), GeomFromEWKT('SRID=4674;POINT (-40.323652 -2.790793)'))) / (select extract(epoch from '2026-06-25 04:37:50'::timestamp) - extract(epoch from '2026-06-25 04:37:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323618 -2.790683)'), GeomFromEWKT('SRID=4674;POINT (-40.323652 -2.790793)'))) / (select extract(epoch from '2026-06-25 04:37:50'::timestamp) - extract(epoch from '2026-06-25 04:37: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'), 46709, 'SRID=4674;POINT (-40.32364 -2.790932)', '2026-06-25 04:37:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323652 -2.790793)'), GeomFromEWKT('SRID=4674;POINT (-40.32364 -2.790932)'))) / (select extract(epoch from '2026-06-25 04:37:58'::timestamp) - extract(epoch from '2026-06-25 04:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323652 -2.790793)'), GeomFromEWKT('SRID=4674;POINT (-40.32364 -2.790932)'))) / (select extract(epoch from '2026-06-25 04:37:58'::timestamp) - extract(epoch from '2026-06-25 04:37: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'), 46709, 'SRID=4674;POINT (-40.323681 -2.791092)', '2026-06-25 04:38:06', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32364 -2.790932)'), GeomFromEWKT('SRID=4674;POINT (-40.323681 -2.791092)'))) / (select extract(epoch from '2026-06-25 04:38:06'::timestamp) - extract(epoch from '2026-06-25 04:37:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32364 -2.790932)'), GeomFromEWKT('SRID=4674;POINT (-40.323681 -2.791092)'))) / (select extract(epoch from '2026-06-25 04:38:06'::timestamp) - extract(epoch from '2026-06-25 04:37:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323744 -2.791228)', '2026-06-25 04:38:14', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323681 -2.791092)'), GeomFromEWKT('SRID=4674;POINT (-40.323744 -2.791228)'))) / (select extract(epoch from '2026-06-25 04:38:14'::timestamp) - extract(epoch from '2026-06-25 04:38:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323681 -2.791092)'), GeomFromEWKT('SRID=4674;POINT (-40.323744 -2.791228)'))) / (select extract(epoch from '2026-06-25 04:38:14'::timestamp) - extract(epoch from '2026-06-25 04:38:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.323804 -2.791313)', '2026-06-25 04:38:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323744 -2.791228)'), GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.791313)'))) / (select extract(epoch from '2026-06-25 04:38:19'::timestamp) - extract(epoch from '2026-06-25 04:38:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323744 -2.791228)'), GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.791313)'))) / (select extract(epoch from '2026-06-25 04:38:19'::timestamp) - extract(epoch from '2026-06-25 04:38: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'), 46709, 'SRID=4674;POINT (-40.323901 -2.791408)', '2026-06-25 04:38:26', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.791313)'), GeomFromEWKT('SRID=4674;POINT (-40.323901 -2.791408)'))) / (select extract(epoch from '2026-06-25 04:38:26'::timestamp) - extract(epoch from '2026-06-25 04:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323804 -2.791313)'), GeomFromEWKT('SRID=4674;POINT (-40.323901 -2.791408)'))) / (select extract(epoch from '2026-06-25 04:38:26'::timestamp) - extract(epoch from '2026-06-25 04:38: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'), 46709, 'SRID=4674;POINT (-40.324002 -2.79151)', '2026-06-25 04:38:33', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323901 -2.791408)'), GeomFromEWKT('SRID=4674;POINT (-40.324002 -2.79151)'))) / (select extract(epoch from '2026-06-25 04:38:33'::timestamp) - extract(epoch from '2026-06-25 04:38:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.323901 -2.791408)'), GeomFromEWKT('SRID=4674;POINT (-40.324002 -2.79151)'))) / (select extract(epoch from '2026-06-25 04:38:33'::timestamp) - extract(epoch from '2026-06-25 04:38:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.324123 -2.791628)', '2026-06-25 04:38:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324002 -2.79151)'), GeomFromEWKT('SRID=4674;POINT (-40.324123 -2.791628)'))) / (select extract(epoch from '2026-06-25 04:38:41'::timestamp) - extract(epoch from '2026-06-25 04:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324002 -2.79151)'), GeomFromEWKT('SRID=4674;POINT (-40.324123 -2.791628)'))) / (select extract(epoch from '2026-06-25 04:38:41'::timestamp) - extract(epoch from '2026-06-25 04:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.324232 -2.791734)', '2026-06-25 04:38:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324123 -2.791628)'), GeomFromEWKT('SRID=4674;POINT (-40.324232 -2.791734)'))) / (select extract(epoch from '2026-06-25 04:38:49'::timestamp) - extract(epoch from '2026-06-25 04:38:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324123 -2.791628)'), GeomFromEWKT('SRID=4674;POINT (-40.324232 -2.791734)'))) / (select extract(epoch from '2026-06-25 04:38:49'::timestamp) - extract(epoch from '2026-06-25 04:38:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.324316 -2.791825)', '2026-06-25 04:38:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324232 -2.791734)'), GeomFromEWKT('SRID=4674;POINT (-40.324316 -2.791825)'))) / (select extract(epoch from '2026-06-25 04:38:55'::timestamp) - extract(epoch from '2026-06-25 04:38:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324232 -2.791734)'), GeomFromEWKT('SRID=4674;POINT (-40.324316 -2.791825)'))) / (select extract(epoch from '2026-06-25 04:38:55'::timestamp) - extract(epoch from '2026-06-25 04:38: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'), 46709, 'SRID=4674;POINT (-40.324418 -2.79192)', '2026-06-25 04:39:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324316 -2.791825)'), GeomFromEWKT('SRID=4674;POINT (-40.324418 -2.79192)'))) / (select extract(epoch from '2026-06-25 04:39:02'::timestamp) - extract(epoch from '2026-06-25 04:38:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324316 -2.791825)'), GeomFromEWKT('SRID=4674;POINT (-40.324418 -2.79192)'))) / (select extract(epoch from '2026-06-25 04:39:02'::timestamp) - extract(epoch from '2026-06-25 04:38:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.324543 -2.792027)', '2026-06-25 04:39:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324418 -2.79192)'), GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.792027)'))) / (select extract(epoch from '2026-06-25 04:39:10'::timestamp) - extract(epoch from '2026-06-25 04:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324418 -2.79192)'), GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.792027)'))) / (select extract(epoch from '2026-06-25 04:39:10'::timestamp) - extract(epoch from '2026-06-25 04:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.324653 -2.792124)', '2026-06-25 04:39:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.792027)'), GeomFromEWKT('SRID=4674;POINT (-40.324653 -2.792124)'))) / (select extract(epoch from '2026-06-25 04:39:17'::timestamp) - extract(epoch from '2026-06-25 04:39:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324543 -2.792027)'), GeomFromEWKT('SRID=4674;POINT (-40.324653 -2.792124)'))) / (select extract(epoch from '2026-06-25 04:39:17'::timestamp) - extract(epoch from '2026-06-25 04:39: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'), 46709, 'SRID=4674;POINT (-40.324769 -2.792242)', '2026-06-25 04:39:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324653 -2.792124)'), GeomFromEWKT('SRID=4674;POINT (-40.324769 -2.792242)'))) / (select extract(epoch from '2026-06-25 04:39:25'::timestamp) - extract(epoch from '2026-06-25 04:39:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324653 -2.792124)'), GeomFromEWKT('SRID=4674;POINT (-40.324769 -2.792242)'))) / (select extract(epoch from '2026-06-25 04:39:25'::timestamp) - extract(epoch from '2026-06-25 04:39:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.324845 -2.792328)', '2026-06-25 04:39:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324769 -2.792242)'), GeomFromEWKT('SRID=4674;POINT (-40.324845 -2.792328)'))) / (select extract(epoch from '2026-06-25 04:39:31'::timestamp) - extract(epoch from '2026-06-25 04:39:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324769 -2.792242)'), GeomFromEWKT('SRID=4674;POINT (-40.324845 -2.792328)'))) / (select extract(epoch from '2026-06-25 04:39:31'::timestamp) - extract(epoch from '2026-06-25 04:39: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'), 46709, 'SRID=4674;POINT (-40.324949 -2.792426)', '2026-06-25 04:39:38', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324845 -2.792328)'), GeomFromEWKT('SRID=4674;POINT (-40.324949 -2.792426)'))) / (select extract(epoch from '2026-06-25 04:39:38'::timestamp) - extract(epoch from '2026-06-25 04:39:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324845 -2.792328)'), GeomFromEWKT('SRID=4674;POINT (-40.324949 -2.792426)'))) / (select extract(epoch from '2026-06-25 04:39:38'::timestamp) - extract(epoch from '2026-06-25 04:39:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.325075 -2.792558)', '2026-06-25 04:39:47', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324949 -2.792426)'), GeomFromEWKT('SRID=4674;POINT (-40.325075 -2.792558)'))) / (select extract(epoch from '2026-06-25 04:39:47'::timestamp) - extract(epoch from '2026-06-25 04:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.324949 -2.792426)'), GeomFromEWKT('SRID=4674;POINT (-40.325075 -2.792558)'))) / (select extract(epoch from '2026-06-25 04:39:47'::timestamp) - extract(epoch from '2026-06-25 04:39: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'), 46709, 'SRID=4674;POINT (-40.325136 -2.792634)', '2026-06-25 04:39:52', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325075 -2.792558)'), GeomFromEWKT('SRID=4674;POINT (-40.325136 -2.792634)'))) / (select extract(epoch from '2026-06-25 04:39:52'::timestamp) - extract(epoch from '2026-06-25 04:39:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325075 -2.792558)'), GeomFromEWKT('SRID=4674;POINT (-40.325136 -2.792634)'))) / (select extract(epoch from '2026-06-25 04:39:52'::timestamp) - extract(epoch from '2026-06-25 04:39:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.325216 -2.792754)', '2026-06-25 04:39:59', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325136 -2.792634)'), GeomFromEWKT('SRID=4674;POINT (-40.325216 -2.792754)'))) / (select extract(epoch from '2026-06-25 04:39:59'::timestamp) - extract(epoch from '2026-06-25 04:39:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325136 -2.792634)'), GeomFromEWKT('SRID=4674;POINT (-40.325216 -2.792754)'))) / (select extract(epoch from '2026-06-25 04:39:59'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.325273 -2.792856)', '2026-06-25 04:40:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325216 -2.792754)'), GeomFromEWKT('SRID=4674;POINT (-40.325273 -2.792856)'))) / (select extract(epoch from '2026-06-25 04:40:05'::timestamp) - extract(epoch from '2026-06-25 04:39:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325216 -2.792754)'), GeomFromEWKT('SRID=4674;POINT (-40.325273 -2.792856)'))) / (select extract(epoch from '2026-06-25 04:40:05'::timestamp) - extract(epoch from '2026-06-25 04:39:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.325362 -2.792956)', '2026-06-25 04:40:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325273 -2.792856)'), GeomFromEWKT('SRID=4674;POINT (-40.325362 -2.792956)'))) / (select extract(epoch from '2026-06-25 04:40:12'::timestamp) - extract(epoch from '2026-06-25 04:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325273 -2.792856)'), GeomFromEWKT('SRID=4674;POINT (-40.325362 -2.792956)'))) / (select extract(epoch from '2026-06-25 04:40:12'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.325497 -2.793055)', '2026-06-25 04:40:20', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325362 -2.792956)'), GeomFromEWKT('SRID=4674;POINT (-40.325497 -2.793055)'))) / (select extract(epoch from '2026-06-25 04:40:20'::timestamp) - extract(epoch from '2026-06-25 04:40:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325362 -2.792956)'), GeomFromEWKT('SRID=4674;POINT (-40.325497 -2.793055)'))) / (select extract(epoch from '2026-06-25 04:40:20'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.32563 -2.793149)', '2026-06-25 04:40:28', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325497 -2.793055)'), GeomFromEWKT('SRID=4674;POINT (-40.32563 -2.793149)'))) / (select extract(epoch from '2026-06-25 04:40:28'::timestamp) - extract(epoch from '2026-06-25 04:40:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325497 -2.793055)'), GeomFromEWKT('SRID=4674;POINT (-40.32563 -2.793149)'))) / (select extract(epoch from '2026-06-25 04:40:28'::timestamp) - extract(epoch from '2026-06-25 04:40: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'), 46709, 'SRID=4674;POINT (-40.325767 -2.793242)', '2026-06-25 04:40:36', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32563 -2.793149)'), GeomFromEWKT('SRID=4674;POINT (-40.325767 -2.793242)'))) / (select extract(epoch from '2026-06-25 04:40:36'::timestamp) - extract(epoch from '2026-06-25 04:40:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32563 -2.793149)'), GeomFromEWKT('SRID=4674;POINT (-40.325767 -2.793242)'))) / (select extract(epoch from '2026-06-25 04:40:36'::timestamp) - extract(epoch from '2026-06-25 04:40: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'), 46709, 'SRID=4674;POINT (-40.325891 -2.793336)', '2026-06-25 04:40:44', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325767 -2.793242)'), GeomFromEWKT('SRID=4674;POINT (-40.325891 -2.793336)'))) / (select extract(epoch from '2026-06-25 04:40:44'::timestamp) - extract(epoch from '2026-06-25 04:40:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325767 -2.793242)'), GeomFromEWKT('SRID=4674;POINT (-40.325891 -2.793336)'))) / (select extract(epoch from '2026-06-25 04:40:44'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.325972 -2.79343)', '2026-06-25 04:40:50', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325891 -2.793336)'), GeomFromEWKT('SRID=4674;POINT (-40.325972 -2.79343)'))) / (select extract(epoch from '2026-06-25 04:40:50'::timestamp) - extract(epoch from '2026-06-25 04:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325891 -2.793336)'), GeomFromEWKT('SRID=4674;POINT (-40.325972 -2.79343)'))) / (select extract(epoch from '2026-06-25 04:40:50'::timestamp) - extract(epoch from '2026-06-25 04:40: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'), 46709, 'SRID=4674;POINT (-40.326056 -2.793552)', '2026-06-25 04:40:58', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325972 -2.79343)'), GeomFromEWKT('SRID=4674;POINT (-40.326056 -2.793552)'))) / (select extract(epoch from '2026-06-25 04:40:58'::timestamp) - extract(epoch from '2026-06-25 04:40:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.325972 -2.79343)'), GeomFromEWKT('SRID=4674;POINT (-40.326056 -2.793552)'))) / (select extract(epoch from '2026-06-25 04:40:58'::timestamp) - extract(epoch from '2026-06-25 04:40: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'), 46709, 'SRID=4674;POINT (-40.326138 -2.793663)', '2026-06-25 04:41:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326056 -2.793552)'), GeomFromEWKT('SRID=4674;POINT (-40.326138 -2.793663)'))) / (select extract(epoch from '2026-06-25 04:41:05'::timestamp) - extract(epoch from '2026-06-25 04:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326056 -2.793552)'), GeomFromEWKT('SRID=4674;POINT (-40.326138 -2.793663)'))) / (select extract(epoch from '2026-06-25 04:41:05'::timestamp) - extract(epoch from '2026-06-25 04:40:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.326223 -2.79379)', '2026-06-25 04:41:13', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326138 -2.793663)'), GeomFromEWKT('SRID=4674;POINT (-40.326223 -2.79379)'))) / (select extract(epoch from '2026-06-25 04:41:13'::timestamp) - extract(epoch from '2026-06-25 04:41:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326138 -2.793663)'), GeomFromEWKT('SRID=4674;POINT (-40.326223 -2.79379)'))) / (select extract(epoch from '2026-06-25 04:41:13'::timestamp) - extract(epoch from '2026-06-25 04:41:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.326304 -2.793903)', '2026-06-25 04:41:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326223 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.793903)'))) / (select extract(epoch from '2026-06-25 04:41:20'::timestamp) - extract(epoch from '2026-06-25 04:41:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326223 -2.79379)'), GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.793903)'))) / (select extract(epoch from '2026-06-25 04:41:20'::timestamp) - extract(epoch from '2026-06-25 04:41: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'), 46709, 'SRID=4674;POINT (-40.326379 -2.79402)', '2026-06-25 04:41:27', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.793903)'), GeomFromEWKT('SRID=4674;POINT (-40.326379 -2.79402)'))) / (select extract(epoch from '2026-06-25 04:41:27'::timestamp) - extract(epoch from '2026-06-25 04:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326304 -2.793903)'), GeomFromEWKT('SRID=4674;POINT (-40.326379 -2.79402)'))) / (select extract(epoch from '2026-06-25 04:41:27'::timestamp) - extract(epoch from '2026-06-25 04:41: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'), 46709, 'SRID=4674;POINT (-40.326457 -2.794148)', '2026-06-25 04:41:35', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326379 -2.79402)'), GeomFromEWKT('SRID=4674;POINT (-40.326457 -2.794148)'))) / (select extract(epoch from '2026-06-25 04:41:35'::timestamp) - extract(epoch from '2026-06-25 04:41:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326379 -2.79402)'), GeomFromEWKT('SRID=4674;POINT (-40.326457 -2.794148)'))) / (select extract(epoch from '2026-06-25 04:41:35'::timestamp) - extract(epoch from '2026-06-25 04:41:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.326534 -2.794264)', '2026-06-25 04:41:42', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326457 -2.794148)'), GeomFromEWKT('SRID=4674;POINT (-40.326534 -2.794264)'))) / (select extract(epoch from '2026-06-25 04:41:42'::timestamp) - extract(epoch from '2026-06-25 04:41:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326457 -2.794148)'), GeomFromEWKT('SRID=4674;POINT (-40.326534 -2.794264)'))) / (select extract(epoch from '2026-06-25 04:41:42'::timestamp) - extract(epoch from '2026-06-25 04:41: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'), 46709, 'SRID=4674;POINT (-40.326626 -2.794363)', '2026-06-25 04:41:49', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326534 -2.794264)'), GeomFromEWKT('SRID=4674;POINT (-40.326626 -2.794363)'))) / (select extract(epoch from '2026-06-25 04:41:49'::timestamp) - extract(epoch from '2026-06-25 04:41:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326534 -2.794264)'), GeomFromEWKT('SRID=4674;POINT (-40.326626 -2.794363)'))) / (select extract(epoch from '2026-06-25 04:41:49'::timestamp) - extract(epoch from '2026-06-25 04:41: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'), 46709, 'SRID=4674;POINT (-40.326721 -2.794466)', '2026-06-25 04:41:56', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326626 -2.794363)'), GeomFromEWKT('SRID=4674;POINT (-40.326721 -2.794466)'))) / (select extract(epoch from '2026-06-25 04:41:56'::timestamp) - extract(epoch from '2026-06-25 04:41:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326626 -2.794363)'), GeomFromEWKT('SRID=4674;POINT (-40.326721 -2.794466)'))) / (select extract(epoch from '2026-06-25 04:41:56'::timestamp) - extract(epoch from '2026-06-25 04:41:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.326856 -2.794584)', '2026-06-25 04:42:05', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326721 -2.794466)'), GeomFromEWKT('SRID=4674;POINT (-40.326856 -2.794584)'))) / (select extract(epoch from '2026-06-25 04:42:05'::timestamp) - extract(epoch from '2026-06-25 04:41:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326721 -2.794466)'), GeomFromEWKT('SRID=4674;POINT (-40.326856 -2.794584)'))) / (select extract(epoch from '2026-06-25 04:42:05'::timestamp) - extract(epoch from '2026-06-25 04:41: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'), 46709, 'SRID=4674;POINT (-40.326974 -2.794669)', '2026-06-25 04:42:12', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326856 -2.794584)'), GeomFromEWKT('SRID=4674;POINT (-40.326974 -2.794669)'))) / (select extract(epoch from '2026-06-25 04:42:12'::timestamp) - extract(epoch from '2026-06-25 04:42:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326856 -2.794584)'), GeomFromEWKT('SRID=4674;POINT (-40.326974 -2.794669)'))) / (select extract(epoch from '2026-06-25 04:42:12'::timestamp) - extract(epoch from '2026-06-25 04:42: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'), 46709, 'SRID=4674;POINT (-40.327117 -2.79478)', '2026-06-25 04:42:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326974 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.79478)'))) / (select extract(epoch from '2026-06-25 04:42:21'::timestamp) - extract(epoch from '2026-06-25 04:42:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.326974 -2.794669)'), GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.79478)'))) / (select extract(epoch from '2026-06-25 04:42:21'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.327236 -2.794861)', '2026-06-25 04:42:28', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.79478)'), GeomFromEWKT('SRID=4674;POINT (-40.327236 -2.794861)'))) / (select extract(epoch from '2026-06-25 04:42:28'::timestamp) - extract(epoch from '2026-06-25 04:42:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327117 -2.79478)'), GeomFromEWKT('SRID=4674;POINT (-40.327236 -2.794861)'))) / (select extract(epoch from '2026-06-25 04:42:28'::timestamp) - extract(epoch from '2026-06-25 04:42: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'), 46709, 'SRID=4674;POINT (-40.327338 -2.794937)', '2026-06-25 04:42:34', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327236 -2.794861)'), GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.794937)'))) / (select extract(epoch from '2026-06-25 04:42:34'::timestamp) - extract(epoch from '2026-06-25 04:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327236 -2.794861)'), GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.794937)'))) / (select extract(epoch from '2026-06-25 04:42:34'::timestamp) - extract(epoch from '2026-06-25 04:42: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'), 46709, 'SRID=4674;POINT (-40.327483 -2.795037)', '2026-06-25 04:42:43', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.794937)'), GeomFromEWKT('SRID=4674;POINT (-40.327483 -2.795037)'))) / (select extract(epoch from '2026-06-25 04:42:43'::timestamp) - extract(epoch from '2026-06-25 04:42:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327338 -2.794937)'), GeomFromEWKT('SRID=4674;POINT (-40.327483 -2.795037)'))) / (select extract(epoch from '2026-06-25 04:42:43'::timestamp) - extract(epoch from '2026-06-25 04:42: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'), 46709, 'SRID=4674;POINT (-40.327598 -2.795124)', '2026-06-25 04:42:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327483 -2.795037)'), GeomFromEWKT('SRID=4674;POINT (-40.327598 -2.795124)'))) / (select extract(epoch from '2026-06-25 04:42:50'::timestamp) - extract(epoch from '2026-06-25 04:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327483 -2.795037)'), GeomFromEWKT('SRID=4674;POINT (-40.327598 -2.795124)'))) / (select extract(epoch from '2026-06-25 04:42:50'::timestamp) - extract(epoch from '2026-06-25 04:42: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'), 46709, 'SRID=4674;POINT (-40.327698 -2.795193)', '2026-06-25 04:42:56', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327598 -2.795124)'), GeomFromEWKT('SRID=4674;POINT (-40.327698 -2.795193)'))) / (select extract(epoch from '2026-06-25 04:42:56'::timestamp) - extract(epoch from '2026-06-25 04:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327598 -2.795124)'), GeomFromEWKT('SRID=4674;POINT (-40.327698 -2.795193)'))) / (select extract(epoch from '2026-06-25 04:42:56'::timestamp) - extract(epoch from '2026-06-25 04:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.327824 -2.795297)', '2026-06-25 04:43:04', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327698 -2.795193)'), GeomFromEWKT('SRID=4674;POINT (-40.327824 -2.795297)'))) / (select extract(epoch from '2026-06-25 04:43:04'::timestamp) - extract(epoch from '2026-06-25 04:42:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327698 -2.795193)'), GeomFromEWKT('SRID=4674;POINT (-40.327824 -2.795297)'))) / (select extract(epoch from '2026-06-25 04:43:04'::timestamp) - extract(epoch from '2026-06-25 04:42: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'), 46709, 'SRID=4674;POINT (-40.327964 -2.795407)', '2026-06-25 04:43:13', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327824 -2.795297)'), GeomFromEWKT('SRID=4674;POINT (-40.327964 -2.795407)'))) / (select extract(epoch from '2026-06-25 04:43:13'::timestamp) - extract(epoch from '2026-06-25 04:43:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327824 -2.795297)'), GeomFromEWKT('SRID=4674;POINT (-40.327964 -2.795407)'))) / (select extract(epoch from '2026-06-25 04:43:13'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.328083 -2.795517)', '2026-06-25 04:43:21', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327964 -2.795407)'), GeomFromEWKT('SRID=4674;POINT (-40.328083 -2.795517)'))) / (select extract(epoch from '2026-06-25 04:43:21'::timestamp) - extract(epoch from '2026-06-25 04:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.327964 -2.795407)'), GeomFromEWKT('SRID=4674;POINT (-40.328083 -2.795517)'))) / (select extract(epoch from '2026-06-25 04:43:21'::timestamp) - extract(epoch from '2026-06-25 04:43: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'), 46709, 'SRID=4674;POINT (-40.328201 -2.795606)', '2026-06-25 04:43:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328083 -2.795517)'), GeomFromEWKT('SRID=4674;POINT (-40.328201 -2.795606)'))) / (select extract(epoch from '2026-06-25 04:43:28'::timestamp) - extract(epoch from '2026-06-25 04:43:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328083 -2.795517)'), GeomFromEWKT('SRID=4674;POINT (-40.328201 -2.795606)'))) / (select extract(epoch from '2026-06-25 04:43:28'::timestamp) - extract(epoch from '2026-06-25 04:43: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'), 46709, 'SRID=4674;POINT (-40.32835 -2.795696)', '2026-06-25 04:43:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328201 -2.795606)'), GeomFromEWKT('SRID=4674;POINT (-40.32835 -2.795696)'))) / (select extract(epoch from '2026-06-25 04:43:36'::timestamp) - extract(epoch from '2026-06-25 04:43:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328201 -2.795606)'), GeomFromEWKT('SRID=4674;POINT (-40.32835 -2.795696)'))) / (select extract(epoch from '2026-06-25 04:43:36'::timestamp) - extract(epoch from '2026-06-25 04:43:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.328461 -2.795776)', '2026-06-25 04:43:43', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32835 -2.795696)'), GeomFromEWKT('SRID=4674;POINT (-40.328461 -2.795776)'))) / (select extract(epoch from '2026-06-25 04:43:43'::timestamp) - extract(epoch from '2026-06-25 04:43:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32835 -2.795696)'), GeomFromEWKT('SRID=4674;POINT (-40.328461 -2.795776)'))) / (select extract(epoch from '2026-06-25 04:43:43'::timestamp) - extract(epoch from '2026-06-25 04:43:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.328547 -2.795841)', '2026-06-25 04:43:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328461 -2.795776)'), GeomFromEWKT('SRID=4674;POINT (-40.328547 -2.795841)'))) / (select extract(epoch from '2026-06-25 04:43:49'::timestamp) - extract(epoch from '2026-06-25 04:43:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328461 -2.795776)'), GeomFromEWKT('SRID=4674;POINT (-40.328547 -2.795841)'))) / (select extract(epoch from '2026-06-25 04:43:49'::timestamp) - extract(epoch from '2026-06-25 04:43: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'), 46709, 'SRID=4674;POINT (-40.328635 -2.795899)', '2026-06-25 04:43:56', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328547 -2.795841)'), GeomFromEWKT('SRID=4674;POINT (-40.328635 -2.795899)'))) / (select extract(epoch from '2026-06-25 04:43:56'::timestamp) - extract(epoch from '2026-06-25 04:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328547 -2.795841)'), GeomFromEWKT('SRID=4674;POINT (-40.328635 -2.795899)'))) / (select extract(epoch from '2026-06-25 04:43:56'::timestamp) - extract(epoch from '2026-06-25 04:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.328737 -2.795997)', '2026-06-25 04:44:04', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328635 -2.795899)'), GeomFromEWKT('SRID=4674;POINT (-40.328737 -2.795997)'))) / (select extract(epoch from '2026-06-25 04:44:04'::timestamp) - extract(epoch from '2026-06-25 04:43:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328635 -2.795899)'), GeomFromEWKT('SRID=4674;POINT (-40.328737 -2.795997)'))) / (select extract(epoch from '2026-06-25 04:44:04'::timestamp) - extract(epoch from '2026-06-25 04:43: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'), 46709, 'SRID=4674;POINT (-40.328852 -2.796117)', '2026-06-25 04:44:12', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328737 -2.795997)'), GeomFromEWKT('SRID=4674;POINT (-40.328852 -2.796117)'))) / (select extract(epoch from '2026-06-25 04:44:12'::timestamp) - extract(epoch from '2026-06-25 04:44:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328737 -2.795997)'), GeomFromEWKT('SRID=4674;POINT (-40.328852 -2.796117)'))) / (select extract(epoch from '2026-06-25 04:44:12'::timestamp) - extract(epoch from '2026-06-25 04:44: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'), 46709, 'SRID=4674;POINT (-40.328999 -2.796203)', '2026-06-25 04:44:20', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328852 -2.796117)'), GeomFromEWKT('SRID=4674;POINT (-40.328999 -2.796203)'))) / (select extract(epoch from '2026-06-25 04:44:20'::timestamp) - extract(epoch from '2026-06-25 04:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328852 -2.796117)'), GeomFromEWKT('SRID=4674;POINT (-40.328999 -2.796203)'))) / (select extract(epoch from '2026-06-25 04:44:20'::timestamp) - extract(epoch from '2026-06-25 04:44: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'), 46709, 'SRID=4674;POINT (-40.329125 -2.79629)', '2026-06-25 04:44:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328999 -2.796203)'), GeomFromEWKT('SRID=4674;POINT (-40.329125 -2.79629)'))) / (select extract(epoch from '2026-06-25 04:44:27'::timestamp) - extract(epoch from '2026-06-25 04:44:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.328999 -2.796203)'), GeomFromEWKT('SRID=4674;POINT (-40.329125 -2.79629)'))) / (select extract(epoch from '2026-06-25 04:44:27'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.329232 -2.796392)', '2026-06-25 04:44:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329125 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.796392)'))) / (select extract(epoch from '2026-06-25 04:44:34'::timestamp) - extract(epoch from '2026-06-25 04:44:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329125 -2.79629)'), GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.796392)'))) / (select extract(epoch from '2026-06-25 04:44:34'::timestamp) - extract(epoch from '2026-06-25 04:44: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'), 46709, 'SRID=4674;POINT (-40.329371 -2.796514)', '2026-06-25 04:44:43', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.796392)'), GeomFromEWKT('SRID=4674;POINT (-40.329371 -2.796514)'))) / (select extract(epoch from '2026-06-25 04:44:43'::timestamp) - extract(epoch from '2026-06-25 04:44:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329232 -2.796392)'), GeomFromEWKT('SRID=4674;POINT (-40.329371 -2.796514)'))) / (select extract(epoch from '2026-06-25 04:44:43'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.329496 -2.796636)', '2026-06-25 04:44:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329371 -2.796514)'), GeomFromEWKT('SRID=4674;POINT (-40.329496 -2.796636)'))) / (select extract(epoch from '2026-06-25 04:44:51'::timestamp) - extract(epoch from '2026-06-25 04:44:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329371 -2.796514)'), GeomFromEWKT('SRID=4674;POINT (-40.329496 -2.796636)'))) / (select extract(epoch from '2026-06-25 04:44:51'::timestamp) - extract(epoch from '2026-06-25 04:44: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'), 46709, 'SRID=4674;POINT (-40.329582 -2.796749)', '2026-06-25 04:44:58', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329496 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.329582 -2.796749)'))) / (select extract(epoch from '2026-06-25 04:44:58'::timestamp) - extract(epoch from '2026-06-25 04:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329496 -2.796636)'), GeomFromEWKT('SRID=4674;POINT (-40.329582 -2.796749)'))) / (select extract(epoch from '2026-06-25 04:44:58'::timestamp) - extract(epoch from '2026-06-25 04:44:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.32967 -2.796867)', '2026-06-25 04:45:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329582 -2.796749)'), GeomFromEWKT('SRID=4674;POINT (-40.32967 -2.796867)'))) / (select extract(epoch from '2026-06-25 04:45:05'::timestamp) - extract(epoch from '2026-06-25 04:44:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329582 -2.796749)'), GeomFromEWKT('SRID=4674;POINT (-40.32967 -2.796867)'))) / (select extract(epoch from '2026-06-25 04:45:05'::timestamp) - extract(epoch from '2026-06-25 04:44:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.32971 -2.796948)', '2026-06-25 04:45:11', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32967 -2.796867)'), GeomFromEWKT('SRID=4674;POINT (-40.32971 -2.796948)'))) / (select extract(epoch from '2026-06-25 04:45:11'::timestamp) - extract(epoch from '2026-06-25 04:45:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32967 -2.796867)'), GeomFromEWKT('SRID=4674;POINT (-40.32971 -2.796948)'))) / (select extract(epoch from '2026-06-25 04:45:11'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.329696 -2.797016)', '2026-06-25 04:45:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32971 -2.796948)'), GeomFromEWKT('SRID=4674;POINT (-40.329696 -2.797016)'))) / (select extract(epoch from '2026-06-25 04:45:17'::timestamp) - extract(epoch from '2026-06-25 04:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32971 -2.796948)'), GeomFromEWKT('SRID=4674;POINT (-40.329696 -2.797016)'))) / (select extract(epoch from '2026-06-25 04:45:17'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.329657 -2.797037)', '2026-06-25 04:45:22', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329696 -2.797016)'), GeomFromEWKT('SRID=4674;POINT (-40.329657 -2.797037)'))) / (select extract(epoch from '2026-06-25 04:45:22'::timestamp) - extract(epoch from '2026-06-25 04:45:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329696 -2.797016)'), GeomFromEWKT('SRID=4674;POINT (-40.329657 -2.797037)'))) / (select extract(epoch from '2026-06-25 04:45:22'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.32965 -2.797034)', '2026-06-25 04:45:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329657 -2.797037)'), GeomFromEWKT('SRID=4674;POINT (-40.32965 -2.797034)'))) / (select extract(epoch from '2026-06-25 04:45:23'::timestamp) - extract(epoch from '2026-06-25 04:45:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329657 -2.797037)'), GeomFromEWKT('SRID=4674;POINT (-40.32965 -2.797034)'))) / (select extract(epoch from '2026-06-25 04:45:23'::timestamp) - extract(epoch from '2026-06-25 04:45: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'), 46709, 'SRID=4674;POINT (-40.329588 -2.796964)', '2026-06-25 04:45:31', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32965 -2.797034)'), GeomFromEWKT('SRID=4674;POINT (-40.329588 -2.796964)'))) / (select extract(epoch from '2026-06-25 04:45:31'::timestamp) - extract(epoch from '2026-06-25 04:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32965 -2.797034)'), GeomFromEWKT('SRID=4674;POINT (-40.329588 -2.796964)'))) / (select extract(epoch from '2026-06-25 04:45:31'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.329485 -2.796916)', '2026-06-25 04:45:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329588 -2.796964)'), GeomFromEWKT('SRID=4674;POINT (-40.329485 -2.796916)'))) / (select extract(epoch from '2026-06-25 04:45:39'::timestamp) - extract(epoch from '2026-06-25 04:45:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329588 -2.796964)'), GeomFromEWKT('SRID=4674;POINT (-40.329485 -2.796916)'))) / (select extract(epoch from '2026-06-25 04:45:39'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.329379 -2.796911)', '2026-06-25 04:45:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329485 -2.796916)'), GeomFromEWKT('SRID=4674;POINT (-40.329379 -2.796911)'))) / (select extract(epoch from '2026-06-25 04:45:46'::timestamp) - extract(epoch from '2026-06-25 04:45:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329485 -2.796916)'), GeomFromEWKT('SRID=4674;POINT (-40.329379 -2.796911)'))) / (select extract(epoch from '2026-06-25 04:45:46'::timestamp) - extract(epoch from '2026-06-25 04:45: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'), 46709, 'SRID=4674;POINT (-40.329241 -2.796957)', '2026-06-25 04:45:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329379 -2.796911)'), GeomFromEWKT('SRID=4674;POINT (-40.329241 -2.796957)'))) / (select extract(epoch from '2026-06-25 04:45:55'::timestamp) - extract(epoch from '2026-06-25 04:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329379 -2.796911)'), GeomFromEWKT('SRID=4674;POINT (-40.329241 -2.796957)'))) / (select extract(epoch from '2026-06-25 04:45:55'::timestamp) - extract(epoch from '2026-06-25 04:45: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'), 46709, 'SRID=4674;POINT (-40.329168 -2.797008)', '2026-06-25 04:46:02', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329241 -2.796957)'), GeomFromEWKT('SRID=4674;POINT (-40.329168 -2.797008)'))) / (select extract(epoch from '2026-06-25 04:46:02'::timestamp) - extract(epoch from '2026-06-25 04:45:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329241 -2.796957)'), GeomFromEWKT('SRID=4674;POINT (-40.329168 -2.797008)'))) / (select extract(epoch from '2026-06-25 04:46:02'::timestamp) - extract(epoch from '2026-06-25 04:45: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'), 46709, 'SRID=4674;POINT (-40.329137 -2.797029)', '2026-06-25 04:46:07', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329168 -2.797008)'), GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.797029)'))) / (select extract(epoch from '2026-06-25 04:46:07'::timestamp) - extract(epoch from '2026-06-25 04:46:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329168 -2.797008)'), GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.797029)'))) / (select extract(epoch from '2026-06-25 04:46:07'::timestamp) - extract(epoch from '2026-06-25 04:46:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329106 -2.797069)', '2026-06-25 04:46:18', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.797029)'), GeomFromEWKT('SRID=4674;POINT (-40.329106 -2.797069)'))) / (select extract(epoch from '2026-06-25 04:46:18'::timestamp) - extract(epoch from '2026-06-25 04:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329137 -2.797029)'), GeomFromEWKT('SRID=4674;POINT (-40.329106 -2.797069)'))) / (select extract(epoch from '2026-06-25 04:46:18'::timestamp) - extract(epoch from '2026-06-25 04:46: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'), 46709, 'SRID=4674;POINT (-40.329123 -2.797093)', '2026-06-25 04:46:34', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329106 -2.797069)'), GeomFromEWKT('SRID=4674;POINT (-40.329123 -2.797093)'))) / (select extract(epoch from '2026-06-25 04:46:34'::timestamp) - extract(epoch from '2026-06-25 04:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329106 -2.797069)'), GeomFromEWKT('SRID=4674;POINT (-40.329123 -2.797093)'))) / (select extract(epoch from '2026-06-25 04:46:34'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.32916 -2.797099)', '2026-06-25 04:46:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329123 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.32916 -2.797099)'))) / (select extract(epoch from '2026-06-25 04:46:50'::timestamp) - extract(epoch from '2026-06-25 04:46:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329123 -2.797093)'), GeomFromEWKT('SRID=4674;POINT (-40.32916 -2.797099)'))) / (select extract(epoch from '2026-06-25 04:46:50'::timestamp) - extract(epoch from '2026-06-25 04:46:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329214 -2.797087)', '2026-06-25 04:47:08', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32916 -2.797099)'), GeomFromEWKT('SRID=4674;POINT (-40.329214 -2.797087)'))) / (select extract(epoch from '2026-06-25 04:47:08'::timestamp) - extract(epoch from '2026-06-25 04:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32916 -2.797099)'), GeomFromEWKT('SRID=4674;POINT (-40.329214 -2.797087)'))) / (select extract(epoch from '2026-06-25 04:47:08'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.32925 -2.797072)', '2026-06-25 04:47:21', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329214 -2.797087)'), GeomFromEWKT('SRID=4674;POINT (-40.32925 -2.797072)'))) / (select extract(epoch from '2026-06-25 04:47:21'::timestamp) - extract(epoch from '2026-06-25 04:47:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329214 -2.797087)'), GeomFromEWKT('SRID=4674;POINT (-40.32925 -2.797072)'))) / (select extract(epoch from '2026-06-25 04:47:21'::timestamp) - extract(epoch from '2026-06-25 04:47: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'), 46709, 'SRID=4674;POINT (-40.329305 -2.797034)', '2026-06-25 04:47:41', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32925 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.797034)'))) / (select extract(epoch from '2026-06-25 04:47:41'::timestamp) - extract(epoch from '2026-06-25 04:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32925 -2.797072)'), GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.797034)'))) / (select extract(epoch from '2026-06-25 04:47:41'::timestamp) - extract(epoch from '2026-06-25 04:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329334 -2.796999)', '2026-06-25 04:47:55', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.797034)'), GeomFromEWKT('SRID=4674;POINT (-40.329334 -2.796999)'))) / (select extract(epoch from '2026-06-25 04:47:55'::timestamp) - extract(epoch from '2026-06-25 04:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329305 -2.797034)'), GeomFromEWKT('SRID=4674;POINT (-40.329334 -2.796999)'))) / (select extract(epoch from '2026-06-25 04:47:55'::timestamp) - extract(epoch from '2026-06-25 04:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329363 -2.796972)', '2026-06-25 04:48:06', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329334 -2.796999)'), GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.796972)'))) / (select extract(epoch from '2026-06-25 04:48:06'::timestamp) - extract(epoch from '2026-06-25 04:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329334 -2.796999)'), GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.796972)'))) / (select extract(epoch from '2026-06-25 04:48:06'::timestamp) - extract(epoch from '2026-06-25 04:47: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'), 46709, 'SRID=4674;POINT (-40.329405 -2.796941)', '2026-06-25 04:48:17', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.796972)'), GeomFromEWKT('SRID=4674;POINT (-40.329405 -2.796941)'))) / (select extract(epoch from '2026-06-25 04:48:17'::timestamp) - extract(epoch from '2026-06-25 04:48:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.796972)'), GeomFromEWKT('SRID=4674;POINT (-40.329405 -2.796941)'))) / (select extract(epoch from '2026-06-25 04:48:17'::timestamp) - extract(epoch from '2026-06-25 04:48: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'), 46709, 'SRID=4674;POINT (-40.329445 -2.796943)', '2026-06-25 04:48:35', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329405 -2.796941)'), GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.796943)'))) / (select extract(epoch from '2026-06-25 04:48:35'::timestamp) - extract(epoch from '2026-06-25 04:48:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329405 -2.796941)'), GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.796943)'))) / (select extract(epoch from '2026-06-25 04:48:35'::timestamp) - extract(epoch from '2026-06-25 04:48: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'), 46709, 'SRID=4674;POINT (-40.329446 -2.796948)', '2026-06-25 04:49:03', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.796943)'), GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.796948)'))) / (select extract(epoch from '2026-06-25 04:49:03'::timestamp) - extract(epoch from '2026-06-25 04:48:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.796943)'), GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.796948)'))) / (select extract(epoch from '2026-06-25 04:49:03'::timestamp) - extract(epoch from '2026-06-25 04:48: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'), 46709, 'SRID=4674;POINT (-40.329452 -2.796945)', '2026-06-25 04:49:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.796948)'), GeomFromEWKT('SRID=4674;POINT (-40.329452 -2.796945)'))) / (select extract(epoch from '2026-06-25 04:49:39'::timestamp) - extract(epoch from '2026-06-25 04:49:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.796948)'), GeomFromEWKT('SRID=4674;POINT (-40.329452 -2.796945)'))) / (select extract(epoch from '2026-06-25 04:49:39'::timestamp) - extract(epoch from '2026-06-25 04:49:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329447 -2.796942)', '2026-06-25 04:50:21', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329452 -2.796945)'), GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.796942)'))) / (select extract(epoch from '2026-06-25 04:50:21'::timestamp) - extract(epoch from '2026-06-25 04:49:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329452 -2.796945)'), GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.796942)'))) / (select extract(epoch from '2026-06-25 04:50:21'::timestamp) - extract(epoch from '2026-06-25 04:49: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'), 46709, 'SRID=4674;POINT (-40.329444 -2.796942)', '2026-06-25 04:50:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.796942)'), GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.796942)'))) / (select extract(epoch from '2026-06-25 04:50:38'::timestamp) - extract(epoch from '2026-06-25 04:50:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329447 -2.796942)'), GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.796942)'))) / (select extract(epoch from '2026-06-25 04:50:38'::timestamp) - extract(epoch from '2026-06-25 04:50:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329437 -2.796943)', '2026-06-25 04:51:00', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.796942)'), GeomFromEWKT('SRID=4674;POINT (-40.329437 -2.796943)'))) / (select extract(epoch from '2026-06-25 04:51:00'::timestamp) - extract(epoch from '2026-06-25 04:50:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329444 -2.796942)'), GeomFromEWKT('SRID=4674;POINT (-40.329437 -2.796943)'))) / (select extract(epoch from '2026-06-25 04:51:00'::timestamp) - extract(epoch from '2026-06-25 04:50: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'), 46709, 'SRID=4674;POINT (-40.329445 -2.79693)', '2026-06-25 04:51:18', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329437 -2.796943)'), GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.79693)'))) / (select extract(epoch from '2026-06-25 04:51:18'::timestamp) - extract(epoch from '2026-06-25 04:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329437 -2.796943)'), GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.79693)'))) / (select extract(epoch from '2026-06-25 04:51:18'::timestamp) - extract(epoch from '2026-06-25 04:51: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'), 46709, 'SRID=4674;POINT (-40.329446 -2.796934)', '2026-06-25 04:51:34', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.79693)'), GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.796934)'))) / (select extract(epoch from '2026-06-25 04:51:34'::timestamp) - extract(epoch from '2026-06-25 04:51:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329445 -2.79693)'), GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.796934)'))) / (select extract(epoch from '2026-06-25 04:51:34'::timestamp) - extract(epoch from '2026-06-25 04:51: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'), 46709, 'SRID=4674;POINT (-40.329435 -2.796936)', '2026-06-25 04:52:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.796934)'), GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.796936)'))) / (select extract(epoch from '2026-06-25 04:52:01'::timestamp) - extract(epoch from '2026-06-25 04:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329446 -2.796934)'), GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.796936)'))) / (select extract(epoch from '2026-06-25 04:52:01'::timestamp) - extract(epoch from '2026-06-25 04:51: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'), 46709, 'SRID=4674;POINT (-40.32943 -2.79693)', '2026-06-25 04:52:15', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.796936)'), GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.79693)'))) / (select extract(epoch from '2026-06-25 04:52:15'::timestamp) - extract(epoch from '2026-06-25 04:52:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.796936)'), GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.79693)'))) / (select extract(epoch from '2026-06-25 04:52:15'::timestamp) - extract(epoch from '2026-06-25 04:52: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'), 46709, 'SRID=4674;POINT (-40.329435 -2.796927)', '2026-06-25 04:52:30', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.79693)'), GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.796927)'))) / (select extract(epoch from '2026-06-25 04:52:30'::timestamp) - extract(epoch from '2026-06-25 04:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.79693)'), GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.796927)'))) / (select extract(epoch from '2026-06-25 04:52:30'::timestamp) - extract(epoch from '2026-06-25 04:52: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'), 46709, 'SRID=4674;POINT (-40.329429 -2.796914)', '2026-06-25 04:52:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.796927)'), GeomFromEWKT('SRID=4674;POINT (-40.329429 -2.796914)'))) / (select extract(epoch from '2026-06-25 04:52:44'::timestamp) - extract(epoch from '2026-06-25 04:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329435 -2.796927)'), GeomFromEWKT('SRID=4674;POINT (-40.329429 -2.796914)'))) / (select extract(epoch from '2026-06-25 04:52:44'::timestamp) - extract(epoch from '2026-06-25 04:52: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'), 46709, 'SRID=4674;POINT (-40.329424 -2.796899)', '2026-06-25 04:53:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329429 -2.796914)'), GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.796899)'))) / (select extract(epoch from '2026-06-25 04:53:24'::timestamp) - extract(epoch from '2026-06-25 04:52:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329429 -2.796914)'), GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.796899)'))) / (select extract(epoch from '2026-06-25 04:53:24'::timestamp) - extract(epoch from '2026-06-25 04:52:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329428 -2.796912)', '2026-06-25 04:53:43', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.796899)'), GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.796912)'))) / (select extract(epoch from '2026-06-25 04:53:43'::timestamp) - extract(epoch from '2026-06-25 04:53:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329424 -2.796899)'), GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.796912)'))) / (select extract(epoch from '2026-06-25 04:53:43'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.32943 -2.796922)', '2026-06-25 04:54:01', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.796912)'), GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.796922)'))) / (select extract(epoch from '2026-06-25 04:54:01'::timestamp) - extract(epoch from '2026-06-25 04:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329428 -2.796912)'), GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.796922)'))) / (select extract(epoch from '2026-06-25 04:54:01'::timestamp) - extract(epoch from '2026-06-25 04:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.32943 -2.79691)', '2026-06-25 04:54:36', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.796922)'), GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.79691)'))) / (select extract(epoch from '2026-06-25 04:54:36'::timestamp) - extract(epoch from '2026-06-25 04:54:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.796922)'), GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.79691)'))) / (select extract(epoch from '2026-06-25 04:54:36'::timestamp) - extract(epoch from '2026-06-25 04:54:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329434 -2.796915)', '2026-06-25 04:55:04', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.79691)'), GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.796915)'))) / (select extract(epoch from '2026-06-25 04:55:04'::timestamp) - extract(epoch from '2026-06-25 04:54:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32943 -2.79691)'), GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.796915)'))) / (select extract(epoch from '2026-06-25 04:55:04'::timestamp) - extract(epoch from '2026-06-25 04:54:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329429 -2.796901)', '2026-06-25 04:55:14', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.796915)'), GeomFromEWKT('SRID=4674;POINT (-40.329429 -2.796901)'))) / (select extract(epoch from '2026-06-25 04:55:14'::timestamp) - extract(epoch from '2026-06-25 04:55:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329434 -2.796915)'), GeomFromEWKT('SRID=4674;POINT (-40.329429 -2.796901)'))) / (select extract(epoch from '2026-06-25 04:55:14'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.32942 -2.796891)', '2026-06-25 04:55:28', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329429 -2.796901)'), GeomFromEWKT('SRID=4674;POINT (-40.32942 -2.796891)'))) / (select extract(epoch from '2026-06-25 04:55:28'::timestamp) - extract(epoch from '2026-06-25 04:55:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329429 -2.796901)'), GeomFromEWKT('SRID=4674;POINT (-40.32942 -2.796891)'))) / (select extract(epoch from '2026-06-25 04:55:28'::timestamp) - extract(epoch from '2026-06-25 04:55:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329415 -2.796893)', '2026-06-25 04:55:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32942 -2.796891)'), GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.796893)'))) / (select extract(epoch from '2026-06-25 04:55:44'::timestamp) - extract(epoch from '2026-06-25 04:55:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32942 -2.796891)'), GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.796893)'))) / (select extract(epoch from '2026-06-25 04:55:44'::timestamp) - extract(epoch from '2026-06-25 04:55:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329382 -2.796913)', '2026-06-25 04:55:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.796893)'), GeomFromEWKT('SRID=4674;POINT (-40.329382 -2.796913)'))) / (select extract(epoch from '2026-06-25 04:55:55'::timestamp) - extract(epoch from '2026-06-25 04:55:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329415 -2.796893)'), GeomFromEWKT('SRID=4674;POINT (-40.329382 -2.796913)'))) / (select extract(epoch from '2026-06-25 04:55:55'::timestamp) - extract(epoch from '2026-06-25 04: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'), 46709, 'SRID=4674;POINT (-40.329374 -2.796925)', '2026-06-25 04:56:03', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329382 -2.796913)'), GeomFromEWKT('SRID=4674;POINT (-40.329374 -2.796925)'))) / (select extract(epoch from '2026-06-25 04:56:03'::timestamp) - extract(epoch from '2026-06-25 04:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329382 -2.796913)'), GeomFromEWKT('SRID=4674;POINT (-40.329374 -2.796925)'))) / (select extract(epoch from '2026-06-25 04:56:03'::timestamp) - extract(epoch from '2026-06-25 04:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329337 -2.796946)', '2026-06-25 04:56:17', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329374 -2.796925)'), GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796946)'))) / (select extract(epoch from '2026-06-25 04:56:17'::timestamp) - extract(epoch from '2026-06-25 04:56:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329374 -2.796925)'), GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796946)'))) / (select extract(epoch from '2026-06-25 04:56:17'::timestamp) - extract(epoch from '2026-06-25 04:56:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329295 -2.796958)', '2026-06-25 04:56:26', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796946)'), GeomFromEWKT('SRID=4674;POINT (-40.329295 -2.796958)'))) / (select extract(epoch from '2026-06-25 04:56:26'::timestamp) - extract(epoch from '2026-06-25 04:56:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796946)'), GeomFromEWKT('SRID=4674;POINT (-40.329295 -2.796958)'))) / (select extract(epoch from '2026-06-25 04:56:26'::timestamp) - extract(epoch from '2026-06-25 04:56: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'), 46709, 'SRID=4674;POINT (-40.329286 -2.796952)', '2026-06-25 04:56:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329295 -2.796958)'), GeomFromEWKT('SRID=4674;POINT (-40.329286 -2.796952)'))) / (select extract(epoch from '2026-06-25 04:56:36'::timestamp) - extract(epoch from '2026-06-25 04:56:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329295 -2.796958)'), GeomFromEWKT('SRID=4674;POINT (-40.329286 -2.796952)'))) / (select extract(epoch from '2026-06-25 04:56:36'::timestamp) - extract(epoch from '2026-06-25 04:56: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'), 46709, 'SRID=4674;POINT (-40.329294 -2.796936)', '2026-06-25 04:56:45', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329286 -2.796952)'), GeomFromEWKT('SRID=4674;POINT (-40.329294 -2.796936)'))) / (select extract(epoch from '2026-06-25 04:56:45'::timestamp) - extract(epoch from '2026-06-25 04:56:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329286 -2.796952)'), GeomFromEWKT('SRID=4674;POINT (-40.329294 -2.796936)'))) / (select extract(epoch from '2026-06-25 04:56:45'::timestamp) - extract(epoch from '2026-06-25 04:56: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'), 46709, 'SRID=4674;POINT (-40.329307 -2.796916)', '2026-06-25 04:57:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329294 -2.796936)'), GeomFromEWKT('SRID=4674;POINT (-40.329307 -2.796916)'))) / (select extract(epoch from '2026-06-25 04:57:01'::timestamp) - extract(epoch from '2026-06-25 04:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329294 -2.796936)'), GeomFromEWKT('SRID=4674;POINT (-40.329307 -2.796916)'))) / (select extract(epoch from '2026-06-25 04:57:01'::timestamp) - extract(epoch from '2026-06-25 04:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329312 -2.796902)', '2026-06-25 04:57:19', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329307 -2.796916)'), GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.796902)'))) / (select extract(epoch from '2026-06-25 04:57:19'::timestamp) - extract(epoch from '2026-06-25 04:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329307 -2.796916)'), GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.796902)'))) / (select extract(epoch from '2026-06-25 04:57:19'::timestamp) - extract(epoch from '2026-06-25 04:57: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'), 46709, 'SRID=4674;POINT (-40.329321 -2.79692)', '2026-06-25 04:57:31', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.796902)'), GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.79692)'))) / (select extract(epoch from '2026-06-25 04:57:31'::timestamp) - extract(epoch from '2026-06-25 04:57:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.796902)'), GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.79692)'))) / (select extract(epoch from '2026-06-25 04:57:31'::timestamp) - extract(epoch from '2026-06-25 04:57:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.32934 -2.79693)', '2026-06-25 04:57:46', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.79692)'), GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.79693)'))) / (select extract(epoch from '2026-06-25 04:57:46'::timestamp) - extract(epoch from '2026-06-25 04:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.79692)'), GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.79693)'))) / (select extract(epoch from '2026-06-25 04:57:46'::timestamp) - extract(epoch from '2026-06-25 04:57: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'), 46709, 'SRID=4674;POINT (-40.329338 -2.796924)', '2026-06-25 04:58:15', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.79693)'), GeomFromEWKT('SRID=4674;POINT (-40.329338 -2.796924)'))) / (select extract(epoch from '2026-06-25 04:58:15'::timestamp) - extract(epoch from '2026-06-25 04:57:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.79693)'), GeomFromEWKT('SRID=4674;POINT (-40.329338 -2.796924)'))) / (select extract(epoch from '2026-06-25 04:58:15'::timestamp) - extract(epoch from '2026-06-25 04:57:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329356 -2.796925)', '2026-06-25 04:58:30', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329338 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.796925)'))) / (select extract(epoch from '2026-06-25 04:58:30'::timestamp) - extract(epoch from '2026-06-25 04:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329338 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.796925)'))) / (select extract(epoch from '2026-06-25 04:58:30'::timestamp) - extract(epoch from '2026-06-25 04:58: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'), 46709, 'SRID=4674;POINT (-40.329363 -2.796936)', '2026-06-25 04:58:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.796925)'), GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.796936)'))) / (select extract(epoch from '2026-06-25 04:58:49'::timestamp) - extract(epoch from '2026-06-25 04:58:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329356 -2.796925)'), GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.796936)'))) / (select extract(epoch from '2026-06-25 04:58:49'::timestamp) - extract(epoch from '2026-06-25 04:58:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.32936 -2.796928)', '2026-06-25 04:59:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.796936)'), GeomFromEWKT('SRID=4674;POINT (-40.32936 -2.796928)'))) / (select extract(epoch from '2026-06-25 04:59:05'::timestamp) - extract(epoch from '2026-06-25 04:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329363 -2.796936)'), GeomFromEWKT('SRID=4674;POINT (-40.32936 -2.796928)'))) / (select extract(epoch from '2026-06-25 04:59:05'::timestamp) - extract(epoch from '2026-06-25 04:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329351 -2.796926)', '2026-06-25 04:59:24', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32936 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.329351 -2.796926)'))) / (select extract(epoch from '2026-06-25 04:59:24'::timestamp) - extract(epoch from '2026-06-25 04:59:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32936 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.329351 -2.796926)'))) / (select extract(epoch from '2026-06-25 04:59:24'::timestamp) - extract(epoch from '2026-06-25 04:59:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329361 -2.796928)', '2026-06-25 04:59:40', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329351 -2.796926)'), GeomFromEWKT('SRID=4674;POINT (-40.329361 -2.796928)'))) / (select extract(epoch from '2026-06-25 04:59:40'::timestamp) - extract(epoch from '2026-06-25 04:59:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329351 -2.796926)'), GeomFromEWKT('SRID=4674;POINT (-40.329361 -2.796928)'))) / (select extract(epoch from '2026-06-25 04:59:40'::timestamp) - extract(epoch from '2026-06-25 04:59: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'), 46709, 'SRID=4674;POINT (-40.329359 -2.796945)', '2026-06-25 04:59:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329361 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.329359 -2.796945)'))) / (select extract(epoch from '2026-06-25 04:59:53'::timestamp) - extract(epoch from '2026-06-25 04:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329361 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.329359 -2.796945)'))) / (select extract(epoch from '2026-06-25 04:59:53'::timestamp) - extract(epoch from '2026-06-25 04:59: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'), 46709, 'SRID=4674;POINT (-40.32935 -2.796944)', '2026-06-25 05:00:08', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329359 -2.796945)'), GeomFromEWKT('SRID=4674;POINT (-40.32935 -2.796944)'))) / (select extract(epoch from '2026-06-25 05:00:08'::timestamp) - extract(epoch from '2026-06-25 04:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329359 -2.796945)'), GeomFromEWKT('SRID=4674;POINT (-40.32935 -2.796944)'))) / (select extract(epoch from '2026-06-25 05:00:08'::timestamp) - extract(epoch from '2026-06-25 04:59: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'), 46709, 'SRID=4674;POINT (-40.329342 -2.796929)', '2026-06-25 05:00:25', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32935 -2.796944)'), GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.796929)'))) / (select extract(epoch from '2026-06-25 05:00:25'::timestamp) - extract(epoch from '2026-06-25 05:00:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32935 -2.796944)'), GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.796929)'))) / (select extract(epoch from '2026-06-25 05:00:25'::timestamp) - extract(epoch from '2026-06-25 05:00: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'), 46709, 'SRID=4674;POINT (-40.32934 -2.796924)', '2026-06-25 05:00:39', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.796929)'), GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796924)'))) / (select extract(epoch from '2026-06-25 05:00:39'::timestamp) - extract(epoch from '2026-06-25 05:00:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329342 -2.796929)'), GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796924)'))) / (select extract(epoch from '2026-06-25 05:00:39'::timestamp) - extract(epoch from '2026-06-25 05:00: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'), 46709, 'SRID=4674;POINT (-40.32934 -2.796919)', '2026-06-25 05:01:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796919)'))) / (select extract(epoch from '2026-06-25 05:01:02'::timestamp) - extract(epoch from '2026-06-25 05:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796919)'))) / (select extract(epoch from '2026-06-25 05:01:02'::timestamp) - extract(epoch from '2026-06-25 05:00: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'), 46709, 'SRID=4674;POINT (-40.329344 -2.796923)', '2026-06-25 05:01:20', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796919)'), GeomFromEWKT('SRID=4674;POINT (-40.329344 -2.796923)'))) / (select extract(epoch from '2026-06-25 05:01:20'::timestamp) - extract(epoch from '2026-06-25 05:01:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796919)'), GeomFromEWKT('SRID=4674;POINT (-40.329344 -2.796923)'))) / (select extract(epoch from '2026-06-25 05:01:20'::timestamp) - extract(epoch from '2026-06-25 05:01: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'), 46709, 'SRID=4674;POINT (-40.329345 -2.796927)', '2026-06-25 05:01:36', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329344 -2.796923)'), GeomFromEWKT('SRID=4674;POINT (-40.329345 -2.796927)'))) / (select extract(epoch from '2026-06-25 05:01:36'::timestamp) - extract(epoch from '2026-06-25 05:01:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329344 -2.796923)'), GeomFromEWKT('SRID=4674;POINT (-40.329345 -2.796927)'))) / (select extract(epoch from '2026-06-25 05:01:36'::timestamp) - extract(epoch from '2026-06-25 05:01: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'), 46709, 'SRID=4674;POINT (-40.329336 -2.796924)', '2026-06-25 05:01:54', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329345 -2.796927)'), GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796924)'))) / (select extract(epoch from '2026-06-25 05:01:54'::timestamp) - extract(epoch from '2026-06-25 05:01:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329345 -2.796927)'), GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796924)'))) / (select extract(epoch from '2026-06-25 05:01:54'::timestamp) - extract(epoch from '2026-06-25 05:01: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'), 46709, 'SRID=4674;POINT (-40.329336 -2.79692)', '2026-06-25 05:02:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.79692)'))) / (select extract(epoch from '2026-06-25 05:02:18'::timestamp) - extract(epoch from '2026-06-25 05:01:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.79692)'))) / (select extract(epoch from '2026-06-25 05:02:18'::timestamp) - extract(epoch from '2026-06-25 05:01: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'), 46709, 'SRID=4674;POINT (-40.329329 -2.796929)', '2026-06-25 05:02:41', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.79692)'), GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796929)'))) / (select extract(epoch from '2026-06-25 05:02:41'::timestamp) - extract(epoch from '2026-06-25 05:02:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.79692)'), GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796929)'))) / (select extract(epoch from '2026-06-25 05:02:41'::timestamp) - extract(epoch from '2026-06-25 05:02: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'), 46709, 'SRID=4674;POINT (-40.329337 -2.796935)', '2026-06-25 05:03:00', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796929)'), GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796935)'))) / (select extract(epoch from '2026-06-25 05:03:00'::timestamp) - extract(epoch from '2026-06-25 05:02:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796929)'), GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796935)'))) / (select extract(epoch from '2026-06-25 05:03:00'::timestamp) - extract(epoch from '2026-06-25 05:02: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'), 46709, 'SRID=4674;POINT (-40.32934 -2.796921)', '2026-06-25 05:03:20', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796935)'), GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796921)'))) / (select extract(epoch from '2026-06-25 05:03:20'::timestamp) - extract(epoch from '2026-06-25 05:03:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796935)'), GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796921)'))) / (select extract(epoch from '2026-06-25 05:03:20'::timestamp) - extract(epoch from '2026-06-25 05:03:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329318 -2.796915)', '2026-06-25 05:03:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796921)'), GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.796915)'))) / (select extract(epoch from '2026-06-25 05:03:43'::timestamp) - extract(epoch from '2026-06-25 05:03:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32934 -2.796921)'), GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.796915)'))) / (select extract(epoch from '2026-06-25 05:03:43'::timestamp) - extract(epoch from '2026-06-25 05:03:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329321 -2.796912)', '2026-06-25 05:03:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.796915)'), GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796912)'))) / (select extract(epoch from '2026-06-25 05:03:57'::timestamp) - extract(epoch from '2026-06-25 05:03:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329318 -2.796915)'), GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796912)'))) / (select extract(epoch from '2026-06-25 05:03:57'::timestamp) - extract(epoch from '2026-06-25 05:03: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'), 46709, 'SRID=4674;POINT (-40.329319 -2.796916)', '2026-06-25 05:04:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796912)'), GeomFromEWKT('SRID=4674;POINT (-40.329319 -2.796916)'))) / (select extract(epoch from '2026-06-25 05:04:12'::timestamp) - extract(epoch from '2026-06-25 05:03:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796912)'), GeomFromEWKT('SRID=4674;POINT (-40.329319 -2.796916)'))) / (select extract(epoch from '2026-06-25 05:04:12'::timestamp) - extract(epoch from '2026-06-25 05:03: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'), 46709, 'SRID=4674;POINT (-40.329326 -2.79691)', '2026-06-25 05:04:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329319 -2.796916)'), GeomFromEWKT('SRID=4674;POINT (-40.329326 -2.79691)'))) / (select extract(epoch from '2026-06-25 05:04:30'::timestamp) - extract(epoch from '2026-06-25 05:04:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329319 -2.796916)'), GeomFromEWKT('SRID=4674;POINT (-40.329326 -2.79691)'))) / (select extract(epoch from '2026-06-25 05:04:30'::timestamp) - extract(epoch from '2026-06-25 05:04: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'), 46709, 'SRID=4674;POINT (-40.329329 -2.796901)', '2026-06-25 05:04:47', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329326 -2.79691)'), GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796901)'))) / (select extract(epoch from '2026-06-25 05:04:47'::timestamp) - extract(epoch from '2026-06-25 05:04:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329326 -2.79691)'), GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796901)'))) / (select extract(epoch from '2026-06-25 05:04:47'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.329329 -2.796902)', '2026-06-25 05:05:06', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796901)'), GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796902)'))) / (select extract(epoch from '2026-06-25 05:05:06'::timestamp) - extract(epoch from '2026-06-25 05:04:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796901)'), GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796902)'))) / (select extract(epoch from '2026-06-25 05:05:06'::timestamp) - extract(epoch from '2026-06-25 05:04:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329321 -2.796891)', '2026-06-25 05:05:23', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796902)'), GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796891)'))) / (select extract(epoch from '2026-06-25 05:05:23'::timestamp) - extract(epoch from '2026-06-25 05:05:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329329 -2.796902)'), GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796891)'))) / (select extract(epoch from '2026-06-25 05:05:23'::timestamp) - extract(epoch from '2026-06-25 05:05: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'), 46709, 'SRID=4674;POINT (-40.329308 -2.796895)', '2026-06-25 05:05:36', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796891)'), GeomFromEWKT('SRID=4674;POINT (-40.329308 -2.796895)'))) / (select extract(epoch from '2026-06-25 05:05:36'::timestamp) - extract(epoch from '2026-06-25 05:05:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796891)'), GeomFromEWKT('SRID=4674;POINT (-40.329308 -2.796895)'))) / (select extract(epoch from '2026-06-25 05:05:36'::timestamp) - extract(epoch from '2026-06-25 05:05:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329306 -2.7969)', '2026-06-25 05:05:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329308 -2.796895)'), GeomFromEWKT('SRID=4674;POINT (-40.329306 -2.7969)'))) / (select extract(epoch from '2026-06-25 05:05:50'::timestamp) - extract(epoch from '2026-06-25 05:05:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329308 -2.796895)'), GeomFromEWKT('SRID=4674;POINT (-40.329306 -2.7969)'))) / (select extract(epoch from '2026-06-25 05:05:50'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.329315 -2.796916)', '2026-06-25 05:06:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329306 -2.7969)'), GeomFromEWKT('SRID=4674;POINT (-40.329315 -2.796916)'))) / (select extract(epoch from '2026-06-25 05:06:16'::timestamp) - extract(epoch from '2026-06-25 05:05:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329306 -2.7969)'), GeomFromEWKT('SRID=4674;POINT (-40.329315 -2.796916)'))) / (select extract(epoch from '2026-06-25 05:06:16'::timestamp) - extract(epoch from '2026-06-25 05:05:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329316 -2.796925)', '2026-06-25 05:06:34', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329315 -2.796916)'), GeomFromEWKT('SRID=4674;POINT (-40.329316 -2.796925)'))) / (select extract(epoch from '2026-06-25 05:06:34'::timestamp) - extract(epoch from '2026-06-25 05:06:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329315 -2.796916)'), GeomFromEWKT('SRID=4674;POINT (-40.329316 -2.796925)'))) / (select extract(epoch from '2026-06-25 05:06:34'::timestamp) - extract(epoch from '2026-06-25 05:06: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'), 46709, 'SRID=4674;POINT (-40.329325 -2.796922)', '2026-06-25 05:06:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329316 -2.796925)'), GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.796922)'))) / (select extract(epoch from '2026-06-25 05:06:48'::timestamp) - extract(epoch from '2026-06-25 05:06:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329316 -2.796925)'), GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.796922)'))) / (select extract(epoch from '2026-06-25 05:06:48'::timestamp) - extract(epoch from '2026-06-25 05:06:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329321 -2.796917)', '2026-06-25 05:07:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.796922)'), GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796917)'))) / (select extract(epoch from '2026-06-25 05:07:01'::timestamp) - extract(epoch from '2026-06-25 05:06:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.796922)'), GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796917)'))) / (select extract(epoch from '2026-06-25 05:07:01'::timestamp) - extract(epoch from '2026-06-25 05:06: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'), 46709, 'SRID=4674;POINT (-40.329322 -2.796917)', '2026-06-25 05:07:15', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796917)'), GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.796917)'))) / (select extract(epoch from '2026-06-25 05:07:15'::timestamp) - extract(epoch from '2026-06-25 05:07:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329321 -2.796917)'), GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.796917)'))) / (select extract(epoch from '2026-06-25 05:07:15'::timestamp) - extract(epoch from '2026-06-25 05:07:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329327 -2.796917)', '2026-06-25 05:07:35', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.796917)'), GeomFromEWKT('SRID=4674;POINT (-40.329327 -2.796917)'))) / (select extract(epoch from '2026-06-25 05:07:35'::timestamp) - extract(epoch from '2026-06-25 05:07:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.796917)'), GeomFromEWKT('SRID=4674;POINT (-40.329327 -2.796917)'))) / (select extract(epoch from '2026-06-25 05:07:35'::timestamp) - extract(epoch from '2026-06-25 05:07:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329336 -2.796925)', '2026-06-25 05:07:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329327 -2.796917)'), GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796925)'))) / (select extract(epoch from '2026-06-25 05:07:56'::timestamp) - extract(epoch from '2026-06-25 05:07:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329327 -2.796917)'), GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796925)'))) / (select extract(epoch from '2026-06-25 05:07:56'::timestamp) - extract(epoch from '2026-06-25 05:07:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329331 -2.796918)', '2026-06-25 05:08:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796925)'), GeomFromEWKT('SRID=4674;POINT (-40.329331 -2.796918)'))) / (select extract(epoch from '2026-06-25 05:08:16'::timestamp) - extract(epoch from '2026-06-25 05:07:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796925)'), GeomFromEWKT('SRID=4674;POINT (-40.329331 -2.796918)'))) / (select extract(epoch from '2026-06-25 05:08:16'::timestamp) - extract(epoch from '2026-06-25 05:07: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'), 46709, 'SRID=4674;POINT (-40.329323 -2.79691)', '2026-06-25 05:08:35', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329331 -2.796918)'), GeomFromEWKT('SRID=4674;POINT (-40.329323 -2.79691)'))) / (select extract(epoch from '2026-06-25 05:08:35'::timestamp) - extract(epoch from '2026-06-25 05:08:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329331 -2.796918)'), GeomFromEWKT('SRID=4674;POINT (-40.329323 -2.79691)'))) / (select extract(epoch from '2026-06-25 05:08:35'::timestamp) - extract(epoch from '2026-06-25 05:08: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'), 46709, 'SRID=4674;POINT (-40.329331 -2.796918)', '2026-06-25 05:08:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329323 -2.79691)'), GeomFromEWKT('SRID=4674;POINT (-40.329331 -2.796918)'))) / (select extract(epoch from '2026-06-25 05:08:49'::timestamp) - extract(epoch from '2026-06-25 05:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329323 -2.79691)'), GeomFromEWKT('SRID=4674;POINT (-40.329331 -2.796918)'))) / (select extract(epoch from '2026-06-25 05:08:49'::timestamp) - extract(epoch from '2026-06-25 05:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329337 -2.796935)', '2026-06-25 05:09:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329331 -2.796918)'), GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796935)'))) / (select extract(epoch from '2026-06-25 05:09:10'::timestamp) - extract(epoch from '2026-06-25 05:08:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329331 -2.796918)'), GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796935)'))) / (select extract(epoch from '2026-06-25 05:09:10'::timestamp) - extract(epoch from '2026-06-25 05:08:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329336 -2.796928)', '2026-06-25 05:09:25', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796935)'), GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796928)'))) / (select extract(epoch from '2026-06-25 05:09:25'::timestamp) - extract(epoch from '2026-06-25 05:09:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329337 -2.796935)'), GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796928)'))) / (select extract(epoch from '2026-06-25 05:09:25'::timestamp) - extract(epoch from '2026-06-25 05:09: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'), 46709, 'SRID=4674;POINT (-40.329325 -2.796908)', '2026-06-25 05:09:44', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.796908)'))) / (select extract(epoch from '2026-06-25 05:09:44'::timestamp) - extract(epoch from '2026-06-25 05:09:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329336 -2.796928)'), GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.796908)'))) / (select extract(epoch from '2026-06-25 05:09:44'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.329322 -2.796905)', '2026-06-25 05:10:01', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.796908)'), GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.796905)'))) / (select extract(epoch from '2026-06-25 05:10:01'::timestamp) - extract(epoch from '2026-06-25 05:09:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329325 -2.796908)'), GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.796905)'))) / (select extract(epoch from '2026-06-25 05:10:01'::timestamp) - extract(epoch from '2026-06-25 05:09:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329312 -2.796901)', '2026-06-25 05:10:18', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.796905)'), GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.796901)'))) / (select extract(epoch from '2026-06-25 05:10:18'::timestamp) - extract(epoch from '2026-06-25 05:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329322 -2.796905)'), GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.796901)'))) / (select extract(epoch from '2026-06-25 05:10:18'::timestamp) - extract(epoch from '2026-06-25 05:10: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'), 46709, 'SRID=4674;POINT (-40.329282 -2.796934)', '2026-06-25 05:10:28', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.796901)'), GeomFromEWKT('SRID=4674;POINT (-40.329282 -2.796934)'))) / (select extract(epoch from '2026-06-25 05:10:28'::timestamp) - extract(epoch from '2026-06-25 05:10:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329312 -2.796901)'), GeomFromEWKT('SRID=4674;POINT (-40.329282 -2.796934)'))) / (select extract(epoch from '2026-06-25 05:10:28'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.329223 -2.796997)', '2026-06-25 05:10:41', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329282 -2.796934)'), GeomFromEWKT('SRID=4674;POINT (-40.329223 -2.796997)'))) / (select extract(epoch from '2026-06-25 05:10:41'::timestamp) - extract(epoch from '2026-06-25 05:10:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329282 -2.796934)'), GeomFromEWKT('SRID=4674;POINT (-40.329223 -2.796997)'))) / (select extract(epoch from '2026-06-25 05:10:41'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.329186 -2.797042)', '2026-06-25 05:10:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329223 -2.796997)'), GeomFromEWKT('SRID=4674;POINT (-40.329186 -2.797042)'))) / (select extract(epoch from '2026-06-25 05:10:51'::timestamp) - extract(epoch from '2026-06-25 05:10:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329223 -2.796997)'), GeomFromEWKT('SRID=4674;POINT (-40.329186 -2.797042)'))) / (select extract(epoch from '2026-06-25 05:10:51'::timestamp) - extract(epoch from '2026-06-25 05:10: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'), 46709, 'SRID=4674;POINT (-40.329181 -2.797053)', '2026-06-25 05:10:59', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329186 -2.797042)'), GeomFromEWKT('SRID=4674;POINT (-40.329181 -2.797053)'))) / (select extract(epoch from '2026-06-25 05:10:59'::timestamp) - extract(epoch from '2026-06-25 05:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329186 -2.797042)'), GeomFromEWKT('SRID=4674;POINT (-40.329181 -2.797053)'))) / (select extract(epoch from '2026-06-25 05:10:59'::timestamp) - extract(epoch from '2026-06-25 05:10: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'), 46709, 'SRID=4674;POINT (-40.329204 -2.797056)', '2026-06-25 05:11:20', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329181 -2.797053)'), GeomFromEWKT('SRID=4674;POINT (-40.329204 -2.797056)'))) / (select extract(epoch from '2026-06-25 05:11:20'::timestamp) - extract(epoch from '2026-06-25 05:10:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329181 -2.797053)'), GeomFromEWKT('SRID=4674;POINT (-40.329204 -2.797056)'))) / (select extract(epoch from '2026-06-25 05:11:20'::timestamp) - extract(epoch from '2026-06-25 05:10:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329247 -2.79705)', '2026-06-25 05:11:39', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329204 -2.797056)'), GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.79705)'))) / (select extract(epoch from '2026-06-25 05:11:39'::timestamp) - extract(epoch from '2026-06-25 05:11:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329204 -2.797056)'), GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.79705)'))) / (select extract(epoch from '2026-06-25 05:11:39'::timestamp) - extract(epoch from '2026-06-25 05:11: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'), 46709, 'SRID=4674;POINT (-40.329287 -2.79703)', '2026-06-25 05:11:52', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.79705)'), GeomFromEWKT('SRID=4674;POINT (-40.329287 -2.79703)'))) / (select extract(epoch from '2026-06-25 05:11:52'::timestamp) - extract(epoch from '2026-06-25 05:11:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329247 -2.79705)'), GeomFromEWKT('SRID=4674;POINT (-40.329287 -2.79703)'))) / (select extract(epoch from '2026-06-25 05:11:52'::timestamp) - extract(epoch from '2026-06-25 05:11: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'), 46709, 'SRID=4674;POINT (-40.329326 -2.797028)', '2026-06-25 05:12:09', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329287 -2.79703)'), GeomFromEWKT('SRID=4674;POINT (-40.329326 -2.797028)'))) / (select extract(epoch from '2026-06-25 05:12:09'::timestamp) - extract(epoch from '2026-06-25 05:11:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329287 -2.79703)'), GeomFromEWKT('SRID=4674;POINT (-40.329326 -2.797028)'))) / (select extract(epoch from '2026-06-25 05:12:09'::timestamp) - extract(epoch from '2026-06-25 05:11: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'), 46709, 'SRID=4674;POINT (-40.329361 -2.797022)', '2026-06-25 05:12:23', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329326 -2.797028)'), GeomFromEWKT('SRID=4674;POINT (-40.329361 -2.797022)'))) / (select extract(epoch from '2026-06-25 05:12:23'::timestamp) - extract(epoch from '2026-06-25 05:12:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329326 -2.797028)'), GeomFromEWKT('SRID=4674;POINT (-40.329361 -2.797022)'))) / (select extract(epoch from '2026-06-25 05:12:23'::timestamp) - extract(epoch from '2026-06-25 05:12: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'), 46709, 'SRID=4674;POINT (-40.329387 -2.797011)', '2026-06-25 05:12:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329361 -2.797022)'), GeomFromEWKT('SRID=4674;POINT (-40.329387 -2.797011)'))) / (select extract(epoch from '2026-06-25 05:12:35'::timestamp) - extract(epoch from '2026-06-25 05:12:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329361 -2.797022)'), GeomFromEWKT('SRID=4674;POINT (-40.329387 -2.797011)'))) / (select extract(epoch from '2026-06-25 05:12:35'::timestamp) - extract(epoch from '2026-06-25 05:12: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'), 46709, 'SRID=4674;POINT (-40.329417 -2.796998)', '2026-06-25 05:12:46', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329387 -2.797011)'), GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.796998)'))) / (select extract(epoch from '2026-06-25 05:12:46'::timestamp) - extract(epoch from '2026-06-25 05:12:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329387 -2.797011)'), GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.796998)'))) / (select extract(epoch from '2026-06-25 05:12:46'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.329451 -2.796972)', '2026-06-25 05:12:57', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.796998)'), GeomFromEWKT('SRID=4674;POINT (-40.329451 -2.796972)'))) / (select extract(epoch from '2026-06-25 05:12:57'::timestamp) - extract(epoch from '2026-06-25 05:12:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329417 -2.796998)'), GeomFromEWKT('SRID=4674;POINT (-40.329451 -2.796972)'))) / (select extract(epoch from '2026-06-25 05:12:57'::timestamp) - extract(epoch from '2026-06-25 05:12:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329468 -2.79696)', '2026-06-25 05:13:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329451 -2.796972)'), GeomFromEWKT('SRID=4674;POINT (-40.329468 -2.79696)'))) / (select extract(epoch from '2026-06-25 05:13:06'::timestamp) - extract(epoch from '2026-06-25 05:12:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329451 -2.796972)'), GeomFromEWKT('SRID=4674;POINT (-40.329468 -2.79696)'))) / (select extract(epoch from '2026-06-25 05:13:06'::timestamp) - extract(epoch from '2026-06-25 05:12: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'), 46709, 'SRID=4674;POINT (-40.329534 -2.796924)', '2026-06-25 05:13:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329468 -2.79696)'), GeomFromEWKT('SRID=4674;POINT (-40.329534 -2.796924)'))) / (select extract(epoch from '2026-06-25 05:13:22'::timestamp) - extract(epoch from '2026-06-25 05:13:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329468 -2.79696)'), GeomFromEWKT('SRID=4674;POINT (-40.329534 -2.796924)'))) / (select extract(epoch from '2026-06-25 05:13:22'::timestamp) - extract(epoch from '2026-06-25 05:13: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'), 46709, 'SRID=4674;POINT (-40.329575 -2.796916)', '2026-06-25 05:13:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329534 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.329575 -2.796916)'))) / (select extract(epoch from '2026-06-25 05:13:39'::timestamp) - extract(epoch from '2026-06-25 05:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329534 -2.796924)'), GeomFromEWKT('SRID=4674;POINT (-40.329575 -2.796916)'))) / (select extract(epoch from '2026-06-25 05:13:39'::timestamp) - extract(epoch from '2026-06-25 05:13: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'), 46709, 'SRID=4674;POINT (-40.329604 -2.796893)', '2026-06-25 05:13:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329575 -2.796916)'), GeomFromEWKT('SRID=4674;POINT (-40.329604 -2.796893)'))) / (select extract(epoch from '2026-06-25 05:13:55'::timestamp) - extract(epoch from '2026-06-25 05:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329575 -2.796916)'), GeomFromEWKT('SRID=4674;POINT (-40.329604 -2.796893)'))) / (select extract(epoch from '2026-06-25 05:13:55'::timestamp) - extract(epoch from '2026-06-25 05:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.329636 -2.796866)', '2026-06-25 05:14:10', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329604 -2.796893)'), GeomFromEWKT('SRID=4674;POINT (-40.329636 -2.796866)'))) / (select extract(epoch from '2026-06-25 05:14:10'::timestamp) - extract(epoch from '2026-06-25 05:13:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329604 -2.796893)'), GeomFromEWKT('SRID=4674;POINT (-40.329636 -2.796866)'))) / (select extract(epoch from '2026-06-25 05:14:10'::timestamp) - extract(epoch from '2026-06-25 05:13: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'), 46709, 'SRID=4674;POINT (-40.329692 -2.796852)', '2026-06-25 05:14:25', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329636 -2.796866)'), GeomFromEWKT('SRID=4674;POINT (-40.329692 -2.796852)'))) / (select extract(epoch from '2026-06-25 05:14:25'::timestamp) - extract(epoch from '2026-06-25 05:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329636 -2.796866)'), GeomFromEWKT('SRID=4674;POINT (-40.329692 -2.796852)'))) / (select extract(epoch from '2026-06-25 05:14:25'::timestamp) - extract(epoch from '2026-06-25 05:14: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'), 46709, 'SRID=4674;POINT (-40.329737 -2.796819)', '2026-06-25 05:14:38', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329692 -2.796852)'), GeomFromEWKT('SRID=4674;POINT (-40.329737 -2.796819)'))) / (select extract(epoch from '2026-06-25 05:14:38'::timestamp) - extract(epoch from '2026-06-25 05:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329692 -2.796852)'), GeomFromEWKT('SRID=4674;POINT (-40.329737 -2.796819)'))) / (select extract(epoch from '2026-06-25 05:14:38'::timestamp) - extract(epoch from '2026-06-25 05:14: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'), 46709, 'SRID=4674;POINT (-40.329778 -2.796803)', '2026-06-25 05:14:51', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329737 -2.796819)'), GeomFromEWKT('SRID=4674;POINT (-40.329778 -2.796803)'))) / (select extract(epoch from '2026-06-25 05:14:51'::timestamp) - extract(epoch from '2026-06-25 05:14:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329737 -2.796819)'), GeomFromEWKT('SRID=4674;POINT (-40.329778 -2.796803)'))) / (select extract(epoch from '2026-06-25 05:14:51'::timestamp) - extract(epoch from '2026-06-25 05:14: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'), 46709, 'SRID=4674;POINT (-40.329807 -2.796762)', '2026-06-25 05:15:02', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329778 -2.796803)'), GeomFromEWKT('SRID=4674;POINT (-40.329807 -2.796762)'))) / (select extract(epoch from '2026-06-25 05:15:02'::timestamp) - extract(epoch from '2026-06-25 05:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329778 -2.796803)'), GeomFromEWKT('SRID=4674;POINT (-40.329807 -2.796762)'))) / (select extract(epoch from '2026-06-25 05:15:02'::timestamp) - extract(epoch from '2026-06-25 05:14: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'), 46709, 'SRID=4674;POINT (-40.32989 -2.796687)', '2026-06-25 05:15:08', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329807 -2.796762)'), GeomFromEWKT('SRID=4674;POINT (-40.32989 -2.796687)'))) / (select extract(epoch from '2026-06-25 05:15:08'::timestamp) - extract(epoch from '2026-06-25 05:15:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.329807 -2.796762)'), GeomFromEWKT('SRID=4674;POINT (-40.32989 -2.796687)'))) / (select extract(epoch from '2026-06-25 05:15:08'::timestamp) - extract(epoch from '2026-06-25 05:15: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'), 46709, 'SRID=4674;POINT (-40.330051 -2.79665)', '2026-06-25 05:15:15', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32989 -2.796687)'), GeomFromEWKT('SRID=4674;POINT (-40.330051 -2.79665)'))) / (select extract(epoch from '2026-06-25 05:15:15'::timestamp) - extract(epoch from '2026-06-25 05:15:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.32989 -2.796687)'), GeomFromEWKT('SRID=4674;POINT (-40.330051 -2.79665)'))) / (select extract(epoch from '2026-06-25 05:15:15'::timestamp) - extract(epoch from '2026-06-25 05:15: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'), 46709, 'SRID=4674;POINT (-40.330217 -2.796698)', '2026-06-25 05:15:22', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330051 -2.79665)'), GeomFromEWKT('SRID=4674;POINT (-40.330217 -2.796698)'))) / (select extract(epoch from '2026-06-25 05:15:22'::timestamp) - extract(epoch from '2026-06-25 05:15:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330051 -2.79665)'), GeomFromEWKT('SRID=4674;POINT (-40.330217 -2.796698)'))) / (select extract(epoch from '2026-06-25 05:15:22'::timestamp) - extract(epoch from '2026-06-25 05:15:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.330365 -2.796788)', '2026-06-25 05:15:29', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330217 -2.796698)'), GeomFromEWKT('SRID=4674;POINT (-40.330365 -2.796788)'))) / (select extract(epoch from '2026-06-25 05:15:29'::timestamp) - extract(epoch from '2026-06-25 05:15:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330217 -2.796698)'), GeomFromEWKT('SRID=4674;POINT (-40.330365 -2.796788)'))) / (select extract(epoch from '2026-06-25 05:15:29'::timestamp) - extract(epoch from '2026-06-25 05:15: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'), 46709, 'SRID=4674;POINT (-40.330525 -2.796919)', '2026-06-25 05:15:38', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330365 -2.796788)'), GeomFromEWKT('SRID=4674;POINT (-40.330525 -2.796919)'))) / (select extract(epoch from '2026-06-25 05:15:38'::timestamp) - extract(epoch from '2026-06-25 05:15:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330365 -2.796788)'), GeomFromEWKT('SRID=4674;POINT (-40.330525 -2.796919)'))) / (select extract(epoch from '2026-06-25 05:15:38'::timestamp) - extract(epoch from '2026-06-25 05:15: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'), 46709, 'SRID=4674;POINT (-40.330656 -2.797014)', '2026-06-25 05:15:46', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330525 -2.796919)'), GeomFromEWKT('SRID=4674;POINT (-40.330656 -2.797014)'))) / (select extract(epoch from '2026-06-25 05:15:46'::timestamp) - extract(epoch from '2026-06-25 05:15:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330525 -2.796919)'), GeomFromEWKT('SRID=4674;POINT (-40.330656 -2.797014)'))) / (select extract(epoch from '2026-06-25 05:15:46'::timestamp) - extract(epoch from '2026-06-25 05:15:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.33078 -2.797086)', '2026-06-25 05:15:54', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330656 -2.797014)'), GeomFromEWKT('SRID=4674;POINT (-40.33078 -2.797086)'))) / (select extract(epoch from '2026-06-25 05:15:54'::timestamp) - extract(epoch from '2026-06-25 05:15:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330656 -2.797014)'), GeomFromEWKT('SRID=4674;POINT (-40.33078 -2.797086)'))) / (select extract(epoch from '2026-06-25 05:15:54'::timestamp) - extract(epoch from '2026-06-25 05:15: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'), 46709, 'SRID=4674;POINT (-40.330964 -2.797165)', '2026-06-25 05:16:04', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33078 -2.797086)'), GeomFromEWKT('SRID=4674;POINT (-40.330964 -2.797165)'))) / (select extract(epoch from '2026-06-25 05:16:04'::timestamp) - extract(epoch from '2026-06-25 05:15:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33078 -2.797086)'), GeomFromEWKT('SRID=4674;POINT (-40.330964 -2.797165)'))) / (select extract(epoch from '2026-06-25 05:16:04'::timestamp) - extract(epoch from '2026-06-25 05:15:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.331082 -2.797227)', '2026-06-25 05:16:11', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330964 -2.797165)'), GeomFromEWKT('SRID=4674;POINT (-40.331082 -2.797227)'))) / (select extract(epoch from '2026-06-25 05:16:11'::timestamp) - extract(epoch from '2026-06-25 05:16:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.330964 -2.797165)'), GeomFromEWKT('SRID=4674;POINT (-40.331082 -2.797227)'))) / (select extract(epoch from '2026-06-25 05:16:11'::timestamp) - extract(epoch from '2026-06-25 05:16: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'), 46709, 'SRID=4674;POINT (-40.331226 -2.797291)', '2026-06-25 05:16:19', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331082 -2.797227)'), GeomFromEWKT('SRID=4674;POINT (-40.331226 -2.797291)'))) / (select extract(epoch from '2026-06-25 05:16:19'::timestamp) - extract(epoch from '2026-06-25 05:16:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331082 -2.797227)'), GeomFromEWKT('SRID=4674;POINT (-40.331226 -2.797291)'))) / (select extract(epoch from '2026-06-25 05:16:19'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.331374 -2.797369)', '2026-06-25 05:16:27', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331226 -2.797291)'), GeomFromEWKT('SRID=4674;POINT (-40.331374 -2.797369)'))) / (select extract(epoch from '2026-06-25 05:16:27'::timestamp) - extract(epoch from '2026-06-25 05:16:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331226 -2.797291)'), GeomFromEWKT('SRID=4674;POINT (-40.331374 -2.797369)'))) / (select extract(epoch from '2026-06-25 05:16:27'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.331487 -2.797434)', '2026-06-25 05:16:34', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331374 -2.797369)'), GeomFromEWKT('SRID=4674;POINT (-40.331487 -2.797434)'))) / (select extract(epoch from '2026-06-25 05:16:34'::timestamp) - extract(epoch from '2026-06-25 05:16:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331374 -2.797369)'), GeomFromEWKT('SRID=4674;POINT (-40.331487 -2.797434)'))) / (select extract(epoch from '2026-06-25 05:16:34'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.331619 -2.797501)', '2026-06-25 05:16:42', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331487 -2.797434)'), GeomFromEWKT('SRID=4674;POINT (-40.331619 -2.797501)'))) / (select extract(epoch from '2026-06-25 05:16:42'::timestamp) - extract(epoch from '2026-06-25 05:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331487 -2.797434)'), GeomFromEWKT('SRID=4674;POINT (-40.331619 -2.797501)'))) / (select extract(epoch from '2026-06-25 05:16:42'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.331761 -2.79759)', '2026-06-25 05:16:51', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331619 -2.797501)'), GeomFromEWKT('SRID=4674;POINT (-40.331761 -2.79759)'))) / (select extract(epoch from '2026-06-25 05:16:51'::timestamp) - extract(epoch from '2026-06-25 05:16:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331619 -2.797501)'), GeomFromEWKT('SRID=4674;POINT (-40.331761 -2.79759)'))) / (select extract(epoch from '2026-06-25 05:16:51'::timestamp) - extract(epoch from '2026-06-25 05:16:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.331919 -2.797674)', '2026-06-25 05:17:00', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331761 -2.79759)'), GeomFromEWKT('SRID=4674;POINT (-40.331919 -2.797674)'))) / (select extract(epoch from '2026-06-25 05:17:00'::timestamp) - extract(epoch from '2026-06-25 05:16:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331761 -2.79759)'), GeomFromEWKT('SRID=4674;POINT (-40.331919 -2.797674)'))) / (select extract(epoch from '2026-06-25 05:17:00'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.332022 -2.797747)', '2026-06-25 05:17:08', 9.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331919 -2.797674)'), GeomFromEWKT('SRID=4674;POINT (-40.332022 -2.797747)'))) / (select extract(epoch from '2026-06-25 05:17:08'::timestamp) - extract(epoch from '2026-06-25 05:17:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.331919 -2.797674)'), GeomFromEWKT('SRID=4674;POINT (-40.332022 -2.797747)'))) / (select extract(epoch from '2026-06-25 05:17:08'::timestamp) - extract(epoch from '2026-06-25 05:17: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'), 46709, 'SRID=4674;POINT (-40.332154 -2.797816)', '2026-06-25 05:17:16', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332022 -2.797747)'), GeomFromEWKT('SRID=4674;POINT (-40.332154 -2.797816)'))) / (select extract(epoch from '2026-06-25 05:17:16'::timestamp) - extract(epoch from '2026-06-25 05:17:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332022 -2.797747)'), GeomFromEWKT('SRID=4674;POINT (-40.332154 -2.797816)'))) / (select extract(epoch from '2026-06-25 05:17:16'::timestamp) - extract(epoch from '2026-06-25 05:17:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.332273 -2.797894)', '2026-06-25 05:17:24', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332154 -2.797816)'), GeomFromEWKT('SRID=4674;POINT (-40.332273 -2.797894)'))) / (select extract(epoch from '2026-06-25 05:17:24'::timestamp) - extract(epoch from '2026-06-25 05:17:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332154 -2.797816)'), GeomFromEWKT('SRID=4674;POINT (-40.332273 -2.797894)'))) / (select extract(epoch from '2026-06-25 05:17:24'::timestamp) - extract(epoch from '2026-06-25 05:17:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.332403 -2.797979)', '2026-06-25 05:17:32', 10.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332273 -2.797894)'), GeomFromEWKT('SRID=4674;POINT (-40.332403 -2.797979)'))) / (select extract(epoch from '2026-06-25 05:17:32'::timestamp) - extract(epoch from '2026-06-25 05:17:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332273 -2.797894)'), GeomFromEWKT('SRID=4674;POINT (-40.332403 -2.797979)'))) / (select extract(epoch from '2026-06-25 05:17:32'::timestamp) - extract(epoch from '2026-06-25 05:17:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.332565 -2.798066)', '2026-06-25 05:17:42', 9.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332403 -2.797979)'), GeomFromEWKT('SRID=4674;POINT (-40.332565 -2.798066)'))) / (select extract(epoch from '2026-06-25 05:17:42'::timestamp) - extract(epoch from '2026-06-25 05:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332403 -2.797979)'), GeomFromEWKT('SRID=4674;POINT (-40.332565 -2.798066)'))) / (select extract(epoch from '2026-06-25 05:17:42'::timestamp) - extract(epoch from '2026-06-25 05:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.332699 -2.798137)', '2026-06-25 05:17:50', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332565 -2.798066)'), GeomFromEWKT('SRID=4674;POINT (-40.332699 -2.798137)'))) / (select extract(epoch from '2026-06-25 05:17:50'::timestamp) - extract(epoch from '2026-06-25 05:17:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332565 -2.798066)'), GeomFromEWKT('SRID=4674;POINT (-40.332699 -2.798137)'))) / (select extract(epoch from '2026-06-25 05:17:50'::timestamp) - extract(epoch from '2026-06-25 05:17:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.332828 -2.798193)', '2026-06-25 05:17:58', 12, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332699 -2.798137)'), GeomFromEWKT('SRID=4674;POINT (-40.332828 -2.798193)'))) / (select extract(epoch from '2026-06-25 05:17:58'::timestamp) - extract(epoch from '2026-06-25 05:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332699 -2.798137)'), GeomFromEWKT('SRID=4674;POINT (-40.332828 -2.798193)'))) / (select extract(epoch from '2026-06-25 05:17:58'::timestamp) - extract(epoch from '2026-06-25 05:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.332938 -2.798257)', '2026-06-25 05:18:05', 11.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332828 -2.798193)'), GeomFromEWKT('SRID=4674;POINT (-40.332938 -2.798257)'))) / (select extract(epoch from '2026-06-25 05:18:05'::timestamp) - extract(epoch from '2026-06-25 05:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332828 -2.798193)'), GeomFromEWKT('SRID=4674;POINT (-40.332938 -2.798257)'))) / (select extract(epoch from '2026-06-25 05:18:05'::timestamp) - extract(epoch from '2026-06-25 05:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.333067 -2.79835)', '2026-06-25 05:18:13', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332938 -2.798257)'), GeomFromEWKT('SRID=4674;POINT (-40.333067 -2.79835)'))) / (select extract(epoch from '2026-06-25 05:18:13'::timestamp) - extract(epoch from '2026-06-25 05:18:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.332938 -2.798257)'), GeomFromEWKT('SRID=4674;POINT (-40.333067 -2.79835)'))) / (select extract(epoch from '2026-06-25 05:18:13'::timestamp) - extract(epoch from '2026-06-25 05:18: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'), 46709, 'SRID=4674;POINT (-40.333178 -2.798419)', '2026-06-25 05:18:20', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333067 -2.79835)'), GeomFromEWKT('SRID=4674;POINT (-40.333178 -2.798419)'))) / (select extract(epoch from '2026-06-25 05:18:20'::timestamp) - extract(epoch from '2026-06-25 05:18:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333067 -2.79835)'), GeomFromEWKT('SRID=4674;POINT (-40.333178 -2.798419)'))) / (select extract(epoch from '2026-06-25 05:18:20'::timestamp) - extract(epoch from '2026-06-25 05:18: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'), 46709, 'SRID=4674;POINT (-40.33327 -2.798476)', '2026-06-25 05:18:26', 9.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333178 -2.798419)'), GeomFromEWKT('SRID=4674;POINT (-40.33327 -2.798476)'))) / (select extract(epoch from '2026-06-25 05:18:26'::timestamp) - extract(epoch from '2026-06-25 05:18:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333178 -2.798419)'), GeomFromEWKT('SRID=4674;POINT (-40.33327 -2.798476)'))) / (select extract(epoch from '2026-06-25 05:18:26'::timestamp) - extract(epoch from '2026-06-25 05:18:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.333421 -2.798539)', '2026-06-25 05:18:35', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33327 -2.798476)'), GeomFromEWKT('SRID=4674;POINT (-40.333421 -2.798539)'))) / (select extract(epoch from '2026-06-25 05:18:35'::timestamp) - extract(epoch from '2026-06-25 05:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33327 -2.798476)'), GeomFromEWKT('SRID=4674;POINT (-40.333421 -2.798539)'))) / (select extract(epoch from '2026-06-25 05:18:35'::timestamp) - extract(epoch from '2026-06-25 05:18: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'), 46709, 'SRID=4674;POINT (-40.333547 -2.798608)', '2026-06-25 05:18:43', 10.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333421 -2.798539)'), GeomFromEWKT('SRID=4674;POINT (-40.333547 -2.798608)'))) / (select extract(epoch from '2026-06-25 05:18:43'::timestamp) - extract(epoch from '2026-06-25 05:18:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333421 -2.798539)'), GeomFromEWKT('SRID=4674;POINT (-40.333547 -2.798608)'))) / (select extract(epoch from '2026-06-25 05:18:43'::timestamp) - extract(epoch from '2026-06-25 05:18: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'), 46709, 'SRID=4674;POINT (-40.333708 -2.798683)', '2026-06-25 05:18:52', 11, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333547 -2.798608)'), GeomFromEWKT('SRID=4674;POINT (-40.333708 -2.798683)'))) / (select extract(epoch from '2026-06-25 05:18:52'::timestamp) - extract(epoch from '2026-06-25 05:18:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333547 -2.798608)'), GeomFromEWKT('SRID=4674;POINT (-40.333708 -2.798683)'))) / (select extract(epoch from '2026-06-25 05:18:52'::timestamp) - extract(epoch from '2026-06-25 05:18: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'), 46709, 'SRID=4674;POINT (-40.333852 -2.798779)', '2026-06-25 05:19:01', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333708 -2.798683)'), GeomFromEWKT('SRID=4674;POINT (-40.333852 -2.798779)'))) / (select extract(epoch from '2026-06-25 05:19:01'::timestamp) - extract(epoch from '2026-06-25 05:18:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333708 -2.798683)'), GeomFromEWKT('SRID=4674;POINT (-40.333852 -2.798779)'))) / (select extract(epoch from '2026-06-25 05:19:01'::timestamp) - extract(epoch from '2026-06-25 05:18:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.333931 -2.798833)', '2026-06-25 05:19:07', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333852 -2.798779)'), GeomFromEWKT('SRID=4674;POINT (-40.333931 -2.798833)'))) / (select extract(epoch from '2026-06-25 05:19:07'::timestamp) - extract(epoch from '2026-06-25 05:19:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333852 -2.798779)'), GeomFromEWKT('SRID=4674;POINT (-40.333931 -2.798833)'))) / (select extract(epoch from '2026-06-25 05:19:07'::timestamp) - extract(epoch from '2026-06-25 05:19:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.334056 -2.798886)', '2026-06-25 05:19:14', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333931 -2.798833)'), GeomFromEWKT('SRID=4674;POINT (-40.334056 -2.798886)'))) / (select extract(epoch from '2026-06-25 05:19:14'::timestamp) - extract(epoch from '2026-06-25 05:19:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.333931 -2.798833)'), GeomFromEWKT('SRID=4674;POINT (-40.334056 -2.798886)'))) / (select extract(epoch from '2026-06-25 05:19:14'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.334172 -2.798927)', '2026-06-25 05:19:21', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334056 -2.798886)'), GeomFromEWKT('SRID=4674;POINT (-40.334172 -2.798927)'))) / (select extract(epoch from '2026-06-25 05:19:21'::timestamp) - extract(epoch from '2026-06-25 05:19:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334056 -2.798886)'), GeomFromEWKT('SRID=4674;POINT (-40.334172 -2.798927)'))) / (select extract(epoch from '2026-06-25 05:19:21'::timestamp) - extract(epoch from '2026-06-25 05:19:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.33434 -2.798977)', '2026-06-25 05:19:30', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334172 -2.798927)'), GeomFromEWKT('SRID=4674;POINT (-40.33434 -2.798977)'))) / (select extract(epoch from '2026-06-25 05:19:30'::timestamp) - extract(epoch from '2026-06-25 05:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334172 -2.798927)'), GeomFromEWKT('SRID=4674;POINT (-40.33434 -2.798977)'))) / (select extract(epoch from '2026-06-25 05:19:30'::timestamp) - extract(epoch from '2026-06-25 05:19: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'), 46709, 'SRID=4674;POINT (-40.334532 -2.799038)', '2026-06-25 05:19:39', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33434 -2.798977)'), GeomFromEWKT('SRID=4674;POINT (-40.334532 -2.799038)'))) / (select extract(epoch from '2026-06-25 05:19:39'::timestamp) - extract(epoch from '2026-06-25 05:19:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33434 -2.798977)'), GeomFromEWKT('SRID=4674;POINT (-40.334532 -2.799038)'))) / (select extract(epoch from '2026-06-25 05:19:39'::timestamp) - extract(epoch from '2026-06-25 05:19: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'), 46709, 'SRID=4674;POINT (-40.334732 -2.799095)', '2026-06-25 05:19:48', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334532 -2.799038)'), GeomFromEWKT('SRID=4674;POINT (-40.334732 -2.799095)'))) / (select extract(epoch from '2026-06-25 05:19:48'::timestamp) - extract(epoch from '2026-06-25 05:19:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334532 -2.799038)'), GeomFromEWKT('SRID=4674;POINT (-40.334732 -2.799095)'))) / (select extract(epoch from '2026-06-25 05:19:48'::timestamp) - extract(epoch from '2026-06-25 05:19:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.334941 -2.79916)', '2026-06-25 05:19:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334732 -2.799095)'), GeomFromEWKT('SRID=4674;POINT (-40.334941 -2.79916)'))) / (select extract(epoch from '2026-06-25 05:19:58'::timestamp) - extract(epoch from '2026-06-25 05:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334732 -2.799095)'), GeomFromEWKT('SRID=4674;POINT (-40.334941 -2.79916)'))) / (select extract(epoch from '2026-06-25 05:19:58'::timestamp) - extract(epoch from '2026-06-25 05:19: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'), 46709, 'SRID=4674;POINT (-40.335076 -2.79923)', '2026-06-25 05:20:05', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334941 -2.79916)'), GeomFromEWKT('SRID=4674;POINT (-40.335076 -2.79923)'))) / (select extract(epoch from '2026-06-25 05:20:05'::timestamp) - extract(epoch from '2026-06-25 05:19:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.334941 -2.79916)'), GeomFromEWKT('SRID=4674;POINT (-40.335076 -2.79923)'))) / (select extract(epoch from '2026-06-25 05:20:05'::timestamp) - extract(epoch from '2026-06-25 05:19: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'), 46709, 'SRID=4674;POINT (-40.335231 -2.799266)', '2026-06-25 05:20:12', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335076 -2.79923)'), GeomFromEWKT('SRID=4674;POINT (-40.335231 -2.799266)'))) / (select extract(epoch from '2026-06-25 05:20:12'::timestamp) - extract(epoch from '2026-06-25 05:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335076 -2.79923)'), GeomFromEWKT('SRID=4674;POINT (-40.335231 -2.799266)'))) / (select extract(epoch from '2026-06-25 05:20:12'::timestamp) - extract(epoch from '2026-06-25 05:20: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'), 46709, 'SRID=4674;POINT (-40.335424 -2.799264)', '2026-06-25 05:20:20', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335231 -2.799266)'), GeomFromEWKT('SRID=4674;POINT (-40.335424 -2.799264)'))) / (select extract(epoch from '2026-06-25 05:20:20'::timestamp) - extract(epoch from '2026-06-25 05:20:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335231 -2.799266)'), GeomFromEWKT('SRID=4674;POINT (-40.335424 -2.799264)'))) / (select extract(epoch from '2026-06-25 05:20:20'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.335593 -2.799325)', '2026-06-25 05:20:28', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335424 -2.799264)'), GeomFromEWKT('SRID=4674;POINT (-40.335593 -2.799325)'))) / (select extract(epoch from '2026-06-25 05:20:28'::timestamp) - extract(epoch from '2026-06-25 05:20:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335424 -2.799264)'), GeomFromEWKT('SRID=4674;POINT (-40.335593 -2.799325)'))) / (select extract(epoch from '2026-06-25 05:20:28'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.335738 -2.799393)', '2026-06-25 05:20:35', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335593 -2.799325)'), GeomFromEWKT('SRID=4674;POINT (-40.335738 -2.799393)'))) / (select extract(epoch from '2026-06-25 05:20:35'::timestamp) - extract(epoch from '2026-06-25 05:20:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335593 -2.799325)'), GeomFromEWKT('SRID=4674;POINT (-40.335738 -2.799393)'))) / (select extract(epoch from '2026-06-25 05:20:35'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.335885 -2.799433)', '2026-06-25 05:20:42', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335738 -2.799393)'), GeomFromEWKT('SRID=4674;POINT (-40.335885 -2.799433)'))) / (select extract(epoch from '2026-06-25 05:20:42'::timestamp) - extract(epoch from '2026-06-25 05:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335738 -2.799393)'), GeomFromEWKT('SRID=4674;POINT (-40.335885 -2.799433)'))) / (select extract(epoch from '2026-06-25 05:20:42'::timestamp) - extract(epoch from '2026-06-25 05:20:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.336057 -2.799494)', '2026-06-25 05:20:50', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335885 -2.799433)'), GeomFromEWKT('SRID=4674;POINT (-40.336057 -2.799494)'))) / (select extract(epoch from '2026-06-25 05:20:50'::timestamp) - extract(epoch from '2026-06-25 05:20:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.335885 -2.799433)'), GeomFromEWKT('SRID=4674;POINT (-40.336057 -2.799494)'))) / (select extract(epoch from '2026-06-25 05:20:50'::timestamp) - extract(epoch from '2026-06-25 05:20: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'), 46709, 'SRID=4674;POINT (-40.336261 -2.79959)', '2026-06-25 05:21:00', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336057 -2.799494)'), GeomFromEWKT('SRID=4674;POINT (-40.336261 -2.79959)'))) / (select extract(epoch from '2026-06-25 05:21:00'::timestamp) - extract(epoch from '2026-06-25 05:20:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336057 -2.799494)'), GeomFromEWKT('SRID=4674;POINT (-40.336261 -2.79959)'))) / (select extract(epoch from '2026-06-25 05:21:00'::timestamp) - extract(epoch from '2026-06-25 05:20: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'), 46709, 'SRID=4674;POINT (-40.3364 -2.799665)', '2026-06-25 05:21:07', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336261 -2.79959)'), GeomFromEWKT('SRID=4674;POINT (-40.3364 -2.799665)'))) / (select extract(epoch from '2026-06-25 05:21:07'::timestamp) - extract(epoch from '2026-06-25 05:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336261 -2.79959)'), GeomFromEWKT('SRID=4674;POINT (-40.3364 -2.799665)'))) / (select extract(epoch from '2026-06-25 05:21:07'::timestamp) - extract(epoch from '2026-06-25 05:21: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'), 46709, 'SRID=4674;POINT (-40.336571 -2.79973)', '2026-06-25 05:21:15', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3364 -2.799665)'), GeomFromEWKT('SRID=4674;POINT (-40.336571 -2.79973)'))) / (select extract(epoch from '2026-06-25 05:21:15'::timestamp) - extract(epoch from '2026-06-25 05:21:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.3364 -2.799665)'), GeomFromEWKT('SRID=4674;POINT (-40.336571 -2.79973)'))) / (select extract(epoch from '2026-06-25 05:21:15'::timestamp) - extract(epoch from '2026-06-25 05:21:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.33677 -2.799807)', '2026-06-25 05:21:24', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336571 -2.79973)'), GeomFromEWKT('SRID=4674;POINT (-40.33677 -2.799807)'))) / (select extract(epoch from '2026-06-25 05:21:24'::timestamp) - extract(epoch from '2026-06-25 05:21:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336571 -2.79973)'), GeomFromEWKT('SRID=4674;POINT (-40.33677 -2.799807)'))) / (select extract(epoch from '2026-06-25 05:21:24'::timestamp) - extract(epoch from '2026-06-25 05:21: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'), 46709, 'SRID=4674;POINT (-40.336954 -2.79986)', '2026-06-25 05:21:33', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33677 -2.799807)'), GeomFromEWKT('SRID=4674;POINT (-40.336954 -2.79986)'))) / (select extract(epoch from '2026-06-25 05:21:33'::timestamp) - extract(epoch from '2026-06-25 05:21:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33677 -2.799807)'), GeomFromEWKT('SRID=4674;POINT (-40.336954 -2.79986)'))) / (select extract(epoch from '2026-06-25 05:21:33'::timestamp) - extract(epoch from '2026-06-25 05:21: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'), 46709, 'SRID=4674;POINT (-40.33713 -2.799877)', '2026-06-25 05:21:41', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336954 -2.79986)'), GeomFromEWKT('SRID=4674;POINT (-40.33713 -2.799877)'))) / (select extract(epoch from '2026-06-25 05:21:41'::timestamp) - extract(epoch from '2026-06-25 05:21:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.336954 -2.79986)'), GeomFromEWKT('SRID=4674;POINT (-40.33713 -2.799877)'))) / (select extract(epoch from '2026-06-25 05:21:41'::timestamp) - extract(epoch from '2026-06-25 05:21:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.337315 -2.799916)', '2026-06-25 05:21:49', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33713 -2.799877)'), GeomFromEWKT('SRID=4674;POINT (-40.337315 -2.799916)'))) / (select extract(epoch from '2026-06-25 05:21:49'::timestamp) - extract(epoch from '2026-06-25 05:21:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33713 -2.799877)'), GeomFromEWKT('SRID=4674;POINT (-40.337315 -2.799916)'))) / (select extract(epoch from '2026-06-25 05:21:49'::timestamp) - extract(epoch from '2026-06-25 05:21: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'), 46709, 'SRID=4674;POINT (-40.337481 -2.799969)', '2026-06-25 05:21:57', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337315 -2.799916)'), GeomFromEWKT('SRID=4674;POINT (-40.337481 -2.799969)'))) / (select extract(epoch from '2026-06-25 05:21:57'::timestamp) - extract(epoch from '2026-06-25 05:21:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337315 -2.799916)'), GeomFromEWKT('SRID=4674;POINT (-40.337481 -2.799969)'))) / (select extract(epoch from '2026-06-25 05:21:57'::timestamp) - extract(epoch from '2026-06-25 05:21: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'), 46709, 'SRID=4674;POINT (-40.337633 -2.800041)', '2026-06-25 05:22:05', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337481 -2.799969)'), GeomFromEWKT('SRID=4674;POINT (-40.337633 -2.800041)'))) / (select extract(epoch from '2026-06-25 05:22:05'::timestamp) - extract(epoch from '2026-06-25 05:21:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337481 -2.799969)'), GeomFromEWKT('SRID=4674;POINT (-40.337633 -2.800041)'))) / (select extract(epoch from '2026-06-25 05:22:05'::timestamp) - extract(epoch from '2026-06-25 05:21: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'), 46709, 'SRID=4674;POINT (-40.337812 -2.80013)', '2026-06-25 05:22:14', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337633 -2.800041)'), GeomFromEWKT('SRID=4674;POINT (-40.337812 -2.80013)'))) / (select extract(epoch from '2026-06-25 05:22:14'::timestamp) - extract(epoch from '2026-06-25 05:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337633 -2.800041)'), GeomFromEWKT('SRID=4674;POINT (-40.337812 -2.80013)'))) / (select extract(epoch from '2026-06-25 05:22:14'::timestamp) - extract(epoch from '2026-06-25 05:22:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.338033 -2.800236)', '2026-06-25 05:22:25', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337812 -2.80013)'), GeomFromEWKT('SRID=4674;POINT (-40.338033 -2.800236)'))) / (select extract(epoch from '2026-06-25 05:22:25'::timestamp) - extract(epoch from '2026-06-25 05:22:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.337812 -2.80013)'), GeomFromEWKT('SRID=4674;POINT (-40.338033 -2.800236)'))) / (select extract(epoch from '2026-06-25 05:22:25'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.338176 -2.800304)', '2026-06-25 05:22:32', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338033 -2.800236)'), GeomFromEWKT('SRID=4674;POINT (-40.338176 -2.800304)'))) / (select extract(epoch from '2026-06-25 05:22:32'::timestamp) - extract(epoch from '2026-06-25 05:22:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338033 -2.800236)'), GeomFromEWKT('SRID=4674;POINT (-40.338176 -2.800304)'))) / (select extract(epoch from '2026-06-25 05:22:32'::timestamp) - extract(epoch from '2026-06-25 05:22:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.338361 -2.800387)', '2026-06-25 05:22:41', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338176 -2.800304)'), GeomFromEWKT('SRID=4674;POINT (-40.338361 -2.800387)'))) / (select extract(epoch from '2026-06-25 05:22:41'::timestamp) - extract(epoch from '2026-06-25 05:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338176 -2.800304)'), GeomFromEWKT('SRID=4674;POINT (-40.338361 -2.800387)'))) / (select extract(epoch from '2026-06-25 05:22:41'::timestamp) - extract(epoch from '2026-06-25 05:22:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.338501 -2.800437)', '2026-06-25 05:22:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338361 -2.800387)'), GeomFromEWKT('SRID=4674;POINT (-40.338501 -2.800437)'))) / (select extract(epoch from '2026-06-25 05:22:48'::timestamp) - extract(epoch from '2026-06-25 05:22:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338361 -2.800387)'), GeomFromEWKT('SRID=4674;POINT (-40.338501 -2.800437)'))) / (select extract(epoch from '2026-06-25 05:22:48'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.338681 -2.80052)', '2026-06-25 05:22:57', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338501 -2.800437)'), GeomFromEWKT('SRID=4674;POINT (-40.338681 -2.80052)'))) / (select extract(epoch from '2026-06-25 05:22:57'::timestamp) - extract(epoch from '2026-06-25 05:22:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338501 -2.800437)'), GeomFromEWKT('SRID=4674;POINT (-40.338681 -2.80052)'))) / (select extract(epoch from '2026-06-25 05:22:57'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.338856 -2.800636)', '2026-06-25 05:23:06', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338681 -2.80052)'), GeomFromEWKT('SRID=4674;POINT (-40.338856 -2.800636)'))) / (select extract(epoch from '2026-06-25 05:23:06'::timestamp) - extract(epoch from '2026-06-25 05:22:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338681 -2.80052)'), GeomFromEWKT('SRID=4674;POINT (-40.338856 -2.800636)'))) / (select extract(epoch from '2026-06-25 05:23:06'::timestamp) - extract(epoch from '2026-06-25 05:22: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'), 46709, 'SRID=4674;POINT (-40.338994 -2.800702)', '2026-06-25 05:23:13', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338856 -2.800636)'), GeomFromEWKT('SRID=4674;POINT (-40.338994 -2.800702)'))) / (select extract(epoch from '2026-06-25 05:23:13'::timestamp) - extract(epoch from '2026-06-25 05:23:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338856 -2.800636)'), GeomFromEWKT('SRID=4674;POINT (-40.338994 -2.800702)'))) / (select extract(epoch from '2026-06-25 05:23:13'::timestamp) - extract(epoch from '2026-06-25 05:23:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.33918 -2.800764)', '2026-06-25 05:23:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338994 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.33918 -2.800764)'))) / (select extract(epoch from '2026-06-25 05:23:22'::timestamp) - extract(epoch from '2026-06-25 05:23:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.338994 -2.800702)'), GeomFromEWKT('SRID=4674;POINT (-40.33918 -2.800764)'))) / (select extract(epoch from '2026-06-25 05:23:22'::timestamp) - extract(epoch from '2026-06-25 05:23: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'), 46709, 'SRID=4674;POINT (-40.339297 -2.80085)', '2026-06-25 05:23:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33918 -2.800764)'), GeomFromEWKT('SRID=4674;POINT (-40.339297 -2.80085)'))) / (select extract(epoch from '2026-06-25 05:23:29'::timestamp) - extract(epoch from '2026-06-25 05:23:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.33918 -2.800764)'), GeomFromEWKT('SRID=4674;POINT (-40.339297 -2.80085)'))) / (select extract(epoch from '2026-06-25 05:23:29'::timestamp) - extract(epoch from '2026-06-25 05:23:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.339449 -2.80094)', '2026-06-25 05:23:38', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339297 -2.80085)'), GeomFromEWKT('SRID=4674;POINT (-40.339449 -2.80094)'))) / (select extract(epoch from '2026-06-25 05:23:38'::timestamp) - extract(epoch from '2026-06-25 05:23:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339297 -2.80085)'), GeomFromEWKT('SRID=4674;POINT (-40.339449 -2.80094)'))) / (select extract(epoch from '2026-06-25 05:23:38'::timestamp) - extract(epoch from '2026-06-25 05:23:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.339595 -2.801028)', '2026-06-25 05:23:45', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339449 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.339595 -2.801028)'))) / (select extract(epoch from '2026-06-25 05:23:45'::timestamp) - extract(epoch from '2026-06-25 05:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339449 -2.80094)'), GeomFromEWKT('SRID=4674;POINT (-40.339595 -2.801028)'))) / (select extract(epoch from '2026-06-25 05:23:45'::timestamp) - extract(epoch from '2026-06-25 05:23: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'), 46709, 'SRID=4674;POINT (-40.339767 -2.801128)', '2026-06-25 05:23:54', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339595 -2.801028)'), GeomFromEWKT('SRID=4674;POINT (-40.339767 -2.801128)'))) / (select extract(epoch from '2026-06-25 05:23:54'::timestamp) - extract(epoch from '2026-06-25 05:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339595 -2.801028)'), GeomFromEWKT('SRID=4674;POINT (-40.339767 -2.801128)'))) / (select extract(epoch from '2026-06-25 05:23:54'::timestamp) - extract(epoch from '2026-06-25 05:23:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.339933 -2.801207)', '2026-06-25 05:24:02', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339767 -2.801128)'), GeomFromEWKT('SRID=4674;POINT (-40.339933 -2.801207)'))) / (select extract(epoch from '2026-06-25 05:24:02'::timestamp) - extract(epoch from '2026-06-25 05:23:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339767 -2.801128)'), GeomFromEWKT('SRID=4674;POINT (-40.339933 -2.801207)'))) / (select extract(epoch from '2026-06-25 05:24:02'::timestamp) - extract(epoch from '2026-06-25 05:23:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.340074 -2.80131)', '2026-06-25 05:24:10', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339933 -2.801207)'), GeomFromEWKT('SRID=4674;POINT (-40.340074 -2.80131)'))) / (select extract(epoch from '2026-06-25 05:24:10'::timestamp) - extract(epoch from '2026-06-25 05:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.339933 -2.801207)'), GeomFromEWKT('SRID=4674;POINT (-40.340074 -2.80131)'))) / (select extract(epoch from '2026-06-25 05:24:10'::timestamp) - extract(epoch from '2026-06-25 05:24: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'), 46709, 'SRID=4674;POINT (-40.340201 -2.801398)', '2026-06-25 05:24:18', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340074 -2.80131)'), GeomFromEWKT('SRID=4674;POINT (-40.340201 -2.801398)'))) / (select extract(epoch from '2026-06-25 05:24:18'::timestamp) - extract(epoch from '2026-06-25 05:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340074 -2.80131)'), GeomFromEWKT('SRID=4674;POINT (-40.340201 -2.801398)'))) / (select extract(epoch from '2026-06-25 05:24:18'::timestamp) - extract(epoch from '2026-06-25 05:24:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.340347 -2.801488)', '2026-06-25 05:24:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340201 -2.801398)'), GeomFromEWKT('SRID=4674;POINT (-40.340347 -2.801488)'))) / (select extract(epoch from '2026-06-25 05:24:26'::timestamp) - extract(epoch from '2026-06-25 05:24:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340201 -2.801398)'), GeomFromEWKT('SRID=4674;POINT (-40.340347 -2.801488)'))) / (select extract(epoch from '2026-06-25 05:24:26'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.340526 -2.801594)', '2026-06-25 05:24:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340347 -2.801488)'), GeomFromEWKT('SRID=4674;POINT (-40.340526 -2.801594)'))) / (select extract(epoch from '2026-06-25 05:24:35'::timestamp) - extract(epoch from '2026-06-25 05:24:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340347 -2.801488)'), GeomFromEWKT('SRID=4674;POINT (-40.340526 -2.801594)'))) / (select extract(epoch from '2026-06-25 05:24:35'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.340716 -2.801676)', '2026-06-25 05:24:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340526 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.340716 -2.801676)'))) / (select extract(epoch from '2026-06-25 05:24:44'::timestamp) - extract(epoch from '2026-06-25 05:24:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340526 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.340716 -2.801676)'))) / (select extract(epoch from '2026-06-25 05:24:44'::timestamp) - extract(epoch from '2026-06-25 05:24:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.340901 -2.801767)', '2026-06-25 05:24:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340716 -2.801676)'), GeomFromEWKT('SRID=4674;POINT (-40.340901 -2.801767)'))) / (select extract(epoch from '2026-06-25 05:24:53'::timestamp) - extract(epoch from '2026-06-25 05:24:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340716 -2.801676)'), GeomFromEWKT('SRID=4674;POINT (-40.340901 -2.801767)'))) / (select extract(epoch from '2026-06-25 05:24:53'::timestamp) - extract(epoch from '2026-06-25 05:24: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'), 46709, 'SRID=4674;POINT (-40.341071 -2.801851)', '2026-06-25 05:25:02', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340901 -2.801767)'), GeomFromEWKT('SRID=4674;POINT (-40.341071 -2.801851)'))) / (select extract(epoch from '2026-06-25 05:25:02'::timestamp) - extract(epoch from '2026-06-25 05:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.340901 -2.801767)'), GeomFromEWKT('SRID=4674;POINT (-40.341071 -2.801851)'))) / (select extract(epoch from '2026-06-25 05:25:02'::timestamp) - extract(epoch from '2026-06-25 05:24: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'), 46709, 'SRID=4674;POINT (-40.341257 -2.801941)', '2026-06-25 05:25:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341071 -2.801851)'), GeomFromEWKT('SRID=4674;POINT (-40.341257 -2.801941)'))) / (select extract(epoch from '2026-06-25 05:25:11'::timestamp) - extract(epoch from '2026-06-25 05:25:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341071 -2.801851)'), GeomFromEWKT('SRID=4674;POINT (-40.341257 -2.801941)'))) / (select extract(epoch from '2026-06-25 05:25:11'::timestamp) - extract(epoch from '2026-06-25 05:25:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.341372 -2.802041)', '2026-06-25 05:25:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341257 -2.801941)'), GeomFromEWKT('SRID=4674;POINT (-40.341372 -2.802041)'))) / (select extract(epoch from '2026-06-25 05:25:19'::timestamp) - extract(epoch from '2026-06-25 05:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341257 -2.801941)'), GeomFromEWKT('SRID=4674;POINT (-40.341372 -2.802041)'))) / (select extract(epoch from '2026-06-25 05:25:19'::timestamp) - extract(epoch from '2026-06-25 05:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.341526 -2.802125)', '2026-06-25 05:25:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341372 -2.802041)'), GeomFromEWKT('SRID=4674;POINT (-40.341526 -2.802125)'))) / (select extract(epoch from '2026-06-25 05:25:27'::timestamp) - extract(epoch from '2026-06-25 05:25:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341372 -2.802041)'), GeomFromEWKT('SRID=4674;POINT (-40.341526 -2.802125)'))) / (select extract(epoch from '2026-06-25 05:25:27'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.341696 -2.802202)', '2026-06-25 05:25:35', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341526 -2.802125)'), GeomFromEWKT('SRID=4674;POINT (-40.341696 -2.802202)'))) / (select extract(epoch from '2026-06-25 05:25:35'::timestamp) - extract(epoch from '2026-06-25 05:25:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341526 -2.802125)'), GeomFromEWKT('SRID=4674;POINT (-40.341696 -2.802202)'))) / (select extract(epoch from '2026-06-25 05:25:35'::timestamp) - extract(epoch from '2026-06-25 05:25: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'), 46709, 'SRID=4674;POINT (-40.341858 -2.802283)', '2026-06-25 05:25:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341696 -2.802202)'), GeomFromEWKT('SRID=4674;POINT (-40.341858 -2.802283)'))) / (select extract(epoch from '2026-06-25 05:25:43'::timestamp) - extract(epoch from '2026-06-25 05:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341696 -2.802202)'), GeomFromEWKT('SRID=4674;POINT (-40.341858 -2.802283)'))) / (select extract(epoch from '2026-06-25 05:25:43'::timestamp) - extract(epoch from '2026-06-25 05:25: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'), 46709, 'SRID=4674;POINT (-40.342005 -2.802349)', '2026-06-25 05:25:50', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341858 -2.802283)'), GeomFromEWKT('SRID=4674;POINT (-40.342005 -2.802349)'))) / (select extract(epoch from '2026-06-25 05:25:50'::timestamp) - extract(epoch from '2026-06-25 05:25:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.341858 -2.802283)'), GeomFromEWKT('SRID=4674;POINT (-40.342005 -2.802349)'))) / (select extract(epoch from '2026-06-25 05:25:50'::timestamp) - extract(epoch from '2026-06-25 05:25: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'), 46709, 'SRID=4674;POINT (-40.342126 -2.802407)', '2026-06-25 05:25:57', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342005 -2.802349)'), GeomFromEWKT('SRID=4674;POINT (-40.342126 -2.802407)'))) / (select extract(epoch from '2026-06-25 05:25:57'::timestamp) - extract(epoch from '2026-06-25 05:25:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342005 -2.802349)'), GeomFromEWKT('SRID=4674;POINT (-40.342126 -2.802407)'))) / (select extract(epoch from '2026-06-25 05:25:57'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.342227 -2.80249)', '2026-06-25 05:26:03', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342126 -2.802407)'), GeomFromEWKT('SRID=4674;POINT (-40.342227 -2.80249)'))) / (select extract(epoch from '2026-06-25 05:26:03'::timestamp) - extract(epoch from '2026-06-25 05:25:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342126 -2.802407)'), GeomFromEWKT('SRID=4674;POINT (-40.342227 -2.80249)'))) / (select extract(epoch from '2026-06-25 05:26:03'::timestamp) - extract(epoch from '2026-06-25 05:25:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.342394 -2.802583)', '2026-06-25 05:26:11', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342227 -2.80249)'), GeomFromEWKT('SRID=4674;POINT (-40.342394 -2.802583)'))) / (select extract(epoch from '2026-06-25 05:26:11'::timestamp) - extract(epoch from '2026-06-25 05:26:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342227 -2.80249)'), GeomFromEWKT('SRID=4674;POINT (-40.342394 -2.802583)'))) / (select extract(epoch from '2026-06-25 05:26:11'::timestamp) - extract(epoch from '2026-06-25 05:26: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'), 46709, 'SRID=4674;POINT (-40.34258 -2.802611)', '2026-06-25 05:26:19', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342394 -2.802583)'), GeomFromEWKT('SRID=4674;POINT (-40.34258 -2.802611)'))) / (select extract(epoch from '2026-06-25 05:26:19'::timestamp) - extract(epoch from '2026-06-25 05:26:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342394 -2.802583)'), GeomFromEWKT('SRID=4674;POINT (-40.34258 -2.802611)'))) / (select extract(epoch from '2026-06-25 05:26:19'::timestamp) - extract(epoch from '2026-06-25 05:26: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'), 46709, 'SRID=4674;POINT (-40.342716 -2.802639)', '2026-06-25 05:26:26', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34258 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.342716 -2.802639)'))) / (select extract(epoch from '2026-06-25 05:26:26'::timestamp) - extract(epoch from '2026-06-25 05:26:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34258 -2.802611)'), GeomFromEWKT('SRID=4674;POINT (-40.342716 -2.802639)'))) / (select extract(epoch from '2026-06-25 05:26:26'::timestamp) - extract(epoch from '2026-06-25 05:26: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'), 46709, 'SRID=4674;POINT (-40.342873 -2.8027)', '2026-06-25 05:26:34', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342716 -2.802639)'), GeomFromEWKT('SRID=4674;POINT (-40.342873 -2.8027)'))) / (select extract(epoch from '2026-06-25 05:26:34'::timestamp) - extract(epoch from '2026-06-25 05:26:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342716 -2.802639)'), GeomFromEWKT('SRID=4674;POINT (-40.342873 -2.8027)'))) / (select extract(epoch from '2026-06-25 05:26:34'::timestamp) - extract(epoch from '2026-06-25 05:26:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.343025 -2.802775)', '2026-06-25 05:26:42', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342873 -2.8027)'), GeomFromEWKT('SRID=4674;POINT (-40.343025 -2.802775)'))) / (select extract(epoch from '2026-06-25 05:26:42'::timestamp) - extract(epoch from '2026-06-25 05:26:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.342873 -2.8027)'), GeomFromEWKT('SRID=4674;POINT (-40.343025 -2.802775)'))) / (select extract(epoch from '2026-06-25 05:26:42'::timestamp) - extract(epoch from '2026-06-25 05:26: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'), 46709, 'SRID=4674;POINT (-40.343165 -2.802833)', '2026-06-25 05:26:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343025 -2.802775)'), GeomFromEWKT('SRID=4674;POINT (-40.343165 -2.802833)'))) / (select extract(epoch from '2026-06-25 05:26:49'::timestamp) - extract(epoch from '2026-06-25 05:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343025 -2.802775)'), GeomFromEWKT('SRID=4674;POINT (-40.343165 -2.802833)'))) / (select extract(epoch from '2026-06-25 05:26:49'::timestamp) - extract(epoch from '2026-06-25 05:26: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'), 46709, 'SRID=4674;POINT (-40.343322 -2.802882)', '2026-06-25 05:26:56', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343165 -2.802833)'), GeomFromEWKT('SRID=4674;POINT (-40.343322 -2.802882)'))) / (select extract(epoch from '2026-06-25 05:26:56'::timestamp) - extract(epoch from '2026-06-25 05:26:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343165 -2.802833)'), GeomFromEWKT('SRID=4674;POINT (-40.343322 -2.802882)'))) / (select extract(epoch from '2026-06-25 05:26:56'::timestamp) - extract(epoch from '2026-06-25 05:26: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'), 46709, 'SRID=4674;POINT (-40.343491 -2.802983)', '2026-06-25 05:27:05', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343322 -2.802882)'), GeomFromEWKT('SRID=4674;POINT (-40.343491 -2.802983)'))) / (select extract(epoch from '2026-06-25 05:27:05'::timestamp) - extract(epoch from '2026-06-25 05:26:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343322 -2.802882)'), GeomFromEWKT('SRID=4674;POINT (-40.343491 -2.802983)'))) / (select extract(epoch from '2026-06-25 05:27:05'::timestamp) - extract(epoch from '2026-06-25 05:26: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'), 46709, 'SRID=4674;POINT (-40.343691 -2.803081)', '2026-06-25 05:27:15', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343491 -2.802983)'), GeomFromEWKT('SRID=4674;POINT (-40.343691 -2.803081)'))) / (select extract(epoch from '2026-06-25 05:27:15'::timestamp) - extract(epoch from '2026-06-25 05:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343491 -2.802983)'), GeomFromEWKT('SRID=4674;POINT (-40.343691 -2.803081)'))) / (select extract(epoch from '2026-06-25 05:27:15'::timestamp) - extract(epoch from '2026-06-25 05:27:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.343827 -2.803143)', '2026-06-25 05:27:22', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343691 -2.803081)'), GeomFromEWKT('SRID=4674;POINT (-40.343827 -2.803143)'))) / (select extract(epoch from '2026-06-25 05:27:22'::timestamp) - extract(epoch from '2026-06-25 05:27:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343691 -2.803081)'), GeomFromEWKT('SRID=4674;POINT (-40.343827 -2.803143)'))) / (select extract(epoch from '2026-06-25 05:27:22'::timestamp) - extract(epoch from '2026-06-25 05:27:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.343954 -2.80322)', '2026-06-25 05:27:29', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343827 -2.803143)'), GeomFromEWKT('SRID=4674;POINT (-40.343954 -2.80322)'))) / (select extract(epoch from '2026-06-25 05:27:29'::timestamp) - extract(epoch from '2026-06-25 05:27:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343827 -2.803143)'), GeomFromEWKT('SRID=4674;POINT (-40.343954 -2.80322)'))) / (select extract(epoch from '2026-06-25 05:27:29'::timestamp) - extract(epoch from '2026-06-25 05:27: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'), 46709, 'SRID=4674;POINT (-40.344136 -2.803316)', '2026-06-25 05:27:38', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343954 -2.80322)'), GeomFromEWKT('SRID=4674;POINT (-40.344136 -2.803316)'))) / (select extract(epoch from '2026-06-25 05:27:38'::timestamp) - extract(epoch from '2026-06-25 05:27:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.343954 -2.80322)'), GeomFromEWKT('SRID=4674;POINT (-40.344136 -2.803316)'))) / (select extract(epoch from '2026-06-25 05:27:38'::timestamp) - extract(epoch from '2026-06-25 05:27:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.344295 -2.803393)', '2026-06-25 05:27:46', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344136 -2.803316)'), GeomFromEWKT('SRID=4674;POINT (-40.344295 -2.803393)'))) / (select extract(epoch from '2026-06-25 05:27:46'::timestamp) - extract(epoch from '2026-06-25 05:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344136 -2.803316)'), GeomFromEWKT('SRID=4674;POINT (-40.344295 -2.803393)'))) / (select extract(epoch from '2026-06-25 05:27:46'::timestamp) - extract(epoch from '2026-06-25 05:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.344468 -2.80348)', '2026-06-25 05:27:55', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344295 -2.803393)'), GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.80348)'))) / (select extract(epoch from '2026-06-25 05:27:55'::timestamp) - extract(epoch from '2026-06-25 05:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344295 -2.803393)'), GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.80348)'))) / (select extract(epoch from '2026-06-25 05:27:55'::timestamp) - extract(epoch from '2026-06-25 05:27: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'), 46709, 'SRID=4674;POINT (-40.344592 -2.803569)', '2026-06-25 05:28:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.80348)'), GeomFromEWKT('SRID=4674;POINT (-40.344592 -2.803569)'))) / (select extract(epoch from '2026-06-25 05:28:02'::timestamp) - extract(epoch from '2026-06-25 05:27:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344468 -2.80348)'), GeomFromEWKT('SRID=4674;POINT (-40.344592 -2.803569)'))) / (select extract(epoch from '2026-06-25 05:28:02'::timestamp) - extract(epoch from '2026-06-25 05:27: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'), 46709, 'SRID=4674;POINT (-40.344753 -2.803652)', '2026-06-25 05:28:10', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344592 -2.803569)'), GeomFromEWKT('SRID=4674;POINT (-40.344753 -2.803652)'))) / (select extract(epoch from '2026-06-25 05:28:10'::timestamp) - extract(epoch from '2026-06-25 05:28:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344592 -2.803569)'), GeomFromEWKT('SRID=4674;POINT (-40.344753 -2.803652)'))) / (select extract(epoch from '2026-06-25 05:28:10'::timestamp) - extract(epoch from '2026-06-25 05:28: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'), 46709, 'SRID=4674;POINT (-40.344887 -2.803735)', '2026-06-25 05:28:17', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344753 -2.803652)'), GeomFromEWKT('SRID=4674;POINT (-40.344887 -2.803735)'))) / (select extract(epoch from '2026-06-25 05:28:17'::timestamp) - extract(epoch from '2026-06-25 05:28:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344753 -2.803652)'), GeomFromEWKT('SRID=4674;POINT (-40.344887 -2.803735)'))) / (select extract(epoch from '2026-06-25 05:28:17'::timestamp) - extract(epoch from '2026-06-25 05:28: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'), 46709, 'SRID=4674;POINT (-40.345037 -2.803809)', '2026-06-25 05:28:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344887 -2.803735)'), GeomFromEWKT('SRID=4674;POINT (-40.345037 -2.803809)'))) / (select extract(epoch from '2026-06-25 05:28:25'::timestamp) - extract(epoch from '2026-06-25 05:28:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.344887 -2.803735)'), GeomFromEWKT('SRID=4674;POINT (-40.345037 -2.803809)'))) / (select extract(epoch from '2026-06-25 05:28:25'::timestamp) - extract(epoch from '2026-06-25 05:28: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'), 46709, 'SRID=4674;POINT (-40.345228 -2.803862)', '2026-06-25 05:28:34', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345037 -2.803809)'), GeomFromEWKT('SRID=4674;POINT (-40.345228 -2.803862)'))) / (select extract(epoch from '2026-06-25 05:28:34'::timestamp) - extract(epoch from '2026-06-25 05:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345037 -2.803809)'), GeomFromEWKT('SRID=4674;POINT (-40.345228 -2.803862)'))) / (select extract(epoch from '2026-06-25 05:28:34'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.345391 -2.803889)', '2026-06-25 05:28:41', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345228 -2.803862)'), GeomFromEWKT('SRID=4674;POINT (-40.345391 -2.803889)'))) / (select extract(epoch from '2026-06-25 05:28:41'::timestamp) - extract(epoch from '2026-06-25 05:28:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345228 -2.803862)'), GeomFromEWKT('SRID=4674;POINT (-40.345391 -2.803889)'))) / (select extract(epoch from '2026-06-25 05:28:41'::timestamp) - extract(epoch from '2026-06-25 05:28: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'), 46709, 'SRID=4674;POINT (-40.345544 -2.803946)', '2026-06-25 05:28:48', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345391 -2.803889)'), GeomFromEWKT('SRID=4674;POINT (-40.345544 -2.803946)'))) / (select extract(epoch from '2026-06-25 05:28:48'::timestamp) - extract(epoch from '2026-06-25 05:28:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345391 -2.803889)'), GeomFromEWKT('SRID=4674;POINT (-40.345544 -2.803946)'))) / (select extract(epoch from '2026-06-25 05:28:48'::timestamp) - extract(epoch from '2026-06-25 05:28: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'), 46709, 'SRID=4674;POINT (-40.345671 -2.803984)', '2026-06-25 05:28:54', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345544 -2.803946)'), GeomFromEWKT('SRID=4674;POINT (-40.345671 -2.803984)'))) / (select extract(epoch from '2026-06-25 05:28:54'::timestamp) - extract(epoch from '2026-06-25 05:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345544 -2.803946)'), GeomFromEWKT('SRID=4674;POINT (-40.345671 -2.803984)'))) / (select extract(epoch from '2026-06-25 05:28:54'::timestamp) - extract(epoch from '2026-06-25 05:28: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'), 46709, 'SRID=4674;POINT (-40.34581 -2.80403)', '2026-06-25 05:29:01', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345671 -2.803984)'), GeomFromEWKT('SRID=4674;POINT (-40.34581 -2.80403)'))) / (select extract(epoch from '2026-06-25 05:29:01'::timestamp) - extract(epoch from '2026-06-25 05:28:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345671 -2.803984)'), GeomFromEWKT('SRID=4674;POINT (-40.34581 -2.80403)'))) / (select extract(epoch from '2026-06-25 05:29:01'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.345942 -2.804081)', '2026-06-25 05:29:08', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34581 -2.80403)'), GeomFromEWKT('SRID=4674;POINT (-40.345942 -2.804081)'))) / (select extract(epoch from '2026-06-25 05:29:08'::timestamp) - extract(epoch from '2026-06-25 05:29:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34581 -2.80403)'), GeomFromEWKT('SRID=4674;POINT (-40.345942 -2.804081)'))) / (select extract(epoch from '2026-06-25 05:29:08'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.346098 -2.804141)', '2026-06-25 05:29:16', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345942 -2.804081)'), GeomFromEWKT('SRID=4674;POINT (-40.346098 -2.804141)'))) / (select extract(epoch from '2026-06-25 05:29:16'::timestamp) - extract(epoch from '2026-06-25 05:29:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.345942 -2.804081)'), GeomFromEWKT('SRID=4674;POINT (-40.346098 -2.804141)'))) / (select extract(epoch from '2026-06-25 05:29:16'::timestamp) - extract(epoch from '2026-06-25 05:29: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'), 46709, 'SRID=4674;POINT (-40.346258 -2.804176)', '2026-06-25 05:29:24', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346098 -2.804141)'), GeomFromEWKT('SRID=4674;POINT (-40.346258 -2.804176)'))) / (select extract(epoch from '2026-06-25 05:29:24'::timestamp) - extract(epoch from '2026-06-25 05:29:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346098 -2.804141)'), GeomFromEWKT('SRID=4674;POINT (-40.346258 -2.804176)'))) / (select extract(epoch from '2026-06-25 05:29:24'::timestamp) - extract(epoch from '2026-06-25 05:29: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'), 46709, 'SRID=4674;POINT (-40.346429 -2.804218)', '2026-06-25 05:29:31', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346258 -2.804176)'), GeomFromEWKT('SRID=4674;POINT (-40.346429 -2.804218)'))) / (select extract(epoch from '2026-06-25 05:29:31'::timestamp) - extract(epoch from '2026-06-25 05:29:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346258 -2.804176)'), GeomFromEWKT('SRID=4674;POINT (-40.346429 -2.804218)'))) / (select extract(epoch from '2026-06-25 05:29:31'::timestamp) - extract(epoch from '2026-06-25 05:29: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'), 46709, 'SRID=4674;POINT (-40.346591 -2.80426)', '2026-06-25 05:29:39', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346429 -2.804218)'), GeomFromEWKT('SRID=4674;POINT (-40.346591 -2.80426)'))) / (select extract(epoch from '2026-06-25 05:29:39'::timestamp) - extract(epoch from '2026-06-25 05:29:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346429 -2.804218)'), GeomFromEWKT('SRID=4674;POINT (-40.346591 -2.80426)'))) / (select extract(epoch from '2026-06-25 05:29:39'::timestamp) - extract(epoch from '2026-06-25 05:29: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'), 46709, 'SRID=4674;POINT (-40.34675 -2.80434)', '2026-06-25 05:29:47', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346591 -2.80426)'), GeomFromEWKT('SRID=4674;POINT (-40.34675 -2.80434)'))) / (select extract(epoch from '2026-06-25 05:29:47'::timestamp) - extract(epoch from '2026-06-25 05:29:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.346591 -2.80426)'), GeomFromEWKT('SRID=4674;POINT (-40.34675 -2.80434)'))) / (select extract(epoch from '2026-06-25 05:29:47'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.34691 -2.804416)', '2026-06-25 05:29:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34675 -2.80434)'), GeomFromEWKT('SRID=4674;POINT (-40.34691 -2.804416)'))) / (select extract(epoch from '2026-06-25 05:29:55'::timestamp) - extract(epoch from '2026-06-25 05:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34675 -2.80434)'), GeomFromEWKT('SRID=4674;POINT (-40.34691 -2.804416)'))) / (select extract(epoch from '2026-06-25 05:29:55'::timestamp) - extract(epoch from '2026-06-25 05:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.347079 -2.804483)', '2026-06-25 05:30:03', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34691 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.347079 -2.804483)'))) / (select extract(epoch from '2026-06-25 05:30:03'::timestamp) - extract(epoch from '2026-06-25 05:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34691 -2.804416)'), GeomFromEWKT('SRID=4674;POINT (-40.347079 -2.804483)'))) / (select extract(epoch from '2026-06-25 05:30:03'::timestamp) - extract(epoch from '2026-06-25 05:29: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'), 46709, 'SRID=4674;POINT (-40.347228 -2.804547)', '2026-06-25 05:30:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347079 -2.804483)'), GeomFromEWKT('SRID=4674;POINT (-40.347228 -2.804547)'))) / (select extract(epoch from '2026-06-25 05:30:11'::timestamp) - extract(epoch from '2026-06-25 05:30:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347079 -2.804483)'), GeomFromEWKT('SRID=4674;POINT (-40.347228 -2.804547)'))) / (select extract(epoch from '2026-06-25 05:30:11'::timestamp) - extract(epoch from '2026-06-25 05:30: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'), 46709, 'SRID=4674;POINT (-40.347373 -2.804594)', '2026-06-25 05:30:18', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347228 -2.804547)'), GeomFromEWKT('SRID=4674;POINT (-40.347373 -2.804594)'))) / (select extract(epoch from '2026-06-25 05:30:18'::timestamp) - extract(epoch from '2026-06-25 05:30:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347228 -2.804547)'), GeomFromEWKT('SRID=4674;POINT (-40.347373 -2.804594)'))) / (select extract(epoch from '2026-06-25 05:30:18'::timestamp) - extract(epoch from '2026-06-25 05:30: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'), 46709, 'SRID=4674;POINT (-40.347534 -2.804639)', '2026-06-25 05:30:26', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347373 -2.804594)'), GeomFromEWKT('SRID=4674;POINT (-40.347534 -2.804639)'))) / (select extract(epoch from '2026-06-25 05:30:26'::timestamp) - extract(epoch from '2026-06-25 05:30:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347373 -2.804594)'), GeomFromEWKT('SRID=4674;POINT (-40.347534 -2.804639)'))) / (select extract(epoch from '2026-06-25 05:30:26'::timestamp) - extract(epoch from '2026-06-25 05:30: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'), 46709, 'SRID=4674;POINT (-40.34769 -2.804712)', '2026-06-25 05:30:34', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347534 -2.804639)'), GeomFromEWKT('SRID=4674;POINT (-40.34769 -2.804712)'))) / (select extract(epoch from '2026-06-25 05:30:34'::timestamp) - extract(epoch from '2026-06-25 05:30:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347534 -2.804639)'), GeomFromEWKT('SRID=4674;POINT (-40.34769 -2.804712)'))) / (select extract(epoch from '2026-06-25 05:30:34'::timestamp) - extract(epoch from '2026-06-25 05:30: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'), 46709, 'SRID=4674;POINT (-40.347854 -2.804757)', '2026-06-25 05:30:42', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34769 -2.804712)'), GeomFromEWKT('SRID=4674;POINT (-40.347854 -2.804757)'))) / (select extract(epoch from '2026-06-25 05:30:42'::timestamp) - extract(epoch from '2026-06-25 05:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34769 -2.804712)'), GeomFromEWKT('SRID=4674;POINT (-40.347854 -2.804757)'))) / (select extract(epoch from '2026-06-25 05:30:42'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.347999 -2.804789)', '2026-06-25 05:30:49', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347854 -2.804757)'), GeomFromEWKT('SRID=4674;POINT (-40.347999 -2.804789)'))) / (select extract(epoch from '2026-06-25 05:30:49'::timestamp) - extract(epoch from '2026-06-25 05:30:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347854 -2.804757)'), GeomFromEWKT('SRID=4674;POINT (-40.347999 -2.804789)'))) / (select extract(epoch from '2026-06-25 05:30:49'::timestamp) - extract(epoch from '2026-06-25 05:30: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'), 46709, 'SRID=4674;POINT (-40.348165 -2.804821)', '2026-06-25 05:30:57', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347999 -2.804789)'), GeomFromEWKT('SRID=4674;POINT (-40.348165 -2.804821)'))) / (select extract(epoch from '2026-06-25 05:30:57'::timestamp) - extract(epoch from '2026-06-25 05:30:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.347999 -2.804789)'), GeomFromEWKT('SRID=4674;POINT (-40.348165 -2.804821)'))) / (select extract(epoch from '2026-06-25 05:30:57'::timestamp) - extract(epoch from '2026-06-25 05:30: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'), 46709, 'SRID=4674;POINT (-40.348312 -2.804874)', '2026-06-25 05:31:04', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348165 -2.804821)'), GeomFromEWKT('SRID=4674;POINT (-40.348312 -2.804874)'))) / (select extract(epoch from '2026-06-25 05:31:04'::timestamp) - extract(epoch from '2026-06-25 05:30:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348165 -2.804821)'), GeomFromEWKT('SRID=4674;POINT (-40.348312 -2.804874)'))) / (select extract(epoch from '2026-06-25 05:31:04'::timestamp) - extract(epoch from '2026-06-25 05:30: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'), 46709, 'SRID=4674;POINT (-40.348511 -2.804928)', '2026-06-25 05:31:13', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348312 -2.804874)'), GeomFromEWKT('SRID=4674;POINT (-40.348511 -2.804928)'))) / (select extract(epoch from '2026-06-25 05:31:13'::timestamp) - extract(epoch from '2026-06-25 05:31:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348312 -2.804874)'), GeomFromEWKT('SRID=4674;POINT (-40.348511 -2.804928)'))) / (select extract(epoch from '2026-06-25 05:31:13'::timestamp) - extract(epoch from '2026-06-25 05:31: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'), 46709, 'SRID=4674;POINT (-40.348702 -2.804996)', '2026-06-25 05:31:22', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348511 -2.804928)'), GeomFromEWKT('SRID=4674;POINT (-40.348702 -2.804996)'))) / (select extract(epoch from '2026-06-25 05:31:22'::timestamp) - extract(epoch from '2026-06-25 05:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348511 -2.804928)'), GeomFromEWKT('SRID=4674;POINT (-40.348702 -2.804996)'))) / (select extract(epoch from '2026-06-25 05:31:22'::timestamp) - extract(epoch from '2026-06-25 05: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'), 46709, 'SRID=4674;POINT (-40.348834 -2.805053)', '2026-06-25 05:31:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348702 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.348834 -2.805053)'))) / (select extract(epoch from '2026-06-25 05:31:29'::timestamp) - extract(epoch from '2026-06-25 05:31:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348702 -2.804996)'), GeomFromEWKT('SRID=4674;POINT (-40.348834 -2.805053)'))) / (select extract(epoch from '2026-06-25 05:31:29'::timestamp) - extract(epoch from '2026-06-25 05:31:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 46709, 'SRID=4674;POINT (-40.34899 -2.805123)', '2026-06-25 05:31:37', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348834 -2.805053)'), GeomFromEWKT('SRID=4674;POINT (-40.34899 -2.805123)'))) / (select extract(epoch from '2026-06-25 05:31:37'::timestamp) - extract(epoch from '2026-06-25 05:31:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.348834 -2.805053)'), GeomFromEWKT('SRID=4674;POINT (-40.34899 -2.805123)'))) / (select extract(epoch from '2026-06-25 05:31:37'::timestamp) - extract(epoch from '2026-06-25 05:31: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'), 46709, 'SRID=4674;POINT (-40.349158 -2.805192)', '2026-06-25 05:31:45', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34899 -2.805123)'), GeomFromEWKT('SRID=4674;POINT (-40.349158 -2.805192)'))) / (select extract(epoch from '2026-06-25 05:31:45'::timestamp) - extract(epoch from '2026-06-25 05:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34899 -2.805123)'), GeomFromEWKT('SRID=4674;POINT (-40.349158 -2.805192)'))) / (select extract(epoch from '2026-06-25 05:31:45'::timestamp) - extract(epoch from '2026-06-25 05:31: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'), 46709, 'SRID=4674;POINT (-40.34934 -2.805277)', '2026-06-25 05:31:53', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349158 -2.805192)'), GeomFromEWKT('SRID=4674;POINT (-40.34934 -2.805277)'))) / (select extract(epoch from '2026-06-25 05:31:53'::timestamp) - extract(epoch from '2026-06-25 05:31:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349158 -2.805192)'), GeomFromEWKT('SRID=4674;POINT (-40.34934 -2.805277)'))) / (select extract(epoch from '2026-06-25 05:31:53'::timestamp) - extract(epoch from '2026-06-25 05:31: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'), 46709, 'SRID=4674;POINT (-40.349438 -2.805335)', '2026-06-25 05:31:59', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34934 -2.805277)'), GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.805335)'))) / (select extract(epoch from '2026-06-25 05:31:59'::timestamp) - extract(epoch from '2026-06-25 05:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.34934 -2.805277)'), GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.805335)'))) / (select extract(epoch from '2026-06-25 05:31:59'::timestamp) - extract(epoch from '2026-06-25 05:31: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'), 46709, 'SRID=4674;POINT (-40.349588 -2.805392)', '2026-06-25 05:32:07', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.805335)'), GeomFromEWKT('SRID=4674;POINT (-40.349588 -2.805392)'))) / (select extract(epoch from '2026-06-25 05:32:07'::timestamp) - extract(epoch from '2026-06-25 05:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349438 -2.805335)'), GeomFromEWKT('SRID=4674;POINT (-40.349588 -2.805392)'))) / (select extract(epoch from '2026-06-25 05:32:07'::timestamp) - extract(epoch from '2026-06-25 05:31: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'), 46709, 'SRID=4674;POINT (-40.349726 -2.805422)', '2026-06-25 05:32:13', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349588 -2.805392)'), GeomFromEWKT('SRID=4674;POINT (-40.349726 -2.805422)'))) / (select extract(epoch from '2026-06-25 05:32:13'::timestamp) - extract(epoch from '2026-06-25 05:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349588 -2.805392)'), GeomFromEWKT('SRID=4674;POINT (-40.349726 -2.805422)'))) / (select extract(epoch from '2026-06-25 05:32:13'::timestamp) - extract(epoch from '2026-06-25 05:32: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'), 46709, 'SRID=4674;POINT (-40.349902 -2.805471)', '2026-06-25 05:32:22', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349726 -2.805422)'), GeomFromEWKT('SRID=4674;POINT (-40.349902 -2.805471)'))) / (select extract(epoch from '2026-06-25 05:32:22'::timestamp) - extract(epoch from '2026-06-25 05:32:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349726 -2.805422)'), GeomFromEWKT('SRID=4674;POINT (-40.349902 -2.805471)'))) / (select extract(epoch from '2026-06-25 05:32:22'::timestamp) - extract(epoch from '2026-06-25 05:32: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'), 46709, 'SRID=4674;POINT (-40.350074 -2.805519)', '2026-06-25 05:32:30', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349902 -2.805471)'), GeomFromEWKT('SRID=4674;POINT (-40.350074 -2.805519)'))) / (select extract(epoch from '2026-06-25 05:32:30'::timestamp) - extract(epoch from '2026-06-25 05:32:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.349902 -2.805471)'), GeomFromEWKT('SRID=4674;POINT (-40.350074 -2.805519)'))) / (select extract(epoch from '2026-06-25 05:32:30'::timestamp) - extract(epoch from '2026-06-25 05:32: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'), 46709, 'SRID=4674;POINT (-40.350243 -2.805577)', '2026-06-25 05:32:38', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350074 -2.805519)'), GeomFromEWKT('SRID=4674;POINT (-40.350243 -2.805577)'))) / (select extract(epoch from '2026-06-25 05:32:38'::timestamp) - extract(epoch from '2026-06-25 05:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.350074 -2.805519)'), GeomFromEWKT('SRID=4674;POINT (-40.350243 -2.805577)'))) / (select extract(epoch from '2026-06-25 05:32:38'::timestamp) - extract(epoch from '2026-06-25 05:32:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
COMMIT TRANSACTION;
