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'), 48199, 'SRID=4674;POINT (-40.128292 -2.849985)', '2026-08-19 14:30:07', 10, 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'), 48199, 'SRID=4674;POINT (-40.128382 -2.849947)', '2026-08-19 14:30:23', 24.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128292 -2.849985)'), GeomFromEWKT('SRID=4674;POINT (-40.128382 -2.849947)'))) / (select extract(epoch from '2026-08-19 14:30:23'::timestamp) - extract(epoch from '2026-08-19 14:30:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128292 -2.849985)'), GeomFromEWKT('SRID=4674;POINT (-40.128382 -2.849947)'))) / (select extract(epoch from '2026-08-19 14:30:23'::timestamp) - extract(epoch from '2026-08-19 14:30:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128362 -2.850003)', '2026-08-19 14:30:36', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128382 -2.849947)'), GeomFromEWKT('SRID=4674;POINT (-40.128362 -2.850003)'))) / (select extract(epoch from '2026-08-19 14:30:36'::timestamp) - extract(epoch from '2026-08-19 14:30:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128382 -2.849947)'), GeomFromEWKT('SRID=4674;POINT (-40.128362 -2.850003)'))) / (select extract(epoch from '2026-08-19 14:30:36'::timestamp) - extract(epoch from '2026-08-19 14:30:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128408 -2.850016)', '2026-08-19 14:30:51', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128362 -2.850003)'), GeomFromEWKT('SRID=4674;POINT (-40.128408 -2.850016)'))) / (select extract(epoch from '2026-08-19 14:30:51'::timestamp) - extract(epoch from '2026-08-19 14:30:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128362 -2.850003)'), GeomFromEWKT('SRID=4674;POINT (-40.128408 -2.850016)'))) / (select extract(epoch from '2026-08-19 14:30:51'::timestamp) - extract(epoch from '2026-08-19 14:30: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'), 48199, 'SRID=4674;POINT (-40.128424 -2.850027)', '2026-08-19 14:31:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128408 -2.850016)'), GeomFromEWKT('SRID=4674;POINT (-40.128424 -2.850027)'))) / (select extract(epoch from '2026-08-19 14:31:02'::timestamp) - extract(epoch from '2026-08-19 14:30:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128408 -2.850016)'), GeomFromEWKT('SRID=4674;POINT (-40.128424 -2.850027)'))) / (select extract(epoch from '2026-08-19 14:31:02'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.128446 -2.850032)', '2026-08-19 14:31:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128424 -2.850027)'), GeomFromEWKT('SRID=4674;POINT (-40.128446 -2.850032)'))) / (select extract(epoch from '2026-08-19 14:31:19'::timestamp) - extract(epoch from '2026-08-19 14:31:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128424 -2.850027)'), GeomFromEWKT('SRID=4674;POINT (-40.128446 -2.850032)'))) / (select extract(epoch from '2026-08-19 14:31:19'::timestamp) - extract(epoch from '2026-08-19 14:31:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128501 -2.850065)', '2026-08-19 14:31:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128446 -2.850032)'), GeomFromEWKT('SRID=4674;POINT (-40.128501 -2.850065)'))) / (select extract(epoch from '2026-08-19 14:31:34'::timestamp) - extract(epoch from '2026-08-19 14:31:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128446 -2.850032)'), GeomFromEWKT('SRID=4674;POINT (-40.128501 -2.850065)'))) / (select extract(epoch from '2026-08-19 14:31:34'::timestamp) - extract(epoch from '2026-08-19 14:31: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'), 48199, 'SRID=4674;POINT (-40.128534 -2.850085)', '2026-08-19 14:31:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128501 -2.850065)'), GeomFromEWKT('SRID=4674;POINT (-40.128534 -2.850085)'))) / (select extract(epoch from '2026-08-19 14:31:49'::timestamp) - extract(epoch from '2026-08-19 14:31:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128501 -2.850065)'), GeomFromEWKT('SRID=4674;POINT (-40.128534 -2.850085)'))) / (select extract(epoch from '2026-08-19 14:31:49'::timestamp) - extract(epoch from '2026-08-19 14:31:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128556 -2.850089)', '2026-08-19 14:32:07', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128534 -2.850085)'), GeomFromEWKT('SRID=4674;POINT (-40.128556 -2.850089)'))) / (select extract(epoch from '2026-08-19 14:32:07'::timestamp) - extract(epoch from '2026-08-19 14:31:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128534 -2.850085)'), GeomFromEWKT('SRID=4674;POINT (-40.128556 -2.850089)'))) / (select extract(epoch from '2026-08-19 14:32:07'::timestamp) - extract(epoch from '2026-08-19 14:31:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12862 -2.850117)', '2026-08-19 14:32:21', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128556 -2.850089)'), GeomFromEWKT('SRID=4674;POINT (-40.12862 -2.850117)'))) / (select extract(epoch from '2026-08-19 14:32:21'::timestamp) - extract(epoch from '2026-08-19 14:32:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128556 -2.850089)'), GeomFromEWKT('SRID=4674;POINT (-40.12862 -2.850117)'))) / (select extract(epoch from '2026-08-19 14:32:21'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.128751 -2.850178)', '2026-08-19 14:32:41', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12862 -2.850117)'), GeomFromEWKT('SRID=4674;POINT (-40.128751 -2.850178)'))) / (select extract(epoch from '2026-08-19 14:32:41'::timestamp) - extract(epoch from '2026-08-19 14:32:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12862 -2.850117)'), GeomFromEWKT('SRID=4674;POINT (-40.128751 -2.850178)'))) / (select extract(epoch from '2026-08-19 14:32:41'::timestamp) - extract(epoch from '2026-08-19 14:32: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'), 48199, 'SRID=4674;POINT (-40.128842 -2.850223)', '2026-08-19 14:32:56', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128751 -2.850178)'), GeomFromEWKT('SRID=4674;POINT (-40.128842 -2.850223)'))) / (select extract(epoch from '2026-08-19 14:32:56'::timestamp) - extract(epoch from '2026-08-19 14:32:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128751 -2.850178)'), GeomFromEWKT('SRID=4674;POINT (-40.128842 -2.850223)'))) / (select extract(epoch from '2026-08-19 14:32:56'::timestamp) - extract(epoch from '2026-08-19 14:32: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'), 48199, 'SRID=4674;POINT (-40.128931 -2.850258)', '2026-08-19 14:33:11', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128842 -2.850223)'), GeomFromEWKT('SRID=4674;POINT (-40.128931 -2.850258)'))) / (select extract(epoch from '2026-08-19 14:33:11'::timestamp) - extract(epoch from '2026-08-19 14:32:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128842 -2.850223)'), GeomFromEWKT('SRID=4674;POINT (-40.128931 -2.850258)'))) / (select extract(epoch from '2026-08-19 14:33:11'::timestamp) - extract(epoch from '2026-08-19 14:32:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.129043 -2.850309)', '2026-08-19 14:33:28', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128931 -2.850258)'), GeomFromEWKT('SRID=4674;POINT (-40.129043 -2.850309)'))) / (select extract(epoch from '2026-08-19 14:33:28'::timestamp) - extract(epoch from '2026-08-19 14:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128931 -2.850258)'), GeomFromEWKT('SRID=4674;POINT (-40.129043 -2.850309)'))) / (select extract(epoch from '2026-08-19 14:33:28'::timestamp) - extract(epoch from '2026-08-19 14:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.129142 -2.850369)', '2026-08-19 14:33:45', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129043 -2.850309)'), GeomFromEWKT('SRID=4674;POINT (-40.129142 -2.850369)'))) / (select extract(epoch from '2026-08-19 14:33:45'::timestamp) - extract(epoch from '2026-08-19 14:33:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129043 -2.850309)'), GeomFromEWKT('SRID=4674;POINT (-40.129142 -2.850369)'))) / (select extract(epoch from '2026-08-19 14:33:45'::timestamp) - extract(epoch from '2026-08-19 14:33:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.129239 -2.850399)', '2026-08-19 14:33:59', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129142 -2.850369)'), GeomFromEWKT('SRID=4674;POINT (-40.129239 -2.850399)'))) / (select extract(epoch from '2026-08-19 14:33:59'::timestamp) - extract(epoch from '2026-08-19 14:33:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129142 -2.850369)'), GeomFromEWKT('SRID=4674;POINT (-40.129239 -2.850399)'))) / (select extract(epoch from '2026-08-19 14:33:59'::timestamp) - extract(epoch from '2026-08-19 14:33: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'), 48199, 'SRID=4674;POINT (-40.129266 -2.850399)', '2026-08-19 14:34:10', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129239 -2.850399)'), GeomFromEWKT('SRID=4674;POINT (-40.129266 -2.850399)'))) / (select extract(epoch from '2026-08-19 14:34:10'::timestamp) - extract(epoch from '2026-08-19 14:33:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129239 -2.850399)'), GeomFromEWKT('SRID=4674;POINT (-40.129266 -2.850399)'))) / (select extract(epoch from '2026-08-19 14:34:10'::timestamp) - extract(epoch from '2026-08-19 14:33: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'), 48199, 'SRID=4674;POINT (-40.129352 -2.850422)', '2026-08-19 14:34:24', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129266 -2.850399)'), GeomFromEWKT('SRID=4674;POINT (-40.129352 -2.850422)'))) / (select extract(epoch from '2026-08-19 14:34:24'::timestamp) - extract(epoch from '2026-08-19 14:34:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129266 -2.850399)'), GeomFromEWKT('SRID=4674;POINT (-40.129352 -2.850422)'))) / (select extract(epoch from '2026-08-19 14:34:24'::timestamp) - extract(epoch from '2026-08-19 14:34: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'), 48199, 'SRID=4674;POINT (-40.129449 -2.850433)', '2026-08-19 14:34:40', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129352 -2.850422)'), GeomFromEWKT('SRID=4674;POINT (-40.129449 -2.850433)'))) / (select extract(epoch from '2026-08-19 14:34:40'::timestamp) - extract(epoch from '2026-08-19 14:34:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129352 -2.850422)'), GeomFromEWKT('SRID=4674;POINT (-40.129449 -2.850433)'))) / (select extract(epoch from '2026-08-19 14:34:40'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.129566 -2.850463)', '2026-08-19 14:35:01', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129449 -2.850433)'), GeomFromEWKT('SRID=4674;POINT (-40.129566 -2.850463)'))) / (select extract(epoch from '2026-08-19 14:35:01'::timestamp) - extract(epoch from '2026-08-19 14:34:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129449 -2.850433)'), GeomFromEWKT('SRID=4674;POINT (-40.129566 -2.850463)'))) / (select extract(epoch from '2026-08-19 14:35:01'::timestamp) - extract(epoch from '2026-08-19 14:34: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'), 48199, 'SRID=4674;POINT (-40.129669 -2.850497)', '2026-08-19 14:35:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129566 -2.850463)'), GeomFromEWKT('SRID=4674;POINT (-40.129669 -2.850497)'))) / (select extract(epoch from '2026-08-19 14:35:17'::timestamp) - extract(epoch from '2026-08-19 14:35:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129566 -2.850463)'), GeomFromEWKT('SRID=4674;POINT (-40.129669 -2.850497)'))) / (select extract(epoch from '2026-08-19 14:35:17'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.129773 -2.850529)', '2026-08-19 14:35:32', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129669 -2.850497)'), GeomFromEWKT('SRID=4674;POINT (-40.129773 -2.850529)'))) / (select extract(epoch from '2026-08-19 14:35:32'::timestamp) - extract(epoch from '2026-08-19 14:35:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129669 -2.850497)'), GeomFromEWKT('SRID=4674;POINT (-40.129773 -2.850529)'))) / (select extract(epoch from '2026-08-19 14:35:32'::timestamp) - extract(epoch from '2026-08-19 14:35:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.129888 -2.850559)', '2026-08-19 14:35:48', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129773 -2.850529)'), GeomFromEWKT('SRID=4674;POINT (-40.129888 -2.850559)'))) / (select extract(epoch from '2026-08-19 14:35:48'::timestamp) - extract(epoch from '2026-08-19 14:35:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129773 -2.850529)'), GeomFromEWKT('SRID=4674;POINT (-40.129888 -2.850559)'))) / (select extract(epoch from '2026-08-19 14:35:48'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.12998 -2.850596)', '2026-08-19 14:36:02', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129888 -2.850559)'), GeomFromEWKT('SRID=4674;POINT (-40.12998 -2.850596)'))) / (select extract(epoch from '2026-08-19 14:36:02'::timestamp) - extract(epoch from '2026-08-19 14:35:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129888 -2.850559)'), GeomFromEWKT('SRID=4674;POINT (-40.12998 -2.850596)'))) / (select extract(epoch from '2026-08-19 14:36:02'::timestamp) - extract(epoch from '2026-08-19 14:35: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'), 48199, 'SRID=4674;POINT (-40.130081 -2.850647)', '2026-08-19 14:36:17', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12998 -2.850596)'), GeomFromEWKT('SRID=4674;POINT (-40.130081 -2.850647)'))) / (select extract(epoch from '2026-08-19 14:36:17'::timestamp) - extract(epoch from '2026-08-19 14:36:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12998 -2.850596)'), GeomFromEWKT('SRID=4674;POINT (-40.130081 -2.850647)'))) / (select extract(epoch from '2026-08-19 14:36:17'::timestamp) - extract(epoch from '2026-08-19 14:36: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'), 48199, 'SRID=4674;POINT (-40.130179 -2.850721)', '2026-08-19 14:36:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130081 -2.850647)'), GeomFromEWKT('SRID=4674;POINT (-40.130179 -2.850721)'))) / (select extract(epoch from '2026-08-19 14:36:38'::timestamp) - extract(epoch from '2026-08-19 14:36:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130081 -2.850647)'), GeomFromEWKT('SRID=4674;POINT (-40.130179 -2.850721)'))) / (select extract(epoch from '2026-08-19 14:36:38'::timestamp) - extract(epoch from '2026-08-19 14:36: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'), 48199, 'SRID=4674;POINT (-40.130275 -2.850804)', '2026-08-19 14:36:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130179 -2.850721)'), GeomFromEWKT('SRID=4674;POINT (-40.130275 -2.850804)'))) / (select extract(epoch from '2026-08-19 14:36:56'::timestamp) - extract(epoch from '2026-08-19 14:36:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130179 -2.850721)'), GeomFromEWKT('SRID=4674;POINT (-40.130275 -2.850804)'))) / (select extract(epoch from '2026-08-19 14:36:56'::timestamp) - extract(epoch from '2026-08-19 14:36:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130377 -2.850866)', '2026-08-19 14:37:13', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130275 -2.850804)'), GeomFromEWKT('SRID=4674;POINT (-40.130377 -2.850866)'))) / (select extract(epoch from '2026-08-19 14:37:13'::timestamp) - extract(epoch from '2026-08-19 14:36:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130275 -2.850804)'), GeomFromEWKT('SRID=4674;POINT (-40.130377 -2.850866)'))) / (select extract(epoch from '2026-08-19 14:37:13'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.130449 -2.850941)', '2026-08-19 14:37:28', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130377 -2.850866)'), GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.850941)'))) / (select extract(epoch from '2026-08-19 14:37:28'::timestamp) - extract(epoch from '2026-08-19 14:37:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130377 -2.850866)'), GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.850941)'))) / (select extract(epoch from '2026-08-19 14:37:28'::timestamp) - extract(epoch from '2026-08-19 14:37:13'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130567 -2.851038)', '2026-08-19 14:37:45', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.850941)'), GeomFromEWKT('SRID=4674;POINT (-40.130567 -2.851038)'))) / (select extract(epoch from '2026-08-19 14:37:45'::timestamp) - extract(epoch from '2026-08-19 14:37:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130449 -2.850941)'), GeomFromEWKT('SRID=4674;POINT (-40.130567 -2.851038)'))) / (select extract(epoch from '2026-08-19 14:37:45'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.130696 -2.851125)', '2026-08-19 14:38:00', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130567 -2.851038)'), GeomFromEWKT('SRID=4674;POINT (-40.130696 -2.851125)'))) / (select extract(epoch from '2026-08-19 14:38:00'::timestamp) - extract(epoch from '2026-08-19 14:37:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130567 -2.851038)'), GeomFromEWKT('SRID=4674;POINT (-40.130696 -2.851125)'))) / (select extract(epoch from '2026-08-19 14:38:00'::timestamp) - extract(epoch from '2026-08-19 14:37: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'), 48199, 'SRID=4674;POINT (-40.130827 -2.851191)', '2026-08-19 14:38:16', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130696 -2.851125)'), GeomFromEWKT('SRID=4674;POINT (-40.130827 -2.851191)'))) / (select extract(epoch from '2026-08-19 14:38:16'::timestamp) - extract(epoch from '2026-08-19 14:38:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130696 -2.851125)'), GeomFromEWKT('SRID=4674;POINT (-40.130827 -2.851191)'))) / (select extract(epoch from '2026-08-19 14:38:16'::timestamp) - extract(epoch from '2026-08-19 14:38: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'), 48199, 'SRID=4674;POINT (-40.130972 -2.851279)', '2026-08-19 14:38:33', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130827 -2.851191)'), GeomFromEWKT('SRID=4674;POINT (-40.130972 -2.851279)'))) / (select extract(epoch from '2026-08-19 14:38:33'::timestamp) - extract(epoch from '2026-08-19 14:38:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130827 -2.851191)'), GeomFromEWKT('SRID=4674;POINT (-40.130972 -2.851279)'))) / (select extract(epoch from '2026-08-19 14:38:33'::timestamp) - extract(epoch from '2026-08-19 14:38: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'), 48199, 'SRID=4674;POINT (-40.131134 -2.851376)', '2026-08-19 14:38:51', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130972 -2.851279)'), GeomFromEWKT('SRID=4674;POINT (-40.131134 -2.851376)'))) / (select extract(epoch from '2026-08-19 14:38:51'::timestamp) - extract(epoch from '2026-08-19 14:38:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130972 -2.851279)'), GeomFromEWKT('SRID=4674;POINT (-40.131134 -2.851376)'))) / (select extract(epoch from '2026-08-19 14:38:51'::timestamp) - extract(epoch from '2026-08-19 14:38:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131254 -2.851435)', '2026-08-19 14:39:04', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131134 -2.851376)'), GeomFromEWKT('SRID=4674;POINT (-40.131254 -2.851435)'))) / (select extract(epoch from '2026-08-19 14:39:04'::timestamp) - extract(epoch from '2026-08-19 14:38:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131134 -2.851376)'), GeomFromEWKT('SRID=4674;POINT (-40.131254 -2.851435)'))) / (select extract(epoch from '2026-08-19 14:39:04'::timestamp) - extract(epoch from '2026-08-19 14:38:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131367 -2.851495)', '2026-08-19 14:39:16', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131254 -2.851435)'), GeomFromEWKT('SRID=4674;POINT (-40.131367 -2.851495)'))) / (select extract(epoch from '2026-08-19 14:39:16'::timestamp) - extract(epoch from '2026-08-19 14:39:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131254 -2.851435)'), GeomFromEWKT('SRID=4674;POINT (-40.131367 -2.851495)'))) / (select extract(epoch from '2026-08-19 14:39:16'::timestamp) - extract(epoch from '2026-08-19 14:39: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'), 48199, 'SRID=4674;POINT (-40.131441 -2.851553)', '2026-08-19 14:39:26', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131367 -2.851495)'), GeomFromEWKT('SRID=4674;POINT (-40.131441 -2.851553)'))) / (select extract(epoch from '2026-08-19 14:39:26'::timestamp) - extract(epoch from '2026-08-19 14:39:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131367 -2.851495)'), GeomFromEWKT('SRID=4674;POINT (-40.131441 -2.851553)'))) / (select extract(epoch from '2026-08-19 14:39:26'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.131523 -2.851655)', '2026-08-19 14:39:37', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131441 -2.851553)'), GeomFromEWKT('SRID=4674;POINT (-40.131523 -2.851655)'))) / (select extract(epoch from '2026-08-19 14:39:37'::timestamp) - extract(epoch from '2026-08-19 14:39:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131441 -2.851553)'), GeomFromEWKT('SRID=4674;POINT (-40.131523 -2.851655)'))) / (select extract(epoch from '2026-08-19 14:39:37'::timestamp) - extract(epoch from '2026-08-19 14:39: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'), 48199, 'SRID=4674;POINT (-40.132285 -2.851877)', '2026-08-19 14:40:44', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131523 -2.851655)'), GeomFromEWKT('SRID=4674;POINT (-40.132285 -2.851877)'))) / (select extract(epoch from '2026-08-19 14:40:44'::timestamp) - extract(epoch from '2026-08-19 14:39:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131523 -2.851655)'), GeomFromEWKT('SRID=4674;POINT (-40.132285 -2.851877)'))) / (select extract(epoch from '2026-08-19 14:40:44'::timestamp) - extract(epoch from '2026-08-19 14:39:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132426 -2.851859)', '2026-08-19 14:40:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132285 -2.851877)'), GeomFromEWKT('SRID=4674;POINT (-40.132426 -2.851859)'))) / (select extract(epoch from '2026-08-19 14:40:54'::timestamp) - extract(epoch from '2026-08-19 14:40:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132285 -2.851877)'), GeomFromEWKT('SRID=4674;POINT (-40.132426 -2.851859)'))) / (select extract(epoch from '2026-08-19 14:40:54'::timestamp) - extract(epoch from '2026-08-19 14:40:44'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132525 -2.851882)', '2026-08-19 14:41:02', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132426 -2.851859)'), GeomFromEWKT('SRID=4674;POINT (-40.132525 -2.851882)'))) / (select extract(epoch from '2026-08-19 14:41:02'::timestamp) - extract(epoch from '2026-08-19 14:40:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132426 -2.851859)'), GeomFromEWKT('SRID=4674;POINT (-40.132525 -2.851882)'))) / (select extract(epoch from '2026-08-19 14:41:02'::timestamp) - extract(epoch from '2026-08-19 14:40: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'), 48199, 'SRID=4674;POINT (-40.132656 -2.85189)', '2026-08-19 14:41:12', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132525 -2.851882)'), GeomFromEWKT('SRID=4674;POINT (-40.132656 -2.85189)'))) / (select extract(epoch from '2026-08-19 14:41:12'::timestamp) - extract(epoch from '2026-08-19 14:41:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132525 -2.851882)'), GeomFromEWKT('SRID=4674;POINT (-40.132656 -2.85189)'))) / (select extract(epoch from '2026-08-19 14:41:12'::timestamp) - extract(epoch from '2026-08-19 14:41:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132777 -2.851855)', '2026-08-19 14:41:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132656 -2.85189)'), GeomFromEWKT('SRID=4674;POINT (-40.132777 -2.851855)'))) / (select extract(epoch from '2026-08-19 14:41:21'::timestamp) - extract(epoch from '2026-08-19 14:41:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132656 -2.85189)'), GeomFromEWKT('SRID=4674;POINT (-40.132777 -2.851855)'))) / (select extract(epoch from '2026-08-19 14:41:21'::timestamp) - extract(epoch from '2026-08-19 14:41: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'), 48199, 'SRID=4674;POINT (-40.13284 -2.851837)', '2026-08-19 14:41:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132777 -2.851855)'), GeomFromEWKT('SRID=4674;POINT (-40.13284 -2.851837)'))) / (select extract(epoch from '2026-08-19 14:41:26'::timestamp) - extract(epoch from '2026-08-19 14:41:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132777 -2.851855)'), GeomFromEWKT('SRID=4674;POINT (-40.13284 -2.851837)'))) / (select extract(epoch from '2026-08-19 14:41:26'::timestamp) - extract(epoch from '2026-08-19 14:41: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'), 48199, 'SRID=4674;POINT (-40.132894 -2.85183)', '2026-08-19 14:41:30', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13284 -2.851837)'), GeomFromEWKT('SRID=4674;POINT (-40.132894 -2.85183)'))) / (select extract(epoch from '2026-08-19 14:41:30'::timestamp) - extract(epoch from '2026-08-19 14:41:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13284 -2.851837)'), GeomFromEWKT('SRID=4674;POINT (-40.132894 -2.85183)'))) / (select extract(epoch from '2026-08-19 14:41:30'::timestamp) - extract(epoch from '2026-08-19 14:41: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'), 48199, 'SRID=4674;POINT (-40.132992 -2.851905)', '2026-08-19 14:41:38', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132894 -2.85183)'), GeomFromEWKT('SRID=4674;POINT (-40.132992 -2.851905)'))) / (select extract(epoch from '2026-08-19 14:41:38'::timestamp) - extract(epoch from '2026-08-19 14:41:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132894 -2.85183)'), GeomFromEWKT('SRID=4674;POINT (-40.132992 -2.851905)'))) / (select extract(epoch from '2026-08-19 14:41:38'::timestamp) - extract(epoch from '2026-08-19 14:41: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'), 48199, 'SRID=4674;POINT (-40.133105 -2.851959)', '2026-08-19 14:41:47', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132992 -2.851905)'), GeomFromEWKT('SRID=4674;POINT (-40.133105 -2.851959)'))) / (select extract(epoch from '2026-08-19 14:41:47'::timestamp) - extract(epoch from '2026-08-19 14:41:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132992 -2.851905)'), GeomFromEWKT('SRID=4674;POINT (-40.133105 -2.851959)'))) / (select extract(epoch from '2026-08-19 14:41:47'::timestamp) - extract(epoch from '2026-08-19 14:41: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'), 48199, 'SRID=4674;POINT (-40.133228 -2.852036)', '2026-08-19 14:41:57', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133105 -2.851959)'), GeomFromEWKT('SRID=4674;POINT (-40.133228 -2.852036)'))) / (select extract(epoch from '2026-08-19 14:41:57'::timestamp) - extract(epoch from '2026-08-19 14:41:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133105 -2.851959)'), GeomFromEWKT('SRID=4674;POINT (-40.133228 -2.852036)'))) / (select extract(epoch from '2026-08-19 14:41:57'::timestamp) - extract(epoch from '2026-08-19 14:41:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133387 -2.852102)', '2026-08-19 14:42:08', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133228 -2.852036)'), GeomFromEWKT('SRID=4674;POINT (-40.133387 -2.852102)'))) / (select extract(epoch from '2026-08-19 14:42:08'::timestamp) - extract(epoch from '2026-08-19 14:41:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133228 -2.852036)'), GeomFromEWKT('SRID=4674;POINT (-40.133387 -2.852102)'))) / (select extract(epoch from '2026-08-19 14:42:08'::timestamp) - extract(epoch from '2026-08-19 14:41: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'), 48199, 'SRID=4674;POINT (-40.133493 -2.852149)', '2026-08-19 14:42:16', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133387 -2.852102)'), GeomFromEWKT('SRID=4674;POINT (-40.133493 -2.852149)'))) / (select extract(epoch from '2026-08-19 14:42:16'::timestamp) - extract(epoch from '2026-08-19 14:42:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133387 -2.852102)'), GeomFromEWKT('SRID=4674;POINT (-40.133493 -2.852149)'))) / (select extract(epoch from '2026-08-19 14:42:16'::timestamp) - extract(epoch from '2026-08-19 14:42: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'), 48199, 'SRID=4674;POINT (-40.133641 -2.852168)', '2026-08-19 14:42:27', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133493 -2.852149)'), GeomFromEWKT('SRID=4674;POINT (-40.133641 -2.852168)'))) / (select extract(epoch from '2026-08-19 14:42:27'::timestamp) - extract(epoch from '2026-08-19 14:42:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133493 -2.852149)'), GeomFromEWKT('SRID=4674;POINT (-40.133641 -2.852168)'))) / (select extract(epoch from '2026-08-19 14:42:27'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.133798 -2.852162)', '2026-08-19 14:42:38', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133641 -2.852168)'), GeomFromEWKT('SRID=4674;POINT (-40.133798 -2.852162)'))) / (select extract(epoch from '2026-08-19 14:42:38'::timestamp) - extract(epoch from '2026-08-19 14:42:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133641 -2.852168)'), GeomFromEWKT('SRID=4674;POINT (-40.133798 -2.852162)'))) / (select extract(epoch from '2026-08-19 14:42:38'::timestamp) - extract(epoch from '2026-08-19 14:42: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'), 48199, 'SRID=4674;POINT (-40.133967 -2.852128)', '2026-08-19 14:42:50', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133798 -2.852162)'), GeomFromEWKT('SRID=4674;POINT (-40.133967 -2.852128)'))) / (select extract(epoch from '2026-08-19 14:42:50'::timestamp) - extract(epoch from '2026-08-19 14:42:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133798 -2.852162)'), GeomFromEWKT('SRID=4674;POINT (-40.133967 -2.852128)'))) / (select extract(epoch from '2026-08-19 14:42:50'::timestamp) - extract(epoch from '2026-08-19 14:42:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.134045 -2.852067)', '2026-08-19 14:42:58', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133967 -2.852128)'), GeomFromEWKT('SRID=4674;POINT (-40.134045 -2.852067)'))) / (select extract(epoch from '2026-08-19 14:42:58'::timestamp) - extract(epoch from '2026-08-19 14:42:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133967 -2.852128)'), GeomFromEWKT('SRID=4674;POINT (-40.134045 -2.852067)'))) / (select extract(epoch from '2026-08-19 14:42:58'::timestamp) - extract(epoch from '2026-08-19 14:42:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.134062 -2.85193)', '2026-08-19 14:43:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134045 -2.852067)'), GeomFromEWKT('SRID=4674;POINT (-40.134062 -2.85193)'))) / (select extract(epoch from '2026-08-19 14:43:06'::timestamp) - extract(epoch from '2026-08-19 14:42:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134045 -2.852067)'), GeomFromEWKT('SRID=4674;POINT (-40.134062 -2.85193)'))) / (select extract(epoch from '2026-08-19 14:43:06'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.134058 -2.85172)', '2026-08-19 14:43:17', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134062 -2.85193)'), GeomFromEWKT('SRID=4674;POINT (-40.134058 -2.85172)'))) / (select extract(epoch from '2026-08-19 14:43:17'::timestamp) - extract(epoch from '2026-08-19 14:43:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134062 -2.85193)'), GeomFromEWKT('SRID=4674;POINT (-40.134058 -2.85172)'))) / (select extract(epoch from '2026-08-19 14:43:17'::timestamp) - extract(epoch from '2026-08-19 14:43: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'), 48199, 'SRID=4674;POINT (-40.134006 -2.851484)', '2026-08-19 14:43:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134058 -2.85172)'), GeomFromEWKT('SRID=4674;POINT (-40.134006 -2.851484)'))) / (select extract(epoch from '2026-08-19 14:43:27'::timestamp) - extract(epoch from '2026-08-19 14:43:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134058 -2.85172)'), GeomFromEWKT('SRID=4674;POINT (-40.134006 -2.851484)'))) / (select extract(epoch from '2026-08-19 14:43:27'::timestamp) - extract(epoch from '2026-08-19 14:43:17'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.13391 -2.851149)', '2026-08-19 14:43:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134006 -2.851484)'), GeomFromEWKT('SRID=4674;POINT (-40.13391 -2.851149)'))) / (select extract(epoch from '2026-08-19 14:43:41'::timestamp) - extract(epoch from '2026-08-19 14:43:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134006 -2.851484)'), GeomFromEWKT('SRID=4674;POINT (-40.13391 -2.851149)'))) / (select extract(epoch from '2026-08-19 14:43:41'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.133837 -2.850917)', '2026-08-19 14:43:51', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13391 -2.851149)'), GeomFromEWKT('SRID=4674;POINT (-40.133837 -2.850917)'))) / (select extract(epoch from '2026-08-19 14:43:51'::timestamp) - extract(epoch from '2026-08-19 14:43:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13391 -2.851149)'), GeomFromEWKT('SRID=4674;POINT (-40.133837 -2.850917)'))) / (select extract(epoch from '2026-08-19 14:43:51'::timestamp) - extract(epoch from '2026-08-19 14:43: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'), 48199, 'SRID=4674;POINT (-40.133758 -2.850721)', '2026-08-19 14:44:00', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133837 -2.850917)'), GeomFromEWKT('SRID=4674;POINT (-40.133758 -2.850721)'))) / (select extract(epoch from '2026-08-19 14:44:00'::timestamp) - extract(epoch from '2026-08-19 14:43:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133837 -2.850917)'), GeomFromEWKT('SRID=4674;POINT (-40.133758 -2.850721)'))) / (select extract(epoch from '2026-08-19 14:44:00'::timestamp) - extract(epoch from '2026-08-19 14:43: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'), 48199, 'SRID=4674;POINT (-40.133697 -2.850544)', '2026-08-19 14:44:08', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133758 -2.850721)'), GeomFromEWKT('SRID=4674;POINT (-40.133697 -2.850544)'))) / (select extract(epoch from '2026-08-19 14:44:08'::timestamp) - extract(epoch from '2026-08-19 14:44:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133758 -2.850721)'), GeomFromEWKT('SRID=4674;POINT (-40.133697 -2.850544)'))) / (select extract(epoch from '2026-08-19 14:44:08'::timestamp) - extract(epoch from '2026-08-19 14:44:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133599 -2.850315)', '2026-08-19 14:44:18', -2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133697 -2.850544)'), GeomFromEWKT('SRID=4674;POINT (-40.133599 -2.850315)'))) / (select extract(epoch from '2026-08-19 14:44:18'::timestamp) - extract(epoch from '2026-08-19 14:44:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133697 -2.850544)'), GeomFromEWKT('SRID=4674;POINT (-40.133599 -2.850315)'))) / (select extract(epoch from '2026-08-19 14:44:18'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.13348 -2.850102)', '2026-08-19 14:44:28', -3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133599 -2.850315)'), GeomFromEWKT('SRID=4674;POINT (-40.13348 -2.850102)'))) / (select extract(epoch from '2026-08-19 14:44:28'::timestamp) - extract(epoch from '2026-08-19 14:44:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133599 -2.850315)'), GeomFromEWKT('SRID=4674;POINT (-40.13348 -2.850102)'))) / (select extract(epoch from '2026-08-19 14:44:28'::timestamp) - extract(epoch from '2026-08-19 14:44:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133342 -2.84984)', '2026-08-19 14:44:40', -3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13348 -2.850102)'), GeomFromEWKT('SRID=4674;POINT (-40.133342 -2.84984)'))) / (select extract(epoch from '2026-08-19 14:44:40'::timestamp) - extract(epoch from '2026-08-19 14:44:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13348 -2.850102)'), GeomFromEWKT('SRID=4674;POINT (-40.133342 -2.84984)'))) / (select extract(epoch from '2026-08-19 14:44:40'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.13322 -2.849592)', '2026-08-19 14:44:51', -3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133342 -2.84984)'), GeomFromEWKT('SRID=4674;POINT (-40.13322 -2.849592)'))) / (select extract(epoch from '2026-08-19 14:44:51'::timestamp) - extract(epoch from '2026-08-19 14:44:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133342 -2.84984)'), GeomFromEWKT('SRID=4674;POINT (-40.13322 -2.849592)'))) / (select extract(epoch from '2026-08-19 14:44:51'::timestamp) - extract(epoch from '2026-08-19 14:44: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'), 48199, 'SRID=4674;POINT (-40.133107 -2.849341)', '2026-08-19 14:45:02', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13322 -2.849592)'), GeomFromEWKT('SRID=4674;POINT (-40.133107 -2.849341)'))) / (select extract(epoch from '2026-08-19 14:45:02'::timestamp) - extract(epoch from '2026-08-19 14:44:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13322 -2.849592)'), GeomFromEWKT('SRID=4674;POINT (-40.133107 -2.849341)'))) / (select extract(epoch from '2026-08-19 14:45:02'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.133038 -2.849134)', '2026-08-19 14:45:11', -1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133107 -2.849341)'), GeomFromEWKT('SRID=4674;POINT (-40.133038 -2.849134)'))) / (select extract(epoch from '2026-08-19 14:45:11'::timestamp) - extract(epoch from '2026-08-19 14:45:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133107 -2.849341)'), GeomFromEWKT('SRID=4674;POINT (-40.133038 -2.849134)'))) / (select extract(epoch from '2026-08-19 14:45:11'::timestamp) - extract(epoch from '2026-08-19 14:45:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132951 -2.848825)', '2026-08-19 14:45:24', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133038 -2.849134)'), GeomFromEWKT('SRID=4674;POINT (-40.132951 -2.848825)'))) / (select extract(epoch from '2026-08-19 14:45:24'::timestamp) - extract(epoch from '2026-08-19 14:45:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133038 -2.849134)'), GeomFromEWKT('SRID=4674;POINT (-40.132951 -2.848825)'))) / (select extract(epoch from '2026-08-19 14:45:24'::timestamp) - extract(epoch from '2026-08-19 14:45:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132852 -2.848525)', '2026-08-19 14:45:37', -2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132951 -2.848825)'), GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.848525)'))) / (select extract(epoch from '2026-08-19 14:45:37'::timestamp) - extract(epoch from '2026-08-19 14:45:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132951 -2.848825)'), GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.848525)'))) / (select extract(epoch from '2026-08-19 14:45:37'::timestamp) - extract(epoch from '2026-08-19 14:45:24'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132757 -2.848321)', '2026-08-19 14:45:48', -2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.848525)'), GeomFromEWKT('SRID=4674;POINT (-40.132757 -2.848321)'))) / (select extract(epoch from '2026-08-19 14:45:48'::timestamp) - extract(epoch from '2026-08-19 14:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132852 -2.848525)'), GeomFromEWKT('SRID=4674;POINT (-40.132757 -2.848321)'))) / (select extract(epoch from '2026-08-19 14:45:48'::timestamp) - extract(epoch from '2026-08-19 14:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132679 -2.848186)', '2026-08-19 14:45:57', -1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132757 -2.848321)'), GeomFromEWKT('SRID=4674;POINT (-40.132679 -2.848186)'))) / (select extract(epoch from '2026-08-19 14:45:57'::timestamp) - extract(epoch from '2026-08-19 14:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132757 -2.848321)'), GeomFromEWKT('SRID=4674;POINT (-40.132679 -2.848186)'))) / (select extract(epoch from '2026-08-19 14:45:57'::timestamp) - extract(epoch from '2026-08-19 14:45:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132624 -2.848086)', '2026-08-19 14:46:07', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132679 -2.848186)'), GeomFromEWKT('SRID=4674;POINT (-40.132624 -2.848086)'))) / (select extract(epoch from '2026-08-19 14:46:07'::timestamp) - extract(epoch from '2026-08-19 14:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132679 -2.848186)'), GeomFromEWKT('SRID=4674;POINT (-40.132624 -2.848086)'))) / (select extract(epoch from '2026-08-19 14:46:07'::timestamp) - extract(epoch from '2026-08-19 14:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132584 -2.848037)', '2026-08-19 14:46:18', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132624 -2.848086)'), GeomFromEWKT('SRID=4674;POINT (-40.132584 -2.848037)'))) / (select extract(epoch from '2026-08-19 14:46:18'::timestamp) - extract(epoch from '2026-08-19 14:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132624 -2.848086)'), GeomFromEWKT('SRID=4674;POINT (-40.132584 -2.848037)'))) / (select extract(epoch from '2026-08-19 14:46:18'::timestamp) - extract(epoch from '2026-08-19 14:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132527 -2.847956)', '2026-08-19 14:46:39', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132584 -2.848037)'), GeomFromEWKT('SRID=4674;POINT (-40.132527 -2.847956)'))) / (select extract(epoch from '2026-08-19 14:46:39'::timestamp) - extract(epoch from '2026-08-19 14:46:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132584 -2.848037)'), GeomFromEWKT('SRID=4674;POINT (-40.132527 -2.847956)'))) / (select extract(epoch from '2026-08-19 14:46:39'::timestamp) - extract(epoch from '2026-08-19 14:46:18'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132485 -2.847915)', '2026-08-19 14:47:00', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132527 -2.847956)'), GeomFromEWKT('SRID=4674;POINT (-40.132485 -2.847915)'))) / (select extract(epoch from '2026-08-19 14:47:00'::timestamp) - extract(epoch from '2026-08-19 14:46:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132527 -2.847956)'), GeomFromEWKT('SRID=4674;POINT (-40.132485 -2.847915)'))) / (select extract(epoch from '2026-08-19 14:47:00'::timestamp) - extract(epoch from '2026-08-19 14:46: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'), 48199, 'SRID=4674;POINT (-40.132467 -2.847907)', '2026-08-19 14:47:18', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132485 -2.847915)'), GeomFromEWKT('SRID=4674;POINT (-40.132467 -2.847907)'))) / (select extract(epoch from '2026-08-19 14:47:18'::timestamp) - extract(epoch from '2026-08-19 14:47:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132485 -2.847915)'), GeomFromEWKT('SRID=4674;POINT (-40.132467 -2.847907)'))) / (select extract(epoch from '2026-08-19 14:47:18'::timestamp) - extract(epoch from '2026-08-19 14:47: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'), 48199, 'SRID=4674;POINT (-40.132448 -2.847894)', '2026-08-19 14:47:38', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132467 -2.847907)'), GeomFromEWKT('SRID=4674;POINT (-40.132448 -2.847894)'))) / (select extract(epoch from '2026-08-19 14:47:38'::timestamp) - extract(epoch from '2026-08-19 14:47:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132467 -2.847907)'), GeomFromEWKT('SRID=4674;POINT (-40.132448 -2.847894)'))) / (select extract(epoch from '2026-08-19 14:47:38'::timestamp) - extract(epoch from '2026-08-19 14:47: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'), 48199, 'SRID=4674;POINT (-40.132432 -2.847883)', '2026-08-19 14:47:55', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132448 -2.847894)'), GeomFromEWKT('SRID=4674;POINT (-40.132432 -2.847883)'))) / (select extract(epoch from '2026-08-19 14:47:55'::timestamp) - extract(epoch from '2026-08-19 14:47:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132448 -2.847894)'), GeomFromEWKT('SRID=4674;POINT (-40.132432 -2.847883)'))) / (select extract(epoch from '2026-08-19 14:47:55'::timestamp) - extract(epoch from '2026-08-19 14:47: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'), 48199, 'SRID=4674;POINT (-40.132408 -2.84786)', '2026-08-19 14:48:15', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132432 -2.847883)'), GeomFromEWKT('SRID=4674;POINT (-40.132408 -2.84786)'))) / (select extract(epoch from '2026-08-19 14:48:15'::timestamp) - extract(epoch from '2026-08-19 14:47:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132432 -2.847883)'), GeomFromEWKT('SRID=4674;POINT (-40.132408 -2.84786)'))) / (select extract(epoch from '2026-08-19 14:48:15'::timestamp) - extract(epoch from '2026-08-19 14:47:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132365 -2.847809)', '2026-08-19 14:48:32', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132408 -2.84786)'), GeomFromEWKT('SRID=4674;POINT (-40.132365 -2.847809)'))) / (select extract(epoch from '2026-08-19 14:48:32'::timestamp) - extract(epoch from '2026-08-19 14:48:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132408 -2.84786)'), GeomFromEWKT('SRID=4674;POINT (-40.132365 -2.847809)'))) / (select extract(epoch from '2026-08-19 14:48:32'::timestamp) - extract(epoch from '2026-08-19 14:48:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.13231 -2.847749)', '2026-08-19 14:48:51', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132365 -2.847809)'), GeomFromEWKT('SRID=4674;POINT (-40.13231 -2.847749)'))) / (select extract(epoch from '2026-08-19 14:48:51'::timestamp) - extract(epoch from '2026-08-19 14:48:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132365 -2.847809)'), GeomFromEWKT('SRID=4674;POINT (-40.13231 -2.847749)'))) / (select extract(epoch from '2026-08-19 14:48:51'::timestamp) - extract(epoch from '2026-08-19 14:48:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132291 -2.847748)', '2026-08-19 14:49:04', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13231 -2.847749)'), GeomFromEWKT('SRID=4674;POINT (-40.132291 -2.847748)'))) / (select extract(epoch from '2026-08-19 14:49:04'::timestamp) - extract(epoch from '2026-08-19 14:48:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13231 -2.847749)'), GeomFromEWKT('SRID=4674;POINT (-40.132291 -2.847748)'))) / (select extract(epoch from '2026-08-19 14:49:04'::timestamp) - extract(epoch from '2026-08-19 14:48: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'), 48199, 'SRID=4674;POINT (-40.132292 -2.847745)', '2026-08-19 14:49:09', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132291 -2.847748)'), GeomFromEWKT('SRID=4674;POINT (-40.132292 -2.847745)'))) / (select extract(epoch from '2026-08-19 14:49:09'::timestamp) - extract(epoch from '2026-08-19 14:49:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132291 -2.847748)'), GeomFromEWKT('SRID=4674;POINT (-40.132292 -2.847745)'))) / (select extract(epoch from '2026-08-19 14:49:09'::timestamp) - extract(epoch from '2026-08-19 14:49: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'), 48199, 'SRID=4674;POINT (-40.132296 -2.847727)', '2026-08-19 14:49:11', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132292 -2.847745)'), GeomFromEWKT('SRID=4674;POINT (-40.132296 -2.847727)'))) / (select extract(epoch from '2026-08-19 14:49:11'::timestamp) - extract(epoch from '2026-08-19 14:49:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132292 -2.847745)'), GeomFromEWKT('SRID=4674;POINT (-40.132296 -2.847727)'))) / (select extract(epoch from '2026-08-19 14:49:11'::timestamp) - extract(epoch from '2026-08-19 14:49:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132321 -2.84756)', '2026-08-19 14:49:20', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132296 -2.847727)'), GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.84756)'))) / (select extract(epoch from '2026-08-19 14:49:20'::timestamp) - extract(epoch from '2026-08-19 14:49:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132296 -2.847727)'), GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.84756)'))) / (select extract(epoch from '2026-08-19 14:49:20'::timestamp) - extract(epoch from '2026-08-19 14:49: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'), 48199, 'SRID=4674;POINT (-40.132397 -2.847337)', '2026-08-19 14:49:31', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.84756)'), GeomFromEWKT('SRID=4674;POINT (-40.132397 -2.847337)'))) / (select extract(epoch from '2026-08-19 14:49:31'::timestamp) - extract(epoch from '2026-08-19 14:49:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132321 -2.84756)'), GeomFromEWKT('SRID=4674;POINT (-40.132397 -2.847337)'))) / (select extract(epoch from '2026-08-19 14:49:31'::timestamp) - extract(epoch from '2026-08-19 14:49:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132479 -2.847071)', '2026-08-19 14:49:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132397 -2.847337)'), GeomFromEWKT('SRID=4674;POINT (-40.132479 -2.847071)'))) / (select extract(epoch from '2026-08-19 14:49:43'::timestamp) - extract(epoch from '2026-08-19 14:49:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132397 -2.847337)'), GeomFromEWKT('SRID=4674;POINT (-40.132479 -2.847071)'))) / (select extract(epoch from '2026-08-19 14:49:43'::timestamp) - extract(epoch from '2026-08-19 14:49:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132565 -2.846831)', '2026-08-19 14:49:54', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132479 -2.847071)'), GeomFromEWKT('SRID=4674;POINT (-40.132565 -2.846831)'))) / (select extract(epoch from '2026-08-19 14:49:54'::timestamp) - extract(epoch from '2026-08-19 14:49:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132479 -2.847071)'), GeomFromEWKT('SRID=4674;POINT (-40.132565 -2.846831)'))) / (select extract(epoch from '2026-08-19 14:49:54'::timestamp) - extract(epoch from '2026-08-19 14:49: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'), 48199, 'SRID=4674;POINT (-40.132673 -2.846576)', '2026-08-19 14:50:06', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132565 -2.846831)'), GeomFromEWKT('SRID=4674;POINT (-40.132673 -2.846576)'))) / (select extract(epoch from '2026-08-19 14:50:06'::timestamp) - extract(epoch from '2026-08-19 14:49:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132565 -2.846831)'), GeomFromEWKT('SRID=4674;POINT (-40.132673 -2.846576)'))) / (select extract(epoch from '2026-08-19 14:50:06'::timestamp) - extract(epoch from '2026-08-19 14:49:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132789 -2.846339)', '2026-08-19 14:50:17', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132673 -2.846576)'), GeomFromEWKT('SRID=4674;POINT (-40.132789 -2.846339)'))) / (select extract(epoch from '2026-08-19 14:50:17'::timestamp) - extract(epoch from '2026-08-19 14:50:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132673 -2.846576)'), GeomFromEWKT('SRID=4674;POINT (-40.132789 -2.846339)'))) / (select extract(epoch from '2026-08-19 14:50:17'::timestamp) - extract(epoch from '2026-08-19 14:50: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'), 48199, 'SRID=4674;POINT (-40.132899 -2.846093)', '2026-08-19 14:50:28', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132789 -2.846339)'), GeomFromEWKT('SRID=4674;POINT (-40.132899 -2.846093)'))) / (select extract(epoch from '2026-08-19 14:50:28'::timestamp) - extract(epoch from '2026-08-19 14:50:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132789 -2.846339)'), GeomFromEWKT('SRID=4674;POINT (-40.132899 -2.846093)'))) / (select extract(epoch from '2026-08-19 14:50:28'::timestamp) - extract(epoch from '2026-08-19 14:50: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'), 48199, 'SRID=4674;POINT (-40.133001 -2.845824)', '2026-08-19 14:50:40', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132899 -2.846093)'), GeomFromEWKT('SRID=4674;POINT (-40.133001 -2.845824)'))) / (select extract(epoch from '2026-08-19 14:50:40'::timestamp) - extract(epoch from '2026-08-19 14:50:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132899 -2.846093)'), GeomFromEWKT('SRID=4674;POINT (-40.133001 -2.845824)'))) / (select extract(epoch from '2026-08-19 14:50:40'::timestamp) - extract(epoch from '2026-08-19 14:50: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'), 48199, 'SRID=4674;POINT (-40.133117 -2.845611)', '2026-08-19 14:50:50', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133001 -2.845824)'), GeomFromEWKT('SRID=4674;POINT (-40.133117 -2.845611)'))) / (select extract(epoch from '2026-08-19 14:50:50'::timestamp) - extract(epoch from '2026-08-19 14:50:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133001 -2.845824)'), GeomFromEWKT('SRID=4674;POINT (-40.133117 -2.845611)'))) / (select extract(epoch from '2026-08-19 14:50:50'::timestamp) - extract(epoch from '2026-08-19 14:50: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'), 48199, 'SRID=4674;POINT (-40.133266 -2.845406)', '2026-08-19 14:51:00', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133117 -2.845611)'), GeomFromEWKT('SRID=4674;POINT (-40.133266 -2.845406)'))) / (select extract(epoch from '2026-08-19 14:51:00'::timestamp) - extract(epoch from '2026-08-19 14:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133117 -2.845611)'), GeomFromEWKT('SRID=4674;POINT (-40.133266 -2.845406)'))) / (select extract(epoch from '2026-08-19 14:51:00'::timestamp) - extract(epoch from '2026-08-19 14:50: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'), 48199, 'SRID=4674;POINT (-40.13346 -2.845149)', '2026-08-19 14:51:13', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133266 -2.845406)'), GeomFromEWKT('SRID=4674;POINT (-40.13346 -2.845149)'))) / (select extract(epoch from '2026-08-19 14:51:13'::timestamp) - extract(epoch from '2026-08-19 14:51:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133266 -2.845406)'), GeomFromEWKT('SRID=4674;POINT (-40.13346 -2.845149)'))) / (select extract(epoch from '2026-08-19 14:51:13'::timestamp) - extract(epoch from '2026-08-19 14:51:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133667 -2.844941)', '2026-08-19 14:51:25', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13346 -2.845149)'), GeomFromEWKT('SRID=4674;POINT (-40.133667 -2.844941)'))) / (select extract(epoch from '2026-08-19 14:51:25'::timestamp) - extract(epoch from '2026-08-19 14:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13346 -2.845149)'), GeomFromEWKT('SRID=4674;POINT (-40.133667 -2.844941)'))) / (select extract(epoch from '2026-08-19 14:51:25'::timestamp) - extract(epoch from '2026-08-19 14:51: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'), 48199, 'SRID=4674;POINT (-40.133898 -2.844789)', '2026-08-19 14:51:37', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133667 -2.844941)'), GeomFromEWKT('SRID=4674;POINT (-40.133898 -2.844789)'))) / (select extract(epoch from '2026-08-19 14:51:37'::timestamp) - extract(epoch from '2026-08-19 14:51:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133667 -2.844941)'), GeomFromEWKT('SRID=4674;POINT (-40.133898 -2.844789)'))) / (select extract(epoch from '2026-08-19 14:51:37'::timestamp) - extract(epoch from '2026-08-19 14:51: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'), 48199, 'SRID=4674;POINT (-40.134105 -2.844694)', '2026-08-19 14:51:46', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133898 -2.844789)'), GeomFromEWKT('SRID=4674;POINT (-40.134105 -2.844694)'))) / (select extract(epoch from '2026-08-19 14:51:46'::timestamp) - extract(epoch from '2026-08-19 14:51:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133898 -2.844789)'), GeomFromEWKT('SRID=4674;POINT (-40.134105 -2.844694)'))) / (select extract(epoch from '2026-08-19 14:51:46'::timestamp) - extract(epoch from '2026-08-19 14:51: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'), 48199, 'SRID=4674;POINT (-40.13438 -2.844579)', '2026-08-19 14:51:58', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134105 -2.844694)'), GeomFromEWKT('SRID=4674;POINT (-40.13438 -2.844579)'))) / (select extract(epoch from '2026-08-19 14:51:58'::timestamp) - extract(epoch from '2026-08-19 14:51:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134105 -2.844694)'), GeomFromEWKT('SRID=4674;POINT (-40.13438 -2.844579)'))) / (select extract(epoch from '2026-08-19 14:51:58'::timestamp) - extract(epoch from '2026-08-19 14:51: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'), 48199, 'SRID=4674;POINT (-40.134679 -2.844488)', '2026-08-19 14:52:11', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13438 -2.844579)'), GeomFromEWKT('SRID=4674;POINT (-40.134679 -2.844488)'))) / (select extract(epoch from '2026-08-19 14:52:11'::timestamp) - extract(epoch from '2026-08-19 14:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13438 -2.844579)'), GeomFromEWKT('SRID=4674;POINT (-40.134679 -2.844488)'))) / (select extract(epoch from '2026-08-19 14:52:11'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.135087 -2.844397)', '2026-08-19 14:52:28', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134679 -2.844488)'), GeomFromEWKT('SRID=4674;POINT (-40.135087 -2.844397)'))) / (select extract(epoch from '2026-08-19 14:52:28'::timestamp) - extract(epoch from '2026-08-19 14:52:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134679 -2.844488)'), GeomFromEWKT('SRID=4674;POINT (-40.135087 -2.844397)'))) / (select extract(epoch from '2026-08-19 14:52:28'::timestamp) - extract(epoch from '2026-08-19 14:52: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'), 48199, 'SRID=4674;POINT (-40.135404 -2.844341)', '2026-08-19 14:52:41', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135087 -2.844397)'), GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.844341)'))) / (select extract(epoch from '2026-08-19 14:52:41'::timestamp) - extract(epoch from '2026-08-19 14:52:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135087 -2.844397)'), GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.844341)'))) / (select extract(epoch from '2026-08-19 14:52:41'::timestamp) - extract(epoch from '2026-08-19 14:52:28'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.135674 -2.844292)', '2026-08-19 14:52:52', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.844341)'), GeomFromEWKT('SRID=4674;POINT (-40.135674 -2.844292)'))) / (select extract(epoch from '2026-08-19 14:52:52'::timestamp) - extract(epoch from '2026-08-19 14:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135404 -2.844341)'), GeomFromEWKT('SRID=4674;POINT (-40.135674 -2.844292)'))) / (select extract(epoch from '2026-08-19 14:52:52'::timestamp) - extract(epoch from '2026-08-19 14:52: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'), 48199, 'SRID=4674;POINT (-40.135924 -2.844253)', '2026-08-19 14:53:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135674 -2.844292)'), GeomFromEWKT('SRID=4674;POINT (-40.135924 -2.844253)'))) / (select extract(epoch from '2026-08-19 14:53:02'::timestamp) - extract(epoch from '2026-08-19 14:52:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135674 -2.844292)'), GeomFromEWKT('SRID=4674;POINT (-40.135924 -2.844253)'))) / (select extract(epoch from '2026-08-19 14:53:02'::timestamp) - extract(epoch from '2026-08-19 14:52:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136174 -2.844245)', '2026-08-19 14:53:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135924 -2.844253)'), GeomFromEWKT('SRID=4674;POINT (-40.136174 -2.844245)'))) / (select extract(epoch from '2026-08-19 14:53:12'::timestamp) - extract(epoch from '2026-08-19 14:53:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135924 -2.844253)'), GeomFromEWKT('SRID=4674;POINT (-40.136174 -2.844245)'))) / (select extract(epoch from '2026-08-19 14:53:12'::timestamp) - extract(epoch from '2026-08-19 14:53:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136421 -2.844237)', '2026-08-19 14:53:22', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136174 -2.844245)'), GeomFromEWKT('SRID=4674;POINT (-40.136421 -2.844237)'))) / (select extract(epoch from '2026-08-19 14:53:22'::timestamp) - extract(epoch from '2026-08-19 14:53:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136174 -2.844245)'), GeomFromEWKT('SRID=4674;POINT (-40.136421 -2.844237)'))) / (select extract(epoch from '2026-08-19 14:53:22'::timestamp) - extract(epoch from '2026-08-19 14:53: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'), 48199, 'SRID=4674;POINT (-40.136705 -2.844194)', '2026-08-19 14:53:33', -1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136421 -2.844237)'), GeomFromEWKT('SRID=4674;POINT (-40.136705 -2.844194)'))) / (select extract(epoch from '2026-08-19 14:53:33'::timestamp) - extract(epoch from '2026-08-19 14:53:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136421 -2.844237)'), GeomFromEWKT('SRID=4674;POINT (-40.136705 -2.844194)'))) / (select extract(epoch from '2026-08-19 14:53:33'::timestamp) - extract(epoch from '2026-08-19 14:53: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'), 48199, 'SRID=4674;POINT (-40.136973 -2.844158)', '2026-08-19 14:53:43', -4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136705 -2.844194)'), GeomFromEWKT('SRID=4674;POINT (-40.136973 -2.844158)'))) / (select extract(epoch from '2026-08-19 14:53:43'::timestamp) - extract(epoch from '2026-08-19 14:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136705 -2.844194)'), GeomFromEWKT('SRID=4674;POINT (-40.136973 -2.844158)'))) / (select extract(epoch from '2026-08-19 14:53:43'::timestamp) - extract(epoch from '2026-08-19 14:53: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'), 48199, 'SRID=4674;POINT (-40.137235 -2.844125)', '2026-08-19 14:53:53', -3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136973 -2.844158)'), GeomFromEWKT('SRID=4674;POINT (-40.137235 -2.844125)'))) / (select extract(epoch from '2026-08-19 14:53:53'::timestamp) - extract(epoch from '2026-08-19 14:53:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136973 -2.844158)'), GeomFromEWKT('SRID=4674;POINT (-40.137235 -2.844125)'))) / (select extract(epoch from '2026-08-19 14:53:53'::timestamp) - extract(epoch from '2026-08-19 14:53:43'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.137515 -2.844074)', '2026-08-19 14:54:04', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137235 -2.844125)'), GeomFromEWKT('SRID=4674;POINT (-40.137515 -2.844074)'))) / (select extract(epoch from '2026-08-19 14:54:04'::timestamp) - extract(epoch from '2026-08-19 14:53:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137235 -2.844125)'), GeomFromEWKT('SRID=4674;POINT (-40.137515 -2.844074)'))) / (select extract(epoch from '2026-08-19 14:54:04'::timestamp) - extract(epoch from '2026-08-19 14:53: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'), 48199, 'SRID=4674;POINT (-40.13781 -2.843996)', '2026-08-19 14:54:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137515 -2.844074)'), GeomFromEWKT('SRID=4674;POINT (-40.13781 -2.843996)'))) / (select extract(epoch from '2026-08-19 14:54:16'::timestamp) - extract(epoch from '2026-08-19 14:54:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137515 -2.844074)'), GeomFromEWKT('SRID=4674;POINT (-40.13781 -2.843996)'))) / (select extract(epoch from '2026-08-19 14:54:16'::timestamp) - extract(epoch from '2026-08-19 14:54: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'), 48199, 'SRID=4674;POINT (-40.138216 -2.843925)', '2026-08-19 14:54:32', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13781 -2.843996)'), GeomFromEWKT('SRID=4674;POINT (-40.138216 -2.843925)'))) / (select extract(epoch from '2026-08-19 14:54:32'::timestamp) - extract(epoch from '2026-08-19 14:54:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13781 -2.843996)'), GeomFromEWKT('SRID=4674;POINT (-40.138216 -2.843925)'))) / (select extract(epoch from '2026-08-19 14:54:32'::timestamp) - extract(epoch from '2026-08-19 14:54:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.138484 -2.843889)', '2026-08-19 14:54:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138216 -2.843925)'), GeomFromEWKT('SRID=4674;POINT (-40.138484 -2.843889)'))) / (select extract(epoch from '2026-08-19 14:54:43'::timestamp) - extract(epoch from '2026-08-19 14:54:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138216 -2.843925)'), GeomFromEWKT('SRID=4674;POINT (-40.138484 -2.843889)'))) / (select extract(epoch from '2026-08-19 14:54:43'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.138815 -2.843805)', '2026-08-19 14:54:57', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138484 -2.843889)'), GeomFromEWKT('SRID=4674;POINT (-40.138815 -2.843805)'))) / (select extract(epoch from '2026-08-19 14:54:57'::timestamp) - extract(epoch from '2026-08-19 14:54:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138484 -2.843889)'), GeomFromEWKT('SRID=4674;POINT (-40.138815 -2.843805)'))) / (select extract(epoch from '2026-08-19 14:54:57'::timestamp) - extract(epoch from '2026-08-19 14:54: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'), 48199, 'SRID=4674;POINT (-40.138982 -2.843715)', '2026-08-19 14:55:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138815 -2.843805)'), GeomFromEWKT('SRID=4674;POINT (-40.138982 -2.843715)'))) / (select extract(epoch from '2026-08-19 14:55:05'::timestamp) - extract(epoch from '2026-08-19 14:54:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138815 -2.843805)'), GeomFromEWKT('SRID=4674;POINT (-40.138982 -2.843715)'))) / (select extract(epoch from '2026-08-19 14:55:05'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.139204 -2.843574)', '2026-08-19 14:55:16', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138982 -2.843715)'), GeomFromEWKT('SRID=4674;POINT (-40.139204 -2.843574)'))) / (select extract(epoch from '2026-08-19 14:55:16'::timestamp) - extract(epoch from '2026-08-19 14:55:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138982 -2.843715)'), GeomFromEWKT('SRID=4674;POINT (-40.139204 -2.843574)'))) / (select extract(epoch from '2026-08-19 14:55:16'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.139404 -2.843446)', '2026-08-19 14:55:27', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139204 -2.843574)'), GeomFromEWKT('SRID=4674;POINT (-40.139404 -2.843446)'))) / (select extract(epoch from '2026-08-19 14:55:27'::timestamp) - extract(epoch from '2026-08-19 14:55:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139204 -2.843574)'), GeomFromEWKT('SRID=4674;POINT (-40.139404 -2.843446)'))) / (select extract(epoch from '2026-08-19 14:55:27'::timestamp) - extract(epoch from '2026-08-19 14:55:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.139651 -2.84332)', '2026-08-19 14:55:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139404 -2.843446)'), GeomFromEWKT('SRID=4674;POINT (-40.139651 -2.84332)'))) / (select extract(epoch from '2026-08-19 14:55:39'::timestamp) - extract(epoch from '2026-08-19 14:55:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139404 -2.843446)'), GeomFromEWKT('SRID=4674;POINT (-40.139651 -2.84332)'))) / (select extract(epoch from '2026-08-19 14:55:39'::timestamp) - extract(epoch from '2026-08-19 14:55: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'), 48199, 'SRID=4674;POINT (-40.139865 -2.843204)', '2026-08-19 14:55:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139651 -2.84332)'), GeomFromEWKT('SRID=4674;POINT (-40.139865 -2.843204)'))) / (select extract(epoch from '2026-08-19 14:55:50'::timestamp) - extract(epoch from '2026-08-19 14:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139651 -2.84332)'), GeomFromEWKT('SRID=4674;POINT (-40.139865 -2.843204)'))) / (select extract(epoch from '2026-08-19 14:55:50'::timestamp) - extract(epoch from '2026-08-19 14:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140175 -2.843049)', '2026-08-19 14:56:06', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139865 -2.843204)'), GeomFromEWKT('SRID=4674;POINT (-40.140175 -2.843049)'))) / (select extract(epoch from '2026-08-19 14:56:06'::timestamp) - extract(epoch from '2026-08-19 14:55:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139865 -2.843204)'), GeomFromEWKT('SRID=4674;POINT (-40.140175 -2.843049)'))) / (select extract(epoch from '2026-08-19 14:56:06'::timestamp) - extract(epoch from '2026-08-19 14:55: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'), 48199, 'SRID=4674;POINT (-40.140391 -2.842907)', '2026-08-19 14:56:18', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140175 -2.843049)'), GeomFromEWKT('SRID=4674;POINT (-40.140391 -2.842907)'))) / (select extract(epoch from '2026-08-19 14:56:18'::timestamp) - extract(epoch from '2026-08-19 14:56:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140175 -2.843049)'), GeomFromEWKT('SRID=4674;POINT (-40.140391 -2.842907)'))) / (select extract(epoch from '2026-08-19 14:56:18'::timestamp) - extract(epoch from '2026-08-19 14:56:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140584 -2.842764)', '2026-08-19 14:56:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140391 -2.842907)'), GeomFromEWKT('SRID=4674;POINT (-40.140584 -2.842764)'))) / (select extract(epoch from '2026-08-19 14:56:29'::timestamp) - extract(epoch from '2026-08-19 14:56:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140391 -2.842907)'), GeomFromEWKT('SRID=4674;POINT (-40.140584 -2.842764)'))) / (select extract(epoch from '2026-08-19 14:56:29'::timestamp) - extract(epoch from '2026-08-19 14:56: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'), 48199, 'SRID=4674;POINT (-40.14076 -2.842639)', '2026-08-19 14:56:39', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140584 -2.842764)'), GeomFromEWKT('SRID=4674;POINT (-40.14076 -2.842639)'))) / (select extract(epoch from '2026-08-19 14:56:39'::timestamp) - extract(epoch from '2026-08-19 14:56:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140584 -2.842764)'), GeomFromEWKT('SRID=4674;POINT (-40.14076 -2.842639)'))) / (select extract(epoch from '2026-08-19 14:56:39'::timestamp) - extract(epoch from '2026-08-19 14:56: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'), 48199, 'SRID=4674;POINT (-40.140931 -2.842503)', '2026-08-19 14:56:49', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14076 -2.842639)'), GeomFromEWKT('SRID=4674;POINT (-40.140931 -2.842503)'))) / (select extract(epoch from '2026-08-19 14:56:49'::timestamp) - extract(epoch from '2026-08-19 14:56:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14076 -2.842639)'), GeomFromEWKT('SRID=4674;POINT (-40.140931 -2.842503)'))) / (select extract(epoch from '2026-08-19 14:56:49'::timestamp) - extract(epoch from '2026-08-19 14:56: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'), 48199, 'SRID=4674;POINT (-40.141118 -2.842364)', '2026-08-19 14:57:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140931 -2.842503)'), GeomFromEWKT('SRID=4674;POINT (-40.141118 -2.842364)'))) / (select extract(epoch from '2026-08-19 14:57:00'::timestamp) - extract(epoch from '2026-08-19 14:56:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140931 -2.842503)'), GeomFromEWKT('SRID=4674;POINT (-40.141118 -2.842364)'))) / (select extract(epoch from '2026-08-19 14:57:00'::timestamp) - extract(epoch from '2026-08-19 14:56: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'), 48199, 'SRID=4674;POINT (-40.141302 -2.842208)', '2026-08-19 14:57:11', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141118 -2.842364)'), GeomFromEWKT('SRID=4674;POINT (-40.141302 -2.842208)'))) / (select extract(epoch from '2026-08-19 14:57:11'::timestamp) - extract(epoch from '2026-08-19 14:57:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141118 -2.842364)'), GeomFromEWKT('SRID=4674;POINT (-40.141302 -2.842208)'))) / (select extract(epoch from '2026-08-19 14:57:11'::timestamp) - extract(epoch from '2026-08-19 14:57: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'), 48199, 'SRID=4674;POINT (-40.141444 -2.842082)', '2026-08-19 14:57:20', 0.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141302 -2.842208)'), GeomFromEWKT('SRID=4674;POINT (-40.141444 -2.842082)'))) / (select extract(epoch from '2026-08-19 14:57:20'::timestamp) - extract(epoch from '2026-08-19 14:57:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141302 -2.842208)'), GeomFromEWKT('SRID=4674;POINT (-40.141444 -2.842082)'))) / (select extract(epoch from '2026-08-19 14:57:20'::timestamp) - extract(epoch from '2026-08-19 14:57: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'), 48199, 'SRID=4674;POINT (-40.14164 -2.841923)', '2026-08-19 14:57:31', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141444 -2.842082)'), GeomFromEWKT('SRID=4674;POINT (-40.14164 -2.841923)'))) / (select extract(epoch from '2026-08-19 14:57:31'::timestamp) - extract(epoch from '2026-08-19 14:57:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141444 -2.842082)'), GeomFromEWKT('SRID=4674;POINT (-40.14164 -2.841923)'))) / (select extract(epoch from '2026-08-19 14:57:31'::timestamp) - extract(epoch from '2026-08-19 14:57:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.141841 -2.841735)', '2026-08-19 14:57:43', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14164 -2.841923)'), GeomFromEWKT('SRID=4674;POINT (-40.141841 -2.841735)'))) / (select extract(epoch from '2026-08-19 14:57:43'::timestamp) - extract(epoch from '2026-08-19 14:57:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14164 -2.841923)'), GeomFromEWKT('SRID=4674;POINT (-40.141841 -2.841735)'))) / (select extract(epoch from '2026-08-19 14:57:43'::timestamp) - extract(epoch from '2026-08-19 14:57:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.142026 -2.841544)', '2026-08-19 14:57:55', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141841 -2.841735)'), GeomFromEWKT('SRID=4674;POINT (-40.142026 -2.841544)'))) / (select extract(epoch from '2026-08-19 14:57:55'::timestamp) - extract(epoch from '2026-08-19 14:57:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141841 -2.841735)'), GeomFromEWKT('SRID=4674;POINT (-40.142026 -2.841544)'))) / (select extract(epoch from '2026-08-19 14:57:55'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.142258 -2.841269)', '2026-08-19 14:58:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142026 -2.841544)'), GeomFromEWKT('SRID=4674;POINT (-40.142258 -2.841269)'))) / (select extract(epoch from '2026-08-19 14:58:11'::timestamp) - extract(epoch from '2026-08-19 14:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142026 -2.841544)'), GeomFromEWKT('SRID=4674;POINT (-40.142258 -2.841269)'))) / (select extract(epoch from '2026-08-19 14:58:11'::timestamp) - extract(epoch from '2026-08-19 14: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'), 48199, 'SRID=4674;POINT (-40.142449 -2.841032)', '2026-08-19 14:58:24', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142258 -2.841269)'), GeomFromEWKT('SRID=4674;POINT (-40.142449 -2.841032)'))) / (select extract(epoch from '2026-08-19 14:58:24'::timestamp) - extract(epoch from '2026-08-19 14:58:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142258 -2.841269)'), GeomFromEWKT('SRID=4674;POINT (-40.142449 -2.841032)'))) / (select extract(epoch from '2026-08-19 14:58:24'::timestamp) - extract(epoch from '2026-08-19 14:58:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.142668 -2.840774)', '2026-08-19 14:58:38', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142449 -2.841032)'), GeomFromEWKT('SRID=4674;POINT (-40.142668 -2.840774)'))) / (select extract(epoch from '2026-08-19 14:58:38'::timestamp) - extract(epoch from '2026-08-19 14:58:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142449 -2.841032)'), GeomFromEWKT('SRID=4674;POINT (-40.142668 -2.840774)'))) / (select extract(epoch from '2026-08-19 14:58:38'::timestamp) - extract(epoch from '2026-08-19 14:58: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'), 48199, 'SRID=4674;POINT (-40.142841 -2.840574)', '2026-08-19 14:58:49', 9.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142668 -2.840774)'), GeomFromEWKT('SRID=4674;POINT (-40.142841 -2.840574)'))) / (select extract(epoch from '2026-08-19 14:58:49'::timestamp) - extract(epoch from '2026-08-19 14:58:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142668 -2.840774)'), GeomFromEWKT('SRID=4674;POINT (-40.142841 -2.840574)'))) / (select extract(epoch from '2026-08-19 14:58:49'::timestamp) - extract(epoch from '2026-08-19 14:58: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'), 48199, 'SRID=4674;POINT (-40.142986 -2.840343)', '2026-08-19 14:59:00', 10.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142841 -2.840574)'), GeomFromEWKT('SRID=4674;POINT (-40.142986 -2.840343)'))) / (select extract(epoch from '2026-08-19 14:59:00'::timestamp) - extract(epoch from '2026-08-19 14:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142841 -2.840574)'), GeomFromEWKT('SRID=4674;POINT (-40.142986 -2.840343)'))) / (select extract(epoch from '2026-08-19 14:59:00'::timestamp) - extract(epoch from '2026-08-19 14:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143075 -2.840113)', '2026-08-19 14:59:10', 10, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142986 -2.840343)'), GeomFromEWKT('SRID=4674;POINT (-40.143075 -2.840113)'))) / (select extract(epoch from '2026-08-19 14:59:10'::timestamp) - extract(epoch from '2026-08-19 14:59:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142986 -2.840343)'), GeomFromEWKT('SRID=4674;POINT (-40.143075 -2.840113)'))) / (select extract(epoch from '2026-08-19 14:59:10'::timestamp) - extract(epoch from '2026-08-19 14:59: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'), 48199, 'SRID=4674;POINT (-40.143139 -2.839871)', '2026-08-19 14:59:20', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143075 -2.840113)'), GeomFromEWKT('SRID=4674;POINT (-40.143139 -2.839871)'))) / (select extract(epoch from '2026-08-19 14:59:20'::timestamp) - extract(epoch from '2026-08-19 14:59:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143075 -2.840113)'), GeomFromEWKT('SRID=4674;POINT (-40.143139 -2.839871)'))) / (select extract(epoch from '2026-08-19 14:59:20'::timestamp) - extract(epoch from '2026-08-19 14:59: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'), 48199, 'SRID=4674;POINT (-40.143219 -2.839612)', '2026-08-19 14:59:31', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143139 -2.839871)'), GeomFromEWKT('SRID=4674;POINT (-40.143219 -2.839612)'))) / (select extract(epoch from '2026-08-19 14:59:31'::timestamp) - extract(epoch from '2026-08-19 14:59:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143139 -2.839871)'), GeomFromEWKT('SRID=4674;POINT (-40.143219 -2.839612)'))) / (select extract(epoch from '2026-08-19 14:59:31'::timestamp) - extract(epoch from '2026-08-19 14:59: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'), 48199, 'SRID=4674;POINT (-40.143297 -2.839334)', '2026-08-19 14:59:43', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143219 -2.839612)'), GeomFromEWKT('SRID=4674;POINT (-40.143297 -2.839334)'))) / (select extract(epoch from '2026-08-19 14:59:43'::timestamp) - extract(epoch from '2026-08-19 14:59:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143219 -2.839612)'), GeomFromEWKT('SRID=4674;POINT (-40.143297 -2.839334)'))) / (select extract(epoch from '2026-08-19 14:59:43'::timestamp) - extract(epoch from '2026-08-19 14:59: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'), 48199, 'SRID=4674;POINT (-40.143366 -2.839059)', '2026-08-19 14:59:55', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143297 -2.839334)'), GeomFromEWKT('SRID=4674;POINT (-40.143366 -2.839059)'))) / (select extract(epoch from '2026-08-19 14:59:55'::timestamp) - extract(epoch from '2026-08-19 14:59:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143297 -2.839334)'), GeomFromEWKT('SRID=4674;POINT (-40.143366 -2.839059)'))) / (select extract(epoch from '2026-08-19 14:59:55'::timestamp) - extract(epoch from '2026-08-19 14:59: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'), 48199, 'SRID=4674;POINT (-40.14344 -2.838826)', '2026-08-19 15:00:05', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143366 -2.839059)'), GeomFromEWKT('SRID=4674;POINT (-40.14344 -2.838826)'))) / (select extract(epoch from '2026-08-19 15:00:05'::timestamp) - extract(epoch from '2026-08-19 14:59:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143366 -2.839059)'), GeomFromEWKT('SRID=4674;POINT (-40.14344 -2.838826)'))) / (select extract(epoch from '2026-08-19 15:00:05'::timestamp) - extract(epoch from '2026-08-19 14:59: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'), 48199, 'SRID=4674;POINT (-40.143548 -2.8384)', '2026-08-19 15:00:23', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14344 -2.838826)'), GeomFromEWKT('SRID=4674;POINT (-40.143548 -2.8384)'))) / (select extract(epoch from '2026-08-19 15:00:23'::timestamp) - extract(epoch from '2026-08-19 15:00:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14344 -2.838826)'), GeomFromEWKT('SRID=4674;POINT (-40.143548 -2.8384)'))) / (select extract(epoch from '2026-08-19 15:00:23'::timestamp) - extract(epoch from '2026-08-19 15:00: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'), 48199, 'SRID=4674;POINT (-40.143634 -2.837972)', '2026-08-19 15:00:41', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143548 -2.8384)'), GeomFromEWKT('SRID=4674;POINT (-40.143634 -2.837972)'))) / (select extract(epoch from '2026-08-19 15:00:41'::timestamp) - extract(epoch from '2026-08-19 15:00:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143548 -2.8384)'), GeomFromEWKT('SRID=4674;POINT (-40.143634 -2.837972)'))) / (select extract(epoch from '2026-08-19 15:00:41'::timestamp) - extract(epoch from '2026-08-19 15:00: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'), 48199, 'SRID=4674;POINT (-40.143701 -2.837515)', '2026-08-19 15:01:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143634 -2.837972)'), GeomFromEWKT('SRID=4674;POINT (-40.143701 -2.837515)'))) / (select extract(epoch from '2026-08-19 15:01:00'::timestamp) - extract(epoch from '2026-08-19 15:00:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143634 -2.837972)'), GeomFromEWKT('SRID=4674;POINT (-40.143701 -2.837515)'))) / (select extract(epoch from '2026-08-19 15:01:00'::timestamp) - extract(epoch from '2026-08-19 15:00: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'), 48199, 'SRID=4674;POINT (-40.143721 -2.837396)', '2026-08-19 15:01:05', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143701 -2.837515)'), GeomFromEWKT('SRID=4674;POINT (-40.143721 -2.837396)'))) / (select extract(epoch from '2026-08-19 15:01:05'::timestamp) - extract(epoch from '2026-08-19 15:01:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143701 -2.837515)'), GeomFromEWKT('SRID=4674;POINT (-40.143721 -2.837396)'))) / (select extract(epoch from '2026-08-19 15:01:05'::timestamp) - extract(epoch from '2026-08-19 15:01: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'), 48199, 'SRID=4674;POINT (-40.143769 -2.837134)', '2026-08-19 15:01:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143721 -2.837396)'), GeomFromEWKT('SRID=4674;POINT (-40.143769 -2.837134)'))) / (select extract(epoch from '2026-08-19 15:01:16'::timestamp) - extract(epoch from '2026-08-19 15:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143721 -2.837396)'), GeomFromEWKT('SRID=4674;POINT (-40.143769 -2.837134)'))) / (select extract(epoch from '2026-08-19 15:01:16'::timestamp) - extract(epoch from '2026-08-19 15:01: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'), 48199, 'SRID=4674;POINT (-40.14381 -2.836869)', '2026-08-19 15:01:27', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143769 -2.837134)'), GeomFromEWKT('SRID=4674;POINT (-40.14381 -2.836869)'))) / (select extract(epoch from '2026-08-19 15:01:27'::timestamp) - extract(epoch from '2026-08-19 15:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143769 -2.837134)'), GeomFromEWKT('SRID=4674;POINT (-40.14381 -2.836869)'))) / (select extract(epoch from '2026-08-19 15:01:27'::timestamp) - extract(epoch from '2026-08-19 15:01: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'), 48199, 'SRID=4674;POINT (-40.143886 -2.836465)', '2026-08-19 15:01:45', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14381 -2.836869)'), GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.836465)'))) / (select extract(epoch from '2026-08-19 15:01:45'::timestamp) - extract(epoch from '2026-08-19 15:01:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14381 -2.836869)'), GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.836465)'))) / (select extract(epoch from '2026-08-19 15:01:45'::timestamp) - extract(epoch from '2026-08-19 15:01: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'), 48199, 'SRID=4674;POINT (-40.143966 -2.83609)', '2026-08-19 15:02:02', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.836465)'), GeomFromEWKT('SRID=4674;POINT (-40.143966 -2.83609)'))) / (select extract(epoch from '2026-08-19 15:02:02'::timestamp) - extract(epoch from '2026-08-19 15:01:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143886 -2.836465)'), GeomFromEWKT('SRID=4674;POINT (-40.143966 -2.83609)'))) / (select extract(epoch from '2026-08-19 15:02:02'::timestamp) - extract(epoch from '2026-08-19 15:01: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'), 48199, 'SRID=4674;POINT (-40.144041 -2.835824)', '2026-08-19 15:02:14', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143966 -2.83609)'), GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.835824)'))) / (select extract(epoch from '2026-08-19 15:02:14'::timestamp) - extract(epoch from '2026-08-19 15:02:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143966 -2.83609)'), GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.835824)'))) / (select extract(epoch from '2026-08-19 15:02:14'::timestamp) - extract(epoch from '2026-08-19 15:02: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'), 48199, 'SRID=4674;POINT (-40.144142 -2.835536)', '2026-08-19 15:02:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.835824)'), GeomFromEWKT('SRID=4674;POINT (-40.144142 -2.835536)'))) / (select extract(epoch from '2026-08-19 15:02:27'::timestamp) - extract(epoch from '2026-08-19 15:02:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144041 -2.835824)'), GeomFromEWKT('SRID=4674;POINT (-40.144142 -2.835536)'))) / (select extract(epoch from '2026-08-19 15:02:27'::timestamp) - extract(epoch from '2026-08-19 15:02:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144227 -2.835304)', '2026-08-19 15:02:38', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144142 -2.835536)'), GeomFromEWKT('SRID=4674;POINT (-40.144227 -2.835304)'))) / (select extract(epoch from '2026-08-19 15:02:38'::timestamp) - extract(epoch from '2026-08-19 15:02:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144142 -2.835536)'), GeomFromEWKT('SRID=4674;POINT (-40.144227 -2.835304)'))) / (select extract(epoch from '2026-08-19 15:02:38'::timestamp) - extract(epoch from '2026-08-19 15:02:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144326 -2.835033)', '2026-08-19 15:02:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144227 -2.835304)'), GeomFromEWKT('SRID=4674;POINT (-40.144326 -2.835033)'))) / (select extract(epoch from '2026-08-19 15:02:51'::timestamp) - extract(epoch from '2026-08-19 15:02:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144227 -2.835304)'), GeomFromEWKT('SRID=4674;POINT (-40.144326 -2.835033)'))) / (select extract(epoch from '2026-08-19 15:02:51'::timestamp) - extract(epoch from '2026-08-19 15:02: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'), 48199, 'SRID=4674;POINT (-40.144382 -2.834796)', '2026-08-19 15:03:02', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144326 -2.835033)'), GeomFromEWKT('SRID=4674;POINT (-40.144382 -2.834796)'))) / (select extract(epoch from '2026-08-19 15:03:02'::timestamp) - extract(epoch from '2026-08-19 15:02:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144326 -2.835033)'), GeomFromEWKT('SRID=4674;POINT (-40.144382 -2.834796)'))) / (select extract(epoch from '2026-08-19 15:03:02'::timestamp) - extract(epoch from '2026-08-19 15:02: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'), 48199, 'SRID=4674;POINT (-40.144451 -2.834587)', '2026-08-19 15:03:12', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144382 -2.834796)'), GeomFromEWKT('SRID=4674;POINT (-40.144451 -2.834587)'))) / (select extract(epoch from '2026-08-19 15:03:12'::timestamp) - extract(epoch from '2026-08-19 15:03:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144382 -2.834796)'), GeomFromEWKT('SRID=4674;POINT (-40.144451 -2.834587)'))) / (select extract(epoch from '2026-08-19 15:03:12'::timestamp) - extract(epoch from '2026-08-19 15:03: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'), 48199, 'SRID=4674;POINT (-40.144534 -2.834387)', '2026-08-19 15:03:22', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144451 -2.834587)'), GeomFromEWKT('SRID=4674;POINT (-40.144534 -2.834387)'))) / (select extract(epoch from '2026-08-19 15:03:22'::timestamp) - extract(epoch from '2026-08-19 15:03:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144451 -2.834587)'), GeomFromEWKT('SRID=4674;POINT (-40.144534 -2.834387)'))) / (select extract(epoch from '2026-08-19 15:03:22'::timestamp) - extract(epoch from '2026-08-19 15:03: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'), 48199, 'SRID=4674;POINT (-40.144635 -2.834147)', '2026-08-19 15:03:34', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144534 -2.834387)'), GeomFromEWKT('SRID=4674;POINT (-40.144635 -2.834147)'))) / (select extract(epoch from '2026-08-19 15:03:34'::timestamp) - extract(epoch from '2026-08-19 15:03:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144534 -2.834387)'), GeomFromEWKT('SRID=4674;POINT (-40.144635 -2.834147)'))) / (select extract(epoch from '2026-08-19 15:03:34'::timestamp) - extract(epoch from '2026-08-19 15:03:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144757 -2.833853)', '2026-08-19 15:03:49', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144635 -2.834147)'), GeomFromEWKT('SRID=4674;POINT (-40.144757 -2.833853)'))) / (select extract(epoch from '2026-08-19 15:03:49'::timestamp) - extract(epoch from '2026-08-19 15:03:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144635 -2.834147)'), GeomFromEWKT('SRID=4674;POINT (-40.144757 -2.833853)'))) / (select extract(epoch from '2026-08-19 15:03:49'::timestamp) - extract(epoch from '2026-08-19 15:03: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'), 48199, 'SRID=4674;POINT (-40.144849 -2.833637)', '2026-08-19 15:04:00', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144757 -2.833853)'), GeomFromEWKT('SRID=4674;POINT (-40.144849 -2.833637)'))) / (select extract(epoch from '2026-08-19 15:04:00'::timestamp) - extract(epoch from '2026-08-19 15:03:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144757 -2.833853)'), GeomFromEWKT('SRID=4674;POINT (-40.144849 -2.833637)'))) / (select extract(epoch from '2026-08-19 15:04:00'::timestamp) - extract(epoch from '2026-08-19 15:03: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'), 48199, 'SRID=4674;POINT (-40.144952 -2.833417)', '2026-08-19 15:04:11', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144849 -2.833637)'), GeomFromEWKT('SRID=4674;POINT (-40.144952 -2.833417)'))) / (select extract(epoch from '2026-08-19 15:04:11'::timestamp) - extract(epoch from '2026-08-19 15:04:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144849 -2.833637)'), GeomFromEWKT('SRID=4674;POINT (-40.144952 -2.833417)'))) / (select extract(epoch from '2026-08-19 15:04:11'::timestamp) - extract(epoch from '2026-08-19 15:04: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'), 48199, 'SRID=4674;POINT (-40.145038 -2.833237)', '2026-08-19 15:04:20', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144952 -2.833417)'), GeomFromEWKT('SRID=4674;POINT (-40.145038 -2.833237)'))) / (select extract(epoch from '2026-08-19 15:04:20'::timestamp) - extract(epoch from '2026-08-19 15:04:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144952 -2.833417)'), GeomFromEWKT('SRID=4674;POINT (-40.145038 -2.833237)'))) / (select extract(epoch from '2026-08-19 15:04:20'::timestamp) - extract(epoch from '2026-08-19 15:04: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'), 48199, 'SRID=4674;POINT (-40.145167 -2.832993)', '2026-08-19 15:04:33', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145038 -2.833237)'), GeomFromEWKT('SRID=4674;POINT (-40.145167 -2.832993)'))) / (select extract(epoch from '2026-08-19 15:04:33'::timestamp) - extract(epoch from '2026-08-19 15:04:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145038 -2.833237)'), GeomFromEWKT('SRID=4674;POINT (-40.145167 -2.832993)'))) / (select extract(epoch from '2026-08-19 15:04:33'::timestamp) - extract(epoch from '2026-08-19 15:04: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'), 48199, 'SRID=4674;POINT (-40.145287 -2.832766)', '2026-08-19 15:04:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145167 -2.832993)'), GeomFromEWKT('SRID=4674;POINT (-40.145287 -2.832766)'))) / (select extract(epoch from '2026-08-19 15:04:45'::timestamp) - extract(epoch from '2026-08-19 15:04:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145167 -2.832993)'), GeomFromEWKT('SRID=4674;POINT (-40.145287 -2.832766)'))) / (select extract(epoch from '2026-08-19 15:04:45'::timestamp) - extract(epoch from '2026-08-19 15:04: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'), 48199, 'SRID=4674;POINT (-40.145404 -2.832591)', '2026-08-19 15:04:55', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145287 -2.832766)'), GeomFromEWKT('SRID=4674;POINT (-40.145404 -2.832591)'))) / (select extract(epoch from '2026-08-19 15:04:55'::timestamp) - extract(epoch from '2026-08-19 15:04:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145287 -2.832766)'), GeomFromEWKT('SRID=4674;POINT (-40.145404 -2.832591)'))) / (select extract(epoch from '2026-08-19 15:04:55'::timestamp) - extract(epoch from '2026-08-19 15:04:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.145485 -2.832419)', '2026-08-19 15:05:04', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145404 -2.832591)'), GeomFromEWKT('SRID=4674;POINT (-40.145485 -2.832419)'))) / (select extract(epoch from '2026-08-19 15:05:04'::timestamp) - extract(epoch from '2026-08-19 15:04:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145404 -2.832591)'), GeomFromEWKT('SRID=4674;POINT (-40.145485 -2.832419)'))) / (select extract(epoch from '2026-08-19 15:05:04'::timestamp) - extract(epoch from '2026-08-19 15:04: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'), 48199, 'SRID=4674;POINT (-40.145571 -2.832183)', '2026-08-19 15:05:16', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145485 -2.832419)'), GeomFromEWKT('SRID=4674;POINT (-40.145571 -2.832183)'))) / (select extract(epoch from '2026-08-19 15:05:16'::timestamp) - extract(epoch from '2026-08-19 15:05:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145485 -2.832419)'), GeomFromEWKT('SRID=4674;POINT (-40.145571 -2.832183)'))) / (select extract(epoch from '2026-08-19 15:05:16'::timestamp) - extract(epoch from '2026-08-19 15:05: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'), 48199, 'SRID=4674;POINT (-40.145661 -2.831975)', '2026-08-19 15:05:27', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145571 -2.832183)'), GeomFromEWKT('SRID=4674;POINT (-40.145661 -2.831975)'))) / (select extract(epoch from '2026-08-19 15:05:27'::timestamp) - extract(epoch from '2026-08-19 15:05:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145571 -2.832183)'), GeomFromEWKT('SRID=4674;POINT (-40.145661 -2.831975)'))) / (select extract(epoch from '2026-08-19 15:05:27'::timestamp) - extract(epoch from '2026-08-19 15:05: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'), 48199, 'SRID=4674;POINT (-40.145769 -2.83171)', '2026-08-19 15:05:40', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145661 -2.831975)'), GeomFromEWKT('SRID=4674;POINT (-40.145769 -2.83171)'))) / (select extract(epoch from '2026-08-19 15:05:40'::timestamp) - extract(epoch from '2026-08-19 15:05:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145661 -2.831975)'), GeomFromEWKT('SRID=4674;POINT (-40.145769 -2.83171)'))) / (select extract(epoch from '2026-08-19 15:05:40'::timestamp) - extract(epoch from '2026-08-19 15:05: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'), 48199, 'SRID=4674;POINT (-40.145917 -2.831391)', '2026-08-19 15:05:55', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145769 -2.83171)'), GeomFromEWKT('SRID=4674;POINT (-40.145917 -2.831391)'))) / (select extract(epoch from '2026-08-19 15:05:55'::timestamp) - extract(epoch from '2026-08-19 15:05:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145769 -2.83171)'), GeomFromEWKT('SRID=4674;POINT (-40.145917 -2.831391)'))) / (select extract(epoch from '2026-08-19 15:05:55'::timestamp) - extract(epoch from '2026-08-19 15:05: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'), 48199, 'SRID=4674;POINT (-40.146044 -2.831143)', '2026-08-19 15:06:07', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145917 -2.831391)'), GeomFromEWKT('SRID=4674;POINT (-40.146044 -2.831143)'))) / (select extract(epoch from '2026-08-19 15:06:07'::timestamp) - extract(epoch from '2026-08-19 15:05:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145917 -2.831391)'), GeomFromEWKT('SRID=4674;POINT (-40.146044 -2.831143)'))) / (select extract(epoch from '2026-08-19 15:06:07'::timestamp) - extract(epoch from '2026-08-19 15:05: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'), 48199, 'SRID=4674;POINT (-40.146169 -2.830935)', '2026-08-19 15:06:17', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146044 -2.831143)'), GeomFromEWKT('SRID=4674;POINT (-40.146169 -2.830935)'))) / (select extract(epoch from '2026-08-19 15:06:17'::timestamp) - extract(epoch from '2026-08-19 15:06:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146044 -2.831143)'), GeomFromEWKT('SRID=4674;POINT (-40.146169 -2.830935)'))) / (select extract(epoch from '2026-08-19 15:06:17'::timestamp) - extract(epoch from '2026-08-19 15:06: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'), 48199, 'SRID=4674;POINT (-40.146328 -2.83064)', '2026-08-19 15:06:31', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146169 -2.830935)'), GeomFromEWKT('SRID=4674;POINT (-40.146328 -2.83064)'))) / (select extract(epoch from '2026-08-19 15:06:31'::timestamp) - extract(epoch from '2026-08-19 15:06:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146169 -2.830935)'), GeomFromEWKT('SRID=4674;POINT (-40.146328 -2.83064)'))) / (select extract(epoch from '2026-08-19 15:06:31'::timestamp) - extract(epoch from '2026-08-19 15:06: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'), 48199, 'SRID=4674;POINT (-40.146501 -2.830405)', '2026-08-19 15:06:43', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146328 -2.83064)'), GeomFromEWKT('SRID=4674;POINT (-40.146501 -2.830405)'))) / (select extract(epoch from '2026-08-19 15:06:43'::timestamp) - extract(epoch from '2026-08-19 15:06:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146328 -2.83064)'), GeomFromEWKT('SRID=4674;POINT (-40.146501 -2.830405)'))) / (select extract(epoch from '2026-08-19 15:06:43'::timestamp) - extract(epoch from '2026-08-19 15:06: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'), 48199, 'SRID=4674;POINT (-40.146661 -2.830229)', '2026-08-19 15:06:53', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146501 -2.830405)'), GeomFromEWKT('SRID=4674;POINT (-40.146661 -2.830229)'))) / (select extract(epoch from '2026-08-19 15:06:53'::timestamp) - extract(epoch from '2026-08-19 15:06:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146501 -2.830405)'), GeomFromEWKT('SRID=4674;POINT (-40.146661 -2.830229)'))) / (select extract(epoch from '2026-08-19 15:06:53'::timestamp) - extract(epoch from '2026-08-19 15:06: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'), 48199, 'SRID=4674;POINT (-40.146851 -2.830043)', '2026-08-19 15:07:04', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146661 -2.830229)'), GeomFromEWKT('SRID=4674;POINT (-40.146851 -2.830043)'))) / (select extract(epoch from '2026-08-19 15:07:04'::timestamp) - extract(epoch from '2026-08-19 15:06:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146661 -2.830229)'), GeomFromEWKT('SRID=4674;POINT (-40.146851 -2.830043)'))) / (select extract(epoch from '2026-08-19 15:07:04'::timestamp) - extract(epoch from '2026-08-19 15:06: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'), 48199, 'SRID=4674;POINT (-40.147032 -2.829861)', '2026-08-19 15:07:14', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146851 -2.830043)'), GeomFromEWKT('SRID=4674;POINT (-40.147032 -2.829861)'))) / (select extract(epoch from '2026-08-19 15:07:14'::timestamp) - extract(epoch from '2026-08-19 15:07:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146851 -2.830043)'), GeomFromEWKT('SRID=4674;POINT (-40.147032 -2.829861)'))) / (select extract(epoch from '2026-08-19 15:07:14'::timestamp) - extract(epoch from '2026-08-19 15:07:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.147251 -2.829674)', '2026-08-19 15:07:25', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147032 -2.829861)'), GeomFromEWKT('SRID=4674;POINT (-40.147251 -2.829674)'))) / (select extract(epoch from '2026-08-19 15:07:25'::timestamp) - extract(epoch from '2026-08-19 15:07:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147032 -2.829861)'), GeomFromEWKT('SRID=4674;POINT (-40.147251 -2.829674)'))) / (select extract(epoch from '2026-08-19 15:07:25'::timestamp) - extract(epoch from '2026-08-19 15:07:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.147493 -2.829451)', '2026-08-19 15:07:38', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147251 -2.829674)'), GeomFromEWKT('SRID=4674;POINT (-40.147493 -2.829451)'))) / (select extract(epoch from '2026-08-19 15:07:38'::timestamp) - extract(epoch from '2026-08-19 15:07:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147251 -2.829674)'), GeomFromEWKT('SRID=4674;POINT (-40.147493 -2.829451)'))) / (select extract(epoch from '2026-08-19 15:07:38'::timestamp) - extract(epoch from '2026-08-19 15:07: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'), 48199, 'SRID=4674;POINT (-40.147741 -2.829269)', '2026-08-19 15:07:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147493 -2.829451)'), GeomFromEWKT('SRID=4674;POINT (-40.147741 -2.829269)'))) / (select extract(epoch from '2026-08-19 15:07:50'::timestamp) - extract(epoch from '2026-08-19 15:07:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147493 -2.829451)'), GeomFromEWKT('SRID=4674;POINT (-40.147741 -2.829269)'))) / (select extract(epoch from '2026-08-19 15:07:50'::timestamp) - extract(epoch from '2026-08-19 15:07:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.147966 -2.829112)', '2026-08-19 15:08:01', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147741 -2.829269)'), GeomFromEWKT('SRID=4674;POINT (-40.147966 -2.829112)'))) / (select extract(epoch from '2026-08-19 15:08:01'::timestamp) - extract(epoch from '2026-08-19 15:07:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147741 -2.829269)'), GeomFromEWKT('SRID=4674;POINT (-40.147966 -2.829112)'))) / (select extract(epoch from '2026-08-19 15:08:01'::timestamp) - extract(epoch from '2026-08-19 15:07:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.148184 -2.828973)', '2026-08-19 15:08:11', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147966 -2.829112)'), GeomFromEWKT('SRID=4674;POINT (-40.148184 -2.828973)'))) / (select extract(epoch from '2026-08-19 15:08:11'::timestamp) - extract(epoch from '2026-08-19 15:08:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147966 -2.829112)'), GeomFromEWKT('SRID=4674;POINT (-40.148184 -2.828973)'))) / (select extract(epoch from '2026-08-19 15:08:11'::timestamp) - extract(epoch from '2026-08-19 15:08:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.148432 -2.828828)', '2026-08-19 15:08:22', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148184 -2.828973)'), GeomFromEWKT('SRID=4674;POINT (-40.148432 -2.828828)'))) / (select extract(epoch from '2026-08-19 15:08:22'::timestamp) - extract(epoch from '2026-08-19 15:08:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148184 -2.828973)'), GeomFromEWKT('SRID=4674;POINT (-40.148432 -2.828828)'))) / (select extract(epoch from '2026-08-19 15:08:22'::timestamp) - extract(epoch from '2026-08-19 15:08: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'), 48199, 'SRID=4674;POINT (-40.148714 -2.828653)', '2026-08-19 15:08:35', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148432 -2.828828)'), GeomFromEWKT('SRID=4674;POINT (-40.148714 -2.828653)'))) / (select extract(epoch from '2026-08-19 15:08:35'::timestamp) - extract(epoch from '2026-08-19 15:08:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148432 -2.828828)'), GeomFromEWKT('SRID=4674;POINT (-40.148714 -2.828653)'))) / (select extract(epoch from '2026-08-19 15:08:35'::timestamp) - extract(epoch from '2026-08-19 15:08:22'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14895 -2.828487)', '2026-08-19 15:08:47', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148714 -2.828653)'), GeomFromEWKT('SRID=4674;POINT (-40.14895 -2.828487)'))) / (select extract(epoch from '2026-08-19 15:08:47'::timestamp) - extract(epoch from '2026-08-19 15:08:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148714 -2.828653)'), GeomFromEWKT('SRID=4674;POINT (-40.14895 -2.828487)'))) / (select extract(epoch from '2026-08-19 15:08:47'::timestamp) - extract(epoch from '2026-08-19 15:08:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.149141 -2.828331)', '2026-08-19 15:08:56', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14895 -2.828487)'), GeomFromEWKT('SRID=4674;POINT (-40.149141 -2.828331)'))) / (select extract(epoch from '2026-08-19 15:08:56'::timestamp) - extract(epoch from '2026-08-19 15:08:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14895 -2.828487)'), GeomFromEWKT('SRID=4674;POINT (-40.149141 -2.828331)'))) / (select extract(epoch from '2026-08-19 15:08:56'::timestamp) - extract(epoch from '2026-08-19 15:08:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.149304 -2.828175)', '2026-08-19 15:09:06', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149141 -2.828331)'), GeomFromEWKT('SRID=4674;POINT (-40.149304 -2.828175)'))) / (select extract(epoch from '2026-08-19 15:09:06'::timestamp) - extract(epoch from '2026-08-19 15:08:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149141 -2.828331)'), GeomFromEWKT('SRID=4674;POINT (-40.149304 -2.828175)'))) / (select extract(epoch from '2026-08-19 15:09:06'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.149513 -2.827996)', '2026-08-19 15:09:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149304 -2.828175)'), GeomFromEWKT('SRID=4674;POINT (-40.149513 -2.827996)'))) / (select extract(epoch from '2026-08-19 15:09:17'::timestamp) - extract(epoch from '2026-08-19 15:09:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149304 -2.828175)'), GeomFromEWKT('SRID=4674;POINT (-40.149513 -2.827996)'))) / (select extract(epoch from '2026-08-19 15:09:17'::timestamp) - extract(epoch from '2026-08-19 15:09: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'), 48199, 'SRID=4674;POINT (-40.149698 -2.827863)', '2026-08-19 15:09:26', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149513 -2.827996)'), GeomFromEWKT('SRID=4674;POINT (-40.149698 -2.827863)'))) / (select extract(epoch from '2026-08-19 15:09:26'::timestamp) - extract(epoch from '2026-08-19 15:09:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149513 -2.827996)'), GeomFromEWKT('SRID=4674;POINT (-40.149698 -2.827863)'))) / (select extract(epoch from '2026-08-19 15:09:26'::timestamp) - extract(epoch from '2026-08-19 15:09: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'), 48199, 'SRID=4674;POINT (-40.149968 -2.827694)', '2026-08-19 15:09:39', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149698 -2.827863)'), GeomFromEWKT('SRID=4674;POINT (-40.149968 -2.827694)'))) / (select extract(epoch from '2026-08-19 15:09:39'::timestamp) - extract(epoch from '2026-08-19 15:09:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149698 -2.827863)'), GeomFromEWKT('SRID=4674;POINT (-40.149968 -2.827694)'))) / (select extract(epoch from '2026-08-19 15:09:39'::timestamp) - extract(epoch from '2026-08-19 15:09: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'), 48199, 'SRID=4674;POINT (-40.150216 -2.82753)', '2026-08-19 15:09:51', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149968 -2.827694)'), GeomFromEWKT('SRID=4674;POINT (-40.150216 -2.82753)'))) / (select extract(epoch from '2026-08-19 15:09:51'::timestamp) - extract(epoch from '2026-08-19 15:09:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149968 -2.827694)'), GeomFromEWKT('SRID=4674;POINT (-40.150216 -2.82753)'))) / (select extract(epoch from '2026-08-19 15:09:51'::timestamp) - extract(epoch from '2026-08-19 15:09: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'), 48199, 'SRID=4674;POINT (-40.150399 -2.827382)', '2026-08-19 15:10:01', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150216 -2.82753)'), GeomFromEWKT('SRID=4674;POINT (-40.150399 -2.827382)'))) / (select extract(epoch from '2026-08-19 15:10:01'::timestamp) - extract(epoch from '2026-08-19 15:09:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150216 -2.82753)'), GeomFromEWKT('SRID=4674;POINT (-40.150399 -2.827382)'))) / (select extract(epoch from '2026-08-19 15:10:01'::timestamp) - extract(epoch from '2026-08-19 15:09: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'), 48199, 'SRID=4674;POINT (-40.15059 -2.827218)', '2026-08-19 15:10:11', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150399 -2.827382)'), GeomFromEWKT('SRID=4674;POINT (-40.15059 -2.827218)'))) / (select extract(epoch from '2026-08-19 15:10:11'::timestamp) - extract(epoch from '2026-08-19 15:10:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150399 -2.827382)'), GeomFromEWKT('SRID=4674;POINT (-40.15059 -2.827218)'))) / (select extract(epoch from '2026-08-19 15:10:11'::timestamp) - extract(epoch from '2026-08-19 15:10:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.150771 -2.82706)', '2026-08-19 15:10:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15059 -2.827218)'), GeomFromEWKT('SRID=4674;POINT (-40.150771 -2.82706)'))) / (select extract(epoch from '2026-08-19 15:10:21'::timestamp) - extract(epoch from '2026-08-19 15:10:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15059 -2.827218)'), GeomFromEWKT('SRID=4674;POINT (-40.150771 -2.82706)'))) / (select extract(epoch from '2026-08-19 15:10:21'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.150967 -2.826879)', '2026-08-19 15:10:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150771 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.150967 -2.826879)'))) / (select extract(epoch from '2026-08-19 15:10:32'::timestamp) - extract(epoch from '2026-08-19 15:10:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150771 -2.82706)'), GeomFromEWKT('SRID=4674;POINT (-40.150967 -2.826879)'))) / (select extract(epoch from '2026-08-19 15:10:32'::timestamp) - extract(epoch from '2026-08-19 15:10: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'), 48199, 'SRID=4674;POINT (-40.151149 -2.826708)', '2026-08-19 15:10:42', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150967 -2.826879)'), GeomFromEWKT('SRID=4674;POINT (-40.151149 -2.826708)'))) / (select extract(epoch from '2026-08-19 15:10:42'::timestamp) - extract(epoch from '2026-08-19 15:10:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150967 -2.826879)'), GeomFromEWKT('SRID=4674;POINT (-40.151149 -2.826708)'))) / (select extract(epoch from '2026-08-19 15:10:42'::timestamp) - extract(epoch from '2026-08-19 15:10: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'), 48199, 'SRID=4674;POINT (-40.151328 -2.826498)', '2026-08-19 15:10:53', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151149 -2.826708)'), GeomFromEWKT('SRID=4674;POINT (-40.151328 -2.826498)'))) / (select extract(epoch from '2026-08-19 15:10:53'::timestamp) - extract(epoch from '2026-08-19 15:10:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151149 -2.826708)'), GeomFromEWKT('SRID=4674;POINT (-40.151328 -2.826498)'))) / (select extract(epoch from '2026-08-19 15:10:53'::timestamp) - extract(epoch from '2026-08-19 15:10:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.151489 -2.826248)', '2026-08-19 15:11:06', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151328 -2.826498)'), GeomFromEWKT('SRID=4674;POINT (-40.151489 -2.826248)'))) / (select extract(epoch from '2026-08-19 15:11:06'::timestamp) - extract(epoch from '2026-08-19 15:10:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151328 -2.826498)'), GeomFromEWKT('SRID=4674;POINT (-40.151489 -2.826248)'))) / (select extract(epoch from '2026-08-19 15:11:06'::timestamp) - extract(epoch from '2026-08-19 15:10:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.151603 -2.82604)', '2026-08-19 15:11:16', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151489 -2.826248)'), GeomFromEWKT('SRID=4674;POINT (-40.151603 -2.82604)'))) / (select extract(epoch from '2026-08-19 15:11:16'::timestamp) - extract(epoch from '2026-08-19 15:11:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151489 -2.826248)'), GeomFromEWKT('SRID=4674;POINT (-40.151603 -2.82604)'))) / (select extract(epoch from '2026-08-19 15:11:16'::timestamp) - extract(epoch from '2026-08-19 15:11: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'), 48199, 'SRID=4674;POINT (-40.151749 -2.825718)', '2026-08-19 15:11:31', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151603 -2.82604)'), GeomFromEWKT('SRID=4674;POINT (-40.151749 -2.825718)'))) / (select extract(epoch from '2026-08-19 15:11:31'::timestamp) - extract(epoch from '2026-08-19 15:11:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151603 -2.82604)'), GeomFromEWKT('SRID=4674;POINT (-40.151749 -2.825718)'))) / (select extract(epoch from '2026-08-19 15:11:31'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.151865 -2.825431)', '2026-08-19 15:11:45', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151749 -2.825718)'), GeomFromEWKT('SRID=4674;POINT (-40.151865 -2.825431)'))) / (select extract(epoch from '2026-08-19 15:11:45'::timestamp) - extract(epoch from '2026-08-19 15:11:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151749 -2.825718)'), GeomFromEWKT('SRID=4674;POINT (-40.151865 -2.825431)'))) / (select extract(epoch from '2026-08-19 15:11:45'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.151978 -2.825061)', '2026-08-19 15:12:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151865 -2.825431)'), GeomFromEWKT('SRID=4674;POINT (-40.151978 -2.825061)'))) / (select extract(epoch from '2026-08-19 15:12:02'::timestamp) - extract(epoch from '2026-08-19 15:11:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151865 -2.825431)'), GeomFromEWKT('SRID=4674;POINT (-40.151978 -2.825061)'))) / (select extract(epoch from '2026-08-19 15:12:02'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.152081 -2.824755)', '2026-08-19 15:12:16', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151978 -2.825061)'), GeomFromEWKT('SRID=4674;POINT (-40.152081 -2.824755)'))) / (select extract(epoch from '2026-08-19 15:12:16'::timestamp) - extract(epoch from '2026-08-19 15:12:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151978 -2.825061)'), GeomFromEWKT('SRID=4674;POINT (-40.152081 -2.824755)'))) / (select extract(epoch from '2026-08-19 15:12:16'::timestamp) - extract(epoch from '2026-08-19 15:12: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'), 48199, 'SRID=4674;POINT (-40.152194 -2.824443)', '2026-08-19 15:12:30', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152081 -2.824755)'), GeomFromEWKT('SRID=4674;POINT (-40.152194 -2.824443)'))) / (select extract(epoch from '2026-08-19 15:12:30'::timestamp) - extract(epoch from '2026-08-19 15:12:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152081 -2.824755)'), GeomFromEWKT('SRID=4674;POINT (-40.152194 -2.824443)'))) / (select extract(epoch from '2026-08-19 15:12:30'::timestamp) - extract(epoch from '2026-08-19 15:12:16'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.152288 -2.824119)', '2026-08-19 15:12:45', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152194 -2.824443)'), GeomFromEWKT('SRID=4674;POINT (-40.152288 -2.824119)'))) / (select extract(epoch from '2026-08-19 15:12:45'::timestamp) - extract(epoch from '2026-08-19 15:12:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152194 -2.824443)'), GeomFromEWKT('SRID=4674;POINT (-40.152288 -2.824119)'))) / (select extract(epoch from '2026-08-19 15:12:45'::timestamp) - extract(epoch from '2026-08-19 15:12: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'), 48199, 'SRID=4674;POINT (-40.152395 -2.823712)', '2026-08-19 15:13:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152288 -2.824119)'), GeomFromEWKT('SRID=4674;POINT (-40.152395 -2.823712)'))) / (select extract(epoch from '2026-08-19 15:13:02'::timestamp) - extract(epoch from '2026-08-19 15:12:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152288 -2.824119)'), GeomFromEWKT('SRID=4674;POINT (-40.152395 -2.823712)'))) / (select extract(epoch from '2026-08-19 15:13:02'::timestamp) - extract(epoch from '2026-08-19 15:12: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'), 48199, 'SRID=4674;POINT (-40.152511 -2.823257)', '2026-08-19 15:13:23', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152395 -2.823712)'), GeomFromEWKT('SRID=4674;POINT (-40.152511 -2.823257)'))) / (select extract(epoch from '2026-08-19 15:13:23'::timestamp) - extract(epoch from '2026-08-19 15:13:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152395 -2.823712)'), GeomFromEWKT('SRID=4674;POINT (-40.152511 -2.823257)'))) / (select extract(epoch from '2026-08-19 15:13:23'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.152583 -2.822982)', '2026-08-19 15:13:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152511 -2.823257)'), GeomFromEWKT('SRID=4674;POINT (-40.152583 -2.822982)'))) / (select extract(epoch from '2026-08-19 15:13:35'::timestamp) - extract(epoch from '2026-08-19 15:13:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152511 -2.823257)'), GeomFromEWKT('SRID=4674;POINT (-40.152583 -2.822982)'))) / (select extract(epoch from '2026-08-19 15:13:35'::timestamp) - extract(epoch from '2026-08-19 15:13: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'), 48199, 'SRID=4674;POINT (-40.152659 -2.822663)', '2026-08-19 15:13:49', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152583 -2.822982)'), GeomFromEWKT('SRID=4674;POINT (-40.152659 -2.822663)'))) / (select extract(epoch from '2026-08-19 15:13:49'::timestamp) - extract(epoch from '2026-08-19 15:13:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152583 -2.822982)'), GeomFromEWKT('SRID=4674;POINT (-40.152659 -2.822663)'))) / (select extract(epoch from '2026-08-19 15:13:49'::timestamp) - extract(epoch from '2026-08-19 15:13: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'), 48199, 'SRID=4674;POINT (-40.152723 -2.822351)', '2026-08-19 15:14:03', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152659 -2.822663)'), GeomFromEWKT('SRID=4674;POINT (-40.152723 -2.822351)'))) / (select extract(epoch from '2026-08-19 15:14:03'::timestamp) - extract(epoch from '2026-08-19 15:13:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152659 -2.822663)'), GeomFromEWKT('SRID=4674;POINT (-40.152723 -2.822351)'))) / (select extract(epoch from '2026-08-19 15:14:03'::timestamp) - extract(epoch from '2026-08-19 15:13:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.152784 -2.822089)', '2026-08-19 15:14:14', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152723 -2.822351)'), GeomFromEWKT('SRID=4674;POINT (-40.152784 -2.822089)'))) / (select extract(epoch from '2026-08-19 15:14:14'::timestamp) - extract(epoch from '2026-08-19 15:14:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152723 -2.822351)'), GeomFromEWKT('SRID=4674;POINT (-40.152784 -2.822089)'))) / (select extract(epoch from '2026-08-19 15:14:14'::timestamp) - extract(epoch from '2026-08-19 15:14:03'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.152855 -2.821758)', '2026-08-19 15:14:30', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152784 -2.822089)'), GeomFromEWKT('SRID=4674;POINT (-40.152855 -2.821758)'))) / (select extract(epoch from '2026-08-19 15:14:30'::timestamp) - extract(epoch from '2026-08-19 15:14:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152784 -2.822089)'), GeomFromEWKT('SRID=4674;POINT (-40.152855 -2.821758)'))) / (select extract(epoch from '2026-08-19 15:14:30'::timestamp) - extract(epoch from '2026-08-19 15:14: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'), 48199, 'SRID=4674;POINT (-40.152906 -2.82148)', '2026-08-19 15:14:42', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152855 -2.821758)'), GeomFromEWKT('SRID=4674;POINT (-40.152906 -2.82148)'))) / (select extract(epoch from '2026-08-19 15:14:42'::timestamp) - extract(epoch from '2026-08-19 15:14:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152855 -2.821758)'), GeomFromEWKT('SRID=4674;POINT (-40.152906 -2.82148)'))) / (select extract(epoch from '2026-08-19 15:14:42'::timestamp) - extract(epoch from '2026-08-19 15:14:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.152957 -2.821226)', '2026-08-19 15:14:53', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152906 -2.82148)'), GeomFromEWKT('SRID=4674;POINT (-40.152957 -2.821226)'))) / (select extract(epoch from '2026-08-19 15:14:53'::timestamp) - extract(epoch from '2026-08-19 15:14:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152906 -2.82148)'), GeomFromEWKT('SRID=4674;POINT (-40.152957 -2.821226)'))) / (select extract(epoch from '2026-08-19 15:14:53'::timestamp) - extract(epoch from '2026-08-19 15:14:42'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.15302 -2.821016)', '2026-08-19 15:15:05', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152957 -2.821226)'), GeomFromEWKT('SRID=4674;POINT (-40.15302 -2.821016)'))) / (select extract(epoch from '2026-08-19 15:15:05'::timestamp) - extract(epoch from '2026-08-19 15:14:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152957 -2.821226)'), GeomFromEWKT('SRID=4674;POINT (-40.15302 -2.821016)'))) / (select extract(epoch from '2026-08-19 15:15:05'::timestamp) - extract(epoch from '2026-08-19 15:14: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'), 48199, 'SRID=4674;POINT (-40.153078 -2.820789)', '2026-08-19 15:15:16', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15302 -2.821016)'), GeomFromEWKT('SRID=4674;POINT (-40.153078 -2.820789)'))) / (select extract(epoch from '2026-08-19 15:15:16'::timestamp) - extract(epoch from '2026-08-19 15:15:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15302 -2.821016)'), GeomFromEWKT('SRID=4674;POINT (-40.153078 -2.820789)'))) / (select extract(epoch from '2026-08-19 15:15:16'::timestamp) - extract(epoch from '2026-08-19 15:15:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.153075 -2.820546)', '2026-08-19 15:15:27', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153078 -2.820789)'), GeomFromEWKT('SRID=4674;POINT (-40.153075 -2.820546)'))) / (select extract(epoch from '2026-08-19 15:15:27'::timestamp) - extract(epoch from '2026-08-19 15:15:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153078 -2.820789)'), GeomFromEWKT('SRID=4674;POINT (-40.153075 -2.820546)'))) / (select extract(epoch from '2026-08-19 15:15:27'::timestamp) - extract(epoch from '2026-08-19 15:15: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'), 48199, 'SRID=4674;POINT (-40.153098 -2.820313)', '2026-08-19 15:15:37', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153075 -2.820546)'), GeomFromEWKT('SRID=4674;POINT (-40.153098 -2.820313)'))) / (select extract(epoch from '2026-08-19 15:15:37'::timestamp) - extract(epoch from '2026-08-19 15:15:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153075 -2.820546)'), GeomFromEWKT('SRID=4674;POINT (-40.153098 -2.820313)'))) / (select extract(epoch from '2026-08-19 15:15:37'::timestamp) - extract(epoch from '2026-08-19 15:15: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'), 48199, 'SRID=4674;POINT (-40.153124 -2.820041)', '2026-08-19 15:15:49', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153098 -2.820313)'), GeomFromEWKT('SRID=4674;POINT (-40.153124 -2.820041)'))) / (select extract(epoch from '2026-08-19 15:15:49'::timestamp) - extract(epoch from '2026-08-19 15:15:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153098 -2.820313)'), GeomFromEWKT('SRID=4674;POINT (-40.153124 -2.820041)'))) / (select extract(epoch from '2026-08-19 15:15:49'::timestamp) - extract(epoch from '2026-08-19 15:15: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'), 48199, 'SRID=4674;POINT (-40.153096 -2.819859)', '2026-08-19 15:15:59', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153124 -2.820041)'), GeomFromEWKT('SRID=4674;POINT (-40.153096 -2.819859)'))) / (select extract(epoch from '2026-08-19 15:15:59'::timestamp) - extract(epoch from '2026-08-19 15:15:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153124 -2.820041)'), GeomFromEWKT('SRID=4674;POINT (-40.153096 -2.819859)'))) / (select extract(epoch from '2026-08-19 15:15:59'::timestamp) - extract(epoch from '2026-08-19 15:15: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'), 48199, 'SRID=4674;POINT (-40.153039 -2.819564)', '2026-08-19 15:16:12', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153096 -2.819859)'), GeomFromEWKT('SRID=4674;POINT (-40.153039 -2.819564)'))) / (select extract(epoch from '2026-08-19 15:16:12'::timestamp) - extract(epoch from '2026-08-19 15:15:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153096 -2.819859)'), GeomFromEWKT('SRID=4674;POINT (-40.153039 -2.819564)'))) / (select extract(epoch from '2026-08-19 15:16:12'::timestamp) - extract(epoch from '2026-08-19 15:15: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'), 48199, 'SRID=4674;POINT (-40.152976 -2.819358)', '2026-08-19 15:16:23', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153039 -2.819564)'), GeomFromEWKT('SRID=4674;POINT (-40.152976 -2.819358)'))) / (select extract(epoch from '2026-08-19 15:16:23'::timestamp) - extract(epoch from '2026-08-19 15:16:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.153039 -2.819564)'), GeomFromEWKT('SRID=4674;POINT (-40.152976 -2.819358)'))) / (select extract(epoch from '2026-08-19 15:16:23'::timestamp) - extract(epoch from '2026-08-19 15:16: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'), 48199, 'SRID=4674;POINT (-40.152881 -2.819161)', '2026-08-19 15:16:34', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152976 -2.819358)'), GeomFromEWKT('SRID=4674;POINT (-40.152881 -2.819161)'))) / (select extract(epoch from '2026-08-19 15:16:34'::timestamp) - extract(epoch from '2026-08-19 15:16:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152976 -2.819358)'), GeomFromEWKT('SRID=4674;POINT (-40.152881 -2.819161)'))) / (select extract(epoch from '2026-08-19 15:16:34'::timestamp) - extract(epoch from '2026-08-19 15:16: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'), 48199, 'SRID=4674;POINT (-40.152743 -2.818948)', '2026-08-19 15:16:47', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152881 -2.819161)'), GeomFromEWKT('SRID=4674;POINT (-40.152743 -2.818948)'))) / (select extract(epoch from '2026-08-19 15:16:47'::timestamp) - extract(epoch from '2026-08-19 15:16:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152881 -2.819161)'), GeomFromEWKT('SRID=4674;POINT (-40.152743 -2.818948)'))) / (select extract(epoch from '2026-08-19 15:16:47'::timestamp) - extract(epoch from '2026-08-19 15:16:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.152559 -2.818727)', '2026-08-19 15:17:01', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152743 -2.818948)'), GeomFromEWKT('SRID=4674;POINT (-40.152559 -2.818727)'))) / (select extract(epoch from '2026-08-19 15:17:01'::timestamp) - extract(epoch from '2026-08-19 15:16:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152743 -2.818948)'), GeomFromEWKT('SRID=4674;POINT (-40.152559 -2.818727)'))) / (select extract(epoch from '2026-08-19 15:17:01'::timestamp) - extract(epoch from '2026-08-19 15:16: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'), 48199, 'SRID=4674;POINT (-40.152313 -2.818506)', '2026-08-19 15:17:20', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152559 -2.818727)'), GeomFromEWKT('SRID=4674;POINT (-40.152313 -2.818506)'))) / (select extract(epoch from '2026-08-19 15:17:20'::timestamp) - extract(epoch from '2026-08-19 15:17:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152559 -2.818727)'), GeomFromEWKT('SRID=4674;POINT (-40.152313 -2.818506)'))) / (select extract(epoch from '2026-08-19 15:17:20'::timestamp) - extract(epoch from '2026-08-19 15:17: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'), 48199, 'SRID=4674;POINT (-40.152075 -2.818331)', '2026-08-19 15:17:35', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152313 -2.818506)'), GeomFromEWKT('SRID=4674;POINT (-40.152075 -2.818331)'))) / (select extract(epoch from '2026-08-19 15:17:35'::timestamp) - extract(epoch from '2026-08-19 15:17:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152313 -2.818506)'), GeomFromEWKT('SRID=4674;POINT (-40.152075 -2.818331)'))) / (select extract(epoch from '2026-08-19 15:17:35'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.151859 -2.818178)', '2026-08-19 15:17:50', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152075 -2.818331)'), GeomFromEWKT('SRID=4674;POINT (-40.151859 -2.818178)'))) / (select extract(epoch from '2026-08-19 15:17:50'::timestamp) - extract(epoch from '2026-08-19 15:17:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.152075 -2.818331)'), GeomFromEWKT('SRID=4674;POINT (-40.151859 -2.818178)'))) / (select extract(epoch from '2026-08-19 15:17:50'::timestamp) - extract(epoch from '2026-08-19 15:17: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'), 48199, 'SRID=4674;POINT (-40.151557 -2.818004)', '2026-08-19 15:18:08', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151859 -2.818178)'), GeomFromEWKT('SRID=4674;POINT (-40.151557 -2.818004)'))) / (select extract(epoch from '2026-08-19 15:18:08'::timestamp) - extract(epoch from '2026-08-19 15:17:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151859 -2.818178)'), GeomFromEWKT('SRID=4674;POINT (-40.151557 -2.818004)'))) / (select extract(epoch from '2026-08-19 15:18:08'::timestamp) - extract(epoch from '2026-08-19 15:17:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.15129 -2.817827)', '2026-08-19 15:18:26', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151557 -2.818004)'), GeomFromEWKT('SRID=4674;POINT (-40.15129 -2.817827)'))) / (select extract(epoch from '2026-08-19 15:18:26'::timestamp) - extract(epoch from '2026-08-19 15:18:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151557 -2.818004)'), GeomFromEWKT('SRID=4674;POINT (-40.15129 -2.817827)'))) / (select extract(epoch from '2026-08-19 15:18:26'::timestamp) - extract(epoch from '2026-08-19 15:18: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'), 48199, 'SRID=4674;POINT (-40.151084 -2.817703)', '2026-08-19 15:18:39', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15129 -2.817827)'), GeomFromEWKT('SRID=4674;POINT (-40.151084 -2.817703)'))) / (select extract(epoch from '2026-08-19 15:18:39'::timestamp) - extract(epoch from '2026-08-19 15:18:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.15129 -2.817827)'), GeomFromEWKT('SRID=4674;POINT (-40.151084 -2.817703)'))) / (select extract(epoch from '2026-08-19 15:18:39'::timestamp) - extract(epoch from '2026-08-19 15:18:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.150862 -2.817578)', '2026-08-19 15:18:54', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151084 -2.817703)'), GeomFromEWKT('SRID=4674;POINT (-40.150862 -2.817578)'))) / (select extract(epoch from '2026-08-19 15:18:54'::timestamp) - extract(epoch from '2026-08-19 15:18:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.151084 -2.817703)'), GeomFromEWKT('SRID=4674;POINT (-40.150862 -2.817578)'))) / (select extract(epoch from '2026-08-19 15:18:54'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.150624 -2.817438)', '2026-08-19 15:19:09', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150862 -2.817578)'), GeomFromEWKT('SRID=4674;POINT (-40.150624 -2.817438)'))) / (select extract(epoch from '2026-08-19 15:19:09'::timestamp) - extract(epoch from '2026-08-19 15:18:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150862 -2.817578)'), GeomFromEWKT('SRID=4674;POINT (-40.150624 -2.817438)'))) / (select extract(epoch from '2026-08-19 15:19:09'::timestamp) - extract(epoch from '2026-08-19 15:18:54'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.150369 -2.817287)', '2026-08-19 15:19:25', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150624 -2.817438)'), GeomFromEWKT('SRID=4674;POINT (-40.150369 -2.817287)'))) / (select extract(epoch from '2026-08-19 15:19:25'::timestamp) - extract(epoch from '2026-08-19 15:19:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150624 -2.817438)'), GeomFromEWKT('SRID=4674;POINT (-40.150369 -2.817287)'))) / (select extract(epoch from '2026-08-19 15:19:25'::timestamp) - extract(epoch from '2026-08-19 15:19: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'), 48199, 'SRID=4674;POINT (-40.150207 -2.817145)', '2026-08-19 15:19:37', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150369 -2.817287)'), GeomFromEWKT('SRID=4674;POINT (-40.150207 -2.817145)'))) / (select extract(epoch from '2026-08-19 15:19:37'::timestamp) - extract(epoch from '2026-08-19 15:19:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150369 -2.817287)'), GeomFromEWKT('SRID=4674;POINT (-40.150207 -2.817145)'))) / (select extract(epoch from '2026-08-19 15:19:37'::timestamp) - extract(epoch from '2026-08-19 15:19: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'), 48199, 'SRID=4674;POINT (-40.150016 -2.816964)', '2026-08-19 15:19:51', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150207 -2.817145)'), GeomFromEWKT('SRID=4674;POINT (-40.150016 -2.816964)'))) / (select extract(epoch from '2026-08-19 15:19:51'::timestamp) - extract(epoch from '2026-08-19 15:19:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150207 -2.817145)'), GeomFromEWKT('SRID=4674;POINT (-40.150016 -2.816964)'))) / (select extract(epoch from '2026-08-19 15:19:51'::timestamp) - extract(epoch from '2026-08-19 15:19: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'), 48199, 'SRID=4674;POINT (-40.149809 -2.816803)', '2026-08-19 15:20:05', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150016 -2.816964)'), GeomFromEWKT('SRID=4674;POINT (-40.149809 -2.816803)'))) / (select extract(epoch from '2026-08-19 15:20:05'::timestamp) - extract(epoch from '2026-08-19 15:19:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.150016 -2.816964)'), GeomFromEWKT('SRID=4674;POINT (-40.149809 -2.816803)'))) / (select extract(epoch from '2026-08-19 15:20:05'::timestamp) - extract(epoch from '2026-08-19 15:19: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'), 48199, 'SRID=4674;POINT (-40.149553 -2.816607)', '2026-08-19 15:20:23', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149809 -2.816803)'), GeomFromEWKT('SRID=4674;POINT (-40.149553 -2.816607)'))) / (select extract(epoch from '2026-08-19 15:20:23'::timestamp) - extract(epoch from '2026-08-19 15:20:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149809 -2.816803)'), GeomFromEWKT('SRID=4674;POINT (-40.149553 -2.816607)'))) / (select extract(epoch from '2026-08-19 15:20:23'::timestamp) - extract(epoch from '2026-08-19 15:20:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14933 -2.816467)', '2026-08-19 15:20:38', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149553 -2.816607)'), GeomFromEWKT('SRID=4674;POINT (-40.14933 -2.816467)'))) / (select extract(epoch from '2026-08-19 15:20:38'::timestamp) - extract(epoch from '2026-08-19 15:20:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149553 -2.816607)'), GeomFromEWKT('SRID=4674;POINT (-40.14933 -2.816467)'))) / (select extract(epoch from '2026-08-19 15:20:38'::timestamp) - extract(epoch from '2026-08-19 15:20: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'), 48199, 'SRID=4674;POINT (-40.149147 -2.816371)', '2026-08-19 15:20:51', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14933 -2.816467)'), GeomFromEWKT('SRID=4674;POINT (-40.149147 -2.816371)'))) / (select extract(epoch from '2026-08-19 15:20:51'::timestamp) - extract(epoch from '2026-08-19 15:20:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14933 -2.816467)'), GeomFromEWKT('SRID=4674;POINT (-40.149147 -2.816371)'))) / (select extract(epoch from '2026-08-19 15:20:51'::timestamp) - extract(epoch from '2026-08-19 15:20: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'), 48199, 'SRID=4674;POINT (-40.148985 -2.816298)', '2026-08-19 15:21:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149147 -2.816371)'), GeomFromEWKT('SRID=4674;POINT (-40.148985 -2.816298)'))) / (select extract(epoch from '2026-08-19 15:21:01'::timestamp) - extract(epoch from '2026-08-19 15:20:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.149147 -2.816371)'), GeomFromEWKT('SRID=4674;POINT (-40.148985 -2.816298)'))) / (select extract(epoch from '2026-08-19 15:21:01'::timestamp) - extract(epoch from '2026-08-19 15:20:51'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.148842 -2.816241)', '2026-08-19 15:21:12', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148985 -2.816298)'), GeomFromEWKT('SRID=4674;POINT (-40.148842 -2.816241)'))) / (select extract(epoch from '2026-08-19 15:21:12'::timestamp) - extract(epoch from '2026-08-19 15:21:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148985 -2.816298)'), GeomFromEWKT('SRID=4674;POINT (-40.148842 -2.816241)'))) / (select extract(epoch from '2026-08-19 15:21:12'::timestamp) - extract(epoch from '2026-08-19 15:21: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'), 48199, 'SRID=4674;POINT (-40.148761 -2.816177)', '2026-08-19 15:21:20', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148842 -2.816241)'), GeomFromEWKT('SRID=4674;POINT (-40.148761 -2.816177)'))) / (select extract(epoch from '2026-08-19 15:21:20'::timestamp) - extract(epoch from '2026-08-19 15:21:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148842 -2.816241)'), GeomFromEWKT('SRID=4674;POINT (-40.148761 -2.816177)'))) / (select extract(epoch from '2026-08-19 15:21:20'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.148663 -2.816092)', '2026-08-19 15:21:30', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148761 -2.816177)'), GeomFromEWKT('SRID=4674;POINT (-40.148663 -2.816092)'))) / (select extract(epoch from '2026-08-19 15:21:30'::timestamp) - extract(epoch from '2026-08-19 15:21:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148761 -2.816177)'), GeomFromEWKT('SRID=4674;POINT (-40.148663 -2.816092)'))) / (select extract(epoch from '2026-08-19 15:21:30'::timestamp) - extract(epoch from '2026-08-19 15:21: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'), 48199, 'SRID=4674;POINT (-40.148522 -2.815954)', '2026-08-19 15:21:42', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148663 -2.816092)'), GeomFromEWKT('SRID=4674;POINT (-40.148522 -2.815954)'))) / (select extract(epoch from '2026-08-19 15:21:42'::timestamp) - extract(epoch from '2026-08-19 15:21:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148663 -2.816092)'), GeomFromEWKT('SRID=4674;POINT (-40.148522 -2.815954)'))) / (select extract(epoch from '2026-08-19 15:21:42'::timestamp) - extract(epoch from '2026-08-19 15:21: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'), 48199, 'SRID=4674;POINT (-40.148418 -2.815899)', '2026-08-19 15:21:52', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148522 -2.815954)'), GeomFromEWKT('SRID=4674;POINT (-40.148418 -2.815899)'))) / (select extract(epoch from '2026-08-19 15:21:52'::timestamp) - extract(epoch from '2026-08-19 15:21:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148522 -2.815954)'), GeomFromEWKT('SRID=4674;POINT (-40.148418 -2.815899)'))) / (select extract(epoch from '2026-08-19 15:21:52'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.148273 -2.815808)', '2026-08-19 15:22:04', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148418 -2.815899)'), GeomFromEWKT('SRID=4674;POINT (-40.148273 -2.815808)'))) / (select extract(epoch from '2026-08-19 15:22:04'::timestamp) - extract(epoch from '2026-08-19 15:21:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148418 -2.815899)'), GeomFromEWKT('SRID=4674;POINT (-40.148273 -2.815808)'))) / (select extract(epoch from '2026-08-19 15:22:04'::timestamp) - extract(epoch from '2026-08-19 15:21:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.148124 -2.815751)', '2026-08-19 15:22:13', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148273 -2.815808)'), GeomFromEWKT('SRID=4674;POINT (-40.148124 -2.815751)'))) / (select extract(epoch from '2026-08-19 15:22:13'::timestamp) - extract(epoch from '2026-08-19 15:22:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148273 -2.815808)'), GeomFromEWKT('SRID=4674;POINT (-40.148124 -2.815751)'))) / (select extract(epoch from '2026-08-19 15:22:13'::timestamp) - extract(epoch from '2026-08-19 15:22: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'), 48199, 'SRID=4674;POINT (-40.14794 -2.815668)', '2026-08-19 15:22:28', 1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148124 -2.815751)'), GeomFromEWKT('SRID=4674;POINT (-40.14794 -2.815668)'))) / (select extract(epoch from '2026-08-19 15:22:28'::timestamp) - extract(epoch from '2026-08-19 15:22:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.148124 -2.815751)'), GeomFromEWKT('SRID=4674;POINT (-40.14794 -2.815668)'))) / (select extract(epoch from '2026-08-19 15:22:28'::timestamp) - extract(epoch from '2026-08-19 15:22: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'), 48199, 'SRID=4674;POINT (-40.147802 -2.815626)', '2026-08-19 15:22:38', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14794 -2.815668)'), GeomFromEWKT('SRID=4674;POINT (-40.147802 -2.815626)'))) / (select extract(epoch from '2026-08-19 15:22:38'::timestamp) - extract(epoch from '2026-08-19 15:22:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14794 -2.815668)'), GeomFromEWKT('SRID=4674;POINT (-40.147802 -2.815626)'))) / (select extract(epoch from '2026-08-19 15:22:38'::timestamp) - extract(epoch from '2026-08-19 15:22: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'), 48199, 'SRID=4674;POINT (-40.147604 -2.815533)', '2026-08-19 15:22:50', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147802 -2.815626)'), GeomFromEWKT('SRID=4674;POINT (-40.147604 -2.815533)'))) / (select extract(epoch from '2026-08-19 15:22:50'::timestamp) - extract(epoch from '2026-08-19 15:22:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147802 -2.815626)'), GeomFromEWKT('SRID=4674;POINT (-40.147604 -2.815533)'))) / (select extract(epoch from '2026-08-19 15:22:50'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.147474 -2.815481)', '2026-08-19 15:23:00', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147604 -2.815533)'), GeomFromEWKT('SRID=4674;POINT (-40.147474 -2.815481)'))) / (select extract(epoch from '2026-08-19 15:23:00'::timestamp) - extract(epoch from '2026-08-19 15:22:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147604 -2.815533)'), GeomFromEWKT('SRID=4674;POINT (-40.147474 -2.815481)'))) / (select extract(epoch from '2026-08-19 15:23:00'::timestamp) - extract(epoch from '2026-08-19 15:22: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'), 48199, 'SRID=4674;POINT (-40.147294 -2.815388)', '2026-08-19 15:23:14', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147474 -2.815481)'), GeomFromEWKT('SRID=4674;POINT (-40.147294 -2.815388)'))) / (select extract(epoch from '2026-08-19 15:23:14'::timestamp) - extract(epoch from '2026-08-19 15:23:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147474 -2.815481)'), GeomFromEWKT('SRID=4674;POINT (-40.147294 -2.815388)'))) / (select extract(epoch from '2026-08-19 15:23:14'::timestamp) - extract(epoch from '2026-08-19 15:23:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.147166 -2.815318)', '2026-08-19 15:23:24', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147294 -2.815388)'), GeomFromEWKT('SRID=4674;POINT (-40.147166 -2.815318)'))) / (select extract(epoch from '2026-08-19 15:23:24'::timestamp) - extract(epoch from '2026-08-19 15:23:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147294 -2.815388)'), GeomFromEWKT('SRID=4674;POINT (-40.147166 -2.815318)'))) / (select extract(epoch from '2026-08-19 15:23:24'::timestamp) - extract(epoch from '2026-08-19 15:23:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.147 -2.815228)', '2026-08-19 15:23:37', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147166 -2.815318)'), GeomFromEWKT('SRID=4674;POINT (-40.147 -2.815228)'))) / (select extract(epoch from '2026-08-19 15:23:37'::timestamp) - extract(epoch from '2026-08-19 15:23:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147166 -2.815318)'), GeomFromEWKT('SRID=4674;POINT (-40.147 -2.815228)'))) / (select extract(epoch from '2026-08-19 15:23:37'::timestamp) - extract(epoch from '2026-08-19 15:23: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'), 48199, 'SRID=4674;POINT (-40.146806 -2.815181)', '2026-08-19 15:23:51', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147 -2.815228)'), GeomFromEWKT('SRID=4674;POINT (-40.146806 -2.815181)'))) / (select extract(epoch from '2026-08-19 15:23:51'::timestamp) - extract(epoch from '2026-08-19 15:23:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.147 -2.815228)'), GeomFromEWKT('SRID=4674;POINT (-40.146806 -2.815181)'))) / (select extract(epoch from '2026-08-19 15:23:51'::timestamp) - extract(epoch from '2026-08-19 15:23: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'), 48199, 'SRID=4674;POINT (-40.146665 -2.81511)', '2026-08-19 15:24:02', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146806 -2.815181)'), GeomFromEWKT('SRID=4674;POINT (-40.146665 -2.81511)'))) / (select extract(epoch from '2026-08-19 15:24:02'::timestamp) - extract(epoch from '2026-08-19 15:23:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146806 -2.815181)'), GeomFromEWKT('SRID=4674;POINT (-40.146665 -2.81511)'))) / (select extract(epoch from '2026-08-19 15:24:02'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.146529 -2.815053)', '2026-08-19 15:24:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146665 -2.81511)'), GeomFromEWKT('SRID=4674;POINT (-40.146529 -2.815053)'))) / (select extract(epoch from '2026-08-19 15:24:11'::timestamp) - extract(epoch from '2026-08-19 15:24:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146665 -2.81511)'), GeomFromEWKT('SRID=4674;POINT (-40.146529 -2.815053)'))) / (select extract(epoch from '2026-08-19 15:24:11'::timestamp) - extract(epoch from '2026-08-19 15:24:02'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.146327 -2.814983)', '2026-08-19 15:24:25', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146529 -2.815053)'), GeomFromEWKT('SRID=4674;POINT (-40.146327 -2.814983)'))) / (select extract(epoch from '2026-08-19 15:24:25'::timestamp) - extract(epoch from '2026-08-19 15:24:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146529 -2.815053)'), GeomFromEWKT('SRID=4674;POINT (-40.146327 -2.814983)'))) / (select extract(epoch from '2026-08-19 15:24:25'::timestamp) - extract(epoch from '2026-08-19 15:24:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.146157 -2.814928)', '2026-08-19 15:24:37', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146327 -2.814983)'), GeomFromEWKT('SRID=4674;POINT (-40.146157 -2.814928)'))) / (select extract(epoch from '2026-08-19 15:24:37'::timestamp) - extract(epoch from '2026-08-19 15:24:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146327 -2.814983)'), GeomFromEWKT('SRID=4674;POINT (-40.146157 -2.814928)'))) / (select extract(epoch from '2026-08-19 15:24:37'::timestamp) - extract(epoch from '2026-08-19 15:24: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'), 48199, 'SRID=4674;POINT (-40.146 -2.81486)', '2026-08-19 15:24:48', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146157 -2.814928)'), GeomFromEWKT('SRID=4674;POINT (-40.146 -2.81486)'))) / (select extract(epoch from '2026-08-19 15:24:48'::timestamp) - extract(epoch from '2026-08-19 15:24:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146157 -2.814928)'), GeomFromEWKT('SRID=4674;POINT (-40.146 -2.81486)'))) / (select extract(epoch from '2026-08-19 15:24:48'::timestamp) - extract(epoch from '2026-08-19 15:24: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'), 48199, 'SRID=4674;POINT (-40.145815 -2.814817)', '2026-08-19 15:25:00', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146 -2.81486)'), GeomFromEWKT('SRID=4674;POINT (-40.145815 -2.814817)'))) / (select extract(epoch from '2026-08-19 15:25:00'::timestamp) - extract(epoch from '2026-08-19 15:24:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.146 -2.81486)'), GeomFromEWKT('SRID=4674;POINT (-40.145815 -2.814817)'))) / (select extract(epoch from '2026-08-19 15:25:00'::timestamp) - extract(epoch from '2026-08-19 15:24: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'), 48199, 'SRID=4674;POINT (-40.145652 -2.814741)', '2026-08-19 15:25:11', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145815 -2.814817)'), GeomFromEWKT('SRID=4674;POINT (-40.145652 -2.814741)'))) / (select extract(epoch from '2026-08-19 15:25:11'::timestamp) - extract(epoch from '2026-08-19 15:25:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145815 -2.814817)'), GeomFromEWKT('SRID=4674;POINT (-40.145652 -2.814741)'))) / (select extract(epoch from '2026-08-19 15:25:11'::timestamp) - extract(epoch from '2026-08-19 15:25:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.145499 -2.814696)', '2026-08-19 15:25:23', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145652 -2.814741)'), GeomFromEWKT('SRID=4674;POINT (-40.145499 -2.814696)'))) / (select extract(epoch from '2026-08-19 15:25:23'::timestamp) - extract(epoch from '2026-08-19 15:25:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145652 -2.814741)'), GeomFromEWKT('SRID=4674;POINT (-40.145499 -2.814696)'))) / (select extract(epoch from '2026-08-19 15:25:23'::timestamp) - extract(epoch from '2026-08-19 15:25:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14533 -2.814699)', '2026-08-19 15:25:34', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145499 -2.814696)'), GeomFromEWKT('SRID=4674;POINT (-40.14533 -2.814699)'))) / (select extract(epoch from '2026-08-19 15:25:34'::timestamp) - extract(epoch from '2026-08-19 15:25:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145499 -2.814696)'), GeomFromEWKT('SRID=4674;POINT (-40.14533 -2.814699)'))) / (select extract(epoch from '2026-08-19 15:25:34'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.145133 -2.814663)', '2026-08-19 15:25:46', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14533 -2.814699)'), GeomFromEWKT('SRID=4674;POINT (-40.145133 -2.814663)'))) / (select extract(epoch from '2026-08-19 15:25:46'::timestamp) - extract(epoch from '2026-08-19 15:25:34'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14533 -2.814699)'), GeomFromEWKT('SRID=4674;POINT (-40.145133 -2.814663)'))) / (select extract(epoch from '2026-08-19 15:25:46'::timestamp) - extract(epoch from '2026-08-19 15:25:34'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144972 -2.814663)', '2026-08-19 15:25:56', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145133 -2.814663)'), GeomFromEWKT('SRID=4674;POINT (-40.144972 -2.814663)'))) / (select extract(epoch from '2026-08-19 15:25:56'::timestamp) - extract(epoch from '2026-08-19 15:25:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.145133 -2.814663)'), GeomFromEWKT('SRID=4674;POINT (-40.144972 -2.814663)'))) / (select extract(epoch from '2026-08-19 15:25:56'::timestamp) - extract(epoch from '2026-08-19 15:25: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'), 48199, 'SRID=4674;POINT (-40.144842 -2.814622)', '2026-08-19 15:26:06', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144972 -2.814663)'), GeomFromEWKT('SRID=4674;POINT (-40.144842 -2.814622)'))) / (select extract(epoch from '2026-08-19 15:26:06'::timestamp) - extract(epoch from '2026-08-19 15:25:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144972 -2.814663)'), GeomFromEWKT('SRID=4674;POINT (-40.144842 -2.814622)'))) / (select extract(epoch from '2026-08-19 15:26:06'::timestamp) - extract(epoch from '2026-08-19 15:25: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'), 48199, 'SRID=4674;POINT (-40.14468 -2.814588)', '2026-08-19 15:26:17', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144842 -2.814622)'), GeomFromEWKT('SRID=4674;POINT (-40.14468 -2.814588)'))) / (select extract(epoch from '2026-08-19 15:26:17'::timestamp) - extract(epoch from '2026-08-19 15:26:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144842 -2.814622)'), GeomFromEWKT('SRID=4674;POINT (-40.14468 -2.814588)'))) / (select extract(epoch from '2026-08-19 15:26:17'::timestamp) - extract(epoch from '2026-08-19 15:26:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144481 -2.81454)', '2026-08-19 15:26:30', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14468 -2.814588)'), GeomFromEWKT('SRID=4674;POINT (-40.144481 -2.81454)'))) / (select extract(epoch from '2026-08-19 15:26:30'::timestamp) - extract(epoch from '2026-08-19 15:26:17'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14468 -2.814588)'), GeomFromEWKT('SRID=4674;POINT (-40.144481 -2.81454)'))) / (select extract(epoch from '2026-08-19 15:26:30'::timestamp) - extract(epoch from '2026-08-19 15:26: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'), 48199, 'SRID=4674;POINT (-40.144235 -2.814505)', '2026-08-19 15:26:45', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144481 -2.81454)'), GeomFromEWKT('SRID=4674;POINT (-40.144235 -2.814505)'))) / (select extract(epoch from '2026-08-19 15:26:45'::timestamp) - extract(epoch from '2026-08-19 15:26:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144481 -2.81454)'), GeomFromEWKT('SRID=4674;POINT (-40.144235 -2.814505)'))) / (select extract(epoch from '2026-08-19 15:26:45'::timestamp) - extract(epoch from '2026-08-19 15:26:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.144078 -2.81447)', '2026-08-19 15:26:55', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144235 -2.814505)'), GeomFromEWKT('SRID=4674;POINT (-40.144078 -2.81447)'))) / (select extract(epoch from '2026-08-19 15:26:55'::timestamp) - extract(epoch from '2026-08-19 15:26:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144235 -2.814505)'), GeomFromEWKT('SRID=4674;POINT (-40.144078 -2.81447)'))) / (select extract(epoch from '2026-08-19 15:26:55'::timestamp) - extract(epoch from '2026-08-19 15:26: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'), 48199, 'SRID=4674;POINT (-40.14394 -2.814415)', '2026-08-19 15:27:04', 1.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144078 -2.81447)'), GeomFromEWKT('SRID=4674;POINT (-40.14394 -2.814415)'))) / (select extract(epoch from '2026-08-19 15:27:04'::timestamp) - extract(epoch from '2026-08-19 15:26:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.144078 -2.81447)'), GeomFromEWKT('SRID=4674;POINT (-40.14394 -2.814415)'))) / (select extract(epoch from '2026-08-19 15:27:04'::timestamp) - extract(epoch from '2026-08-19 15:26:55'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143763 -2.81438)', '2026-08-19 15:27:16', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14394 -2.814415)'), GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.81438)'))) / (select extract(epoch from '2026-08-19 15:27:16'::timestamp) - extract(epoch from '2026-08-19 15:27:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14394 -2.814415)'), GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.81438)'))) / (select extract(epoch from '2026-08-19 15:27:16'::timestamp) - extract(epoch from '2026-08-19 15:27: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'), 48199, 'SRID=4674;POINT (-40.143611 -2.81437)', '2026-08-19 15:27:27', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.81438)'), GeomFromEWKT('SRID=4674;POINT (-40.143611 -2.81437)'))) / (select extract(epoch from '2026-08-19 15:27:27'::timestamp) - extract(epoch from '2026-08-19 15:27:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143763 -2.81438)'), GeomFromEWKT('SRID=4674;POINT (-40.143611 -2.81437)'))) / (select extract(epoch from '2026-08-19 15:27:27'::timestamp) - extract(epoch from '2026-08-19 15:27: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'), 48199, 'SRID=4674;POINT (-40.143417 -2.814345)', '2026-08-19 15:27:38', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143611 -2.81437)'), GeomFromEWKT('SRID=4674;POINT (-40.143417 -2.814345)'))) / (select extract(epoch from '2026-08-19 15:27:38'::timestamp) - extract(epoch from '2026-08-19 15:27:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143611 -2.81437)'), GeomFromEWKT('SRID=4674;POINT (-40.143417 -2.814345)'))) / (select extract(epoch from '2026-08-19 15:27:38'::timestamp) - extract(epoch from '2026-08-19 15:27: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'), 48199, 'SRID=4674;POINT (-40.14321 -2.814292)', '2026-08-19 15:27:52', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143417 -2.814345)'), GeomFromEWKT('SRID=4674;POINT (-40.14321 -2.814292)'))) / (select extract(epoch from '2026-08-19 15:27:52'::timestamp) - extract(epoch from '2026-08-19 15:27:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143417 -2.814345)'), GeomFromEWKT('SRID=4674;POINT (-40.14321 -2.814292)'))) / (select extract(epoch from '2026-08-19 15:27:52'::timestamp) - extract(epoch from '2026-08-19 15:27:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.143083 -2.814256)', '2026-08-19 15:28:01', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14321 -2.814292)'), GeomFromEWKT('SRID=4674;POINT (-40.143083 -2.814256)'))) / (select extract(epoch from '2026-08-19 15:28:01'::timestamp) - extract(epoch from '2026-08-19 15:27:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14321 -2.814292)'), GeomFromEWKT('SRID=4674;POINT (-40.143083 -2.814256)'))) / (select extract(epoch from '2026-08-19 15:28:01'::timestamp) - extract(epoch from '2026-08-19 15:27:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.142918 -2.814235)', '2026-08-19 15:28:12', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143083 -2.814256)'), GeomFromEWKT('SRID=4674;POINT (-40.142918 -2.814235)'))) / (select extract(epoch from '2026-08-19 15:28:12'::timestamp) - extract(epoch from '2026-08-19 15:28:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.143083 -2.814256)'), GeomFromEWKT('SRID=4674;POINT (-40.142918 -2.814235)'))) / (select extract(epoch from '2026-08-19 15:28:12'::timestamp) - extract(epoch from '2026-08-19 15:28: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'), 48199, 'SRID=4674;POINT (-40.142719 -2.814234)', '2026-08-19 15:28:25', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142918 -2.814235)'), GeomFromEWKT('SRID=4674;POINT (-40.142719 -2.814234)'))) / (select extract(epoch from '2026-08-19 15:28:25'::timestamp) - extract(epoch from '2026-08-19 15:28:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142918 -2.814235)'), GeomFromEWKT('SRID=4674;POINT (-40.142719 -2.814234)'))) / (select extract(epoch from '2026-08-19 15:28:25'::timestamp) - extract(epoch from '2026-08-19 15:28: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'), 48199, 'SRID=4674;POINT (-40.142555 -2.814222)', '2026-08-19 15:28:36', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142719 -2.814234)'), GeomFromEWKT('SRID=4674;POINT (-40.142555 -2.814222)'))) / (select extract(epoch from '2026-08-19 15:28:36'::timestamp) - extract(epoch from '2026-08-19 15:28:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142719 -2.814234)'), GeomFromEWKT('SRID=4674;POINT (-40.142555 -2.814222)'))) / (select extract(epoch from '2026-08-19 15:28:36'::timestamp) - extract(epoch from '2026-08-19 15:28:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14236 -2.81421)', '2026-08-19 15:28:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142555 -2.814222)'), GeomFromEWKT('SRID=4674;POINT (-40.14236 -2.81421)'))) / (select extract(epoch from '2026-08-19 15:28:48'::timestamp) - extract(epoch from '2026-08-19 15:28:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142555 -2.814222)'), GeomFromEWKT('SRID=4674;POINT (-40.14236 -2.81421)'))) / (select extract(epoch from '2026-08-19 15:28:48'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.142189 -2.814219)', '2026-08-19 15:28:59', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14236 -2.81421)'), GeomFromEWKT('SRID=4674;POINT (-40.142189 -2.814219)'))) / (select extract(epoch from '2026-08-19 15:28:59'::timestamp) - extract(epoch from '2026-08-19 15:28:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14236 -2.81421)'), GeomFromEWKT('SRID=4674;POINT (-40.142189 -2.814219)'))) / (select extract(epoch from '2026-08-19 15:28:59'::timestamp) - extract(epoch from '2026-08-19 15:28:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.141988 -2.814208)', '2026-08-19 15:29:11', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142189 -2.814219)'), GeomFromEWKT('SRID=4674;POINT (-40.141988 -2.814208)'))) / (select extract(epoch from '2026-08-19 15:29:11'::timestamp) - extract(epoch from '2026-08-19 15:28:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.142189 -2.814219)'), GeomFromEWKT('SRID=4674;POINT (-40.141988 -2.814208)'))) / (select extract(epoch from '2026-08-19 15:29:11'::timestamp) - extract(epoch from '2026-08-19 15:28: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'), 48199, 'SRID=4674;POINT (-40.141793 -2.814218)', '2026-08-19 15:29:23', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141988 -2.814208)'), GeomFromEWKT('SRID=4674;POINT (-40.141793 -2.814218)'))) / (select extract(epoch from '2026-08-19 15:29:23'::timestamp) - extract(epoch from '2026-08-19 15:29:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141988 -2.814208)'), GeomFromEWKT('SRID=4674;POINT (-40.141793 -2.814218)'))) / (select extract(epoch from '2026-08-19 15:29:23'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.141578 -2.814214)', '2026-08-19 15:29:37', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141793 -2.814218)'), GeomFromEWKT('SRID=4674;POINT (-40.141578 -2.814214)'))) / (select extract(epoch from '2026-08-19 15:29:37'::timestamp) - extract(epoch from '2026-08-19 15:29:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141793 -2.814218)'), GeomFromEWKT('SRID=4674;POINT (-40.141578 -2.814214)'))) / (select extract(epoch from '2026-08-19 15:29:37'::timestamp) - extract(epoch from '2026-08-19 15:29:23'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.141433 -2.814201)', '2026-08-19 15:29:47', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141578 -2.814214)'), GeomFromEWKT('SRID=4674;POINT (-40.141433 -2.814201)'))) / (select extract(epoch from '2026-08-19 15:29:47'::timestamp) - extract(epoch from '2026-08-19 15:29:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141578 -2.814214)'), GeomFromEWKT('SRID=4674;POINT (-40.141433 -2.814201)'))) / (select extract(epoch from '2026-08-19 15:29:47'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.14128 -2.814196)', '2026-08-19 15:29:57', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141433 -2.814201)'), GeomFromEWKT('SRID=4674;POINT (-40.14128 -2.814196)'))) / (select extract(epoch from '2026-08-19 15:29:57'::timestamp) - extract(epoch from '2026-08-19 15:29:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.141433 -2.814201)'), GeomFromEWKT('SRID=4674;POINT (-40.14128 -2.814196)'))) / (select extract(epoch from '2026-08-19 15:29:57'::timestamp) - extract(epoch from '2026-08-19 15:29:47'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.14111 -2.814215)', '2026-08-19 15:30:08', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14128 -2.814196)'), GeomFromEWKT('SRID=4674;POINT (-40.14111 -2.814215)'))) / (select extract(epoch from '2026-08-19 15:30:08'::timestamp) - extract(epoch from '2026-08-19 15:29:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14128 -2.814196)'), GeomFromEWKT('SRID=4674;POINT (-40.14111 -2.814215)'))) / (select extract(epoch from '2026-08-19 15:30:08'::timestamp) - extract(epoch from '2026-08-19 15:29:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140942 -2.814218)', '2026-08-19 15:30:19', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14111 -2.814215)'), GeomFromEWKT('SRID=4674;POINT (-40.140942 -2.814218)'))) / (select extract(epoch from '2026-08-19 15:30:19'::timestamp) - extract(epoch from '2026-08-19 15:30:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14111 -2.814215)'), GeomFromEWKT('SRID=4674;POINT (-40.140942 -2.814218)'))) / (select extract(epoch from '2026-08-19 15:30:19'::timestamp) - extract(epoch from '2026-08-19 15:30: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'), 48199, 'SRID=4674;POINT (-40.140774 -2.814226)', '2026-08-19 15:30:31', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140942 -2.814218)'), GeomFromEWKT('SRID=4674;POINT (-40.140774 -2.814226)'))) / (select extract(epoch from '2026-08-19 15:30:31'::timestamp) - extract(epoch from '2026-08-19 15:30:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140942 -2.814218)'), GeomFromEWKT('SRID=4674;POINT (-40.140774 -2.814226)'))) / (select extract(epoch from '2026-08-19 15:30:31'::timestamp) - extract(epoch from '2026-08-19 15:30:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140619 -2.814206)', '2026-08-19 15:30:41', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140774 -2.814226)'), GeomFromEWKT('SRID=4674;POINT (-40.140619 -2.814206)'))) / (select extract(epoch from '2026-08-19 15:30:41'::timestamp) - extract(epoch from '2026-08-19 15:30:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140774 -2.814226)'), GeomFromEWKT('SRID=4674;POINT (-40.140619 -2.814206)'))) / (select extract(epoch from '2026-08-19 15:30:41'::timestamp) - extract(epoch from '2026-08-19 15:30:31'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140446 -2.814195)', '2026-08-19 15:30:53', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140619 -2.814206)'), GeomFromEWKT('SRID=4674;POINT (-40.140446 -2.814195)'))) / (select extract(epoch from '2026-08-19 15:30:53'::timestamp) - extract(epoch from '2026-08-19 15:30:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140619 -2.814206)'), GeomFromEWKT('SRID=4674;POINT (-40.140446 -2.814195)'))) / (select extract(epoch from '2026-08-19 15:30:53'::timestamp) - extract(epoch from '2026-08-19 15:30:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.140258 -2.814167)', '2026-08-19 15:31:05', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140446 -2.814195)'), GeomFromEWKT('SRID=4674;POINT (-40.140258 -2.814167)'))) / (select extract(epoch from '2026-08-19 15:31:05'::timestamp) - extract(epoch from '2026-08-19 15:30:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140446 -2.814195)'), GeomFromEWKT('SRID=4674;POINT (-40.140258 -2.814167)'))) / (select extract(epoch from '2026-08-19 15:31:05'::timestamp) - extract(epoch from '2026-08-19 15:30: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'), 48199, 'SRID=4674;POINT (-40.14008 -2.81416)', '2026-08-19 15:31:16', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140258 -2.814167)'), GeomFromEWKT('SRID=4674;POINT (-40.14008 -2.81416)'))) / (select extract(epoch from '2026-08-19 15:31:16'::timestamp) - extract(epoch from '2026-08-19 15:31:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.140258 -2.814167)'), GeomFromEWKT('SRID=4674;POINT (-40.14008 -2.81416)'))) / (select extract(epoch from '2026-08-19 15:31:16'::timestamp) - extract(epoch from '2026-08-19 15:31: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'), 48199, 'SRID=4674;POINT (-40.139916 -2.814163)', '2026-08-19 15:31:27', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14008 -2.81416)'), GeomFromEWKT('SRID=4674;POINT (-40.139916 -2.814163)'))) / (select extract(epoch from '2026-08-19 15:31:27'::timestamp) - extract(epoch from '2026-08-19 15:31:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.14008 -2.81416)'), GeomFromEWKT('SRID=4674;POINT (-40.139916 -2.814163)'))) / (select extract(epoch from '2026-08-19 15:31:27'::timestamp) - extract(epoch from '2026-08-19 15:31: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'), 48199, 'SRID=4674;POINT (-40.139772 -2.814169)', '2026-08-19 15:31:37', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139916 -2.814163)'), GeomFromEWKT('SRID=4674;POINT (-40.139772 -2.814169)'))) / (select extract(epoch from '2026-08-19 15:31:37'::timestamp) - extract(epoch from '2026-08-19 15:31:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139916 -2.814163)'), GeomFromEWKT('SRID=4674;POINT (-40.139772 -2.814169)'))) / (select extract(epoch from '2026-08-19 15:31:37'::timestamp) - extract(epoch from '2026-08-19 15:31:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.139621 -2.814178)', '2026-08-19 15:31:47', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139772 -2.814169)'), GeomFromEWKT('SRID=4674;POINT (-40.139621 -2.814178)'))) / (select extract(epoch from '2026-08-19 15:31:47'::timestamp) - extract(epoch from '2026-08-19 15:31:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139772 -2.814169)'), GeomFromEWKT('SRID=4674;POINT (-40.139621 -2.814178)'))) / (select extract(epoch from '2026-08-19 15:31:47'::timestamp) - extract(epoch from '2026-08-19 15:31:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.139405 -2.814171)', '2026-08-19 15:32:00', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139621 -2.814178)'), GeomFromEWKT('SRID=4674;POINT (-40.139405 -2.814171)'))) / (select extract(epoch from '2026-08-19 15:32:00'::timestamp) - extract(epoch from '2026-08-19 15:31:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139621 -2.814178)'), GeomFromEWKT('SRID=4674;POINT (-40.139405 -2.814171)'))) / (select extract(epoch from '2026-08-19 15:32:00'::timestamp) - extract(epoch from '2026-08-19 15:31: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'), 48199, 'SRID=4674;POINT (-40.139206 -2.814185)', '2026-08-19 15:32:12', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139405 -2.814171)'), GeomFromEWKT('SRID=4674;POINT (-40.139206 -2.814185)'))) / (select extract(epoch from '2026-08-19 15:32:12'::timestamp) - extract(epoch from '2026-08-19 15:32:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139405 -2.814171)'), GeomFromEWKT('SRID=4674;POINT (-40.139206 -2.814185)'))) / (select extract(epoch from '2026-08-19 15:32:12'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.139021 -2.814182)', '2026-08-19 15:32:24', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139206 -2.814185)'), GeomFromEWKT('SRID=4674;POINT (-40.139021 -2.814182)'))) / (select extract(epoch from '2026-08-19 15:32:24'::timestamp) - extract(epoch from '2026-08-19 15:32:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139206 -2.814185)'), GeomFromEWKT('SRID=4674;POINT (-40.139021 -2.814182)'))) / (select extract(epoch from '2026-08-19 15:32:24'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.138852 -2.814175)', '2026-08-19 15:32:36', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139021 -2.814182)'), GeomFromEWKT('SRID=4674;POINT (-40.138852 -2.814175)'))) / (select extract(epoch from '2026-08-19 15:32:36'::timestamp) - extract(epoch from '2026-08-19 15:32:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.139021 -2.814182)'), GeomFromEWKT('SRID=4674;POINT (-40.138852 -2.814175)'))) / (select extract(epoch from '2026-08-19 15:32:36'::timestamp) - extract(epoch from '2026-08-19 15:32: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'), 48199, 'SRID=4674;POINT (-40.138672 -2.814169)', '2026-08-19 15:32:47', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138852 -2.814175)'), GeomFromEWKT('SRID=4674;POINT (-40.138672 -2.814169)'))) / (select extract(epoch from '2026-08-19 15:32:47'::timestamp) - extract(epoch from '2026-08-19 15:32:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138852 -2.814175)'), GeomFromEWKT('SRID=4674;POINT (-40.138672 -2.814169)'))) / (select extract(epoch from '2026-08-19 15:32:47'::timestamp) - extract(epoch from '2026-08-19 15:32: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'), 48199, 'SRID=4674;POINT (-40.138488 -2.814179)', '2026-08-19 15:32:59', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138672 -2.814169)'), GeomFromEWKT('SRID=4674;POINT (-40.138488 -2.814179)'))) / (select extract(epoch from '2026-08-19 15:32:59'::timestamp) - extract(epoch from '2026-08-19 15:32:47'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138672 -2.814169)'), GeomFromEWKT('SRID=4674;POINT (-40.138488 -2.814179)'))) / (select extract(epoch from '2026-08-19 15:32:59'::timestamp) - extract(epoch from '2026-08-19 15:32: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'), 48199, 'SRID=4674;POINT (-40.138329 -2.814156)', '2026-08-19 15:33:11', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138488 -2.814179)'), GeomFromEWKT('SRID=4674;POINT (-40.138329 -2.814156)'))) / (select extract(epoch from '2026-08-19 15:33:11'::timestamp) - extract(epoch from '2026-08-19 15:32:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138488 -2.814179)'), GeomFromEWKT('SRID=4674;POINT (-40.138329 -2.814156)'))) / (select extract(epoch from '2026-08-19 15:33:11'::timestamp) - extract(epoch from '2026-08-19 15:32:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.13815 -2.814093)', '2026-08-19 15:33:21', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138329 -2.814156)'), GeomFromEWKT('SRID=4674;POINT (-40.13815 -2.814093)'))) / (select extract(epoch from '2026-08-19 15:33:21'::timestamp) - extract(epoch from '2026-08-19 15:33:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.138329 -2.814156)'), GeomFromEWKT('SRID=4674;POINT (-40.13815 -2.814093)'))) / (select extract(epoch from '2026-08-19 15:33:21'::timestamp) - extract(epoch from '2026-08-19 15:33:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.137976 -2.814014)', '2026-08-19 15:33:33', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13815 -2.814093)'), GeomFromEWKT('SRID=4674;POINT (-40.137976 -2.814014)'))) / (select extract(epoch from '2026-08-19 15:33:33'::timestamp) - extract(epoch from '2026-08-19 15:33:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13815 -2.814093)'), GeomFromEWKT('SRID=4674;POINT (-40.137976 -2.814014)'))) / (select extract(epoch from '2026-08-19 15:33:33'::timestamp) - extract(epoch from '2026-08-19 15:33: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'), 48199, 'SRID=4674;POINT (-40.13784 -2.813968)', '2026-08-19 15:33:42', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137976 -2.814014)'), GeomFromEWKT('SRID=4674;POINT (-40.13784 -2.813968)'))) / (select extract(epoch from '2026-08-19 15:33:42'::timestamp) - extract(epoch from '2026-08-19 15:33:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137976 -2.814014)'), GeomFromEWKT('SRID=4674;POINT (-40.13784 -2.813968)'))) / (select extract(epoch from '2026-08-19 15:33:42'::timestamp) - extract(epoch from '2026-08-19 15:33:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.137688 -2.813903)', '2026-08-19 15:33:52', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13784 -2.813968)'), GeomFromEWKT('SRID=4674;POINT (-40.137688 -2.813903)'))) / (select extract(epoch from '2026-08-19 15:33:52'::timestamp) - extract(epoch from '2026-08-19 15:33:42'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13784 -2.813968)'), GeomFromEWKT('SRID=4674;POINT (-40.137688 -2.813903)'))) / (select extract(epoch from '2026-08-19 15:33:52'::timestamp) - extract(epoch from '2026-08-19 15:33: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'), 48199, 'SRID=4674;POINT (-40.137557 -2.813848)', '2026-08-19 15:34:01', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137688 -2.813903)'), GeomFromEWKT('SRID=4674;POINT (-40.137557 -2.813848)'))) / (select extract(epoch from '2026-08-19 15:34:01'::timestamp) - extract(epoch from '2026-08-19 15:33:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137688 -2.813903)'), GeomFromEWKT('SRID=4674;POINT (-40.137557 -2.813848)'))) / (select extract(epoch from '2026-08-19 15:34:01'::timestamp) - extract(epoch from '2026-08-19 15:33: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'), 48199, 'SRID=4674;POINT (-40.137412 -2.813816)', '2026-08-19 15:34:11', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137557 -2.813848)'), GeomFromEWKT('SRID=4674;POINT (-40.137412 -2.813816)'))) / (select extract(epoch from '2026-08-19 15:34:11'::timestamp) - extract(epoch from '2026-08-19 15:34:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137557 -2.813848)'), GeomFromEWKT('SRID=4674;POINT (-40.137412 -2.813816)'))) / (select extract(epoch from '2026-08-19 15:34:11'::timestamp) - extract(epoch from '2026-08-19 15:34: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'), 48199, 'SRID=4674;POINT (-40.137236 -2.813796)', '2026-08-19 15:34:22', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137412 -2.813816)'), GeomFromEWKT('SRID=4674;POINT (-40.137236 -2.813796)'))) / (select extract(epoch from '2026-08-19 15:34:22'::timestamp) - extract(epoch from '2026-08-19 15:34:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137412 -2.813816)'), GeomFromEWKT('SRID=4674;POINT (-40.137236 -2.813796)'))) / (select extract(epoch from '2026-08-19 15:34:22'::timestamp) - extract(epoch from '2026-08-19 15:34: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'), 48199, 'SRID=4674;POINT (-40.137031 -2.813799)', '2026-08-19 15:34:35', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137236 -2.813796)'), GeomFromEWKT('SRID=4674;POINT (-40.137031 -2.813799)'))) / (select extract(epoch from '2026-08-19 15:34:35'::timestamp) - extract(epoch from '2026-08-19 15:34:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137236 -2.813796)'), GeomFromEWKT('SRID=4674;POINT (-40.137031 -2.813799)'))) / (select extract(epoch from '2026-08-19 15:34:35'::timestamp) - extract(epoch from '2026-08-19 15:34: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'), 48199, 'SRID=4674;POINT (-40.136887 -2.813783)', '2026-08-19 15:34:44', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137031 -2.813799)'), GeomFromEWKT('SRID=4674;POINT (-40.136887 -2.813783)'))) / (select extract(epoch from '2026-08-19 15:34:44'::timestamp) - extract(epoch from '2026-08-19 15:34:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.137031 -2.813799)'), GeomFromEWKT('SRID=4674;POINT (-40.136887 -2.813783)'))) / (select extract(epoch from '2026-08-19 15:34:44'::timestamp) - extract(epoch from '2026-08-19 15:34:35'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136733 -2.813766)', '2026-08-19 15:34:54', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136887 -2.813783)'), GeomFromEWKT('SRID=4674;POINT (-40.136733 -2.813766)'))) / (select extract(epoch from '2026-08-19 15:34:54'::timestamp) - extract(epoch from '2026-08-19 15:34:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136887 -2.813783)'), GeomFromEWKT('SRID=4674;POINT (-40.136733 -2.813766)'))) / (select extract(epoch from '2026-08-19 15:34:54'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.136575 -2.813764)', '2026-08-19 15:35:04', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136733 -2.813766)'), GeomFromEWKT('SRID=4674;POINT (-40.136575 -2.813764)'))) / (select extract(epoch from '2026-08-19 15:35:04'::timestamp) - extract(epoch from '2026-08-19 15:34:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136733 -2.813766)'), GeomFromEWKT('SRID=4674;POINT (-40.136575 -2.813764)'))) / (select extract(epoch from '2026-08-19 15:35:04'::timestamp) - extract(epoch from '2026-08-19 15:34: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'), 48199, 'SRID=4674;POINT (-40.13642 -2.813739)', '2026-08-19 15:35:14', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136575 -2.813764)'), GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.813739)'))) / (select extract(epoch from '2026-08-19 15:35:14'::timestamp) - extract(epoch from '2026-08-19 15:35:04'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136575 -2.813764)'), GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.813739)'))) / (select extract(epoch from '2026-08-19 15:35:14'::timestamp) - extract(epoch from '2026-08-19 15:35:04'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136203 -2.813703)', '2026-08-19 15:35:28', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.813739)'), GeomFromEWKT('SRID=4674;POINT (-40.136203 -2.813703)'))) / (select extract(epoch from '2026-08-19 15:35:28'::timestamp) - extract(epoch from '2026-08-19 15:35:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13642 -2.813739)'), GeomFromEWKT('SRID=4674;POINT (-40.136203 -2.813703)'))) / (select extract(epoch from '2026-08-19 15:35:28'::timestamp) - extract(epoch from '2026-08-19 15:35:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.136073 -2.813707)', '2026-08-19 15:35:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136203 -2.813703)'), GeomFromEWKT('SRID=4674;POINT (-40.136073 -2.813707)'))) / (select extract(epoch from '2026-08-19 15:35:36'::timestamp) - extract(epoch from '2026-08-19 15:35:28'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136203 -2.813703)'), GeomFromEWKT('SRID=4674;POINT (-40.136073 -2.813707)'))) / (select extract(epoch from '2026-08-19 15:35:36'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.135855 -2.813727)', '2026-08-19 15:35:49', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136073 -2.813707)'), GeomFromEWKT('SRID=4674;POINT (-40.135855 -2.813727)'))) / (select extract(epoch from '2026-08-19 15:35:49'::timestamp) - extract(epoch from '2026-08-19 15:35:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.136073 -2.813707)'), GeomFromEWKT('SRID=4674;POINT (-40.135855 -2.813727)'))) / (select extract(epoch from '2026-08-19 15:35:49'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.135686 -2.813733)', '2026-08-19 15:36:00', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135855 -2.813727)'), GeomFromEWKT('SRID=4674;POINT (-40.135686 -2.813733)'))) / (select extract(epoch from '2026-08-19 15:36:00'::timestamp) - extract(epoch from '2026-08-19 15:35:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135855 -2.813727)'), GeomFromEWKT('SRID=4674;POINT (-40.135686 -2.813733)'))) / (select extract(epoch from '2026-08-19 15:36:00'::timestamp) - extract(epoch from '2026-08-19 15:35:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.135524 -2.813737)', '2026-08-19 15:36:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135686 -2.813733)'), GeomFromEWKT('SRID=4674;POINT (-40.135524 -2.813737)'))) / (select extract(epoch from '2026-08-19 15:36:11'::timestamp) - extract(epoch from '2026-08-19 15:36:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135686 -2.813733)'), GeomFromEWKT('SRID=4674;POINT (-40.135524 -2.813737)'))) / (select extract(epoch from '2026-08-19 15:36:11'::timestamp) - extract(epoch from '2026-08-19 15:36: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'), 48199, 'SRID=4674;POINT (-40.135357 -2.813734)', '2026-08-19 15:36:22', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135524 -2.813737)'), GeomFromEWKT('SRID=4674;POINT (-40.135357 -2.813734)'))) / (select extract(epoch from '2026-08-19 15:36:22'::timestamp) - extract(epoch from '2026-08-19 15:36:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135524 -2.813737)'), GeomFromEWKT('SRID=4674;POINT (-40.135357 -2.813734)'))) / (select extract(epoch from '2026-08-19 15:36:22'::timestamp) - extract(epoch from '2026-08-19 15:36:11'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.135212 -2.813741)', '2026-08-19 15:36:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135357 -2.813734)'), GeomFromEWKT('SRID=4674;POINT (-40.135212 -2.813741)'))) / (select extract(epoch from '2026-08-19 15:36:32'::timestamp) - extract(epoch from '2026-08-19 15:36:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135357 -2.813734)'), GeomFromEWKT('SRID=4674;POINT (-40.135212 -2.813741)'))) / (select extract(epoch from '2026-08-19 15:36:32'::timestamp) - extract(epoch from '2026-08-19 15:36: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'), 48199, 'SRID=4674;POINT (-40.135079 -2.813745)', '2026-08-19 15:36:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135212 -2.813741)'), GeomFromEWKT('SRID=4674;POINT (-40.135079 -2.813745)'))) / (select extract(epoch from '2026-08-19 15:36:41'::timestamp) - extract(epoch from '2026-08-19 15:36:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135212 -2.813741)'), GeomFromEWKT('SRID=4674;POINT (-40.135079 -2.813745)'))) / (select extract(epoch from '2026-08-19 15:36:41'::timestamp) - extract(epoch from '2026-08-19 15:36: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'), 48199, 'SRID=4674;POINT (-40.134928 -2.813731)', '2026-08-19 15:36:51', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135079 -2.813745)'), GeomFromEWKT('SRID=4674;POINT (-40.134928 -2.813731)'))) / (select extract(epoch from '2026-08-19 15:36:51'::timestamp) - extract(epoch from '2026-08-19 15:36:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.135079 -2.813745)'), GeomFromEWKT('SRID=4674;POINT (-40.134928 -2.813731)'))) / (select extract(epoch from '2026-08-19 15:36:51'::timestamp) - extract(epoch from '2026-08-19 15:36:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.134799 -2.813734)', '2026-08-19 15:36:59', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134928 -2.813731)'), GeomFromEWKT('SRID=4674;POINT (-40.134799 -2.813734)'))) / (select extract(epoch from '2026-08-19 15:36:59'::timestamp) - extract(epoch from '2026-08-19 15:36:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134928 -2.813731)'), GeomFromEWKT('SRID=4674;POINT (-40.134799 -2.813734)'))) / (select extract(epoch from '2026-08-19 15:36:59'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.134615 -2.813795)', '2026-08-19 15:37:10', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134799 -2.813734)'), GeomFromEWKT('SRID=4674;POINT (-40.134615 -2.813795)'))) / (select extract(epoch from '2026-08-19 15:37:10'::timestamp) - extract(epoch from '2026-08-19 15:36:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134799 -2.813734)'), GeomFromEWKT('SRID=4674;POINT (-40.134615 -2.813795)'))) / (select extract(epoch from '2026-08-19 15:37:10'::timestamp) - extract(epoch from '2026-08-19 15:36:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.13449 -2.813839)', '2026-08-19 15:37:19', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134615 -2.813795)'), GeomFromEWKT('SRID=4674;POINT (-40.13449 -2.813839)'))) / (select extract(epoch from '2026-08-19 15:37:19'::timestamp) - extract(epoch from '2026-08-19 15:37:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134615 -2.813795)'), GeomFromEWKT('SRID=4674;POINT (-40.13449 -2.813839)'))) / (select extract(epoch from '2026-08-19 15:37:19'::timestamp) - extract(epoch from '2026-08-19 15:37:10'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.134369 -2.813922)', '2026-08-19 15:37:29', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13449 -2.813839)'), GeomFromEWKT('SRID=4674;POINT (-40.134369 -2.813922)'))) / (select extract(epoch from '2026-08-19 15:37:29'::timestamp) - extract(epoch from '2026-08-19 15:37:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13449 -2.813839)'), GeomFromEWKT('SRID=4674;POINT (-40.134369 -2.813922)'))) / (select extract(epoch from '2026-08-19 15:37:29'::timestamp) - extract(epoch from '2026-08-19 15:37:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.13425 -2.813973)', '2026-08-19 15:37:38', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134369 -2.813922)'), GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.813973)'))) / (select extract(epoch from '2026-08-19 15:37:38'::timestamp) - extract(epoch from '2026-08-19 15:37:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134369 -2.813922)'), GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.813973)'))) / (select extract(epoch from '2026-08-19 15:37:38'::timestamp) - extract(epoch from '2026-08-19 15:37:29'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.134075 -2.814036)', '2026-08-19 15:37:50', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.813973)'), GeomFromEWKT('SRID=4674;POINT (-40.134075 -2.814036)'))) / (select extract(epoch from '2026-08-19 15:37:50'::timestamp) - extract(epoch from '2026-08-19 15:37:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13425 -2.813973)'), GeomFromEWKT('SRID=4674;POINT (-40.134075 -2.814036)'))) / (select extract(epoch from '2026-08-19 15:37:50'::timestamp) - extract(epoch from '2026-08-19 15:37:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.133911 -2.814063)', '2026-08-19 15:38:01', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134075 -2.814036)'), GeomFromEWKT('SRID=4674;POINT (-40.133911 -2.814063)'))) / (select extract(epoch from '2026-08-19 15:38:01'::timestamp) - extract(epoch from '2026-08-19 15:37:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.134075 -2.814036)'), GeomFromEWKT('SRID=4674;POINT (-40.133911 -2.814063)'))) / (select extract(epoch from '2026-08-19 15:38:01'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.133769 -2.814084)', '2026-08-19 15:38:11', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133911 -2.814063)'), GeomFromEWKT('SRID=4674;POINT (-40.133769 -2.814084)'))) / (select extract(epoch from '2026-08-19 15:38:11'::timestamp) - extract(epoch from '2026-08-19 15:38:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133911 -2.814063)'), GeomFromEWKT('SRID=4674;POINT (-40.133769 -2.814084)'))) / (select extract(epoch from '2026-08-19 15:38:11'::timestamp) - extract(epoch from '2026-08-19 15:38: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'), 48199, 'SRID=4674;POINT (-40.133624 -2.814102)', '2026-08-19 15:38:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133769 -2.814084)'), GeomFromEWKT('SRID=4674;POINT (-40.133624 -2.814102)'))) / (select extract(epoch from '2026-08-19 15:38:21'::timestamp) - extract(epoch from '2026-08-19 15:38:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133769 -2.814084)'), GeomFromEWKT('SRID=4674;POINT (-40.133624 -2.814102)'))) / (select extract(epoch from '2026-08-19 15:38:21'::timestamp) - extract(epoch from '2026-08-19 15:38: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'), 48199, 'SRID=4674;POINT (-40.13349 -2.81413)', '2026-08-19 15:38:31', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133624 -2.814102)'), GeomFromEWKT('SRID=4674;POINT (-40.13349 -2.81413)'))) / (select extract(epoch from '2026-08-19 15:38:31'::timestamp) - extract(epoch from '2026-08-19 15:38:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133624 -2.814102)'), GeomFromEWKT('SRID=4674;POINT (-40.13349 -2.81413)'))) / (select extract(epoch from '2026-08-19 15:38:31'::timestamp) - extract(epoch from '2026-08-19 15:38: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'), 48199, 'SRID=4674;POINT (-40.133312 -2.814159)', '2026-08-19 15:38:43', 5.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13349 -2.81413)'), GeomFromEWKT('SRID=4674;POINT (-40.133312 -2.814159)'))) / (select extract(epoch from '2026-08-19 15:38:43'::timestamp) - extract(epoch from '2026-08-19 15:38:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13349 -2.81413)'), GeomFromEWKT('SRID=4674;POINT (-40.133312 -2.814159)'))) / (select extract(epoch from '2026-08-19 15:38:43'::timestamp) - extract(epoch from '2026-08-19 15:38: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'), 48199, 'SRID=4674;POINT (-40.133148 -2.81417)', '2026-08-19 15:38:54', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133312 -2.814159)'), GeomFromEWKT('SRID=4674;POINT (-40.133148 -2.81417)'))) / (select extract(epoch from '2026-08-19 15:38:54'::timestamp) - extract(epoch from '2026-08-19 15:38:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133312 -2.814159)'), GeomFromEWKT('SRID=4674;POINT (-40.133148 -2.81417)'))) / (select extract(epoch from '2026-08-19 15:38:54'::timestamp) - extract(epoch from '2026-08-19 15:38: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'), 48199, 'SRID=4674;POINT (-40.133034 -2.814181)', '2026-08-19 15:39:02', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133148 -2.81417)'), GeomFromEWKT('SRID=4674;POINT (-40.133034 -2.814181)'))) / (select extract(epoch from '2026-08-19 15:39:02'::timestamp) - extract(epoch from '2026-08-19 15:38:54'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133148 -2.81417)'), GeomFromEWKT('SRID=4674;POINT (-40.133034 -2.814181)'))) / (select extract(epoch from '2026-08-19 15:39:02'::timestamp) - extract(epoch from '2026-08-19 15:38: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'), 48199, 'SRID=4674;POINT (-40.132933 -2.814184)', '2026-08-19 15:39:09', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133034 -2.814181)'), GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.814184)'))) / (select extract(epoch from '2026-08-19 15:39:09'::timestamp) - extract(epoch from '2026-08-19 15:39:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.133034 -2.814181)'), GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.814184)'))) / (select extract(epoch from '2026-08-19 15:39:09'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.132752 -2.814205)', '2026-08-19 15:39:21', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.814184)'), GeomFromEWKT('SRID=4674;POINT (-40.132752 -2.814205)'))) / (select extract(epoch from '2026-08-19 15:39:21'::timestamp) - extract(epoch from '2026-08-19 15:39:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132933 -2.814184)'), GeomFromEWKT('SRID=4674;POINT (-40.132752 -2.814205)'))) / (select extract(epoch from '2026-08-19 15:39:21'::timestamp) - extract(epoch from '2026-08-19 15:39: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'), 48199, 'SRID=4674;POINT (-40.132584 -2.814238)', '2026-08-19 15:39:32', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132752 -2.814205)'), GeomFromEWKT('SRID=4674;POINT (-40.132584 -2.814238)'))) / (select extract(epoch from '2026-08-19 15:39:32'::timestamp) - extract(epoch from '2026-08-19 15:39:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132752 -2.814205)'), GeomFromEWKT('SRID=4674;POINT (-40.132584 -2.814238)'))) / (select extract(epoch from '2026-08-19 15:39:32'::timestamp) - extract(epoch from '2026-08-19 15:39:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132456 -2.814277)', '2026-08-19 15:39:41', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132584 -2.814238)'), GeomFromEWKT('SRID=4674;POINT (-40.132456 -2.814277)'))) / (select extract(epoch from '2026-08-19 15:39:41'::timestamp) - extract(epoch from '2026-08-19 15:39:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132584 -2.814238)'), GeomFromEWKT('SRID=4674;POINT (-40.132456 -2.814277)'))) / (select extract(epoch from '2026-08-19 15:39:41'::timestamp) - extract(epoch from '2026-08-19 15:39:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.132311 -2.814309)', '2026-08-19 15:39:51', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132456 -2.814277)'), GeomFromEWKT('SRID=4674;POINT (-40.132311 -2.814309)'))) / (select extract(epoch from '2026-08-19 15:39:51'::timestamp) - extract(epoch from '2026-08-19 15:39:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132456 -2.814277)'), GeomFromEWKT('SRID=4674;POINT (-40.132311 -2.814309)'))) / (select extract(epoch from '2026-08-19 15:39:51'::timestamp) - extract(epoch from '2026-08-19 15:39: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'), 48199, 'SRID=4674;POINT (-40.132159 -2.814361)', '2026-08-19 15:40:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132311 -2.814309)'), GeomFromEWKT('SRID=4674;POINT (-40.132159 -2.814361)'))) / (select extract(epoch from '2026-08-19 15:40:02'::timestamp) - extract(epoch from '2026-08-19 15:39:51'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132311 -2.814309)'), GeomFromEWKT('SRID=4674;POINT (-40.132159 -2.814361)'))) / (select extract(epoch from '2026-08-19 15:40:02'::timestamp) - extract(epoch from '2026-08-19 15:39: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'), 48199, 'SRID=4674;POINT (-40.132034 -2.814394)', '2026-08-19 15:40:11', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132159 -2.814361)'), GeomFromEWKT('SRID=4674;POINT (-40.132034 -2.814394)'))) / (select extract(epoch from '2026-08-19 15:40:11'::timestamp) - extract(epoch from '2026-08-19 15:40:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132159 -2.814361)'), GeomFromEWKT('SRID=4674;POINT (-40.132034 -2.814394)'))) / (select extract(epoch from '2026-08-19 15:40:11'::timestamp) - extract(epoch from '2026-08-19 15:40: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'), 48199, 'SRID=4674;POINT (-40.131885 -2.814425)', '2026-08-19 15:40:21', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132034 -2.814394)'), GeomFromEWKT('SRID=4674;POINT (-40.131885 -2.814425)'))) / (select extract(epoch from '2026-08-19 15:40:21'::timestamp) - extract(epoch from '2026-08-19 15:40:11'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.132034 -2.814394)'), GeomFromEWKT('SRID=4674;POINT (-40.131885 -2.814425)'))) / (select extract(epoch from '2026-08-19 15:40:21'::timestamp) - extract(epoch from '2026-08-19 15:40: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'), 48199, 'SRID=4674;POINT (-40.131755 -2.814465)', '2026-08-19 15:40:30', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131885 -2.814425)'), GeomFromEWKT('SRID=4674;POINT (-40.131755 -2.814465)'))) / (select extract(epoch from '2026-08-19 15:40:30'::timestamp) - extract(epoch from '2026-08-19 15:40:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131885 -2.814425)'), GeomFromEWKT('SRID=4674;POINT (-40.131755 -2.814465)'))) / (select extract(epoch from '2026-08-19 15:40:30'::timestamp) - extract(epoch from '2026-08-19 15:40: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'), 48199, 'SRID=4674;POINT (-40.131601 -2.814514)', '2026-08-19 15:40:40', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131755 -2.814465)'), GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.814514)'))) / (select extract(epoch from '2026-08-19 15:40:40'::timestamp) - extract(epoch from '2026-08-19 15:40:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131755 -2.814465)'), GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.814514)'))) / (select extract(epoch from '2026-08-19 15:40:40'::timestamp) - extract(epoch from '2026-08-19 15:40:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.131494 -2.814556)', '2026-08-19 15:40:49', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.814514)'), GeomFromEWKT('SRID=4674;POINT (-40.131494 -2.814556)'))) / (select extract(epoch from '2026-08-19 15:40:49'::timestamp) - extract(epoch from '2026-08-19 15:40:40'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131601 -2.814514)'), GeomFromEWKT('SRID=4674;POINT (-40.131494 -2.814556)'))) / (select extract(epoch from '2026-08-19 15:40:49'::timestamp) - extract(epoch from '2026-08-19 15:40: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'), 48199, 'SRID=4674;POINT (-40.131365 -2.814581)', '2026-08-19 15:40:58', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131494 -2.814556)'), GeomFromEWKT('SRID=4674;POINT (-40.131365 -2.814581)'))) / (select extract(epoch from '2026-08-19 15:40:58'::timestamp) - extract(epoch from '2026-08-19 15:40:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131494 -2.814556)'), GeomFromEWKT('SRID=4674;POINT (-40.131365 -2.814581)'))) / (select extract(epoch from '2026-08-19 15:40:58'::timestamp) - extract(epoch from '2026-08-19 15:40:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.1312 -2.814629)', '2026-08-19 15:41:10', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131365 -2.814581)'), GeomFromEWKT('SRID=4674;POINT (-40.1312 -2.814629)'))) / (select extract(epoch from '2026-08-19 15:41:10'::timestamp) - extract(epoch from '2026-08-19 15:40:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131365 -2.814581)'), GeomFromEWKT('SRID=4674;POINT (-40.1312 -2.814629)'))) / (select extract(epoch from '2026-08-19 15:41:10'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.131059 -2.814672)', '2026-08-19 15:41:20', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1312 -2.814629)'), GeomFromEWKT('SRID=4674;POINT (-40.131059 -2.814672)'))) / (select extract(epoch from '2026-08-19 15:41:20'::timestamp) - extract(epoch from '2026-08-19 15:41:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.1312 -2.814629)'), GeomFromEWKT('SRID=4674;POINT (-40.131059 -2.814672)'))) / (select extract(epoch from '2026-08-19 15:41:20'::timestamp) - extract(epoch from '2026-08-19 15:41: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'), 48199, 'SRID=4674;POINT (-40.130892 -2.814719)', '2026-08-19 15:41:31', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131059 -2.814672)'), GeomFromEWKT('SRID=4674;POINT (-40.130892 -2.814719)'))) / (select extract(epoch from '2026-08-19 15:41:31'::timestamp) - extract(epoch from '2026-08-19 15:41:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.131059 -2.814672)'), GeomFromEWKT('SRID=4674;POINT (-40.130892 -2.814719)'))) / (select extract(epoch from '2026-08-19 15:41:31'::timestamp) - extract(epoch from '2026-08-19 15:41:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130767 -2.814733)', '2026-08-19 15:41:39', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130892 -2.814719)'), GeomFromEWKT('SRID=4674;POINT (-40.130767 -2.814733)'))) / (select extract(epoch from '2026-08-19 15:41:39'::timestamp) - extract(epoch from '2026-08-19 15:41:31'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130892 -2.814719)'), GeomFromEWKT('SRID=4674;POINT (-40.130767 -2.814733)'))) / (select extract(epoch from '2026-08-19 15:41:39'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.130594 -2.814755)', '2026-08-19 15:41:50', 5, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130767 -2.814733)'), GeomFromEWKT('SRID=4674;POINT (-40.130594 -2.814755)'))) / (select extract(epoch from '2026-08-19 15:41:50'::timestamp) - extract(epoch from '2026-08-19 15:41:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130767 -2.814733)'), GeomFromEWKT('SRID=4674;POINT (-40.130594 -2.814755)'))) / (select extract(epoch from '2026-08-19 15:41:50'::timestamp) - extract(epoch from '2026-08-19 15:41:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.130461 -2.81479)', '2026-08-19 15:42:00', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130594 -2.814755)'), GeomFromEWKT('SRID=4674;POINT (-40.130461 -2.81479)'))) / (select extract(epoch from '2026-08-19 15:42:00'::timestamp) - extract(epoch from '2026-08-19 15:41:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130594 -2.814755)'), GeomFromEWKT('SRID=4674;POINT (-40.130461 -2.81479)'))) / (select extract(epoch from '2026-08-19 15:42:00'::timestamp) - extract(epoch from '2026-08-19 15:41: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'), 48199, 'SRID=4674;POINT (-40.130305 -2.814818)', '2026-08-19 15:42:10', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130461 -2.81479)'), GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.814818)'))) / (select extract(epoch from '2026-08-19 15:42:10'::timestamp) - extract(epoch from '2026-08-19 15:42:00'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130461 -2.81479)'), GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.814818)'))) / (select extract(epoch from '2026-08-19 15:42:10'::timestamp) - extract(epoch from '2026-08-19 15:42:00'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.13015 -2.814843)', '2026-08-19 15:42:20', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.814818)'), GeomFromEWKT('SRID=4674;POINT (-40.13015 -2.814843)'))) / (select extract(epoch from '2026-08-19 15:42:20'::timestamp) - extract(epoch from '2026-08-19 15:42:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.130305 -2.814818)'), GeomFromEWKT('SRID=4674;POINT (-40.13015 -2.814843)'))) / (select extract(epoch from '2026-08-19 15:42:20'::timestamp) - extract(epoch from '2026-08-19 15:42: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'), 48199, 'SRID=4674;POINT (-40.13 -2.814864)', '2026-08-19 15:42:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13015 -2.814843)'), GeomFromEWKT('SRID=4674;POINT (-40.13 -2.814864)'))) / (select extract(epoch from '2026-08-19 15:42:30'::timestamp) - extract(epoch from '2026-08-19 15:42:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13015 -2.814843)'), GeomFromEWKT('SRID=4674;POINT (-40.13 -2.814864)'))) / (select extract(epoch from '2026-08-19 15:42:30'::timestamp) - extract(epoch from '2026-08-19 15:42: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'), 48199, 'SRID=4674;POINT (-40.129854 -2.814889)', '2026-08-19 15:42:39', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13 -2.814864)'), GeomFromEWKT('SRID=4674;POINT (-40.129854 -2.814889)'))) / (select extract(epoch from '2026-08-19 15:42:39'::timestamp) - extract(epoch from '2026-08-19 15:42:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.13 -2.814864)'), GeomFromEWKT('SRID=4674;POINT (-40.129854 -2.814889)'))) / (select extract(epoch from '2026-08-19 15:42:39'::timestamp) - extract(epoch from '2026-08-19 15:42: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'), 48199, 'SRID=4674;POINT (-40.12971 -2.81491)', '2026-08-19 15:42:49', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129854 -2.814889)'), GeomFromEWKT('SRID=4674;POINT (-40.12971 -2.81491)'))) / (select extract(epoch from '2026-08-19 15:42:49'::timestamp) - extract(epoch from '2026-08-19 15:42:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129854 -2.814889)'), GeomFromEWKT('SRID=4674;POINT (-40.12971 -2.81491)'))) / (select extract(epoch from '2026-08-19 15:42:49'::timestamp) - extract(epoch from '2026-08-19 15:42: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'), 48199, 'SRID=4674;POINT (-40.129567 -2.814933)', '2026-08-19 15:42:59', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12971 -2.81491)'), GeomFromEWKT('SRID=4674;POINT (-40.129567 -2.814933)'))) / (select extract(epoch from '2026-08-19 15:42:59'::timestamp) - extract(epoch from '2026-08-19 15:42:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12971 -2.81491)'), GeomFromEWKT('SRID=4674;POINT (-40.129567 -2.814933)'))) / (select extract(epoch from '2026-08-19 15:42:59'::timestamp) - extract(epoch from '2026-08-19 15:42: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'), 48199, 'SRID=4674;POINT (-40.129428 -2.814949)', '2026-08-19 15:43:08', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129567 -2.814933)'), GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.814949)'))) / (select extract(epoch from '2026-08-19 15:43:08'::timestamp) - extract(epoch from '2026-08-19 15:42:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129567 -2.814933)'), GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.814949)'))) / (select extract(epoch from '2026-08-19 15:43:08'::timestamp) - extract(epoch from '2026-08-19 15:42:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.129286 -2.81498)', '2026-08-19 15:43:18', 8.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.814949)'), GeomFromEWKT('SRID=4674;POINT (-40.129286 -2.81498)'))) / (select extract(epoch from '2026-08-19 15:43:18'::timestamp) - extract(epoch from '2026-08-19 15:43:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129428 -2.814949)'), GeomFromEWKT('SRID=4674;POINT (-40.129286 -2.81498)'))) / (select extract(epoch from '2026-08-19 15:43:18'::timestamp) - extract(epoch from '2026-08-19 15:43: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'), 48199, 'SRID=4674;POINT (-40.12912 -2.814999)', '2026-08-19 15:43:29', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129286 -2.81498)'), GeomFromEWKT('SRID=4674;POINT (-40.12912 -2.814999)'))) / (select extract(epoch from '2026-08-19 15:43:29'::timestamp) - extract(epoch from '2026-08-19 15:43:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.129286 -2.81498)'), GeomFromEWKT('SRID=4674;POINT (-40.12912 -2.814999)'))) / (select extract(epoch from '2026-08-19 15:43:29'::timestamp) - extract(epoch from '2026-08-19 15:43: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'), 48199, 'SRID=4674;POINT (-40.128968 -2.815003)', '2026-08-19 15:43:38', 8.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12912 -2.814999)'), GeomFromEWKT('SRID=4674;POINT (-40.128968 -2.815003)'))) / (select extract(epoch from '2026-08-19 15:43:38'::timestamp) - extract(epoch from '2026-08-19 15:43:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12912 -2.814999)'), GeomFromEWKT('SRID=4674;POINT (-40.128968 -2.815003)'))) / (select extract(epoch from '2026-08-19 15:43:38'::timestamp) - extract(epoch from '2026-08-19 15:43: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'), 48199, 'SRID=4674;POINT (-40.128801 -2.814982)', '2026-08-19 15:43:49', 7.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128968 -2.815003)'), GeomFromEWKT('SRID=4674;POINT (-40.128801 -2.814982)'))) / (select extract(epoch from '2026-08-19 15:43:49'::timestamp) - extract(epoch from '2026-08-19 15:43:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128968 -2.815003)'), GeomFromEWKT('SRID=4674;POINT (-40.128801 -2.814982)'))) / (select extract(epoch from '2026-08-19 15:43:49'::timestamp) - extract(epoch from '2026-08-19 15:43: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'), 48199, 'SRID=4674;POINT (-40.12862 -2.814984)', '2026-08-19 15:44:01', 7.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128801 -2.814982)'), GeomFromEWKT('SRID=4674;POINT (-40.12862 -2.814984)'))) / (select extract(epoch from '2026-08-19 15:44:01'::timestamp) - extract(epoch from '2026-08-19 15:43:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128801 -2.814982)'), GeomFromEWKT('SRID=4674;POINT (-40.12862 -2.814984)'))) / (select extract(epoch from '2026-08-19 15:44:01'::timestamp) - extract(epoch from '2026-08-19 15:43:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128462 -2.814978)', '2026-08-19 15:44:12', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12862 -2.814984)'), GeomFromEWKT('SRID=4674;POINT (-40.128462 -2.814978)'))) / (select extract(epoch from '2026-08-19 15:44:12'::timestamp) - extract(epoch from '2026-08-19 15:44:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12862 -2.814984)'), GeomFromEWKT('SRID=4674;POINT (-40.128462 -2.814978)'))) / (select extract(epoch from '2026-08-19 15:44:12'::timestamp) - extract(epoch from '2026-08-19 15:44: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'), 48199, 'SRID=4674;POINT (-40.128321 -2.81496)', '2026-08-19 15:44:21', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128462 -2.814978)'), GeomFromEWKT('SRID=4674;POINT (-40.128321 -2.81496)'))) / (select extract(epoch from '2026-08-19 15:44:21'::timestamp) - extract(epoch from '2026-08-19 15:44:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128462 -2.814978)'), GeomFromEWKT('SRID=4674;POINT (-40.128321 -2.81496)'))) / (select extract(epoch from '2026-08-19 15:44:21'::timestamp) - extract(epoch from '2026-08-19 15:44:12'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128193 -2.814947)', '2026-08-19 15:44:30', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128321 -2.81496)'), GeomFromEWKT('SRID=4674;POINT (-40.128193 -2.814947)'))) / (select extract(epoch from '2026-08-19 15:44:30'::timestamp) - extract(epoch from '2026-08-19 15:44:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128321 -2.81496)'), GeomFromEWKT('SRID=4674;POINT (-40.128193 -2.814947)'))) / (select extract(epoch from '2026-08-19 15:44:30'::timestamp) - extract(epoch from '2026-08-19 15:44:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.128035 -2.814949)', '2026-08-19 15:44:41', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128193 -2.814947)'), GeomFromEWKT('SRID=4674;POINT (-40.128035 -2.814949)'))) / (select extract(epoch from '2026-08-19 15:44:41'::timestamp) - extract(epoch from '2026-08-19 15:44:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128193 -2.814947)'), GeomFromEWKT('SRID=4674;POINT (-40.128035 -2.814949)'))) / (select extract(epoch from '2026-08-19 15:44:41'::timestamp) - extract(epoch from '2026-08-19 15:44: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'), 48199, 'SRID=4674;POINT (-40.127873 -2.814929)', '2026-08-19 15:44:52', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128035 -2.814949)'), GeomFromEWKT('SRID=4674;POINT (-40.127873 -2.814929)'))) / (select extract(epoch from '2026-08-19 15:44:52'::timestamp) - extract(epoch from '2026-08-19 15:44:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.128035 -2.814949)'), GeomFromEWKT('SRID=4674;POINT (-40.127873 -2.814929)'))) / (select extract(epoch from '2026-08-19 15:44:52'::timestamp) - extract(epoch from '2026-08-19 15:44: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'), 48199, 'SRID=4674;POINT (-40.127704 -2.814922)', '2026-08-19 15:45:03', 6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127873 -2.814929)'), GeomFromEWKT('SRID=4674;POINT (-40.127704 -2.814922)'))) / (select extract(epoch from '2026-08-19 15:45:03'::timestamp) - extract(epoch from '2026-08-19 15:44:52'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127873 -2.814929)'), GeomFromEWKT('SRID=4674;POINT (-40.127704 -2.814922)'))) / (select extract(epoch from '2026-08-19 15:45:03'::timestamp) - extract(epoch from '2026-08-19 15:44:52'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127522 -2.814927)', '2026-08-19 15:45:15', 7.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127704 -2.814922)'), GeomFromEWKT('SRID=4674;POINT (-40.127522 -2.814927)'))) / (select extract(epoch from '2026-08-19 15:45:15'::timestamp) - extract(epoch from '2026-08-19 15:45:03'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127704 -2.814922)'), GeomFromEWKT('SRID=4674;POINT (-40.127522 -2.814927)'))) / (select extract(epoch from '2026-08-19 15:45:15'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.127374 -2.814939)', '2026-08-19 15:45:25', 8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127522 -2.814927)'), GeomFromEWKT('SRID=4674;POINT (-40.127374 -2.814939)'))) / (select extract(epoch from '2026-08-19 15:45:25'::timestamp) - extract(epoch from '2026-08-19 15:45:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127522 -2.814927)'), GeomFromEWKT('SRID=4674;POINT (-40.127374 -2.814939)'))) / (select extract(epoch from '2026-08-19 15:45:25'::timestamp) - extract(epoch from '2026-08-19 15:45:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127201 -2.814918)', '2026-08-19 15:45:37', 8.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127374 -2.814939)'), GeomFromEWKT('SRID=4674;POINT (-40.127201 -2.814918)'))) / (select extract(epoch from '2026-08-19 15:45:37'::timestamp) - extract(epoch from '2026-08-19 15:45:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127374 -2.814939)'), GeomFromEWKT('SRID=4674;POINT (-40.127201 -2.814918)'))) / (select extract(epoch from '2026-08-19 15:45:37'::timestamp) - extract(epoch from '2026-08-19 15:45:25'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.127039 -2.814912)', '2026-08-19 15:45:48', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127201 -2.814918)'), GeomFromEWKT('SRID=4674;POINT (-40.127039 -2.814912)'))) / (select extract(epoch from '2026-08-19 15:45:48'::timestamp) - extract(epoch from '2026-08-19 15:45:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127201 -2.814918)'), GeomFromEWKT('SRID=4674;POINT (-40.127039 -2.814912)'))) / (select extract(epoch from '2026-08-19 15:45:48'::timestamp) - extract(epoch from '2026-08-19 15:45:37'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126906 -2.814916)', '2026-08-19 15:45:57', 9, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127039 -2.814912)'), GeomFromEWKT('SRID=4674;POINT (-40.126906 -2.814916)'))) / (select extract(epoch from '2026-08-19 15:45:57'::timestamp) - extract(epoch from '2026-08-19 15:45:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.127039 -2.814912)'), GeomFromEWKT('SRID=4674;POINT (-40.126906 -2.814916)'))) / (select extract(epoch from '2026-08-19 15:45:57'::timestamp) - extract(epoch from '2026-08-19 15:45:48'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126768 -2.814928)', '2026-08-19 15:46:07', 8.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126906 -2.814916)'), GeomFromEWKT('SRID=4674;POINT (-40.126768 -2.814928)'))) / (select extract(epoch from '2026-08-19 15:46:07'::timestamp) - extract(epoch from '2026-08-19 15:45:57'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126906 -2.814916)'), GeomFromEWKT('SRID=4674;POINT (-40.126768 -2.814928)'))) / (select extract(epoch from '2026-08-19 15:46:07'::timestamp) - extract(epoch from '2026-08-19 15:45:57'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126657 -2.814922)', '2026-08-19 15:46:16', 7.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126768 -2.814928)'), GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.814922)'))) / (select extract(epoch from '2026-08-19 15:46:16'::timestamp) - extract(epoch from '2026-08-19 15:46:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126768 -2.814928)'), GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.814922)'))) / (select extract(epoch from '2026-08-19 15:46:16'::timestamp) - extract(epoch from '2026-08-19 15:46:07'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.126496 -2.814906)', '2026-08-19 15:46:27', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.814922)'), GeomFromEWKT('SRID=4674;POINT (-40.126496 -2.814906)'))) / (select extract(epoch from '2026-08-19 15:46:27'::timestamp) - extract(epoch from '2026-08-19 15:46:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126657 -2.814922)'), GeomFromEWKT('SRID=4674;POINT (-40.126496 -2.814906)'))) / (select extract(epoch from '2026-08-19 15:46:27'::timestamp) - extract(epoch from '2026-08-19 15:46: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'), 48199, 'SRID=4674;POINT (-40.126348 -2.814903)', '2026-08-19 15:46:37', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126496 -2.814906)'), GeomFromEWKT('SRID=4674;POINT (-40.126348 -2.814903)'))) / (select extract(epoch from '2026-08-19 15:46:37'::timestamp) - extract(epoch from '2026-08-19 15:46:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126496 -2.814906)'), GeomFromEWKT('SRID=4674;POINT (-40.126348 -2.814903)'))) / (select extract(epoch from '2026-08-19 15:46:37'::timestamp) - extract(epoch from '2026-08-19 15:46:27'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.12615 -2.814889)', '2026-08-19 15:46:50', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126348 -2.814903)'), GeomFromEWKT('SRID=4674;POINT (-40.12615 -2.814889)'))) / (select extract(epoch from '2026-08-19 15:46:50'::timestamp) - extract(epoch from '2026-08-19 15:46:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.126348 -2.814903)'), GeomFromEWKT('SRID=4674;POINT (-40.12615 -2.814889)'))) / (select extract(epoch from '2026-08-19 15:46:50'::timestamp) - extract(epoch from '2026-08-19 15:46: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'), 48199, 'SRID=4674;POINT (-40.12602 -2.814898)', '2026-08-19 15:46:59', 7, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12615 -2.814889)'), GeomFromEWKT('SRID=4674;POINT (-40.12602 -2.814898)'))) / (select extract(epoch from '2026-08-19 15:46:59'::timestamp) - extract(epoch from '2026-08-19 15:46:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12615 -2.814889)'), GeomFromEWKT('SRID=4674;POINT (-40.12602 -2.814898)'))) / (select extract(epoch from '2026-08-19 15:46:59'::timestamp) - extract(epoch from '2026-08-19 15:46:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125867 -2.814876)', '2026-08-19 15:47:10', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12602 -2.814898)'), GeomFromEWKT('SRID=4674;POINT (-40.125867 -2.814876)'))) / (select extract(epoch from '2026-08-19 15:47:10'::timestamp) - extract(epoch from '2026-08-19 15:46:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12602 -2.814898)'), GeomFromEWKT('SRID=4674;POINT (-40.125867 -2.814876)'))) / (select extract(epoch from '2026-08-19 15:47:10'::timestamp) - extract(epoch from '2026-08-19 15:46:59'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125718 -2.814873)', '2026-08-19 15:47:21', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125867 -2.814876)'), GeomFromEWKT('SRID=4674;POINT (-40.125718 -2.814873)'))) / (select extract(epoch from '2026-08-19 15:47:21'::timestamp) - extract(epoch from '2026-08-19 15:47:10'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125867 -2.814876)'), GeomFromEWKT('SRID=4674;POINT (-40.125718 -2.814873)'))) / (select extract(epoch from '2026-08-19 15:47:21'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.125587 -2.814865)', '2026-08-19 15:47:30', 6.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125718 -2.814873)'), GeomFromEWKT('SRID=4674;POINT (-40.125587 -2.814865)'))) / (select extract(epoch from '2026-08-19 15:47:30'::timestamp) - extract(epoch from '2026-08-19 15:47:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125718 -2.814873)'), GeomFromEWKT('SRID=4674;POINT (-40.125587 -2.814865)'))) / (select extract(epoch from '2026-08-19 15:47:30'::timestamp) - extract(epoch from '2026-08-19 15:47:21'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125426 -2.814854)', '2026-08-19 15:47:41', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125587 -2.814865)'), GeomFromEWKT('SRID=4674;POINT (-40.125426 -2.814854)'))) / (select extract(epoch from '2026-08-19 15:47:41'::timestamp) - extract(epoch from '2026-08-19 15:47:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125587 -2.814865)'), GeomFromEWKT('SRID=4674;POINT (-40.125426 -2.814854)'))) / (select extract(epoch from '2026-08-19 15:47:41'::timestamp) - extract(epoch from '2026-08-19 15:47:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125305 -2.814857)', '2026-08-19 15:47:50', 6.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125426 -2.814854)'), GeomFromEWKT('SRID=4674;POINT (-40.125305 -2.814857)'))) / (select extract(epoch from '2026-08-19 15:47:50'::timestamp) - extract(epoch from '2026-08-19 15:47:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125426 -2.814854)'), GeomFromEWKT('SRID=4674;POINT (-40.125305 -2.814857)'))) / (select extract(epoch from '2026-08-19 15:47:50'::timestamp) - extract(epoch from '2026-08-19 15:47:41'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125176 -2.814846)', '2026-08-19 15:47:59', 6.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125305 -2.814857)'), GeomFromEWKT('SRID=4674;POINT (-40.125176 -2.814846)'))) / (select extract(epoch from '2026-08-19 15:47:59'::timestamp) - extract(epoch from '2026-08-19 15:47:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125305 -2.814857)'), GeomFromEWKT('SRID=4674;POINT (-40.125176 -2.814846)'))) / (select extract(epoch from '2026-08-19 15:47:59'::timestamp) - extract(epoch from '2026-08-19 15:47:50'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.125037 -2.814821)', '2026-08-19 15:48:09', 6.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125176 -2.814846)'), GeomFromEWKT('SRID=4674;POINT (-40.125037 -2.814821)'))) / (select extract(epoch from '2026-08-19 15:48:09'::timestamp) - extract(epoch from '2026-08-19 15:47:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125176 -2.814846)'), GeomFromEWKT('SRID=4674;POINT (-40.125037 -2.814821)'))) / (select extract(epoch from '2026-08-19 15:48:09'::timestamp) - extract(epoch from '2026-08-19 15:47: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'), 48199, 'SRID=4674;POINT (-40.12489 -2.814827)', '2026-08-19 15:48:19', 5.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125037 -2.814821)'), GeomFromEWKT('SRID=4674;POINT (-40.12489 -2.814827)'))) / (select extract(epoch from '2026-08-19 15:48:19'::timestamp) - extract(epoch from '2026-08-19 15:48:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.125037 -2.814821)'), GeomFromEWKT('SRID=4674;POINT (-40.12489 -2.814827)'))) / (select extract(epoch from '2026-08-19 15:48:19'::timestamp) - extract(epoch from '2026-08-19 15:48: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'), 48199, 'SRID=4674;POINT (-40.124751 -2.814808)', '2026-08-19 15:48:29', 5.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12489 -2.814827)'), GeomFromEWKT('SRID=4674;POINT (-40.124751 -2.814808)'))) / (select extract(epoch from '2026-08-19 15:48:29'::timestamp) - extract(epoch from '2026-08-19 15:48:19'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.12489 -2.814827)'), GeomFromEWKT('SRID=4674;POINT (-40.124751 -2.814808)'))) / (select extract(epoch from '2026-08-19 15:48:29'::timestamp) - extract(epoch from '2026-08-19 15:48:19'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.124608 -2.814785)', '2026-08-19 15:48:39', 5.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124751 -2.814808)'), GeomFromEWKT('SRID=4674;POINT (-40.124608 -2.814785)'))) / (select extract(epoch from '2026-08-19 15:48:39'::timestamp) - extract(epoch from '2026-08-19 15:48:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124751 -2.814808)'), GeomFromEWKT('SRID=4674;POINT (-40.124608 -2.814785)'))) / (select extract(epoch from '2026-08-19 15:48:39'::timestamp) - extract(epoch from '2026-08-19 15:48: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'), 48199, 'SRID=4674;POINT (-40.124442 -2.814766)', '2026-08-19 15:48:50', 4.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124608 -2.814785)'), GeomFromEWKT('SRID=4674;POINT (-40.124442 -2.814766)'))) / (select extract(epoch from '2026-08-19 15:48:50'::timestamp) - extract(epoch from '2026-08-19 15:48:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124608 -2.814785)'), GeomFromEWKT('SRID=4674;POINT (-40.124442 -2.814766)'))) / (select extract(epoch from '2026-08-19 15:48:50'::timestamp) - extract(epoch from '2026-08-19 15:48:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.124287 -2.814755)', '2026-08-19 15:49:01', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124442 -2.814766)'), GeomFromEWKT('SRID=4674;POINT (-40.124287 -2.814755)'))) / (select extract(epoch from '2026-08-19 15:49:01'::timestamp) - extract(epoch from '2026-08-19 15:48:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124442 -2.814766)'), GeomFromEWKT('SRID=4674;POINT (-40.124287 -2.814755)'))) / (select extract(epoch from '2026-08-19 15:49:01'::timestamp) - extract(epoch from '2026-08-19 15:48: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'), 48199, 'SRID=4674;POINT (-40.124123 -2.814781)', '2026-08-19 15:49:12', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124287 -2.814755)'), GeomFromEWKT('SRID=4674;POINT (-40.124123 -2.814781)'))) / (select extract(epoch from '2026-08-19 15:49:12'::timestamp) - extract(epoch from '2026-08-19 15:49:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124287 -2.814755)'), GeomFromEWKT('SRID=4674;POINT (-40.124123 -2.814781)'))) / (select extract(epoch from '2026-08-19 15:49:12'::timestamp) - extract(epoch from '2026-08-19 15:49: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'), 48199, 'SRID=4674;POINT (-40.123887 -2.814802)', '2026-08-19 15:49:27', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124123 -2.814781)'), GeomFromEWKT('SRID=4674;POINT (-40.123887 -2.814802)'))) / (select extract(epoch from '2026-08-19 15:49:27'::timestamp) - extract(epoch from '2026-08-19 15:49:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.124123 -2.814781)'), GeomFromEWKT('SRID=4674;POINT (-40.123887 -2.814802)'))) / (select extract(epoch from '2026-08-19 15:49:27'::timestamp) - extract(epoch from '2026-08-19 15:49: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'), 48199, 'SRID=4674;POINT (-40.123751 -2.814837)', '2026-08-19 15:49:38', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123887 -2.814802)'), GeomFromEWKT('SRID=4674;POINT (-40.123751 -2.814837)'))) / (select extract(epoch from '2026-08-19 15:49:38'::timestamp) - extract(epoch from '2026-08-19 15:49:27'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123887 -2.814802)'), GeomFromEWKT('SRID=4674;POINT (-40.123751 -2.814837)'))) / (select extract(epoch from '2026-08-19 15:49:38'::timestamp) - extract(epoch from '2026-08-19 15:49: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'), 48199, 'SRID=4674;POINT (-40.123597 -2.814846)', '2026-08-19 15:49:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123751 -2.814837)'), GeomFromEWKT('SRID=4674;POINT (-40.123597 -2.814846)'))) / (select extract(epoch from '2026-08-19 15:49:48'::timestamp) - extract(epoch from '2026-08-19 15:49:38'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123751 -2.814837)'), GeomFromEWKT('SRID=4674;POINT (-40.123597 -2.814846)'))) / (select extract(epoch from '2026-08-19 15:49:48'::timestamp) - extract(epoch from '2026-08-19 15:49:38'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.123408 -2.81485)', '2026-08-19 15:50:01', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123597 -2.814846)'), GeomFromEWKT('SRID=4674;POINT (-40.123408 -2.81485)'))) / (select extract(epoch from '2026-08-19 15:50:01'::timestamp) - extract(epoch from '2026-08-19 15:49:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123597 -2.814846)'), GeomFromEWKT('SRID=4674;POINT (-40.123408 -2.81485)'))) / (select extract(epoch from '2026-08-19 15:50:01'::timestamp) - extract(epoch from '2026-08-19 15:49: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'), 48199, 'SRID=4674;POINT (-40.123218 -2.814887)', '2026-08-19 15:50:14', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123408 -2.81485)'), GeomFromEWKT('SRID=4674;POINT (-40.123218 -2.814887)'))) / (select extract(epoch from '2026-08-19 15:50:14'::timestamp) - extract(epoch from '2026-08-19 15:50:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123408 -2.81485)'), GeomFromEWKT('SRID=4674;POINT (-40.123218 -2.814887)'))) / (select extract(epoch from '2026-08-19 15:50:14'::timestamp) - extract(epoch from '2026-08-19 15:50:01'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.123043 -2.814913)', '2026-08-19 15:50:25', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123218 -2.814887)'), GeomFromEWKT('SRID=4674;POINT (-40.123043 -2.814913)'))) / (select extract(epoch from '2026-08-19 15:50:25'::timestamp) - extract(epoch from '2026-08-19 15:50:14'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123218 -2.814887)'), GeomFromEWKT('SRID=4674;POINT (-40.123043 -2.814913)'))) / (select extract(epoch from '2026-08-19 15:50:25'::timestamp) - extract(epoch from '2026-08-19 15:50:14'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.122884 -2.814922)', '2026-08-19 15:50:36', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123043 -2.814913)'), GeomFromEWKT('SRID=4674;POINT (-40.122884 -2.814922)'))) / (select extract(epoch from '2026-08-19 15:50:36'::timestamp) - extract(epoch from '2026-08-19 15:50:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.123043 -2.814913)'), GeomFromEWKT('SRID=4674;POINT (-40.122884 -2.814922)'))) / (select extract(epoch from '2026-08-19 15:50:36'::timestamp) - extract(epoch from '2026-08-19 15:50: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'), 48199, 'SRID=4674;POINT (-40.122692 -2.81493)', '2026-08-19 15:50:50', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122884 -2.814922)'), GeomFromEWKT('SRID=4674;POINT (-40.122692 -2.81493)'))) / (select extract(epoch from '2026-08-19 15:50:50'::timestamp) - extract(epoch from '2026-08-19 15:50:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122884 -2.814922)'), GeomFromEWKT('SRID=4674;POINT (-40.122692 -2.81493)'))) / (select extract(epoch from '2026-08-19 15:50:50'::timestamp) - extract(epoch from '2026-08-19 15:50: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'), 48199, 'SRID=4674;POINT (-40.122522 -2.814977)', '2026-08-19 15:51:02', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122692 -2.81493)'), GeomFromEWKT('SRID=4674;POINT (-40.122522 -2.814977)'))) / (select extract(epoch from '2026-08-19 15:51:02'::timestamp) - extract(epoch from '2026-08-19 15:50:50'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122692 -2.81493)'), GeomFromEWKT('SRID=4674;POINT (-40.122522 -2.814977)'))) / (select extract(epoch from '2026-08-19 15:51:02'::timestamp) - extract(epoch from '2026-08-19 15:50: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'), 48199, 'SRID=4674;POINT (-40.122357 -2.814994)', '2026-08-19 15:51:13', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122522 -2.814977)'), GeomFromEWKT('SRID=4674;POINT (-40.122357 -2.814994)'))) / (select extract(epoch from '2026-08-19 15:51:13'::timestamp) - extract(epoch from '2026-08-19 15:51:02'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122522 -2.814977)'), GeomFromEWKT('SRID=4674;POINT (-40.122357 -2.814994)'))) / (select extract(epoch from '2026-08-19 15:51:13'::timestamp) - extract(epoch from '2026-08-19 15:51: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'), 48199, 'SRID=4674;POINT (-40.122188 -2.815003)', '2026-08-19 15:51:24', 4.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122357 -2.814994)'), GeomFromEWKT('SRID=4674;POINT (-40.122188 -2.815003)'))) / (select extract(epoch from '2026-08-19 15:51:24'::timestamp) - extract(epoch from '2026-08-19 15:51:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122357 -2.814994)'), GeomFromEWKT('SRID=4674;POINT (-40.122188 -2.815003)'))) / (select extract(epoch from '2026-08-19 15:51:24'::timestamp) - extract(epoch from '2026-08-19 15:51: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'), 48199, 'SRID=4674;POINT (-40.122047 -2.815025)', '2026-08-19 15:51:33', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122188 -2.815003)'), GeomFromEWKT('SRID=4674;POINT (-40.122047 -2.815025)'))) / (select extract(epoch from '2026-08-19 15:51:33'::timestamp) - extract(epoch from '2026-08-19 15:51:24'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122188 -2.815003)'), GeomFromEWKT('SRID=4674;POINT (-40.122047 -2.815025)'))) / (select extract(epoch from '2026-08-19 15:51:33'::timestamp) - extract(epoch from '2026-08-19 15:51: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'), 48199, 'SRID=4674;POINT (-40.121859 -2.815035)', '2026-08-19 15:51:45', 4.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122047 -2.815025)'), GeomFromEWKT('SRID=4674;POINT (-40.121859 -2.815035)'))) / (select extract(epoch from '2026-08-19 15:51:45'::timestamp) - extract(epoch from '2026-08-19 15:51:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.122047 -2.815025)'), GeomFromEWKT('SRID=4674;POINT (-40.121859 -2.815035)'))) / (select extract(epoch from '2026-08-19 15:51:45'::timestamp) - extract(epoch from '2026-08-19 15:51: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'), 48199, 'SRID=4674;POINT (-40.121662 -2.815046)', '2026-08-19 15:51:58', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121859 -2.815035)'), GeomFromEWKT('SRID=4674;POINT (-40.121662 -2.815046)'))) / (select extract(epoch from '2026-08-19 15:51:58'::timestamp) - extract(epoch from '2026-08-19 15:51:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121859 -2.815035)'), GeomFromEWKT('SRID=4674;POINT (-40.121662 -2.815046)'))) / (select extract(epoch from '2026-08-19 15:51:58'::timestamp) - extract(epoch from '2026-08-19 15:51: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'), 48199, 'SRID=4674;POINT (-40.121519 -2.815058)', '2026-08-19 15:52:08', 4.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121662 -2.815046)'), GeomFromEWKT('SRID=4674;POINT (-40.121519 -2.815058)'))) / (select extract(epoch from '2026-08-19 15:52:08'::timestamp) - extract(epoch from '2026-08-19 15:51:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121662 -2.815046)'), GeomFromEWKT('SRID=4674;POINT (-40.121519 -2.815058)'))) / (select extract(epoch from '2026-08-19 15:52:08'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.121351 -2.815036)', '2026-08-19 15:52:20', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121519 -2.815058)'), GeomFromEWKT('SRID=4674;POINT (-40.121351 -2.815036)'))) / (select extract(epoch from '2026-08-19 15:52:20'::timestamp) - extract(epoch from '2026-08-19 15:52:08'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121519 -2.815058)'), GeomFromEWKT('SRID=4674;POINT (-40.121351 -2.815036)'))) / (select extract(epoch from '2026-08-19 15:52:20'::timestamp) - extract(epoch from '2026-08-19 15:52: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'), 48199, 'SRID=4674;POINT (-40.121206 -2.81504)', '2026-08-19 15:52:30', 3.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121351 -2.815036)'), GeomFromEWKT('SRID=4674;POINT (-40.121206 -2.81504)'))) / (select extract(epoch from '2026-08-19 15:52:30'::timestamp) - extract(epoch from '2026-08-19 15:52:20'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121351 -2.815036)'), GeomFromEWKT('SRID=4674;POINT (-40.121206 -2.81504)'))) / (select extract(epoch from '2026-08-19 15:52:30'::timestamp) - extract(epoch from '2026-08-19 15:52:20'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.121042 -2.815051)', '2026-08-19 15:52:41', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121206 -2.81504)'), GeomFromEWKT('SRID=4674;POINT (-40.121042 -2.815051)'))) / (select extract(epoch from '2026-08-19 15:52:41'::timestamp) - extract(epoch from '2026-08-19 15:52:30'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121206 -2.81504)'), GeomFromEWKT('SRID=4674;POINT (-40.121042 -2.815051)'))) / (select extract(epoch from '2026-08-19 15:52:41'::timestamp) - extract(epoch from '2026-08-19 15:52:30'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.120866 -2.815076)', '2026-08-19 15:52:53', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121042 -2.815051)'), GeomFromEWKT('SRID=4674;POINT (-40.120866 -2.815076)'))) / (select extract(epoch from '2026-08-19 15:52:53'::timestamp) - extract(epoch from '2026-08-19 15:52:41'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.121042 -2.815051)'), GeomFromEWKT('SRID=4674;POINT (-40.120866 -2.815076)'))) / (select extract(epoch from '2026-08-19 15:52:53'::timestamp) - extract(epoch from '2026-08-19 15:52: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'), 48199, 'SRID=4674;POINT (-40.120688 -2.815102)', '2026-08-19 15:53:06', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120866 -2.815076)'), GeomFromEWKT('SRID=4674;POINT (-40.120688 -2.815102)'))) / (select extract(epoch from '2026-08-19 15:53:06'::timestamp) - extract(epoch from '2026-08-19 15:52:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120866 -2.815076)'), GeomFromEWKT('SRID=4674;POINT (-40.120688 -2.815102)'))) / (select extract(epoch from '2026-08-19 15:53:06'::timestamp) - extract(epoch from '2026-08-19 15:52: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'), 48199, 'SRID=4674;POINT (-40.120457 -2.815127)', '2026-08-19 15:53:21', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120688 -2.815102)'), GeomFromEWKT('SRID=4674;POINT (-40.120457 -2.815127)'))) / (select extract(epoch from '2026-08-19 15:53:21'::timestamp) - extract(epoch from '2026-08-19 15:53:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120688 -2.815102)'), GeomFromEWKT('SRID=4674;POINT (-40.120457 -2.815127)'))) / (select extract(epoch from '2026-08-19 15:53:21'::timestamp) - extract(epoch from '2026-08-19 15:53: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'), 48199, 'SRID=4674;POINT (-40.120285 -2.81514)', '2026-08-19 15:53:33', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120457 -2.815127)'), GeomFromEWKT('SRID=4674;POINT (-40.120285 -2.81514)'))) / (select extract(epoch from '2026-08-19 15:53:33'::timestamp) - extract(epoch from '2026-08-19 15:53:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120457 -2.815127)'), GeomFromEWKT('SRID=4674;POINT (-40.120285 -2.81514)'))) / (select extract(epoch from '2026-08-19 15:53:33'::timestamp) - extract(epoch from '2026-08-19 15:53: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'), 48199, 'SRID=4674;POINT (-40.120132 -2.815157)', '2026-08-19 15:53:44', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120285 -2.81514)'), GeomFromEWKT('SRID=4674;POINT (-40.120132 -2.815157)'))) / (select extract(epoch from '2026-08-19 15:53:44'::timestamp) - extract(epoch from '2026-08-19 15:53:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120285 -2.81514)'), GeomFromEWKT('SRID=4674;POINT (-40.120132 -2.815157)'))) / (select extract(epoch from '2026-08-19 15:53:44'::timestamp) - extract(epoch from '2026-08-19 15:53: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'), 48199, 'SRID=4674;POINT (-40.119909 -2.815167)', '2026-08-19 15:53:58', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120132 -2.815157)'), GeomFromEWKT('SRID=4674;POINT (-40.119909 -2.815167)'))) / (select extract(epoch from '2026-08-19 15:53:58'::timestamp) - extract(epoch from '2026-08-19 15:53:44'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.120132 -2.815157)'), GeomFromEWKT('SRID=4674;POINT (-40.119909 -2.815167)'))) / (select extract(epoch from '2026-08-19 15:53:58'::timestamp) - extract(epoch from '2026-08-19 15:53: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'), 48199, 'SRID=4674;POINT (-40.119737 -2.815176)', '2026-08-19 15:54:09', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119909 -2.815167)'), GeomFromEWKT('SRID=4674;POINT (-40.119737 -2.815176)'))) / (select extract(epoch from '2026-08-19 15:54:09'::timestamp) - extract(epoch from '2026-08-19 15:53:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119909 -2.815167)'), GeomFromEWKT('SRID=4674;POINT (-40.119737 -2.815176)'))) / (select extract(epoch from '2026-08-19 15:54:09'::timestamp) - extract(epoch from '2026-08-19 15:53: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'), 48199, 'SRID=4674;POINT (-40.11956 -2.815176)', '2026-08-19 15:54:22', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119737 -2.815176)'), GeomFromEWKT('SRID=4674;POINT (-40.11956 -2.815176)'))) / (select extract(epoch from '2026-08-19 15:54:22'::timestamp) - extract(epoch from '2026-08-19 15:54:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119737 -2.815176)'), GeomFromEWKT('SRID=4674;POINT (-40.11956 -2.815176)'))) / (select extract(epoch from '2026-08-19 15:54:22'::timestamp) - extract(epoch from '2026-08-19 15:54:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.119407 -2.815183)', '2026-08-19 15:54:33', 0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11956 -2.815176)'), GeomFromEWKT('SRID=4674;POINT (-40.119407 -2.815183)'))) / (select extract(epoch from '2026-08-19 15:54:33'::timestamp) - extract(epoch from '2026-08-19 15:54:22'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11956 -2.815176)'), GeomFromEWKT('SRID=4674;POINT (-40.119407 -2.815183)'))) / (select extract(epoch from '2026-08-19 15:54:33'::timestamp) - extract(epoch from '2026-08-19 15:54: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'), 48199, 'SRID=4674;POINT (-40.119249 -2.815203)', '2026-08-19 15:54:45', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119407 -2.815183)'), GeomFromEWKT('SRID=4674;POINT (-40.119249 -2.815203)'))) / (select extract(epoch from '2026-08-19 15:54:45'::timestamp) - extract(epoch from '2026-08-19 15:54:33'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119407 -2.815183)'), GeomFromEWKT('SRID=4674;POINT (-40.119249 -2.815203)'))) / (select extract(epoch from '2026-08-19 15:54:45'::timestamp) - extract(epoch from '2026-08-19 15:54:33'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.119107 -2.815222)', '2026-08-19 15:54:56', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119249 -2.815203)'), GeomFromEWKT('SRID=4674;POINT (-40.119107 -2.815222)'))) / (select extract(epoch from '2026-08-19 15:54:56'::timestamp) - extract(epoch from '2026-08-19 15:54:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119249 -2.815203)'), GeomFromEWKT('SRID=4674;POINT (-40.119107 -2.815222)'))) / (select extract(epoch from '2026-08-19 15:54:56'::timestamp) - extract(epoch from '2026-08-19 15:54: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'), 48199, 'SRID=4674;POINT (-40.118957 -2.815215)', '2026-08-19 15:55:06', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119107 -2.815222)'), GeomFromEWKT('SRID=4674;POINT (-40.118957 -2.815215)'))) / (select extract(epoch from '2026-08-19 15:55:06'::timestamp) - extract(epoch from '2026-08-19 15:54:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.119107 -2.815222)'), GeomFromEWKT('SRID=4674;POINT (-40.118957 -2.815215)'))) / (select extract(epoch from '2026-08-19 15:55:06'::timestamp) - extract(epoch from '2026-08-19 15:54:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.118776 -2.815214)', '2026-08-19 15:55:18', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118957 -2.815215)'), GeomFromEWKT('SRID=4674;POINT (-40.118776 -2.815214)'))) / (select extract(epoch from '2026-08-19 15:55:18'::timestamp) - extract(epoch from '2026-08-19 15:55:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118957 -2.815215)'), GeomFromEWKT('SRID=4674;POINT (-40.118776 -2.815214)'))) / (select extract(epoch from '2026-08-19 15:55:18'::timestamp) - extract(epoch from '2026-08-19 15:55: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'), 48199, 'SRID=4674;POINT (-40.118626 -2.815229)', '2026-08-19 15:55:29', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118776 -2.815214)'), GeomFromEWKT('SRID=4674;POINT (-40.118626 -2.815229)'))) / (select extract(epoch from '2026-08-19 15:55:29'::timestamp) - extract(epoch from '2026-08-19 15:55:18'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118776 -2.815214)'), GeomFromEWKT('SRID=4674;POINT (-40.118626 -2.815229)'))) / (select extract(epoch from '2026-08-19 15:55:29'::timestamp) - extract(epoch from '2026-08-19 15:55: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'), 48199, 'SRID=4674;POINT (-40.118478 -2.815265)', '2026-08-19 15:55:39', 1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118626 -2.815229)'), GeomFromEWKT('SRID=4674;POINT (-40.118478 -2.815265)'))) / (select extract(epoch from '2026-08-19 15:55:39'::timestamp) - extract(epoch from '2026-08-19 15:55:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118626 -2.815229)'), GeomFromEWKT('SRID=4674;POINT (-40.118478 -2.815265)'))) / (select extract(epoch from '2026-08-19 15:55:39'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.118338 -2.815314)', '2026-08-19 15:55:49', -0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118478 -2.815265)'), GeomFromEWKT('SRID=4674;POINT (-40.118338 -2.815314)'))) / (select extract(epoch from '2026-08-19 15:55:49'::timestamp) - extract(epoch from '2026-08-19 15:55:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118478 -2.815265)'), GeomFromEWKT('SRID=4674;POINT (-40.118338 -2.815314)'))) / (select extract(epoch from '2026-08-19 15:55:49'::timestamp) - extract(epoch from '2026-08-19 15:55:39'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.118199 -2.815361)', '2026-08-19 15:55:59', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118338 -2.815314)'), GeomFromEWKT('SRID=4674;POINT (-40.118199 -2.815361)'))) / (select extract(epoch from '2026-08-19 15:55:59'::timestamp) - extract(epoch from '2026-08-19 15:55:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118338 -2.815314)'), GeomFromEWKT('SRID=4674;POINT (-40.118199 -2.815361)'))) / (select extract(epoch from '2026-08-19 15:55:59'::timestamp) - extract(epoch from '2026-08-19 15:55: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'), 48199, 'SRID=4674;POINT (-40.118012 -2.815413)', '2026-08-19 15:56:12', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118199 -2.815361)'), GeomFromEWKT('SRID=4674;POINT (-40.118012 -2.815413)'))) / (select extract(epoch from '2026-08-19 15:56:12'::timestamp) - extract(epoch from '2026-08-19 15:55:59'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118199 -2.815361)'), GeomFromEWKT('SRID=4674;POINT (-40.118012 -2.815413)'))) / (select extract(epoch from '2026-08-19 15:56:12'::timestamp) - extract(epoch from '2026-08-19 15:55: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'), 48199, 'SRID=4674;POINT (-40.117851 -2.815466)', '2026-08-19 15:56:23', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118012 -2.815413)'), GeomFromEWKT('SRID=4674;POINT (-40.117851 -2.815466)'))) / (select extract(epoch from '2026-08-19 15:56:23'::timestamp) - extract(epoch from '2026-08-19 15:56:12'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.118012 -2.815413)'), GeomFromEWKT('SRID=4674;POINT (-40.117851 -2.815466)'))) / (select extract(epoch from '2026-08-19 15:56:23'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.117673 -2.815545)', '2026-08-19 15:56:35', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117851 -2.815466)'), GeomFromEWKT('SRID=4674;POINT (-40.117673 -2.815545)'))) / (select extract(epoch from '2026-08-19 15:56:35'::timestamp) - extract(epoch from '2026-08-19 15:56:23'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117851 -2.815466)'), GeomFromEWKT('SRID=4674;POINT (-40.117673 -2.815545)'))) / (select extract(epoch from '2026-08-19 15:56:35'::timestamp) - extract(epoch from '2026-08-19 15:56: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'), 48199, 'SRID=4674;POINT (-40.117529 -2.815596)', '2026-08-19 15:56:45', -0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117673 -2.815545)'), GeomFromEWKT('SRID=4674;POINT (-40.117529 -2.815596)'))) / (select extract(epoch from '2026-08-19 15:56:45'::timestamp) - extract(epoch from '2026-08-19 15:56:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117673 -2.815545)'), GeomFromEWKT('SRID=4674;POINT (-40.117529 -2.815596)'))) / (select extract(epoch from '2026-08-19 15:56:45'::timestamp) - extract(epoch from '2026-08-19 15:56: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'), 48199, 'SRID=4674;POINT (-40.117369 -2.815646)', '2026-08-19 15:56:56', 0.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117529 -2.815596)'), GeomFromEWKT('SRID=4674;POINT (-40.117369 -2.815646)'))) / (select extract(epoch from '2026-08-19 15:56:56'::timestamp) - extract(epoch from '2026-08-19 15:56:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117529 -2.815596)'), GeomFromEWKT('SRID=4674;POINT (-40.117369 -2.815646)'))) / (select extract(epoch from '2026-08-19 15:56:56'::timestamp) - extract(epoch from '2026-08-19 15:56:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.117218 -2.81567)', '2026-08-19 15:57:06', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117369 -2.815646)'), GeomFromEWKT('SRID=4674;POINT (-40.117218 -2.81567)'))) / (select extract(epoch from '2026-08-19 15:57:06'::timestamp) - extract(epoch from '2026-08-19 15:56:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117369 -2.815646)'), GeomFromEWKT('SRID=4674;POINT (-40.117218 -2.81567)'))) / (select extract(epoch from '2026-08-19 15:57:06'::timestamp) - extract(epoch from '2026-08-19 15:56: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'), 48199, 'SRID=4674;POINT (-40.117084 -2.815686)', '2026-08-19 15:57:16', 2.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117218 -2.81567)'), GeomFromEWKT('SRID=4674;POINT (-40.117084 -2.815686)'))) / (select extract(epoch from '2026-08-19 15:57:16'::timestamp) - extract(epoch from '2026-08-19 15:57:06'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117218 -2.81567)'), GeomFromEWKT('SRID=4674;POINT (-40.117084 -2.815686)'))) / (select extract(epoch from '2026-08-19 15:57:16'::timestamp) - extract(epoch from '2026-08-19 15:57:06'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.116967 -2.815721)', '2026-08-19 15:57:25', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117084 -2.815686)'), GeomFromEWKT('SRID=4674;POINT (-40.116967 -2.815721)'))) / (select extract(epoch from '2026-08-19 15:57:25'::timestamp) - extract(epoch from '2026-08-19 15:57:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.117084 -2.815686)'), GeomFromEWKT('SRID=4674;POINT (-40.116967 -2.815721)'))) / (select extract(epoch from '2026-08-19 15:57:25'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.116816 -2.815731)', '2026-08-19 15:57:35', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116967 -2.815721)'), GeomFromEWKT('SRID=4674;POINT (-40.116816 -2.815731)'))) / (select extract(epoch from '2026-08-19 15:57:35'::timestamp) - extract(epoch from '2026-08-19 15:57:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116967 -2.815721)'), GeomFromEWKT('SRID=4674;POINT (-40.116816 -2.815731)'))) / (select extract(epoch from '2026-08-19 15:57:35'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.116688 -2.815758)', '2026-08-19 15:57:45', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116816 -2.815731)'), GeomFromEWKT('SRID=4674;POINT (-40.116688 -2.815758)'))) / (select extract(epoch from '2026-08-19 15:57:45'::timestamp) - extract(epoch from '2026-08-19 15:57:35'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116816 -2.815731)'), GeomFromEWKT('SRID=4674;POINT (-40.116688 -2.815758)'))) / (select extract(epoch from '2026-08-19 15:57:45'::timestamp) - extract(epoch from '2026-08-19 15:57: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'), 48199, 'SRID=4674;POINT (-40.116545 -2.815772)', '2026-08-19 15:57:55', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116688 -2.815758)'), GeomFromEWKT('SRID=4674;POINT (-40.116545 -2.815772)'))) / (select extract(epoch from '2026-08-19 15:57:55'::timestamp) - extract(epoch from '2026-08-19 15:57:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116688 -2.815758)'), GeomFromEWKT('SRID=4674;POINT (-40.116545 -2.815772)'))) / (select extract(epoch from '2026-08-19 15:57:55'::timestamp) - extract(epoch from '2026-08-19 15:57:45'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.116401 -2.815805)', '2026-08-19 15:58:05', 1.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116545 -2.815772)'), GeomFromEWKT('SRID=4674;POINT (-40.116401 -2.815805)'))) / (select extract(epoch from '2026-08-19 15:58:05'::timestamp) - extract(epoch from '2026-08-19 15:57:55'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116545 -2.815772)'), GeomFromEWKT('SRID=4674;POINT (-40.116401 -2.815805)'))) / (select extract(epoch from '2026-08-19 15:58:05'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.116258 -2.815824)', '2026-08-19 15:58:15', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116401 -2.815805)'), GeomFromEWKT('SRID=4674;POINT (-40.116258 -2.815824)'))) / (select extract(epoch from '2026-08-19 15:58:15'::timestamp) - extract(epoch from '2026-08-19 15:58:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116401 -2.815805)'), GeomFromEWKT('SRID=4674;POINT (-40.116258 -2.815824)'))) / (select extract(epoch from '2026-08-19 15:58:15'::timestamp) - extract(epoch from '2026-08-19 15:58:05'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.116101 -2.815857)', '2026-08-19 15:58:25', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116258 -2.815824)'), GeomFromEWKT('SRID=4674;POINT (-40.116101 -2.815857)'))) / (select extract(epoch from '2026-08-19 15:58:25'::timestamp) - extract(epoch from '2026-08-19 15:58:15'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116258 -2.815824)'), GeomFromEWKT('SRID=4674;POINT (-40.116101 -2.815857)'))) / (select extract(epoch from '2026-08-19 15:58:25'::timestamp) - extract(epoch from '2026-08-19 15:58:15'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.115918 -2.815896)', '2026-08-19 15:58:37', 0.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116101 -2.815857)'), GeomFromEWKT('SRID=4674;POINT (-40.115918 -2.815896)'))) / (select extract(epoch from '2026-08-19 15:58:37'::timestamp) - extract(epoch from '2026-08-19 15:58:25'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.116101 -2.815857)'), GeomFromEWKT('SRID=4674;POINT (-40.115918 -2.815896)'))) / (select extract(epoch from '2026-08-19 15:58:37'::timestamp) - extract(epoch from '2026-08-19 15:58: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'), 48199, 'SRID=4674;POINT (-40.115741 -2.815943)', '2026-08-19 15:58:49', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115918 -2.815896)'), GeomFromEWKT('SRID=4674;POINT (-40.115741 -2.815943)'))) / (select extract(epoch from '2026-08-19 15:58:49'::timestamp) - extract(epoch from '2026-08-19 15:58:37'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115918 -2.815896)'), GeomFromEWKT('SRID=4674;POINT (-40.115741 -2.815943)'))) / (select extract(epoch from '2026-08-19 15:58:49'::timestamp) - extract(epoch from '2026-08-19 15:58: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'), 48199, 'SRID=4674;POINT (-40.11555 -2.815979)', '2026-08-19 15:59:01', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115741 -2.815943)'), GeomFromEWKT('SRID=4674;POINT (-40.11555 -2.815979)'))) / (select extract(epoch from '2026-08-19 15:59:01'::timestamp) - extract(epoch from '2026-08-19 15:58:49'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115741 -2.815943)'), GeomFromEWKT('SRID=4674;POINT (-40.11555 -2.815979)'))) / (select extract(epoch from '2026-08-19 15:59:01'::timestamp) - extract(epoch from '2026-08-19 15:58:49'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.115367 -2.816019)', '2026-08-19 15:59:13', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11555 -2.815979)'), GeomFromEWKT('SRID=4674;POINT (-40.115367 -2.816019)'))) / (select extract(epoch from '2026-08-19 15:59:13'::timestamp) - extract(epoch from '2026-08-19 15:59:01'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11555 -2.815979)'), GeomFromEWKT('SRID=4674;POINT (-40.115367 -2.816019)'))) / (select extract(epoch from '2026-08-19 15:59:13'::timestamp) - extract(epoch from '2026-08-19 15:59: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'), 48199, 'SRID=4674;POINT (-40.115179 -2.816053)', '2026-08-19 15:59:26', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115367 -2.816019)'), GeomFromEWKT('SRID=4674;POINT (-40.115179 -2.816053)'))) / (select extract(epoch from '2026-08-19 15:59:26'::timestamp) - extract(epoch from '2026-08-19 15:59:13'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115367 -2.816019)'), GeomFromEWKT('SRID=4674;POINT (-40.115179 -2.816053)'))) / (select extract(epoch from '2026-08-19 15:59:26'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.115023 -2.816052)', '2026-08-19 15:59:36', -1, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115179 -2.816053)'), GeomFromEWKT('SRID=4674;POINT (-40.115023 -2.816052)'))) / (select extract(epoch from '2026-08-19 15:59:36'::timestamp) - extract(epoch from '2026-08-19 15:59:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115179 -2.816053)'), GeomFromEWKT('SRID=4674;POINT (-40.115023 -2.816052)'))) / (select extract(epoch from '2026-08-19 15:59:36'::timestamp) - extract(epoch from '2026-08-19 15:59: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'), 48199, 'SRID=4674;POINT (-40.114877 -2.816053)', '2026-08-19 15:59:46', -1.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115023 -2.816052)'), GeomFromEWKT('SRID=4674;POINT (-40.114877 -2.816053)'))) / (select extract(epoch from '2026-08-19 15:59:46'::timestamp) - extract(epoch from '2026-08-19 15:59:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.115023 -2.816052)'), GeomFromEWKT('SRID=4674;POINT (-40.114877 -2.816053)'))) / (select extract(epoch from '2026-08-19 15:59:46'::timestamp) - extract(epoch from '2026-08-19 15:59:36'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.114737 -2.81606)', '2026-08-19 15:59:56', -0.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114877 -2.816053)'), GeomFromEWKT('SRID=4674;POINT (-40.114737 -2.81606)'))) / (select extract(epoch from '2026-08-19 15:59:56'::timestamp) - extract(epoch from '2026-08-19 15:59:46'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114877 -2.816053)'), GeomFromEWKT('SRID=4674;POINT (-40.114737 -2.81606)'))) / (select extract(epoch from '2026-08-19 15:59:56'::timestamp) - extract(epoch from '2026-08-19 15: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'), 48199, 'SRID=4674;POINT (-40.114554 -2.816085)', '2026-08-19 16:00:09', 0, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114737 -2.81606)'), GeomFromEWKT('SRID=4674;POINT (-40.114554 -2.816085)'))) / (select extract(epoch from '2026-08-19 16:00:09'::timestamp) - extract(epoch from '2026-08-19 15:59:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114737 -2.81606)'), GeomFromEWKT('SRID=4674;POINT (-40.114554 -2.816085)'))) / (select extract(epoch from '2026-08-19 16:00:09'::timestamp) - extract(epoch from '2026-08-19 15:59: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'), 48199, 'SRID=4674;POINT (-40.114367 -2.816115)', '2026-08-19 16:00:21', 1.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114554 -2.816085)'), GeomFromEWKT('SRID=4674;POINT (-40.114367 -2.816115)'))) / (select extract(epoch from '2026-08-19 16:00:21'::timestamp) - extract(epoch from '2026-08-19 16:00:09'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114554 -2.816085)'), GeomFromEWKT('SRID=4674;POINT (-40.114367 -2.816115)'))) / (select extract(epoch from '2026-08-19 16:00:21'::timestamp) - extract(epoch from '2026-08-19 16:00:09'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.114201 -2.816118)', '2026-08-19 16:00:32', 2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114367 -2.816115)'), GeomFromEWKT('SRID=4674;POINT (-40.114201 -2.816118)'))) / (select extract(epoch from '2026-08-19 16:00:32'::timestamp) - extract(epoch from '2026-08-19 16:00:21'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114367 -2.816115)'), GeomFromEWKT('SRID=4674;POINT (-40.114201 -2.816118)'))) / (select extract(epoch from '2026-08-19 16:00:32'::timestamp) - extract(epoch from '2026-08-19 16: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'), 48199, 'SRID=4674;POINT (-40.114038 -2.816121)', '2026-08-19 16:00:43', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114201 -2.816118)'), GeomFromEWKT('SRID=4674;POINT (-40.114038 -2.816121)'))) / (select extract(epoch from '2026-08-19 16:00:43'::timestamp) - extract(epoch from '2026-08-19 16:00:32'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114201 -2.816118)'), GeomFromEWKT('SRID=4674;POINT (-40.114038 -2.816121)'))) / (select extract(epoch from '2026-08-19 16:00:43'::timestamp) - extract(epoch from '2026-08-19 16:00:32'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.11389 -2.816129)', '2026-08-19 16:00:53', 2.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114038 -2.816121)'), GeomFromEWKT('SRID=4674;POINT (-40.11389 -2.816129)'))) / (select extract(epoch from '2026-08-19 16:00:53'::timestamp) - extract(epoch from '2026-08-19 16:00:43'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.114038 -2.816121)'), GeomFromEWKT('SRID=4674;POINT (-40.11389 -2.816129)'))) / (select extract(epoch from '2026-08-19 16:00:53'::timestamp) - extract(epoch from '2026-08-19 16:00: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'), 48199, 'SRID=4674;POINT (-40.113708 -2.816125)', '2026-08-19 16:01:05', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11389 -2.816129)'), GeomFromEWKT('SRID=4674;POINT (-40.113708 -2.816125)'))) / (select extract(epoch from '2026-08-19 16:01:05'::timestamp) - extract(epoch from '2026-08-19 16:00:53'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.11389 -2.816129)'), GeomFromEWKT('SRID=4674;POINT (-40.113708 -2.816125)'))) / (select extract(epoch from '2026-08-19 16:01:05'::timestamp) - extract(epoch from '2026-08-19 16:00:53'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.113547 -2.81615)', '2026-08-19 16:01:16', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113708 -2.816125)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.81615)'))) / (select extract(epoch from '2026-08-19 16:01:16'::timestamp) - extract(epoch from '2026-08-19 16:01:05'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113708 -2.816125)'), GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.81615)'))) / (select extract(epoch from '2026-08-19 16:01:16'::timestamp) - extract(epoch from '2026-08-19 16:01: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'), 48199, 'SRID=4674;POINT (-40.113369 -2.816183)', '2026-08-19 16:01:29', 2.6, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.81615)'), GeomFromEWKT('SRID=4674;POINT (-40.113369 -2.816183)'))) / (select extract(epoch from '2026-08-19 16:01:29'::timestamp) - extract(epoch from '2026-08-19 16:01:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113547 -2.81615)'), GeomFromEWKT('SRID=4674;POINT (-40.113369 -2.816183)'))) / (select extract(epoch from '2026-08-19 16:01:29'::timestamp) - extract(epoch from '2026-08-19 16:01: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'), 48199, 'SRID=4674;POINT (-40.113221 -2.816187)', '2026-08-19 16:01:39', 2.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113369 -2.816183)'), GeomFromEWKT('SRID=4674;POINT (-40.113221 -2.816187)'))) / (select extract(epoch from '2026-08-19 16:01:39'::timestamp) - extract(epoch from '2026-08-19 16:01:29'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113369 -2.816183)'), GeomFromEWKT('SRID=4674;POINT (-40.113221 -2.816187)'))) / (select extract(epoch from '2026-08-19 16:01:39'::timestamp) - extract(epoch from '2026-08-19 16:01: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'), 48199, 'SRID=4674;POINT (-40.113085 -2.816172)', '2026-08-19 16:01:48', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113221 -2.816187)'), GeomFromEWKT('SRID=4674;POINT (-40.113085 -2.816172)'))) / (select extract(epoch from '2026-08-19 16:01:48'::timestamp) - extract(epoch from '2026-08-19 16:01:39'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113221 -2.816187)'), GeomFromEWKT('SRID=4674;POINT (-40.113085 -2.816172)'))) / (select extract(epoch from '2026-08-19 16:01:48'::timestamp) - extract(epoch from '2026-08-19 16:01: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'), 48199, 'SRID=4674;POINT (-40.112931 -2.81618)', '2026-08-19 16:01:58', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113085 -2.816172)'), GeomFromEWKT('SRID=4674;POINT (-40.112931 -2.81618)'))) / (select extract(epoch from '2026-08-19 16:01:58'::timestamp) - extract(epoch from '2026-08-19 16:01:48'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.113085 -2.816172)'), GeomFromEWKT('SRID=4674;POINT (-40.112931 -2.81618)'))) / (select extract(epoch from '2026-08-19 16:01:58'::timestamp) - extract(epoch from '2026-08-19 16:01: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'), 48199, 'SRID=4674;POINT (-40.112803 -2.816194)', '2026-08-19 16:02:07', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112931 -2.81618)'), GeomFromEWKT('SRID=4674;POINT (-40.112803 -2.816194)'))) / (select extract(epoch from '2026-08-19 16:02:07'::timestamp) - extract(epoch from '2026-08-19 16:01:58'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112931 -2.81618)'), GeomFromEWKT('SRID=4674;POINT (-40.112803 -2.816194)'))) / (select extract(epoch from '2026-08-19 16:02:07'::timestamp) - extract(epoch from '2026-08-19 16:01: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'), 48199, 'SRID=4674;POINT (-40.112662 -2.816193)', '2026-08-19 16:02:16', 3, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112803 -2.816194)'), GeomFromEWKT('SRID=4674;POINT (-40.112662 -2.816193)'))) / (select extract(epoch from '2026-08-19 16:02:16'::timestamp) - extract(epoch from '2026-08-19 16:02:07'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112803 -2.816194)'), GeomFromEWKT('SRID=4674;POINT (-40.112662 -2.816193)'))) / (select extract(epoch from '2026-08-19 16:02:16'::timestamp) - extract(epoch from '2026-08-19 16:02: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'), 48199, 'SRID=4674;POINT (-40.112513 -2.816189)', '2026-08-19 16:02:26', 3.2, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112662 -2.816193)'), GeomFromEWKT('SRID=4674;POINT (-40.112513 -2.816189)'))) / (select extract(epoch from '2026-08-19 16:02:26'::timestamp) - extract(epoch from '2026-08-19 16:02:16'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112662 -2.816193)'), GeomFromEWKT('SRID=4674;POINT (-40.112513 -2.816189)'))) / (select extract(epoch from '2026-08-19 16:02:26'::timestamp) - extract(epoch from '2026-08-19 16:02: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'), 48199, 'SRID=4674;POINT (-40.112357 -2.816194)', '2026-08-19 16:02:36', 3.4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112513 -2.816189)'), GeomFromEWKT('SRID=4674;POINT (-40.112357 -2.816194)'))) / (select extract(epoch from '2026-08-19 16:02:36'::timestamp) - extract(epoch from '2026-08-19 16:02:26'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112513 -2.816189)'), GeomFromEWKT('SRID=4674;POINT (-40.112357 -2.816194)'))) / (select extract(epoch from '2026-08-19 16:02:36'::timestamp) - extract(epoch from '2026-08-19 16:02:26'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
 INSERT INTO registro_rota_ponto (id, cod_registro_rota, geom, dat_registro_ponto, num_elevacao, velocidade, status) 
                VALUES (nextval('registro_rota_ponto_id_seq'), 48199, 'SRID=4674;POINT (-40.112229 -2.816196)', '2026-08-19 16:02:45', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112357 -2.816194)'), GeomFromEWKT('SRID=4674;POINT (-40.112229 -2.816196)'))) / (select extract(epoch from '2026-08-19 16:02:45'::timestamp) - extract(epoch from '2026-08-19 16:02:36'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112357 -2.816194)'), GeomFromEWKT('SRID=4674;POINT (-40.112229 -2.816196)'))) / (select extract(epoch from '2026-08-19 16:02:45'::timestamp) - extract(epoch from '2026-08-19 16:02: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'), 48199, 'SRID=4674;POINT (-40.112084 -2.816185)', '2026-08-19 16:02:56', 3.8, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112229 -2.816196)'), GeomFromEWKT('SRID=4674;POINT (-40.112084 -2.816185)'))) / (select extract(epoch from '2026-08-19 16:02:56'::timestamp) - extract(epoch from '2026-08-19 16:02:45'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112229 -2.816196)'), GeomFromEWKT('SRID=4674;POINT (-40.112084 -2.816185)'))) / (select extract(epoch from '2026-08-19 16:02:56'::timestamp) - extract(epoch from '2026-08-19 16:02: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'), 48199, 'SRID=4674;POINT (-40.111947 -2.816182)', '2026-08-19 16:03:06', 4, (SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112084 -2.816185)'), GeomFromEWKT('SRID=4674;POINT (-40.111947 -2.816182)'))) / (select extract(epoch from '2026-08-19 16:03:06'::timestamp) - extract(epoch from '2026-08-19 16:02:56'::timestamp)),  CASE WHEN ((SELECT ST_DistanceSphere(GeomFromEWKT('SRID=4674;POINT (-40.112084 -2.816185)'), GeomFromEWKT('SRID=4674;POINT (-40.111947 -2.816182)'))) / (select extract(epoch from '2026-08-19 16:03:06'::timestamp) - extract(epoch from '2026-08-19 16:02:56'::timestamp))) < 1 THEN  'pescando' ELSE 'deslocando' END ); 
