BEGIN TRANSACTION;
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.043016 -2.840305)', '2026-07-05 07:50:46', 0, 0, 'deslocando'); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.043085 -2.840044)', '2026-07-05 07:50:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043016 -2.840305)'), GeomFromEWKT('SRID=4674;POINT (-40.043085 -2.840044)'))) / (select extract(epoch from '2026-07-05 07:50:54'::timestamp) - extract(epoch from '2026-07-05 07:50:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043016 -2.840305)'), GeomFromEWKT('SRID=4674;POINT (-40.043085 -2.840044)'))) / (select extract(epoch from '2026-07-05 07:50:54'::timestamp) - extract(epoch from '2026-07-05 07:50: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'), 47625, 'SRID=4674;POINT (-40.043162 -2.839739)', '2026-07-05 07:51:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043085 -2.840044)'), GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.839739)'))) / (select extract(epoch from '2026-07-05 07:51:07'::timestamp) - extract(epoch from '2026-07-05 07:50:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043085 -2.840044)'), GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.839739)'))) / (select extract(epoch from '2026-07-05 07:51:07'::timestamp) - extract(epoch from '2026-07-05 07:50: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'), 47625, 'SRID=4674;POINT (-40.043123 -2.839391)', '2026-07-05 07:51:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.839739)'), GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.839391)'))) / (select extract(epoch from '2026-07-05 07:51:23'::timestamp) - extract(epoch from '2026-07-05 07:51:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043162 -2.839739)'), GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.839391)'))) / (select extract(epoch from '2026-07-05 07:51:23'::timestamp) - extract(epoch from '2026-07-05 07:51: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'), 47625, 'SRID=4674;POINT (-40.043111 -2.839147)', '2026-07-05 07:51:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.839391)'), GeomFromEWKT('SRID=4674;POINT (-40.043111 -2.839147)'))) / (select extract(epoch from '2026-07-05 07:51:34'::timestamp) - extract(epoch from '2026-07-05 07:51:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043123 -2.839391)'), GeomFromEWKT('SRID=4674;POINT (-40.043111 -2.839147)'))) / (select extract(epoch from '2026-07-05 07:51:34'::timestamp) - extract(epoch from '2026-07-05 07:51: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'), 47625, 'SRID=4674;POINT (-40.043109 -2.838963)', '2026-07-05 07:51:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043111 -2.839147)'), GeomFromEWKT('SRID=4674;POINT (-40.043109 -2.838963)'))) / (select extract(epoch from '2026-07-05 07:51:42'::timestamp) - extract(epoch from '2026-07-05 07:51:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043111 -2.839147)'), GeomFromEWKT('SRID=4674;POINT (-40.043109 -2.838963)'))) / (select extract(epoch from '2026-07-05 07:51:42'::timestamp) - extract(epoch from '2026-07-05 07: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'), 47625, 'SRID=4674;POINT (-40.043114 -2.838791)', '2026-07-05 07:51:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043109 -2.838963)'), GeomFromEWKT('SRID=4674;POINT (-40.043114 -2.838791)'))) / (select extract(epoch from '2026-07-05 07:51:50'::timestamp) - extract(epoch from '2026-07-05 07:51:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043109 -2.838963)'), GeomFromEWKT('SRID=4674;POINT (-40.043114 -2.838791)'))) / (select extract(epoch from '2026-07-05 07:51:50'::timestamp) - extract(epoch from '2026-07-05 07:51:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.043132 -2.838611)', '2026-07-05 07:51:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043114 -2.838791)'), GeomFromEWKT('SRID=4674;POINT (-40.043132 -2.838611)'))) / (select extract(epoch from '2026-07-05 07:51:58'::timestamp) - extract(epoch from '2026-07-05 07:51:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043114 -2.838791)'), GeomFromEWKT('SRID=4674;POINT (-40.043132 -2.838611)'))) / (select extract(epoch from '2026-07-05 07:51:58'::timestamp) - extract(epoch from '2026-07-05 07:51: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'), 47625, 'SRID=4674;POINT (-40.04318 -2.838412)', '2026-07-05 07:52:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043132 -2.838611)'), GeomFromEWKT('SRID=4674;POINT (-40.04318 -2.838412)'))) / (select extract(epoch from '2026-07-05 07:52:07'::timestamp) - extract(epoch from '2026-07-05 07:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043132 -2.838611)'), GeomFromEWKT('SRID=4674;POINT (-40.04318 -2.838412)'))) / (select extract(epoch from '2026-07-05 07:52:07'::timestamp) - extract(epoch from '2026-07-05 07:51: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'), 47625, 'SRID=4674;POINT (-40.043219 -2.838215)', '2026-07-05 07:52:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04318 -2.838412)'), GeomFromEWKT('SRID=4674;POINT (-40.043219 -2.838215)'))) / (select extract(epoch from '2026-07-05 07:52:15'::timestamp) - extract(epoch from '2026-07-05 07:52:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04318 -2.838412)'), GeomFromEWKT('SRID=4674;POINT (-40.043219 -2.838215)'))) / (select extract(epoch from '2026-07-05 07:52:15'::timestamp) - extract(epoch from '2026-07-05 07:52: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'), 47625, 'SRID=4674;POINT (-40.043245 -2.83803)', '2026-07-05 07:52:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043219 -2.838215)'), GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.83803)'))) / (select extract(epoch from '2026-07-05 07:52:23'::timestamp) - extract(epoch from '2026-07-05 07:52:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043219 -2.838215)'), GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.83803)'))) / (select extract(epoch from '2026-07-05 07:52:23'::timestamp) - extract(epoch from '2026-07-05 07: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'), 47625, 'SRID=4674;POINT (-40.043268 -2.837796)', '2026-07-05 07:52:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.83803)'), GeomFromEWKT('SRID=4674;POINT (-40.043268 -2.837796)'))) / (select extract(epoch from '2026-07-05 07:52:34'::timestamp) - extract(epoch from '2026-07-05 07:52:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043245 -2.83803)'), GeomFromEWKT('SRID=4674;POINT (-40.043268 -2.837796)'))) / (select extract(epoch from '2026-07-05 07:52:34'::timestamp) - extract(epoch from '2026-07-05 07:52: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'), 47625, 'SRID=4674;POINT (-40.043304 -2.837555)', '2026-07-05 07:52:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043268 -2.837796)'), GeomFromEWKT('SRID=4674;POINT (-40.043304 -2.837555)'))) / (select extract(epoch from '2026-07-05 07:52:45'::timestamp) - extract(epoch from '2026-07-05 07:52:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043268 -2.837796)'), GeomFromEWKT('SRID=4674;POINT (-40.043304 -2.837555)'))) / (select extract(epoch from '2026-07-05 07:52:45'::timestamp) - extract(epoch from '2026-07-05 07:52: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'), 47625, 'SRID=4674;POINT (-40.04332 -2.837447)', '2026-07-05 07:52:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043304 -2.837555)'), GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.837447)'))) / (select extract(epoch from '2026-07-05 07:52:50'::timestamp) - extract(epoch from '2026-07-05 07:52:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043304 -2.837555)'), GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.837447)'))) / (select extract(epoch from '2026-07-05 07:52:50'::timestamp) - extract(epoch from '2026-07-05 07:52: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'), 47625, 'SRID=4674;POINT (-40.043319 -2.837425)', '2026-07-05 07:52:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.837447)'), GeomFromEWKT('SRID=4674;POINT (-40.043319 -2.837425)'))) / (select extract(epoch from '2026-07-05 07:52:51'::timestamp) - extract(epoch from '2026-07-05 07:52:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04332 -2.837447)'), GeomFromEWKT('SRID=4674;POINT (-40.043319 -2.837425)'))) / (select extract(epoch from '2026-07-05 07:52:51'::timestamp) - extract(epoch from '2026-07-05 07:52: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'), 47625, 'SRID=4674;POINT (-40.043346 -2.837218)', '2026-07-05 07:53:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043319 -2.837425)'), GeomFromEWKT('SRID=4674;POINT (-40.043346 -2.837218)'))) / (select extract(epoch from '2026-07-05 07:53:01'::timestamp) - extract(epoch from '2026-07-05 07:52:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043319 -2.837425)'), GeomFromEWKT('SRID=4674;POINT (-40.043346 -2.837218)'))) / (select extract(epoch from '2026-07-05 07:53:01'::timestamp) - extract(epoch from '2026-07-05 07:52: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'), 47625, 'SRID=4674;POINT (-40.043401 -2.83705)', '2026-07-05 07:53:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043346 -2.837218)'), GeomFromEWKT('SRID=4674;POINT (-40.043401 -2.83705)'))) / (select extract(epoch from '2026-07-05 07:53:08'::timestamp) - extract(epoch from '2026-07-05 07:53:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043346 -2.837218)'), GeomFromEWKT('SRID=4674;POINT (-40.043401 -2.83705)'))) / (select extract(epoch from '2026-07-05 07:53:08'::timestamp) - extract(epoch from '2026-07-05 07:53: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'), 47625, 'SRID=4674;POINT (-40.043441 -2.836916)', '2026-07-05 07:53:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043401 -2.83705)'), GeomFromEWKT('SRID=4674;POINT (-40.043441 -2.836916)'))) / (select extract(epoch from '2026-07-05 07:53:14'::timestamp) - extract(epoch from '2026-07-05 07:53:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043401 -2.83705)'), GeomFromEWKT('SRID=4674;POINT (-40.043441 -2.836916)'))) / (select extract(epoch from '2026-07-05 07:53:14'::timestamp) - extract(epoch from '2026-07-05 07:53: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'), 47625, 'SRID=4674;POINT (-40.043466 -2.836812)', '2026-07-05 07:53:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043441 -2.836916)'), GeomFromEWKT('SRID=4674;POINT (-40.043466 -2.836812)'))) / (select extract(epoch from '2026-07-05 07:53:19'::timestamp) - extract(epoch from '2026-07-05 07:53:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043441 -2.836916)'), GeomFromEWKT('SRID=4674;POINT (-40.043466 -2.836812)'))) / (select extract(epoch from '2026-07-05 07:53:19'::timestamp) - extract(epoch from '2026-07-05 07:53: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'), 47625, 'SRID=4674;POINT (-40.043504 -2.836644)', '2026-07-05 07:53:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043466 -2.836812)'), GeomFromEWKT('SRID=4674;POINT (-40.043504 -2.836644)'))) / (select extract(epoch from '2026-07-05 07:53:27'::timestamp) - extract(epoch from '2026-07-05 07:53:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043466 -2.836812)'), GeomFromEWKT('SRID=4674;POINT (-40.043504 -2.836644)'))) / (select extract(epoch from '2026-07-05 07:53:27'::timestamp) - extract(epoch from '2026-07-05 07:53: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'), 47625, 'SRID=4674;POINT (-40.043524 -2.836534)', '2026-07-05 07:53:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043504 -2.836644)'), GeomFromEWKT('SRID=4674;POINT (-40.043524 -2.836534)'))) / (select extract(epoch from '2026-07-05 07:53:32'::timestamp) - extract(epoch from '2026-07-05 07:53:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043504 -2.836644)'), GeomFromEWKT('SRID=4674;POINT (-40.043524 -2.836534)'))) / (select extract(epoch from '2026-07-05 07:53:32'::timestamp) - extract(epoch from '2026-07-05 07:53: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'), 47625, 'SRID=4674;POINT (-40.043565 -2.836326)', '2026-07-05 07:53:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043524 -2.836534)'), GeomFromEWKT('SRID=4674;POINT (-40.043565 -2.836326)'))) / (select extract(epoch from '2026-07-05 07:53:41'::timestamp) - extract(epoch from '2026-07-05 07:53:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043524 -2.836534)'), GeomFromEWKT('SRID=4674;POINT (-40.043565 -2.836326)'))) / (select extract(epoch from '2026-07-05 07:53:41'::timestamp) - extract(epoch from '2026-07-05 07:53: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'), 47625, 'SRID=4674;POINT (-40.043577 -2.836192)', '2026-07-05 07:53:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043565 -2.836326)'), GeomFromEWKT('SRID=4674;POINT (-40.043577 -2.836192)'))) / (select extract(epoch from '2026-07-05 07:53:47'::timestamp) - extract(epoch from '2026-07-05 07:53:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043565 -2.836326)'), GeomFromEWKT('SRID=4674;POINT (-40.043577 -2.836192)'))) / (select extract(epoch from '2026-07-05 07:53:47'::timestamp) - extract(epoch from '2026-07-05 07:53:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.043584 -2.836023)', '2026-07-05 07:53:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043577 -2.836192)'), GeomFromEWKT('SRID=4674;POINT (-40.043584 -2.836023)'))) / (select extract(epoch from '2026-07-05 07:53:55'::timestamp) - extract(epoch from '2026-07-05 07:53:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043577 -2.836192)'), GeomFromEWKT('SRID=4674;POINT (-40.043584 -2.836023)'))) / (select extract(epoch from '2026-07-05 07:53:55'::timestamp) - extract(epoch from '2026-07-05 07:53: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'), 47625, 'SRID=4674;POINT (-40.043596 -2.835839)', '2026-07-05 07:54:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043584 -2.836023)'), GeomFromEWKT('SRID=4674;POINT (-40.043596 -2.835839)'))) / (select extract(epoch from '2026-07-05 07:54:03'::timestamp) - extract(epoch from '2026-07-05 07:53:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043584 -2.836023)'), GeomFromEWKT('SRID=4674;POINT (-40.043596 -2.835839)'))) / (select extract(epoch from '2026-07-05 07:54:03'::timestamp) - extract(epoch from '2026-07-05 07:53: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'), 47625, 'SRID=4674;POINT (-40.043617 -2.835634)', '2026-07-05 07:54:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043596 -2.835839)'), GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.835634)'))) / (select extract(epoch from '2026-07-05 07:54:12'::timestamp) - extract(epoch from '2026-07-05 07:54:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043596 -2.835839)'), GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.835634)'))) / (select extract(epoch from '2026-07-05 07:54:12'::timestamp) - extract(epoch from '2026-07-05 07:54: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'), 47625, 'SRID=4674;POINT (-40.043647 -2.835454)', '2026-07-05 07:54:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.835634)'), GeomFromEWKT('SRID=4674;POINT (-40.043647 -2.835454)'))) / (select extract(epoch from '2026-07-05 07:54:20'::timestamp) - extract(epoch from '2026-07-05 07:54:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043617 -2.835634)'), GeomFromEWKT('SRID=4674;POINT (-40.043647 -2.835454)'))) / (select extract(epoch from '2026-07-05 07:54:20'::timestamp) - extract(epoch from '2026-07-05 07:54: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'), 47625, 'SRID=4674;POINT (-40.043661 -2.835324)', '2026-07-05 07:54:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043647 -2.835454)'), GeomFromEWKT('SRID=4674;POINT (-40.043661 -2.835324)'))) / (select extract(epoch from '2026-07-05 07:54:26'::timestamp) - extract(epoch from '2026-07-05 07:54:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043647 -2.835454)'), GeomFromEWKT('SRID=4674;POINT (-40.043661 -2.835324)'))) / (select extract(epoch from '2026-07-05 07:54:26'::timestamp) - extract(epoch from '2026-07-05 07:54: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'), 47625, 'SRID=4674;POINT (-40.043674 -2.835193)', '2026-07-05 07:54:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043661 -2.835324)'), GeomFromEWKT('SRID=4674;POINT (-40.043674 -2.835193)'))) / (select extract(epoch from '2026-07-05 07:54:32'::timestamp) - extract(epoch from '2026-07-05 07:54:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043661 -2.835324)'), GeomFromEWKT('SRID=4674;POINT (-40.043674 -2.835193)'))) / (select extract(epoch from '2026-07-05 07:54:32'::timestamp) - extract(epoch from '2026-07-05 07:54: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'), 47625, 'SRID=4674;POINT (-40.043687 -2.834998)', '2026-07-05 07:54:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043674 -2.835193)'), GeomFromEWKT('SRID=4674;POINT (-40.043687 -2.834998)'))) / (select extract(epoch from '2026-07-05 07:54:41'::timestamp) - extract(epoch from '2026-07-05 07:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043674 -2.835193)'), GeomFromEWKT('SRID=4674;POINT (-40.043687 -2.834998)'))) / (select extract(epoch from '2026-07-05 07:54:41'::timestamp) - extract(epoch from '2026-07-05 07:54:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.043719 -2.834821)', '2026-07-05 07:54:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043687 -2.834998)'), GeomFromEWKT('SRID=4674;POINT (-40.043719 -2.834821)'))) / (select extract(epoch from '2026-07-05 07:54:49'::timestamp) - extract(epoch from '2026-07-05 07:54:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043687 -2.834998)'), GeomFromEWKT('SRID=4674;POINT (-40.043719 -2.834821)'))) / (select extract(epoch from '2026-07-05 07:54:49'::timestamp) - extract(epoch from '2026-07-05 07:54: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'), 47625, 'SRID=4674;POINT (-40.043749 -2.834646)', '2026-07-05 07:54:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043719 -2.834821)'), GeomFromEWKT('SRID=4674;POINT (-40.043749 -2.834646)'))) / (select extract(epoch from '2026-07-05 07:54:57'::timestamp) - extract(epoch from '2026-07-05 07:54:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043719 -2.834821)'), GeomFromEWKT('SRID=4674;POINT (-40.043749 -2.834646)'))) / (select extract(epoch from '2026-07-05 07:54:57'::timestamp) - extract(epoch from '2026-07-05 07:54: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'), 47625, 'SRID=4674;POINT (-40.043793 -2.834472)', '2026-07-05 07:55:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043749 -2.834646)'), GeomFromEWKT('SRID=4674;POINT (-40.043793 -2.834472)'))) / (select extract(epoch from '2026-07-05 07:55:05'::timestamp) - extract(epoch from '2026-07-05 07:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043749 -2.834646)'), GeomFromEWKT('SRID=4674;POINT (-40.043793 -2.834472)'))) / (select extract(epoch from '2026-07-05 07:55:05'::timestamp) - extract(epoch from '2026-07-05 07:54: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'), 47625, 'SRID=4674;POINT (-40.043832 -2.834343)', '2026-07-05 07:55:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043793 -2.834472)'), GeomFromEWKT('SRID=4674;POINT (-40.043832 -2.834343)'))) / (select extract(epoch from '2026-07-05 07:55:11'::timestamp) - extract(epoch from '2026-07-05 07:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043793 -2.834472)'), GeomFromEWKT('SRID=4674;POINT (-40.043832 -2.834343)'))) / (select extract(epoch from '2026-07-05 07:55:11'::timestamp) - extract(epoch from '2026-07-05 07:55: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'), 47625, 'SRID=4674;POINT (-40.043874 -2.834171)', '2026-07-05 07:55:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043832 -2.834343)'), GeomFromEWKT('SRID=4674;POINT (-40.043874 -2.834171)'))) / (select extract(epoch from '2026-07-05 07:55:19'::timestamp) - extract(epoch from '2026-07-05 07:55:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043832 -2.834343)'), GeomFromEWKT('SRID=4674;POINT (-40.043874 -2.834171)'))) / (select extract(epoch from '2026-07-05 07:55:19'::timestamp) - extract(epoch from '2026-07-05 07:55: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'), 47625, 'SRID=4674;POINT (-40.043914 -2.833947)', '2026-07-05 07:55:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043874 -2.834171)'), GeomFromEWKT('SRID=4674;POINT (-40.043914 -2.833947)'))) / (select extract(epoch from '2026-07-05 07:55:29'::timestamp) - extract(epoch from '2026-07-05 07:55:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043874 -2.834171)'), GeomFromEWKT('SRID=4674;POINT (-40.043914 -2.833947)'))) / (select extract(epoch from '2026-07-05 07:55:29'::timestamp) - extract(epoch from '2026-07-05 07:55:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.043921 -2.833769)', '2026-07-05 07:55:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043914 -2.833947)'), GeomFromEWKT('SRID=4674;POINT (-40.043921 -2.833769)'))) / (select extract(epoch from '2026-07-05 07:55:37'::timestamp) - extract(epoch from '2026-07-05 07:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043914 -2.833947)'), GeomFromEWKT('SRID=4674;POINT (-40.043921 -2.833769)'))) / (select extract(epoch from '2026-07-05 07:55:37'::timestamp) - extract(epoch from '2026-07-05 07:55: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'), 47625, 'SRID=4674;POINT (-40.043953 -2.833552)', '2026-07-05 07:55:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043921 -2.833769)'), GeomFromEWKT('SRID=4674;POINT (-40.043953 -2.833552)'))) / (select extract(epoch from '2026-07-05 07:55:47'::timestamp) - extract(epoch from '2026-07-05 07:55:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043921 -2.833769)'), GeomFromEWKT('SRID=4674;POINT (-40.043953 -2.833552)'))) / (select extract(epoch from '2026-07-05 07:55:47'::timestamp) - extract(epoch from '2026-07-05 07:55: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'), 47625, 'SRID=4674;POINT (-40.044039 -2.833403)', '2026-07-05 07:55:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043953 -2.833552)'), GeomFromEWKT('SRID=4674;POINT (-40.044039 -2.833403)'))) / (select extract(epoch from '2026-07-05 07:55:55'::timestamp) - extract(epoch from '2026-07-05 07:55:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.043953 -2.833552)'), GeomFromEWKT('SRID=4674;POINT (-40.044039 -2.833403)'))) / (select extract(epoch from '2026-07-05 07:55:55'::timestamp) - extract(epoch from '2026-07-05 07:55:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044134 -2.833235)', '2026-07-05 07:56:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044039 -2.833403)'), GeomFromEWKT('SRID=4674;POINT (-40.044134 -2.833235)'))) / (select extract(epoch from '2026-07-05 07:56:04'::timestamp) - extract(epoch from '2026-07-05 07:55:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044039 -2.833403)'), GeomFromEWKT('SRID=4674;POINT (-40.044134 -2.833235)'))) / (select extract(epoch from '2026-07-05 07:56:04'::timestamp) - extract(epoch from '2026-07-05 07:55:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.04416 -2.833059)', '2026-07-05 07:56:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044134 -2.833235)'), GeomFromEWKT('SRID=4674;POINT (-40.04416 -2.833059)'))) / (select extract(epoch from '2026-07-05 07:56:12'::timestamp) - extract(epoch from '2026-07-05 07:56:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044134 -2.833235)'), GeomFromEWKT('SRID=4674;POINT (-40.04416 -2.833059)'))) / (select extract(epoch from '2026-07-05 07:56:12'::timestamp) - extract(epoch from '2026-07-05 07:56: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'), 47625, 'SRID=4674;POINT (-40.044178 -2.83291)', '2026-07-05 07:56:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04416 -2.833059)'), GeomFromEWKT('SRID=4674;POINT (-40.044178 -2.83291)'))) / (select extract(epoch from '2026-07-05 07:56:19'::timestamp) - extract(epoch from '2026-07-05 07:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04416 -2.833059)'), GeomFromEWKT('SRID=4674;POINT (-40.044178 -2.83291)'))) / (select extract(epoch from '2026-07-05 07:56:19'::timestamp) - extract(epoch from '2026-07-05 07:56:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044204 -2.83271)', '2026-07-05 07:56:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044178 -2.83291)'), GeomFromEWKT('SRID=4674;POINT (-40.044204 -2.83271)'))) / (select extract(epoch from '2026-07-05 07:56:28'::timestamp) - extract(epoch from '2026-07-05 07:56:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044178 -2.83291)'), GeomFromEWKT('SRID=4674;POINT (-40.044204 -2.83271)'))) / (select extract(epoch from '2026-07-05 07:56:28'::timestamp) - extract(epoch from '2026-07-05 07:56:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044246 -2.832514)', '2026-07-05 07:56:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044204 -2.83271)'), GeomFromEWKT('SRID=4674;POINT (-40.044246 -2.832514)'))) / (select extract(epoch from '2026-07-05 07:56:37'::timestamp) - extract(epoch from '2026-07-05 07:56:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044204 -2.83271)'), GeomFromEWKT('SRID=4674;POINT (-40.044246 -2.832514)'))) / (select extract(epoch from '2026-07-05 07:56:37'::timestamp) - extract(epoch from '2026-07-05 07:56: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'), 47625, 'SRID=4674;POINT (-40.044296 -2.832363)', '2026-07-05 07:56:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044246 -2.832514)'), GeomFromEWKT('SRID=4674;POINT (-40.044296 -2.832363)'))) / (select extract(epoch from '2026-07-05 07:56:44'::timestamp) - extract(epoch from '2026-07-05 07:56:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044246 -2.832514)'), GeomFromEWKT('SRID=4674;POINT (-40.044296 -2.832363)'))) / (select extract(epoch from '2026-07-05 07:56:44'::timestamp) - extract(epoch from '2026-07-05 07:56: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'), 47625, 'SRID=4674;POINT (-40.044359 -2.832189)', '2026-07-05 07:56:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044296 -2.832363)'), GeomFromEWKT('SRID=4674;POINT (-40.044359 -2.832189)'))) / (select extract(epoch from '2026-07-05 07:56:52'::timestamp) - extract(epoch from '2026-07-05 07:56:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044296 -2.832363)'), GeomFromEWKT('SRID=4674;POINT (-40.044359 -2.832189)'))) / (select extract(epoch from '2026-07-05 07:56:52'::timestamp) - extract(epoch from '2026-07-05 07:56:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044409 -2.831994)', '2026-07-05 07:57:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044359 -2.832189)'), GeomFromEWKT('SRID=4674;POINT (-40.044409 -2.831994)'))) / (select extract(epoch from '2026-07-05 07:57:01'::timestamp) - extract(epoch from '2026-07-05 07:56:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044359 -2.832189)'), GeomFromEWKT('SRID=4674;POINT (-40.044409 -2.831994)'))) / (select extract(epoch from '2026-07-05 07:57:01'::timestamp) - extract(epoch from '2026-07-05 07:56: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'), 47625, 'SRID=4674;POINT (-40.044417 -2.831842)', '2026-07-05 07:57:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044409 -2.831994)'), GeomFromEWKT('SRID=4674;POINT (-40.044417 -2.831842)'))) / (select extract(epoch from '2026-07-05 07:57:08'::timestamp) - extract(epoch from '2026-07-05 07:57:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044409 -2.831994)'), GeomFromEWKT('SRID=4674;POINT (-40.044417 -2.831842)'))) / (select extract(epoch from '2026-07-05 07:57:08'::timestamp) - extract(epoch from '2026-07-05 07: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'), 47625, 'SRID=4674;POINT (-40.044403 -2.831667)', '2026-07-05 07:57:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044417 -2.831842)'), GeomFromEWKT('SRID=4674;POINT (-40.044403 -2.831667)'))) / (select extract(epoch from '2026-07-05 07:57:16'::timestamp) - extract(epoch from '2026-07-05 07:57:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044417 -2.831842)'), GeomFromEWKT('SRID=4674;POINT (-40.044403 -2.831667)'))) / (select extract(epoch from '2026-07-05 07:57:16'::timestamp) - extract(epoch from '2026-07-05 07:57: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'), 47625, 'SRID=4674;POINT (-40.044388 -2.831476)', '2026-07-05 07:57:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044403 -2.831667)'), GeomFromEWKT('SRID=4674;POINT (-40.044388 -2.831476)'))) / (select extract(epoch from '2026-07-05 07:57:25'::timestamp) - extract(epoch from '2026-07-05 07:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044403 -2.831667)'), GeomFromEWKT('SRID=4674;POINT (-40.044388 -2.831476)'))) / (select extract(epoch from '2026-07-05 07:57:25'::timestamp) - extract(epoch from '2026-07-05 07:57: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'), 47625, 'SRID=4674;POINT (-40.044366 -2.831283)', '2026-07-05 07:57:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044388 -2.831476)'), GeomFromEWKT('SRID=4674;POINT (-40.044366 -2.831283)'))) / (select extract(epoch from '2026-07-05 07:57:34'::timestamp) - extract(epoch from '2026-07-05 07:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044388 -2.831476)'), GeomFromEWKT('SRID=4674;POINT (-40.044366 -2.831283)'))) / (select extract(epoch from '2026-07-05 07:57:34'::timestamp) - extract(epoch from '2026-07-05 07:57: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'), 47625, 'SRID=4674;POINT (-40.044348 -2.831089)', '2026-07-05 07:57:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044366 -2.831283)'), GeomFromEWKT('SRID=4674;POINT (-40.044348 -2.831089)'))) / (select extract(epoch from '2026-07-05 07:57:43'::timestamp) - extract(epoch from '2026-07-05 07:57:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044366 -2.831283)'), GeomFromEWKT('SRID=4674;POINT (-40.044348 -2.831089)'))) / (select extract(epoch from '2026-07-05 07:57:43'::timestamp) - extract(epoch from '2026-07-05 07:57:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044335 -2.83083)', '2026-07-05 07:57:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044348 -2.831089)'), GeomFromEWKT('SRID=4674;POINT (-40.044335 -2.83083)'))) / (select extract(epoch from '2026-07-05 07:57:55'::timestamp) - extract(epoch from '2026-07-05 07:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044348 -2.831089)'), GeomFromEWKT('SRID=4674;POINT (-40.044335 -2.83083)'))) / (select extract(epoch from '2026-07-05 07:57:55'::timestamp) - extract(epoch from '2026-07-05 07:57: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'), 47625, 'SRID=4674;POINT (-40.04434 -2.830649)', '2026-07-05 07:58:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044335 -2.83083)'), GeomFromEWKT('SRID=4674;POINT (-40.04434 -2.830649)'))) / (select extract(epoch from '2026-07-05 07:58:03'::timestamp) - extract(epoch from '2026-07-05 07:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044335 -2.83083)'), GeomFromEWKT('SRID=4674;POINT (-40.04434 -2.830649)'))) / (select extract(epoch from '2026-07-05 07:58:03'::timestamp) - extract(epoch from '2026-07-05 07:57:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044359 -2.830453)', '2026-07-05 07:58:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04434 -2.830649)'), GeomFromEWKT('SRID=4674;POINT (-40.044359 -2.830453)'))) / (select extract(epoch from '2026-07-05 07:58:12'::timestamp) - extract(epoch from '2026-07-05 07:58:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04434 -2.830649)'), GeomFromEWKT('SRID=4674;POINT (-40.044359 -2.830453)'))) / (select extract(epoch from '2026-07-05 07:58:12'::timestamp) - extract(epoch from '2026-07-05 07:58: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'), 47625, 'SRID=4674;POINT (-40.044357 -2.830246)', '2026-07-05 07:58:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044359 -2.830453)'), GeomFromEWKT('SRID=4674;POINT (-40.044357 -2.830246)'))) / (select extract(epoch from '2026-07-05 07:58:22'::timestamp) - extract(epoch from '2026-07-05 07:58:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044359 -2.830453)'), GeomFromEWKT('SRID=4674;POINT (-40.044357 -2.830246)'))) / (select extract(epoch from '2026-07-05 07:58:22'::timestamp) - extract(epoch from '2026-07-05 07:58:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044334 -2.830024)', '2026-07-05 07:58:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044357 -2.830246)'), GeomFromEWKT('SRID=4674;POINT (-40.044334 -2.830024)'))) / (select extract(epoch from '2026-07-05 07:58:32'::timestamp) - extract(epoch from '2026-07-05 07:58:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044357 -2.830246)'), GeomFromEWKT('SRID=4674;POINT (-40.044334 -2.830024)'))) / (select extract(epoch from '2026-07-05 07:58:32'::timestamp) - extract(epoch from '2026-07-05 07:58: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'), 47625, 'SRID=4674;POINT (-40.04432 -2.82985)', '2026-07-05 07:58:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044334 -2.830024)'), GeomFromEWKT('SRID=4674;POINT (-40.04432 -2.82985)'))) / (select extract(epoch from '2026-07-05 07:58:40'::timestamp) - extract(epoch from '2026-07-05 07:58:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044334 -2.830024)'), GeomFromEWKT('SRID=4674;POINT (-40.04432 -2.82985)'))) / (select extract(epoch from '2026-07-05 07:58:40'::timestamp) - extract(epoch from '2026-07-05 07:58: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'), 47625, 'SRID=4674;POINT (-40.0443 -2.829632)', '2026-07-05 07:58:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04432 -2.82985)'), GeomFromEWKT('SRID=4674;POINT (-40.0443 -2.829632)'))) / (select extract(epoch from '2026-07-05 07:58:50'::timestamp) - extract(epoch from '2026-07-05 07:58:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04432 -2.82985)'), GeomFromEWKT('SRID=4674;POINT (-40.0443 -2.829632)'))) / (select extract(epoch from '2026-07-05 07:58:50'::timestamp) - extract(epoch from '2026-07-05 07:58: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'), 47625, 'SRID=4674;POINT (-40.044284 -2.829482)', '2026-07-05 07:58:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0443 -2.829632)'), GeomFromEWKT('SRID=4674;POINT (-40.044284 -2.829482)'))) / (select extract(epoch from '2026-07-05 07:58:57'::timestamp) - extract(epoch from '2026-07-05 07:58:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0443 -2.829632)'), GeomFromEWKT('SRID=4674;POINT (-40.044284 -2.829482)'))) / (select extract(epoch from '2026-07-05 07:58:57'::timestamp) - extract(epoch from '2026-07-05 07:58: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'), 47625, 'SRID=4674;POINT (-40.044274 -2.829326)', '2026-07-05 07:59:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044284 -2.829482)'), GeomFromEWKT('SRID=4674;POINT (-40.044274 -2.829326)'))) / (select extract(epoch from '2026-07-05 07:59:04'::timestamp) - extract(epoch from '2026-07-05 07:58:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044284 -2.829482)'), GeomFromEWKT('SRID=4674;POINT (-40.044274 -2.829326)'))) / (select extract(epoch from '2026-07-05 07:59:04'::timestamp) - extract(epoch from '2026-07-05 07:58: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'), 47625, 'SRID=4674;POINT (-40.044269 -2.829126)', '2026-07-05 07:59:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044274 -2.829326)'), GeomFromEWKT('SRID=4674;POINT (-40.044269 -2.829126)'))) / (select extract(epoch from '2026-07-05 07:59:13'::timestamp) - extract(epoch from '2026-07-05 07:59:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044274 -2.829326)'), GeomFromEWKT('SRID=4674;POINT (-40.044269 -2.829126)'))) / (select extract(epoch from '2026-07-05 07:59:13'::timestamp) - extract(epoch from '2026-07-05 07:59: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'), 47625, 'SRID=4674;POINT (-40.044264 -2.828925)', '2026-07-05 07:59:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044269 -2.829126)'), GeomFromEWKT('SRID=4674;POINT (-40.044264 -2.828925)'))) / (select extract(epoch from '2026-07-05 07:59:22'::timestamp) - extract(epoch from '2026-07-05 07:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044269 -2.829126)'), GeomFromEWKT('SRID=4674;POINT (-40.044264 -2.828925)'))) / (select extract(epoch from '2026-07-05 07:59:22'::timestamp) - extract(epoch from '2026-07-05 07:59: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'), 47625, 'SRID=4674;POINT (-40.044269 -2.828793)', '2026-07-05 07:59:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044264 -2.828925)'), GeomFromEWKT('SRID=4674;POINT (-40.044269 -2.828793)'))) / (select extract(epoch from '2026-07-05 07:59:28'::timestamp) - extract(epoch from '2026-07-05 07:59:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044264 -2.828925)'), GeomFromEWKT('SRID=4674;POINT (-40.044269 -2.828793)'))) / (select extract(epoch from '2026-07-05 07:59:28'::timestamp) - extract(epoch from '2026-07-05 07:59:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044271 -2.828641)', '2026-07-05 07:59:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044269 -2.828793)'), GeomFromEWKT('SRID=4674;POINT (-40.044271 -2.828641)'))) / (select extract(epoch from '2026-07-05 07:59:35'::timestamp) - extract(epoch from '2026-07-05 07:59:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044269 -2.828793)'), GeomFromEWKT('SRID=4674;POINT (-40.044271 -2.828641)'))) / (select extract(epoch from '2026-07-05 07:59:35'::timestamp) - extract(epoch from '2026-07-05 07:59:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044273 -2.828532)', '2026-07-05 07:59:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044271 -2.828641)'), GeomFromEWKT('SRID=4674;POINT (-40.044273 -2.828532)'))) / (select extract(epoch from '2026-07-05 07:59:40'::timestamp) - extract(epoch from '2026-07-05 07:59:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044271 -2.828641)'), GeomFromEWKT('SRID=4674;POINT (-40.044273 -2.828532)'))) / (select extract(epoch from '2026-07-05 07:59:40'::timestamp) - extract(epoch from '2026-07-05 07:59:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044276 -2.828403)', '2026-07-05 07:59:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044273 -2.828532)'), GeomFromEWKT('SRID=4674;POINT (-40.044276 -2.828403)'))) / (select extract(epoch from '2026-07-05 07:59:46'::timestamp) - extract(epoch from '2026-07-05 07:59:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044273 -2.828532)'), GeomFromEWKT('SRID=4674;POINT (-40.044276 -2.828403)'))) / (select extract(epoch from '2026-07-05 07:59:46'::timestamp) - extract(epoch from '2026-07-05 07: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'), 47625, 'SRID=4674;POINT (-40.044277 -2.828253)', '2026-07-05 07:59:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044276 -2.828403)'), GeomFromEWKT('SRID=4674;POINT (-40.044277 -2.828253)'))) / (select extract(epoch from '2026-07-05 07:59:53'::timestamp) - extract(epoch from '2026-07-05 07:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044276 -2.828403)'), GeomFromEWKT('SRID=4674;POINT (-40.044277 -2.828253)'))) / (select extract(epoch from '2026-07-05 07:59:53'::timestamp) - extract(epoch from '2026-07-05 07:59: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'), 47625, 'SRID=4674;POINT (-40.044286 -2.828116)', '2026-07-05 07:59:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044277 -2.828253)'), GeomFromEWKT('SRID=4674;POINT (-40.044286 -2.828116)'))) / (select extract(epoch from '2026-07-05 07:59:59'::timestamp) - extract(epoch from '2026-07-05 07:59:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044277 -2.828253)'), GeomFromEWKT('SRID=4674;POINT (-40.044286 -2.828116)'))) / (select extract(epoch from '2026-07-05 07:59:59'::timestamp) - extract(epoch from '2026-07-05 07: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'), 47625, 'SRID=4674;POINT (-40.044307 -2.827969)', '2026-07-05 08:00:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044286 -2.828116)'), GeomFromEWKT('SRID=4674;POINT (-40.044307 -2.827969)'))) / (select extract(epoch from '2026-07-05 08:00:06'::timestamp) - extract(epoch from '2026-07-05 07:59:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044286 -2.828116)'), GeomFromEWKT('SRID=4674;POINT (-40.044307 -2.827969)'))) / (select extract(epoch from '2026-07-05 08:00:06'::timestamp) - extract(epoch from '2026-07-05 07:59:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044324 -2.827814)', '2026-07-05 08:00:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044307 -2.827969)'), GeomFromEWKT('SRID=4674;POINT (-40.044324 -2.827814)'))) / (select extract(epoch from '2026-07-05 08:00:13'::timestamp) - extract(epoch from '2026-07-05 08:00:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044307 -2.827969)'), GeomFromEWKT('SRID=4674;POINT (-40.044324 -2.827814)'))) / (select extract(epoch from '2026-07-05 08:00:13'::timestamp) - extract(epoch from '2026-07-05 08:00:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044351 -2.827644)', '2026-07-05 08:00:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044324 -2.827814)'), GeomFromEWKT('SRID=4674;POINT (-40.044351 -2.827644)'))) / (select extract(epoch from '2026-07-05 08:00:21'::timestamp) - extract(epoch from '2026-07-05 08:00:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044324 -2.827814)'), GeomFromEWKT('SRID=4674;POINT (-40.044351 -2.827644)'))) / (select extract(epoch from '2026-07-05 08:00:21'::timestamp) - extract(epoch from '2026-07-05 08:00: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'), 47625, 'SRID=4674;POINT (-40.044364 -2.827427)', '2026-07-05 08:00:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044351 -2.827644)'), GeomFromEWKT('SRID=4674;POINT (-40.044364 -2.827427)'))) / (select extract(epoch from '2026-07-05 08:00:31'::timestamp) - extract(epoch from '2026-07-05 08:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044351 -2.827644)'), GeomFromEWKT('SRID=4674;POINT (-40.044364 -2.827427)'))) / (select extract(epoch from '2026-07-05 08:00:31'::timestamp) - extract(epoch from '2026-07-05 08:00:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044361 -2.827251)', '2026-07-05 08:00:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044364 -2.827427)'), GeomFromEWKT('SRID=4674;POINT (-40.044361 -2.827251)'))) / (select extract(epoch from '2026-07-05 08:00:39'::timestamp) - extract(epoch from '2026-07-05 08:00:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044364 -2.827427)'), GeomFromEWKT('SRID=4674;POINT (-40.044361 -2.827251)'))) / (select extract(epoch from '2026-07-05 08:00:39'::timestamp) - extract(epoch from '2026-07-05 08:00: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'), 47625, 'SRID=4674;POINT (-40.044366 -2.827122)', '2026-07-05 08:00:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044361 -2.827251)'), GeomFromEWKT('SRID=4674;POINT (-40.044366 -2.827122)'))) / (select extract(epoch from '2026-07-05 08:00:45'::timestamp) - extract(epoch from '2026-07-05 08:00:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044361 -2.827251)'), GeomFromEWKT('SRID=4674;POINT (-40.044366 -2.827122)'))) / (select extract(epoch from '2026-07-05 08:00:45'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.044369 -2.827014)', '2026-07-05 08:00:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044366 -2.827122)'), GeomFromEWKT('SRID=4674;POINT (-40.044369 -2.827014)'))) / (select extract(epoch from '2026-07-05 08:00:50'::timestamp) - extract(epoch from '2026-07-05 08:00:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044366 -2.827122)'), GeomFromEWKT('SRID=4674;POINT (-40.044369 -2.827014)'))) / (select extract(epoch from '2026-07-05 08:00:50'::timestamp) - extract(epoch from '2026-07-05 08:00:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044386 -2.826821)', '2026-07-05 08:00:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044369 -2.827014)'), GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.826821)'))) / (select extract(epoch from '2026-07-05 08:00:59'::timestamp) - extract(epoch from '2026-07-05 08:00:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044369 -2.827014)'), GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.826821)'))) / (select extract(epoch from '2026-07-05 08:00:59'::timestamp) - extract(epoch from '2026-07-05 08:00: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'), 47625, 'SRID=4674;POINT (-40.044397 -2.826712)', '2026-07-05 08:01:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.826821)'), GeomFromEWKT('SRID=4674;POINT (-40.044397 -2.826712)'))) / (select extract(epoch from '2026-07-05 08:01:04'::timestamp) - extract(epoch from '2026-07-05 08:00:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044386 -2.826821)'), GeomFromEWKT('SRID=4674;POINT (-40.044397 -2.826712)'))) / (select extract(epoch from '2026-07-05 08:01:04'::timestamp) - extract(epoch from '2026-07-05 08:00: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'), 47625, 'SRID=4674;POINT (-40.044416 -2.826586)', '2026-07-05 08:01:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044397 -2.826712)'), GeomFromEWKT('SRID=4674;POINT (-40.044416 -2.826586)'))) / (select extract(epoch from '2026-07-05 08:01:10'::timestamp) - extract(epoch from '2026-07-05 08:01:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044397 -2.826712)'), GeomFromEWKT('SRID=4674;POINT (-40.044416 -2.826586)'))) / (select extract(epoch from '2026-07-05 08:01:10'::timestamp) - extract(epoch from '2026-07-05 08:01: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'), 47625, 'SRID=4674;POINT (-40.044423 -2.826541)', '2026-07-05 08:01:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044416 -2.826586)'), GeomFromEWKT('SRID=4674;POINT (-40.044423 -2.826541)'))) / (select extract(epoch from '2026-07-05 08:01:13'::timestamp) - extract(epoch from '2026-07-05 08:01:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044416 -2.826586)'), GeomFromEWKT('SRID=4674;POINT (-40.044423 -2.826541)'))) / (select extract(epoch from '2026-07-05 08:01:13'::timestamp) - extract(epoch from '2026-07-05 08:01:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044792 -2.819025)', '2026-07-05 08:07:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044423 -2.826541)'), GeomFromEWKT('SRID=4674;POINT (-40.044792 -2.819025)'))) / (select extract(epoch from '2026-07-05 08:07:12'::timestamp) - extract(epoch from '2026-07-05 08:01:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044423 -2.826541)'), GeomFromEWKT('SRID=4674;POINT (-40.044792 -2.819025)'))) / (select extract(epoch from '2026-07-05 08:07:12'::timestamp) - extract(epoch from '2026-07-05 08:01: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'), 47625, 'SRID=4674;POINT (-40.044783 -2.81887)', '2026-07-05 08:07:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044792 -2.819025)'), GeomFromEWKT('SRID=4674;POINT (-40.044783 -2.81887)'))) / (select extract(epoch from '2026-07-05 08:07:21'::timestamp) - extract(epoch from '2026-07-05 08:07:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044792 -2.819025)'), GeomFromEWKT('SRID=4674;POINT (-40.044783 -2.81887)'))) / (select extract(epoch from '2026-07-05 08:07:21'::timestamp) - extract(epoch from '2026-07-05 08:07: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'), 47625, 'SRID=4674;POINT (-40.044792 -2.818741)', '2026-07-05 08:07:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044783 -2.81887)'), GeomFromEWKT('SRID=4674;POINT (-40.044792 -2.818741)'))) / (select extract(epoch from '2026-07-05 08:07:27'::timestamp) - extract(epoch from '2026-07-05 08:07:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044783 -2.81887)'), GeomFromEWKT('SRID=4674;POINT (-40.044792 -2.818741)'))) / (select extract(epoch from '2026-07-05 08:07:27'::timestamp) - extract(epoch from '2026-07-05 08:07:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044846 -2.818558)', '2026-07-05 08:07:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044792 -2.818741)'), GeomFromEWKT('SRID=4674;POINT (-40.044846 -2.818558)'))) / (select extract(epoch from '2026-07-05 08:07:34'::timestamp) - extract(epoch from '2026-07-05 08:07:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044792 -2.818741)'), GeomFromEWKT('SRID=4674;POINT (-40.044846 -2.818558)'))) / (select extract(epoch from '2026-07-05 08:07:34'::timestamp) - extract(epoch from '2026-07-05 08:07:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044893 -2.818425)', '2026-07-05 08:07:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044846 -2.818558)'), GeomFromEWKT('SRID=4674;POINT (-40.044893 -2.818425)'))) / (select extract(epoch from '2026-07-05 08:07:40'::timestamp) - extract(epoch from '2026-07-05 08:07:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044846 -2.818558)'), GeomFromEWKT('SRID=4674;POINT (-40.044893 -2.818425)'))) / (select extract(epoch from '2026-07-05 08:07:40'::timestamp) - extract(epoch from '2026-07-05 08:07: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'), 47625, 'SRID=4674;POINT (-40.044907 -2.818296)', '2026-07-05 08:07:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044893 -2.818425)'), GeomFromEWKT('SRID=4674;POINT (-40.044907 -2.818296)'))) / (select extract(epoch from '2026-07-05 08:07:46'::timestamp) - extract(epoch from '2026-07-05 08:07:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044893 -2.818425)'), GeomFromEWKT('SRID=4674;POINT (-40.044907 -2.818296)'))) / (select extract(epoch from '2026-07-05 08:07:46'::timestamp) - extract(epoch from '2026-07-05 08:07: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'), 47625, 'SRID=4674;POINT (-40.044917 -2.818194)', '2026-07-05 08:07:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044907 -2.818296)'), GeomFromEWKT('SRID=4674;POINT (-40.044917 -2.818194)'))) / (select extract(epoch from '2026-07-05 08:07:51'::timestamp) - extract(epoch from '2026-07-05 08:07:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044907 -2.818296)'), GeomFromEWKT('SRID=4674;POINT (-40.044917 -2.818194)'))) / (select extract(epoch from '2026-07-05 08:07:51'::timestamp) - extract(epoch from '2026-07-05 08:07: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'), 47625, 'SRID=4674;POINT (-40.044931 -2.818066)', '2026-07-05 08:07:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044917 -2.818194)'), GeomFromEWKT('SRID=4674;POINT (-40.044931 -2.818066)'))) / (select extract(epoch from '2026-07-05 08:07:57'::timestamp) - extract(epoch from '2026-07-05 08:07:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044917 -2.818194)'), GeomFromEWKT('SRID=4674;POINT (-40.044931 -2.818066)'))) / (select extract(epoch from '2026-07-05 08:07:57'::timestamp) - extract(epoch from '2026-07-05 08:07:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044947 -2.81794)', '2026-07-05 08:08:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044931 -2.818066)'), GeomFromEWKT('SRID=4674;POINT (-40.044947 -2.81794)'))) / (select extract(epoch from '2026-07-05 08:08:03'::timestamp) - extract(epoch from '2026-07-05 08:07:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044931 -2.818066)'), GeomFromEWKT('SRID=4674;POINT (-40.044947 -2.81794)'))) / (select extract(epoch from '2026-07-05 08:08:03'::timestamp) - extract(epoch from '2026-07-05 08:07: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'), 47625, 'SRID=4674;POINT (-40.044962 -2.817796)', '2026-07-05 08:08:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044947 -2.81794)'), GeomFromEWKT('SRID=4674;POINT (-40.044962 -2.817796)'))) / (select extract(epoch from '2026-07-05 08:08:10'::timestamp) - extract(epoch from '2026-07-05 08:08:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044947 -2.81794)'), GeomFromEWKT('SRID=4674;POINT (-40.044962 -2.817796)'))) / (select extract(epoch from '2026-07-05 08:08:10'::timestamp) - extract(epoch from '2026-07-05 08:08: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'), 47625, 'SRID=4674;POINT (-40.044988 -2.817657)', '2026-07-05 08:08:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044962 -2.817796)'), GeomFromEWKT('SRID=4674;POINT (-40.044988 -2.817657)'))) / (select extract(epoch from '2026-07-05 08:08:17'::timestamp) - extract(epoch from '2026-07-05 08:08:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044962 -2.817796)'), GeomFromEWKT('SRID=4674;POINT (-40.044988 -2.817657)'))) / (select extract(epoch from '2026-07-05 08:08:17'::timestamp) - extract(epoch from '2026-07-05 08:08: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'), 47625, 'SRID=4674;POINT (-40.04501 -2.817471)', '2026-07-05 08:08:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044988 -2.817657)'), GeomFromEWKT('SRID=4674;POINT (-40.04501 -2.817471)'))) / (select extract(epoch from '2026-07-05 08:08:26'::timestamp) - extract(epoch from '2026-07-05 08:08:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044988 -2.817657)'), GeomFromEWKT('SRID=4674;POINT (-40.04501 -2.817471)'))) / (select extract(epoch from '2026-07-05 08:08:26'::timestamp) - extract(epoch from '2026-07-05 08:08:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.045018 -2.81732)', '2026-07-05 08:08:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04501 -2.817471)'), GeomFromEWKT('SRID=4674;POINT (-40.045018 -2.81732)'))) / (select extract(epoch from '2026-07-05 08:08:33'::timestamp) - extract(epoch from '2026-07-05 08:08:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04501 -2.817471)'), GeomFromEWKT('SRID=4674;POINT (-40.045018 -2.81732)'))) / (select extract(epoch from '2026-07-05 08:08:33'::timestamp) - extract(epoch from '2026-07-05 08:08:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.045014 -2.817237)', '2026-07-05 08:08:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045018 -2.81732)'), GeomFromEWKT('SRID=4674;POINT (-40.045014 -2.817237)'))) / (select extract(epoch from '2026-07-05 08:08:37'::timestamp) - extract(epoch from '2026-07-05 08:08:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045018 -2.81732)'), GeomFromEWKT('SRID=4674;POINT (-40.045014 -2.817237)'))) / (select extract(epoch from '2026-07-05 08:08:37'::timestamp) - extract(epoch from '2026-07-05 08:08: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'), 47625, 'SRID=4674;POINT (-40.045011 -2.817135)', '2026-07-05 08:08:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045014 -2.817237)'), GeomFromEWKT('SRID=4674;POINT (-40.045011 -2.817135)'))) / (select extract(epoch from '2026-07-05 08:08:42'::timestamp) - extract(epoch from '2026-07-05 08:08:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045014 -2.817237)'), GeomFromEWKT('SRID=4674;POINT (-40.045011 -2.817135)'))) / (select extract(epoch from '2026-07-05 08:08:42'::timestamp) - extract(epoch from '2026-07-05 08:08: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'), 47625, 'SRID=4674;POINT (-40.045022 -2.816963)', '2026-07-05 08:08:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045011 -2.817135)'), GeomFromEWKT('SRID=4674;POINT (-40.045022 -2.816963)'))) / (select extract(epoch from '2026-07-05 08:08:50'::timestamp) - extract(epoch from '2026-07-05 08:08:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045011 -2.817135)'), GeomFromEWKT('SRID=4674;POINT (-40.045022 -2.816963)'))) / (select extract(epoch from '2026-07-05 08:08:50'::timestamp) - extract(epoch from '2026-07-05 08:08:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.04504 -2.816842)', '2026-07-05 08:08:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045022 -2.816963)'), GeomFromEWKT('SRID=4674;POINT (-40.04504 -2.816842)'))) / (select extract(epoch from '2026-07-05 08:08:56'::timestamp) - extract(epoch from '2026-07-05 08:08:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045022 -2.816963)'), GeomFromEWKT('SRID=4674;POINT (-40.04504 -2.816842)'))) / (select extract(epoch from '2026-07-05 08:08:56'::timestamp) - extract(epoch from '2026-07-05 08:08:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.045057 -2.816695)', '2026-07-05 08:09:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04504 -2.816842)'), GeomFromEWKT('SRID=4674;POINT (-40.045057 -2.816695)'))) / (select extract(epoch from '2026-07-05 08:09:03'::timestamp) - extract(epoch from '2026-07-05 08:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04504 -2.816842)'), GeomFromEWKT('SRID=4674;POINT (-40.045057 -2.816695)'))) / (select extract(epoch from '2026-07-05 08:09:03'::timestamp) - extract(epoch from '2026-07-05 08:08: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'), 47625, 'SRID=4674;POINT (-40.045053 -2.816567)', '2026-07-05 08:09:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045057 -2.816695)'), GeomFromEWKT('SRID=4674;POINT (-40.045053 -2.816567)'))) / (select extract(epoch from '2026-07-05 08:09:09'::timestamp) - extract(epoch from '2026-07-05 08:09:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045057 -2.816695)'), GeomFromEWKT('SRID=4674;POINT (-40.045053 -2.816567)'))) / (select extract(epoch from '2026-07-05 08:09:09'::timestamp) - extract(epoch from '2026-07-05 08:09:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.045037 -2.816428)', '2026-07-05 08:09:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045053 -2.816567)'), GeomFromEWKT('SRID=4674;POINT (-40.045037 -2.816428)'))) / (select extract(epoch from '2026-07-05 08:09:16'::timestamp) - extract(epoch from '2026-07-05 08:09:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045053 -2.816567)'), GeomFromEWKT('SRID=4674;POINT (-40.045037 -2.816428)'))) / (select extract(epoch from '2026-07-05 08:09:16'::timestamp) - extract(epoch from '2026-07-05 08:09: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'), 47625, 'SRID=4674;POINT (-40.045003 -2.816274)', '2026-07-05 08:09:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045037 -2.816428)'), GeomFromEWKT('SRID=4674;POINT (-40.045003 -2.816274)'))) / (select extract(epoch from '2026-07-05 08:09:24'::timestamp) - extract(epoch from '2026-07-05 08:09:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045037 -2.816428)'), GeomFromEWKT('SRID=4674;POINT (-40.045003 -2.816274)'))) / (select extract(epoch from '2026-07-05 08:09:24'::timestamp) - extract(epoch from '2026-07-05 08:09:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044975 -2.81614)', '2026-07-05 08:09:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045003 -2.816274)'), GeomFromEWKT('SRID=4674;POINT (-40.044975 -2.81614)'))) / (select extract(epoch from '2026-07-05 08:09:31'::timestamp) - extract(epoch from '2026-07-05 08:09:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045003 -2.816274)'), GeomFromEWKT('SRID=4674;POINT (-40.044975 -2.81614)'))) / (select extract(epoch from '2026-07-05 08:09:31'::timestamp) - extract(epoch from '2026-07-05 08:09:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.044965 -2.816017)', '2026-07-05 08:09:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044975 -2.81614)'), GeomFromEWKT('SRID=4674;POINT (-40.044965 -2.816017)'))) / (select extract(epoch from '2026-07-05 08:09:37'::timestamp) - extract(epoch from '2026-07-05 08:09:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044975 -2.81614)'), GeomFromEWKT('SRID=4674;POINT (-40.044965 -2.816017)'))) / (select extract(epoch from '2026-07-05 08:09:37'::timestamp) - extract(epoch from '2026-07-05 08:09: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'), 47625, 'SRID=4674;POINT (-40.044989 -2.815894)', '2026-07-05 08:09:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044965 -2.816017)'), GeomFromEWKT('SRID=4674;POINT (-40.044989 -2.815894)'))) / (select extract(epoch from '2026-07-05 08:09:43'::timestamp) - extract(epoch from '2026-07-05 08:09:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044965 -2.816017)'), GeomFromEWKT('SRID=4674;POINT (-40.044989 -2.815894)'))) / (select extract(epoch from '2026-07-05 08:09:43'::timestamp) - extract(epoch from '2026-07-05 08:09: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'), 47625, 'SRID=4674;POINT (-40.045038 -2.815771)', '2026-07-05 08:09:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044989 -2.815894)'), GeomFromEWKT('SRID=4674;POINT (-40.045038 -2.815771)'))) / (select extract(epoch from '2026-07-05 08:09:49'::timestamp) - extract(epoch from '2026-07-05 08:09:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.044989 -2.815894)'), GeomFromEWKT('SRID=4674;POINT (-40.045038 -2.815771)'))) / (select extract(epoch from '2026-07-05 08:09:49'::timestamp) - extract(epoch from '2026-07-05 08:09:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.04511 -2.815616)', '2026-07-05 08:09:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045038 -2.815771)'), GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.815616)'))) / (select extract(epoch from '2026-07-05 08:09:57'::timestamp) - extract(epoch from '2026-07-05 08:09:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045038 -2.815771)'), GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.815616)'))) / (select extract(epoch from '2026-07-05 08:09:57'::timestamp) - extract(epoch from '2026-07-05 08:09: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'), 47625, 'SRID=4674;POINT (-40.045147 -2.815469)', '2026-07-05 08:10:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.815616)'), GeomFromEWKT('SRID=4674;POINT (-40.045147 -2.815469)'))) / (select extract(epoch from '2026-07-05 08:10:04'::timestamp) - extract(epoch from '2026-07-05 08:09:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04511 -2.815616)'), GeomFromEWKT('SRID=4674;POINT (-40.045147 -2.815469)'))) / (select extract(epoch from '2026-07-05 08:10:04'::timestamp) - extract(epoch from '2026-07-05 08:09: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'), 47625, 'SRID=4674;POINT (-40.045157 -2.815327)', '2026-07-05 08:10:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045147 -2.815469)'), GeomFromEWKT('SRID=4674;POINT (-40.045157 -2.815327)'))) / (select extract(epoch from '2026-07-05 08:10:11'::timestamp) - extract(epoch from '2026-07-05 08:10:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045147 -2.815469)'), GeomFromEWKT('SRID=4674;POINT (-40.045157 -2.815327)'))) / (select extract(epoch from '2026-07-05 08:10:11'::timestamp) - extract(epoch from '2026-07-05 08:10: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'), 47625, 'SRID=4674;POINT (-40.045199 -2.815209)', '2026-07-05 08:10:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045157 -2.815327)'), GeomFromEWKT('SRID=4674;POINT (-40.045199 -2.815209)'))) / (select extract(epoch from '2026-07-05 08:10:17'::timestamp) - extract(epoch from '2026-07-05 08:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045157 -2.815327)'), GeomFromEWKT('SRID=4674;POINT (-40.045199 -2.815209)'))) / (select extract(epoch from '2026-07-05 08:10:17'::timestamp) - extract(epoch from '2026-07-05 08:10:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.045261 -2.815124)', '2026-07-05 08:10:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045199 -2.815209)'), GeomFromEWKT('SRID=4674;POINT (-40.045261 -2.815124)'))) / (select extract(epoch from '2026-07-05 08:10:22'::timestamp) - extract(epoch from '2026-07-05 08:10:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045199 -2.815209)'), GeomFromEWKT('SRID=4674;POINT (-40.045261 -2.815124)'))) / (select extract(epoch from '2026-07-05 08:10:22'::timestamp) - extract(epoch from '2026-07-05 08:10: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'), 47625, 'SRID=4674;POINT (-40.045278 -2.815107)', '2026-07-05 08:10:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045261 -2.815124)'), GeomFromEWKT('SRID=4674;POINT (-40.045278 -2.815107)'))) / (select extract(epoch from '2026-07-05 08:10:23'::timestamp) - extract(epoch from '2026-07-05 08:10:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045261 -2.815124)'), GeomFromEWKT('SRID=4674;POINT (-40.045278 -2.815107)'))) / (select extract(epoch from '2026-07-05 08:10:23'::timestamp) - extract(epoch from '2026-07-05 08:10: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'), 47625, 'SRID=4674;POINT (-40.045329 -2.815062)', '2026-07-05 08:10:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045278 -2.815107)'), GeomFromEWKT('SRID=4674;POINT (-40.045329 -2.815062)'))) / (select extract(epoch from '2026-07-05 08:10:26'::timestamp) - extract(epoch from '2026-07-05 08:10:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045278 -2.815107)'), GeomFromEWKT('SRID=4674;POINT (-40.045329 -2.815062)'))) / (select extract(epoch from '2026-07-05 08:10:26'::timestamp) - extract(epoch from '2026-07-05 08:10: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'), 47625, 'SRID=4674;POINT (-40.045445 -2.814948)', '2026-07-05 08:10:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045329 -2.815062)'), GeomFromEWKT('SRID=4674;POINT (-40.045445 -2.814948)'))) / (select extract(epoch from '2026-07-05 08:10:34'::timestamp) - extract(epoch from '2026-07-05 08:10:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045329 -2.815062)'), GeomFromEWKT('SRID=4674;POINT (-40.045445 -2.814948)'))) / (select extract(epoch from '2026-07-05 08:10:34'::timestamp) - extract(epoch from '2026-07-05 08:10:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.045522 -2.814849)', '2026-07-05 08:10:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045445 -2.814948)'), GeomFromEWKT('SRID=4674;POINT (-40.045522 -2.814849)'))) / (select extract(epoch from '2026-07-05 08:10:40'::timestamp) - extract(epoch from '2026-07-05 08:10:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045445 -2.814948)'), GeomFromEWKT('SRID=4674;POINT (-40.045522 -2.814849)'))) / (select extract(epoch from '2026-07-05 08:10:40'::timestamp) - extract(epoch from '2026-07-05 08:10: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'), 47625, 'SRID=4674;POINT (-40.0456 -2.814743)', '2026-07-05 08:10:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045522 -2.814849)'), GeomFromEWKT('SRID=4674;POINT (-40.0456 -2.814743)'))) / (select extract(epoch from '2026-07-05 08:10:46'::timestamp) - extract(epoch from '2026-07-05 08:10:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045522 -2.814849)'), GeomFromEWKT('SRID=4674;POINT (-40.0456 -2.814743)'))) / (select extract(epoch from '2026-07-05 08:10:46'::timestamp) - extract(epoch from '2026-07-05 08:10:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.04568 -2.814659)', '2026-07-05 08:10:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0456 -2.814743)'), GeomFromEWKT('SRID=4674;POINT (-40.04568 -2.814659)'))) / (select extract(epoch from '2026-07-05 08:10:51'::timestamp) - extract(epoch from '2026-07-05 08:10:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0456 -2.814743)'), GeomFromEWKT('SRID=4674;POINT (-40.04568 -2.814659)'))) / (select extract(epoch from '2026-07-05 08:10:51'::timestamp) - extract(epoch from '2026-07-05 08:10:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.045748 -2.814597)', '2026-07-05 08:10:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04568 -2.814659)'), GeomFromEWKT('SRID=4674;POINT (-40.045748 -2.814597)'))) / (select extract(epoch from '2026-07-05 08:10:55'::timestamp) - extract(epoch from '2026-07-05 08:10:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04568 -2.814659)'), GeomFromEWKT('SRID=4674;POINT (-40.045748 -2.814597)'))) / (select extract(epoch from '2026-07-05 08:10:55'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.045773 -2.814559)', '2026-07-05 08:10:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045748 -2.814597)'), GeomFromEWKT('SRID=4674;POINT (-40.045773 -2.814559)'))) / (select extract(epoch from '2026-07-05 08:10:57'::timestamp) - extract(epoch from '2026-07-05 08:10:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045748 -2.814597)'), GeomFromEWKT('SRID=4674;POINT (-40.045773 -2.814559)'))) / (select extract(epoch from '2026-07-05 08:10:57'::timestamp) - extract(epoch from '2026-07-05 08:10: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'), 47625, 'SRID=4674;POINT (-40.045838 -2.814448)', '2026-07-05 08:11:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045773 -2.814559)'), GeomFromEWKT('SRID=4674;POINT (-40.045838 -2.814448)'))) / (select extract(epoch from '2026-07-05 08:11:03'::timestamp) - extract(epoch from '2026-07-05 08:10:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045773 -2.814559)'), GeomFromEWKT('SRID=4674;POINT (-40.045838 -2.814448)'))) / (select extract(epoch from '2026-07-05 08:11:03'::timestamp) - extract(epoch from '2026-07-05 08:10: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'), 47625, 'SRID=4674;POINT (-40.045893 -2.814336)', '2026-07-05 08:11:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045838 -2.814448)'), GeomFromEWKT('SRID=4674;POINT (-40.045893 -2.814336)'))) / (select extract(epoch from '2026-07-05 08:11:09'::timestamp) - extract(epoch from '2026-07-05 08:11:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045838 -2.814448)'), GeomFromEWKT('SRID=4674;POINT (-40.045893 -2.814336)'))) / (select extract(epoch from '2026-07-05 08:11:09'::timestamp) - extract(epoch from '2026-07-05 08:11:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.045941 -2.814193)', '2026-07-05 08:11:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045893 -2.814336)'), GeomFromEWKT('SRID=4674;POINT (-40.045941 -2.814193)'))) / (select extract(epoch from '2026-07-05 08:11:16'::timestamp) - extract(epoch from '2026-07-05 08:11:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045893 -2.814336)'), GeomFromEWKT('SRID=4674;POINT (-40.045941 -2.814193)'))) / (select extract(epoch from '2026-07-05 08:11:16'::timestamp) - extract(epoch from '2026-07-05 08:11:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.045979 -2.814026)', '2026-07-05 08:11:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045941 -2.814193)'), GeomFromEWKT('SRID=4674;POINT (-40.045979 -2.814026)'))) / (select extract(epoch from '2026-07-05 08:11:24'::timestamp) - extract(epoch from '2026-07-05 08:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045941 -2.814193)'), GeomFromEWKT('SRID=4674;POINT (-40.045979 -2.814026)'))) / (select extract(epoch from '2026-07-05 08:11:24'::timestamp) - extract(epoch from '2026-07-05 08:11: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'), 47625, 'SRID=4674;POINT (-40.045993 -2.813882)', '2026-07-05 08:11:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045979 -2.814026)'), GeomFromEWKT('SRID=4674;POINT (-40.045993 -2.813882)'))) / (select extract(epoch from '2026-07-05 08:11:31'::timestamp) - extract(epoch from '2026-07-05 08:11:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045979 -2.814026)'), GeomFromEWKT('SRID=4674;POINT (-40.045993 -2.813882)'))) / (select extract(epoch from '2026-07-05 08:11:31'::timestamp) - extract(epoch from '2026-07-05 08:11:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046005 -2.813735)', '2026-07-05 08:11:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045993 -2.813882)'), GeomFromEWKT('SRID=4674;POINT (-40.046005 -2.813735)'))) / (select extract(epoch from '2026-07-05 08:11:38'::timestamp) - extract(epoch from '2026-07-05 08:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.045993 -2.813882)'), GeomFromEWKT('SRID=4674;POINT (-40.046005 -2.813735)'))) / (select extract(epoch from '2026-07-05 08:11:38'::timestamp) - extract(epoch from '2026-07-05 08:11:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046029 -2.813588)', '2026-07-05 08:11:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046005 -2.813735)'), GeomFromEWKT('SRID=4674;POINT (-40.046029 -2.813588)'))) / (select extract(epoch from '2026-07-05 08:11:45'::timestamp) - extract(epoch from '2026-07-05 08:11:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046005 -2.813735)'), GeomFromEWKT('SRID=4674;POINT (-40.046029 -2.813588)'))) / (select extract(epoch from '2026-07-05 08:11:45'::timestamp) - extract(epoch from '2026-07-05 08:11:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.04605 -2.813468)', '2026-07-05 08:11:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046029 -2.813588)'), GeomFromEWKT('SRID=4674;POINT (-40.04605 -2.813468)'))) / (select extract(epoch from '2026-07-05 08:11:51'::timestamp) - extract(epoch from '2026-07-05 08:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046029 -2.813588)'), GeomFromEWKT('SRID=4674;POINT (-40.04605 -2.813468)'))) / (select extract(epoch from '2026-07-05 08:11:51'::timestamp) - extract(epoch from '2026-07-05 08:11:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046073 -2.813381)', '2026-07-05 08:11:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04605 -2.813468)'), GeomFromEWKT('SRID=4674;POINT (-40.046073 -2.813381)'))) / (select extract(epoch from '2026-07-05 08:11:55'::timestamp) - extract(epoch from '2026-07-05 08:11:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04605 -2.813468)'), GeomFromEWKT('SRID=4674;POINT (-40.046073 -2.813381)'))) / (select extract(epoch from '2026-07-05 08:11:55'::timestamp) - extract(epoch from '2026-07-05 08:11: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'), 47625, 'SRID=4674;POINT (-40.04609 -2.8133)', '2026-07-05 08:11:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046073 -2.813381)'), GeomFromEWKT('SRID=4674;POINT (-40.04609 -2.8133)'))) / (select extract(epoch from '2026-07-05 08:11:59'::timestamp) - extract(epoch from '2026-07-05 08:11:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046073 -2.813381)'), GeomFromEWKT('SRID=4674;POINT (-40.04609 -2.8133)'))) / (select extract(epoch from '2026-07-05 08:11:59'::timestamp) - extract(epoch from '2026-07-05 08:11:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046114 -2.813195)', '2026-07-05 08:12:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04609 -2.8133)'), GeomFromEWKT('SRID=4674;POINT (-40.046114 -2.813195)'))) / (select extract(epoch from '2026-07-05 08:12:04'::timestamp) - extract(epoch from '2026-07-05 08:11:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04609 -2.8133)'), GeomFromEWKT('SRID=4674;POINT (-40.046114 -2.813195)'))) / (select extract(epoch from '2026-07-05 08:12:04'::timestamp) - extract(epoch from '2026-07-05 08:11: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'), 47625, 'SRID=4674;POINT (-40.046143 -2.81307)', '2026-07-05 08:12:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046114 -2.813195)'), GeomFromEWKT('SRID=4674;POINT (-40.046143 -2.81307)'))) / (select extract(epoch from '2026-07-05 08:12:10'::timestamp) - extract(epoch from '2026-07-05 08:12:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046114 -2.813195)'), GeomFromEWKT('SRID=4674;POINT (-40.046143 -2.81307)'))) / (select extract(epoch from '2026-07-05 08:12:10'::timestamp) - extract(epoch from '2026-07-05 08:12:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046166 -2.812963)', '2026-07-05 08:12:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046143 -2.81307)'), GeomFromEWKT('SRID=4674;POINT (-40.046166 -2.812963)'))) / (select extract(epoch from '2026-07-05 08:12:15'::timestamp) - extract(epoch from '2026-07-05 08:12:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046143 -2.81307)'), GeomFromEWKT('SRID=4674;POINT (-40.046166 -2.812963)'))) / (select extract(epoch from '2026-07-05 08:12:15'::timestamp) - extract(epoch from '2026-07-05 08:12:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046194 -2.812831)', '2026-07-05 08:12:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046166 -2.812963)'), GeomFromEWKT('SRID=4674;POINT (-40.046194 -2.812831)'))) / (select extract(epoch from '2026-07-05 08:12:21'::timestamp) - extract(epoch from '2026-07-05 08:12:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046166 -2.812963)'), GeomFromEWKT('SRID=4674;POINT (-40.046194 -2.812831)'))) / (select extract(epoch from '2026-07-05 08:12:21'::timestamp) - extract(epoch from '2026-07-05 08:12: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'), 47625, 'SRID=4674;POINT (-40.046203 -2.812709)', '2026-07-05 08:12:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046194 -2.812831)'), GeomFromEWKT('SRID=4674;POINT (-40.046203 -2.812709)'))) / (select extract(epoch from '2026-07-05 08:12:27'::timestamp) - extract(epoch from '2026-07-05 08:12:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046194 -2.812831)'), GeomFromEWKT('SRID=4674;POINT (-40.046203 -2.812709)'))) / (select extract(epoch from '2026-07-05 08:12:27'::timestamp) - extract(epoch from '2026-07-05 08:12: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'), 47625, 'SRID=4674;POINT (-40.046233 -2.812589)', '2026-07-05 08:12:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046203 -2.812709)'), GeomFromEWKT('SRID=4674;POINT (-40.046233 -2.812589)'))) / (select extract(epoch from '2026-07-05 08:12:33'::timestamp) - extract(epoch from '2026-07-05 08:12:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046203 -2.812709)'), GeomFromEWKT('SRID=4674;POINT (-40.046233 -2.812589)'))) / (select extract(epoch from '2026-07-05 08:12:33'::timestamp) - extract(epoch from '2026-07-05 08:12:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046265 -2.812437)', '2026-07-05 08:12:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046233 -2.812589)'), GeomFromEWKT('SRID=4674;POINT (-40.046265 -2.812437)'))) / (select extract(epoch from '2026-07-05 08:12:40'::timestamp) - extract(epoch from '2026-07-05 08:12:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046233 -2.812589)'), GeomFromEWKT('SRID=4674;POINT (-40.046265 -2.812437)'))) / (select extract(epoch from '2026-07-05 08:12:40'::timestamp) - extract(epoch from '2026-07-05 08:12: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'), 47625, 'SRID=4674;POINT (-40.046301 -2.812301)', '2026-07-05 08:12:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046265 -2.812437)'), GeomFromEWKT('SRID=4674;POINT (-40.046301 -2.812301)'))) / (select extract(epoch from '2026-07-05 08:12:47'::timestamp) - extract(epoch from '2026-07-05 08:12:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046265 -2.812437)'), GeomFromEWKT('SRID=4674;POINT (-40.046301 -2.812301)'))) / (select extract(epoch from '2026-07-05 08:12:47'::timestamp) - extract(epoch from '2026-07-05 08:12: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'), 47625, 'SRID=4674;POINT (-40.046287 -2.812164)', '2026-07-05 08:12:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046301 -2.812301)'), GeomFromEWKT('SRID=4674;POINT (-40.046287 -2.812164)'))) / (select extract(epoch from '2026-07-05 08:12:54'::timestamp) - extract(epoch from '2026-07-05 08:12:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046301 -2.812301)'), GeomFromEWKT('SRID=4674;POINT (-40.046287 -2.812164)'))) / (select extract(epoch from '2026-07-05 08:12:54'::timestamp) - extract(epoch from '2026-07-05 08:12: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'), 47625, 'SRID=4674;POINT (-40.046282 -2.812005)', '2026-07-05 08:13:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046287 -2.812164)'), GeomFromEWKT('SRID=4674;POINT (-40.046282 -2.812005)'))) / (select extract(epoch from '2026-07-05 08:13:02'::timestamp) - extract(epoch from '2026-07-05 08:12:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046287 -2.812164)'), GeomFromEWKT('SRID=4674;POINT (-40.046282 -2.812005)'))) / (select extract(epoch from '2026-07-05 08:13:02'::timestamp) - extract(epoch from '2026-07-05 08:12: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'), 47625, 'SRID=4674;POINT (-40.046305 -2.811882)', '2026-07-05 08:13:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046282 -2.812005)'), GeomFromEWKT('SRID=4674;POINT (-40.046305 -2.811882)'))) / (select extract(epoch from '2026-07-05 08:13:08'::timestamp) - extract(epoch from '2026-07-05 08:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046282 -2.812005)'), GeomFromEWKT('SRID=4674;POINT (-40.046305 -2.811882)'))) / (select extract(epoch from '2026-07-05 08:13:08'::timestamp) - extract(epoch from '2026-07-05 08:13:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046355 -2.81172)', '2026-07-05 08:13:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046305 -2.811882)'), GeomFromEWKT('SRID=4674;POINT (-40.046355 -2.81172)'))) / (select extract(epoch from '2026-07-05 08:13:16'::timestamp) - extract(epoch from '2026-07-05 08:13:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046305 -2.811882)'), GeomFromEWKT('SRID=4674;POINT (-40.046355 -2.81172)'))) / (select extract(epoch from '2026-07-05 08:13:16'::timestamp) - extract(epoch from '2026-07-05 08:13:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046388 -2.811592)', '2026-07-05 08:13:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046355 -2.81172)'), GeomFromEWKT('SRID=4674;POINT (-40.046388 -2.811592)'))) / (select extract(epoch from '2026-07-05 08:13:22'::timestamp) - extract(epoch from '2026-07-05 08:13:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046355 -2.81172)'), GeomFromEWKT('SRID=4674;POINT (-40.046388 -2.811592)'))) / (select extract(epoch from '2026-07-05 08:13:22'::timestamp) - extract(epoch from '2026-07-05 08:13:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046427 -2.811467)', '2026-07-05 08:13:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046388 -2.811592)'), GeomFromEWKT('SRID=4674;POINT (-40.046427 -2.811467)'))) / (select extract(epoch from '2026-07-05 08:13:28'::timestamp) - extract(epoch from '2026-07-05 08:13:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046388 -2.811592)'), GeomFromEWKT('SRID=4674;POINT (-40.046427 -2.811467)'))) / (select extract(epoch from '2026-07-05 08:13:28'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.046481 -2.811232)', '2026-07-05 08:13:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046427 -2.811467)'), GeomFromEWKT('SRID=4674;POINT (-40.046481 -2.811232)'))) / (select extract(epoch from '2026-07-05 08:13:39'::timestamp) - extract(epoch from '2026-07-05 08:13:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046427 -2.811467)'), GeomFromEWKT('SRID=4674;POINT (-40.046481 -2.811232)'))) / (select extract(epoch from '2026-07-05 08:13:39'::timestamp) - extract(epoch from '2026-07-05 08:13: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'), 47625, 'SRID=4674;POINT (-40.046527 -2.81111)', '2026-07-05 08:13:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046481 -2.811232)'), GeomFromEWKT('SRID=4674;POINT (-40.046527 -2.81111)'))) / (select extract(epoch from '2026-07-05 08:13:45'::timestamp) - extract(epoch from '2026-07-05 08:13:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046481 -2.811232)'), GeomFromEWKT('SRID=4674;POINT (-40.046527 -2.81111)'))) / (select extract(epoch from '2026-07-05 08:13:45'::timestamp) - extract(epoch from '2026-07-05 08:13:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046577 -2.810975)', '2026-07-05 08:13:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046527 -2.81111)'), GeomFromEWKT('SRID=4674;POINT (-40.046577 -2.810975)'))) / (select extract(epoch from '2026-07-05 08:13:52'::timestamp) - extract(epoch from '2026-07-05 08:13:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046527 -2.81111)'), GeomFromEWKT('SRID=4674;POINT (-40.046577 -2.810975)'))) / (select extract(epoch from '2026-07-05 08:13:52'::timestamp) - extract(epoch from '2026-07-05 08:13: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'), 47625, 'SRID=4674;POINT (-40.046634 -2.810839)', '2026-07-05 08:13:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046577 -2.810975)'), GeomFromEWKT('SRID=4674;POINT (-40.046634 -2.810839)'))) / (select extract(epoch from '2026-07-05 08:13:59'::timestamp) - extract(epoch from '2026-07-05 08:13:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046577 -2.810975)'), GeomFromEWKT('SRID=4674;POINT (-40.046634 -2.810839)'))) / (select extract(epoch from '2026-07-05 08:13:59'::timestamp) - extract(epoch from '2026-07-05 08:13:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.0467 -2.8107)', '2026-07-05 08:14:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046634 -2.810839)'), GeomFromEWKT('SRID=4674;POINT (-40.0467 -2.8107)'))) / (select extract(epoch from '2026-07-05 08:14:06'::timestamp) - extract(epoch from '2026-07-05 08:13:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046634 -2.810839)'), GeomFromEWKT('SRID=4674;POINT (-40.0467 -2.8107)'))) / (select extract(epoch from '2026-07-05 08:14:06'::timestamp) - extract(epoch from '2026-07-05 08:13: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'), 47625, 'SRID=4674;POINT (-40.046707 -2.81068)', '2026-07-05 08:14:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0467 -2.8107)'), GeomFromEWKT('SRID=4674;POINT (-40.046707 -2.81068)'))) / (select extract(epoch from '2026-07-05 08:14:07'::timestamp) - extract(epoch from '2026-07-05 08:14:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0467 -2.8107)'), GeomFromEWKT('SRID=4674;POINT (-40.046707 -2.81068)'))) / (select extract(epoch from '2026-07-05 08:14:07'::timestamp) - extract(epoch from '2026-07-05 08:14: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'), 47625, 'SRID=4674;POINT (-40.046727 -2.810617)', '2026-07-05 08:14:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046707 -2.81068)'), GeomFromEWKT('SRID=4674;POINT (-40.046727 -2.810617)'))) / (select extract(epoch from '2026-07-05 08:14:10'::timestamp) - extract(epoch from '2026-07-05 08:14:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046707 -2.81068)'), GeomFromEWKT('SRID=4674;POINT (-40.046727 -2.810617)'))) / (select extract(epoch from '2026-07-05 08:14:10'::timestamp) - extract(epoch from '2026-07-05 08:14: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'), 47625, 'SRID=4674;POINT (-40.046735 -2.810598)', '2026-07-05 08:14:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046727 -2.810617)'), GeomFromEWKT('SRID=4674;POINT (-40.046735 -2.810598)'))) / (select extract(epoch from '2026-07-05 08:14:11'::timestamp) - extract(epoch from '2026-07-05 08:14:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046727 -2.810617)'), GeomFromEWKT('SRID=4674;POINT (-40.046735 -2.810598)'))) / (select extract(epoch from '2026-07-05 08:14:11'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.04674 -2.810561)', '2026-07-05 08:14:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046735 -2.810598)'), GeomFromEWKT('SRID=4674;POINT (-40.04674 -2.810561)'))) / (select extract(epoch from '2026-07-05 08:14:13'::timestamp) - extract(epoch from '2026-07-05 08:14:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046735 -2.810598)'), GeomFromEWKT('SRID=4674;POINT (-40.04674 -2.810561)'))) / (select extract(epoch from '2026-07-05 08:14:13'::timestamp) - extract(epoch from '2026-07-05 08:14:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046744 -2.81048)', '2026-07-05 08:14:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04674 -2.810561)'), GeomFromEWKT('SRID=4674;POINT (-40.046744 -2.81048)'))) / (select extract(epoch from '2026-07-05 08:14:17'::timestamp) - extract(epoch from '2026-07-05 08:14:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04674 -2.810561)'), GeomFromEWKT('SRID=4674;POINT (-40.046744 -2.81048)'))) / (select extract(epoch from '2026-07-05 08:14:17'::timestamp) - extract(epoch from '2026-07-05 08:14: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'), 47625, 'SRID=4674;POINT (-40.046747 -2.810462)', '2026-07-05 08:14:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046744 -2.81048)'), GeomFromEWKT('SRID=4674;POINT (-40.046747 -2.810462)'))) / (select extract(epoch from '2026-07-05 08:14:18'::timestamp) - extract(epoch from '2026-07-05 08:14:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046744 -2.81048)'), GeomFromEWKT('SRID=4674;POINT (-40.046747 -2.810462)'))) / (select extract(epoch from '2026-07-05 08:14:18'::timestamp) - extract(epoch from '2026-07-05 08:14:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046768 -2.810324)', '2026-07-05 08:14:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046747 -2.810462)'), GeomFromEWKT('SRID=4674;POINT (-40.046768 -2.810324)'))) / (select extract(epoch from '2026-07-05 08:14:25'::timestamp) - extract(epoch from '2026-07-05 08:14:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046747 -2.810462)'), GeomFromEWKT('SRID=4674;POINT (-40.046768 -2.810324)'))) / (select extract(epoch from '2026-07-05 08:14:25'::timestamp) - extract(epoch from '2026-07-05 08:14: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'), 47625, 'SRID=4674;POINT (-40.046799 -2.810157)', '2026-07-05 08:14:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046768 -2.810324)'), GeomFromEWKT('SRID=4674;POINT (-40.046799 -2.810157)'))) / (select extract(epoch from '2026-07-05 08:14:33'::timestamp) - extract(epoch from '2026-07-05 08:14:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046768 -2.810324)'), GeomFromEWKT('SRID=4674;POINT (-40.046799 -2.810157)'))) / (select extract(epoch from '2026-07-05 08:14:33'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.04684 -2.810014)', '2026-07-05 08:14:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046799 -2.810157)'), GeomFromEWKT('SRID=4674;POINT (-40.04684 -2.810014)'))) / (select extract(epoch from '2026-07-05 08:14:40'::timestamp) - extract(epoch from '2026-07-05 08:14:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046799 -2.810157)'), GeomFromEWKT('SRID=4674;POINT (-40.04684 -2.810014)'))) / (select extract(epoch from '2026-07-05 08:14:40'::timestamp) - extract(epoch from '2026-07-05 08:14:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.046894 -2.809918)', '2026-07-05 08:14:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04684 -2.810014)'), GeomFromEWKT('SRID=4674;POINT (-40.046894 -2.809918)'))) / (select extract(epoch from '2026-07-05 08:14:45'::timestamp) - extract(epoch from '2026-07-05 08:14:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04684 -2.810014)'), GeomFromEWKT('SRID=4674;POINT (-40.046894 -2.809918)'))) / (select extract(epoch from '2026-07-05 08:14:45'::timestamp) - extract(epoch from '2026-07-05 08:14: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'), 47625, 'SRID=4674;POINT (-40.046968 -2.809795)', '2026-07-05 08:14:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046894 -2.809918)'), GeomFromEWKT('SRID=4674;POINT (-40.046968 -2.809795)'))) / (select extract(epoch from '2026-07-05 08:14:51'::timestamp) - extract(epoch from '2026-07-05 08:14:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046894 -2.809918)'), GeomFromEWKT('SRID=4674;POINT (-40.046968 -2.809795)'))) / (select extract(epoch from '2026-07-05 08:14:51'::timestamp) - extract(epoch from '2026-07-05 08:14: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'), 47625, 'SRID=4674;POINT (-40.047031 -2.809679)', '2026-07-05 08:14:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046968 -2.809795)'), GeomFromEWKT('SRID=4674;POINT (-40.047031 -2.809679)'))) / (select extract(epoch from '2026-07-05 08:14:57'::timestamp) - extract(epoch from '2026-07-05 08:14:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.046968 -2.809795)'), GeomFromEWKT('SRID=4674;POINT (-40.047031 -2.809679)'))) / (select extract(epoch from '2026-07-05 08:14:57'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.047102 -2.809543)', '2026-07-05 08:15:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047031 -2.809679)'), GeomFromEWKT('SRID=4674;POINT (-40.047102 -2.809543)'))) / (select extract(epoch from '2026-07-05 08:15:04'::timestamp) - extract(epoch from '2026-07-05 08:14:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047031 -2.809679)'), GeomFromEWKT('SRID=4674;POINT (-40.047102 -2.809543)'))) / (select extract(epoch from '2026-07-05 08:15:04'::timestamp) - extract(epoch from '2026-07-05 08:14:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.047188 -2.809402)', '2026-07-05 08:15:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047102 -2.809543)'), GeomFromEWKT('SRID=4674;POINT (-40.047188 -2.809402)'))) / (select extract(epoch from '2026-07-05 08:15:12'::timestamp) - extract(epoch from '2026-07-05 08:15:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047102 -2.809543)'), GeomFromEWKT('SRID=4674;POINT (-40.047188 -2.809402)'))) / (select extract(epoch from '2026-07-05 08:15:12'::timestamp) - extract(epoch from '2026-07-05 08:15:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.047266 -2.809266)', '2026-07-05 08:15:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047188 -2.809402)'), GeomFromEWKT('SRID=4674;POINT (-40.047266 -2.809266)'))) / (select extract(epoch from '2026-07-05 08:15:19'::timestamp) - extract(epoch from '2026-07-05 08:15:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047188 -2.809402)'), GeomFromEWKT('SRID=4674;POINT (-40.047266 -2.809266)'))) / (select extract(epoch from '2026-07-05 08:15:19'::timestamp) - extract(epoch from '2026-07-05 08:15: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'), 47625, 'SRID=4674;POINT (-40.047363 -2.809079)', '2026-07-05 08:15:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047266 -2.809266)'), GeomFromEWKT('SRID=4674;POINT (-40.047363 -2.809079)'))) / (select extract(epoch from '2026-07-05 08:15:28'::timestamp) - extract(epoch from '2026-07-05 08:15:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047266 -2.809266)'), GeomFromEWKT('SRID=4674;POINT (-40.047363 -2.809079)'))) / (select extract(epoch from '2026-07-05 08:15:28'::timestamp) - extract(epoch from '2026-07-05 08:15:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.047383 -2.809039)', '2026-07-05 08:15:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047363 -2.809079)'), GeomFromEWKT('SRID=4674;POINT (-40.047383 -2.809039)'))) / (select extract(epoch from '2026-07-05 08:15:30'::timestamp) - extract(epoch from '2026-07-05 08:15:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047363 -2.809079)'), GeomFromEWKT('SRID=4674;POINT (-40.047383 -2.809039)'))) / (select extract(epoch from '2026-07-05 08:15:30'::timestamp) - extract(epoch from '2026-07-05 08:15: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'), 47625, 'SRID=4674;POINT (-40.047404 -2.808979)', '2026-07-05 08:15:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047383 -2.809039)'), GeomFromEWKT('SRID=4674;POINT (-40.047404 -2.808979)'))) / (select extract(epoch from '2026-07-05 08:15:33'::timestamp) - extract(epoch from '2026-07-05 08:15:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047383 -2.809039)'), GeomFromEWKT('SRID=4674;POINT (-40.047404 -2.808979)'))) / (select extract(epoch from '2026-07-05 08:15:33'::timestamp) - extract(epoch from '2026-07-05 08:15:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.047477 -2.808874)', '2026-07-05 08:15:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047404 -2.808979)'), GeomFromEWKT('SRID=4674;POINT (-40.047477 -2.808874)'))) / (select extract(epoch from '2026-07-05 08:15:39'::timestamp) - extract(epoch from '2026-07-05 08:15:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047404 -2.808979)'), GeomFromEWKT('SRID=4674;POINT (-40.047477 -2.808874)'))) / (select extract(epoch from '2026-07-05 08:15:39'::timestamp) - extract(epoch from '2026-07-05 08:15:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.047543 -2.808822)', '2026-07-05 08:15:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047477 -2.808874)'), GeomFromEWKT('SRID=4674;POINT (-40.047543 -2.808822)'))) / (select extract(epoch from '2026-07-05 08:15:43'::timestamp) - extract(epoch from '2026-07-05 08:15:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047477 -2.808874)'), GeomFromEWKT('SRID=4674;POINT (-40.047543 -2.808822)'))) / (select extract(epoch from '2026-07-05 08:15:43'::timestamp) - extract(epoch from '2026-07-05 08:15: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'), 47625, 'SRID=4674;POINT (-40.047584 -2.808798)', '2026-07-05 08:15:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047543 -2.808822)'), GeomFromEWKT('SRID=4674;POINT (-40.047584 -2.808798)'))) / (select extract(epoch from '2026-07-05 08:15:45'::timestamp) - extract(epoch from '2026-07-05 08:15:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047543 -2.808822)'), GeomFromEWKT('SRID=4674;POINT (-40.047584 -2.808798)'))) / (select extract(epoch from '2026-07-05 08:15:45'::timestamp) - extract(epoch from '2026-07-05 08:15:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.047722 -2.808708)', '2026-07-05 08:15:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047584 -2.808798)'), GeomFromEWKT('SRID=4674;POINT (-40.047722 -2.808708)'))) / (select extract(epoch from '2026-07-05 08:15:52'::timestamp) - extract(epoch from '2026-07-05 08:15:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047584 -2.808798)'), GeomFromEWKT('SRID=4674;POINT (-40.047722 -2.808708)'))) / (select extract(epoch from '2026-07-05 08:15:52'::timestamp) - extract(epoch from '2026-07-05 08:15:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.047842 -2.808635)', '2026-07-05 08:15:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047722 -2.808708)'), GeomFromEWKT('SRID=4674;POINT (-40.047842 -2.808635)'))) / (select extract(epoch from '2026-07-05 08:15:58'::timestamp) - extract(epoch from '2026-07-05 08:15:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047722 -2.808708)'), GeomFromEWKT('SRID=4674;POINT (-40.047842 -2.808635)'))) / (select extract(epoch from '2026-07-05 08:15:58'::timestamp) - extract(epoch from '2026-07-05 08:15:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.047967 -2.808556)', '2026-07-05 08:16:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047842 -2.808635)'), GeomFromEWKT('SRID=4674;POINT (-40.047967 -2.808556)'))) / (select extract(epoch from '2026-07-05 08:16:05'::timestamp) - extract(epoch from '2026-07-05 08:15:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047842 -2.808635)'), GeomFromEWKT('SRID=4674;POINT (-40.047967 -2.808556)'))) / (select extract(epoch from '2026-07-05 08:16:05'::timestamp) - extract(epoch from '2026-07-05 08:15:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048036 -2.808482)', '2026-07-05 08:16:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047967 -2.808556)'), GeomFromEWKT('SRID=4674;POINT (-40.048036 -2.808482)'))) / (select extract(epoch from '2026-07-05 08:16:10'::timestamp) - extract(epoch from '2026-07-05 08:16:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.047967 -2.808556)'), GeomFromEWKT('SRID=4674;POINT (-40.048036 -2.808482)'))) / (select extract(epoch from '2026-07-05 08:16:10'::timestamp) - extract(epoch from '2026-07-05 08:16:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048089 -2.808374)', '2026-07-05 08:16:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048036 -2.808482)'), GeomFromEWKT('SRID=4674;POINT (-40.048089 -2.808374)'))) / (select extract(epoch from '2026-07-05 08:16:16'::timestamp) - extract(epoch from '2026-07-05 08:16:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048036 -2.808482)'), GeomFromEWKT('SRID=4674;POINT (-40.048089 -2.808374)'))) / (select extract(epoch from '2026-07-05 08:16:16'::timestamp) - extract(epoch from '2026-07-05 08:16: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'), 47625, 'SRID=4674;POINT (-40.048113 -2.808267)', '2026-07-05 08:16:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048089 -2.808374)'), GeomFromEWKT('SRID=4674;POINT (-40.048113 -2.808267)'))) / (select extract(epoch from '2026-07-05 08:16:21'::timestamp) - extract(epoch from '2026-07-05 08:16:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048089 -2.808374)'), GeomFromEWKT('SRID=4674;POINT (-40.048113 -2.808267)'))) / (select extract(epoch from '2026-07-05 08:16:21'::timestamp) - extract(epoch from '2026-07-05 08:16:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048128 -2.808162)', '2026-07-05 08:16:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048113 -2.808267)'), GeomFromEWKT('SRID=4674;POINT (-40.048128 -2.808162)'))) / (select extract(epoch from '2026-07-05 08:16:26'::timestamp) - extract(epoch from '2026-07-05 08:16:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048113 -2.808267)'), GeomFromEWKT('SRID=4674;POINT (-40.048128 -2.808162)'))) / (select extract(epoch from '2026-07-05 08:16:26'::timestamp) - extract(epoch from '2026-07-05 08:16:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048142 -2.808043)', '2026-07-05 08:16:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048128 -2.808162)'), GeomFromEWKT('SRID=4674;POINT (-40.048142 -2.808043)'))) / (select extract(epoch from '2026-07-05 08:16:32'::timestamp) - extract(epoch from '2026-07-05 08:16:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048128 -2.808162)'), GeomFromEWKT('SRID=4674;POINT (-40.048142 -2.808043)'))) / (select extract(epoch from '2026-07-05 08:16:32'::timestamp) - extract(epoch from '2026-07-05 08:16:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048137 -2.807915)', '2026-07-05 08:16:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048142 -2.808043)'), GeomFromEWKT('SRID=4674;POINT (-40.048137 -2.807915)'))) / (select extract(epoch from '2026-07-05 08:16:38'::timestamp) - extract(epoch from '2026-07-05 08:16:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048142 -2.808043)'), GeomFromEWKT('SRID=4674;POINT (-40.048137 -2.807915)'))) / (select extract(epoch from '2026-07-05 08:16:38'::timestamp) - extract(epoch from '2026-07-05 08:16: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'), 47625, 'SRID=4674;POINT (-40.048125 -2.807752)', '2026-07-05 08:16:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048137 -2.807915)'), GeomFromEWKT('SRID=4674;POINT (-40.048125 -2.807752)'))) / (select extract(epoch from '2026-07-05 08:16:46'::timestamp) - extract(epoch from '2026-07-05 08:16:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048137 -2.807915)'), GeomFromEWKT('SRID=4674;POINT (-40.048125 -2.807752)'))) / (select extract(epoch from '2026-07-05 08:16:46'::timestamp) - extract(epoch from '2026-07-05 08:16: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'), 47625, 'SRID=4674;POINT (-40.048124 -2.807629)', '2026-07-05 08:16:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048125 -2.807752)'), GeomFromEWKT('SRID=4674;POINT (-40.048124 -2.807629)'))) / (select extract(epoch from '2026-07-05 08:16:52'::timestamp) - extract(epoch from '2026-07-05 08:16:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048125 -2.807752)'), GeomFromEWKT('SRID=4674;POINT (-40.048124 -2.807629)'))) / (select extract(epoch from '2026-07-05 08:16:52'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048126 -2.807568)', '2026-07-05 08:16:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048124 -2.807629)'), GeomFromEWKT('SRID=4674;POINT (-40.048126 -2.807568)'))) / (select extract(epoch from '2026-07-05 08:16:55'::timestamp) - extract(epoch from '2026-07-05 08:16:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048124 -2.807629)'), GeomFromEWKT('SRID=4674;POINT (-40.048126 -2.807568)'))) / (select extract(epoch from '2026-07-05 08:16:55'::timestamp) - extract(epoch from '2026-07-05 08:16: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'), 47625, 'SRID=4674;POINT (-40.048126 -2.807525)', '2026-07-05 08:16:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048126 -2.807568)'), GeomFromEWKT('SRID=4674;POINT (-40.048126 -2.807525)'))) / (select extract(epoch from '2026-07-05 08:16:57'::timestamp) - extract(epoch from '2026-07-05 08:16:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048126 -2.807568)'), GeomFromEWKT('SRID=4674;POINT (-40.048126 -2.807525)'))) / (select extract(epoch from '2026-07-05 08:16:57'::timestamp) - extract(epoch from '2026-07-05 08:16: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'), 47625, 'SRID=4674;POINT (-40.04813 -2.807419)', '2026-07-05 08:17:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048126 -2.807525)'), GeomFromEWKT('SRID=4674;POINT (-40.04813 -2.807419)'))) / (select extract(epoch from '2026-07-05 08:17:02'::timestamp) - extract(epoch from '2026-07-05 08:16:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048126 -2.807525)'), GeomFromEWKT('SRID=4674;POINT (-40.04813 -2.807419)'))) / (select extract(epoch from '2026-07-05 08:17:02'::timestamp) - extract(epoch from '2026-07-05 08:16: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'), 47625, 'SRID=4674;POINT (-40.048134 -2.807316)', '2026-07-05 08:17:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04813 -2.807419)'), GeomFromEWKT('SRID=4674;POINT (-40.048134 -2.807316)'))) / (select extract(epoch from '2026-07-05 08:17:07'::timestamp) - extract(epoch from '2026-07-05 08:17:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04813 -2.807419)'), GeomFromEWKT('SRID=4674;POINT (-40.048134 -2.807316)'))) / (select extract(epoch from '2026-07-05 08:17:07'::timestamp) - extract(epoch from '2026-07-05 08:17: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'), 47625, 'SRID=4674;POINT (-40.048154 -2.80717)', '2026-07-05 08:17:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048134 -2.807316)'), GeomFromEWKT('SRID=4674;POINT (-40.048154 -2.80717)'))) / (select extract(epoch from '2026-07-05 08:17:14'::timestamp) - extract(epoch from '2026-07-05 08:17:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048134 -2.807316)'), GeomFromEWKT('SRID=4674;POINT (-40.048154 -2.80717)'))) / (select extract(epoch from '2026-07-05 08:17:14'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048164 -2.807046)', '2026-07-05 08:17:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048154 -2.80717)'), GeomFromEWKT('SRID=4674;POINT (-40.048164 -2.807046)'))) / (select extract(epoch from '2026-07-05 08:17:20'::timestamp) - extract(epoch from '2026-07-05 08:17:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048154 -2.80717)'), GeomFromEWKT('SRID=4674;POINT (-40.048164 -2.807046)'))) / (select extract(epoch from '2026-07-05 08:17:20'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048171 -2.806925)', '2026-07-05 08:17:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048164 -2.807046)'), GeomFromEWKT('SRID=4674;POINT (-40.048171 -2.806925)'))) / (select extract(epoch from '2026-07-05 08:17:26'::timestamp) - extract(epoch from '2026-07-05 08:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048164 -2.807046)'), GeomFromEWKT('SRID=4674;POINT (-40.048171 -2.806925)'))) / (select extract(epoch from '2026-07-05 08:17:26'::timestamp) - extract(epoch from '2026-07-05 08:17: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'), 47625, 'SRID=4674;POINT (-40.048169 -2.806802)', '2026-07-05 08:17:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048171 -2.806925)'), GeomFromEWKT('SRID=4674;POINT (-40.048169 -2.806802)'))) / (select extract(epoch from '2026-07-05 08:17:32'::timestamp) - extract(epoch from '2026-07-05 08:17:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048171 -2.806925)'), GeomFromEWKT('SRID=4674;POINT (-40.048169 -2.806802)'))) / (select extract(epoch from '2026-07-05 08:17:32'::timestamp) - extract(epoch from '2026-07-05 08:17: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'), 47625, 'SRID=4674;POINT (-40.048174 -2.806716)', '2026-07-05 08:17:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048169 -2.806802)'), GeomFromEWKT('SRID=4674;POINT (-40.048174 -2.806716)'))) / (select extract(epoch from '2026-07-05 08:17:36'::timestamp) - extract(epoch from '2026-07-05 08:17:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048169 -2.806802)'), GeomFromEWKT('SRID=4674;POINT (-40.048174 -2.806716)'))) / (select extract(epoch from '2026-07-05 08:17:36'::timestamp) - extract(epoch from '2026-07-05 08:17:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048175 -2.806627)', '2026-07-05 08:17:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048174 -2.806716)'), GeomFromEWKT('SRID=4674;POINT (-40.048175 -2.806627)'))) / (select extract(epoch from '2026-07-05 08:17:40'::timestamp) - extract(epoch from '2026-07-05 08:17:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048174 -2.806716)'), GeomFromEWKT('SRID=4674;POINT (-40.048175 -2.806627)'))) / (select extract(epoch from '2026-07-05 08:17:40'::timestamp) - extract(epoch from '2026-07-05 08:17: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'), 47625, 'SRID=4674;POINT (-40.048184 -2.806486)', '2026-07-05 08:17:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048175 -2.806627)'), GeomFromEWKT('SRID=4674;POINT (-40.048184 -2.806486)'))) / (select extract(epoch from '2026-07-05 08:17:47'::timestamp) - extract(epoch from '2026-07-05 08:17:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048175 -2.806627)'), GeomFromEWKT('SRID=4674;POINT (-40.048184 -2.806486)'))) / (select extract(epoch from '2026-07-05 08:17:47'::timestamp) - extract(epoch from '2026-07-05 08:17: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'), 47625, 'SRID=4674;POINT (-40.048194 -2.806405)', '2026-07-05 08:17:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048184 -2.806486)'), GeomFromEWKT('SRID=4674;POINT (-40.048194 -2.806405)'))) / (select extract(epoch from '2026-07-05 08:17:51'::timestamp) - extract(epoch from '2026-07-05 08:17:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048184 -2.806486)'), GeomFromEWKT('SRID=4674;POINT (-40.048194 -2.806405)'))) / (select extract(epoch from '2026-07-05 08:17:51'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048199 -2.806384)', '2026-07-05 08:17:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048194 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.048199 -2.806384)'))) / (select extract(epoch from '2026-07-05 08:17:52'::timestamp) - extract(epoch from '2026-07-05 08:17:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048194 -2.806405)'), GeomFromEWKT('SRID=4674;POINT (-40.048199 -2.806384)'))) / (select extract(epoch from '2026-07-05 08:17:52'::timestamp) - extract(epoch from '2026-07-05 08:17:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048218 -2.80626)', '2026-07-05 08:17:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048199 -2.806384)'), GeomFromEWKT('SRID=4674;POINT (-40.048218 -2.80626)'))) / (select extract(epoch from '2026-07-05 08:17:58'::timestamp) - extract(epoch from '2026-07-05 08:17:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048199 -2.806384)'), GeomFromEWKT('SRID=4674;POINT (-40.048218 -2.80626)'))) / (select extract(epoch from '2026-07-05 08:17:58'::timestamp) - extract(epoch from '2026-07-05 08:17: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'), 47625, 'SRID=4674;POINT (-40.048225 -2.806158)', '2026-07-05 08:18:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048218 -2.80626)'), GeomFromEWKT('SRID=4674;POINT (-40.048225 -2.806158)'))) / (select extract(epoch from '2026-07-05 08:18:03'::timestamp) - extract(epoch from '2026-07-05 08:17:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048218 -2.80626)'), GeomFromEWKT('SRID=4674;POINT (-40.048225 -2.806158)'))) / (select extract(epoch from '2026-07-05 08:18:03'::timestamp) - extract(epoch from '2026-07-05 08:17:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.04822 -2.80604)', '2026-07-05 08:18:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048225 -2.806158)'), GeomFromEWKT('SRID=4674;POINT (-40.04822 -2.80604)'))) / (select extract(epoch from '2026-07-05 08:18:09'::timestamp) - extract(epoch from '2026-07-05 08:18:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048225 -2.806158)'), GeomFromEWKT('SRID=4674;POINT (-40.04822 -2.80604)'))) / (select extract(epoch from '2026-07-05 08:18:09'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048222 -2.805938)', '2026-07-05 08:18:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04822 -2.80604)'), GeomFromEWKT('SRID=4674;POINT (-40.048222 -2.805938)'))) / (select extract(epoch from '2026-07-05 08:18:14'::timestamp) - extract(epoch from '2026-07-05 08:18:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04822 -2.80604)'), GeomFromEWKT('SRID=4674;POINT (-40.048222 -2.805938)'))) / (select extract(epoch from '2026-07-05 08:18:14'::timestamp) - extract(epoch from '2026-07-05 08:18:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048235 -2.805834)', '2026-07-05 08:18:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048222 -2.805938)'), GeomFromEWKT('SRID=4674;POINT (-40.048235 -2.805834)'))) / (select extract(epoch from '2026-07-05 08:18:19'::timestamp) - extract(epoch from '2026-07-05 08:18:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048222 -2.805938)'), GeomFromEWKT('SRID=4674;POINT (-40.048235 -2.805834)'))) / (select extract(epoch from '2026-07-05 08:18:19'::timestamp) - extract(epoch from '2026-07-05 08:18:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048256 -2.805753)', '2026-07-05 08:18:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048235 -2.805834)'), GeomFromEWKT('SRID=4674;POINT (-40.048256 -2.805753)'))) / (select extract(epoch from '2026-07-05 08:18:23'::timestamp) - extract(epoch from '2026-07-05 08:18:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048235 -2.805834)'), GeomFromEWKT('SRID=4674;POINT (-40.048256 -2.805753)'))) / (select extract(epoch from '2026-07-05 08:18:23'::timestamp) - extract(epoch from '2026-07-05 08:18: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'), 47625, 'SRID=4674;POINT (-40.048261 -2.805731)', '2026-07-05 08:18:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048256 -2.805753)'), GeomFromEWKT('SRID=4674;POINT (-40.048261 -2.805731)'))) / (select extract(epoch from '2026-07-05 08:18:24'::timestamp) - extract(epoch from '2026-07-05 08:18:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048256 -2.805753)'), GeomFromEWKT('SRID=4674;POINT (-40.048261 -2.805731)'))) / (select extract(epoch from '2026-07-05 08:18:24'::timestamp) - extract(epoch from '2026-07-05 08:18: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'), 47625, 'SRID=4674;POINT (-40.048282 -2.805647)', '2026-07-05 08:18:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048261 -2.805731)'), GeomFromEWKT('SRID=4674;POINT (-40.048282 -2.805647)'))) / (select extract(epoch from '2026-07-05 08:18:28'::timestamp) - extract(epoch from '2026-07-05 08:18:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048261 -2.805731)'), GeomFromEWKT('SRID=4674;POINT (-40.048282 -2.805647)'))) / (select extract(epoch from '2026-07-05 08:18:28'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048309 -2.805522)', '2026-07-05 08:18:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048282 -2.805647)'), GeomFromEWKT('SRID=4674;POINT (-40.048309 -2.805522)'))) / (select extract(epoch from '2026-07-05 08:18:34'::timestamp) - extract(epoch from '2026-07-05 08:18:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048282 -2.805647)'), GeomFromEWKT('SRID=4674;POINT (-40.048309 -2.805522)'))) / (select extract(epoch from '2026-07-05 08:18:34'::timestamp) - extract(epoch from '2026-07-05 08:18:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.04832 -2.805418)', '2026-07-05 08:18:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048309 -2.805522)'), GeomFromEWKT('SRID=4674;POINT (-40.04832 -2.805418)'))) / (select extract(epoch from '2026-07-05 08:18:39'::timestamp) - extract(epoch from '2026-07-05 08:18:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048309 -2.805522)'), GeomFromEWKT('SRID=4674;POINT (-40.04832 -2.805418)'))) / (select extract(epoch from '2026-07-05 08:18:39'::timestamp) - extract(epoch from '2026-07-05 08:18: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'), 47625, 'SRID=4674;POINT (-40.048345 -2.805294)', '2026-07-05 08:18:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04832 -2.805418)'), GeomFromEWKT('SRID=4674;POINT (-40.048345 -2.805294)'))) / (select extract(epoch from '2026-07-05 08:18:45'::timestamp) - extract(epoch from '2026-07-05 08:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04832 -2.805418)'), GeomFromEWKT('SRID=4674;POINT (-40.048345 -2.805294)'))) / (select extract(epoch from '2026-07-05 08:18:45'::timestamp) - extract(epoch from '2026-07-05 08:18:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048367 -2.805163)', '2026-07-05 08:18:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048345 -2.805294)'), GeomFromEWKT('SRID=4674;POINT (-40.048367 -2.805163)'))) / (select extract(epoch from '2026-07-05 08:18:51'::timestamp) - extract(epoch from '2026-07-05 08:18:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048345 -2.805294)'), GeomFromEWKT('SRID=4674;POINT (-40.048367 -2.805163)'))) / (select extract(epoch from '2026-07-05 08:18:51'::timestamp) - extract(epoch from '2026-07-05 08:18: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'), 47625, 'SRID=4674;POINT (-40.04838 -2.804974)', '2026-07-05 08:19:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048367 -2.805163)'), GeomFromEWKT('SRID=4674;POINT (-40.04838 -2.804974)'))) / (select extract(epoch from '2026-07-05 08:19:00'::timestamp) - extract(epoch from '2026-07-05 08:18:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048367 -2.805163)'), GeomFromEWKT('SRID=4674;POINT (-40.04838 -2.804974)'))) / (select extract(epoch from '2026-07-05 08:19:00'::timestamp) - extract(epoch from '2026-07-05 08:18: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'), 47625, 'SRID=4674;POINT (-40.048406 -2.804812)', '2026-07-05 08:19:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04838 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.048406 -2.804812)'))) / (select extract(epoch from '2026-07-05 08:19:08'::timestamp) - extract(epoch from '2026-07-05 08:19:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04838 -2.804974)'), GeomFromEWKT('SRID=4674;POINT (-40.048406 -2.804812)'))) / (select extract(epoch from '2026-07-05 08:19:08'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048453 -2.80467)', '2026-07-05 08:19:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048406 -2.804812)'), GeomFromEWKT('SRID=4674;POINT (-40.048453 -2.80467)'))) / (select extract(epoch from '2026-07-05 08:19:15'::timestamp) - extract(epoch from '2026-07-05 08:19:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048406 -2.804812)'), GeomFromEWKT('SRID=4674;POINT (-40.048453 -2.80467)'))) / (select extract(epoch from '2026-07-05 08:19:15'::timestamp) - extract(epoch from '2026-07-05 08:19: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'), 47625, 'SRID=4674;POINT (-40.048498 -2.804556)', '2026-07-05 08:19:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048453 -2.80467)'), GeomFromEWKT('SRID=4674;POINT (-40.048498 -2.804556)'))) / (select extract(epoch from '2026-07-05 08:19:21'::timestamp) - extract(epoch from '2026-07-05 08:19:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048453 -2.80467)'), GeomFromEWKT('SRID=4674;POINT (-40.048498 -2.804556)'))) / (select extract(epoch from '2026-07-05 08:19:21'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048501 -2.80444)', '2026-07-05 08:19:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048498 -2.804556)'), GeomFromEWKT('SRID=4674;POINT (-40.048501 -2.80444)'))) / (select extract(epoch from '2026-07-05 08:19:27'::timestamp) - extract(epoch from '2026-07-05 08:19:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048498 -2.804556)'), GeomFromEWKT('SRID=4674;POINT (-40.048501 -2.80444)'))) / (select extract(epoch from '2026-07-05 08:19:27'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048497 -2.804344)', '2026-07-05 08:19:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048501 -2.80444)'), GeomFromEWKT('SRID=4674;POINT (-40.048497 -2.804344)'))) / (select extract(epoch from '2026-07-05 08:19:32'::timestamp) - extract(epoch from '2026-07-05 08:19:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048501 -2.80444)'), GeomFromEWKT('SRID=4674;POINT (-40.048497 -2.804344)'))) / (select extract(epoch from '2026-07-05 08:19:32'::timestamp) - extract(epoch from '2026-07-05 08:19: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'), 47625, 'SRID=4674;POINT (-40.048501 -2.804224)', '2026-07-05 08:19:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048497 -2.804344)'), GeomFromEWKT('SRID=4674;POINT (-40.048501 -2.804224)'))) / (select extract(epoch from '2026-07-05 08:19:38'::timestamp) - extract(epoch from '2026-07-05 08:19:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048497 -2.804344)'), GeomFromEWKT('SRID=4674;POINT (-40.048501 -2.804224)'))) / (select extract(epoch from '2026-07-05 08:19:38'::timestamp) - extract(epoch from '2026-07-05 08:19:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048537 -2.804111)', '2026-07-05 08:19:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048501 -2.804224)'), GeomFromEWKT('SRID=4674;POINT (-40.048537 -2.804111)'))) / (select extract(epoch from '2026-07-05 08:19:44'::timestamp) - extract(epoch from '2026-07-05 08:19:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048501 -2.804224)'), GeomFromEWKT('SRID=4674;POINT (-40.048537 -2.804111)'))) / (select extract(epoch from '2026-07-05 08:19:44'::timestamp) - extract(epoch from '2026-07-05 08:19:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048549 -2.80407)', '2026-07-05 08:19:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048537 -2.804111)'), GeomFromEWKT('SRID=4674;POINT (-40.048549 -2.80407)'))) / (select extract(epoch from '2026-07-05 08:19:46'::timestamp) - extract(epoch from '2026-07-05 08:19:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048537 -2.804111)'), GeomFromEWKT('SRID=4674;POINT (-40.048549 -2.80407)'))) / (select extract(epoch from '2026-07-05 08:19:46'::timestamp) - extract(epoch from '2026-07-05 08:19: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'), 47625, 'SRID=4674;POINT (-40.04856 -2.804029)', '2026-07-05 08:19:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048549 -2.80407)'), GeomFromEWKT('SRID=4674;POINT (-40.04856 -2.804029)'))) / (select extract(epoch from '2026-07-05 08:19:48'::timestamp) - extract(epoch from '2026-07-05 08:19:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048549 -2.80407)'), GeomFromEWKT('SRID=4674;POINT (-40.04856 -2.804029)'))) / (select extract(epoch from '2026-07-05 08:19:48'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048595 -2.803907)', '2026-07-05 08:19:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04856 -2.804029)'), GeomFromEWKT('SRID=4674;POINT (-40.048595 -2.803907)'))) / (select extract(epoch from '2026-07-05 08:19:54'::timestamp) - extract(epoch from '2026-07-05 08:19:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04856 -2.804029)'), GeomFromEWKT('SRID=4674;POINT (-40.048595 -2.803907)'))) / (select extract(epoch from '2026-07-05 08:19:54'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048632 -2.80378)', '2026-07-05 08:20:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048595 -2.803907)'), GeomFromEWKT('SRID=4674;POINT (-40.048632 -2.80378)'))) / (select extract(epoch from '2026-07-05 08:20:00'::timestamp) - extract(epoch from '2026-07-05 08:19:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048595 -2.803907)'), GeomFromEWKT('SRID=4674;POINT (-40.048632 -2.80378)'))) / (select extract(epoch from '2026-07-05 08:20:00'::timestamp) - extract(epoch from '2026-07-05 08:19: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'), 47625, 'SRID=4674;POINT (-40.048642 -2.803589)', '2026-07-05 08:20:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048632 -2.80378)'), GeomFromEWKT('SRID=4674;POINT (-40.048642 -2.803589)'))) / (select extract(epoch from '2026-07-05 08:20:09'::timestamp) - extract(epoch from '2026-07-05 08:20:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048632 -2.80378)'), GeomFromEWKT('SRID=4674;POINT (-40.048642 -2.803589)'))) / (select extract(epoch from '2026-07-05 08:20:09'::timestamp) - extract(epoch from '2026-07-05 08:20: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'), 47625, 'SRID=4674;POINT (-40.048643 -2.803438)', '2026-07-05 08:20:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048642 -2.803589)'), GeomFromEWKT('SRID=4674;POINT (-40.048643 -2.803438)'))) / (select extract(epoch from '2026-07-05 08:20:16'::timestamp) - extract(epoch from '2026-07-05 08:20:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048642 -2.803589)'), GeomFromEWKT('SRID=4674;POINT (-40.048643 -2.803438)'))) / (select extract(epoch from '2026-07-05 08:20:16'::timestamp) - extract(epoch from '2026-07-05 08:20: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'), 47625, 'SRID=4674;POINT (-40.048646 -2.803264)', '2026-07-05 08:20:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048643 -2.803438)'), GeomFromEWKT('SRID=4674;POINT (-40.048646 -2.803264)'))) / (select extract(epoch from '2026-07-05 08:20:24'::timestamp) - extract(epoch from '2026-07-05 08:20:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048643 -2.803438)'), GeomFromEWKT('SRID=4674;POINT (-40.048646 -2.803264)'))) / (select extract(epoch from '2026-07-05 08:20:24'::timestamp) - extract(epoch from '2026-07-05 08:20:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048651 -2.803156)', '2026-07-05 08:20:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048646 -2.803264)'), GeomFromEWKT('SRID=4674;POINT (-40.048651 -2.803156)'))) / (select extract(epoch from '2026-07-05 08:20:29'::timestamp) - extract(epoch from '2026-07-05 08:20:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048646 -2.803264)'), GeomFromEWKT('SRID=4674;POINT (-40.048651 -2.803156)'))) / (select extract(epoch from '2026-07-05 08:20:29'::timestamp) - extract(epoch from '2026-07-05 08:20:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048661 -2.803023)', '2026-07-05 08:20:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048651 -2.803156)'), GeomFromEWKT('SRID=4674;POINT (-40.048661 -2.803023)'))) / (select extract(epoch from '2026-07-05 08:20:35'::timestamp) - extract(epoch from '2026-07-05 08:20:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048651 -2.803156)'), GeomFromEWKT('SRID=4674;POINT (-40.048661 -2.803023)'))) / (select extract(epoch from '2026-07-05 08:20:35'::timestamp) - extract(epoch from '2026-07-05 08:20:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048673 -2.802893)', '2026-07-05 08:20:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048661 -2.803023)'), GeomFromEWKT('SRID=4674;POINT (-40.048673 -2.802893)'))) / (select extract(epoch from '2026-07-05 08:20:41'::timestamp) - extract(epoch from '2026-07-05 08:20:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048661 -2.803023)'), GeomFromEWKT('SRID=4674;POINT (-40.048673 -2.802893)'))) / (select extract(epoch from '2026-07-05 08:20:41'::timestamp) - extract(epoch from '2026-07-05 08:20:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048689 -2.802785)', '2026-07-05 08:20:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048673 -2.802893)'), GeomFromEWKT('SRID=4674;POINT (-40.048689 -2.802785)'))) / (select extract(epoch from '2026-07-05 08:20:46'::timestamp) - extract(epoch from '2026-07-05 08:20:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048673 -2.802893)'), GeomFromEWKT('SRID=4674;POINT (-40.048689 -2.802785)'))) / (select extract(epoch from '2026-07-05 08:20:46'::timestamp) - extract(epoch from '2026-07-05 08:20: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'), 47625, 'SRID=4674;POINT (-40.048719 -2.802658)', '2026-07-05 08:20:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048689 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.048719 -2.802658)'))) / (select extract(epoch from '2026-07-05 08:20:52'::timestamp) - extract(epoch from '2026-07-05 08:20:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048689 -2.802785)'), GeomFromEWKT('SRID=4674;POINT (-40.048719 -2.802658)'))) / (select extract(epoch from '2026-07-05 08:20:52'::timestamp) - extract(epoch from '2026-07-05 08:20: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'), 47625, 'SRID=4674;POINT (-40.048745 -2.80249)', '2026-07-05 08:21:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048719 -2.802658)'), GeomFromEWKT('SRID=4674;POINT (-40.048745 -2.80249)'))) / (select extract(epoch from '2026-07-05 08:21:00'::timestamp) - extract(epoch from '2026-07-05 08:20:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048719 -2.802658)'), GeomFromEWKT('SRID=4674;POINT (-40.048745 -2.80249)'))) / (select extract(epoch from '2026-07-05 08:21:00'::timestamp) - extract(epoch from '2026-07-05 08:20: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'), 47625, 'SRID=4674;POINT (-40.04876 -2.802363)', '2026-07-05 08:21:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048745 -2.80249)'), GeomFromEWKT('SRID=4674;POINT (-40.04876 -2.802363)'))) / (select extract(epoch from '2026-07-05 08:21:06'::timestamp) - extract(epoch from '2026-07-05 08:21:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048745 -2.80249)'), GeomFromEWKT('SRID=4674;POINT (-40.04876 -2.802363)'))) / (select extract(epoch from '2026-07-05 08:21:06'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048767 -2.802233)', '2026-07-05 08:21:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04876 -2.802363)'), GeomFromEWKT('SRID=4674;POINT (-40.048767 -2.802233)'))) / (select extract(epoch from '2026-07-05 08:21:12'::timestamp) - extract(epoch from '2026-07-05 08:21:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04876 -2.802363)'), GeomFromEWKT('SRID=4674;POINT (-40.048767 -2.802233)'))) / (select extract(epoch from '2026-07-05 08:21:12'::timestamp) - extract(epoch from '2026-07-05 08:21: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'), 47625, 'SRID=4674;POINT (-40.04877 -2.802142)', '2026-07-05 08:21:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048767 -2.802233)'), GeomFromEWKT('SRID=4674;POINT (-40.04877 -2.802142)'))) / (select extract(epoch from '2026-07-05 08:21:16'::timestamp) - extract(epoch from '2026-07-05 08:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048767 -2.802233)'), GeomFromEWKT('SRID=4674;POINT (-40.04877 -2.802142)'))) / (select extract(epoch from '2026-07-05 08:21:16'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048774 -2.8021)', '2026-07-05 08:21:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04877 -2.802142)'), GeomFromEWKT('SRID=4674;POINT (-40.048774 -2.8021)'))) / (select extract(epoch from '2026-07-05 08:21:18'::timestamp) - extract(epoch from '2026-07-05 08:21:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04877 -2.802142)'), GeomFromEWKT('SRID=4674;POINT (-40.048774 -2.8021)'))) / (select extract(epoch from '2026-07-05 08:21:18'::timestamp) - extract(epoch from '2026-07-05 08:21: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'), 47625, 'SRID=4674;POINT (-40.048776 -2.802016)', '2026-07-05 08:21:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048774 -2.8021)'), GeomFromEWKT('SRID=4674;POINT (-40.048776 -2.802016)'))) / (select extract(epoch from '2026-07-05 08:21:22'::timestamp) - extract(epoch from '2026-07-05 08:21:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048774 -2.8021)'), GeomFromEWKT('SRID=4674;POINT (-40.048776 -2.802016)'))) / (select extract(epoch from '2026-07-05 08:21:22'::timestamp) - extract(epoch from '2026-07-05 08:21:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048778 -2.801888)', '2026-07-05 08:21:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048776 -2.802016)'), GeomFromEWKT('SRID=4674;POINT (-40.048778 -2.801888)'))) / (select extract(epoch from '2026-07-05 08:21:28'::timestamp) - extract(epoch from '2026-07-05 08:21:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048776 -2.802016)'), GeomFromEWKT('SRID=4674;POINT (-40.048778 -2.801888)'))) / (select extract(epoch from '2026-07-05 08:21:28'::timestamp) - extract(epoch from '2026-07-05 08:21: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'), 47625, 'SRID=4674;POINT (-40.04877 -2.80176)', '2026-07-05 08:21:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048778 -2.801888)'), GeomFromEWKT('SRID=4674;POINT (-40.04877 -2.80176)'))) / (select extract(epoch from '2026-07-05 08:21:34'::timestamp) - extract(epoch from '2026-07-05 08:21:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048778 -2.801888)'), GeomFromEWKT('SRID=4674;POINT (-40.04877 -2.80176)'))) / (select extract(epoch from '2026-07-05 08:21:34'::timestamp) - extract(epoch from '2026-07-05 08:21: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'), 47625, 'SRID=4674;POINT (-40.048755 -2.801594)', '2026-07-05 08:21:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04877 -2.80176)'), GeomFromEWKT('SRID=4674;POINT (-40.048755 -2.801594)'))) / (select extract(epoch from '2026-07-05 08:21:42'::timestamp) - extract(epoch from '2026-07-05 08:21:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04877 -2.80176)'), GeomFromEWKT('SRID=4674;POINT (-40.048755 -2.801594)'))) / (select extract(epoch from '2026-07-05 08:21:42'::timestamp) - extract(epoch from '2026-07-05 08:21: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'), 47625, 'SRID=4674;POINT (-40.048736 -2.801436)', '2026-07-05 08:21:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048755 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.048736 -2.801436)'))) / (select extract(epoch from '2026-07-05 08:21:50'::timestamp) - extract(epoch from '2026-07-05 08:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048755 -2.801594)'), GeomFromEWKT('SRID=4674;POINT (-40.048736 -2.801436)'))) / (select extract(epoch from '2026-07-05 08:21:50'::timestamp) - extract(epoch from '2026-07-05 08:21: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'), 47625, 'SRID=4674;POINT (-40.048688 -2.801262)', '2026-07-05 08:21:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048736 -2.801436)'), GeomFromEWKT('SRID=4674;POINT (-40.048688 -2.801262)'))) / (select extract(epoch from '2026-07-05 08:21:59'::timestamp) - extract(epoch from '2026-07-05 08:21:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048736 -2.801436)'), GeomFromEWKT('SRID=4674;POINT (-40.048688 -2.801262)'))) / (select extract(epoch from '2026-07-05 08:21:59'::timestamp) - extract(epoch from '2026-07-05 08:21: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'), 47625, 'SRID=4674;POINT (-40.048676 -2.801138)', '2026-07-05 08:22:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048688 -2.801262)'), GeomFromEWKT('SRID=4674;POINT (-40.048676 -2.801138)'))) / (select extract(epoch from '2026-07-05 08:22:05'::timestamp) - extract(epoch from '2026-07-05 08:21:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048688 -2.801262)'), GeomFromEWKT('SRID=4674;POINT (-40.048676 -2.801138)'))) / (select extract(epoch from '2026-07-05 08:22:05'::timestamp) - extract(epoch from '2026-07-05 08:21:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048662 -2.800998)', '2026-07-05 08:22:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048676 -2.801138)'), GeomFromEWKT('SRID=4674;POINT (-40.048662 -2.800998)'))) / (select extract(epoch from '2026-07-05 08:22:12'::timestamp) - extract(epoch from '2026-07-05 08:22:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048676 -2.801138)'), GeomFromEWKT('SRID=4674;POINT (-40.048662 -2.800998)'))) / (select extract(epoch from '2026-07-05 08:22:12'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048658 -2.80084)', '2026-07-05 08:22:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048662 -2.800998)'), GeomFromEWKT('SRID=4674;POINT (-40.048658 -2.80084)'))) / (select extract(epoch from '2026-07-05 08:22:20'::timestamp) - extract(epoch from '2026-07-05 08:22:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048662 -2.800998)'), GeomFromEWKT('SRID=4674;POINT (-40.048658 -2.80084)'))) / (select extract(epoch from '2026-07-05 08:22:20'::timestamp) - extract(epoch from '2026-07-05 08:22: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'), 47625, 'SRID=4674;POINT (-40.04869 -2.80071)', '2026-07-05 08:22:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048658 -2.80084)'), GeomFromEWKT('SRID=4674;POINT (-40.04869 -2.80071)'))) / (select extract(epoch from '2026-07-05 08:22:26'::timestamp) - extract(epoch from '2026-07-05 08:22:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048658 -2.80084)'), GeomFromEWKT('SRID=4674;POINT (-40.04869 -2.80071)'))) / (select extract(epoch from '2026-07-05 08:22:26'::timestamp) - extract(epoch from '2026-07-05 08:22:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048728 -2.800588)', '2026-07-05 08:22:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04869 -2.80071)'), GeomFromEWKT('SRID=4674;POINT (-40.048728 -2.800588)'))) / (select extract(epoch from '2026-07-05 08:22:32'::timestamp) - extract(epoch from '2026-07-05 08:22:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04869 -2.80071)'), GeomFromEWKT('SRID=4674;POINT (-40.048728 -2.800588)'))) / (select extract(epoch from '2026-07-05 08:22:32'::timestamp) - extract(epoch from '2026-07-05 08:22:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048788 -2.800468)', '2026-07-05 08:22:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048728 -2.800588)'), GeomFromEWKT('SRID=4674;POINT (-40.048788 -2.800468)'))) / (select extract(epoch from '2026-07-05 08:22:38'::timestamp) - extract(epoch from '2026-07-05 08:22:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048728 -2.800588)'), GeomFromEWKT('SRID=4674;POINT (-40.048788 -2.800468)'))) / (select extract(epoch from '2026-07-05 08:22:38'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.048831 -2.800287)', '2026-07-05 08:22:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048788 -2.800468)'), GeomFromEWKT('SRID=4674;POINT (-40.048831 -2.800287)'))) / (select extract(epoch from '2026-07-05 08:22:47'::timestamp) - extract(epoch from '2026-07-05 08:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048788 -2.800468)'), GeomFromEWKT('SRID=4674;POINT (-40.048831 -2.800287)'))) / (select extract(epoch from '2026-07-05 08:22:47'::timestamp) - extract(epoch from '2026-07-05 08:22: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'), 47625, 'SRID=4674;POINT (-40.048854 -2.800162)', '2026-07-05 08:22:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048831 -2.800287)'), GeomFromEWKT('SRID=4674;POINT (-40.048854 -2.800162)'))) / (select extract(epoch from '2026-07-05 08:22:53'::timestamp) - extract(epoch from '2026-07-05 08:22:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048831 -2.800287)'), GeomFromEWKT('SRID=4674;POINT (-40.048854 -2.800162)'))) / (select extract(epoch from '2026-07-05 08:22:53'::timestamp) - extract(epoch from '2026-07-05 08:22:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.048889 -2.800034)', '2026-07-05 08:22:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048854 -2.800162)'), GeomFromEWKT('SRID=4674;POINT (-40.048889 -2.800034)'))) / (select extract(epoch from '2026-07-05 08:22:59'::timestamp) - extract(epoch from '2026-07-05 08:22:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048854 -2.800162)'), GeomFromEWKT('SRID=4674;POINT (-40.048889 -2.800034)'))) / (select extract(epoch from '2026-07-05 08:22:59'::timestamp) - extract(epoch from '2026-07-05 08:22:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.04892 -2.79993)', '2026-07-05 08:23:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048889 -2.800034)'), GeomFromEWKT('SRID=4674;POINT (-40.04892 -2.79993)'))) / (select extract(epoch from '2026-07-05 08:23:04'::timestamp) - extract(epoch from '2026-07-05 08:22:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048889 -2.800034)'), GeomFromEWKT('SRID=4674;POINT (-40.04892 -2.79993)'))) / (select extract(epoch from '2026-07-05 08:23:04'::timestamp) - extract(epoch from '2026-07-05 08:22: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'), 47625, 'SRID=4674;POINT (-40.048973 -2.79981)', '2026-07-05 08:23:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04892 -2.79993)'), GeomFromEWKT('SRID=4674;POINT (-40.048973 -2.79981)'))) / (select extract(epoch from '2026-07-05 08:23:10'::timestamp) - extract(epoch from '2026-07-05 08:23:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04892 -2.79993)'), GeomFromEWKT('SRID=4674;POINT (-40.048973 -2.79981)'))) / (select extract(epoch from '2026-07-05 08:23:10'::timestamp) - extract(epoch from '2026-07-05 08:23:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.049034 -2.799715)', '2026-07-05 08:23:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048973 -2.79981)'), GeomFromEWKT('SRID=4674;POINT (-40.049034 -2.799715)'))) / (select extract(epoch from '2026-07-05 08:23:15'::timestamp) - extract(epoch from '2026-07-05 08:23:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.048973 -2.79981)'), GeomFromEWKT('SRID=4674;POINT (-40.049034 -2.799715)'))) / (select extract(epoch from '2026-07-05 08:23:15'::timestamp) - extract(epoch from '2026-07-05 08:23:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.049095 -2.799594)', '2026-07-05 08:23:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049034 -2.799715)'), GeomFromEWKT('SRID=4674;POINT (-40.049095 -2.799594)'))) / (select extract(epoch from '2026-07-05 08:23:21'::timestamp) - extract(epoch from '2026-07-05 08:23:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049034 -2.799715)'), GeomFromEWKT('SRID=4674;POINT (-40.049095 -2.799594)'))) / (select extract(epoch from '2026-07-05 08:23:21'::timestamp) - extract(epoch from '2026-07-05 08:23: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'), 47625, 'SRID=4674;POINT (-40.049132 -2.79947)', '2026-07-05 08:23:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049095 -2.799594)'), GeomFromEWKT('SRID=4674;POINT (-40.049132 -2.79947)'))) / (select extract(epoch from '2026-07-05 08:23:27'::timestamp) - extract(epoch from '2026-07-05 08:23:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049095 -2.799594)'), GeomFromEWKT('SRID=4674;POINT (-40.049132 -2.79947)'))) / (select extract(epoch from '2026-07-05 08:23:27'::timestamp) - extract(epoch from '2026-07-05 08:23:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.049163 -2.79937)', '2026-07-05 08:23:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049132 -2.79947)'), GeomFromEWKT('SRID=4674;POINT (-40.049163 -2.79937)'))) / (select extract(epoch from '2026-07-05 08:23:32'::timestamp) - extract(epoch from '2026-07-05 08:23:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049132 -2.79947)'), GeomFromEWKT('SRID=4674;POINT (-40.049163 -2.79937)'))) / (select extract(epoch from '2026-07-05 08:23:32'::timestamp) - extract(epoch from '2026-07-05 08:23: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'), 47625, 'SRID=4674;POINT (-40.049216 -2.79925)', '2026-07-05 08:23:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049163 -2.79937)'), GeomFromEWKT('SRID=4674;POINT (-40.049216 -2.79925)'))) / (select extract(epoch from '2026-07-05 08:23:38'::timestamp) - extract(epoch from '2026-07-05 08:23:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049163 -2.79937)'), GeomFromEWKT('SRID=4674;POINT (-40.049216 -2.79925)'))) / (select extract(epoch from '2026-07-05 08:23:38'::timestamp) - extract(epoch from '2026-07-05 08:23:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.049296 -2.799116)', '2026-07-05 08:23:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049216 -2.79925)'), GeomFromEWKT('SRID=4674;POINT (-40.049296 -2.799116)'))) / (select extract(epoch from '2026-07-05 08:23:45'::timestamp) - extract(epoch from '2026-07-05 08:23:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049216 -2.79925)'), GeomFromEWKT('SRID=4674;POINT (-40.049296 -2.799116)'))) / (select extract(epoch from '2026-07-05 08:23:45'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.049354 -2.798998)', '2026-07-05 08:23:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049296 -2.799116)'), GeomFromEWKT('SRID=4674;POINT (-40.049354 -2.798998)'))) / (select extract(epoch from '2026-07-05 08:23:51'::timestamp) - extract(epoch from '2026-07-05 08:23:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049296 -2.799116)'), GeomFromEWKT('SRID=4674;POINT (-40.049354 -2.798998)'))) / (select extract(epoch from '2026-07-05 08:23:51'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.049381 -2.798893)', '2026-07-05 08:23:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049354 -2.798998)'), GeomFromEWKT('SRID=4674;POINT (-40.049381 -2.798893)'))) / (select extract(epoch from '2026-07-05 08:23:56'::timestamp) - extract(epoch from '2026-07-05 08:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049354 -2.798998)'), GeomFromEWKT('SRID=4674;POINT (-40.049381 -2.798893)'))) / (select extract(epoch from '2026-07-05 08:23:56'::timestamp) - extract(epoch from '2026-07-05 08:23: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'), 47625, 'SRID=4674;POINT (-40.049405 -2.798742)', '2026-07-05 08:24:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049381 -2.798893)'), GeomFromEWKT('SRID=4674;POINT (-40.049405 -2.798742)'))) / (select extract(epoch from '2026-07-05 08:24:03'::timestamp) - extract(epoch from '2026-07-05 08:23:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049381 -2.798893)'), GeomFromEWKT('SRID=4674;POINT (-40.049405 -2.798742)'))) / (select extract(epoch from '2026-07-05 08:24:03'::timestamp) - extract(epoch from '2026-07-05 08:23:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.049438 -2.798597)', '2026-07-05 08:24:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049405 -2.798742)'), GeomFromEWKT('SRID=4674;POINT (-40.049438 -2.798597)'))) / (select extract(epoch from '2026-07-05 08:24:10'::timestamp) - extract(epoch from '2026-07-05 08:24:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049405 -2.798742)'), GeomFromEWKT('SRID=4674;POINT (-40.049438 -2.798597)'))) / (select extract(epoch from '2026-07-05 08:24:10'::timestamp) - extract(epoch from '2026-07-05 08:24: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'), 47625, 'SRID=4674;POINT (-40.04947 -2.798493)', '2026-07-05 08:24:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049438 -2.798597)'), GeomFromEWKT('SRID=4674;POINT (-40.04947 -2.798493)'))) / (select extract(epoch from '2026-07-05 08:24:15'::timestamp) - extract(epoch from '2026-07-05 08:24:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049438 -2.798597)'), GeomFromEWKT('SRID=4674;POINT (-40.04947 -2.798493)'))) / (select extract(epoch from '2026-07-05 08:24:15'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.049505 -2.798369)', '2026-07-05 08:24:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04947 -2.798493)'), GeomFromEWKT('SRID=4674;POINT (-40.049505 -2.798369)'))) / (select extract(epoch from '2026-07-05 08:24:21'::timestamp) - extract(epoch from '2026-07-05 08:24:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04947 -2.798493)'), GeomFromEWKT('SRID=4674;POINT (-40.049505 -2.798369)'))) / (select extract(epoch from '2026-07-05 08:24:21'::timestamp) - extract(epoch from '2026-07-05 08:24: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'), 47625, 'SRID=4674;POINT (-40.049521 -2.798241)', '2026-07-05 08:24:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049505 -2.798369)'), GeomFromEWKT('SRID=4674;POINT (-40.049521 -2.798241)'))) / (select extract(epoch from '2026-07-05 08:24:27'::timestamp) - extract(epoch from '2026-07-05 08:24:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049505 -2.798369)'), GeomFromEWKT('SRID=4674;POINT (-40.049521 -2.798241)'))) / (select extract(epoch from '2026-07-05 08:24:27'::timestamp) - extract(epoch from '2026-07-05 08:24: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'), 47625, 'SRID=4674;POINT (-40.049533 -2.798093)', '2026-07-05 08:24:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049521 -2.798241)'), GeomFromEWKT('SRID=4674;POINT (-40.049533 -2.798093)'))) / (select extract(epoch from '2026-07-05 08:24:34'::timestamp) - extract(epoch from '2026-07-05 08:24:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049521 -2.798241)'), GeomFromEWKT('SRID=4674;POINT (-40.049533 -2.798093)'))) / (select extract(epoch from '2026-07-05 08:24:34'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.04955 -2.797946)', '2026-07-05 08:24:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049533 -2.798093)'), GeomFromEWKT('SRID=4674;POINT (-40.04955 -2.797946)'))) / (select extract(epoch from '2026-07-05 08:24:41'::timestamp) - extract(epoch from '2026-07-05 08:24:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049533 -2.798093)'), GeomFromEWKT('SRID=4674;POINT (-40.04955 -2.797946)'))) / (select extract(epoch from '2026-07-05 08:24:41'::timestamp) - extract(epoch from '2026-07-05 08:24: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'), 47625, 'SRID=4674;POINT (-40.049567 -2.797844)', '2026-07-05 08:24:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04955 -2.797946)'), GeomFromEWKT('SRID=4674;POINT (-40.049567 -2.797844)'))) / (select extract(epoch from '2026-07-05 08:24:46'::timestamp) - extract(epoch from '2026-07-05 08:24:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04955 -2.797946)'), GeomFromEWKT('SRID=4674;POINT (-40.049567 -2.797844)'))) / (select extract(epoch from '2026-07-05 08:24:46'::timestamp) - extract(epoch from '2026-07-05 08:24: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'), 47625, 'SRID=4674;POINT (-40.049585 -2.797744)', '2026-07-05 08:24:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049567 -2.797844)'), GeomFromEWKT('SRID=4674;POINT (-40.049585 -2.797744)'))) / (select extract(epoch from '2026-07-05 08:24:51'::timestamp) - extract(epoch from '2026-07-05 08:24:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049567 -2.797844)'), GeomFromEWKT('SRID=4674;POINT (-40.049585 -2.797744)'))) / (select extract(epoch from '2026-07-05 08:24:51'::timestamp) - extract(epoch from '2026-07-05 08:24: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'), 47625, 'SRID=4674;POINT (-40.049597 -2.797704)', '2026-07-05 08:24:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049585 -2.797744)'), GeomFromEWKT('SRID=4674;POINT (-40.049597 -2.797704)'))) / (select extract(epoch from '2026-07-05 08:24:53'::timestamp) - extract(epoch from '2026-07-05 08:24:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049585 -2.797744)'), GeomFromEWKT('SRID=4674;POINT (-40.049597 -2.797704)'))) / (select extract(epoch from '2026-07-05 08:24:53'::timestamp) - extract(epoch from '2026-07-05 08:24: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'), 47625, 'SRID=4674;POINT (-40.049608 -2.797645)', '2026-07-05 08:24:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049597 -2.797704)'), GeomFromEWKT('SRID=4674;POINT (-40.049608 -2.797645)'))) / (select extract(epoch from '2026-07-05 08:24:56'::timestamp) - extract(epoch from '2026-07-05 08:24:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049597 -2.797704)'), GeomFromEWKT('SRID=4674;POINT (-40.049608 -2.797645)'))) / (select extract(epoch from '2026-07-05 08:24:56'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.049628 -2.797507)', '2026-07-05 08:25:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049608 -2.797645)'), GeomFromEWKT('SRID=4674;POINT (-40.049628 -2.797507)'))) / (select extract(epoch from '2026-07-05 08:25:03'::timestamp) - extract(epoch from '2026-07-05 08:24:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049608 -2.797645)'), GeomFromEWKT('SRID=4674;POINT (-40.049628 -2.797507)'))) / (select extract(epoch from '2026-07-05 08:25:03'::timestamp) - extract(epoch from '2026-07-05 08:24:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.049647 -2.797376)', '2026-07-05 08:25:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049628 -2.797507)'), GeomFromEWKT('SRID=4674;POINT (-40.049647 -2.797376)'))) / (select extract(epoch from '2026-07-05 08:25:09'::timestamp) - extract(epoch from '2026-07-05 08:25:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049628 -2.797507)'), GeomFromEWKT('SRID=4674;POINT (-40.049647 -2.797376)'))) / (select extract(epoch from '2026-07-05 08:25:09'::timestamp) - extract(epoch from '2026-07-05 08:25: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'), 47625, 'SRID=4674;POINT (-40.049681 -2.797226)', '2026-07-05 08:25:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049647 -2.797376)'), GeomFromEWKT('SRID=4674;POINT (-40.049681 -2.797226)'))) / (select extract(epoch from '2026-07-05 08:25:16'::timestamp) - extract(epoch from '2026-07-05 08:25:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049647 -2.797376)'), GeomFromEWKT('SRID=4674;POINT (-40.049681 -2.797226)'))) / (select extract(epoch from '2026-07-05 08:25:16'::timestamp) - extract(epoch from '2026-07-05 08:25: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'), 47625, 'SRID=4674;POINT (-40.049731 -2.797086)', '2026-07-05 08:25:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049681 -2.797226)'), GeomFromEWKT('SRID=4674;POINT (-40.049731 -2.797086)'))) / (select extract(epoch from '2026-07-05 08:25:23'::timestamp) - extract(epoch from '2026-07-05 08:25:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049681 -2.797226)'), GeomFromEWKT('SRID=4674;POINT (-40.049731 -2.797086)'))) / (select extract(epoch from '2026-07-05 08:25:23'::timestamp) - extract(epoch from '2026-07-05 08:25:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.049775 -2.796941)', '2026-07-05 08:25:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049731 -2.797086)'), GeomFromEWKT('SRID=4674;POINT (-40.049775 -2.796941)'))) / (select extract(epoch from '2026-07-05 08:25:30'::timestamp) - extract(epoch from '2026-07-05 08:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049731 -2.797086)'), GeomFromEWKT('SRID=4674;POINT (-40.049775 -2.796941)'))) / (select extract(epoch from '2026-07-05 08:25:30'::timestamp) - extract(epoch from '2026-07-05 08:25:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.049797 -2.796838)', '2026-07-05 08:25:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049775 -2.796941)'), GeomFromEWKT('SRID=4674;POINT (-40.049797 -2.796838)'))) / (select extract(epoch from '2026-07-05 08:25:35'::timestamp) - extract(epoch from '2026-07-05 08:25:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049775 -2.796941)'), GeomFromEWKT('SRID=4674;POINT (-40.049797 -2.796838)'))) / (select extract(epoch from '2026-07-05 08:25:35'::timestamp) - extract(epoch from '2026-07-05 08:25: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'), 47625, 'SRID=4674;POINT (-40.04981 -2.796688)', '2026-07-05 08:25:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049797 -2.796838)'), GeomFromEWKT('SRID=4674;POINT (-40.04981 -2.796688)'))) / (select extract(epoch from '2026-07-05 08:25:42'::timestamp) - extract(epoch from '2026-07-05 08:25:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049797 -2.796838)'), GeomFromEWKT('SRID=4674;POINT (-40.04981 -2.796688)'))) / (select extract(epoch from '2026-07-05 08:25:42'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.049821 -2.796578)', '2026-07-05 08:25:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04981 -2.796688)'), GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.796578)'))) / (select extract(epoch from '2026-07-05 08:25:47'::timestamp) - extract(epoch from '2026-07-05 08:25:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04981 -2.796688)'), GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.796578)'))) / (select extract(epoch from '2026-07-05 08:25:47'::timestamp) - extract(epoch from '2026-07-05 08:25: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'), 47625, 'SRID=4674;POINT (-40.049835 -2.796409)', '2026-07-05 08:25:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.796578)'), GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.796409)'))) / (select extract(epoch from '2026-07-05 08:25:55'::timestamp) - extract(epoch from '2026-07-05 08:25:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049821 -2.796578)'), GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.796409)'))) / (select extract(epoch from '2026-07-05 08:25:55'::timestamp) - extract(epoch from '2026-07-05 08:25:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.04985 -2.796286)', '2026-07-05 08:26:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.796409)'), GeomFromEWKT('SRID=4674;POINT (-40.04985 -2.796286)'))) / (select extract(epoch from '2026-07-05 08:26:01'::timestamp) - extract(epoch from '2026-07-05 08:25:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049835 -2.796409)'), GeomFromEWKT('SRID=4674;POINT (-40.04985 -2.796286)'))) / (select extract(epoch from '2026-07-05 08:26:01'::timestamp) - extract(epoch from '2026-07-05 08:25:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.04988 -2.796143)', '2026-07-05 08:26:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04985 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.04988 -2.796143)'))) / (select extract(epoch from '2026-07-05 08:26:08'::timestamp) - extract(epoch from '2026-07-05 08:26:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04985 -2.796286)'), GeomFromEWKT('SRID=4674;POINT (-40.04988 -2.796143)'))) / (select extract(epoch from '2026-07-05 08:26:08'::timestamp) - extract(epoch from '2026-07-05 08:26: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'), 47625, 'SRID=4674;POINT (-40.049905 -2.796039)', '2026-07-05 08:26:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04988 -2.796143)'), GeomFromEWKT('SRID=4674;POINT (-40.049905 -2.796039)'))) / (select extract(epoch from '2026-07-05 08:26:13'::timestamp) - extract(epoch from '2026-07-05 08:26:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.04988 -2.796143)'), GeomFromEWKT('SRID=4674;POINT (-40.049905 -2.796039)'))) / (select extract(epoch from '2026-07-05 08:26:13'::timestamp) - extract(epoch from '2026-07-05 08:26: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'), 47625, 'SRID=4674;POINT (-40.049936 -2.795936)', '2026-07-05 08:26:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049905 -2.796039)'), GeomFromEWKT('SRID=4674;POINT (-40.049936 -2.795936)'))) / (select extract(epoch from '2026-07-05 08:26:18'::timestamp) - extract(epoch from '2026-07-05 08:26:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049905 -2.796039)'), GeomFromEWKT('SRID=4674;POINT (-40.049936 -2.795936)'))) / (select extract(epoch from '2026-07-05 08:26:18'::timestamp) - extract(epoch from '2026-07-05 08:26: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'), 47625, 'SRID=4674;POINT (-40.049971 -2.795833)', '2026-07-05 08:26:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049936 -2.795936)'), GeomFromEWKT('SRID=4674;POINT (-40.049971 -2.795833)'))) / (select extract(epoch from '2026-07-05 08:26:23'::timestamp) - extract(epoch from '2026-07-05 08:26:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049936 -2.795936)'), GeomFromEWKT('SRID=4674;POINT (-40.049971 -2.795833)'))) / (select extract(epoch from '2026-07-05 08:26:23'::timestamp) - extract(epoch from '2026-07-05 08:26: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'), 47625, 'SRID=4674;POINT (-40.050012 -2.795732)', '2026-07-05 08:26:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049971 -2.795833)'), GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.795732)'))) / (select extract(epoch from '2026-07-05 08:26:28'::timestamp) - extract(epoch from '2026-07-05 08:26:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.049971 -2.795833)'), GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.795732)'))) / (select extract(epoch from '2026-07-05 08:26:28'::timestamp) - extract(epoch from '2026-07-05 08:26:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.050053 -2.795586)', '2026-07-05 08:26:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.795732)'), GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.795586)'))) / (select extract(epoch from '2026-07-05 08:26:35'::timestamp) - extract(epoch from '2026-07-05 08:26:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050012 -2.795732)'), GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.795586)'))) / (select extract(epoch from '2026-07-05 08:26:35'::timestamp) - extract(epoch from '2026-07-05 08:26:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.050077 -2.795435)', '2026-07-05 08:26:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.795586)'), GeomFromEWKT('SRID=4674;POINT (-40.050077 -2.795435)'))) / (select extract(epoch from '2026-07-05 08:26:42'::timestamp) - extract(epoch from '2026-07-05 08:26:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050053 -2.795586)'), GeomFromEWKT('SRID=4674;POINT (-40.050077 -2.795435)'))) / (select extract(epoch from '2026-07-05 08:26:42'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.050088 -2.795324)', '2026-07-05 08:26:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050077 -2.795435)'), GeomFromEWKT('SRID=4674;POINT (-40.050088 -2.795324)'))) / (select extract(epoch from '2026-07-05 08:26:47'::timestamp) - extract(epoch from '2026-07-05 08:26:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050077 -2.795435)'), GeomFromEWKT('SRID=4674;POINT (-40.050088 -2.795324)'))) / (select extract(epoch from '2026-07-05 08:26:47'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.050098 -2.795197)', '2026-07-05 08:26:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050088 -2.795324)'), GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.795197)'))) / (select extract(epoch from '2026-07-05 08:26:53'::timestamp) - extract(epoch from '2026-07-05 08:26:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050088 -2.795324)'), GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.795197)'))) / (select extract(epoch from '2026-07-05 08:26:53'::timestamp) - extract(epoch from '2026-07-05 08:26:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05011 -2.795072)', '2026-07-05 08:26:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.795197)'), GeomFromEWKT('SRID=4674;POINT (-40.05011 -2.795072)'))) / (select extract(epoch from '2026-07-05 08:26:59'::timestamp) - extract(epoch from '2026-07-05 08:26:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050098 -2.795197)'), GeomFromEWKT('SRID=4674;POINT (-40.05011 -2.795072)'))) / (select extract(epoch from '2026-07-05 08:26:59'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.050121 -2.794942)', '2026-07-05 08:27:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05011 -2.795072)'), GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.794942)'))) / (select extract(epoch from '2026-07-05 08:27:05'::timestamp) - extract(epoch from '2026-07-05 08:26:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05011 -2.795072)'), GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.794942)'))) / (select extract(epoch from '2026-07-05 08:27:05'::timestamp) - extract(epoch from '2026-07-05 08:26: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'), 47625, 'SRID=4674;POINT (-40.050134 -2.79484)', '2026-07-05 08:27:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.794942)'), GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.79484)'))) / (select extract(epoch from '2026-07-05 08:27:10'::timestamp) - extract(epoch from '2026-07-05 08:27:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050121 -2.794942)'), GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.79484)'))) / (select extract(epoch from '2026-07-05 08:27:10'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.050157 -2.794662)', '2026-07-05 08:27:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.79484)'), GeomFromEWKT('SRID=4674;POINT (-40.050157 -2.794662)'))) / (select extract(epoch from '2026-07-05 08:27:18'::timestamp) - extract(epoch from '2026-07-05 08:27:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050134 -2.79484)'), GeomFromEWKT('SRID=4674;POINT (-40.050157 -2.794662)'))) / (select extract(epoch from '2026-07-05 08:27:18'::timestamp) - extract(epoch from '2026-07-05 08:27: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'), 47625, 'SRID=4674;POINT (-40.050178 -2.794504)', '2026-07-05 08:27:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050157 -2.794662)'), GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.794504)'))) / (select extract(epoch from '2026-07-05 08:27:26'::timestamp) - extract(epoch from '2026-07-05 08:27:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050157 -2.794662)'), GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.794504)'))) / (select extract(epoch from '2026-07-05 08:27:26'::timestamp) - extract(epoch from '2026-07-05 08:27: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'), 47625, 'SRID=4674;POINT (-40.050211 -2.794332)', '2026-07-05 08:27:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.794504)'), GeomFromEWKT('SRID=4674;POINT (-40.050211 -2.794332)'))) / (select extract(epoch from '2026-07-05 08:27:34'::timestamp) - extract(epoch from '2026-07-05 08:27:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050178 -2.794504)'), GeomFromEWKT('SRID=4674;POINT (-40.050211 -2.794332)'))) / (select extract(epoch from '2026-07-05 08:27:34'::timestamp) - extract(epoch from '2026-07-05 08:27: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'), 47625, 'SRID=4674;POINT (-40.050228 -2.79421)', '2026-07-05 08:27:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050211 -2.794332)'), GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.79421)'))) / (select extract(epoch from '2026-07-05 08:27:40'::timestamp) - extract(epoch from '2026-07-05 08:27:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050211 -2.794332)'), GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.79421)'))) / (select extract(epoch from '2026-07-05 08:27:40'::timestamp) - extract(epoch from '2026-07-05 08:27: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'), 47625, 'SRID=4674;POINT (-40.050252 -2.794086)', '2026-07-05 08:27:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.79421)'), GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.794086)'))) / (select extract(epoch from '2026-07-05 08:27:46'::timestamp) - extract(epoch from '2026-07-05 08:27:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050228 -2.79421)'), GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.794086)'))) / (select extract(epoch from '2026-07-05 08:27:46'::timestamp) - extract(epoch from '2026-07-05 08:27: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'), 47625, 'SRID=4674;POINT (-40.050266 -2.793984)', '2026-07-05 08:27:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.794086)'), GeomFromEWKT('SRID=4674;POINT (-40.050266 -2.793984)'))) / (select extract(epoch from '2026-07-05 08:27:51'::timestamp) - extract(epoch from '2026-07-05 08:27:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050252 -2.794086)'), GeomFromEWKT('SRID=4674;POINT (-40.050266 -2.793984)'))) / (select extract(epoch from '2026-07-05 08:27:51'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.050293 -2.793808)', '2026-07-05 08:27:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050266 -2.793984)'), GeomFromEWKT('SRID=4674;POINT (-40.050293 -2.793808)'))) / (select extract(epoch from '2026-07-05 08:27:59'::timestamp) - extract(epoch from '2026-07-05 08:27:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050266 -2.793984)'), GeomFromEWKT('SRID=4674;POINT (-40.050293 -2.793808)'))) / (select extract(epoch from '2026-07-05 08:27:59'::timestamp) - extract(epoch from '2026-07-05 08:27: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'), 47625, 'SRID=4674;POINT (-40.050328 -2.793642)', '2026-07-05 08:28:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050293 -2.793808)'), GeomFromEWKT('SRID=4674;POINT (-40.050328 -2.793642)'))) / (select extract(epoch from '2026-07-05 08:28:07'::timestamp) - extract(epoch from '2026-07-05 08:27:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050293 -2.793808)'), GeomFromEWKT('SRID=4674;POINT (-40.050328 -2.793642)'))) / (select extract(epoch from '2026-07-05 08:28:07'::timestamp) - extract(epoch from '2026-07-05 08:27: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'), 47625, 'SRID=4674;POINT (-40.050364 -2.793494)', '2026-07-05 08:28:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050328 -2.793642)'), GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.793494)'))) / (select extract(epoch from '2026-07-05 08:28:14'::timestamp) - extract(epoch from '2026-07-05 08:28:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050328 -2.793642)'), GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.793494)'))) / (select extract(epoch from '2026-07-05 08:28:14'::timestamp) - extract(epoch from '2026-07-05 08:28: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'), 47625, 'SRID=4674;POINT (-40.050415 -2.793327)', '2026-07-05 08:28:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.793494)'), GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.793327)'))) / (select extract(epoch from '2026-07-05 08:28:22'::timestamp) - extract(epoch from '2026-07-05 08:28:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050364 -2.793494)'), GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.793327)'))) / (select extract(epoch from '2026-07-05 08:28:22'::timestamp) - extract(epoch from '2026-07-05 08:28: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'), 47625, 'SRID=4674;POINT (-40.05047 -2.793154)', '2026-07-05 08:28:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.793327)'), GeomFromEWKT('SRID=4674;POINT (-40.05047 -2.793154)'))) / (select extract(epoch from '2026-07-05 08:28:30'::timestamp) - extract(epoch from '2026-07-05 08:28:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050415 -2.793327)'), GeomFromEWKT('SRID=4674;POINT (-40.05047 -2.793154)'))) / (select extract(epoch from '2026-07-05 08:28:30'::timestamp) - extract(epoch from '2026-07-05 08:28: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'), 47625, 'SRID=4674;POINT (-40.050492 -2.793026)', '2026-07-05 08:28:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05047 -2.793154)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.793026)'))) / (select extract(epoch from '2026-07-05 08:28:36'::timestamp) - extract(epoch from '2026-07-05 08:28:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05047 -2.793154)'), GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.793026)'))) / (select extract(epoch from '2026-07-05 08:28:36'::timestamp) - extract(epoch from '2026-07-05 08:28: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'), 47625, 'SRID=4674;POINT (-40.050515 -2.792847)', '2026-07-05 08:28:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.793026)'), GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.792847)'))) / (select extract(epoch from '2026-07-05 08:28:44'::timestamp) - extract(epoch from '2026-07-05 08:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050492 -2.793026)'), GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.792847)'))) / (select extract(epoch from '2026-07-05 08:28:44'::timestamp) - extract(epoch from '2026-07-05 08:28: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'), 47625, 'SRID=4674;POINT (-40.0505 -2.792725)', '2026-07-05 08:28:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.792847)'), GeomFromEWKT('SRID=4674;POINT (-40.0505 -2.792725)'))) / (select extract(epoch from '2026-07-05 08:28:50'::timestamp) - extract(epoch from '2026-07-05 08:28:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050515 -2.792847)'), GeomFromEWKT('SRID=4674;POINT (-40.0505 -2.792725)'))) / (select extract(epoch from '2026-07-05 08:28:50'::timestamp) - extract(epoch from '2026-07-05 08:28: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'), 47625, 'SRID=4674;POINT (-40.050486 -2.792607)', '2026-07-05 08:28:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0505 -2.792725)'), GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.792607)'))) / (select extract(epoch from '2026-07-05 08:28:56'::timestamp) - extract(epoch from '2026-07-05 08:28:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.0505 -2.792725)'), GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.792607)'))) / (select extract(epoch from '2026-07-05 08:28:56'::timestamp) - extract(epoch from '2026-07-05 08:28: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'), 47625, 'SRID=4674;POINT (-40.050502 -2.792468)', '2026-07-05 08:29:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.792607)'), GeomFromEWKT('SRID=4674;POINT (-40.050502 -2.792468)'))) / (select extract(epoch from '2026-07-05 08:29:03'::timestamp) - extract(epoch from '2026-07-05 08:28:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050486 -2.792607)'), GeomFromEWKT('SRID=4674;POINT (-40.050502 -2.792468)'))) / (select extract(epoch from '2026-07-05 08:29:03'::timestamp) - extract(epoch from '2026-07-05 08:28: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'), 47625, 'SRID=4674;POINT (-40.050571 -2.792309)', '2026-07-05 08:29:11', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050502 -2.792468)'), GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.792309)'))) / (select extract(epoch from '2026-07-05 08:29:11'::timestamp) - extract(epoch from '2026-07-05 08:29:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050502 -2.792468)'), GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.792309)'))) / (select extract(epoch from '2026-07-05 08:29:11'::timestamp) - extract(epoch from '2026-07-05 08:29:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.050661 -2.792155)', '2026-07-05 08:29:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.792309)'), GeomFromEWKT('SRID=4674;POINT (-40.050661 -2.792155)'))) / (select extract(epoch from '2026-07-05 08:29:19'::timestamp) - extract(epoch from '2026-07-05 08:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050571 -2.792309)'), GeomFromEWKT('SRID=4674;POINT (-40.050661 -2.792155)'))) / (select extract(epoch from '2026-07-05 08:29:19'::timestamp) - extract(epoch from '2026-07-05 08:29: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'), 47625, 'SRID=4674;POINT (-40.050726 -2.792043)', '2026-07-05 08:29:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050661 -2.792155)'), GeomFromEWKT('SRID=4674;POINT (-40.050726 -2.792043)'))) / (select extract(epoch from '2026-07-05 08:29:25'::timestamp) - extract(epoch from '2026-07-05 08:29:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050661 -2.792155)'), GeomFromEWKT('SRID=4674;POINT (-40.050726 -2.792043)'))) / (select extract(epoch from '2026-07-05 08:29:25'::timestamp) - extract(epoch from '2026-07-05 08:29: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'), 47625, 'SRID=4674;POINT (-40.050743 -2.791945)', '2026-07-05 08:29:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050726 -2.792043)'), GeomFromEWKT('SRID=4674;POINT (-40.050743 -2.791945)'))) / (select extract(epoch from '2026-07-05 08:29:30'::timestamp) - extract(epoch from '2026-07-05 08:29:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050726 -2.792043)'), GeomFromEWKT('SRID=4674;POINT (-40.050743 -2.791945)'))) / (select extract(epoch from '2026-07-05 08:29:30'::timestamp) - extract(epoch from '2026-07-05 08:29:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.050718 -2.791826)', '2026-07-05 08:29:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050743 -2.791945)'), GeomFromEWKT('SRID=4674;POINT (-40.050718 -2.791826)'))) / (select extract(epoch from '2026-07-05 08:29:37'::timestamp) - extract(epoch from '2026-07-05 08:29:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050743 -2.791945)'), GeomFromEWKT('SRID=4674;POINT (-40.050718 -2.791826)'))) / (select extract(epoch from '2026-07-05 08:29:37'::timestamp) - extract(epoch from '2026-07-05 08:29:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.050685 -2.791753)', '2026-07-05 08:29:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050718 -2.791826)'), GeomFromEWKT('SRID=4674;POINT (-40.050685 -2.791753)'))) / (select extract(epoch from '2026-07-05 08:29:42'::timestamp) - extract(epoch from '2026-07-05 08:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050718 -2.791826)'), GeomFromEWKT('SRID=4674;POINT (-40.050685 -2.791753)'))) / (select extract(epoch from '2026-07-05 08:29:42'::timestamp) - extract(epoch from '2026-07-05 08:29:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.050632 -2.791624)', '2026-07-05 08:29:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050685 -2.791753)'), GeomFromEWKT('SRID=4674;POINT (-40.050632 -2.791624)'))) / (select extract(epoch from '2026-07-05 08:29:50'::timestamp) - extract(epoch from '2026-07-05 08:29:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050685 -2.791753)'), GeomFromEWKT('SRID=4674;POINT (-40.050632 -2.791624)'))) / (select extract(epoch from '2026-07-05 08:29:50'::timestamp) - extract(epoch from '2026-07-05 08:29: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'), 47625, 'SRID=4674;POINT (-40.050628 -2.791606)', '2026-07-05 08:29:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050632 -2.791624)'), GeomFromEWKT('SRID=4674;POINT (-40.050628 -2.791606)'))) / (select extract(epoch from '2026-07-05 08:29:51'::timestamp) - extract(epoch from '2026-07-05 08:29:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050632 -2.791624)'), GeomFromEWKT('SRID=4674;POINT (-40.050628 -2.791606)'))) / (select extract(epoch from '2026-07-05 08:29:51'::timestamp) - extract(epoch from '2026-07-05 08:29: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'), 47625, 'SRID=4674;POINT (-40.050624 -2.79153)', '2026-07-05 08:29:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050628 -2.791606)'), GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.79153)'))) / (select extract(epoch from '2026-07-05 08:29:55'::timestamp) - extract(epoch from '2026-07-05 08:29:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050628 -2.791606)'), GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.79153)'))) / (select extract(epoch from '2026-07-05 08:29:55'::timestamp) - extract(epoch from '2026-07-05 08:29:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.050651 -2.791432)', '2026-07-05 08:30:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.79153)'), GeomFromEWKT('SRID=4674;POINT (-40.050651 -2.791432)'))) / (select extract(epoch from '2026-07-05 08:30:00'::timestamp) - extract(epoch from '2026-07-05 08:29:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050624 -2.79153)'), GeomFromEWKT('SRID=4674;POINT (-40.050651 -2.791432)'))) / (select extract(epoch from '2026-07-05 08:30:00'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.050719 -2.791259)', '2026-07-05 08:30:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050651 -2.791432)'), GeomFromEWKT('SRID=4674;POINT (-40.050719 -2.791259)'))) / (select extract(epoch from '2026-07-05 08:30:09'::timestamp) - extract(epoch from '2026-07-05 08:30:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050651 -2.791432)'), GeomFromEWKT('SRID=4674;POINT (-40.050719 -2.791259)'))) / (select extract(epoch from '2026-07-05 08:30:09'::timestamp) - extract(epoch from '2026-07-05 08:30: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'), 47625, 'SRID=4674;POINT (-40.050744 -2.791155)', '2026-07-05 08:30:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050719 -2.791259)'), GeomFromEWKT('SRID=4674;POINT (-40.050744 -2.791155)'))) / (select extract(epoch from '2026-07-05 08:30:14'::timestamp) - extract(epoch from '2026-07-05 08:30:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050719 -2.791259)'), GeomFromEWKT('SRID=4674;POINT (-40.050744 -2.791155)'))) / (select extract(epoch from '2026-07-05 08:30:14'::timestamp) - extract(epoch from '2026-07-05 08:30: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'), 47625, 'SRID=4674;POINT (-40.050758 -2.790991)', '2026-07-05 08:30:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050744 -2.791155)'), GeomFromEWKT('SRID=4674;POINT (-40.050758 -2.790991)'))) / (select extract(epoch from '2026-07-05 08:30:22'::timestamp) - extract(epoch from '2026-07-05 08:30:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050744 -2.791155)'), GeomFromEWKT('SRID=4674;POINT (-40.050758 -2.790991)'))) / (select extract(epoch from '2026-07-05 08:30:22'::timestamp) - extract(epoch from '2026-07-05 08:30: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'), 47625, 'SRID=4674;POINT (-40.05075 -2.790854)', '2026-07-05 08:30:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050758 -2.790991)'), GeomFromEWKT('SRID=4674;POINT (-40.05075 -2.790854)'))) / (select extract(epoch from '2026-07-05 08:30:29'::timestamp) - extract(epoch from '2026-07-05 08:30:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050758 -2.790991)'), GeomFromEWKT('SRID=4674;POINT (-40.05075 -2.790854)'))) / (select extract(epoch from '2026-07-05 08:30:29'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.050746 -2.790772)', '2026-07-05 08:30:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05075 -2.790854)'), GeomFromEWKT('SRID=4674;POINT (-40.050746 -2.790772)'))) / (select extract(epoch from '2026-07-05 08:30:33'::timestamp) - extract(epoch from '2026-07-05 08:30:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05075 -2.790854)'), GeomFromEWKT('SRID=4674;POINT (-40.050746 -2.790772)'))) / (select extract(epoch from '2026-07-05 08:30:33'::timestamp) - extract(epoch from '2026-07-05 08:30:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.050748 -2.790752)', '2026-07-05 08:30:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050746 -2.790772)'), GeomFromEWKT('SRID=4674;POINT (-40.050748 -2.790752)'))) / (select extract(epoch from '2026-07-05 08:30:34'::timestamp) - extract(epoch from '2026-07-05 08:30:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050746 -2.790772)'), GeomFromEWKT('SRID=4674;POINT (-40.050748 -2.790752)'))) / (select extract(epoch from '2026-07-05 08:30:34'::timestamp) - extract(epoch from '2026-07-05 08:30: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'), 47625, 'SRID=4674;POINT (-40.050781 -2.790653)', '2026-07-05 08:30:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050748 -2.790752)'), GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.790653)'))) / (select extract(epoch from '2026-07-05 08:30:39'::timestamp) - extract(epoch from '2026-07-05 08:30:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050748 -2.790752)'), GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.790653)'))) / (select extract(epoch from '2026-07-05 08:30:39'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.050861 -2.790503)', '2026-07-05 08:30:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.790653)'), GeomFromEWKT('SRID=4674;POINT (-40.050861 -2.790503)'))) / (select extract(epoch from '2026-07-05 08:30:47'::timestamp) - extract(epoch from '2026-07-05 08:30:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050781 -2.790653)'), GeomFromEWKT('SRID=4674;POINT (-40.050861 -2.790503)'))) / (select extract(epoch from '2026-07-05 08:30:47'::timestamp) - extract(epoch from '2026-07-05 08:30: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'), 47625, 'SRID=4674;POINT (-40.050903 -2.790425)', '2026-07-05 08:30:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050861 -2.790503)'), GeomFromEWKT('SRID=4674;POINT (-40.050903 -2.790425)'))) / (select extract(epoch from '2026-07-05 08:30:51'::timestamp) - extract(epoch from '2026-07-05 08:30:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050861 -2.790503)'), GeomFromEWKT('SRID=4674;POINT (-40.050903 -2.790425)'))) / (select extract(epoch from '2026-07-05 08:30:51'::timestamp) - extract(epoch from '2026-07-05 08:30:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.050954 -2.790332)', '2026-07-05 08:30:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050903 -2.790425)'), GeomFromEWKT('SRID=4674;POINT (-40.050954 -2.790332)'))) / (select extract(epoch from '2026-07-05 08:30:56'::timestamp) - extract(epoch from '2026-07-05 08:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050903 -2.790425)'), GeomFromEWKT('SRID=4674;POINT (-40.050954 -2.790332)'))) / (select extract(epoch from '2026-07-05 08:30:56'::timestamp) - extract(epoch from '2026-07-05 08:30: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'), 47625, 'SRID=4674;POINT (-40.050991 -2.790283)', '2026-07-05 08:30:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050954 -2.790332)'), GeomFromEWKT('SRID=4674;POINT (-40.050991 -2.790283)'))) / (select extract(epoch from '2026-07-05 08:30:59'::timestamp) - extract(epoch from '2026-07-05 08:30:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050954 -2.790332)'), GeomFromEWKT('SRID=4674;POINT (-40.050991 -2.790283)'))) / (select extract(epoch from '2026-07-05 08:30:59'::timestamp) - extract(epoch from '2026-07-05 08:30: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'), 47625, 'SRID=4674;POINT (-40.051015 -2.790249)', '2026-07-05 08:31:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050991 -2.790283)'), GeomFromEWKT('SRID=4674;POINT (-40.051015 -2.790249)'))) / (select extract(epoch from '2026-07-05 08:31:01'::timestamp) - extract(epoch from '2026-07-05 08:30:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050991 -2.790283)'), GeomFromEWKT('SRID=4674;POINT (-40.051015 -2.790249)'))) / (select extract(epoch from '2026-07-05 08:31:01'::timestamp) - extract(epoch from '2026-07-05 08:30: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'), 47625, 'SRID=4674;POINT (-40.051087 -2.790134)', '2026-07-05 08:31:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051015 -2.790249)'), GeomFromEWKT('SRID=4674;POINT (-40.051087 -2.790134)'))) / (select extract(epoch from '2026-07-05 08:31:08'::timestamp) - extract(epoch from '2026-07-05 08:31:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051015 -2.790249)'), GeomFromEWKT('SRID=4674;POINT (-40.051087 -2.790134)'))) / (select extract(epoch from '2026-07-05 08:31:08'::timestamp) - extract(epoch from '2026-07-05 08:31:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.051093 -2.790118)', '2026-07-05 08:31:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051087 -2.790134)'), GeomFromEWKT('SRID=4674;POINT (-40.051093 -2.790118)'))) / (select extract(epoch from '2026-07-05 08:31:09'::timestamp) - extract(epoch from '2026-07-05 08:31:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051087 -2.790134)'), GeomFromEWKT('SRID=4674;POINT (-40.051093 -2.790118)'))) / (select extract(epoch from '2026-07-05 08:31:09'::timestamp) - extract(epoch from '2026-07-05 08:31:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.051117 -2.790054)', '2026-07-05 08:31:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051093 -2.790118)'), GeomFromEWKT('SRID=4674;POINT (-40.051117 -2.790054)'))) / (select extract(epoch from '2026-07-05 08:31:13'::timestamp) - extract(epoch from '2026-07-05 08:31:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051093 -2.790118)'), GeomFromEWKT('SRID=4674;POINT (-40.051117 -2.790054)'))) / (select extract(epoch from '2026-07-05 08:31:13'::timestamp) - extract(epoch from '2026-07-05 08:31:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.051125 -2.789991)', '2026-07-05 08:31:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051117 -2.790054)'), GeomFromEWKT('SRID=4674;POINT (-40.051125 -2.789991)'))) / (select extract(epoch from '2026-07-05 08:31:17'::timestamp) - extract(epoch from '2026-07-05 08:31:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051117 -2.790054)'), GeomFromEWKT('SRID=4674;POINT (-40.051125 -2.789991)'))) / (select extract(epoch from '2026-07-05 08:31:17'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.051097 -2.789857)', '2026-07-05 08:31:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051125 -2.789991)'), GeomFromEWKT('SRID=4674;POINT (-40.051097 -2.789857)'))) / (select extract(epoch from '2026-07-05 08:31:25'::timestamp) - extract(epoch from '2026-07-05 08:31:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051125 -2.789991)'), GeomFromEWKT('SRID=4674;POINT (-40.051097 -2.789857)'))) / (select extract(epoch from '2026-07-05 08:31:25'::timestamp) - extract(epoch from '2026-07-05 08:31: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'), 47625, 'SRID=4674;POINT (-40.051043 -2.789737)', '2026-07-05 08:31:33', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051097 -2.789857)'), GeomFromEWKT('SRID=4674;POINT (-40.051043 -2.789737)'))) / (select extract(epoch from '2026-07-05 08:31:33'::timestamp) - extract(epoch from '2026-07-05 08:31:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051097 -2.789857)'), GeomFromEWKT('SRID=4674;POINT (-40.051043 -2.789737)'))) / (select extract(epoch from '2026-07-05 08:31:33'::timestamp) - extract(epoch from '2026-07-05 08:31:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.051024 -2.789626)', '2026-07-05 08:31:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051043 -2.789737)'), GeomFromEWKT('SRID=4674;POINT (-40.051024 -2.789626)'))) / (select extract(epoch from '2026-07-05 08:31:40'::timestamp) - extract(epoch from '2026-07-05 08:31:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051043 -2.789737)'), GeomFromEWKT('SRID=4674;POINT (-40.051024 -2.789626)'))) / (select extract(epoch from '2026-07-05 08:31:40'::timestamp) - extract(epoch from '2026-07-05 08:31: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'), 47625, 'SRID=4674;POINT (-40.051009 -2.789542)', '2026-07-05 08:31:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051024 -2.789626)'), GeomFromEWKT('SRID=4674;POINT (-40.051009 -2.789542)'))) / (select extract(epoch from '2026-07-05 08:31:46'::timestamp) - extract(epoch from '2026-07-05 08:31:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051024 -2.789626)'), GeomFromEWKT('SRID=4674;POINT (-40.051009 -2.789542)'))) / (select extract(epoch from '2026-07-05 08:31:46'::timestamp) - extract(epoch from '2026-07-05 08:31: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'), 47625, 'SRID=4674;POINT (-40.050992 -2.789449)', '2026-07-05 08:31:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051009 -2.789542)'), GeomFromEWKT('SRID=4674;POINT (-40.050992 -2.789449)'))) / (select extract(epoch from '2026-07-05 08:31:53'::timestamp) - extract(epoch from '2026-07-05 08:31:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051009 -2.789542)'), GeomFromEWKT('SRID=4674;POINT (-40.050992 -2.789449)'))) / (select extract(epoch from '2026-07-05 08:31:53'::timestamp) - extract(epoch from '2026-07-05 08:31: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'), 47625, 'SRID=4674;POINT (-40.051001 -2.789372)', '2026-07-05 08:31:59', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050992 -2.789449)'), GeomFromEWKT('SRID=4674;POINT (-40.051001 -2.789372)'))) / (select extract(epoch from '2026-07-05 08:31:59'::timestamp) - extract(epoch from '2026-07-05 08:31:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.050992 -2.789449)'), GeomFromEWKT('SRID=4674;POINT (-40.051001 -2.789372)'))) / (select extract(epoch from '2026-07-05 08:31:59'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.051007 -2.789358)', '2026-07-05 08:32:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051001 -2.789372)'), GeomFromEWKT('SRID=4674;POINT (-40.051007 -2.789358)'))) / (select extract(epoch from '2026-07-05 08:32:00'::timestamp) - extract(epoch from '2026-07-05 08:31:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051001 -2.789372)'), GeomFromEWKT('SRID=4674;POINT (-40.051007 -2.789358)'))) / (select extract(epoch from '2026-07-05 08:32:00'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.05105 -2.789301)', '2026-07-05 08:32:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051007 -2.789358)'), GeomFromEWKT('SRID=4674;POINT (-40.05105 -2.789301)'))) / (select extract(epoch from '2026-07-05 08:32:05'::timestamp) - extract(epoch from '2026-07-05 08:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051007 -2.789358)'), GeomFromEWKT('SRID=4674;POINT (-40.05105 -2.789301)'))) / (select extract(epoch from '2026-07-05 08:32:05'::timestamp) - extract(epoch from '2026-07-05 08:32: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'), 47625, 'SRID=4674;POINT (-40.051061 -2.789297)', '2026-07-05 08:32:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05105 -2.789301)'), GeomFromEWKT('SRID=4674;POINT (-40.051061 -2.789297)'))) / (select extract(epoch from '2026-07-05 08:32:06'::timestamp) - extract(epoch from '2026-07-05 08:32:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05105 -2.789301)'), GeomFromEWKT('SRID=4674;POINT (-40.051061 -2.789297)'))) / (select extract(epoch from '2026-07-05 08:32:06'::timestamp) - extract(epoch from '2026-07-05 08:32: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'), 47625, 'SRID=4674;POINT (-40.051073 -2.789289)', '2026-07-05 08:32:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051061 -2.789297)'), GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.789289)'))) / (select extract(epoch from '2026-07-05 08:32:07'::timestamp) - extract(epoch from '2026-07-05 08:32:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051061 -2.789297)'), GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.789289)'))) / (select extract(epoch from '2026-07-05 08:32:07'::timestamp) - extract(epoch from '2026-07-05 08:32: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'), 47625, 'SRID=4674;POINT (-40.05114 -2.789252)', '2026-07-05 08:32:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.789289)'), GeomFromEWKT('SRID=4674;POINT (-40.05114 -2.789252)'))) / (select extract(epoch from '2026-07-05 08:32:12'::timestamp) - extract(epoch from '2026-07-05 08:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051073 -2.789289)'), GeomFromEWKT('SRID=4674;POINT (-40.05114 -2.789252)'))) / (select extract(epoch from '2026-07-05 08:32:12'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.051252 -2.789233)', '2026-07-05 08:32:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05114 -2.789252)'), GeomFromEWKT('SRID=4674;POINT (-40.051252 -2.789233)'))) / (select extract(epoch from '2026-07-05 08:32:19'::timestamp) - extract(epoch from '2026-07-05 08:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05114 -2.789252)'), GeomFromEWKT('SRID=4674;POINT (-40.051252 -2.789233)'))) / (select extract(epoch from '2026-07-05 08:32:19'::timestamp) - extract(epoch from '2026-07-05 08:32:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.051351 -2.789218)', '2026-07-05 08:32:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051252 -2.789233)'), GeomFromEWKT('SRID=4674;POINT (-40.051351 -2.789218)'))) / (select extract(epoch from '2026-07-05 08:32:25'::timestamp) - extract(epoch from '2026-07-05 08:32:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051252 -2.789233)'), GeomFromEWKT('SRID=4674;POINT (-40.051351 -2.789218)'))) / (select extract(epoch from '2026-07-05 08:32:25'::timestamp) - extract(epoch from '2026-07-05 08:32:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.051441 -2.789193)', '2026-07-05 08:32:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051351 -2.789218)'), GeomFromEWKT('SRID=4674;POINT (-40.051441 -2.789193)'))) / (select extract(epoch from '2026-07-05 08:32:30'::timestamp) - extract(epoch from '2026-07-05 08:32:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051351 -2.789218)'), GeomFromEWKT('SRID=4674;POINT (-40.051441 -2.789193)'))) / (select extract(epoch from '2026-07-05 08:32:30'::timestamp) - extract(epoch from '2026-07-05 08:32:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.051483 -2.789185)', '2026-07-05 08:32:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051441 -2.789193)'), GeomFromEWKT('SRID=4674;POINT (-40.051483 -2.789185)'))) / (select extract(epoch from '2026-07-05 08:32:32'::timestamp) - extract(epoch from '2026-07-05 08:32:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051441 -2.789193)'), GeomFromEWKT('SRID=4674;POINT (-40.051483 -2.789185)'))) / (select extract(epoch from '2026-07-05 08:32:32'::timestamp) - extract(epoch from '2026-07-05 08:32: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'), 47625, 'SRID=4674;POINT (-40.051527 -2.789155)', '2026-07-05 08:32:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051483 -2.789185)'), GeomFromEWKT('SRID=4674;POINT (-40.051527 -2.789155)'))) / (select extract(epoch from '2026-07-05 08:32:35'::timestamp) - extract(epoch from '2026-07-05 08:32:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051483 -2.789185)'), GeomFromEWKT('SRID=4674;POINT (-40.051527 -2.789155)'))) / (select extract(epoch from '2026-07-05 08:32:35'::timestamp) - extract(epoch from '2026-07-05 08:32: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'), 47625, 'SRID=4674;POINT (-40.051585 -2.789087)', '2026-07-05 08:32:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051527 -2.789155)'), GeomFromEWKT('SRID=4674;POINT (-40.051585 -2.789087)'))) / (select extract(epoch from '2026-07-05 08:32:40'::timestamp) - extract(epoch from '2026-07-05 08:32:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051527 -2.789155)'), GeomFromEWKT('SRID=4674;POINT (-40.051585 -2.789087)'))) / (select extract(epoch from '2026-07-05 08:32:40'::timestamp) - extract(epoch from '2026-07-05 08:32:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.051607 -2.788998)', '2026-07-05 08:32:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051585 -2.789087)'), GeomFromEWKT('SRID=4674;POINT (-40.051607 -2.788998)'))) / (select extract(epoch from '2026-07-05 08:32:46'::timestamp) - extract(epoch from '2026-07-05 08:32:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051585 -2.789087)'), GeomFromEWKT('SRID=4674;POINT (-40.051607 -2.788998)'))) / (select extract(epoch from '2026-07-05 08:32:46'::timestamp) - extract(epoch from '2026-07-05 08:32: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'), 47625, 'SRID=4674;POINT (-40.051605 -2.7889)', '2026-07-05 08:32:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051607 -2.788998)'), GeomFromEWKT('SRID=4674;POINT (-40.051605 -2.7889)'))) / (select extract(epoch from '2026-07-05 08:32:53'::timestamp) - extract(epoch from '2026-07-05 08:32:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051607 -2.788998)'), GeomFromEWKT('SRID=4674;POINT (-40.051605 -2.7889)'))) / (select extract(epoch from '2026-07-05 08:32:53'::timestamp) - extract(epoch from '2026-07-05 08:32:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.051596 -2.788799)', '2026-07-05 08:33:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051605 -2.7889)'), GeomFromEWKT('SRID=4674;POINT (-40.051596 -2.788799)'))) / (select extract(epoch from '2026-07-05 08:33:00'::timestamp) - extract(epoch from '2026-07-05 08:32:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051605 -2.7889)'), GeomFromEWKT('SRID=4674;POINT (-40.051596 -2.788799)'))) / (select extract(epoch from '2026-07-05 08:33:00'::timestamp) - extract(epoch from '2026-07-05 08:32: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'), 47625, 'SRID=4674;POINT (-40.05156 -2.788685)', '2026-07-05 08:33:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051596 -2.788799)'), GeomFromEWKT('SRID=4674;POINT (-40.05156 -2.788685)'))) / (select extract(epoch from '2026-07-05 08:33:08'::timestamp) - extract(epoch from '2026-07-05 08:33:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051596 -2.788799)'), GeomFromEWKT('SRID=4674;POINT (-40.05156 -2.788685)'))) / (select extract(epoch from '2026-07-05 08:33:08'::timestamp) - extract(epoch from '2026-07-05 08:33: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'), 47625, 'SRID=4674;POINT (-40.051541 -2.788621)', '2026-07-05 08:33:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05156 -2.788685)'), GeomFromEWKT('SRID=4674;POINT (-40.051541 -2.788621)'))) / (select extract(epoch from '2026-07-05 08:33:12'::timestamp) - extract(epoch from '2026-07-05 08:33:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05156 -2.788685)'), GeomFromEWKT('SRID=4674;POINT (-40.051541 -2.788621)'))) / (select extract(epoch from '2026-07-05 08:33:12'::timestamp) - extract(epoch from '2026-07-05 08:33:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.051537 -2.788606)', '2026-07-05 08:33:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051541 -2.788621)'), GeomFromEWKT('SRID=4674;POINT (-40.051537 -2.788606)'))) / (select extract(epoch from '2026-07-05 08:33:13'::timestamp) - extract(epoch from '2026-07-05 08:33:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051541 -2.788621)'), GeomFromEWKT('SRID=4674;POINT (-40.051537 -2.788606)'))) / (select extract(epoch from '2026-07-05 08:33:13'::timestamp) - extract(epoch from '2026-07-05 08:33: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'), 47625, 'SRID=4674;POINT (-40.051529 -2.788499)', '2026-07-05 08:33:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051537 -2.788606)'), GeomFromEWKT('SRID=4674;POINT (-40.051529 -2.788499)'))) / (select extract(epoch from '2026-07-05 08:33:19'::timestamp) - extract(epoch from '2026-07-05 08:33:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051537 -2.788606)'), GeomFromEWKT('SRID=4674;POINT (-40.051529 -2.788499)'))) / (select extract(epoch from '2026-07-05 08:33:19'::timestamp) - extract(epoch from '2026-07-05 08:33: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'), 47625, 'SRID=4674;POINT (-40.05157 -2.788393)', '2026-07-05 08:33:25', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051529 -2.788499)'), GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.788393)'))) / (select extract(epoch from '2026-07-05 08:33:25'::timestamp) - extract(epoch from '2026-07-05 08:33:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051529 -2.788499)'), GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.788393)'))) / (select extract(epoch from '2026-07-05 08:33:25'::timestamp) - extract(epoch from '2026-07-05 08:33: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'), 47625, 'SRID=4674;POINT (-40.051594 -2.788366)', '2026-07-05 08:33:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.788393)'), GeomFromEWKT('SRID=4674;POINT (-40.051594 -2.788366)'))) / (select extract(epoch from '2026-07-05 08:33:27'::timestamp) - extract(epoch from '2026-07-05 08:33:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05157 -2.788393)'), GeomFromEWKT('SRID=4674;POINT (-40.051594 -2.788366)'))) / (select extract(epoch from '2026-07-05 08:33:27'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.051625 -2.788345)', '2026-07-05 08:33:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051594 -2.788366)'), GeomFromEWKT('SRID=4674;POINT (-40.051625 -2.788345)'))) / (select extract(epoch from '2026-07-05 08:33:29'::timestamp) - extract(epoch from '2026-07-05 08:33:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051594 -2.788366)'), GeomFromEWKT('SRID=4674;POINT (-40.051625 -2.788345)'))) / (select extract(epoch from '2026-07-05 08:33:29'::timestamp) - extract(epoch from '2026-07-05 08:33: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'), 47625, 'SRID=4674;POINT (-40.051709 -2.788307)', '2026-07-05 08:33:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051625 -2.788345)'), GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.788307)'))) / (select extract(epoch from '2026-07-05 08:33:35'::timestamp) - extract(epoch from '2026-07-05 08:33:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051625 -2.788345)'), GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.788307)'))) / (select extract(epoch from '2026-07-05 08:33:35'::timestamp) - extract(epoch from '2026-07-05 08:33: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'), 47625, 'SRID=4674;POINT (-40.051816 -2.788299)', '2026-07-05 08:33:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.788307)'), GeomFromEWKT('SRID=4674;POINT (-40.051816 -2.788299)'))) / (select extract(epoch from '2026-07-05 08:33:43'::timestamp) - extract(epoch from '2026-07-05 08:33:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051709 -2.788307)'), GeomFromEWKT('SRID=4674;POINT (-40.051816 -2.788299)'))) / (select extract(epoch from '2026-07-05 08:33:43'::timestamp) - extract(epoch from '2026-07-05 08:33: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'), 47625, 'SRID=4674;POINT (-40.051921 -2.78829)', '2026-07-05 08:33:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051816 -2.788299)'), GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.78829)'))) / (select extract(epoch from '2026-07-05 08:33:51'::timestamp) - extract(epoch from '2026-07-05 08:33:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051816 -2.788299)'), GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.78829)'))) / (select extract(epoch from '2026-07-05 08:33:51'::timestamp) - extract(epoch from '2026-07-05 08:33: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'), 47625, 'SRID=4674;POINT (-40.051992 -2.788258)', '2026-07-05 08:33:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.78829)'), GeomFromEWKT('SRID=4674;POINT (-40.051992 -2.788258)'))) / (select extract(epoch from '2026-07-05 08:33:57'::timestamp) - extract(epoch from '2026-07-05 08:33:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051921 -2.78829)'), GeomFromEWKT('SRID=4674;POINT (-40.051992 -2.788258)'))) / (select extract(epoch from '2026-07-05 08:33:57'::timestamp) - extract(epoch from '2026-07-05 08:33:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052049 -2.78821)', '2026-07-05 08:34:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051992 -2.788258)'), GeomFromEWKT('SRID=4674;POINT (-40.052049 -2.78821)'))) / (select extract(epoch from '2026-07-05 08:34:03'::timestamp) - extract(epoch from '2026-07-05 08:33:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.051992 -2.788258)'), GeomFromEWKT('SRID=4674;POINT (-40.052049 -2.78821)'))) / (select extract(epoch from '2026-07-05 08:34:03'::timestamp) - extract(epoch from '2026-07-05 08:33:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052059 -2.7882)', '2026-07-05 08:34:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052049 -2.78821)'), GeomFromEWKT('SRID=4674;POINT (-40.052059 -2.7882)'))) / (select extract(epoch from '2026-07-05 08:34:04'::timestamp) - extract(epoch from '2026-07-05 08:34:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052049 -2.78821)'), GeomFromEWKT('SRID=4674;POINT (-40.052059 -2.7882)'))) / (select extract(epoch from '2026-07-05 08:34:04'::timestamp) - extract(epoch from '2026-07-05 08:34:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052088 -2.788164)', '2026-07-05 08:34:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052059 -2.7882)'), GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.788164)'))) / (select extract(epoch from '2026-07-05 08:34:08'::timestamp) - extract(epoch from '2026-07-05 08:34:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052059 -2.7882)'), GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.788164)'))) / (select extract(epoch from '2026-07-05 08:34:08'::timestamp) - extract(epoch from '2026-07-05 08:34: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'), 47625, 'SRID=4674;POINT (-40.052167 -2.788112)', '2026-07-05 08:34:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.788164)'), GeomFromEWKT('SRID=4674;POINT (-40.052167 -2.788112)'))) / (select extract(epoch from '2026-07-05 08:34:16'::timestamp) - extract(epoch from '2026-07-05 08:34:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052088 -2.788164)'), GeomFromEWKT('SRID=4674;POINT (-40.052167 -2.788112)'))) / (select extract(epoch from '2026-07-05 08:34:16'::timestamp) - extract(epoch from '2026-07-05 08:34:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052251 -2.78811)', '2026-07-05 08:34:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052167 -2.788112)'), GeomFromEWKT('SRID=4674;POINT (-40.052251 -2.78811)'))) / (select extract(epoch from '2026-07-05 08:34:24'::timestamp) - extract(epoch from '2026-07-05 08:34:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052167 -2.788112)'), GeomFromEWKT('SRID=4674;POINT (-40.052251 -2.78811)'))) / (select extract(epoch from '2026-07-05 08:34:24'::timestamp) - extract(epoch from '2026-07-05 08:34: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'), 47625, 'SRID=4674;POINT (-40.052323 -2.78812)', '2026-07-05 08:34:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052251 -2.78811)'), GeomFromEWKT('SRID=4674;POINT (-40.052323 -2.78812)'))) / (select extract(epoch from '2026-07-05 08:34:31'::timestamp) - extract(epoch from '2026-07-05 08:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052251 -2.78811)'), GeomFromEWKT('SRID=4674;POINT (-40.052323 -2.78812)'))) / (select extract(epoch from '2026-07-05 08:34:31'::timestamp) - extract(epoch from '2026-07-05 08:34:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052351 -2.788124)', '2026-07-05 08:34:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052323 -2.78812)'), GeomFromEWKT('SRID=4674;POINT (-40.052351 -2.788124)'))) / (select extract(epoch from '2026-07-05 08:34:34'::timestamp) - extract(epoch from '2026-07-05 08:34:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052323 -2.78812)'), GeomFromEWKT('SRID=4674;POINT (-40.052351 -2.788124)'))) / (select extract(epoch from '2026-07-05 08:34:34'::timestamp) - extract(epoch from '2026-07-05 08:34: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'), 47625, 'SRID=4674;POINT (-40.052378 -2.788122)', '2026-07-05 08:34:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052351 -2.788124)'), GeomFromEWKT('SRID=4674;POINT (-40.052378 -2.788122)'))) / (select extract(epoch from '2026-07-05 08:34:37'::timestamp) - extract(epoch from '2026-07-05 08:34:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052351 -2.788124)'), GeomFromEWKT('SRID=4674;POINT (-40.052378 -2.788122)'))) / (select extract(epoch from '2026-07-05 08:34:37'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052448 -2.788117)', '2026-07-05 08:34:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052378 -2.788122)'), GeomFromEWKT('SRID=4674;POINT (-40.052448 -2.788117)'))) / (select extract(epoch from '2026-07-05 08:34:44'::timestamp) - extract(epoch from '2026-07-05 08:34:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052378 -2.788122)'), GeomFromEWKT('SRID=4674;POINT (-40.052448 -2.788117)'))) / (select extract(epoch from '2026-07-05 08:34:44'::timestamp) - extract(epoch from '2026-07-05 08:34: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'), 47625, 'SRID=4674;POINT (-40.052459 -2.78812)', '2026-07-05 08:34:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052448 -2.788117)'), GeomFromEWKT('SRID=4674;POINT (-40.052459 -2.78812)'))) / (select extract(epoch from '2026-07-05 08:34:45'::timestamp) - extract(epoch from '2026-07-05 08:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052448 -2.788117)'), GeomFromEWKT('SRID=4674;POINT (-40.052459 -2.78812)'))) / (select extract(epoch from '2026-07-05 08:34:45'::timestamp) - extract(epoch from '2026-07-05 08:34: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'), 47625, 'SRID=4674;POINT (-40.052498 -2.788118)', '2026-07-05 08:34:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052459 -2.78812)'), GeomFromEWKT('SRID=4674;POINT (-40.052498 -2.788118)'))) / (select extract(epoch from '2026-07-05 08:34:49'::timestamp) - extract(epoch from '2026-07-05 08:34:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052459 -2.78812)'), GeomFromEWKT('SRID=4674;POINT (-40.052498 -2.788118)'))) / (select extract(epoch from '2026-07-05 08:34:49'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052522 -2.788117)', '2026-07-05 08:34:52', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052498 -2.788118)'), GeomFromEWKT('SRID=4674;POINT (-40.052522 -2.788117)'))) / (select extract(epoch from '2026-07-05 08:34:52'::timestamp) - extract(epoch from '2026-07-05 08:34:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052498 -2.788118)'), GeomFromEWKT('SRID=4674;POINT (-40.052522 -2.788117)'))) / (select extract(epoch from '2026-07-05 08:34:52'::timestamp) - extract(epoch from '2026-07-05 08:34:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052552 -2.788118)', '2026-07-05 08:34:55', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052522 -2.788117)'), GeomFromEWKT('SRID=4674;POINT (-40.052552 -2.788118)'))) / (select extract(epoch from '2026-07-05 08:34:55'::timestamp) - extract(epoch from '2026-07-05 08:34:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052522 -2.788117)'), GeomFromEWKT('SRID=4674;POINT (-40.052552 -2.788118)'))) / (select extract(epoch from '2026-07-05 08:34:55'::timestamp) - extract(epoch from '2026-07-05 08:34: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'), 47625, 'SRID=4674;POINT (-40.052613 -2.788108)', '2026-07-05 08:35:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052552 -2.788118)'), GeomFromEWKT('SRID=4674;POINT (-40.052613 -2.788108)'))) / (select extract(epoch from '2026-07-05 08:35:01'::timestamp) - extract(epoch from '2026-07-05 08:34:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052552 -2.788118)'), GeomFromEWKT('SRID=4674;POINT (-40.052613 -2.788108)'))) / (select extract(epoch from '2026-07-05 08:35:01'::timestamp) - extract(epoch from '2026-07-05 08:34:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052622 -2.788103)', '2026-07-05 08:35:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052613 -2.788108)'), GeomFromEWKT('SRID=4674;POINT (-40.052622 -2.788103)'))) / (select extract(epoch from '2026-07-05 08:35:02'::timestamp) - extract(epoch from '2026-07-05 08:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052613 -2.788108)'), GeomFromEWKT('SRID=4674;POINT (-40.052622 -2.788103)'))) / (select extract(epoch from '2026-07-05 08:35:02'::timestamp) - extract(epoch from '2026-07-05 08:35:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052646 -2.788085)', '2026-07-05 08:35:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052622 -2.788103)'), GeomFromEWKT('SRID=4674;POINT (-40.052646 -2.788085)'))) / (select extract(epoch from '2026-07-05 08:35:05'::timestamp) - extract(epoch from '2026-07-05 08:35:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052622 -2.788103)'), GeomFromEWKT('SRID=4674;POINT (-40.052646 -2.788085)'))) / (select extract(epoch from '2026-07-05 08:35:05'::timestamp) - extract(epoch from '2026-07-05 08:35:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052654 -2.788075)', '2026-07-05 08:35:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052646 -2.788085)'), GeomFromEWKT('SRID=4674;POINT (-40.052654 -2.788075)'))) / (select extract(epoch from '2026-07-05 08:35:06'::timestamp) - extract(epoch from '2026-07-05 08:35:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052646 -2.788085)'), GeomFromEWKT('SRID=4674;POINT (-40.052654 -2.788075)'))) / (select extract(epoch from '2026-07-05 08:35:06'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.05267 -2.788064)', '2026-07-05 08:35:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052654 -2.788075)'), GeomFromEWKT('SRID=4674;POINT (-40.05267 -2.788064)'))) / (select extract(epoch from '2026-07-05 08:35:08'::timestamp) - extract(epoch from '2026-07-05 08:35:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052654 -2.788075)'), GeomFromEWKT('SRID=4674;POINT (-40.05267 -2.788064)'))) / (select extract(epoch from '2026-07-05 08:35:08'::timestamp) - extract(epoch from '2026-07-05 08:35:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052687 -2.788051)', '2026-07-05 08:35:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05267 -2.788064)'), GeomFromEWKT('SRID=4674;POINT (-40.052687 -2.788051)'))) / (select extract(epoch from '2026-07-05 08:35:10'::timestamp) - extract(epoch from '2026-07-05 08:35:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05267 -2.788064)'), GeomFromEWKT('SRID=4674;POINT (-40.052687 -2.788051)'))) / (select extract(epoch from '2026-07-05 08:35:10'::timestamp) - extract(epoch from '2026-07-05 08:35:08'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052728 -2.788013)', '2026-07-05 08:35:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052687 -2.788051)'), GeomFromEWKT('SRID=4674;POINT (-40.052728 -2.788013)'))) / (select extract(epoch from '2026-07-05 08:35:16'::timestamp) - extract(epoch from '2026-07-05 08:35:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052687 -2.788051)'), GeomFromEWKT('SRID=4674;POINT (-40.052728 -2.788013)'))) / (select extract(epoch from '2026-07-05 08:35:16'::timestamp) - extract(epoch from '2026-07-05 08:35: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'), 47625, 'SRID=4674;POINT (-40.052754 -2.787982)', '2026-07-05 08:35:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052728 -2.788013)'), GeomFromEWKT('SRID=4674;POINT (-40.052754 -2.787982)'))) / (select extract(epoch from '2026-07-05 08:35:20'::timestamp) - extract(epoch from '2026-07-05 08:35:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052728 -2.788013)'), GeomFromEWKT('SRID=4674;POINT (-40.052754 -2.787982)'))) / (select extract(epoch from '2026-07-05 08:35:20'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052767 -2.787963)', '2026-07-05 08:35:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052754 -2.787982)'), GeomFromEWKT('SRID=4674;POINT (-40.052767 -2.787963)'))) / (select extract(epoch from '2026-07-05 08:35:22'::timestamp) - extract(epoch from '2026-07-05 08:35:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052754 -2.787982)'), GeomFromEWKT('SRID=4674;POINT (-40.052767 -2.787963)'))) / (select extract(epoch from '2026-07-05 08:35:22'::timestamp) - extract(epoch from '2026-07-05 08:35:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052781 -2.787944)', '2026-07-05 08:35:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052767 -2.787963)'), GeomFromEWKT('SRID=4674;POINT (-40.052781 -2.787944)'))) / (select extract(epoch from '2026-07-05 08:35:24'::timestamp) - extract(epoch from '2026-07-05 08:35:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052767 -2.787963)'), GeomFromEWKT('SRID=4674;POINT (-40.052781 -2.787944)'))) / (select extract(epoch from '2026-07-05 08:35:24'::timestamp) - extract(epoch from '2026-07-05 08:35:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052788 -2.787924)', '2026-07-05 08:35:26', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052781 -2.787944)'), GeomFromEWKT('SRID=4674;POINT (-40.052788 -2.787924)'))) / (select extract(epoch from '2026-07-05 08:35:26'::timestamp) - extract(epoch from '2026-07-05 08:35:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052781 -2.787944)'), GeomFromEWKT('SRID=4674;POINT (-40.052788 -2.787924)'))) / (select extract(epoch from '2026-07-05 08:35:26'::timestamp) - extract(epoch from '2026-07-05 08:35:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052796 -2.787908)', '2026-07-05 08:35:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052788 -2.787924)'), GeomFromEWKT('SRID=4674;POINT (-40.052796 -2.787908)'))) / (select extract(epoch from '2026-07-05 08:35:28'::timestamp) - extract(epoch from '2026-07-05 08:35:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052788 -2.787924)'), GeomFromEWKT('SRID=4674;POINT (-40.052796 -2.787908)'))) / (select extract(epoch from '2026-07-05 08:35:28'::timestamp) - extract(epoch from '2026-07-05 08:35:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052804 -2.78787)', '2026-07-05 08:35:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052796 -2.787908)'), GeomFromEWKT('SRID=4674;POINT (-40.052804 -2.78787)'))) / (select extract(epoch from '2026-07-05 08:35:32'::timestamp) - extract(epoch from '2026-07-05 08:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052796 -2.787908)'), GeomFromEWKT('SRID=4674;POINT (-40.052804 -2.78787)'))) / (select extract(epoch from '2026-07-05 08:35:32'::timestamp) - extract(epoch from '2026-07-05 08:35: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'), 47625, 'SRID=4674;POINT (-40.052807 -2.787835)', '2026-07-05 08:35:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052804 -2.78787)'), GeomFromEWKT('SRID=4674;POINT (-40.052807 -2.787835)'))) / (select extract(epoch from '2026-07-05 08:35:36'::timestamp) - extract(epoch from '2026-07-05 08:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052804 -2.78787)'), GeomFromEWKT('SRID=4674;POINT (-40.052807 -2.787835)'))) / (select extract(epoch from '2026-07-05 08:35:36'::timestamp) - extract(epoch from '2026-07-05 08:35: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'), 47625, 'SRID=4674;POINT (-40.052808 -2.787808)', '2026-07-05 08:35:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052807 -2.787835)'), GeomFromEWKT('SRID=4674;POINT (-40.052808 -2.787808)'))) / (select extract(epoch from '2026-07-05 08:35:39'::timestamp) - extract(epoch from '2026-07-05 08:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052807 -2.787835)'), GeomFromEWKT('SRID=4674;POINT (-40.052808 -2.787808)'))) / (select extract(epoch from '2026-07-05 08:35:39'::timestamp) - extract(epoch from '2026-07-05 08:35: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'), 47625, 'SRID=4674;POINT (-40.052792 -2.787755)', '2026-07-05 08:35:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052808 -2.787808)'), GeomFromEWKT('SRID=4674;POINT (-40.052792 -2.787755)'))) / (select extract(epoch from '2026-07-05 08:35:45'::timestamp) - extract(epoch from '2026-07-05 08:35:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052808 -2.787808)'), GeomFromEWKT('SRID=4674;POINT (-40.052792 -2.787755)'))) / (select extract(epoch from '2026-07-05 08:35:45'::timestamp) - extract(epoch from '2026-07-05 08:35: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'), 47625, 'SRID=4674;POINT (-40.052786 -2.787736)', '2026-07-05 08:35:47', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052792 -2.787755)'), GeomFromEWKT('SRID=4674;POINT (-40.052786 -2.787736)'))) / (select extract(epoch from '2026-07-05 08:35:47'::timestamp) - extract(epoch from '2026-07-05 08:35:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052792 -2.787755)'), GeomFromEWKT('SRID=4674;POINT (-40.052786 -2.787736)'))) / (select extract(epoch from '2026-07-05 08:35:47'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052769 -2.787698)', '2026-07-05 08:35:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052786 -2.787736)'), GeomFromEWKT('SRID=4674;POINT (-40.052769 -2.787698)'))) / (select extract(epoch from '2026-07-05 08:35:51'::timestamp) - extract(epoch from '2026-07-05 08:35:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052786 -2.787736)'), GeomFromEWKT('SRID=4674;POINT (-40.052769 -2.787698)'))) / (select extract(epoch from '2026-07-05 08:35:51'::timestamp) - extract(epoch from '2026-07-05 08:35: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'), 47625, 'SRID=4674;POINT (-40.052731 -2.78762)', '2026-07-05 08:35:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052769 -2.787698)'), GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.78762)'))) / (select extract(epoch from '2026-07-05 08:35:58'::timestamp) - extract(epoch from '2026-07-05 08:35:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052769 -2.787698)'), GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.78762)'))) / (select extract(epoch from '2026-07-05 08:35:58'::timestamp) - extract(epoch from '2026-07-05 08:35: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'), 47625, 'SRID=4674;POINT (-40.052661 -2.787541)', '2026-07-05 08:36:06', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.78762)'), GeomFromEWKT('SRID=4674;POINT (-40.052661 -2.787541)'))) / (select extract(epoch from '2026-07-05 08:36:06'::timestamp) - extract(epoch from '2026-07-05 08:35:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.78762)'), GeomFromEWKT('SRID=4674;POINT (-40.052661 -2.787541)'))) / (select extract(epoch from '2026-07-05 08:36:06'::timestamp) - extract(epoch from '2026-07-05 08:35:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052589 -2.787486)', '2026-07-05 08:36:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052661 -2.787541)'), GeomFromEWKT('SRID=4674;POINT (-40.052589 -2.787486)'))) / (select extract(epoch from '2026-07-05 08:36:13'::timestamp) - extract(epoch from '2026-07-05 08:36:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052661 -2.787541)'), GeomFromEWKT('SRID=4674;POINT (-40.052589 -2.787486)'))) / (select extract(epoch from '2026-07-05 08:36:13'::timestamp) - extract(epoch from '2026-07-05 08:36: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'), 47625, 'SRID=4674;POINT (-40.05253 -2.787419)', '2026-07-05 08:36:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052589 -2.787486)'), GeomFromEWKT('SRID=4674;POINT (-40.05253 -2.787419)'))) / (select extract(epoch from '2026-07-05 08:36:21'::timestamp) - extract(epoch from '2026-07-05 08:36:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052589 -2.787486)'), GeomFromEWKT('SRID=4674;POINT (-40.05253 -2.787419)'))) / (select extract(epoch from '2026-07-05 08:36:21'::timestamp) - extract(epoch from '2026-07-05 08:36: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'), 47625, 'SRID=4674;POINT (-40.052484 -2.787334)', '2026-07-05 08:36:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05253 -2.787419)'), GeomFromEWKT('SRID=4674;POINT (-40.052484 -2.787334)'))) / (select extract(epoch from '2026-07-05 08:36:29'::timestamp) - extract(epoch from '2026-07-05 08:36:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05253 -2.787419)'), GeomFromEWKT('SRID=4674;POINT (-40.052484 -2.787334)'))) / (select extract(epoch from '2026-07-05 08:36:29'::timestamp) - extract(epoch from '2026-07-05 08:36: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'), 47625, 'SRID=4674;POINT (-40.05248 -2.787322)', '2026-07-05 08:36:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052484 -2.787334)'), GeomFromEWKT('SRID=4674;POINT (-40.05248 -2.787322)'))) / (select extract(epoch from '2026-07-05 08:36:30'::timestamp) - extract(epoch from '2026-07-05 08:36:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052484 -2.787334)'), GeomFromEWKT('SRID=4674;POINT (-40.05248 -2.787322)'))) / (select extract(epoch from '2026-07-05 08:36:30'::timestamp) - extract(epoch from '2026-07-05 08:36: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'), 47625, 'SRID=4674;POINT (-40.052446 -2.787239)', '2026-07-05 08:36:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05248 -2.787322)'), GeomFromEWKT('SRID=4674;POINT (-40.052446 -2.787239)'))) / (select extract(epoch from '2026-07-05 08:36:37'::timestamp) - extract(epoch from '2026-07-05 08:36:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05248 -2.787322)'), GeomFromEWKT('SRID=4674;POINT (-40.052446 -2.787239)'))) / (select extract(epoch from '2026-07-05 08:36:37'::timestamp) - extract(epoch from '2026-07-05 08:36:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052446 -2.787153)', '2026-07-05 08:36:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052446 -2.787239)'), GeomFromEWKT('SRID=4674;POINT (-40.052446 -2.787153)'))) / (select extract(epoch from '2026-07-05 08:36:44'::timestamp) - extract(epoch from '2026-07-05 08:36:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052446 -2.787239)'), GeomFromEWKT('SRID=4674;POINT (-40.052446 -2.787153)'))) / (select extract(epoch from '2026-07-05 08:36:44'::timestamp) - extract(epoch from '2026-07-05 08:36:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052449 -2.787129)', '2026-07-05 08:36:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052446 -2.787153)'), GeomFromEWKT('SRID=4674;POINT (-40.052449 -2.787129)'))) / (select extract(epoch from '2026-07-05 08:36:46'::timestamp) - extract(epoch from '2026-07-05 08:36:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052446 -2.787153)'), GeomFromEWKT('SRID=4674;POINT (-40.052449 -2.787129)'))) / (select extract(epoch from '2026-07-05 08:36:46'::timestamp) - extract(epoch from '2026-07-05 08:36: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'), 47625, 'SRID=4674;POINT (-40.05246 -2.787078)', '2026-07-05 08:36:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052449 -2.787129)'), GeomFromEWKT('SRID=4674;POINT (-40.05246 -2.787078)'))) / (select extract(epoch from '2026-07-05 08:36:50'::timestamp) - extract(epoch from '2026-07-05 08:36:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052449 -2.787129)'), GeomFromEWKT('SRID=4674;POINT (-40.05246 -2.787078)'))) / (select extract(epoch from '2026-07-05 08:36:50'::timestamp) - extract(epoch from '2026-07-05 08:36: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'), 47625, 'SRID=4674;POINT (-40.052463 -2.787066)', '2026-07-05 08:36:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05246 -2.787078)'), GeomFromEWKT('SRID=4674;POINT (-40.052463 -2.787066)'))) / (select extract(epoch from '2026-07-05 08:36:51'::timestamp) - extract(epoch from '2026-07-05 08:36:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05246 -2.787078)'), GeomFromEWKT('SRID=4674;POINT (-40.052463 -2.787066)'))) / (select extract(epoch from '2026-07-05 08:36:51'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052472 -2.787002)', '2026-07-05 08:36:56', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052463 -2.787066)'), GeomFromEWKT('SRID=4674;POINT (-40.052472 -2.787002)'))) / (select extract(epoch from '2026-07-05 08:36:56'::timestamp) - extract(epoch from '2026-07-05 08:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052463 -2.787066)'), GeomFromEWKT('SRID=4674;POINT (-40.052472 -2.787002)'))) / (select extract(epoch from '2026-07-05 08:36:56'::timestamp) - extract(epoch from '2026-07-05 08:36:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052471 -2.78692)', '2026-07-05 08:37:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052472 -2.787002)'), GeomFromEWKT('SRID=4674;POINT (-40.052471 -2.78692)'))) / (select extract(epoch from '2026-07-05 08:37:03'::timestamp) - extract(epoch from '2026-07-05 08:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052472 -2.787002)'), GeomFromEWKT('SRID=4674;POINT (-40.052471 -2.78692)'))) / (select extract(epoch from '2026-07-05 08:37:03'::timestamp) - extract(epoch from '2026-07-05 08:36:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052464 -2.786868)', '2026-07-05 08:37:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052471 -2.78692)'), GeomFromEWKT('SRID=4674;POINT (-40.052464 -2.786868)'))) / (select extract(epoch from '2026-07-05 08:37:08'::timestamp) - extract(epoch from '2026-07-05 08:37:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052471 -2.78692)'), GeomFromEWKT('SRID=4674;POINT (-40.052464 -2.786868)'))) / (select extract(epoch from '2026-07-05 08:37:08'::timestamp) - extract(epoch from '2026-07-05 08:37:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052431 -2.786779)', '2026-07-05 08:37:18', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052464 -2.786868)'), GeomFromEWKT('SRID=4674;POINT (-40.052431 -2.786779)'))) / (select extract(epoch from '2026-07-05 08:37:18'::timestamp) - extract(epoch from '2026-07-05 08:37:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052464 -2.786868)'), GeomFromEWKT('SRID=4674;POINT (-40.052431 -2.786779)'))) / (select extract(epoch from '2026-07-05 08:37:18'::timestamp) - extract(epoch from '2026-07-05 08:37: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'), 47625, 'SRID=4674;POINT (-40.052425 -2.78676)', '2026-07-05 08:37:20', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052431 -2.786779)'), GeomFromEWKT('SRID=4674;POINT (-40.052425 -2.78676)'))) / (select extract(epoch from '2026-07-05 08:37:20'::timestamp) - extract(epoch from '2026-07-05 08:37:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052431 -2.786779)'), GeomFromEWKT('SRID=4674;POINT (-40.052425 -2.78676)'))) / (select extract(epoch from '2026-07-05 08:37:20'::timestamp) - extract(epoch from '2026-07-05 08:37: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'), 47625, 'SRID=4674;POINT (-40.052421 -2.786739)', '2026-07-05 08:37:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052425 -2.78676)'), GeomFromEWKT('SRID=4674;POINT (-40.052421 -2.786739)'))) / (select extract(epoch from '2026-07-05 08:37:22'::timestamp) - extract(epoch from '2026-07-05 08:37:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052425 -2.78676)'), GeomFromEWKT('SRID=4674;POINT (-40.052421 -2.786739)'))) / (select extract(epoch from '2026-07-05 08:37:22'::timestamp) - extract(epoch from '2026-07-05 08:37: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'), 47625, 'SRID=4674;POINT (-40.052418 -2.786716)', '2026-07-05 08:37:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052421 -2.786739)'), GeomFromEWKT('SRID=4674;POINT (-40.052418 -2.786716)'))) / (select extract(epoch from '2026-07-05 08:37:24'::timestamp) - extract(epoch from '2026-07-05 08:37:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052421 -2.786739)'), GeomFromEWKT('SRID=4674;POINT (-40.052418 -2.786716)'))) / (select extract(epoch from '2026-07-05 08:37:24'::timestamp) - extract(epoch from '2026-07-05 08:37: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'), 47625, 'SRID=4674;POINT (-40.052415 -2.786672)', '2026-07-05 08:37:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052418 -2.786716)'), GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786672)'))) / (select extract(epoch from '2026-07-05 08:37:28'::timestamp) - extract(epoch from '2026-07-05 08:37:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052418 -2.786716)'), GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786672)'))) / (select extract(epoch from '2026-07-05 08:37:28'::timestamp) - extract(epoch from '2026-07-05 08:37:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052415 -2.786651)', '2026-07-05 08:37:30', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786672)'), GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786651)'))) / (select extract(epoch from '2026-07-05 08:37:30'::timestamp) - extract(epoch from '2026-07-05 08:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786672)'), GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786651)'))) / (select extract(epoch from '2026-07-05 08:37:30'::timestamp) - extract(epoch from '2026-07-05 08:37: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'), 47625, 'SRID=4674;POINT (-40.052414 -2.786608)', '2026-07-05 08:37:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786651)'), GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.786608)'))) / (select extract(epoch from '2026-07-05 08:37:34'::timestamp) - extract(epoch from '2026-07-05 08:37:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786651)'), GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.786608)'))) / (select extract(epoch from '2026-07-05 08:37:34'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052414 -2.786583)', '2026-07-05 08:37:36', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.786608)'), GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.786583)'))) / (select extract(epoch from '2026-07-05 08:37:36'::timestamp) - extract(epoch from '2026-07-05 08:37:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.786608)'), GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.786583)'))) / (select extract(epoch from '2026-07-05 08:37:36'::timestamp) - extract(epoch from '2026-07-05 08:37: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'), 47625, 'SRID=4674;POINT (-40.052415 -2.786495)', '2026-07-05 08:37:44', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.786583)'), GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786495)'))) / (select extract(epoch from '2026-07-05 08:37:44'::timestamp) - extract(epoch from '2026-07-05 08:37:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052414 -2.786583)'), GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786495)'))) / (select extract(epoch from '2026-07-05 08:37:44'::timestamp) - extract(epoch from '2026-07-05 08:37: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'), 47625, 'SRID=4674;POINT (-40.052412 -2.786455)', '2026-07-05 08:37:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786495)'), GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.786455)'))) / (select extract(epoch from '2026-07-05 08:37:48'::timestamp) - extract(epoch from '2026-07-05 08:37:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052415 -2.786495)'), GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.786455)'))) / (select extract(epoch from '2026-07-05 08:37:48'::timestamp) - extract(epoch from '2026-07-05 08:37: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'), 47625, 'SRID=4674;POINT (-40.052412 -2.786437)', '2026-07-05 08:37:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.786455)'), GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.786437)'))) / (select extract(epoch from '2026-07-05 08:37:50'::timestamp) - extract(epoch from '2026-07-05 08:37:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.786455)'), GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.786437)'))) / (select extract(epoch from '2026-07-05 08:37:50'::timestamp) - extract(epoch from '2026-07-05 08:37:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052408 -2.786391)', '2026-07-05 08:37:57', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.786437)'), GeomFromEWKT('SRID=4674;POINT (-40.052408 -2.786391)'))) / (select extract(epoch from '2026-07-05 08:37:57'::timestamp) - extract(epoch from '2026-07-05 08:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052412 -2.786437)'), GeomFromEWKT('SRID=4674;POINT (-40.052408 -2.786391)'))) / (select extract(epoch from '2026-07-05 08:37:57'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052397 -2.786315)', '2026-07-05 08:38:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052408 -2.786391)'), GeomFromEWKT('SRID=4674;POINT (-40.052397 -2.786315)'))) / (select extract(epoch from '2026-07-05 08:38:07'::timestamp) - extract(epoch from '2026-07-05 08:37:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052408 -2.786391)'), GeomFromEWKT('SRID=4674;POINT (-40.052397 -2.786315)'))) / (select extract(epoch from '2026-07-05 08:38:07'::timestamp) - extract(epoch from '2026-07-05 08:37: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'), 47625, 'SRID=4674;POINT (-40.052403 -2.786219)', '2026-07-05 08:38:19', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052397 -2.786315)'), GeomFromEWKT('SRID=4674;POINT (-40.052403 -2.786219)'))) / (select extract(epoch from '2026-07-05 08:38:19'::timestamp) - extract(epoch from '2026-07-05 08:38:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052397 -2.786315)'), GeomFromEWKT('SRID=4674;POINT (-40.052403 -2.786219)'))) / (select extract(epoch from '2026-07-05 08:38:19'::timestamp) - extract(epoch from '2026-07-05 08:38: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'), 47625, 'SRID=4674;POINT (-40.05241 -2.786152)', '2026-07-05 08:38:29', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052403 -2.786219)'), GeomFromEWKT('SRID=4674;POINT (-40.05241 -2.786152)'))) / (select extract(epoch from '2026-07-05 08:38:29'::timestamp) - extract(epoch from '2026-07-05 08:38:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052403 -2.786219)'), GeomFromEWKT('SRID=4674;POINT (-40.05241 -2.786152)'))) / (select extract(epoch from '2026-07-05 08:38:29'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052407 -2.786084)', '2026-07-05 08:38:39', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05241 -2.786152)'), GeomFromEWKT('SRID=4674;POINT (-40.052407 -2.786084)'))) / (select extract(epoch from '2026-07-05 08:38:39'::timestamp) - extract(epoch from '2026-07-05 08:38:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05241 -2.786152)'), GeomFromEWKT('SRID=4674;POINT (-40.052407 -2.786084)'))) / (select extract(epoch from '2026-07-05 08:38:39'::timestamp) - extract(epoch from '2026-07-05 08:38: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'), 47625, 'SRID=4674;POINT (-40.052406 -2.786024)', '2026-07-05 08:38:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052407 -2.786084)'), GeomFromEWKT('SRID=4674;POINT (-40.052406 -2.786024)'))) / (select extract(epoch from '2026-07-05 08:38:48'::timestamp) - extract(epoch from '2026-07-05 08:38:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052407 -2.786084)'), GeomFromEWKT('SRID=4674;POINT (-40.052406 -2.786024)'))) / (select extract(epoch from '2026-07-05 08:38:48'::timestamp) - extract(epoch from '2026-07-05 08:38:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052413 -2.785948)', '2026-07-05 08:39:00', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052406 -2.786024)'), GeomFromEWKT('SRID=4674;POINT (-40.052413 -2.785948)'))) / (select extract(epoch from '2026-07-05 08:39:00'::timestamp) - extract(epoch from '2026-07-05 08:38:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052406 -2.786024)'), GeomFromEWKT('SRID=4674;POINT (-40.052413 -2.785948)'))) / (select extract(epoch from '2026-07-05 08:39:00'::timestamp) - extract(epoch from '2026-07-05 08:38: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'), 47625, 'SRID=4674;POINT (-40.052421 -2.785933)', '2026-07-05 08:39:02', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052413 -2.785948)'), GeomFromEWKT('SRID=4674;POINT (-40.052421 -2.785933)'))) / (select extract(epoch from '2026-07-05 08:39:02'::timestamp) - extract(epoch from '2026-07-05 08:39:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052413 -2.785948)'), GeomFromEWKT('SRID=4674;POINT (-40.052421 -2.785933)'))) / (select extract(epoch from '2026-07-05 08:39:02'::timestamp) - extract(epoch from '2026-07-05 08:39:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05244 -2.78591)', '2026-07-05 08:39:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052421 -2.785933)'), GeomFromEWKT('SRID=4674;POINT (-40.05244 -2.78591)'))) / (select extract(epoch from '2026-07-05 08:39:07'::timestamp) - extract(epoch from '2026-07-05 08:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052421 -2.785933)'), GeomFromEWKT('SRID=4674;POINT (-40.05244 -2.78591)'))) / (select extract(epoch from '2026-07-05 08:39:07'::timestamp) - extract(epoch from '2026-07-05 08:39:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052461 -2.785888)', '2026-07-05 08:39:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05244 -2.78591)'), GeomFromEWKT('SRID=4674;POINT (-40.052461 -2.785888)'))) / (select extract(epoch from '2026-07-05 08:39:16'::timestamp) - extract(epoch from '2026-07-05 08:39:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05244 -2.78591)'), GeomFromEWKT('SRID=4674;POINT (-40.052461 -2.785888)'))) / (select extract(epoch from '2026-07-05 08:39:16'::timestamp) - extract(epoch from '2026-07-05 08:39: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'), 47625, 'SRID=4674;POINT (-40.052502 -2.785864)', '2026-07-05 08:39:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052461 -2.785888)'), GeomFromEWKT('SRID=4674;POINT (-40.052502 -2.785864)'))) / (select extract(epoch from '2026-07-05 08:39:27'::timestamp) - extract(epoch from '2026-07-05 08:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052461 -2.785888)'), GeomFromEWKT('SRID=4674;POINT (-40.052502 -2.785864)'))) / (select extract(epoch from '2026-07-05 08:39:27'::timestamp) - extract(epoch from '2026-07-05 08:39: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'), 47625, 'SRID=4674;POINT (-40.052544 -2.785846)', '2026-07-05 08:39:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052502 -2.785864)'), GeomFromEWKT('SRID=4674;POINT (-40.052544 -2.785846)'))) / (select extract(epoch from '2026-07-05 08:39:38'::timestamp) - extract(epoch from '2026-07-05 08:39:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052502 -2.785864)'), GeomFromEWKT('SRID=4674;POINT (-40.052544 -2.785846)'))) / (select extract(epoch from '2026-07-05 08:39:38'::timestamp) - extract(epoch from '2026-07-05 08:39: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'), 47625, 'SRID=4674;POINT (-40.052587 -2.785835)', '2026-07-05 08:39:50', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052544 -2.785846)'), GeomFromEWKT('SRID=4674;POINT (-40.052587 -2.785835)'))) / (select extract(epoch from '2026-07-05 08:39:50'::timestamp) - extract(epoch from '2026-07-05 08:39:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052544 -2.785846)'), GeomFromEWKT('SRID=4674;POINT (-40.052587 -2.785835)'))) / (select extract(epoch from '2026-07-05 08:39:50'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.05264 -2.785818)', '2026-07-05 08:40:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052587 -2.785835)'), GeomFromEWKT('SRID=4674;POINT (-40.05264 -2.785818)'))) / (select extract(epoch from '2026-07-05 08:40:05'::timestamp) - extract(epoch from '2026-07-05 08:39:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052587 -2.785835)'), GeomFromEWKT('SRID=4674;POINT (-40.05264 -2.785818)'))) / (select extract(epoch from '2026-07-05 08:40:05'::timestamp) - extract(epoch from '2026-07-05 08:39: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'), 47625, 'SRID=4674;POINT (-40.052666 -2.7858)', '2026-07-05 08:40:14', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05264 -2.785818)'), GeomFromEWKT('SRID=4674;POINT (-40.052666 -2.7858)'))) / (select extract(epoch from '2026-07-05 08:40:14'::timestamp) - extract(epoch from '2026-07-05 08:40:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05264 -2.785818)'), GeomFromEWKT('SRID=4674;POINT (-40.052666 -2.7858)'))) / (select extract(epoch from '2026-07-05 08:40:14'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052698 -2.785783)', '2026-07-05 08:40:24', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052666 -2.7858)'), GeomFromEWKT('SRID=4674;POINT (-40.052698 -2.785783)'))) / (select extract(epoch from '2026-07-05 08:40:24'::timestamp) - extract(epoch from '2026-07-05 08:40:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052666 -2.7858)'), GeomFromEWKT('SRID=4674;POINT (-40.052698 -2.785783)'))) / (select extract(epoch from '2026-07-05 08:40:24'::timestamp) - extract(epoch from '2026-07-05 08:40: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'), 47625, 'SRID=4674;POINT (-40.052735 -2.785758)', '2026-07-05 08:40:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052698 -2.785783)'), GeomFromEWKT('SRID=4674;POINT (-40.052735 -2.785758)'))) / (select extract(epoch from '2026-07-05 08:40:34'::timestamp) - extract(epoch from '2026-07-05 08:40:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052698 -2.785783)'), GeomFromEWKT('SRID=4674;POINT (-40.052735 -2.785758)'))) / (select extract(epoch from '2026-07-05 08:40:34'::timestamp) - extract(epoch from '2026-07-05 08:40: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'), 47625, 'SRID=4674;POINT (-40.052758 -2.785724)', '2026-07-05 08:40:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052735 -2.785758)'), GeomFromEWKT('SRID=4674;POINT (-40.052758 -2.785724)'))) / (select extract(epoch from '2026-07-05 08:40:46'::timestamp) - extract(epoch from '2026-07-05 08:40:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052735 -2.785758)'), GeomFromEWKT('SRID=4674;POINT (-40.052758 -2.785724)'))) / (select extract(epoch from '2026-07-05 08:40:46'::timestamp) - extract(epoch from '2026-07-05 08:40:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052749 -2.785711)', '2026-07-05 08:40:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052758 -2.785724)'), GeomFromEWKT('SRID=4674;POINT (-40.052749 -2.785711)'))) / (select extract(epoch from '2026-07-05 08:40:58'::timestamp) - extract(epoch from '2026-07-05 08:40:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052758 -2.785724)'), GeomFromEWKT('SRID=4674;POINT (-40.052749 -2.785711)'))) / (select extract(epoch from '2026-07-05 08:40:58'::timestamp) - extract(epoch from '2026-07-05 08:40:46'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052744 -2.785702)', '2026-07-05 08:41:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052749 -2.785711)'), GeomFromEWKT('SRID=4674;POINT (-40.052744 -2.785702)'))) / (select extract(epoch from '2026-07-05 08:41:16'::timestamp) - extract(epoch from '2026-07-05 08:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052749 -2.785711)'), GeomFromEWKT('SRID=4674;POINT (-40.052744 -2.785702)'))) / (select extract(epoch from '2026-07-05 08:41:16'::timestamp) - extract(epoch from '2026-07-05 08:40:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052739 -2.78569)', '2026-07-05 08:41:31', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052744 -2.785702)'), GeomFromEWKT('SRID=4674;POINT (-40.052739 -2.78569)'))) / (select extract(epoch from '2026-07-05 08:41:31'::timestamp) - extract(epoch from '2026-07-05 08:41:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052744 -2.785702)'), GeomFromEWKT('SRID=4674;POINT (-40.052739 -2.78569)'))) / (select extract(epoch from '2026-07-05 08:41:31'::timestamp) - extract(epoch from '2026-07-05 08:41:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052737 -2.785685)', '2026-07-05 08:41:48', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052739 -2.78569)'), GeomFromEWKT('SRID=4674;POINT (-40.052737 -2.785685)'))) / (select extract(epoch from '2026-07-05 08:41:48'::timestamp) - extract(epoch from '2026-07-05 08:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052739 -2.78569)'), GeomFromEWKT('SRID=4674;POINT (-40.052737 -2.785685)'))) / (select extract(epoch from '2026-07-05 08:41:48'::timestamp) - extract(epoch from '2026-07-05 08:41: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'), 47625, 'SRID=4674;POINT (-40.052731 -2.785691)', '2026-07-05 08:42:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052737 -2.785685)'), GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.785691)'))) / (select extract(epoch from '2026-07-05 08:42:03'::timestamp) - extract(epoch from '2026-07-05 08:41:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052737 -2.785685)'), GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.785691)'))) / (select extract(epoch from '2026-07-05 08:42:03'::timestamp) - extract(epoch from '2026-07-05 08:41: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'), 47625, 'SRID=4674;POINT (-40.052734 -2.785696)', '2026-07-05 08:42:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.785691)'), GeomFromEWKT('SRID=4674;POINT (-40.052734 -2.785696)'))) / (select extract(epoch from '2026-07-05 08:42:16'::timestamp) - extract(epoch from '2026-07-05 08:42:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.785691)'), GeomFromEWKT('SRID=4674;POINT (-40.052734 -2.785696)'))) / (select extract(epoch from '2026-07-05 08:42:16'::timestamp) - extract(epoch from '2026-07-05 08:42: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'), 47625, 'SRID=4674;POINT (-40.052731 -2.785697)', '2026-07-05 08:42:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052734 -2.785696)'), GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.785697)'))) / (select extract(epoch from '2026-07-05 08:42:28'::timestamp) - extract(epoch from '2026-07-05 08:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052734 -2.785696)'), GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.785697)'))) / (select extract(epoch from '2026-07-05 08:42:28'::timestamp) - extract(epoch from '2026-07-05 08:42: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'), 47625, 'SRID=4674;POINT (-40.052726 -2.785682)', '2026-07-05 08:42:43', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.785697)'), GeomFromEWKT('SRID=4674;POINT (-40.052726 -2.785682)'))) / (select extract(epoch from '2026-07-05 08:42:43'::timestamp) - extract(epoch from '2026-07-05 08:42:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052731 -2.785697)'), GeomFromEWKT('SRID=4674;POINT (-40.052726 -2.785682)'))) / (select extract(epoch from '2026-07-05 08:42:43'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052722 -2.785672)', '2026-07-05 08:42:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052726 -2.785682)'), GeomFromEWKT('SRID=4674;POINT (-40.052722 -2.785672)'))) / (select extract(epoch from '2026-07-05 08:42:58'::timestamp) - extract(epoch from '2026-07-05 08:42:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052726 -2.785682)'), GeomFromEWKT('SRID=4674;POINT (-40.052722 -2.785672)'))) / (select extract(epoch from '2026-07-05 08:42:58'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052721 -2.785671)', '2026-07-05 08:43:13', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052722 -2.785672)'), GeomFromEWKT('SRID=4674;POINT (-40.052721 -2.785671)'))) / (select extract(epoch from '2026-07-05 08:43:13'::timestamp) - extract(epoch from '2026-07-05 08:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052722 -2.785672)'), GeomFromEWKT('SRID=4674;POINT (-40.052721 -2.785671)'))) / (select extract(epoch from '2026-07-05 08:43:13'::timestamp) - extract(epoch from '2026-07-05 08:42:58'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052729 -2.785684)', '2026-07-05 08:43:27', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052721 -2.785671)'), GeomFromEWKT('SRID=4674;POINT (-40.052729 -2.785684)'))) / (select extract(epoch from '2026-07-05 08:43:27'::timestamp) - extract(epoch from '2026-07-05 08:43:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052721 -2.785671)'), GeomFromEWKT('SRID=4674;POINT (-40.052729 -2.785684)'))) / (select extract(epoch from '2026-07-05 08:43:27'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052719 -2.785672)', '2026-07-05 08:43:34', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052729 -2.785684)'), GeomFromEWKT('SRID=4674;POINT (-40.052719 -2.785672)'))) / (select extract(epoch from '2026-07-05 08:43:34'::timestamp) - extract(epoch from '2026-07-05 08:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052729 -2.785684)'), GeomFromEWKT('SRID=4674;POINT (-40.052719 -2.785672)'))) / (select extract(epoch from '2026-07-05 08:43:34'::timestamp) - extract(epoch from '2026-07-05 08:43:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052729 -2.785681)', '2026-07-05 08:43:40', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052719 -2.785672)'), GeomFromEWKT('SRID=4674;POINT (-40.052729 -2.785681)'))) / (select extract(epoch from '2026-07-05 08:43:40'::timestamp) - extract(epoch from '2026-07-05 08:43:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052719 -2.785672)'), GeomFromEWKT('SRID=4674;POINT (-40.052729 -2.785681)'))) / (select extract(epoch from '2026-07-05 08:43:40'::timestamp) - extract(epoch from '2026-07-05 08:43: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'), 47625, 'SRID=4674;POINT (-40.052739 -2.785683)', '2026-07-05 08:43:42', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052729 -2.785681)'), GeomFromEWKT('SRID=4674;POINT (-40.052739 -2.785683)'))) / (select extract(epoch from '2026-07-05 08:43:42'::timestamp) - extract(epoch from '2026-07-05 08:43:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052729 -2.785681)'), GeomFromEWKT('SRID=4674;POINT (-40.052739 -2.785683)'))) / (select extract(epoch from '2026-07-05 08:43:42'::timestamp) - extract(epoch from '2026-07-05 08:43:40'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052745 -2.785686)', '2026-07-05 08:43:53', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052739 -2.785683)'), GeomFromEWKT('SRID=4674;POINT (-40.052745 -2.785686)'))) / (select extract(epoch from '2026-07-05 08:43:53'::timestamp) - extract(epoch from '2026-07-05 08:43:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052739 -2.785683)'), GeomFromEWKT('SRID=4674;POINT (-40.052745 -2.785686)'))) / (select extract(epoch from '2026-07-05 08:43:53'::timestamp) - extract(epoch from '2026-07-05 08:43: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'), 47625, 'SRID=4674;POINT (-40.052743 -2.785694)', '2026-07-05 08:44:08', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052745 -2.785686)'), GeomFromEWKT('SRID=4674;POINT (-40.052743 -2.785694)'))) / (select extract(epoch from '2026-07-05 08:44:08'::timestamp) - extract(epoch from '2026-07-05 08:43:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052745 -2.785686)'), GeomFromEWKT('SRID=4674;POINT (-40.052743 -2.785694)'))) / (select extract(epoch from '2026-07-05 08:44:08'::timestamp) - extract(epoch from '2026-07-05 08:43:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05274 -2.785708)', '2026-07-05 08:44:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052743 -2.785694)'), GeomFromEWKT('SRID=4674;POINT (-40.05274 -2.785708)'))) / (select extract(epoch from '2026-07-05 08:44:17'::timestamp) - extract(epoch from '2026-07-05 08:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052743 -2.785694)'), GeomFromEWKT('SRID=4674;POINT (-40.05274 -2.785708)'))) / (select extract(epoch from '2026-07-05 08:44:17'::timestamp) - extract(epoch from '2026-07-05 08:44: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'), 47625, 'SRID=4674;POINT (-40.052737 -2.78571)', '2026-07-05 08:44:28', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05274 -2.785708)'), GeomFromEWKT('SRID=4674;POINT (-40.052737 -2.78571)'))) / (select extract(epoch from '2026-07-05 08:44:28'::timestamp) - extract(epoch from '2026-07-05 08:44:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05274 -2.785708)'), GeomFromEWKT('SRID=4674;POINT (-40.052737 -2.78571)'))) / (select extract(epoch from '2026-07-05 08:44:28'::timestamp) - extract(epoch from '2026-07-05 08:44: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'), 47625, 'SRID=4674;POINT (-40.052734 -2.785715)', '2026-07-05 08:44:37', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052737 -2.78571)'), GeomFromEWKT('SRID=4674;POINT (-40.052734 -2.785715)'))) / (select extract(epoch from '2026-07-05 08:44:37'::timestamp) - extract(epoch from '2026-07-05 08:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052737 -2.78571)'), GeomFromEWKT('SRID=4674;POINT (-40.052734 -2.785715)'))) / (select extract(epoch from '2026-07-05 08:44:37'::timestamp) - extract(epoch from '2026-07-05 08:44:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052727 -2.785719)', '2026-07-05 08:44:38', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052734 -2.785715)'), GeomFromEWKT('SRID=4674;POINT (-40.052727 -2.785719)'))) / (select extract(epoch from '2026-07-05 08:44:38'::timestamp) - extract(epoch from '2026-07-05 08:44:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052734 -2.785715)'), GeomFromEWKT('SRID=4674;POINT (-40.052727 -2.785719)'))) / (select extract(epoch from '2026-07-05 08:44:38'::timestamp) - extract(epoch from '2026-07-05 08:44: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'), 47625, 'SRID=4674;POINT (-40.052724 -2.78572)', '2026-07-05 08:44:45', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052727 -2.785719)'), GeomFromEWKT('SRID=4674;POINT (-40.052724 -2.78572)'))) / (select extract(epoch from '2026-07-05 08:44:45'::timestamp) - extract(epoch from '2026-07-05 08:44:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052727 -2.785719)'), GeomFromEWKT('SRID=4674;POINT (-40.052724 -2.78572)'))) / (select extract(epoch from '2026-07-05 08:44:45'::timestamp) - extract(epoch from '2026-07-05 08:44: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'), 47625, 'SRID=4674;POINT (-40.052721 -2.78572)', '2026-07-05 08:44:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052724 -2.78572)'), GeomFromEWKT('SRID=4674;POINT (-40.052721 -2.78572)'))) / (select extract(epoch from '2026-07-05 08:44:51'::timestamp) - extract(epoch from '2026-07-05 08:44:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052724 -2.78572)'), GeomFromEWKT('SRID=4674;POINT (-40.052721 -2.78572)'))) / (select extract(epoch from '2026-07-05 08:44:51'::timestamp) - extract(epoch from '2026-07-05 08:44:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052717 -2.785708)', '2026-07-05 08:45:03', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052721 -2.78572)'), GeomFromEWKT('SRID=4674;POINT (-40.052717 -2.785708)'))) / (select extract(epoch from '2026-07-05 08:45:03'::timestamp) - extract(epoch from '2026-07-05 08:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052721 -2.78572)'), GeomFromEWKT('SRID=4674;POINT (-40.052717 -2.785708)'))) / (select extract(epoch from '2026-07-05 08:45:03'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052715 -2.785688)', '2026-07-05 08:45:12', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052717 -2.785708)'), GeomFromEWKT('SRID=4674;POINT (-40.052715 -2.785688)'))) / (select extract(epoch from '2026-07-05 08:45:12'::timestamp) - extract(epoch from '2026-07-05 08:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052717 -2.785708)'), GeomFromEWKT('SRID=4674;POINT (-40.052715 -2.785688)'))) / (select extract(epoch from '2026-07-05 08:45:12'::timestamp) - extract(epoch from '2026-07-05 08:45: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'), 47625, 'SRID=4674;POINT (-40.052689 -2.785696)', '2026-07-05 08:45:23', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052715 -2.785688)'), GeomFromEWKT('SRID=4674;POINT (-40.052689 -2.785696)'))) / (select extract(epoch from '2026-07-05 08:45:23'::timestamp) - extract(epoch from '2026-07-05 08:45:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052715 -2.785688)'), GeomFromEWKT('SRID=4674;POINT (-40.052689 -2.785696)'))) / (select extract(epoch from '2026-07-05 08:45:23'::timestamp) - extract(epoch from '2026-07-05 08:45:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.05264 -2.785735)', '2026-07-05 08:45:35', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052689 -2.785696)'), GeomFromEWKT('SRID=4674;POINT (-40.05264 -2.785735)'))) / (select extract(epoch from '2026-07-05 08:45:35'::timestamp) - extract(epoch from '2026-07-05 08:45:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052689 -2.785696)'), GeomFromEWKT('SRID=4674;POINT (-40.05264 -2.785735)'))) / (select extract(epoch from '2026-07-05 08:45:35'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052564 -2.785766)', '2026-07-05 08:45:46', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05264 -2.785735)'), GeomFromEWKT('SRID=4674;POINT (-40.052564 -2.785766)'))) / (select extract(epoch from '2026-07-05 08:45:46'::timestamp) - extract(epoch from '2026-07-05 08:45:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05264 -2.785735)'), GeomFromEWKT('SRID=4674;POINT (-40.052564 -2.785766)'))) / (select extract(epoch from '2026-07-05 08:45:46'::timestamp) - extract(epoch from '2026-07-05 08:45: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'), 47625, 'SRID=4674;POINT (-40.05253 -2.785787)', '2026-07-05 08:45:54', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052564 -2.785766)'), GeomFromEWKT('SRID=4674;POINT (-40.05253 -2.785787)'))) / (select extract(epoch from '2026-07-05 08:45:54'::timestamp) - extract(epoch from '2026-07-05 08:45:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052564 -2.785766)'), GeomFromEWKT('SRID=4674;POINT (-40.05253 -2.785787)'))) / (select extract(epoch from '2026-07-05 08:45:54'::timestamp) - extract(epoch from '2026-07-05 08: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'), 47625, 'SRID=4674;POINT (-40.052474 -2.785827)', '2026-07-05 08:46:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05253 -2.785787)'), GeomFromEWKT('SRID=4674;POINT (-40.052474 -2.785827)'))) / (select extract(epoch from '2026-07-05 08:46:04'::timestamp) - extract(epoch from '2026-07-05 08:45:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05253 -2.785787)'), GeomFromEWKT('SRID=4674;POINT (-40.052474 -2.785827)'))) / (select extract(epoch from '2026-07-05 08:46:04'::timestamp) - extract(epoch from '2026-07-05 08:45: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'), 47625, 'SRID=4674;POINT (-40.052425 -2.785862)', '2026-07-05 08:46:17', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052474 -2.785827)'), GeomFromEWKT('SRID=4674;POINT (-40.052425 -2.785862)'))) / (select extract(epoch from '2026-07-05 08:46:17'::timestamp) - extract(epoch from '2026-07-05 08:46:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052474 -2.785827)'), GeomFromEWKT('SRID=4674;POINT (-40.052425 -2.785862)'))) / (select extract(epoch from '2026-07-05 08:46:17'::timestamp) - extract(epoch from '2026-07-05 08:46: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'), 47625, 'SRID=4674;POINT (-40.052366 -2.785841)', '2026-07-05 08:46:32', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052425 -2.785862)'), GeomFromEWKT('SRID=4674;POINT (-40.052366 -2.785841)'))) / (select extract(epoch from '2026-07-05 08:46:32'::timestamp) - extract(epoch from '2026-07-05 08:46:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052425 -2.785862)'), GeomFromEWKT('SRID=4674;POINT (-40.052366 -2.785841)'))) / (select extract(epoch from '2026-07-05 08:46:32'::timestamp) - extract(epoch from '2026-07-05 08:46: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'), 47625, 'SRID=4674;POINT (-40.052337 -2.785772)', '2026-07-05 08:46:41', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052366 -2.785841)'), GeomFromEWKT('SRID=4674;POINT (-40.052337 -2.785772)'))) / (select extract(epoch from '2026-07-05 08:46:41'::timestamp) - extract(epoch from '2026-07-05 08:46:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052366 -2.785841)'), GeomFromEWKT('SRID=4674;POINT (-40.052337 -2.785772)'))) / (select extract(epoch from '2026-07-05 08:46:41'::timestamp) - extract(epoch from '2026-07-05 08:46: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'), 47625, 'SRID=4674;POINT (-40.052336 -2.785653)', '2026-07-05 08:46:51', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052337 -2.785772)'), GeomFromEWKT('SRID=4674;POINT (-40.052336 -2.785653)'))) / (select extract(epoch from '2026-07-05 08:46:51'::timestamp) - extract(epoch from '2026-07-05 08:46:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052337 -2.785772)'), GeomFromEWKT('SRID=4674;POINT (-40.052336 -2.785653)'))) / (select extract(epoch from '2026-07-05 08:46:51'::timestamp) - extract(epoch from '2026-07-05 08:46: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'), 47625, 'SRID=4674;POINT (-40.052359 -2.78556)', '2026-07-05 08:46:58', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052336 -2.785653)'), GeomFromEWKT('SRID=4674;POINT (-40.052359 -2.78556)'))) / (select extract(epoch from '2026-07-05 08:46:58'::timestamp) - extract(epoch from '2026-07-05 08:46:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052336 -2.785653)'), GeomFromEWKT('SRID=4674;POINT (-40.052359 -2.78556)'))) / (select extract(epoch from '2026-07-05 08:46:58'::timestamp) - extract(epoch from '2026-07-05 08:46: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'), 47625, 'SRID=4674;POINT (-40.052394 -2.78548)', '2026-07-05 08:47:04', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052359 -2.78556)'), GeomFromEWKT('SRID=4674;POINT (-40.052394 -2.78548)'))) / (select extract(epoch from '2026-07-05 08:47:04'::timestamp) - extract(epoch from '2026-07-05 08:46:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052359 -2.78556)'), GeomFromEWKT('SRID=4674;POINT (-40.052394 -2.78548)'))) / (select extract(epoch from '2026-07-05 08:47:04'::timestamp) - extract(epoch from '2026-07-05 08:46: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'), 47625, 'SRID=4674;POINT (-40.052399 -2.785465)', '2026-07-05 08:47:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052394 -2.78548)'), GeomFromEWKT('SRID=4674;POINT (-40.052399 -2.785465)'))) / (select extract(epoch from '2026-07-05 08:47:05'::timestamp) - extract(epoch from '2026-07-05 08:47:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052394 -2.78548)'), GeomFromEWKT('SRID=4674;POINT (-40.052399 -2.785465)'))) / (select extract(epoch from '2026-07-05 08:47:05'::timestamp) - extract(epoch from '2026-07-05 08:47: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'), 47625, 'SRID=4674;POINT (-40.05242 -2.785392)', '2026-07-05 08:47:10', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052399 -2.785465)'), GeomFromEWKT('SRID=4674;POINT (-40.05242 -2.785392)'))) / (select extract(epoch from '2026-07-05 08:47:10'::timestamp) - extract(epoch from '2026-07-05 08:47:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052399 -2.785465)'), GeomFromEWKT('SRID=4674;POINT (-40.05242 -2.785392)'))) / (select extract(epoch from '2026-07-05 08:47:10'::timestamp) - extract(epoch from '2026-07-05 08:47:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052428 -2.785306)', '2026-07-05 08:47:15', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05242 -2.785392)'), GeomFromEWKT('SRID=4674;POINT (-40.052428 -2.785306)'))) / (select extract(epoch from '2026-07-05 08:47:15'::timestamp) - extract(epoch from '2026-07-05 08:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.05242 -2.785392)'), GeomFromEWKT('SRID=4674;POINT (-40.052428 -2.785306)'))) / (select extract(epoch from '2026-07-05 08:47:15'::timestamp) - extract(epoch from '2026-07-05 08:47:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 47625, 'SRID=4674;POINT (-40.052431 -2.785291)', '2026-07-05 08:47:16', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052428 -2.785306)'), GeomFromEWKT('SRID=4674;POINT (-40.052431 -2.785291)'))) / (select extract(epoch from '2026-07-05 08:47:16'::timestamp) - extract(epoch from '2026-07-05 08:47:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052428 -2.785306)'), GeomFromEWKT('SRID=4674;POINT (-40.052431 -2.785291)'))) / (select extract(epoch from '2026-07-05 08:47:16'::timestamp) - extract(epoch from '2026-07-05 08:47: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'), 47625, 'SRID=4674;POINT (-40.052454 -2.785215)', '2026-07-05 08:47:21', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052431 -2.785291)'), GeomFromEWKT('SRID=4674;POINT (-40.052454 -2.785215)'))) / (select extract(epoch from '2026-07-05 08:47:21'::timestamp) - extract(epoch from '2026-07-05 08:47:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.052431 -2.785291)'), GeomFromEWKT('SRID=4674;POINT (-40.052454 -2.785215)'))) / (select extract(epoch from '2026-07-05 08:47:21'::timestamp) - extract(epoch from '2026-07-05 08:47:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
